ContainerGroup.DefinitionStages.WithDnsConfig Interface

public static interface ContainerGroup.DefinitionStages.WithDnsConfig

The stage of the container group definition allowing to specify the DNS configuration of the container group.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withDnsConfiguration(List<String> dnsServerNames, String dnsSearchDomains, String dnsOptions)

Specifies the DNS configuration for the container group.

abstract WithCreate withDnsServerNames(List<String> dnsServerNames)

Specifies the DNS servers for the container group.

Method Details

withDnsConfiguration

public abstract ContainerGroup.DefinitionStages.WithCreate withDnsConfiguration(List<String> dnsServerNames, String dnsSearchDomains, String dnsOptions)

Specifies the DNS configuration for the container group.

Parameters:

dnsServerNames - the names of the DNS servers for the container group
dnsSearchDomains - the DNS search domains for hostname lookup in the container group
dnsOptions - the DNS options for the container group

Returns:

the next stage of the definition

withDnsServerNames

public abstract ContainerGroup.DefinitionStages.WithCreate withDnsServerNames(List<String> dnsServerNames)

Specifies the DNS servers for the container group.

Parameters:

dnsServerNames - the names of the DNS servers

Returns:

the next stage of the definition

Applies to