public interface DepotOverrides extends Service, DepotOverridesTypes
DepotOverrides
interface provides methods to manage software depots
overriden for a given cluster. In general ESX servers reach out to vCenter (VUM)
to fetch the metadata and payloads required for lifecycle operations. But in
ROBO environments ESX clusters can't (or because of bandwidth requirements
shouldn't) reach out to vCenter to fetch payloads and metadata. This interface
allows setting cluster level overrides for depots. If any depots are provided
for a cluster, then vCenter level depots are not used for that cluster's
remediation. These are not synced periodically at vCenter and are only used by
ESXs for lifecycle operations.DepotOverridesTypes.Depot, DepotOverridesTypes.Info
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String cluster,
DepotOverridesTypes.Depot depot)
Adds a new depot override to the list of currently configured depot overrides
for a given cluster.
|
void |
add(java.lang.String cluster,
DepotOverridesTypes.Depot depot,
AsyncCallback<java.lang.Void> asyncCallback)
Adds a new depot override to the list of currently configured depot overrides
for a given cluster.
|
void |
add(java.lang.String cluster,
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 cluster.
|
void |
add(java.lang.String cluster,
DepotOverridesTypes.Depot depot,
InvocationConfig invocationConfig)
Adds a new depot override to the list of currently configured depot overrides
for a given cluster.
|
DepotOverridesTypes.Info |
get(java.lang.String cluster)
Returns the information about currently configured depot overrides for a given
cluster.
|
void |
get(java.lang.String cluster,
AsyncCallback<DepotOverridesTypes.Info> asyncCallback)
Returns the information about currently configured depot overrides for a given
cluster.
|
void |
get(java.lang.String cluster,
AsyncCallback<DepotOverridesTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns the information about currently configured depot overrides for a given
cluster.
|
DepotOverridesTypes.Info |
get(java.lang.String cluster,
InvocationConfig invocationConfig)
Returns the information about currently configured depot overrides for a given
cluster.
|
void |
remove(java.lang.String cluster,
DepotOverridesTypes.Depot depot)
Removes a depot override from the list of currently configured depot overrides
for a given cluster.
|
void |
remove(java.lang.String cluster,
DepotOverridesTypes.Depot depot,
AsyncCallback<java.lang.Void> asyncCallback)
Removes a depot override from the list of currently configured depot overrides
for a given cluster.
|
void |
remove(java.lang.String cluster,
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 cluster.
|
void |
remove(java.lang.String cluster,
DepotOverridesTypes.Depot depot,
InvocationConfig invocationConfig)
Removes a depot override from the list of currently configured depot overrides
for a given cluster.
|
DepotOverridesTypes.Info get(java.lang.String cluster)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.Unauthenticated
- if the caller is not authenticated.NotFound
- If there is no cluster associated with cluster
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.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Read
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.lifecycleSettings.Read
. DepotOverridesTypes.Info get(java.lang.String cluster, 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.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.Unauthenticated
- if the caller is not authenticated.NotFound
- If there is no cluster associated with cluster
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.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Read
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.lifecycleSettings.Read
. void get(java.lang.String cluster, 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 cluster.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotFound
- If there is no cluster associated with cluster
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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.lifecycleSettings.Read
. cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String cluster, 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 cluster.
Operation Errors:
Unauthenticated
- if the caller is not authenticated.
NotFound
- If there is no cluster associated with cluster
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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Read
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.lifecycleSettings.Read
. cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.void add(java.lang.String cluster, DepotOverridesTypes.Depot depot)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.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 cluster associated with cluster
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.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Write
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.lifecycleSettings.Write
. void add(java.lang.String cluster, 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.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.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 cluster associated with cluster
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.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Write
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.lifecycleSettings.Write
. void add(java.lang.String cluster, 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 cluster associated with cluster
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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Write
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.lifecycleSettings.Write
. cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.depot
- Information of a depot override.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void add(java.lang.String cluster, 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 cluster associated with cluster
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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Write
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.lifecycleSettings.Write
. cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.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 cluster, DepotOverridesTypes.Depot depot)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.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 cluster associated
with identifier {param.name cluster} 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.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Write
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.lifecycleSettings.Write
. void remove(java.lang.String cluster, 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.
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.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 cluster associated
with identifier {param.name cluster} 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.Unauthorized
- if you do not have all of the privileges described as follows: VcIntegrity.lifecycleSettings.Write
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.lifecycleSettings.Write
. void remove(java.lang.String cluster, 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 cluster associated
with identifier {param.name cluster} 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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Write
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.lifecycleSettings.Write
. cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.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 cluster, 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 cluster associated
with identifier {param.name cluster} 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.
Unauthorized
- if you do not have all of the privileges described as follows:
VcIntegrity.lifecycleSettings.Write
. ClusterComputeResource
referenced by the parameter cluster
requires VcIntegrity.lifecycleSettings.Write
. cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.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.