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

The GlobalDNSSettings class specifies a collection of global IP settings in the guest operating system. More...

List of all members.

Classes

class  Builder
 Builder class for GlobalDNSSettings. More...

Public Member Functions

 GlobalDNSSettings ()
 Generate all-fields constructor only for errors and standard structures that have relevant fields.
global::System.Collections.Generic.List
< string > 
GetDnsSuffixList ()
 List of name resolution suffixes for the virtual network adapter.
void SetDnsSuffixList (global::System.Collections.Generic.List< string > dnsSuffixList)
 List of name resolution suffixes for the virtual network adapter.
global::System.Collections.Generic.List
< string > 
GetDnsServers ()
 List of DNS servers, for a virtual network adapter with a static IP address.
void SetDnsServers (global::System.Collections.Generic.List< string > dnsServers)
 List of DNS servers, for a virtual network adapter with a static IP address.
vmware.vapi.bindings.type.StructType _GetType ()
vmware.vapi.data.StructValue _GetDataValue ()
void _Validate ()
bool _HasTypeNameOf< T > ()
_ConvertTo< T > ()
override bool Equals (object obj)
override int GetHashCode ()
override string ToString ()

Detailed Description

The GlobalDNSSettings class specifies a collection of global IP settings in the guest operating system.

In Linux, DNS server settings are global. The settings can either be statically set or supplied by a DHCP server. This class was added in vSphere API 7.0.0.


Constructor & Destructor Documentation

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

Generate all-fields constructor only for errors and standard structures that have relevant fields.

Creates a default new instance.


Member Function Documentation

T vmware::vcenter::guest::GlobalDNSSettings::_ConvertTo< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
vmware.vapi.data.StructValue vmware::vcenter::guest::GlobalDNSSettings::_GetDataValue ( ) [inline]
vmware.vapi.bindings.type.StructType vmware::vcenter::guest::GlobalDNSSettings::_GetType ( ) [inline]
bool vmware::vcenter::guest::GlobalDNSSettings::_HasTypeNameOf< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
void vmware::vcenter::guest::GlobalDNSSettings::_Validate ( ) [inline]
override bool vmware::vcenter::guest::GlobalDNSSettings::Equals ( object  obj) [inline]
global::System.Collections.Generic.List<string> vmware::vcenter::guest::GlobalDNSSettings::GetDnsServers ( ) [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.

global::System.Collections.Generic.List<string> vmware::vcenter::guest::GlobalDNSSettings::GetDnsSuffixList ( ) [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.

override int vmware::vcenter::guest::GlobalDNSSettings::GetHashCode ( ) [inline]
void vmware::vcenter::guest::GlobalDNSSettings::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.

void vmware::vcenter::guest::GlobalDNSSettings::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.

override string vmware::vcenter::guest::GlobalDNSSettings::ToString ( ) [inline]

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