Class DhcpOptions
java.lang.Object
com.microsoft.azure.management.network.DhcpOptions
DhcpOptions contains an array of DNS servers available to VMs deployed in
the virtual network. Standard DHCP option for a subnet overrides VNET DHCP
options.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the list of DNS servers IP addresses.withDnsServers
(List<String> dnsServers) Set the list of DNS servers IP addresses.
-
Constructor Details
-
DhcpOptions
public DhcpOptions()
-
-
Method Details
-
dnsServers
Get the list of DNS servers IP addresses.- Returns:
- the dnsServers value
-
withDnsServers
Set the list of DNS servers IP addresses.- Parameters:
dnsServers
- the dnsServers value to set- Returns:
- the DhcpOptions object itself.
-