Interface ContainerGroup.DefinitionStages.WithDnsConfig
- All Known Subinterfaces:
ContainerGroup.Definition
,ContainerGroup.DefinitionStages.DnsConfigFork
- Enclosing interface:
- ContainerGroup.DefinitionStages
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 TypeMethodDescriptionwithDnsConfiguration
(List<String> dnsServerNames, String dnsSearchDomains, String dnsOptions) Specifies the DNS configuration for the container group.withDnsServerNames
(List<String> dnsServerNames) Specifies the DNS servers for the container group.
-
Method Details
-
withDnsServerNames
@Beta(V1_23_0) 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
-
withDnsConfiguration
@Beta(V1_23_0) 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 groupdnsSearchDomains
- the DNS search domains for hostname lookup in the container groupdnsOptions
- the DNS options for the container group- Returns:
- the next stage of the definition
-