public class StatisticsStub extends com.vmware.vapi.internal.bindings.Stub implements Statistics
Statistics
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, LIST_SOURCE_CACHED, LIST_SOURCE_REALTIME
Constructor and Description |
---|
StatisticsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
StatisticsStub(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 |
---|---|
LbPoolStatistics |
get(java.lang.String serviceId,
java.lang.String poolId,
java.lang.String source)
Returns the statistics of the given load balancer pool by given load balancer
serives id and load balancer pool id.
|
void |
get(java.lang.String serviceId,
java.lang.String poolId,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<LbPoolStatistics> asyncCallback)
Returns the statistics of the given load balancer pool by given load balancer
serives id and load balancer pool id.
|
void |
get(java.lang.String serviceId,
java.lang.String poolId,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<LbPoolStatistics> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the statistics of the given load balancer pool by given load balancer
serives id and load balancer pool id.
|
LbPoolStatistics |
get(java.lang.String serviceId,
java.lang.String poolId,
java.lang.String source,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the statistics of the given load balancer pool by given load balancer
serives id and load balancer pool id.
|
LbPoolStatisticsListResult |
list(java.lang.String serviceId,
java.lang.String source)
Returns the statistics list of load balancer pools in given load balancer
service.
|
void |
list(java.lang.String serviceId,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<LbPoolStatisticsListResult> asyncCallback)
Returns the statistics list of load balancer pools in given load balancer
service.
|
void |
list(java.lang.String serviceId,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<LbPoolStatisticsListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the statistics list of load balancer pools in given load balancer
service.
|
LbPoolStatisticsListResult |
list(java.lang.String serviceId,
java.lang.String source,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns the statistics list of load balancer pools in given load balancer
service.
|
public StatisticsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public StatisticsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public LbPoolStatistics get(java.lang.String serviceId, java.lang.String poolId, java.lang.String source)
Statistics
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Statistics
serviceId
- (required)poolId
- (required)source
- Data source type. (optional)public LbPoolStatistics get(java.lang.String serviceId, java.lang.String poolId, java.lang.String source, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Statistics
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 Statistics
serviceId
- (required)poolId
- (required)source
- Data source type. (optional)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String serviceId, java.lang.String poolId, java.lang.String source, com.vmware.vapi.bindings.client.AsyncCallback<LbPoolStatistics> asyncCallback)
Statistics
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.LbPoolStatistics
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface Statistics
serviceId
- (required)poolId
- (required)source
- Data source type. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String serviceId, java.lang.String poolId, java.lang.String source, com.vmware.vapi.bindings.client.AsyncCallback<LbPoolStatistics> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Statistics
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.LbPoolStatistics
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface Statistics
serviceId
- (required)poolId
- (required)source
- Data source type. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public LbPoolStatisticsListResult list(java.lang.String serviceId, java.lang.String source)
Statistics
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Statistics
serviceId
- (required)source
- Data source type. (optional)public LbPoolStatisticsListResult list(java.lang.String serviceId, java.lang.String source, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Statistics
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 Statistics
serviceId
- (required)source
- Data source type. (optional)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String serviceId, java.lang.String source, com.vmware.vapi.bindings.client.AsyncCallback<LbPoolStatisticsListResult> asyncCallback)
Statistics
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.LbPoolStatisticsListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Statistics
serviceId
- (required)source
- Data source type. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String serviceId, java.lang.String source, com.vmware.vapi.bindings.client.AsyncCallback<LbPoolStatisticsListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Statistics
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.LbPoolStatisticsListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface Statistics
serviceId
- (required)source
- Data source type. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.