public class ProtectionGroupsStub extends com.vmware.vapi.internal.bindings.Stub implements ProtectionGroups
ProtectionGroups
API service.
WARNING: Internal class, subject to change in future versions.
ProtectionGroupsTypes._VAPI_OPERATIONS, ProtectionGroupsTypes.DeleteSpec, ProtectionGroupsTypes.FilterSpec, ProtectionGroupsTypes.ListItem, ProtectionGroupsTypes.ListResultapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
ProtectionGroupsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ProtectionGroupsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
create_Task(java.lang.String cluster,
ProtectionGroupSpec spec)
Create a protection group for the given cluster.
|
void |
create_Task(java.lang.String cluster,
ProtectionGroupSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Create a protection group for the given cluster.
|
void |
create_Task(java.lang.String cluster,
ProtectionGroupSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a protection group for the given cluster.
|
java.lang.String |
create_Task(java.lang.String cluster,
ProtectionGroupSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a protection group for the given cluster.
|
java.lang.String |
delete_Task(java.lang.String cluster,
java.lang.String pg,
ProtectionGroupsTypes.DeleteSpec spec)
Delete the specified protection group.
|
void |
delete_Task(java.lang.String cluster,
java.lang.String pg,
ProtectionGroupsTypes.DeleteSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Delete the specified protection group.
|
void |
delete_Task(java.lang.String cluster,
java.lang.String pg,
ProtectionGroupsTypes.DeleteSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete the specified protection group.
|
java.lang.String |
delete_Task(java.lang.String cluster,
java.lang.String pg,
ProtectionGroupsTypes.DeleteSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete the specified protection group.
|
ProtectionGroupInfo |
get(java.lang.String cluster,
java.lang.String pg)
Get the detailed information regarding the specified protection group.
|
void |
get(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.AsyncCallback<ProtectionGroupInfo> asyncCallback)
Get the detailed information regarding the specified protection group.
|
void |
get(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.AsyncCallback<ProtectionGroupInfo> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the detailed information regarding the specified protection group.
|
ProtectionGroupInfo |
get(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the detailed information regarding the specified protection group.
|
ProtectionGroupsTypes.ListResult |
list(java.lang.String cluster,
ProtectionGroupsTypes.FilterSpec filter)
List the protection groups for the given cluster.
|
void |
list(java.lang.String cluster,
ProtectionGroupsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<ProtectionGroupsTypes.ListResult> asyncCallback)
List the protection groups for the given cluster.
|
void |
list(java.lang.String cluster,
ProtectionGroupsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<ProtectionGroupsTypes.ListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List the protection groups for the given cluster.
|
ProtectionGroupsTypes.ListResult |
list(java.lang.String cluster,
ProtectionGroupsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List the protection groups for the given cluster.
|
java.lang.String |
pause_Task(java.lang.String cluster,
java.lang.String pg)
Pause the specified proteciton group.
|
void |
pause_Task(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Pause the specified proteciton group.
|
void |
pause_Task(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Pause the specified proteciton group.
|
java.lang.String |
pause_Task(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Pause the specified proteciton group.
|
java.lang.String |
resume_Task(java.lang.String cluster,
java.lang.String pg)
Resume the specified proteciton group.
|
void |
resume_Task(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Resume the specified proteciton group.
|
void |
resume_Task(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Resume the specified proteciton group.
|
java.lang.String |
resume_Task(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Resume the specified proteciton group.
|
java.lang.String |
update_Task(java.lang.String cluster,
java.lang.String pg,
ProtectionGroupUpdateSpec spec)
Update a protection group for the given cluster.
|
void |
update_Task(java.lang.String cluster,
java.lang.String pg,
ProtectionGroupUpdateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Update a protection group for the given cluster.
|
void |
update_Task(java.lang.String cluster,
java.lang.String pg,
ProtectionGroupUpdateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update a protection group for the given cluster.
|
java.lang.String |
update_Task(java.lang.String cluster,
java.lang.String pg,
ProtectionGroupUpdateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update a protection group for the given cluster.
|
public ProtectionGroupsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public ProtectionGroupsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public java.lang.String create_Task(java.lang.String cluster,
ProtectionGroupSpec spec)
ProtectionGroupsSynchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
create_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.spec - specification for the protection group.public java.lang.String create_Task(java.lang.String cluster,
ProtectionGroupSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProtectionGroupsSynchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig to specify configuration for this particular invocation.
create_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.spec - specification for the protection group.invocationConfig - Configuration for the method invocation.public void create_Task(java.lang.String cluster,
ProtectionGroupSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
ProtectionGroupsAsynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error - If there is unknown internal error.
NotAllowedInCurrentState - If there is another operation in progress.
NotFound - If there is no cluster associated with cluster in the system.
InvalidArgument - If validation of the spec fails.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - If the caller is not authorized to perform the operation.
create_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.spec - specification for the protection group.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create_Task(java.lang.String cluster,
ProtectionGroupSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProtectionGroupsAsynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error - If there is unknown internal error.
NotAllowedInCurrentState - If there is another operation in progress.
NotFound - If there is no cluster associated with cluster in the system.
InvalidArgument - If validation of the spec fails.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - If the caller is not authorized to perform the operation.
create_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.spec - specification for the protection group.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public ProtectionGroupsTypes.ListResult list(java.lang.String cluster, ProtectionGroupsTypes.FilterSpec filter)
ProtectionGroupsSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.filter - Specification of matching protection groups for which information should be
returned.
If null, the behavior is equivalent to a ProtectionGroupsTypes.FilterSpec with all
properties null which means all protection groups match the filter.ProtectionGroupsTypes.FilterSpec for the given
cluster.public ProtectionGroupsTypes.ListResult list(java.lang.String cluster, ProtectionGroupsTypes.FilterSpec filter, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProtectionGroupsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
list in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.filter - Specification of matching protection groups for which information should be
returned.
If null, the behavior is equivalent to a ProtectionGroupsTypes.FilterSpec with all
properties null which means all protection groups match the filter.invocationConfig - Configuration for the method invocation.ProtectionGroupsTypes.FilterSpec for the given
cluster.public void list(java.lang.String cluster,
ProtectionGroupsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<ProtectionGroupsTypes.ListResult> asyncCallback)
ProtectionGroupsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Information about the protection groups matching the ProtectionGroupsTypes.FilterSpec for the given
cluster.
Operation Errors:
Error - If there is unknown internal error.
NotFound - If there is no cluster associated with cluster in the system.
InvalidArgument - If validation of the filter fails.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - If the caller is not authorized to perform the operation.
list in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.filter - Specification of matching protection groups for which information should be
returned.
If null, the behavior is equivalent to a ProtectionGroupsTypes.FilterSpec with all
properties null which means all protection groups match the filter.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String cluster,
ProtectionGroupsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<ProtectionGroupsTypes.ListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProtectionGroupsAsynchronous 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 the protection groups matching the ProtectionGroupsTypes.FilterSpec for the given
cluster.
Operation Errors:
Error - If there is unknown internal error.
NotFound - If there is no cluster associated with cluster in the system.
InvalidArgument - If validation of the filter fails.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - If the caller is not authorized to perform the operation.
list in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.filter - Specification of matching protection groups for which information should be
returned.
If null, the behavior is equivalent to a ProtectionGroupsTypes.FilterSpec with all
properties null which means all protection groups match the filter.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public ProtectionGroupInfo get(java.lang.String cluster, java.lang.String pg)
ProtectionGroupsSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.public ProtectionGroupInfo get(java.lang.String cluster, java.lang.String pg, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProtectionGroupsSynchronous 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 ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.invocationConfig - Configuration for the method invocation.public void get(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.AsyncCallback<ProtectionGroupInfo> asyncCallback)
ProtectionGroupsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Information about the specified protection group.
Operation Errors:
Error - If there is unknown internal error.
NotFound - If no cluster associated with cluster or protection group associated
with pg is found in the system.
InvalidArgument - If any input is invalid.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - If the caller is not authorized to perform the operation.
get in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.AsyncCallback<ProtectionGroupInfo> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProtectionGroupsAsynchronous 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 the specified protection group.
Operation Errors:
Error - If there is unknown internal error.
NotFound - If no cluster associated with cluster or protection group associated
with pg is found in the system.
InvalidArgument - If any input is invalid.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - If the caller is not authorized to perform the operation.
get in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public java.lang.String update_Task(java.lang.String cluster,
java.lang.String pg,
ProtectionGroupUpdateSpec spec)
ProtectionGroupsSynchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
update_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.spec - specification for updting the protection group.public java.lang.String update_Task(java.lang.String cluster,
java.lang.String pg,
ProtectionGroupUpdateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProtectionGroupsSynchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig to specify configuration for this particular invocation.
update_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.spec - specification for updting the protection group.invocationConfig - Configuration for the method invocation.public void update_Task(java.lang.String cluster,
java.lang.String pg,
ProtectionGroupUpdateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
ProtectionGroupsAsynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error - If there is unknown internal error.
NotAllowedInCurrentState - If there is another operation in progress.
NotFound - If there is no cluster associated with cluster or protection group
associated with pg in the system.
InvalidArgument - If validation of the spec fails.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - If the caller is not authorized to perform the operation.
Unsupported - If the specified protection group is locked.
update_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.spec - specification for updting the protection group.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void update_Task(java.lang.String cluster,
java.lang.String pg,
ProtectionGroupUpdateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProtectionGroupsAsynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error - If there is unknown internal error.
NotAllowedInCurrentState - If there is another operation in progress.
NotFound - If there is no cluster associated with cluster or protection group
associated with pg in the system.
InvalidArgument - If validation of the spec fails.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - If the caller is not authorized to perform the operation.
Unsupported - If the specified protection group is locked.
update_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.spec - specification for updting the protection group.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public java.lang.String pause_Task(java.lang.String cluster,
java.lang.String pg)
ProtectionGroupsSynchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
pause_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.public java.lang.String pause_Task(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProtectionGroupsSynchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig to specify configuration for this particular invocation.
pause_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.invocationConfig - Configuration for the method invocation.public void pause_Task(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
ProtectionGroupsAsynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error - If there is unknown internal error.
AlreadyInDesiredState - If the protection group is already paused.
NotAllowedInCurrentState - If there is another operation in progress.
NotFound - If there is no cluster associated with cluster or protection group
associated with pg in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - If the caller is not authorized to perform the operation.
Unsupported - If the specified protection group is locked.
pause_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void pause_Task(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProtectionGroupsAsynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error - If there is unknown internal error.
AlreadyInDesiredState - If the protection group is already paused.
NotAllowedInCurrentState - If there is another operation in progress.
NotFound - If there is no cluster associated with cluster or protection group
associated with pg in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - If the caller is not authorized to perform the operation.
Unsupported - If the specified protection group is locked.
pause_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public java.lang.String resume_Task(java.lang.String cluster,
java.lang.String pg)
ProtectionGroupsSynchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
resume_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.public java.lang.String resume_Task(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProtectionGroupsSynchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig to specify configuration for this particular invocation.
resume_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.invocationConfig - Configuration for the method invocation.public void resume_Task(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
ProtectionGroupsAsynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error - If there is unknown internal error.
AlreadyInDesiredState - If the protection group is already active.
NotAllowedInCurrentState - If there is another operation in progress.
NotFound - If there is no cluster associated with cluster or protection group
associated with pg in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - If the caller is not authorized to perform the operation.
Unsupported - If the specified protection group is locked.
resume_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void resume_Task(java.lang.String cluster,
java.lang.String pg,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProtectionGroupsAsynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error - If there is unknown internal error.
AlreadyInDesiredState - If the protection group is already active.
NotAllowedInCurrentState - If there is another operation in progress.
NotFound - If there is no cluster associated with cluster or protection group
associated with pg in the system.
ServiceUnavailable - If the service is not available.
Unauthenticated - If the caller is not authenticated.
Unauthorized - If the caller is not authorized to perform the operation.
Unsupported - If the specified protection group is locked.
resume_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public java.lang.String delete_Task(java.lang.String cluster,
java.lang.String pg,
ProtectionGroupsTypes.DeleteSpec spec)
ProtectionGroupsSynchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
delete_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.spec - Specifies the additional parameters for the delete operation.
If null, protection group status is set to marked as deleted and will be
be deleted permanently once all its associated snapshots are deleted.public java.lang.String delete_Task(java.lang.String cluster,
java.lang.String pg,
ProtectionGroupsTypes.DeleteSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProtectionGroupsSynchronous method overload. Result of the invocation is a task
identifier which will be returned by this method.
Use invocationConfig to specify configuration for this particular invocation.
delete_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.spec - Specifies the additional parameters for the delete operation.
If null, protection group status is set to marked as deleted and will be
be deleted permanently once all its associated snapshots are deleted.invocationConfig - Configuration for the method invocation.public void delete_Task(java.lang.String cluster,
java.lang.String pg,
ProtectionGroupsTypes.DeleteSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
ProtectionGroupsAsynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error - If there is unknown internal error.
NotAllowedInCurrentState - If there is another operation in progress.
NotFound - If no cluster associated with cluster or protection group associated
with pg is found in the system.
ServiceUnavailable - If the service is not available.
InvalidArgument - If validation of the spec fails.
Unauthenticated - If the caller is not authenticated.
Unauthorized - If the caller is not authorized to perform the operation.
Unsupported - If the specified protection group is locked.
delete_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.spec - Specifies the additional parameters for the delete operation.
If null, protection group status is set to marked as deleted and will be
be deleted permanently once all its associated snapshots are deleted.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void delete_Task(java.lang.String cluster,
java.lang.String pg,
ProtectionGroupsTypes.DeleteSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProtectionGroupsAsynchronous method overload. Result of the invocation which is
a task identifier will be reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
identifier for the task created by this API invocation
Operation Errors:
Error - If there is unknown internal error.
NotAllowedInCurrentState - If there is another operation in progress.
NotFound - If no cluster associated with cluster or protection group associated
with pg is found in the system.
ServiceUnavailable - If the service is not available.
InvalidArgument - If validation of the spec fails.
Unauthenticated - If the caller is not authenticated.
Unauthorized - If the caller is not authorized to perform the operation.
Unsupported - If the specified protection group is locked.
delete_Task in interface ProtectionGroupscluster - Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource.pg - Identifier of the protection group.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.spec - Specifies the additional parameters for the delete operation.
If null, protection group status is set to marked as deleted and will be
be deleted permanently once all its associated snapshots are deleted.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.