public final class VirtualMachineScaleSetNetworkConfigurationDnsSettings extends Object
Constructor and Description |
---|
VirtualMachineScaleSetNetworkConfigurationDnsSettings() |
Modifier and Type | Method and Description |
---|---|
List<String> |
dnsServers()
Get the dnsServers property: List of DNS servers IP addresses.
|
void |
validate()
Validates the instance.
|
VirtualMachineScaleSetNetworkConfigurationDnsSettings |
withDnsServers(List<String> dnsServers)
Set the dnsServers property: List of DNS servers IP addresses.
|
public VirtualMachineScaleSetNetworkConfigurationDnsSettings()
public List<String> dnsServers()
public VirtualMachineScaleSetNetworkConfigurationDnsSettings withDnsServers(List<String> dnsServers)
dnsServers
- the dnsServers value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.