|
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 | IPv4Config |
| class | IPv4ConfigReadOnly |
| class | IPv4Mode |
Avaliable Methods | |
| public method | get () |
| public method | new () |
| public method | list () |
| public method | set () |
| public method | renew () |
Com::Vmware::Appliance::Techpreview::Networking::Ipv4 interface provides methods* Performs IPV4 network configuration for interfaces.
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::get | ( | ) |
Get IPv4 network configuration for interfaces.
| interfaces | [REQUIRED] Network interfaces to query, for example, "nic0". . The value must be Array of String. |
| IPv4 | configuration for each queried interface. The return type will be Array of Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::list | ( | ) |
Get IPv4 network configuration for all configured interfaces.
| IPv4 | configuration for each interface. The return type will be Array of Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4ConfigReadOnly |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::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::Techpreview::Networking::Ipv4::renew | ( | ) |
Renew IPv4 network configuration on interfaces. If the interface is configured to use DHCP for IP address assignment, the lease of the interface is renewed.
| interfaces | [REQUIRED] Interfaces to renew. . The value must be Array of String. |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Techpreview::Networking::Ipv4::set | ( | ) |
Set IPv4 network configuration.
| config | [REQUIRED] List of IPv4 configurations. . The value must be Array of Com::Vmware::Appliance::Techpreview::Networking::Ipv4::IPv4Config. |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code: