Class VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings

java.lang.Object
com.azure.resourcemanager.compute.models.VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings

public final class VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings extends Object
Describes a virtual machines scale sets network configuration's DNS settings.
  • Constructor Details

    • VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings

      public VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings()
      Creates an instance of VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings class.
  • Method Details

    • domainNameLabel

      public String domainNameLabel()
      Get the domainNameLabel property: The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created.
      Returns:
      the domainNameLabel value.
    • withDomainNameLabel

      public VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings withDomainNameLabel(String domainNameLabel)
      Set the domainNameLabel property: The Domain name label.The concatenation of the domain name label and vm index will be the domain name labels of the PublicIPAddress resources that will be created.
      Parameters:
      domainNameLabel - the domainNameLabel value to set.
      Returns:
      the VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings object itself.
    • domainNameLabelScope

      public DomainNameLabelScopeTypes domainNameLabelScope()
      Get the domainNameLabelScope property: The Domain name label scope.The concatenation of the hashed domain name label that generated according to the policy from domain name label scope and vm index will be the domain name labels of the PublicIPAddress resources that will be created.
      Returns:
      the domainNameLabelScope value.
    • withDomainNameLabelScope

      public VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings withDomainNameLabelScope(DomainNameLabelScopeTypes domainNameLabelScope)
      Set the domainNameLabelScope property: The Domain name label scope.The concatenation of the hashed domain name label that generated according to the policy from domain name label scope and vm index will be the domain name labels of the PublicIPAddress resources that will be created.
      Parameters:
      domainNameLabelScope - the domainNameLabelScope value to set.
      Returns:
      the VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.