|
VMware vSphere Automation SDK Perl
The VMware vSphere Automation SDK for Perl supports the client-side vSphere Automation API for access to vSphere services and capabilities
|
Classes | |
| class | FunctionType |
| class | IntervalType |
| class | MonitoredItem |
| class | MonitoredItemData |
| class | MonitoredItemDataRequest |
Avaliable Methods | |
| public method | query () |
| public method | get () |
| public method | new () |
| public method | list () |
Com::Vmware::Appliance::Monitoring interface provides methods Get and list monitoring data for requested item.
| public method Com::Vmware::Appliance::Monitoring::get | ( | ) |
Get monitored item info
| stat_id | [REQUIRED] statistic item id The value must be an identifier for the resource type getQualifiedName(com.vmware.appliance.monitoring). . The value must be str. |
| MonitoredItem | structure The return type will be Com::Vmware::Appliance::Monitoring::MonitoredItem |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Monitoring::list | ( | ) |
Get monitored items list
| list | of names The return type will be Array of Com::Vmware::Appliance::Monitoring::MonitoredItem |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Monitoring::new | ( | ) |
Constructor to initialize the object
| api_provider | - protocol connection to use with stubs created by this factory |
| StubConfig | - Stub's additional configuration |
| Blessed | object |
Code:
| public method Com::Vmware::Appliance::Monitoring::query | ( | ) |
Get monitoring data.
| item | [REQUIRED] MonitoredItemDataRequest Structure . The value must be Com::Vmware::Appliance::Monitoring::MonitoredItemDataRequest. |
| list | of MonitoredItemData structure The return type will be Array of Com::Vmware::Appliance::Monitoring::MonitoredItemData |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code: