|
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
|
Avaliable Methods | |
| public method | get_servers () |
| public method | set_servers () |
| public method | new () |
| public method | get_mode () |
| public method | set_mode () |
Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig class This structure represents the configuration state used to determine DNS servers.
| public method Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig::get_mode | ( | ) |
Gets the value of 'mode' property.
| mode | - The current value of the field. Define how to determine the DNS servers. Leave the servers argument empty if the mode argument is "DHCP". Set the servers argument to a comma-separated list of DNS servers if the mode argument is "static". The DNS server are assigned from the specified list. DNSServerMode# |
Code:
| public method Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig::get_servers | ( | ) |
Gets the value of 'servers' property.
| servers | - The current value of the field. List of the currently used DNS servers. List# |
Code:
| public method Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig::new | ( | ) |
Constructor to initialize the Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig structure
| Blessed | object |
Code:
| public method Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig::set_mode | ( | ) |
Sets the given value for 'mode' property.
| mode | - New value for the field. Define how to determine the DNS servers. Leave the servers argument empty if the mode argument is "DHCP". Set the servers argument to a comma-separated list of DNS servers if the mode argument is "static". The DNS server are assigned from the specified list. |
Code:
| public method Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig::set_servers | ( | ) |
Sets the given value for 'servers' property.
| servers | - New value for the field. List of the currently used DNS servers. |
Code: