public class StatsStub extends com.vmware.vapi.internal.bindings.Stub implements Stats
Stats
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 |
|---|
StatsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
StatsStub(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 |
|---|---|
NodeInterfaceStatisticsProperties |
get(java.lang.String transportNodeId,
java.lang.String interfaceId,
java.lang.String source)
This API returns the counters of the specified interface.
|
void |
get(java.lang.String transportNodeId,
java.lang.String interfaceId,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfaceStatisticsProperties> asyncCallback)
This API returns the counters of the specified interface.
|
void |
get(java.lang.String transportNodeId,
java.lang.String interfaceId,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfaceStatisticsProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API returns the counters of the specified interface.
|
NodeInterfaceStatisticsProperties |
get(java.lang.String transportNodeId,
java.lang.String interfaceId,
java.lang.String source,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This API returns the counters of the specified interface.
|
public StatsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public StatsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public NodeInterfaceStatisticsProperties get(java.lang.String transportNodeId, java.lang.String interfaceId, java.lang.String source)
StatsSynchronous method overload. Result of the invocation will be reported as a method return value.
public NodeInterfaceStatisticsProperties get(java.lang.String transportNodeId, java.lang.String interfaceId, java.lang.String source, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StatsSynchronous 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,
java.lang.String interfaceId,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfaceStatisticsProperties> asyncCallback)
StatsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.NodeInterfaceStatisticsProperties
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,
java.lang.String interfaceId,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfaceStatisticsProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
StatsAsynchronous 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.NodeInterfaceStatisticsProperties
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found