|
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 | DNSServerConfig |
| class | DNSServerMode |
| class | Message |
| class | MessageStatus |
| class | TestStatus |
| class | TestStatusInfo |
Avaliable Methods | |
| public method | test () |
| public method | add () |
| public method | get () |
| public method | new () |
| public method | set () |
Com::Vmware::Appliance::Networking::Dns::Servers interface provides methods* DNS server configuration.
| public method Com::Vmware::Appliance::Networking::Dns::Servers::add | ( | ) |
Add a DNS server. This method fails if mode argument is "dhcp"
| server | [REQUIRED] DNS server. . The value must be String. |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Networking::Dns::Servers::get | ( | ) |
Get DNS server configuration.
| DNS | server configuration. The return type will be Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Networking::Dns::Servers::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::Networking::Dns::Servers::set | ( | ) |
Set the DNS server configuration. If you set the mode argument to "DHCP", a DHCP refresh is forced.
| config | [REQUIRED] DNS server configuration. . The value must be Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig. |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code:
| public method Com::Vmware::Appliance::Networking::Dns::Servers::test | ( | ) |
Test if dns servers are reachable.
| servers | [REQUIRED] DNS servers. . The value must be Array of String. |
| DNS | reacable status The return type will be Com::Vmware::Appliance::Networking::Dns::Servers::TestStatusInfo |
| Com::Vmware::Vapi::Std::Errors::Error | Generic error |
Code: