다음을 통해 공유


NetworkInterfaceDnsSettings.DnsServers Property

Definition

Gets or sets list of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.

[Newtonsoft.Json.JsonProperty(PropertyName="dnsServers")]
public System.Collections.Generic.IList<string> DnsServers { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="dnsServers")>]
member this.DnsServers : System.Collections.Generic.IList<string> with get, set
Public Property DnsServers As IList(Of String)

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute

Applies to