Class: Com::Vmware::Appliance::Monitoring
- Inherits:
-
VAPI::Bindings::VapiService
- Object
- VAPI::Bindings::VapiService
- Com::Vmware::Appliance::Monitoring
- Defined in:
- /build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance.rb
Overview
``Com::Vmware::Appliance::Monitoring`` class provides methods Get and list monitoring data for requested item.
Defined Under Namespace
Classes: FunctionType, IntervalType, MonitoredItem, MonitoredItemData, MonitoredItemDataRequest
Instance Method Summary (collapse)
-
- (Com::Vmware::Appliance::Monitoring::MonitoredItem) get(stat_id)
Get monitored item info.
-
- (Monitoring) initialize(config)
constructor
Constructs a new instance.
-
- (Array<Com::Vmware::Appliance::Monitoring::MonitoredItem>) list
Get monitored items list.
-
- (Array<Com::Vmware::Appliance::Monitoring::MonitoredItemData>) query(item)
Get monitoring data.
Constructor Details
- (Monitoring) initialize(config)
Constructs a new instance.
73 74 75 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance.rb', line 73 def initialize(config) super(config, @@service_info) end |
Instance Method Details
- (Com::Vmware::Appliance::Monitoring::MonitoredItem) get(stat_id)
Get monitored item info
112 113 114 115 116 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance.rb', line 112 def get(stat_id) invoke_with_info(@@get_info, { 'stat_id' => stat_id, }) end |
- (Array<Com::Vmware::Appliance::Monitoring::MonitoredItem>) list
Get monitored items list
99 100 101 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance.rb', line 99 def list() invoke_with_info(@@list_info) end |
- (Array<Com::Vmware::Appliance::Monitoring::MonitoredItemData>) query(item)
Get monitoring data.
86 87 88 89 90 |
# File '/build/mts/release/bora-4571906/build/sdk/aggregated-bindings/ruby/com/vmware/appliance.rb', line 86 def query(item) invoke_with_info(@@query_info, { 'item' => item, }) end |