public interface Statistics extends com.vmware.vapi.bindings.Service, StatisticsTypes
_VAPI_SERVICE_ID, GET_SOURCE_CACHED, GET_SOURCE_REALTIME, GET_STATS_TYPE_STATS
Modifier and Type | Method and Description |
---|---|
LogicalSwitchStatistics |
get(java.lang.String lswitchId,
java.lang.String source,
java.lang.String statsType,
java.lang.String transportNodeId)
Returns statistics of a specified logical switch.
|
void |
get(java.lang.String lswitchId,
java.lang.String source,
java.lang.String statsType,
java.lang.String transportNodeId,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalSwitchStatistics> asyncCallback)
Returns statistics of a specified logical switch.
|
void |
get(java.lang.String lswitchId,
java.lang.String source,
java.lang.String statsType,
java.lang.String transportNodeId,
com.vmware.vapi.bindings.client.AsyncCallback<LogicalSwitchStatistics> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns statistics of a specified logical switch.
|
LogicalSwitchStatistics |
get(java.lang.String lswitchId,
java.lang.String source,
java.lang.String statsType,
java.lang.String transportNodeId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns statistics of a specified logical switch.
|
LogicalSwitchStatistics get(java.lang.String lswitchId, java.lang.String source, java.lang.String statsType, java.lang.String transportNodeId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
lswitchId
- (required)source
- Data source type. (optional)statsType
- Logical switch statistics type. (optional)transportNodeId
- TransportNode Id (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 FoundLogicalSwitchStatistics get(java.lang.String lswitchId, java.lang.String source, java.lang.String statsType, java.lang.String transportNodeId, 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.
lswitchId
- (required)source
- Data source type. (optional)statsType
- Logical switch statistics type. (optional)transportNodeId
- TransportNode Id (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 lswitchId, java.lang.String source, java.lang.String statsType, java.lang.String transportNodeId, com.vmware.vapi.bindings.client.AsyncCallback<LogicalSwitchStatistics> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.LogicalSwitchStatistics
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
lswitchId
- (required)source
- Data source type. (optional)statsType
- Logical switch statistics type. (optional)transportNodeId
- TransportNode Id (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void get(java.lang.String lswitchId, java.lang.String source, java.lang.String statsType, java.lang.String transportNodeId, com.vmware.vapi.bindings.client.AsyncCallback<LogicalSwitchStatistics> 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.LogicalSwitchStatistics
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
lswitchId
- (required)source
- Data source type. (optional)statsType
- Logical switch statistics type. (optional)transportNodeId
- TransportNode Id (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.