public class MonitoringStub extends com.vmware.vapi.internal.bindings.Stub implements Monitoring
Monitoring
API service.
WARNING: Internal API, subject to change in future versions.
MonitoringTypes.FunctionType, MonitoringTypes.IntervalType, MonitoringTypes.MonitoredItem, MonitoringTypes.MonitoredItemData, MonitoringTypes.MonitoredItemDataRequest| Constructor and Description |
|---|
MonitoringStub(ApiProvider apiProvider,
StubConfigurationBase config) |
public MonitoringStub(ApiProvider apiProvider, StubConfigurationBase config)
public List<MonitoringTypes.MonitoredItemData> query(MonitoringTypes.MonitoredItemDataRequest item)
MonitoringSynchronous method overload. Result of the invocation will be reported as a method return value.
query in interface Monitoringitem - MonitoredItemDataRequest Structurepublic List<MonitoringTypes.MonitoredItemData> query(MonitoringTypes.MonitoredItemDataRequest item, InvocationConfig invocationConfig)
MonitoringSynchronous 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 Monitoringitem - MonitoredItemDataRequest StructureinvocationConfig - Configuration for the method invocation.public void query(MonitoringTypes.MonitoredItemDataRequest item, AsyncCallback<List<MonitoringTypes.MonitoredItemData>> asyncCallback)
MonitoringAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
list of MonitoredItemData structure
Operation Errors:
Error - Generic error
query in interface Monitoringitem - MonitoredItemDataRequest StructureasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void query(MonitoringTypes.MonitoredItemDataRequest item, AsyncCallback<List<MonitoringTypes.MonitoredItemData>> asyncCallback, InvocationConfig invocationConfig)
MonitoringAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
list of MonitoredItemData structure
Operation Errors:
Error - Generic error
query in interface Monitoringitem - MonitoredItemDataRequest StructureasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public List<MonitoringTypes.MonitoredItem> list()
MonitoringSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface Monitoringpublic List<MonitoringTypes.MonitoredItem> list(InvocationConfig invocationConfig)
MonitoringSynchronous 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 MonitoringinvocationConfig - Configuration for the method invocation.public void list(AsyncCallback<List<MonitoringTypes.MonitoredItem>> asyncCallback)
MonitoringAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
list of names
Operation Errors:
Error - Generic error
list in interface MonitoringasyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(AsyncCallback<List<MonitoringTypes.MonitoredItem>> asyncCallback, InvocationConfig invocationConfig)
MonitoringAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
list of names
Operation Errors:
Error - Generic error
list in interface MonitoringasyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public MonitoringTypes.MonitoredItem get(String statId)
MonitoringSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface MonitoringstatId - statistic item id
The parameter must be an identifier for the resource type: com.vmware.appliance.monitoring.public MonitoringTypes.MonitoredItem get(String statId, InvocationConfig invocationConfig)
MonitoringSynchronous 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 MonitoringstatId - 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(String statId, AsyncCallback<MonitoringTypes.MonitoredItem> asyncCallback)
MonitoringAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
MonitoredItem structure
Operation Errors:
Error - Generic error
get in interface MonitoringstatId - 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(String statId, AsyncCallback<MonitoringTypes.MonitoredItem> asyncCallback, InvocationConfig invocationConfig)
MonitoringAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
MonitoredItem structure
Operation Errors:
Error - Generic error
get in interface MonitoringstatId - 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.Copyright © 2016. All Rights Reserved.