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.tier_1s.nat.nat_rules.StatisticsTypes
_VAPI_SERVICE_ID, LIST_ACTION_AGGREGATE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyNatRuleStatisticsListResult
list(java.lang.String tier1Id, java.lang.String natId, java.lang.String natRuleId, java.lang.String action, java.lang.String containerClusterPath, java.lang.String enforcementPointPath)
Get NAT Rule Statistics from Tier-1 denoted by Tier-1 ID, under NAT section denoted by. void
list(java.lang.String tier1Id, java.lang.String natId, java.lang.String natRuleId, java.lang.String action, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<PolicyNatRuleStatisticsListResult> asyncCallback)
Get NAT Rule Statistics from Tier-1 denoted by Tier-1 ID, under NAT section denoted by. void
list(java.lang.String tier1Id, java.lang.String natId, java.lang.String natRuleId, java.lang.String action, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<PolicyNatRuleStatisticsListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get NAT Rule Statistics from Tier-1 denoted by Tier-1 ID, under NAT section denoted by. PolicyNatRuleStatisticsListResult
list(java.lang.String tier1Id, java.lang.String natId, java.lang.String natRuleId, java.lang.String action, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get NAT Rule Statistics from Tier-1 denoted by Tier-1 ID, under NAT section denoted by.
-
-
-
Method Detail
-
list
PolicyNatRuleStatisticsListResult list(java.lang.String tier1Id, java.lang.String natId, java.lang.String natRuleId, java.lang.String action, java.lang.String containerClusterPath, java.lang.String enforcementPointPath)
Get NAT Rule Statistics from Tier-1 denoted by Tier-1 ID, under NAT section denoted by. Under tier-1 there will be 3 different NATs(sections). (INTERNAL, USER and DEFAULT) For more details related to NAT section please refer to PolicyNAT schema. Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
tier1Id
- Tier-1 ID (required)natId
- NAT id (required)natRuleId
- Rule ID (required)action
- Action on statistics (optional)containerClusterPath
- String Path of the Container Cluster entity (optional)enforcementPointPath
- String Path of the enforcement point (optional)- Returns:
- com.vmware.nsx_policy.model.PolicyNatRuleStatisticsListResult
- 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
PolicyNatRuleStatisticsListResult list(java.lang.String tier1Id, java.lang.String natId, java.lang.String natRuleId, java.lang.String action, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get NAT Rule Statistics from Tier-1 denoted by Tier-1 ID, under NAT section denoted by. Under tier-1 there will be 3 different NATs(sections). (INTERNAL, USER and DEFAULT) For more details related to NAT section please refer to PolicyNAT schema. 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:
tier1Id
- Tier-1 ID (required)natId
- NAT id (required)natRuleId
- Rule ID (required)action
- Action on statistics (optional)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.PolicyNatRuleStatisticsListResult
- 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 tier1Id, java.lang.String natId, java.lang.String natRuleId, java.lang.String action, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<PolicyNatRuleStatisticsListResult> asyncCallback)
Get NAT Rule Statistics from Tier-1 denoted by Tier-1 ID, under NAT section denoted by. Under tier-1 there will be 3 different NATs(sections). (INTERNAL, USER and DEFAULT) For more details related to NAT section please refer to PolicyNAT schema. Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.PolicyNatRuleStatisticsListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
tier1Id
- Tier-1 ID (required)natId
- NAT id (required)natRuleId
- Rule ID (required)action
- Action on statistics (optional)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 tier1Id, java.lang.String natId, java.lang.String natRuleId, java.lang.String action, java.lang.String containerClusterPath, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<PolicyNatRuleStatisticsListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get NAT Rule Statistics from Tier-1 denoted by Tier-1 ID, under NAT section denoted by. Under tier-1 there will be 3 different NATs(sections). (INTERNAL, USER and DEFAULT) For more details related to NAT section please refer to PolicyNAT schema. 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.PolicyNatRuleStatisticsListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
tier1Id
- Tier-1 ID (required)natId
- NAT id (required)natRuleId
- Rule ID (required)action
- Action on statistics (optional)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.
-
-