apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
ModeStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ModeStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
NodeMode |
create(SwitchingToVmcModeParameters switchingToVmcModeParameters)
Currently only a switch from \"VMC_LOCAL\" to \"VMC\" is supported.
|
void |
create(SwitchingToVmcModeParameters switchingToVmcModeParameters,
com.vmware.vapi.bindings.client.AsyncCallback<NodeMode> asyncCallback)
Currently only a switch from \"VMC_LOCAL\" to \"VMC\" is supported.
|
void |
create(SwitchingToVmcModeParameters switchingToVmcModeParameters,
com.vmware.vapi.bindings.client.AsyncCallback<NodeMode> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Currently only a switch from \"VMC_LOCAL\" to \"VMC\" is supported.
|
NodeMode |
create(SwitchingToVmcModeParameters switchingToVmcModeParameters,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Currently only a switch from \"VMC_LOCAL\" to \"VMC\" is supported.
|
public ModeStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ModeStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public NodeMode create(SwitchingToVmcModeParameters switchingToVmcModeParameters)
Mode
Synchronous method overload. Result of the invocation will be reported as a method return value.
public NodeMode create(SwitchingToVmcModeParameters switchingToVmcModeParameters, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Mode
Synchronous 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 create(SwitchingToVmcModeParameters switchingToVmcModeParameters, com.vmware.vapi.bindings.client.AsyncCallback<NodeMode> asyncCallback)
Mode
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NodeMode
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void create(SwitchingToVmcModeParameters switchingToVmcModeParameters, com.vmware.vapi.bindings.client.AsyncCallback<NodeMode> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Mode
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:
com.vmware.nsx.model.NodeMode
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found