Interface ContainerGroup.DefinitionStages.WithDnsConfig
-
- All Known Subinterfaces:
ContainerGroup.Definition,ContainerGroup.DefinitionStages.DnsConfigFork
- Enclosing interface:
- ContainerGroup.DefinitionStages
public static interface ContainerGroup.DefinitionStages.WithDnsConfigThe stage of the container group definition allowing to specify the DNS configuration of the container group.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContainerGroup.DefinitionStages.WithCreatewithDnsConfiguration(List<String> dnsServerNames, String dnsSearchDomains, String dnsOptions)Specifies the DNS configuration for the container group.ContainerGroup.DefinitionStages.WithCreatewithDnsServerNames(List<String> dnsServerNames)Specifies the DNS servers for the container group.
-
-
-
Method Detail
-
withDnsServerNames
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
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
-
-