Share via


IVirtualNetworkResourceSettings.DnsServer Property

Definition

Gets or sets DHCPOptions that contains an array of DNS servers available to VMs deployed in the virtual network.

[Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Runtime.Info(Description="Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\n        deployed in the virtual network.", PossibleTypes=new System.Type[] { typeof(System.String) }, ReadOnly=false, Required=false, SerializedName="dnsServers")]
public string[] DnsServer { get; set; }
[<Microsoft.Azure.PowerShell.Cmdlets.ResourceMover.Runtime.Info(Description="Gets or sets DHCPOptions that contains an array of DNS servers available to VMs\r\n        deployed in the virtual network.", PossibleTypes=new System.Type[] { typeof(System.String) }, ReadOnly=false, Required=false, SerializedName="dnsServers")>]
member this.DnsServer : string[] with get, set
Public Property DnsServer As String()

Property Value

String[]
Attributes

Applies to