PublicIpAddressDnsSettings Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. PublicIpAddressDnsSettings
- com.
Implements
public final class PublicIpAddressDnsSettings
implements JsonSerializable<PublicIpAddressDnsSettings>
Contains FQDN of the DNS record associated with the public IP address.
Constructor Summary
Constructor | Description |
---|---|
PublicIpAddressDnsSettings() |
Creates an instance of Public |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
domainNameLabel()
Get the domain |
Public |
domainNameLabelScope()
Get the domain |
String |
fqdn()
Get the fqdn property: The Fully Qualified Domain Name of the A DNS record associated with the public IP. |
static
Public |
fromJson(JsonReader jsonReader)
Reads an instance of Public |
String |
reverseFqdn()
Get the reverse |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Public |
withDomainNameLabel(String domainNameLabel)
Set the domain |
Public |
withDomainNameLabelScope(PublicIpAddressDnsSettingsDomainNameLabelScope domainNameLabelScope)
Set the domain |
Public |
withFqdn(String fqdn)
Set the fqdn property: The Fully Qualified Domain Name of the A DNS record associated with the public IP. |
Public |
withReverseFqdn(String reverseFqdn)
Set the reverse |
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:
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:
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:
fromJson
public static PublicIpAddressDnsSettings fromJson(JsonReader jsonReader)
Reads an instance of PublicIpAddressDnsSettings from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
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:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
Applies to
Azure SDK for Java