PublicIpAddressDnsSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.PublicIpAddressDnsSettings

public final class PublicIpAddressDnsSettings

Contains FQDN of the DNS record associated with the public IP address.

Constructor Summary

Constructor Description
PublicIpAddressDnsSettings()

Creates an instance of PublicIpAddressDnsSettings class.

Method Summary

Modifier and Type Method and Description
String domainNameLabel()

Get the domainNameLabel property: The domain name label.

PublicIpAddressDnsSettingsDomainNameLabelScope domainNameLabelScope()

Get the domainNameLabelScope property: The domain name label scope.

String fqdn()

Get the fqdn property: The Fully Qualified Domain Name of the A DNS record associated with the public IP.

String reverseFqdn()

Get the reverseFqdn property: The reverse FQDN.

void validate()

Validates the instance.

PublicIpAddressDnsSettings withDomainNameLabel(String domainNameLabel)

Set the domainNameLabel property: The domain name label.

PublicIpAddressDnsSettings withDomainNameLabelScope(PublicIpAddressDnsSettingsDomainNameLabelScope domainNameLabelScope)

Set the domainNameLabelScope property: The domain name label scope.

PublicIpAddressDnsSettings withFqdn(String fqdn)

Set the fqdn property: The Fully Qualified Domain Name of the A DNS record associated with the public IP.

PublicIpAddressDnsSettings withReverseFqdn(String reverseFqdn)

Set the reverseFqdn property: The reverse FQDN.

Methods inherited from java.lang.Object

Constructor Details

PublicIpAddressDnsSettings

public PublicIpAddressDnsSettings()

Creates an instance of PublicIpAddressDnsSettings class.

Method Details

domainNameLabel

public String domainNameLabel()

Get the domainNameLabel property: The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.

Returns:

the domainNameLabel value.

domainNameLabelScope

public PublicIpAddressDnsSettingsDomainNameLabelScope domainNameLabelScope()

Get the domainNameLabelScope property: The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.

Returns:

the domainNameLabelScope value.

fqdn

public String fqdn()

Get the fqdn property: The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.

Returns:

the fqdn value.

reverseFqdn

public String reverseFqdn()

Get the reverseFqdn property: The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.

Returns:

the reverseFqdn value.

validate

public void validate()

Validates the instance.

withDomainNameLabel

public PublicIpAddressDnsSettings withDomainNameLabel(String domainNameLabel)

Set the domainNameLabel property: The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system.

Parameters:

domainNameLabel - the domainNameLabel value to set.

Returns:

the PublicIpAddressDnsSettings object itself.

withDomainNameLabelScope

public PublicIpAddressDnsSettings withDomainNameLabelScope(PublicIpAddressDnsSettingsDomainNameLabelScope domainNameLabelScope)

Set the domainNameLabelScope property: The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.

Parameters:

domainNameLabelScope - the domainNameLabelScope value to set.

Returns:

the PublicIpAddressDnsSettings object itself.

withFqdn

public PublicIpAddressDnsSettings withFqdn(String fqdn)

Set the fqdn property: The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone.

Parameters:

fqdn - the fqdn value to set.

Returns:

the PublicIpAddressDnsSettings object itself.

withReverseFqdn

public PublicIpAddressDnsSettings withReverseFqdn(String reverseFqdn)

Set the reverseFqdn property: The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN.

Parameters:

reverseFqdn - the reverseFqdn value to set.

Returns:

the PublicIpAddressDnsSettings object itself.

Applies to