Class VirtualMachineScaleSetNetworkConfigurationDnsSettings
java.lang.Object
com.azure.resourcemanager.compute.models.VirtualMachineScaleSetNetworkConfigurationDnsSettings
Describes a virtual machines scale sets network configuration's DNS settings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the dnsServers property: List of DNS servers IP addresses.voidvalidate()Validates the instance.withDnsServers(List<String> dnsServers) Set the dnsServers property: List of DNS servers IP addresses.
-
Constructor Details
-
VirtualMachineScaleSetNetworkConfigurationDnsSettings
public VirtualMachineScaleSetNetworkConfigurationDnsSettings()
-
-
Method Details
-
dnsServers
Get the dnsServers property: List of DNS servers IP addresses.- Returns:
- the dnsServers value.
-
withDnsServers
public VirtualMachineScaleSetNetworkConfigurationDnsSettings withDnsServers(List<String> dnsServers) Set the dnsServers property: List of DNS servers IP addresses.- Parameters:
dnsServers- the dnsServers value to set.- Returns:
- the VirtualMachineScaleSetNetworkConfigurationDnsSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-