IWithCreate.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.Definition.IWithCreate WithDnsServer (string ipAddress);
abstract member WithDnsServer : string -> Microsoft.Azure.Management.Network.Fluent.NetworkInterface.Definition.IWithCreate
Public Function WithDnsServer (ipAddress As String) As IWithCreate

Parameters

ipAddress
System.String

The IP address of the DNS server.

Returns

IWithCreate

Applies to