Class DnsConfiguration
java.lang.Object
com.microsoft.azure.management.containerinstance.DnsConfiguration
DNS configuration for the container group.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the DNS servers for the container group.options()Get the DNS options for the container group.Get the DNS search domains for hostname lookup in the container group.withNameServers(List<String> nameServers) Set the DNS servers for the container group.withOptions(String options) Set the DNS options for the container group.withSearchDomains(String searchDomains) Set the DNS search domains for hostname lookup in the container group.
-
Constructor Details
-
DnsConfiguration
public DnsConfiguration()
-
-
Method Details
-
nameServers
Get the DNS servers for the container group.- Returns:
- the nameServers value
-
withNameServers
Set the DNS servers for the container group.- Parameters:
nameServers- the nameServers value to set- Returns:
- the DnsConfiguration object itself.
-
searchDomains
Get the DNS search domains for hostname lookup in the container group.- Returns:
- the searchDomains value
-
withSearchDomains
Set the DNS search domains for hostname lookup in the container group.- Parameters:
searchDomains- the searchDomains value to set- Returns:
- the DnsConfiguration object itself.
-
options
Get the DNS options for the container group.- Returns:
- the options value
-
withOptions
Set the DNS options for the container group.- Parameters:
options- the options value to set- Returns:
- the DnsConfiguration object itself.
-