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)
UsagePerNodeSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface UsagePerNodenodeId - (required)LbNodeUsage.public com.vmware.vapi.bindings.Structure get(java.lang.String nodeId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
UsagePerNodeSynchronous 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 UsagePerNodenodeId - (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)
UsagePerNodeAsynchronous 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 UsagePerNodenodeId - (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)
UsagePerNodeAsynchronous 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 UsagePerNodenodeId - (required)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.