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.dns_forwarder.StatisticsTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AggregateDNSForwarderStatistics
get(java.lang.String tier1Id, java.lang.String enforcementPointPath)
Get statistics of tier-1 DNS forwarder.void
get(java.lang.String tier1Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<AggregateDNSForwarderStatistics> asyncCallback)
Get statistics of tier-1 DNS forwarder.void
get(java.lang.String tier1Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<AggregateDNSForwarderStatistics> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get statistics of tier-1 DNS forwarder.AggregateDNSForwarderStatistics
get(java.lang.String tier1Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get statistics of tier-1 DNS forwarder.
-
-
-
Method Detail
-
get
AggregateDNSForwarderStatistics get(java.lang.String tier1Id, java.lang.String enforcementPointPath)
Get statistics of tier-1 DNS forwarder. - no enforcement point path specified: Statistics will be evaluated on each enforcement point. - {enforcement_point_path}: Statistics are evaluated only on the given enforcement point.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
tier1Id
- Tier-1 id (required)enforcementPointPath
- String Path of the enforcement point (optional)- Returns:
- com.vmware.nsx_policy.model.AggregateDNSForwarderStatistics
- 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
-
get
AggregateDNSForwarderStatistics get(java.lang.String tier1Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get statistics of tier-1 DNS forwarder. - no enforcement point path specified: Statistics will be evaluated on each enforcement point. - {enforcement_point_path}: Statistics 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:
tier1Id
- Tier-1 id (required)enforcementPointPath
- String Path of the enforcement point (optional)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.AggregateDNSForwarderStatistics
- 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
-
get
void get(java.lang.String tier1Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<AggregateDNSForwarderStatistics> asyncCallback)
Get statistics of tier-1 DNS forwarder. - no enforcement point path specified: Statistics will be evaluated on each enforcement point. - {enforcement_point_path}: Statistics 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.AggregateDNSForwarderStatisticsOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
tier1Id
- Tier-1 id (required)enforcementPointPath
- String Path of the enforcement point (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
void get(java.lang.String tier1Id, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<AggregateDNSForwarderStatistics> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get statistics of tier-1 DNS forwarder. - no enforcement point path specified: Statistics will be evaluated on each enforcement point. - {enforcement_point_path}: Statistics 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.AggregateDNSForwarderStatisticsOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
tier1Id
- Tier-1 id (required)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.
-
-