다음을 통해 공유


IWithDnsConfigBeta.WithDnsConfiguration Method

Definition

Specifies the DNS configuration for the container group.

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

Parameters

dnsServerNames
IList<String>

The names of the DNS servers for the container group.

dnsSearchDomains
String

The DNS search domains for hostname lookup in the container group.

dnsOptions
String

The DNS options for the container group.

Returns

Applies to