public class SnapshotsStub extends com.vmware.vapi.internal.bindings.Stub implements Snapshots
Snapshots
API service.
WARNING: Internal class, subject to change in future versions.
SnapshotsTypes._VAPI_OPERATIONS, SnapshotsTypes.CreateResult, SnapshotsTypes.CreateSpec, SnapshotsTypes.FilterSpec, SnapshotsTypes.Info, SnapshotsTypes.ListItem, SnapshotsTypes.ListResult, SnapshotsTypes.Type, SnapshotsTypes.VmSnapshotSummaryapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
SnapshotsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
SnapshotsStub(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,
java.lang.String pg,
SnapshotsTypes.CreateSpec spec)
Create a snapshot for the given protection group.
|
void |
create_Task(java.lang.String cluster,
java.lang.String pg,
SnapshotsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Create a snapshot for the given protection group.
|
void |
create_Task(java.lang.String cluster,
java.lang.String pg,
SnapshotsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a snapshot for the given protection group.
|
java.lang.String |
create_Task(java.lang.String cluster,
java.lang.String pg,
SnapshotsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a snapshot for the given protection group.
|
void |
delete(java.lang.String cluster,
java.lang.String pg,
java.lang.String snapshot)
Delete the specified protection group snapshot.
|
void |
delete(java.lang.String cluster,
java.lang.String pg,
java.lang.String snapshot,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete the specified protection group snapshot.
|
void |
delete(java.lang.String cluster,
java.lang.String pg,
java.lang.String snapshot,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete the specified protection group snapshot.
|
void |
delete(java.lang.String cluster,
java.lang.String pg,
java.lang.String snapshot,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete the specified protection group snapshot.
|
SnapshotsTypes.Info |
get(java.lang.String cluster,
java.lang.String pg,
java.lang.String snapshot)
Get the detailed information regarding the specified protection group snapshot.
|
void |
get(java.lang.String cluster,
java.lang.String pg,
java.lang.String snapshot,
com.vmware.vapi.bindings.client.AsyncCallback<SnapshotsTypes.Info> asyncCallback)
Get the detailed information regarding the specified protection group snapshot.
|
void |
get(java.lang.String cluster,
java.lang.String pg,
java.lang.String snapshot,
com.vmware.vapi.bindings.client.AsyncCallback<SnapshotsTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the detailed information regarding the specified protection group snapshot.
|
SnapshotsTypes.Info |
get(java.lang.String cluster,
java.lang.String pg,
java.lang.String snapshot,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the detailed information regarding the specified protection group snapshot.
|
SnapshotsTypes.ListResult |
list(java.lang.String cluster,
java.lang.String pg,
SnapshotsTypes.FilterSpec filter)
List the snapshots for the given protection group.
|
void |
list(java.lang.String cluster,
java.lang.String pg,
SnapshotsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<SnapshotsTypes.ListResult> asyncCallback)
List the snapshots for the given protection group.
|
void |
list(java.lang.String cluster,
java.lang.String pg,
SnapshotsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<SnapshotsTypes.ListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List the snapshots for the given protection group.
|
SnapshotsTypes.ListResult |
list(java.lang.String cluster,
java.lang.String pg,
SnapshotsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List the snapshots for the given protection group.
|
public SnapshotsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public SnapshotsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public java.lang.String create_Task(java.lang.String cluster,
java.lang.String pg,
SnapshotsTypes.CreateSpec spec)
SnapshotsSynchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
create_Task in interface Snapshotscluster - 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 the protection group snapshot.public java.lang.String create_Task(java.lang.String cluster,
java.lang.String pg,
SnapshotsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SnapshotsSynchronous 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 Snapshotscluster - 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 the protection group snapshot.invocationConfig - Configuration for the method invocation.public void create_Task(java.lang.String cluster,
java.lang.String pg,
SnapshotsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
SnapshotsAsynchronous 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 no 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.
create_Task in interface Snapshotscluster - 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 the protection group snapshot.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create_Task(java.lang.String cluster,
java.lang.String pg,
SnapshotsTypes.CreateSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SnapshotsAsynchronous 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 no 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.
create_Task in interface Snapshotscluster - 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 the protection group snapshot.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public SnapshotsTypes.ListResult list(java.lang.String cluster, java.lang.String pg, SnapshotsTypes.FilterSpec filter)
SnapshotsSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface Snapshotscluster - 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.filter - Specification of matching snapshots for which information should be returned.
If null, the behavior is equivalent to a SnapshotsTypes.FilterSpec
with all properties null which means all protection group snapshots
match the filter. SnapshotsTypes.FilterSpec for
the specified protection group.public SnapshotsTypes.ListResult list(java.lang.String cluster, java.lang.String pg, SnapshotsTypes.FilterSpec filter, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SnapshotsSynchronous 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 Snapshotscluster - 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.filter - Specification of matching snapshots for which information should be returned.
If null, the behavior is equivalent to a SnapshotsTypes.FilterSpec
with all properties null which means all protection group snapshots
match the filter. SnapshotsTypes.FilterSpec for
the specified protection group.invocationConfig - Configuration for the method invocation.public void list(java.lang.String cluster,
java.lang.String pg,
SnapshotsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<SnapshotsTypes.ListResult> asyncCallback)
SnapshotsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Information about the snapshots matching the
Operation Errors:
Error - If there is unknown internal error.
NotFound - If there is no cluster associated with cluster or no or no protection
group associated with pgin 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 Snapshotscluster - 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.filter - Specification of matching snapshots for which information should be returned.
If null, the behavior is equivalent to a SnapshotsTypes.FilterSpec
with all properties null which means all protection group snapshots
match the filter. SnapshotsTypes.FilterSpec for
the specified protection group.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String cluster,
java.lang.String pg,
SnapshotsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<SnapshotsTypes.ListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SnapshotsAsynchronous 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 snapshots matching the
Operation Errors:
Error - If there is unknown internal error.
NotFound - If there is no cluster associated with cluster or no or no protection
group associated with pgin 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 Snapshotscluster - 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.filter - Specification of matching snapshots for which information should be returned.
If null, the behavior is equivalent to a SnapshotsTypes.FilterSpec
with all properties null which means all protection group snapshots
match the filter. SnapshotsTypes.FilterSpec for
the specified protection group.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public SnapshotsTypes.Info get(java.lang.String cluster, java.lang.String pg, java.lang.String snapshot)
SnapshotsSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface Snapshotscluster - 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.snapshot - Identifier of the protection group snapshot.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.snapshot.public SnapshotsTypes.Info get(java.lang.String cluster, java.lang.String pg, java.lang.String snapshot, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SnapshotsSynchronous 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 Snapshotscluster - 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.snapshot - Identifier of the protection group snapshot.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.snapshot.invocationConfig - Configuration for the method invocation.public void get(java.lang.String cluster,
java.lang.String pg,
java.lang.String snapshot,
com.vmware.vapi.bindings.client.AsyncCallback<SnapshotsTypes.Info> asyncCallback)
SnapshotsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Information about the specified protection group snapshot.
Operation Errors:
Error - If there is unknown internal error.
NotFound - If no cluster associated with cluster or no protection group associated
with pg or no snapshot associated with snapshot is found 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.
get in interface Snapshotscluster - 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.snapshot - Identifier of the protection group snapshot.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.snapshot.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String cluster,
java.lang.String pg,
java.lang.String snapshot,
com.vmware.vapi.bindings.client.AsyncCallback<SnapshotsTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SnapshotsAsynchronous 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 snapshot.
Operation Errors:
Error - If there is unknown internal error.
NotFound - If no cluster associated with cluster or no protection group associated
with pg or no snapshot associated with snapshot is found 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.
get in interface Snapshotscluster - 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.snapshot - Identifier of the protection group snapshot.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.snapshot.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String cluster,
java.lang.String pg,
java.lang.String snapshot)
SnapshotsSynchronous method overload. Result of the invocation will be reported as a method return value.
delete in interface Snapshotscluster - 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.snapshot - Identifier of the protection group snapshot.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.snapshot.public void delete(java.lang.String cluster,
java.lang.String pg,
java.lang.String snapshot,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SnapshotsSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
delete in interface Snapshotscluster - 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.snapshot - Identifier of the protection group snapshot.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.snapshot.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String cluster,
java.lang.String pg,
java.lang.String snapshot,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
SnapshotsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
Error - If there is unknown internal error.
NotFound - If no cluster associated with cluster or no protection group associated
with pg or no snapshot associated with snapshot is found 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.
delete in interface Snapshotscluster - 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.snapshot - Identifier of the protection group snapshot.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.snapshot.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void delete(java.lang.String cluster,
java.lang.String pg,
java.lang.String snapshot,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
SnapshotsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
Error - If there is unknown internal error.
NotFound - If no cluster associated with cluster or no protection group associated
with pg or no snapshot associated with snapshot is found 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.
delete in interface Snapshotscluster - 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.snapshot - Identifier of the protection group snapshot.
The parameter must be an identifier for the resource type: com.vmware.snapservice.protection_group.snapshot.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.