VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::guest::GlobalDNSSettings::Builder Class Reference

Builder class for GlobalDNSSettings. More...

List of all members.

Public Member Functions

 Builder ()
 Constructor with parameters for the required properties of GlobalDNSSettings.
Builder SetDnsSuffixList (global::System.Collections.Generic.List< string > dnsSuffixList)
 List of name resolution suffixes for the virtual network adapter.
Builder SetDnsServers (global::System.Collections.Generic.List< string > dnsServers)
 List of DNS servers, for a virtual network adapter with a static IP address.
GlobalDNSSettings Build ()

Detailed Description


Constructor & Destructor Documentation

vmware::vcenter::guest::GlobalDNSSettings::Builder::Builder ( ) [inline]

Constructor with parameters for the required properties of GlobalDNSSettings.


Member Function Documentation

GlobalDNSSettings vmware::vcenter::guest::GlobalDNSSettings::Builder::Build ( ) [inline]
Builder vmware::vcenter::guest::GlobalDNSSettings::Builder::SetDnsServers ( global::System.Collections.Generic.List< string >  dnsServers) [inline]

List of DNS servers, for a virtual network adapter with a static IP address.

If this list is empty, then the guest operating system is expected to use a DHCP server to get its DNS server settings. These settings configure the virtual machine to use the specified DNS servers. These DNS server settings are listed in the order of preference. This attribute was added in vSphere API 7.0.0.

Builder vmware::vcenter::guest::GlobalDNSSettings::Builder::SetDnsSuffixList ( global::System.Collections.Generic.List< string >  dnsSuffixList) [inline]

List of name resolution suffixes for the virtual network adapter.

This list applies to both Windows and Linux guest customization. For Linux, this setting is global, whereas in Windows, this setting is listed on a per-adapter basis. This attribute was added in vSphere API 7.0.0.


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