public class VirtualMachinesStub extends com.vmware.vapi.internal.bindings.Stub implements VirtualMachines
VirtualMachines
API service.
WARNING: Internal class, subject to change in future versions.
VirtualMachinesTypes._VAPI_OPERATIONS, VirtualMachinesTypes.FilterSpec, VirtualMachinesTypes.Info, VirtualMachinesTypes.LinkedClonePlacementSpec, VirtualMachinesTypes.LinkedCloneSpec, VirtualMachinesTypes.ListItem, VirtualMachinesTypes.ListResult, VirtualMachinesTypes.RestorePlacementSpec, VirtualMachinesTypes.RestoreSpec, VirtualMachinesTypes.RevertSpec
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
VirtualMachinesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
VirtualMachinesStub(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 |
---|---|
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.
|
public VirtualMachinesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public VirtualMachinesStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public VirtualMachinesTypes.ListResult list(java.lang.String cluster, VirtualMachinesTypes.FilterSpec filter)
VirtualMachines
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface VirtualMachines
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.public VirtualMachinesTypes.ListResult list(java.lang.String cluster, VirtualMachinesTypes.FilterSpec filter, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VirtualMachines
Synchronous 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 VirtualMachines
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.public void list(java.lang.String cluster, VirtualMachinesTypes.FilterSpec filter, com.vmware.vapi.bindings.client.AsyncCallback<VirtualMachinesTypes.ListResult> asyncCallback)
VirtualMachines
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.
list
in interface VirtualMachines
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.public 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)
VirtualMachines
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.
list
in interface VirtualMachines
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.public VirtualMachinesTypes.Info get(java.lang.String cluster, java.lang.String vm)
VirtualMachines
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface VirtualMachines
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
.public VirtualMachinesTypes.Info get(java.lang.String cluster, java.lang.String vm, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VirtualMachines
Synchronous 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 VirtualMachines
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.public void get(java.lang.String cluster, java.lang.String vm, com.vmware.vapi.bindings.client.AsyncCallback<VirtualMachinesTypes.Info> asyncCallback)
VirtualMachines
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.
get
in interface VirtualMachines
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.public 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)
VirtualMachines
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.
get
in interface VirtualMachines
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.public java.lang.String revert_Task(java.lang.String cluster, java.lang.String vm, VirtualMachinesTypes.RevertSpec spec)
VirtualMachines
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
revert_Task
in interface VirtualMachines
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.public java.lang.String revert_Task(java.lang.String cluster, java.lang.String vm, VirtualMachinesTypes.RevertSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VirtualMachines
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.
revert_Task
in interface VirtualMachines
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.public void revert_Task(java.lang.String cluster, java.lang.String vm, VirtualMachinesTypes.RevertSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
VirtualMachines
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.
revert_Task
in interface VirtualMachines
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.public 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)
VirtualMachines
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.
revert_Task
in interface VirtualMachines
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.public java.lang.String restore_Task(java.lang.String cluster, java.lang.String vm, VirtualMachinesTypes.RestoreSpec spec)
VirtualMachines
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
restore_Task
in interface VirtualMachines
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.public java.lang.String restore_Task(java.lang.String cluster, java.lang.String vm, VirtualMachinesTypes.RestoreSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VirtualMachines
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.
restore_Task
in interface VirtualMachines
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.public void restore_Task(java.lang.String cluster, java.lang.String vm, VirtualMachinesTypes.RestoreSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
VirtualMachines
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.
restore_Task
in interface VirtualMachines
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.public 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)
VirtualMachines
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.
restore_Task
in interface VirtualMachines
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.public java.lang.String linkedClone_Task(java.lang.String cluster, java.lang.String vm, VirtualMachinesTypes.LinkedCloneSpec spec)
VirtualMachines
Synchronous method overload. Result of the invocation is a task identifier which will be returned by this method.
linkedClone_Task
in interface VirtualMachines
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.public java.lang.String linkedClone_Task(java.lang.String cluster, java.lang.String vm, VirtualMachinesTypes.LinkedCloneSpec spec, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
VirtualMachines
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.
linkedClone_Task
in interface VirtualMachines
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.public void linkedClone_Task(java.lang.String cluster, java.lang.String vm, VirtualMachinesTypes.LinkedCloneSpec spec, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.String> asyncCallback)
VirtualMachines
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.
linkedClone_Task
in interface VirtualMachines
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.public 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)
VirtualMachines
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.
linkedClone_Task
in interface VirtualMachines
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.