Partager via


IWithDnsServer.WithDnsServer(String) Méthode

Définition

Spécifie l’adresse IP du serveur DNS personnalisé à associer à l’interface réseau. Notez que l’effet de cette méthode est additif, c’est-à-dire que chaque fois qu’elle est utilisée, le nouveau serveur dns est ajouté à l’interface réseau.

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

Paramètres

ipAddress
String

Adresse IP du serveur DNS.

Retours

S’applique à