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
 All Classes Files Functions
List of all members
Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig Class Reference
Inheritance diagram for Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig:

Avaliable Methods

public method get_servers ()
 
public method set_servers ()
 
public method new ()
 
public method get_mode ()
 
public method set_mode ()
 

Detailed Description

Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig class This structure represents the configuration state used to determine DNS servers.

Member Function Documentation

public method Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig::get_mode ( )

Gets the value of 'mode' property.

Return values
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:
click to view
public method Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig::get_servers ( )

Gets the value of 'servers' property.

Return values
servers- The current value of the field. List of the currently used DNS servers. List#
Code:
click to view
public method Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig::new ( )

Constructor to initialize the Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig structure

Return values
Blessedobject
Code:
click to view
public method Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig::set_mode ( )

Sets the given value for 'mode' property.

Parameters
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:
click to view
public method Com::Vmware::Appliance::Networking::Dns::Servers::DNSServerConfig::set_servers ( )

Sets the given value for 'servers' property.

Parameters
servers- New value for the field. List of the currently used DNS servers.
Code:
click to view

The documentation for this class was generated from the following file: