VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings Class

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

Implements

public final class VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings
implements JsonSerializable<VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings>

Describes a virtual machines scale sets network configuration's DNS settings.

Constructor Summary

Constructor Description
VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings()

Creates an instance of VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings class.

Method Summary

Modifier and Type Method and Description
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.

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.

static VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

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.

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.

Methods inherited from java.lang.Object

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.

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.

fromJson

public static VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

Applies to