|
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 | Info |
Avaliable Methods | |
| public method | new () |
| public method | find () |
The Com::Vmware::Vcenter::Inventory::Network interface provides methods to retrieve information about vCenter Server networks.
| public method Com::Vmware::Vcenter::Inventory::Network::find | ( | ) |
Returns network information for the specified vCenter Server networks. The key in the result* map is the network identifier and the value in the map is the network information. Note: Privileges required for this operation are System.Read.
| networks | [REQUIRED] Identifiers of the vCenter Server networks for which information will be returned. The value must be an identifier for the resource type getQualifiedName(Network). . The value must be Array of str. |
| Network | information for the specified vCenter Server networks. The key in the result* map is the network identifier and the value in the map is the network information. The value will be an identifier for the resource type getQualifiedName(Network). The return type will be Dictionary of str and Com::Vmware::Vcenter::Inventory::Network::Info or None |
| Com::Vmware::Vapi::Std::Errors::NotFound | if no datastore can be found for one or more of the vCenter Server network identifiers in networks |
| Com::Vmware::Vapi::Std::Errors::Unauthorized | if you do not have all of the privileges described as follows:
|
Code:
| public method Com::Vmware::Vcenter::Inventory::Network::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: