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.FilterSpec, SnapshotsTypes.Info, SnapshotsTypes.ListItem, SnapshotsTypes.ListResult, SnapshotsTypes.TypeapiProvider, 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 |
|---|---|
SnapshotsTypes.Info |
get(java.lang.String cluster,
java.lang.String vm,
java.lang.String snapshot)
Get the detailed information regarding the specified virtual machine snapshot.
|
void |
get(java.lang.String cluster,
java.lang.String vm,
java.lang.String snapshot,
com.vmware.vapi.bindings.client.AsyncCallback<SnapshotsTypes.Info> asyncCallback)
Get the detailed information regarding the specified virtual machine snapshot.
|
void |
get(java.lang.String cluster,
java.lang.String vm,
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 virtual machine snapshot.
|
SnapshotsTypes.Info |
get(java.lang.String cluster,
java.lang.String vm,
java.lang.String snapshot,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the detailed information regarding the specified virtual machine snapshot.
|
SnapshotsTypes.ListResult |
list(java.lang.String cluster,
java.lang.String vm,
SnapshotsTypes.FilterSpec filter)
List the snapshots for the given virtual machine.
|
void |
list(java.lang.String cluster,
java.lang.String vm,
SnapshotsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<SnapshotsTypes.ListResult> asyncCallback)
List the snapshots for the given virtual machine.
|
void |
list(java.lang.String cluster,
java.lang.String vm,
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 virtual machine.
|
SnapshotsTypes.ListResult |
list(java.lang.String cluster,
java.lang.String vm,
SnapshotsTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List the snapshots for the given virtual machine.
|
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 SnapshotsTypes.ListResult list(java.lang.String cluster, java.lang.String vm, 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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.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 virtual machine snapshots match the
filter.SnapshotsTypes.FilterSpec for
the specified virtual machine.public SnapshotsTypes.ListResult list(java.lang.String cluster, java.lang.String vm, 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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.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 virtual machine snapshots match the
filter.invocationConfig - Configuration for the method invocation.SnapshotsTypes.FilterSpec for
the specified virtual machine.public void list(java.lang.String cluster,
java.lang.String vm,
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 SnapshotsTypes.FilterSpec for
the specified virtual machine.
Operation Errors:
Error - If there is unknown internal error.
NotFound - If there is no cluster associated with cluster or no or no virtual
machine associated with vmin 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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.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 virtual machine snapshots match the
filter.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String cluster,
java.lang.String vm,
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 SnapshotsTypes.FilterSpec for
the specified virtual machine.
Operation Errors:
Error - If there is unknown internal error.
NotFound - If there is no cluster associated with cluster or no or no virtual
machine associated with vmin 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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.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 virtual machine snapshots match the
filter.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 vm, 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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.snapshot - Identifier of the virtual machine snapshot.
The parameter must be an identifier for the resource type: com.vmware.snapservice.vm.snapshot.public SnapshotsTypes.Info get(java.lang.String cluster, java.lang.String vm, 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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.snapshot - Identifier of the virtual machine snapshot.
The parameter must be an identifier for the resource type: com.vmware.snapservice.vm.snapshot.invocationConfig - Configuration for the method invocation.public void get(java.lang.String cluster,
java.lang.String vm,
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 virtual mahcine snapshot.
Operation Errors:
Error - If there is unknown internal error.
NotFound - If no cluster associated with cluster or no virtual machine associated
with vm 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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.snapshot - Identifier of the virtual machine snapshot.
The parameter must be an identifier for the resource type: com.vmware.snapservice.vm.snapshot.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String cluster,
java.lang.String vm,
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 virtual mahcine snapshot.
Operation Errors:
Error - If there is unknown internal error.
NotFound - If no cluster associated with cluster or no virtual machine associated
with vm 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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.snapshot - Identifier of the virtual machine snapshot.
The parameter must be an identifier for the resource type: com.vmware.snapservice.vm.snapshot.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.