public interface DepotOverrides extends Service, DepotOverridesTypes
DepotOverrides
interface provides methods to manage software depots
overriden for a given host. In general ESX servers reach out to vCenter (VUM) to
fetch the metadata and payloads required for lifecycle operations. But in ROBO
environments ESX hosts can't (or because of bandwidth requirements shouldn't)
reach out to vCenter to fetch payloads and metadata. This interface allows
setting host level overrides for depots. If any depots are provided for a host,
then vCenter level depots are not used for that host's remediation. These are
not synced periodically at vCenter and are only used by ESXs for lifecycle
operations. This interface was added in vSphere API 8.0.1.0.DepotOverridesTypes.Depot, DepotOverridesTypes.Info
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String host,
DepotOverridesTypes.Depot depot)
Adds a new depot override to the list of currently configured depot overrides
for a given host.
|
void |
add(java.lang.String host,
DepotOverridesTypes.Depot depot,
AsyncCallback<java.lang.Void> asyncCallback)
Adds a new depot override to the list of currently configured depot overrides
for a given host.
|
void |
add(java.lang.String host,
DepotOverridesTypes.Depot depot,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Adds a new depot override to the list of currently configured depot overrides
for a given host.
|
void |
add(java.lang.String host,
DepotOverridesTypes.Depot depot,
InvocationConfig invocationConfig)
Adds a new depot override to the list of currently configured depot overrides
for a given host.
|
DepotOverridesTypes.Info |
get(java.lang.String host)
Returns the information about currently configured depot overrides for a given
host.
|
void |
get(java.lang.String host,
AsyncCallback<DepotOverridesTypes.Info> asyncCallback)
Returns the information about currently configured depot overrides for a given
host.
|
void |
get(java.lang.String host,
AsyncCallback<DepotOverridesTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns the information about currently configured depot overrides for a given
host.
|
DepotOverridesTypes.Info |
get(java.lang.String host,
InvocationConfig invocationConfig)
Returns the information about currently configured depot overrides for a given
host.
|
void |
remove(java.lang.String host,
DepotOverridesTypes.Depot depot)
Removes a depot override from the list of currently configured depot overrides
for a given host.
|
void |
remove(java.lang.String host,
DepotOverridesTypes.Depot depot,
AsyncCallback<java.lang.Void> asyncCallback)
Removes a depot override from the list of currently configured depot overrides
for a given host.
|
void |
remove(java.lang.String host,
DepotOverridesTypes.Depot depot,
AsyncCallback<java.lang.Void> asyncCallback,
InvocationConfig invocationConfig)
Removes a depot override from the list of currently configured depot overrides
for a given host.
|
void |
remove(java.lang.String host,
DepotOverridesTypes.Depot depot,
InvocationConfig invocationConfig)
Removes a depot override from the list of currently configured depot overrides
for a given host.
|
DepotOverridesTypes.Info get(java.lang.String host)
Synchronous method overload. Result of the invocation will be reported as a method return value.
host
- Identifier for the host.
The parameter must be an identifier for the resource type: HostSystem
.Unauthenticated
- if the caller is not authenticated.NotFound
- If there is no host associated with host
in the system.ServiceUnavailable
- If the service is not available.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.Unsupported
- If the host is not a vLCM managed standlone host.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Read
. HostSystem
referenced by the parameter host
requires
VcIntegrity.lifecycleSettings.Read
. DepotOverridesTypes.Info get(java.lang.String host, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
host
- Identifier for the host.
The parameter must be an identifier for the resource type: HostSystem
.invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the caller is not authenticated.NotFound
- If there is no host associated with host
in the system.ServiceUnavailable
- If the service is not available.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.Unsupported
- If the host is not a vLCM managed standlone host.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Read
. HostSystem
referenced by the parameter host
requires
VcIntegrity.lifecycleSettings.Read
. void get(java.lang.String host, AsyncCallback<DepotOverridesTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about currently configured depot overrides for a given host.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotFound
- If there is no host associated with host
in the system.
ServiceUnavailable
- If the service is not available.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
Unsupported
- If the host is not a vLCM managed standlone host.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. HostSystem
referenced by the parameter host
requires
VcIntegrity.lifecycleSettings.Read
. host
- Identifier for the host.
The parameter must be an identifier for the resource type: HostSystem
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String host, AsyncCallback<DepotOverridesTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
Information about currently configured depot overrides for a given host.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotFound
- If there is no host associated with host
in the system.
ServiceUnavailable
- If the service is not available.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
Unsupported
- If the host is not a vLCM managed standlone host.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. HostSystem
referenced by the parameter host
requires
VcIntegrity.lifecycleSettings.Read
. host
- Identifier for the host.
The parameter must be an identifier for the resource type: HostSystem
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void add(java.lang.String host, DepotOverridesTypes.Depot depot)
Synchronous method overload. Result of the invocation will be reported as a method return value.
host
- Identifier for the host.
The parameter must be an identifier for the resource type: HostSystem
.depot
- Information of a depot override.Unauthenticated
- if the caller is not authenticated.InvalidArgument
- If an invalid location is provided.NotFound
- If there is no host associated with host
in the system.AlreadyExists
- if depot override with given information already exists.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.ServiceUnavailable
- If the service is not available.Unsupported
- If the host is not a vLCM managed standlone host.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Write
. HostSystem
referenced by the parameter host
requires
VcIntegrity.lifecycleSettings.Write
. void add(java.lang.String host, DepotOverridesTypes.Depot depot, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
host
- Identifier for the host.
The parameter must be an identifier for the resource type: HostSystem
.depot
- Information of a depot override.invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the caller is not authenticated.InvalidArgument
- If an invalid location is provided.NotFound
- If there is no host associated with host
in the system.AlreadyExists
- if depot override with given information already exists.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.ServiceUnavailable
- If the service is not available.Unsupported
- If the host is not a vLCM managed standlone host.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Write
. HostSystem
referenced by the parameter host
requires
VcIntegrity.lifecycleSettings.Write
. void add(java.lang.String host, DepotOverridesTypes.Depot depot, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
InvalidArgument
- If an invalid location is provided.
NotFound
- If there is no host associated with host
in the system.
AlreadyExists
- if depot override with given information already exists.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
ServiceUnavailable
- If the service is not available.
Unsupported
- If the host is not a vLCM managed standlone host.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Write
. HostSystem
referenced by the parameter host
requires
VcIntegrity.lifecycleSettings.Write
. host
- Identifier for the host.
The parameter must be an identifier for the resource type: HostSystem
.depot
- Information of a depot override.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void add(java.lang.String host, DepotOverridesTypes.Depot depot, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
InvalidArgument
- If an invalid location is provided.
NotFound
- If there is no host associated with host
in the system.
AlreadyExists
- if depot override with given information already exists.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
ServiceUnavailable
- If the service is not available.
Unsupported
- If the host is not a vLCM managed standlone host.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Write
. HostSystem
referenced by the parameter host
requires
VcIntegrity.lifecycleSettings.Write
. host
- Identifier for the host.
The parameter must be an identifier for the resource type: HostSystem
.depot
- Information of a depot override.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void remove(java.lang.String host, DepotOverridesTypes.Depot depot)
Synchronous method overload. Result of the invocation will be reported as a method return value.
host
- Identifier for the host.
The parameter must be an identifier for the resource type: HostSystem
.depot
- Information of the depot override to be removed.Unauthenticated
- if the caller is not authenticated.NotFound
- If there is no depot override with given information or no host associated with
identifier {param.name host} in the system.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.ServiceUnavailable
- If the service is not available.Unsupported
- If the host is not a vLCM managed standlone host.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Write
. HostSystem
referenced by the parameter host
requires
VcIntegrity.lifecycleSettings.Write
. void remove(java.lang.String host, DepotOverridesTypes.Depot depot, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
host
- Identifier for the host.
The parameter must be an identifier for the resource type: HostSystem
.depot
- Information of the depot override to be removed.invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the caller is not authenticated.NotFound
- If there is no depot override with given information or no host associated with
identifier {param.name host} in the system.Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.ServiceUnavailable
- If the service is not available.Unsupported
- If the host is not a vLCM managed standlone host.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Write
. HostSystem
referenced by the parameter host
requires
VcIntegrity.lifecycleSettings.Write
. void remove(java.lang.String host, DepotOverridesTypes.Depot depot, AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotFound
- If there is no depot override with given information or no host associated with
identifier {param.name host} in the system.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
ServiceUnavailable
- If the service is not available.
Unsupported
- If the host is not a vLCM managed standlone host.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Write
. HostSystem
referenced by the parameter host
requires
VcIntegrity.lifecycleSettings.Write
. host
- Identifier for the host.
The parameter must be an identifier for the resource type: HostSystem
.depot
- Information of the depot override to be removed.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void remove(java.lang.String host, DepotOverridesTypes.Depot depot, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotFound
- If there is no depot override with given information or no host associated with
identifier {param.name host} in the system.
Error
- If there is some unknown internal error. The accompanying error message will
give more details about the failure.
ServiceUnavailable
- If the service is not available.
Unsupported
- If the host is not a vLCM managed standlone host.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Write
. HostSystem
referenced by the parameter host
requires
VcIntegrity.lifecycleSettings.Write
. host
- Identifier for the host.
The parameter must be an identifier for the resource type: HostSystem
.depot
- Information of the depot override to be removed.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.