public class DepotOverridesStub extends com.vmware.vapi.internal.bindings.Stub implements DepotOverrides
DepotOverrides
API service.
WARNING: Internal class, subject to change in future versions.
DepotOverridesTypes.Depot, DepotOverridesTypes.Info
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
DepotOverridesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
DepotOverridesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
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.
|
public DepotOverridesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public DepotOverridesStub(ApiProvider apiProvider, StubConfigurationBase config)
public DepotOverridesTypes.Info get(java.lang.String cluster)
DepotOverrides
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface DepotOverrides
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.public DepotOverridesTypes.Info get(java.lang.String cluster, InvocationConfig invocationConfig)
DepotOverrides
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface DepotOverrides
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String cluster, AsyncCallback<DepotOverridesTypes.Info> asyncCallback)
DepotOverrides
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
. get
in interface DepotOverrides
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.public void get(java.lang.String cluster, AsyncCallback<DepotOverridesTypes.Info> asyncCallback, InvocationConfig invocationConfig)
DepotOverrides
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
. get
in interface DepotOverrides
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.public void add(java.lang.String cluster, DepotOverridesTypes.Depot depot)
DepotOverrides
Synchronous method overload. Result of the invocation will be reported as a method return value.
add
in interface DepotOverrides
cluster
- Identifier for the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.depot
- Information of a depot override.public void add(java.lang.String cluster, DepotOverridesTypes.Depot depot, InvocationConfig invocationConfig)
DepotOverrides
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
add
in interface DepotOverrides
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.public void add(java.lang.String cluster, DepotOverridesTypes.Depot depot, AsyncCallback<java.lang.Void> asyncCallback)
DepotOverrides
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
. add
in interface DepotOverrides
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.public void add(java.lang.String cluster, DepotOverridesTypes.Depot depot, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
DepotOverrides
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
. add
in interface DepotOverrides
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.public void remove(java.lang.String cluster, DepotOverridesTypes.Depot depot)
DepotOverrides
Synchronous method overload. Result of the invocation will be reported as a method return value.
remove
in interface DepotOverrides
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.public void remove(java.lang.String cluster, DepotOverridesTypes.Depot depot, InvocationConfig invocationConfig)
DepotOverrides
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
remove
in interface DepotOverrides
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.public void remove(java.lang.String cluster, DepotOverridesTypes.Depot depot, AsyncCallback<java.lang.Void> asyncCallback)
DepotOverrides
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
. remove
in interface DepotOverrides
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.public void remove(java.lang.String cluster, DepotOverridesTypes.Depot depot, AsyncCallback<java.lang.Void> asyncCallback, InvocationConfig invocationConfig)
DepotOverrides
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
. remove
in interface DepotOverrides
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.