public class StatsStub extends com.vmware.vapi.internal.bindings.Stub implements Stats
Stats
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, GET_0_SOURCE_CACHED, GET_0_SOURCE_REALTIME, GET_SOURCE_CACHED, GET_SOURCE_REALTIME
Constructor and Description |
---|
StatsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
StatsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
FirewallStatsList |
get(java.lang.String sectionId,
java.lang.String source)
Get aggregated statistics for all rules for a given firewall section.
|
void |
get(java.lang.String sectionId,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallStatsList> asyncCallback)
Get aggregated statistics for all rules for a given firewall section.
|
void |
get(java.lang.String sectionId,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallStatsList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get aggregated statistics for all rules for a given firewall section.
|
FirewallStatsList |
get(java.lang.String sectionId,
java.lang.String source,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get aggregated statistics for all rules for a given firewall section.
|
FirewallStats |
get0(java.lang.String sectionId,
java.lang.String ruleId,
java.lang.String source)
Get aggregated statistics for a rule for given firewall section.
|
void |
get0(java.lang.String sectionId,
java.lang.String ruleId,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallStats> asyncCallback)
Get aggregated statistics for a rule for given firewall section.
|
void |
get0(java.lang.String sectionId,
java.lang.String ruleId,
java.lang.String source,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallStats> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get aggregated statistics for a rule for given firewall section.
|
FirewallStats |
get0(java.lang.String sectionId,
java.lang.String ruleId,
java.lang.String source,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get aggregated statistics for a rule for given firewall section.
|
public StatsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public StatsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public FirewallStatsList get(java.lang.String sectionId, java.lang.String source)
Stats
Synchronous method overload. Result of the invocation will be reported as a method return value.
public FirewallStatsList get(java.lang.String sectionId, java.lang.String source, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Stats
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(java.lang.String sectionId, java.lang.String source, com.vmware.vapi.bindings.client.AsyncCallback<FirewallStatsList> asyncCallback)
Stats
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.FirewallStatsList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(java.lang.String sectionId, java.lang.String source, com.vmware.vapi.bindings.client.AsyncCallback<FirewallStatsList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Stats
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.FirewallStatsList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public FirewallStats get0(java.lang.String sectionId, java.lang.String ruleId, java.lang.String source)
Stats
Synchronous method overload. Result of the invocation will be reported as a method return value.
public FirewallStats get0(java.lang.String sectionId, java.lang.String ruleId, java.lang.String source, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Stats
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get0(java.lang.String sectionId, java.lang.String ruleId, java.lang.String source, com.vmware.vapi.bindings.client.AsyncCallback<FirewallStats> asyncCallback)
Stats
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.FirewallStats
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get0(java.lang.String sectionId, java.lang.String ruleId, java.lang.String source, com.vmware.vapi.bindings.client.AsyncCallback<FirewallStats> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Stats
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.FirewallStats
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found