你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
VirtualMachineScaleSetNetworkConfigurationDnsSettings Class
- java.
lang. Object - com.
microsoft. azure. management. compute. VirtualMachineScaleSetNetworkConfigurationDnsSettings
- com.
public class VirtualMachineScaleSetNetworkConfigurationDnsSettings
Describes a virtual machines scale sets network configuration's DNS settings.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<String> |
dnsServers()
Get the dnsServers value. |
Virtual |
withDnsServers(List<String> dnsServers)
Set the dnsServers value. |
Method Details
dnsServers
public List
Get the dnsServers value.
Returns:
the dnsServers value
withDnsServers
public VirtualMachineScaleSetNetworkConfigurationDnsSettings withDnsServers(List
Set the dnsServers value.
Parameters:
dnsServers
- the dnsServers value to set
Returns:
the VirtualMachineScaleSetNetworkConfigurationDnsSettings object itself.