public interface Operations extends Service, OperationsTypes
OperationsTypes.Info
_VAPI_SERVICE_ID
Modifier and Type | Method and Description |
---|---|
OperationsTypes.Info |
get(java.lang.String vm)
Get information about the guest operation status.
|
void |
get(java.lang.String vm,
AsyncCallback<OperationsTypes.Info> asyncCallback)
Get information about the guest operation status.
|
void |
get(java.lang.String vm,
AsyncCallback<OperationsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Get information about the guest operation status.
|
OperationsTypes.Info |
get(java.lang.String vm,
InvocationConfig invocationConfig)
Get information about the guest operation status.
|
OperationsTypes.Info get(java.lang.String vm)
Synchronous method overload. Result of the invocation will be reported as a method return value.
vm
- Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine
.NotFound
- if the virtual machine is not found.ServiceUnavailable
- if the state of VMware Tools is unknown.Unauthorized
- if you do not have all of the privileges described as follows: VirtualMachine
referenced by the parameter vm
requires
System.Read
. OperationsTypes.Info get(java.lang.String vm, 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.
vm
- Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine
.invocationConfig
- Configuration for the method invocation.NotFound
- if the virtual machine is not found.ServiceUnavailable
- if the state of VMware Tools is unknown.Unauthorized
- if you do not have all of the privileges described as follows: VirtualMachine
referenced by the parameter vm
requires
System.Read
. void get(java.lang.String vm, AsyncCallback<OperationsTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
guest operations readiness.
Operation Errors:
NotFound
- if the virtual machine is not found.
ServiceUnavailable
- if the state of VMware Tools is unknown.
Unauthorized
- if you do not have all of the privileges described as follows:
VirtualMachine
referenced by the parameter vm
requires
System.Read
. 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 vm, AsyncCallback<OperationsTypes.Info> asyncCallback, 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:
guest operations readiness.
Operation Errors:
NotFound
- if the virtual machine is not found.
ServiceUnavailable
- if the state of VMware Tools is unknown.
Unauthorized
- if you do not have all of the privileges described as follows:
VirtualMachine
referenced by the parameter vm
requires
System.Read
. 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.