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.Info
apiProvider, converter, ifaceId, securityContext
CLUSTER_DEPLOY_OP, CLUSTER_FAILOVER_OP, CLUSTER_GET_OP, CLUSTER_UNDEPLOY_OP, MODE_GET_OP, MODE_SET_OP, PASSIVE_REDEPLOY_OP, WITNESS_REDEPLOY_OP
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()
Retrieves the current active and disabled operations of a VCHA cluster.
|
void |
get(AsyncCallback<OperationsTypes.Info> asyncCallback)
Retrieves the current active and disabled operations of a VCHA cluster.
|
void |
get(AsyncCallback<OperationsTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retrieves the current active and disabled operations of a VCHA cluster.
|
OperationsTypes.Info |
get(InvocationConfig invocationConfig)
Retrieves the current active and disabled operations of a VCHA cluster.
|
public OperationsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public OperationsStub(ApiProvider apiProvider, StubConfigurationBase config)
public OperationsTypes.Info get()
Operations
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Operations
public OperationsTypes.Info get(InvocationConfig invocationConfig)
Operations
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 Operations
invocationConfig
- Configuration for the method invocation.public void get(AsyncCallback<OperationsTypes.Info> asyncCallback)
Operations
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Info structure containing the current running and disabled operations of a VCHA
cluster.
Operation Errors:
Unauthorized
- If the user has insufficient privilege to perform the operation. Operation
execution requires the System.Read privilege.
Error
- If any other error occurs.
get
in interface Operations
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(AsyncCallback<OperationsTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Operations
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Operation Result:
Info structure containing the current running and disabled operations of a VCHA
cluster.
Operation Errors:
Unauthorized
- If the user has insufficient privilege to perform the operation. Operation
execution requires the System.Read privilege.
Error
- If any other error occurs.
get
in interface Operations
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.