public class MetricsStub extends com.vmware.vapi.internal.bindings.Stub implements Metrics
Metrics
API service.
WARNING: Internal class, subject to change in future versions.
MetricsTypes.SummaryapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID, RESOURCE_TYPE| Constructor and Description |
|---|
MetricsStub(ApiProvider apiProvider,
StubConfigurationBase config) |
MetricsStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<MetricsTypes.Summary> |
list()
Returns list of available Metrics as supplied by the discovered providers.
|
void |
list(AsyncCallback<java.util.List<MetricsTypes.Summary>> asyncCallback)
Returns list of available Metrics as supplied by the discovered providers.
|
void |
list(AsyncCallback<java.util.List<MetricsTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns list of available Metrics as supplied by the discovered providers.
|
java.util.List<MetricsTypes.Summary> |
list(InvocationConfig invocationConfig)
Returns list of available Metrics as supplied by the discovered providers.
|
public MetricsStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public MetricsStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<MetricsTypes.Summary> list()
MetricsSynchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<MetricsTypes.Summary> list(InvocationConfig invocationConfig)
MetricsSynchronous 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 list(AsyncCallback<java.util.List<MetricsTypes.Summary>> asyncCallback)
MetricsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
List of Metrics.
Operation Errors:
Error - if the system reports an error while responding to the request.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have sufficient privileges.
public void list(AsyncCallback<java.util.List<MetricsTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
MetricsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
List of Metrics.
Operation Errors:
Error - if the system reports an error while responding to the request.
Unauthenticated - if the user can not be authenticated.
Unauthorized - if the user does not have sufficient privileges.