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.orgs.projects.vpcs.gateway_policies.StatisticsTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecurityPolicyStatisticsListResult
list(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String gatewayPolicyId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath)
Get statistics of a gateway policy.void
list(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String gatewayPolicyId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<SecurityPolicyStatisticsListResult> asyncCallback)
Get statistics of a gateway policy.void
list(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String gatewayPolicyId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<SecurityPolicyStatisticsListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get statistics of a gateway policy.SecurityPolicyStatisticsListResult
list(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String gatewayPolicyId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get statistics of a gateway policy.
-
-
-
Method Detail
-
list
SecurityPolicyStatisticsListResult list(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String gatewayPolicyId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath)
Get statistics of a gateway 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:
orgId
- Org id (required)projectId
- Project id (required)vpcId
- VPC id (required)gatewayPolicyId
- Gateway 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.SecurityPolicyStatisticsListResult
- 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
SecurityPolicyStatisticsListResult list(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String gatewayPolicyId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get statistics of a gateway 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:
orgId
- Org id (required)projectId
- Project id (required)vpcId
- VPC id (required)gatewayPolicyId
- Gateway 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.SecurityPolicyStatisticsListResult
- 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 orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String gatewayPolicyId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<SecurityPolicyStatisticsListResult> asyncCallback)
Get statistics of a gateway 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.SecurityPolicyStatisticsListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
orgId
- Org id (required)projectId
- Project id (required)vpcId
- VPC id (required)gatewayPolicyId
- Gateway 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
void list(java.lang.String orgId, java.lang.String projectId, java.lang.String vpcId, java.lang.String gatewayPolicyId, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<SecurityPolicyStatisticsListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get statistics of a gateway 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.SecurityPolicyStatisticsListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
orgId
- Org id (required)projectId
- Project id (required)vpcId
- VPC id (required)gatewayPolicyId
- Gateway 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.
-
-