public interface Operations extends Service, OperationsTypes
Operations interface provides methods to figure out the currently
active operations and currently disabled operations in a vCenter High
Availability (VCHA) cluster. This interface was added in vSphere API 6.7.1.OperationsTypes.Info_VAPI_SERVICE_ID, CLUSTER_DEPLOY_OP, CLUSTER_FAILOVER_OP, CLUSTER_GET_OP, CLUSTER_UNDEPLOY_OP, MODE_GET_OP, MODE_SET_OP, PASSIVE_REDEPLOY_OP, WITNESS_REDEPLOY_OP| 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.
|
OperationsTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Unauthorized - If the user has insufficient privilege to perform the operation. Operation
execution requires the System.Read privilege.Error - If any other error occurs.OperationsTypes.Info get(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.
invocationConfig - Configuration for the method invocation.Unauthorized - If the user has insufficient privilege to perform the operation. Operation
execution requires the System.Read privilege.Error - If any other error occurs.void get(AsyncCallback<OperationsTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation 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.
asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(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:
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.
asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.