VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings
- com.
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 Virtual |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
domainNameLabel()
Get the domain |
Domain |
domainNameLabelScope()
Get the domain |
static
Virtual |
fromJson(JsonReader jsonReader)
Reads an instance of Virtual |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Virtual |
withDomainNameLabel(String domainNameLabel)
Set the domain |
Virtual |
withDomainNameLabelScope(DomainNameLabelScopeTypes domainNameLabelScope)
Set the domain |
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:
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:
fromJson
public static VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings fromJson(JsonReader jsonReader)
Reads an instance of VirtualMachineScaleSetPublicIpAddressConfigurationDnsSettings from the JsonReader.
Parameters:
Returns:
Throws:
toJson
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java