ModeTypes.ClusterMode, ModeTypes.Info
Modifier and Type | Method and Description |
---|---|
ModeTypes.Info |
get()
Retrieves the current mode of a VCHA cluster.
|
void |
get(AsyncCallback<ModeTypes.Info> asyncCallback)
Retrieves the current mode of a VCHA cluster.
|
void |
get(AsyncCallback<ModeTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retrieves the current mode of a VCHA cluster.
|
ModeTypes.Info |
get(InvocationConfig invocationConfig)
Retrieves the current mode of a VCHA cluster.
|
java.lang.String |
set_Task(ModeTypes.ClusterMode mode)
Manipulates the mode of a VCHA Cluster.
|
java.lang.String |
set_Task(ModeTypes.ClusterMode mode,
InvocationConfig invocationConfig)
Manipulates the mode of a VCHA Cluster.
|
ModeTypes.Info get()
Synchronous method overload. Result of the invocation will be reported as a method return value.
NotAllowedInCurrentState
- If the VCHA cluster is not configured.Unauthorized
- If the user has insufficient privilege to perform the operation. Operation
execution requires the System.Read privilege.Error
- If any other error occurs.ModeTypes.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.NotAllowedInCurrentState
- If the VCHA cluster is not configured.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<ModeTypes.Info> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Operation Result:
Info structure containing the mode of the the VCHA cluster.
Operation Errors:
NotAllowedInCurrentState
- If the VCHA cluster is not configured.
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<ModeTypes.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.
Operation Result:
Info structure containing the mode of the the VCHA cluster.
Operation Errors:
NotAllowedInCurrentState
- If the VCHA cluster is not configured.
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.java.lang.String set_Task(ModeTypes.ClusterMode mode)
VCHA Cluster configuration remains intact in any of the cluster modes.
. This method was added in vSphere API 6.7 U1.Task method overload. Result of the invocation is a task identifier which is going to be returned by this method.
mode
- Clustermode to change the VCHA cluster mode to.Unauthorized
- If the user has insufficient privilege to perform the operation. Operation
execution requires the Global.VCServer privilege.Error
- If any other error occurs.java.lang.String set_Task(ModeTypes.ClusterMode mode, InvocationConfig invocationConfig)
VCHA Cluster configuration remains intact in any of the cluster modes.
. This method was added in vSphere API 6.7 U1.Task method overload. Result of the invocation is a task identifier which is going to be returned by this method.
mode
- Clustermode to change the VCHA cluster mode to.invocationContext
- Information about a method invocation.Unauthorized
- If the user has insufficient privilege to perform the operation. Operation
execution requires the Global.VCServer privilege.Error
- If any other error occurs.