IWithDnsServer.WithDnsServer(String) Method

Definition

Specifies the IP address of the DNS server to associate with the virtual network. Note this method's effect is additive, i.e. each time it is used, a new DNS server is added to the network.

public Microsoft.Azure.Management.Network.Fluent.Network.Update.IUpdate WithDnsServer (string ipAddress);
abstract member WithDnsServer : string -> Microsoft.Azure.Management.Network.Fluent.Network.Update.IUpdate
Public Function WithDnsServer (ipAddress As String) As IUpdate

Parameters

ipAddress
String

The IP address of the DNS server.

Returns

Applies to