public interface VirtualMachines extends com.vmware.vapi.bindings.Service, VirtualMachinesTypes
VirtualMachines interface provides methods to manage virtual
machines.VirtualMachinesTypes._VAPI_OPERATIONS, VirtualMachinesTypes.FilterSpec, VirtualMachinesTypes.Info, VirtualMachinesTypes.LinkedClonePlacementSpec, VirtualMachinesTypes.LinkedCloneSpec, VirtualMachinesTypes.ListItem, VirtualMachinesTypes.ListResult, VirtualMachinesTypes.RestorePlacementSpec, VirtualMachinesTypes.RestoreSpec, VirtualMachinesTypes.RevertSpec_VAPI_SERVICE_ID| Modifier and Type | Method and Description |
|---|---|
VirtualMachinesTypes.Info |
get(java.lang.String cluster,
java.lang.String vm)
Get the detailed information regarding the specified virtual machine and it's
snapshots in the given cluster.
|
void |
get(java.lang.String cluster,
java.lang.String vm,
com.vmware.vapi.bindings.client.AsyncCallback<VirtualMachinesTypes.Info> asyncCallback)
Get the detailed information regarding the specified virtual machine and it's
snapshots in the given cluster.
|
void |
get(java.lang.String cluster,
java.lang.String vm,
com.vmware.vapi.bindings.client.AsyncCallback<VirtualMachinesTypes.Info> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the detailed information regarding the specified virtual machine and it's
snapshots in the given cluster.
|
VirtualMachinesTypes.Info |
get(java.lang.String cluster,
java.lang.String vm,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get the detailed information regarding the specified virtual machine and it's
snapshots in the given cluster.
|
java.lang.String |
linkedClone_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.LinkedCloneSpec spec)
Creates a linked clone virtual machine from the given snapshot.
|
void |
linkedClone_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.LinkedCloneSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Creates a linked clone virtual machine from the given snapshot.
|
void |
linkedClone_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.LinkedCloneSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a linked clone virtual machine from the given snapshot.
|
java.lang.String |
linkedClone_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.LinkedCloneSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a linked clone virtual machine from the given snapshot.
|
VirtualMachinesTypes.ListResult |
list(java.lang.String cluster,
VirtualMachinesTypes.FilterSpec filter)
List the virtual machines for the given cluster.
|
void |
list(java.lang.String cluster,
VirtualMachinesTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<VirtualMachinesTypes.ListResult> asyncCallback)
List the virtual machines for the given cluster.
|
void |
list(java.lang.String cluster,
VirtualMachinesTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<VirtualMachinesTypes.ListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List the virtual machines for the given cluster.
|
VirtualMachinesTypes.ListResult |
list(java.lang.String cluster,
VirtualMachinesTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List the virtual machines for the given cluster.
|
java.lang.String |
restore_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.RestoreSpec spec)
Restore deleted virtual machine to a given snapshot point.
|
void |
restore_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.RestoreSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Restore deleted virtual machine to a given snapshot point.
|
void |
restore_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.RestoreSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Restore deleted virtual machine to a given snapshot point.
|
java.lang.String |
restore_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.RestoreSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Restore deleted virtual machine to a given snapshot point.
|
java.lang.String |
revert_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.RevertSpec spec)
Revert the virtual machine to a given snapshot point.
|
void |
revert_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.RevertSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
Revert the virtual machine to a given snapshot point.
|
void |
revert_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.RevertSpec spec,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Revert the virtual machine to a given snapshot point.
|
java.lang.String |
revert_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.RevertSpec spec,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Revert the virtual machine to a given snapshot point.
|
VirtualMachinesTypes.ListResult list(java.lang.String cluster, VirtualMachinesTypes.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 virtual machines for which information should be
returned.
If null, the behavior is equivalent to a VirtualMachinesTypes.FilterSpec with all
properties null which means all virtual machines match the filter.VirtualMachinesTypes.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.VirtualMachinesTypes.ListResult list(java.lang.String cluster, VirtualMachinesTypes.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 virtual machines for which information should be
returned.
If null, the behavior is equivalent to a VirtualMachinesTypes.FilterSpec with all
properties null which means all virtual machines match the filter.invocationConfig - Configuration for the method invocation.VirtualMachinesTypes.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,
VirtualMachinesTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<VirtualMachinesTypes.ListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Information about the virtual machines matching the VirtualMachinesTypes.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 virtual machines for which information should be
returned.
If null, the behavior is equivalent to a VirtualMachinesTypes.FilterSpec with all
properties null which means all virtual machines match the filter.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void list(java.lang.String cluster,
VirtualMachinesTypes.FilterSpec filter,
com.vmware.vapi.bindings.client.AsyncCallback<VirtualMachinesTypes.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 virtual machines matching the VirtualMachinesTypes.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 virtual machines for which information should be
returned.
If null, the behavior is equivalent to a VirtualMachinesTypes.FilterSpec with all
properties null which means all virtual machines match the filter.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.VirtualMachinesTypes.Info get(java.lang.String cluster, java.lang.String vm)
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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.Error - If there is unknown internal error.NotFound - If there is no cluster associated with cluster or no virtual machine
associated with vm 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.VirtualMachinesTypes.Info get(java.lang.String cluster, java.lang.String vm, 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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.invocationConfig - Configuration for the method invocation.Error - If there is unknown internal error.NotFound - If there is no cluster associated with cluster or no virtual machine
associated with vm 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.void get(java.lang.String cluster,
java.lang.String vm,
com.vmware.vapi.bindings.client.AsyncCallback<VirtualMachinesTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
Info detailed information 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 virtual machine
associated with vm 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.
cluster - 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.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String cluster,
java.lang.String vm,
com.vmware.vapi.bindings.client.AsyncCallback<VirtualMachinesTypes.Info> 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:
Info detailed information 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 virtual machine
associated with vm 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.
cluster - 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.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.java.lang.String revert_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.RevertSpec 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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.spec - specification for the revert operation.Error - If there is unknown internal error.NotFound - If there is no cluster associated with cluster or no virtual machine
associated with vm is found in the system.InvalidArgument - If validation of the spec fails.NotAllowedInCurrentState - If the virtual machine has moved to another cluster or if there are more than
max allowed revert operations in-progress.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 revert_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.RevertSpec 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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.spec - specification for the revert operation.invocationConfig - Configuration for the method invocation.Error - If there is unknown internal error.NotFound - If there is no cluster associated with cluster or no virtual machine
associated with vm is found in the system.InvalidArgument - If validation of the spec fails.NotAllowedInCurrentState - If the virtual machine has moved to another cluster or if there are more than
max allowed revert operations in-progress.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 revert_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.RevertSpec 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.
NotFound - If there is no cluster associated with cluster or no virtual machine
associated with vm is found in the system.
InvalidArgument - If validation of the spec fails.
NotAllowedInCurrentState - If the virtual machine has moved to another cluster or if there are more than
max allowed revert operations in-progress.
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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.spec - specification for the revert operation.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void revert_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.RevertSpec 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.
NotFound - If there is no cluster associated with cluster or no virtual machine
associated with vm is found in the system.
InvalidArgument - If validation of the spec fails.
NotAllowedInCurrentState - If the virtual machine has moved to another cluster or if there are more than
max allowed revert operations in-progress.
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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.spec - specification for the revert operation.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.java.lang.String restore_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.RestoreSpec 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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.spec - specification for the restore operation.Error - If there is unknown internal error.NotFound - If there is no cluster associated with cluster or no virtual machine
associated with vm is found in the system.AlreadyExists - If a virtual machine with the specified name already exists.InvalidArgument - If validation of the spec fails.NotAllowedInCurrentState - If there are more than max allowed restore operations in-progress.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 restore_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.RestoreSpec 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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.spec - specification for the restore operation.invocationConfig - Configuration for the method invocation.Error - If there is unknown internal error.NotFound - If there is no cluster associated with cluster or no virtual machine
associated with vm is found in the system.AlreadyExists - If a virtual machine with the specified name already exists.InvalidArgument - If validation of the spec fails.NotAllowedInCurrentState - If there are more than max allowed restore operations in-progress.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 restore_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.RestoreSpec 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.
NotFound - If there is no cluster associated with cluster or no virtual machine
associated with vm is found in the system.
AlreadyExists - If a virtual machine with the specified name already exists.
InvalidArgument - If validation of the spec fails.
NotAllowedInCurrentState - If there are more than max allowed restore operations in-progress.
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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.spec - specification for the restore operation.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void restore_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.RestoreSpec 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.
NotFound - If there is no cluster associated with cluster or no virtual machine
associated with vm is found in the system.
AlreadyExists - If a virtual machine with the specified name already exists.
InvalidArgument - If validation of the spec fails.
NotAllowedInCurrentState - If there are more than max allowed restore operations in-progress.
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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.spec - specification for the restore operation.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.java.lang.String linkedClone_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.LinkedCloneSpec 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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.spec - specification for the clone operation.Error - If there is unknown internal error.NotFound - If there is no cluster associated with cluster or no virtual machine
associated with vm is found in the system.AlreadyExists - If a virtual machine with the specified name already exists.InvalidArgument - If validation of the spec fails.NotAllowedInCurrentState - If there are more than max allowed clone operations in-progress.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 linkedClone_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.LinkedCloneSpec 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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.spec - specification for the clone operation.invocationConfig - Configuration for the method invocation.Error - If there is unknown internal error.NotFound - If there is no cluster associated with cluster or no virtual machine
associated with vm is found in the system.AlreadyExists - If a virtual machine with the specified name already exists.InvalidArgument - If validation of the spec fails.NotAllowedInCurrentState - If there are more than max allowed clone operations in-progress.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 linkedClone_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.LinkedCloneSpec 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.
NotFound - If there is no cluster associated with cluster or no virtual machine
associated with vm is found in the system.
AlreadyExists - If a virtual machine with the specified name already exists.
InvalidArgument - If validation of the spec fails.
NotAllowedInCurrentState - If there are more than max allowed clone operations in-progress.
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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.spec - specification for the clone operation.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void linkedClone_Task(java.lang.String cluster,
java.lang.String vm,
VirtualMachinesTypes.LinkedCloneSpec 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.
NotFound - If there is no cluster associated with cluster or no virtual machine
associated with vm is found in the system.
AlreadyExists - If a virtual machine with the specified name already exists.
InvalidArgument - If validation of the spec fails.
NotAllowedInCurrentState - If there are more than max allowed clone operations in-progress.
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.vm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.spec - specification for the clone operation.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.