Interface Statistics
-
- All Superinterfaces:
com.vmware.vapi.bindings.Service
,StatisticsTypes
- All Known Implementing Classes:
StatisticsStub
public interface Statistics extends com.vmware.vapi.bindings.Service, StatisticsTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.domains.forwarding_policies.StatisticsTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ForwardingPolicyStatisticsListResult
list(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath)
Deprecated.void
list(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<ForwardingPolicyStatisticsListResult> asyncCallback)
Deprecated.void
list(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<ForwardingPolicyStatisticsListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.ForwardingPolicyStatisticsListResult
list(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
-
-
-
Method Detail
-
list
@Deprecated ForwardingPolicyStatisticsListResult list(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath)
Deprecated.Get aggregated stattistics of Forwarding Policy. Stats include total number of packets and total number of bytes for all Forwarding rules in a given Forwarding Policy. - no enforcement point path specified: Stats will be evaluated on each enforcement point. - {enforcement_point_path}: Stats are evaluated only on the given enforcement point.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
domainId
- Domain id (required)forwardingPolicyId
- Forwarding policy id (required)containerClusterPath
- String Path of the Container Cluster entity (optional)enforcementPointPath
- String Path of the enforcement point (optional)- Returns:
- com.vmware.nsx_policy.model.ForwardingPolicyStatisticsListResult
- Throws:
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 Found
-
list
@Deprecated ForwardingPolicyStatisticsListResult list(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.Get aggregated stattistics of Forwarding Policy. Stats include total number of packets and total number of bytes for all Forwarding rules in a given Forwarding Policy. - no enforcement point path specified: Stats will be evaluated on each enforcement point. - {enforcement_point_path}: Stats are evaluated only on the given enforcement point.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
domainId
- Domain id (required)forwardingPolicyId
- Forwarding policy id (required)containerClusterPath
- String Path of the Container Cluster entity (optional)enforcementPointPath
- String Path of the enforcement point (optional)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.ForwardingPolicyStatisticsListResult
- Throws:
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 Found
-
list
@Deprecated void list(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<ForwardingPolicyStatisticsListResult> asyncCallback)
Deprecated.Get aggregated stattistics of Forwarding Policy. Stats include total number of packets and total number of bytes for all Forwarding rules in a given Forwarding Policy. - no enforcement point path specified: Stats will be evaluated on each enforcement point. - {enforcement_point_path}: Stats are evaluated only on the given enforcement point.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.ForwardingPolicyStatisticsListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
domainId
- Domain id (required)forwardingPolicyId
- Forwarding policy id (required)containerClusterPath
- String Path of the Container Cluster entity (optional)enforcementPointPath
- String Path of the enforcement point (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
list
@Deprecated void list(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<ForwardingPolicyStatisticsListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.Get aggregated stattistics of Forwarding Policy. Stats include total number of packets and total number of bytes for all Forwarding rules in a given Forwarding Policy. - no enforcement point path specified: Stats will be evaluated on each enforcement point. - {enforcement_point_path}: Stats are evaluated only on the given enforcement point.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.ForwardingPolicyStatisticsListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
domainId
- Domain id (required)forwardingPolicyId
- Forwarding policy id (required)containerClusterPath
- String Path of the Container Cluster entity (optional)enforcementPointPath
- String Path of the enforcement point (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-