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.rules.StatisticsTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ForwardingRuleStatisticsListResult
list(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String forwardingRuleId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath)
Deprecated.void
list(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String forwardingRuleId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<ForwardingRuleStatisticsListResult> asyncCallback)
Deprecated.void
list(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String forwardingRuleId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<ForwardingRuleStatisticsListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.ForwardingRuleStatisticsListResult
list(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String forwardingRuleId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
-
-
-
Method Detail
-
list
@Deprecated ForwardingRuleStatisticsListResult list(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String forwardingRuleId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath)
Deprecated.Get aggregated statistics of Forwarding Policy Rule. Stats include total number of packets and total number of bytes for the rule. - no enforcement point path specified: Stats will be evaluated on each enforcement point. - {enforcement_point_path}: Stats are evaluated only on the given enforcement pointSynchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
domainId
- Domain id (required)forwardingPolicyId
- Forwarding policy id (required)forwardingRuleId
- Forwarding Rule 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.ForwardingRuleStatisticsListResult
- 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 ForwardingRuleStatisticsListResult list(java.lang.String domainId, java.lang.String forwardingPolicyId, java.lang.String forwardingRuleId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.Get aggregated statistics of Forwarding Policy Rule. Stats include total number of packets and total number of bytes for the rule. - no enforcement point path specified: Stats will be evaluated on each enforcement point. - {enforcement_point_path}: Stats are evaluated only on the given enforcement pointSynchronous 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)forwardingRuleId
- Forwarding Rule 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.ForwardingRuleStatisticsListResult
- 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 forwardingRuleId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<ForwardingRuleStatisticsListResult> asyncCallback)
Deprecated.Get aggregated statistics of Forwarding Policy Rule. Stats include total number of packets and total number of bytes for the rule. - no enforcement point path specified: Stats will be evaluated on each enforcement point. - {enforcement_point_path}: Stats are evaluated only on the given enforcement pointAsynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.ForwardingRuleStatisticsListResultOperation 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)forwardingRuleId
- Forwarding Rule 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 forwardingRuleId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<ForwardingRuleStatisticsListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.Get aggregated statistics of Forwarding Policy Rule. Stats include total number of packets and total number of bytes for the rule. - no enforcement point path specified: Stats will be evaluated on each enforcement point. - {enforcement_point_path}: Stats are evaluated only on the given enforcement pointAsynchronous 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.ForwardingRuleStatisticsListResultOperation 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)forwardingRuleId
- Forwarding Rule 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.
-
-