Class DhcpOptions
- java.lang.Object
-
- com.microsoft.azure.management.network.DhcpOptions
-
public class DhcpOptions extends Object
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
Constructors Constructor Description DhcpOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>dnsServers()Get the dnsServers value.DhcpOptionswithDnsServers(List<String> dnsServers)Set the dnsServers value.
-
-
-
Method Detail
-
withDnsServers
public DhcpOptions withDnsServers(List<String> dnsServers)
Set the dnsServers value.- Parameters:
dnsServers- the dnsServers value to set- Returns:
- the DhcpOptions object itself.
-
-