public interface Stats extends com.vmware.vapi.bindings.Service, StatsTypes
_VAPI_SERVICE_ID, GET_SOURCE_CACHED, GET_SOURCE_REALTIME
Modifier and Type | Method and Description |
---|---|
NodeInterfaceStatisticsProperties |
get(java.lang.String nodeId,
java.lang.String interfaceId,
java.lang.String source)
On the specified interface, returns the number of received (rx), transmitted
(tx), and dropped packets; the number of bytes and errors received and
transmitted on the interface; and the number of detected collisions.
|
void |
get(java.lang.String nodeId,
java.lang.String interfaceId,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfaceStatisticsProperties> asyncCallback)
On the specified interface, returns the number of received (rx), transmitted
(tx), and dropped packets; the number of bytes and errors received and
transmitted on the interface; and the number of detected collisions.
|
void |
get(java.lang.String nodeId,
java.lang.String interfaceId,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfaceStatisticsProperties> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
On the specified interface, returns the number of received (rx), transmitted
(tx), and dropped packets; the number of bytes and errors received and
transmitted on the interface; and the number of detected collisions.
|
NodeInterfaceStatisticsProperties |
get(java.lang.String nodeId,
java.lang.String interfaceId,
java.lang.String source,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
On the specified interface, returns the number of received (rx), transmitted
(tx), and dropped packets; the number of bytes and errors received and
transmitted on the interface; and the number of detected collisions.
|
NodeInterfaceStatisticsProperties get(java.lang.String nodeId, java.lang.String interfaceId, java.lang.String source)
Synchronous method overload. Result of the invocation will be reported as a method return value.
nodeId
- (required)interfaceId
- (required)source
- Data source type. (optional)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundNodeInterfaceStatisticsProperties get(java.lang.String nodeId, java.lang.String interfaceId, java.lang.String source, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
nodeId
- (required)interfaceId
- (required)source
- Data source type. (optional)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid get(java.lang.String nodeId, java.lang.String interfaceId, java.lang.String source, com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfaceStatisticsProperties> asyncCallback)
Asynchronous 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
nodeId
- (required)interfaceId
- (required)source
- Data source type. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String nodeId, java.lang.String interfaceId, java.lang.String source, com.vmware.vapi.bindings.client.AsyncCallback<NodeInterfaceStatisticsProperties> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.NodeInterfaceStatisticsProperties
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
nodeId
- (required)interfaceId
- (required)source
- Data source type. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.