ModeTypes.ClusterMode, ModeTypes.Info| Constructor and Description |
|---|
ModeStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ModeStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| 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.
|
public ModeStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ModeStub(ApiProvider apiProvider, StubConfigurationBase config)
public ModeTypes.Info get()
ModeSynchronous method overload. Result of the invocation will be reported as a method return value.
public ModeTypes.Info get(InvocationConfig invocationConfig)
ModeSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void get(AsyncCallback<ModeTypes.Info> asyncCallback)
ModeAsynchronous 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.
public void get(AsyncCallback<ModeTypes.Info> asyncCallback, InvocationConfig invocationConfig)
ModeAsynchronous 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.
public java.lang.String set_Task(ModeTypes.ClusterMode mode)
ModeVCHA 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.
public java.lang.String set_Task(ModeTypes.ClusterMode mode, InvocationConfig invocationConfig)
ModeVCHA 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.