public class StateStub extends com.vmware.vapi.internal.bindings.Stub implements State
State
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, LIST_MM_STATE_DISABLED, LIST_MM_STATE_ENABLED, LIST_MM_STATE_ENTERING, LIST_MM_STATE_EXITING, LIST_STATUS_FAILED, LIST_STATUS_IN_PROGRESS, LIST_STATUS_ORPHANED, LIST_STATUS_PARTIAL_SUCCESS, LIST_STATUS_PENDING, LIST_STATUS_SUCCESS
Constructor and Description |
---|
StateStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
StateStub(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 |
---|---|
TransportNodeState |
get(java.lang.String transportNodeId)
Returns information about the current state of the transport node configuration
and information about the associated hostswitch.
|
void |
get(java.lang.String transportNodeId,
com.vmware.vapi.bindings.client.AsyncCallback<TransportNodeState> asyncCallback)
Returns information about the current state of the transport node configuration
and information about the associated hostswitch.
|
void |
get(java.lang.String transportNodeId,
com.vmware.vapi.bindings.client.AsyncCallback<TransportNodeState> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the current state of the transport node configuration
and information about the associated hostswitch.
|
TransportNodeState |
get(java.lang.String transportNodeId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns information about the current state of the transport node configuration
and information about the associated hostswitch.
|
TransportNodeStateListResult |
list(java.lang.String mmState,
java.lang.String status,
java.lang.String vtepIp)
Returns a list of transport node states that have realized state as provided as
query parameter.
|
void |
list(java.lang.String mmState,
java.lang.String status,
java.lang.String vtepIp,
com.vmware.vapi.bindings.client.AsyncCallback<TransportNodeStateListResult> asyncCallback)
Returns a list of transport node states that have realized state as provided as
query parameter.
|
void |
list(java.lang.String mmState,
java.lang.String status,
java.lang.String vtepIp,
com.vmware.vapi.bindings.client.AsyncCallback<TransportNodeStateListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns a list of transport node states that have realized state as provided as
query parameter.
|
TransportNodeStateListResult |
list(java.lang.String mmState,
java.lang.String status,
java.lang.String vtepIp,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns a list of transport node states that have realized state as provided as
query parameter.
|
public StateStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public StateStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public TransportNodeState get(java.lang.String transportNodeId)
State
Synchronous method overload. Result of the invocation will be reported as a method return value.
public TransportNodeState get(java.lang.String transportNodeId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
State
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 get(java.lang.String transportNodeId, com.vmware.vapi.bindings.client.AsyncCallback<TransportNodeState> asyncCallback)
State
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TransportNodeState
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(java.lang.String transportNodeId, com.vmware.vapi.bindings.client.AsyncCallback<TransportNodeState> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
State
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.TransportNodeState
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public TransportNodeStateListResult list(java.lang.String mmState, java.lang.String status, java.lang.String vtepIp)
State
Synchronous method overload. Result of the invocation will be reported as a method return value.
public TransportNodeStateListResult list(java.lang.String mmState, java.lang.String status, java.lang.String vtepIp, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
State
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface State
mmState
- maintenance mode state (optional)status
- Realized state of transport nodes (optional)vtepIp
- Virtual tunnel endpoint ip address of transport node (optional)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String mmState, java.lang.String status, java.lang.String vtepIp, com.vmware.vapi.bindings.client.AsyncCallback<TransportNodeStateListResult> asyncCallback)
State
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.TransportNodeStateListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface State
mmState
- maintenance mode state (optional)status
- Realized state of transport nodes (optional)vtepIp
- Virtual tunnel endpoint ip address of transport node (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String mmState, java.lang.String status, java.lang.String vtepIp, com.vmware.vapi.bindings.client.AsyncCallback<TransportNodeStateListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
State
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.TransportNodeStateListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface State
mmState
- maintenance mode state (optional)status
- Realized state of transport nodes (optional)vtepIp
- Virtual tunnel endpoint ip address of transport node (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.