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.global_infra.domains.security_policies.rules.StatisticsTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuleStatisticsListResult
list(java.lang.String domainId, java.lang.String securityPolicyId, java.lang.String ruleId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath)
Get statistics of a rule.void
list(java.lang.String domainId, java.lang.String securityPolicyId, java.lang.String ruleId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<RuleStatisticsListResult> asyncCallback)
Get statistics of a rule.void
list(java.lang.String domainId, java.lang.String securityPolicyId, java.lang.String ruleId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<RuleStatisticsListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get statistics of a rule.RuleStatisticsListResult
list(java.lang.String domainId, java.lang.String securityPolicyId, java.lang.String ruleId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get statistics of a rule.
-
-
-
Method Detail
-
list
RuleStatisticsListResult list(java.lang.String domainId, java.lang.String securityPolicyId, java.lang.String ruleId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath)
Get statistics of a 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 point.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
domainId
- Domain id (required)securityPolicyId
- Security policy id (required)ruleId
- 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.RuleStatisticsListResult
- 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
RuleStatisticsListResult list(java.lang.String domainId, java.lang.String securityPolicyId, java.lang.String ruleId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get statistics of a 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 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)securityPolicyId
- Security policy id (required)ruleId
- 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.RuleStatisticsListResult
- 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
void list(java.lang.String domainId, java.lang.String securityPolicyId, java.lang.String ruleId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<RuleStatisticsListResult> asyncCallback)
Get statistics of a 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 point.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.RuleStatisticsListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
domainId
- Domain id (required)securityPolicyId
- Security policy id (required)ruleId
- 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
void list(java.lang.String domainId, java.lang.String securityPolicyId, java.lang.String ruleId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<RuleStatisticsListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get statistics of a 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 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.RuleStatisticsListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
domainId
- Domain id (required)securityPolicyId
- Security policy id (required)ruleId
- 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.
-
-