Class 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 Detail

      • DhcpOptions

        public DhcpOptions()
    • Method Detail

      • dnsServers

        public List<String> dnsServers()
        Get the dnsServers value.
        Returns:
        the dnsServers value
      • withDnsServers

        public DhcpOptions withDnsServers​(List<String> dnsServers)
        Set the dnsServers value.
        Parameters:
        dnsServers - the dnsServers value to set
        Returns:
        the DhcpOptions object itself.