VirtualMachineScaleSetNetworkConfigurationDnsSettings Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. VirtualMachineScaleSetNetworkConfigurationDnsSettings
- com.
Implements
public final class VirtualMachineScaleSetNetworkConfigurationDnsSettings
implements JsonSerializable<VirtualMachineScaleSetNetworkConfigurationDnsSettings>
Describes a virtual machines scale sets network configuration's DNS settings.
Constructor Summary
Constructor | Description |
---|---|
VirtualMachineScaleSetNetworkConfigurationDnsSettings() |
Creates an instance of Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
dnsServers()
Get the dns |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withDnsServers(List<String> dnsServers)
Set the dns |
Methods inherited from java.lang.Object
Constructor Details
VirtualMachineScaleSetNetworkConfigurationDnsSettings
public VirtualMachineScaleSetNetworkConfigurationDnsSettings()
Creates an instance of VirtualMachineScaleSetNetworkConfigurationDnsSettings class.
Method Details
dnsServers
public List
Get the dnsServers property: List of DNS servers IP addresses.
Returns:
fromJson
public static VirtualMachineScaleSetNetworkConfigurationDnsSettings fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineScaleSetNetworkConfigurationDnsSettings from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withDnsServers
public VirtualMachineScaleSetNetworkConfigurationDnsSettings withDnsServers(List
Set the dnsServers property: List of DNS servers IP addresses.
Parameters:
Returns:
Applies to
Azure SDK for Java