PublicIPAddressDnsSettings Class

  • java.lang.Object
    • com.microsoft.azure.management.network.PublicIPAddressDnsSettings

public class PublicIPAddressDnsSettings

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

Constructor Summary

Constructor Description
PublicIPAddressDnsSettings()

Method Summary

Modifier and Type Method and Description
java.lang.String domainNameLabel()

Get the domain name label.

java.lang.String fqdn()

Get the Fully Qualified Domain Name of the A DNS record associated with the public IP.

java.lang.String reverseFqdn()

Get the reverse FQDN.

PublicIPAddressDnsSettings withDomainNameLabel(String domainNameLabel)

Set the domain name label.

PublicIPAddressDnsSettings withFqdn(String fqdn)

Set the Fully Qualified Domain Name of the A DNS record associated with the public IP.

PublicIPAddressDnsSettings withReverseFqdn(String reverseFqdn)

Set the reverse FQDN.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

PublicIPAddressDnsSettings

public PublicIPAddressDnsSettings()

Method Details

domainNameLabel

public String domainNameLabel()

Get 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

fqdn

public String fqdn()

Get 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 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

withDomainNameLabel

public PublicIPAddressDnsSettings withDomainNameLabel(String domainNameLabel)

Set 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.

withFqdn

public PublicIPAddressDnsSettings withFqdn(String fqdn)

Set 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 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