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
System.Collections.Generic.IList<System.String>

The names of the DNS servers for the container group.

dnsSearchDomains
System.String

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

dnsOptions
System.String

The DNS options for the container group.

Returns

IWithCreate

Applies to