共用方式為


IWithDnsConfigBeta.WithDnsServerNames(IList<String>) Method

Definition

Specifies the DNS servers for the container group.

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithCreate WithDnsServerNames (System.Collections.Generic.IList<string> dnsServerNames);
abstract member WithDnsServerNames : System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithCreate
Public Function WithDnsServerNames (dnsServerNames As IList(Of String)) As IWithCreate

Parameters

dnsServerNames
IList<String>

The names of the DNS servers.

Returns

Applies to