Class VirtualMachinePublicIpAddressDnsSettingsConfiguration
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.VirtualMachinePublicIpAddressDnsSettingsConfiguration
-
public final class VirtualMachinePublicIpAddressDnsSettingsConfiguration extends Object
Describes a virtual machines network configuration's DNS settings.
-
-
Constructor Summary
Constructors Constructor Description VirtualMachinePublicIpAddressDnsSettingsConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdomainNameLabel()Get the domainNameLabel property: The Domain name label prefix of the PublicIPAddress resources that will be created.voidvalidate()Validates the instance.VirtualMachinePublicIpAddressDnsSettingsConfigurationwithDomainNameLabel(String domainNameLabel)Set the domainNameLabel property: The Domain name label prefix of the PublicIPAddress resources that will be created.
-
-
-
Method Detail
-
domainNameLabel
public String domainNameLabel()
Get the domainNameLabel property: The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.- Returns:
- the domainNameLabel value.
-
withDomainNameLabel
public VirtualMachinePublicIpAddressDnsSettingsConfiguration withDomainNameLabel(String domainNameLabel)
Set the domainNameLabel property: The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.- Parameters:
domainNameLabel- the domainNameLabel value to set.- Returns:
- the VirtualMachinePublicIpAddressDnsSettingsConfiguration object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-