|
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 | InterfaceInfo |
| class | InterfaceStatus |
Avaliable Methods | |
| public method | get () |
| public method | new () |
| public method | list () |
Com::Vmware::Appliance::Networking::Interfaces interface provides methods Provides information about network interface.
| public method Com::Vmware::Appliance::Networking::Interfaces::get | ( | ) |
Get information about a particular network interface.
| interface_name | [REQUIRED] Network interface, for example, "nic0". The value must be an identifier for the resource type getQualifiedName(com.vmware.appliance.networking.interfaces). . The value must be str. |
| Network | interface information. The return type will be Com::Vmware::Appliance::Networking::Interfaces::InterfaceInfo |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Networking::Interfaces::list | ( | ) |
Get list of available network interfaces, including those that are not yet configured.
| List | of InterfaceInfo structures. The return type will be Array of Com::Vmware::Appliance::Networking::Interfaces::InterfaceInfo |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Networking::Interfaces::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: