public interface ProtectionGroups extends com.vmware.vapi.bindings.Service, ProtectionGroupsTypes
ProtectionGroups
interface provides methods for managing protection
groups created for a cluster.ProtectionGroupsTypes._VAPI_OPERATIONS, ProtectionGroupsTypes.DeleteSpec, ProtectionGroupsTypes.FilterSpec, ProtectionGroupsTypes.ListItem, ProtectionGroupsTypes.ListResult
_VAPI_SERVICE_ID
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.
|
java.lang.String create_Task(java.lang.String cluster, ProtectionGroupSpec spec)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- Identifier of the cluster.
The parameter must be an identifier for the resource type: ClusterComputeResource
.spec
- specification for the protection group.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.java.lang.String create_Task(java.lang.String cluster, ProtectionGroupSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous 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.
cluster
- 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.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.void create_Task(java.lang.String cluster, ProtectionGroupSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Asynchronous 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.
cluster
- 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.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)
Asynchronous 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.
cluster
- 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.ProtectionGroupsTypes.ListResult list(java.lang.String cluster, ProtectionGroupsTypes.FilterSpec filter)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- 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.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.ProtectionGroupsTypes.ListResult list(java.lang.String cluster, ProtectionGroupsTypes.FilterSpec filter, com.vmware.vapi.bindings.client.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 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.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.void list(java.lang.String cluster, ProtectionGroupsTypes.FilterSpec filter, com.vmware.vapi.bindings.client.AsyncCallback<ProtectionGroupsTypes.ListResult> asyncCallback)
Asynchronous 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.
cluster
- 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.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)
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 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.
cluster
- 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.ProtectionGroupInfo get(java.lang.String cluster, java.lang.String pg)
Synchronous method overload. Result of the invocation will be reported as a method return value.
cluster
- 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
.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.ProtectionGroupInfo get(java.lang.String cluster, java.lang.String pg, com.vmware.vapi.bindings.client.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 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.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.void get(java.lang.String cluster, java.lang.String pg, com.vmware.vapi.bindings.client.AsyncCallback<ProtectionGroupInfo> asyncCallback)
Asynchronous 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.
cluster
- 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.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)
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 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.
cluster
- 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.java.lang.String update_Task(java.lang.String cluster, java.lang.String pg, ProtectionGroupUpdateSpec spec)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- 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.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.java.lang.String update_Task(java.lang.String cluster, java.lang.String pg, ProtectionGroupUpdateSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous 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.
cluster
- 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.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.void update_Task(java.lang.String cluster, java.lang.String pg, ProtectionGroupUpdateSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Asynchronous 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.
cluster
- 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.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)
Asynchronous 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.
cluster
- 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.java.lang.String pause_Task(java.lang.String cluster, java.lang.String pg)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- 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
.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.java.lang.String pause_Task(java.lang.String cluster, java.lang.String pg, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous 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.
cluster
- 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.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.void pause_Task(java.lang.String cluster, java.lang.String pg, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Asynchronous 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.
cluster
- 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.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)
Asynchronous 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.
cluster
- 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.java.lang.String resume_Task(java.lang.String cluster, java.lang.String pg)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- 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
.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.java.lang.String resume_Task(java.lang.String cluster, java.lang.String pg, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous 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.
cluster
- 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.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.void resume_Task(java.lang.String cluster, java.lang.String pg, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Asynchronous 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.
cluster
- 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.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)
Asynchronous 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.
cluster
- 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.java.lang.String delete_Task(java.lang.String cluster, java.lang.String pg, ProtectionGroupsTypes.DeleteSpec spec)
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
cluster
- 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.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.java.lang.String delete_Task(java.lang.String cluster, java.lang.String pg, ProtectionGroupsTypes.DeleteSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous 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.
cluster
- 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.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.void delete_Task(java.lang.String cluster, java.lang.String pg, ProtectionGroupsTypes.DeleteSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Asynchronous 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.
cluster
- 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.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)
Asynchronous 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.
cluster
- 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.