public class StatusStub extends com.vmware.vapi.internal.bindings.Stub implements Status
Status
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, GET_SOURCE_CACHED, GET_SOURCE_REALTIME
Constructor and Description |
---|
StatusStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
StatusStub(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 |
---|---|
LbServiceStatus |
get(java.lang.String serviceId,
java.lang.Boolean includeInstanceDetails,
java.lang.String source,
java.lang.String transportNodeIds)
Returns the status of the given load balancer service.
|
void |
get(java.lang.String serviceId,
java.lang.Boolean includeInstanceDetails,
java.lang.String source,
java.lang.String transportNodeIds,
com.vmware.vapi.bindings.client.AsyncCallback<LbServiceStatus> asyncCallback)
Returns the status of the given load balancer service.
|
void |
get(java.lang.String serviceId,
java.lang.Boolean includeInstanceDetails,
java.lang.String source,
java.lang.String transportNodeIds,
com.vmware.vapi.bindings.client.AsyncCallback<LbServiceStatus> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the status of the given load balancer service.
|
LbServiceStatus |
get(java.lang.String serviceId,
java.lang.Boolean includeInstanceDetails,
java.lang.String source,
java.lang.String transportNodeIds,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the status of the given load balancer service.
|
public StatusStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public StatusStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public LbServiceStatus get(java.lang.String serviceId, java.lang.Boolean includeInstanceDetails, java.lang.String source, java.lang.String transportNodeIds)
Status
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Status
serviceId
- (required)includeInstanceDetails
- Flag to indicate whether include detail information (optional, default to false)source
- Data source type. (optional)transportNodeIds
- The UUIDs of transport nodes (optional)public LbServiceStatus get(java.lang.String serviceId, java.lang.Boolean includeInstanceDetails, java.lang.String source, java.lang.String transportNodeIds, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Status
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface Status
serviceId
- (required)includeInstanceDetails
- Flag to indicate whether include detail information (optional, default to false)source
- Data source type. (optional)transportNodeIds
- The UUIDs of transport nodes (optional)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String serviceId, java.lang.Boolean includeInstanceDetails, java.lang.String source, java.lang.String transportNodeIds, com.vmware.vapi.bindings.client.AsyncCallback<LbServiceStatus> asyncCallback)
Status
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.LbServiceStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface Status
serviceId
- (required)includeInstanceDetails
- Flag to indicate whether include detail information (optional, default to false)source
- Data source type. (optional)transportNodeIds
- The UUIDs of transport nodes (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String serviceId, java.lang.Boolean includeInstanceDetails, java.lang.String source, java.lang.String transportNodeIds, com.vmware.vapi.bindings.client.AsyncCallback<LbServiceStatus> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Status
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.LbServiceStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface Status
serviceId
- (required)includeInstanceDetails
- Flag to indicate whether include detail information (optional, default to false)source
- Data source type. (optional)transportNodeIds
- The UUIDs of transport nodes (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.