public class UsagePerNodeStub extends com.vmware.vapi.internal.bindings.Stub implements UsagePerNode
UsagePerNode
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
UsagePerNodeStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
UsagePerNodeStub(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 |
---|---|
com.vmware.vapi.bindings.Structure |
get(java.lang.String nodeId)
API is used to retrieve the usage of load balancer entities which include
current number and remaining number of credits, virtual Servers, pools, pool
Members and different size of LB services from the given node.
|
void |
get(java.lang.String nodeId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
API is used to retrieve the usage of load balancer entities which include
current number and remaining number of credits, virtual Servers, pools, pool
Members and different size of LB services from the given node.
|
void |
get(java.lang.String nodeId,
com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API is used to retrieve the usage of load balancer entities which include
current number and remaining number of credits, virtual Servers, pools, pool
Members and different size of LB services from the given node.
|
com.vmware.vapi.bindings.Structure |
get(java.lang.String nodeId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
API is used to retrieve the usage of load balancer entities which include
current number and remaining number of credits, virtual Servers, pools, pool
Members and different size of LB services from the given node.
|
public UsagePerNodeStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public UsagePerNodeStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public com.vmware.vapi.bindings.Structure get(java.lang.String nodeId)
UsagePerNode
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface UsagePerNode
nodeId
- (required)LbNodeUsage
.public com.vmware.vapi.bindings.Structure get(java.lang.String nodeId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
UsagePerNode
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 UsagePerNode
nodeId
- (required)invocationConfig
- Configuration for the method invocation.LbNodeUsage
.public void get(java.lang.String nodeId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
UsagePerNode
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.LbNodeUsage
The return value will contain all the properties defined in LbNodeUsage
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface UsagePerNode
nodeId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String nodeId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
UsagePerNode
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.LbNodeUsage
The return value will contain all the properties defined in LbNodeUsage
.
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface UsagePerNode
nodeId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.