public interface Monitoring extends Service, MonitoringTypes
Monitoring
interface provides methods Get and list monitoring data for
requested item.MonitoringTypes.FunctionType, MonitoringTypes.IntervalType, MonitoringTypes.MonitoredItem, MonitoringTypes.MonitoredItemData, MonitoringTypes.MonitoredItemDataRequest
_VAPI_SERVICE_ID
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.
|
java.util.List<MonitoringTypes.MonitoredItemData> query(MonitoringTypes.MonitoredItemDataRequest item)
Synchronous method overload. Result of the invocation will be reported as a method return value.
item
- MonitoredItemDataRequest StructureError
- Generic errorjava.util.List<MonitoringTypes.MonitoredItemData> query(MonitoringTypes.MonitoredItemDataRequest item, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
item
- MonitoredItemDataRequest StructureinvocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid query(MonitoringTypes.MonitoredItemDataRequest item, AsyncCallback<java.util.List<MonitoringTypes.MonitoredItemData>> asyncCallback)
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
item
- MonitoredItemDataRequest StructureasyncCallback
- Receives the status (progress, result or error) of the operation invocation.void query(MonitoringTypes.MonitoredItemDataRequest item, AsyncCallback<java.util.List<MonitoringTypes.MonitoredItemData>> asyncCallback, InvocationConfig invocationConfig)
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
item
- MonitoredItemDataRequest StructureasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.java.util.List<MonitoringTypes.MonitoredItem> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error
- Generic errorjava.util.List<MonitoringTypes.MonitoredItem> list(InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid list(AsyncCallback<java.util.List<MonitoringTypes.MonitoredItem>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
list of names
Operation Errors:
Error
- Generic error
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<java.util.List<MonitoringTypes.MonitoredItem>> asyncCallback, InvocationConfig invocationConfig)
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
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.MonitoringTypes.MonitoredItem get(java.lang.String statId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
statId
- statistic item id
The parameter must be an identifier for the resource type: com.vmware.appliance.monitoring
.Error
- Generic errorMonitoringTypes.MonitoredItem get(java.lang.String statId, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
statId
- statistic item id
The parameter must be an identifier for the resource type: com.vmware.appliance.monitoring
.invocationConfig
- Configuration for the method invocation.Error
- Generic errorvoid get(java.lang.String statId, AsyncCallback<MonitoringTypes.MonitoredItem> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
MonitoredItem structure
Operation Errors:
Error
- Generic error
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.void get(java.lang.String statId, AsyncCallback<MonitoringTypes.MonitoredItem> asyncCallback, InvocationConfig invocationConfig)
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
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.