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)
Monitoring
Synchronous method overload. Result of the invocation will be reported as a method return value.
query
in interface Monitoring
item
- MonitoredItemDataRequest Structurepublic 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<List<MonitoringTypes.MonitoredItemData>> asyncCallback)
Monitoring
Asynchronous 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 Monitoring
item
- 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)
Monitoring
Asynchronous 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 Monitoring
item
- MonitoredItemDataRequest StructureasyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public 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 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<List<MonitoringTypes.MonitoredItem>> asyncCallback)
Monitoring
Asynchronous 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 Monitoring
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(AsyncCallback<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.
Operation 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(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(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(String statId, AsyncCallback<MonitoringTypes.MonitoredItem> asyncCallback)
Monitoring
Asynchronous 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 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(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.
Operation 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.Copyright © 2016. All Rights Reserved.