DhcpOptions Class

  • java.lang.Object
    • com.microsoft.azure.management.network.DhcpOptions

public class 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.

Method Summary

Modifier and Type Method and Description
List<String> dnsServers()

Get the dnsServers value.

DhcpOptions withDnsServers(List<String> dnsServers)

Set the dnsServers value.

Method Details

dnsServers

public List dnsServers()

Get the dnsServers value.

Returns:

the dnsServers value

withDnsServers

public DhcpOptions withDnsServers(List dnsServers)

Set the dnsServers value.

Parameters:

dnsServers - the dnsServers value to set

Returns:

the DhcpOptions object itself.

Applies to