public class MonitoringStub extends com.vmware.vapi.internal.bindings.Stub implements Monitoring
Monitoring
API service.
WARNING: Internal class, subject to change in future versions.
MonitoringTypes.FunctionType, MonitoringTypes.IntervalType, MonitoringTypes.MonitoredItem, MonitoringTypes.MonitoredItemData, MonitoringTypes.MonitoredItemDataRequest
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
MonitoringStub(ApiProvider apiProvider,
StubConfigurationBase config) |
MonitoringStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
MonitoringTypes.MonitoredItem |
get(java.lang.String statId)
Get monitored item info
|
void |
get(java.lang.String statId,
AsyncCallback<MonitoringTypes.MonitoredItem> asyncCallback)
Get monitored item info
|
void |
get(java.lang.String statId,
AsyncCallback<MonitoringTypes.MonitoredItem> asyncCallback,
InvocationConfig invocationConfig)
Get monitored item info
|
MonitoringTypes.MonitoredItem |
get(java.lang.String statId,
InvocationConfig invocationConfig)
Get monitored item info
|
java.util.List<MonitoringTypes.MonitoredItem> |
list()
Get monitored items list
|
void |
list(AsyncCallback<java.util.List<MonitoringTypes.MonitoredItem>> asyncCallback)
Get monitored items list
|
void |
list(AsyncCallback<java.util.List<MonitoringTypes.MonitoredItem>> asyncCallback,
InvocationConfig invocationConfig)
Get monitored items list
|
java.util.List<MonitoringTypes.MonitoredItem> |
list(InvocationConfig invocationConfig)
Get monitored items list
|
java.util.List<MonitoringTypes.MonitoredItemData> |
query(MonitoringTypes.MonitoredItemDataRequest item)
Get monitoring data.
|
void |
query(MonitoringTypes.MonitoredItemDataRequest item,
AsyncCallback<java.util.List<MonitoringTypes.MonitoredItemData>> asyncCallback)
Get monitoring data.
|
void |
query(MonitoringTypes.MonitoredItemDataRequest item,
AsyncCallback<java.util.List<MonitoringTypes.MonitoredItemData>> asyncCallback,
InvocationConfig invocationConfig)
Get monitoring data.
|
java.util.List<MonitoringTypes.MonitoredItemData> |
query(MonitoringTypes.MonitoredItemDataRequest item,
InvocationConfig invocationConfig)
Get monitoring data.
|
public MonitoringStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public MonitoringStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<MonitoringTypes.MonitoredItemData> query(MonitoringTypes.MonitoredItemDataRequest item)
Monitoring
Synchronous method overload. Result of the invocation will be reported as a method return value.
query
in interface Monitoring
item
- MonitoredItemDataRequest Structurepublic java.util.List<MonitoringTypes.MonitoredItemData> query(MonitoringTypes.MonitoredItemDataRequest item, InvocationConfig invocationConfig)
Monitoring
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
query
in interface Monitoring
item
- MonitoredItemDataRequest StructureinvocationConfig
- Configuration for the method invocation.public void query(MonitoringTypes.MonitoredItemDataRequest item, AsyncCallback<java.util.List<MonitoringTypes.MonitoredItemData>> asyncCallback)
Monitoring
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
list of MonitoredItemData structure
Operation Errors:
Error
- Generic error
query
in interface Monitoring
item
- MonitoredItemDataRequest StructureasyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void query(MonitoringTypes.MonitoredItemDataRequest item, AsyncCallback<java.util.List<MonitoringTypes.MonitoredItemData>> asyncCallback, InvocationConfig invocationConfig)
Monitoring
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:
list of MonitoredItemData structure
Operation Errors:
Error
- Generic error
query
in interface Monitoring
item
- MonitoredItemDataRequest StructureasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.util.List<MonitoringTypes.MonitoredItem> list()
Monitoring
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface Monitoring
public java.util.List<MonitoringTypes.MonitoredItem> list(InvocationConfig invocationConfig)
Monitoring
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface Monitoring
invocationConfig
- Configuration for the method invocation.public void list(AsyncCallback<java.util.List<MonitoringTypes.MonitoredItem>> asyncCallback)
Monitoring
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
list of names
Operation Errors:
Error
- Generic error
list
in interface Monitoring
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(AsyncCallback<java.util.List<MonitoringTypes.MonitoredItem>> asyncCallback, InvocationConfig invocationConfig)
Monitoring
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:
list of names
Operation Errors:
Error
- Generic error
list
in interface Monitoring
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public MonitoringTypes.MonitoredItem get(java.lang.String statId)
Monitoring
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Monitoring
statId
- statistic item id
The parameter must be an identifier for the resource type: com.vmware.appliance.monitoring
.public MonitoringTypes.MonitoredItem get(java.lang.String statId, InvocationConfig invocationConfig)
Monitoring
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface Monitoring
statId
- statistic item id
The parameter must be an identifier for the resource type: com.vmware.appliance.monitoring
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String statId, AsyncCallback<MonitoringTypes.MonitoredItem> asyncCallback)
Monitoring
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
MonitoredItem structure
Operation Errors:
Error
- Generic error
get
in interface Monitoring
statId
- statistic item id
The parameter must be an identifier for the resource type: com.vmware.appliance.monitoring
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String statId, AsyncCallback<MonitoringTypes.MonitoredItem> asyncCallback, InvocationConfig invocationConfig)
Monitoring
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:
MonitoredItem structure
Operation Errors:
Error
- Generic error
get
in interface Monitoring
statId
- statistic item id
The parameter must be an identifier for the resource type: com.vmware.appliance.monitoring
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.