IWithDnsServer.WithDnsServer(String) Method

Definition

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

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

Parameters

ipAddress
String

The IP address of the DNS server.

Returns

Applies to