public class OperationsStub extends com.vmware.vapi.internal.bindings.Stub implements Operations
Operations
API service.
WARNING: Internal class, subject to change in future versions.
OperationsTypes.InfoapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
OperationsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
OperationsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| 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.
|
public OperationsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public OperationsStub(ApiProvider apiProvider, StubConfigurationBase config)
public OperationsTypes.Info get(java.lang.String vm)
OperationsSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface Operationsvm - Identifier of the virtual machine.
The parameter must be an identifier for the resource type: VirtualMachine.public OperationsTypes.Info get(java.lang.String vm, InvocationConfig invocationConfig)
OperationsSynchronous 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 Operationsvm - 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 vm,
AsyncCallback<OperationsTypes.Info> asyncCallback)
OperationsAsynchronous 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. get in interface Operationsvm - 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 vm,
AsyncCallback<OperationsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
OperationsAsynchronous 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. get in interface Operationsvm - 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.