Class DomainProperties
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.DomainProperties
Domain resource specific properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthCode()
Get the authCode property: The authCode property.Get the autoRenew property: <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.consent()
Get the consent property: Legal agreement consent.Get the contactAdmin property: Administrative contact.Get the contactBilling property: Billing contact.Get the contactRegistrant property: Registrant contact.Get the contactTech property: Technical contact.Get the createdTime property: Domain creation timestamp.dnsType()
Get the dnsType property: Current DNS type.Get the dnsZoneId property: Azure DNS Zone to use.Get the domainNotRenewableReasons property: Reasons why domain is not renewable.Get the expirationTime property: Domain expiration timestamp.Get the lastRenewedTime property: Timestamp when the domain was renewed last time.Get the managedHostNames property: All hostnames derived from the domain and assigned to Azure resources.Get the nameServers property: Name servers.privacy()
Get the privacy property: <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.Get the provisioningState property: Domain provisioning state.Get the readyForDnsRecordManagement property: <code>true</code> if Azure can assign this domain to App Service apps; otherwise, <code>false</code>.Get the registrationStatus property: Domain registration status.Get the targetDnsType property: Target DNS type (would be used for migration).void
validate()
Validates the instance.withAuthCode
(String authCode) Set the authCode property: The authCode property.withAutoRenew
(Boolean autoRenew) Set the autoRenew property: <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.withConsent
(DomainPurchaseConsent consent) Set the consent property: Legal agreement consent.withContactAdmin
(Contact contactAdmin) Set the contactAdmin property: Administrative contact.withContactBilling
(Contact contactBilling) Set the contactBilling property: Billing contact.withContactRegistrant
(Contact contactRegistrant) Set the contactRegistrant property: Registrant contact.withContactTech
(Contact contactTech) Set the contactTech property: Technical contact.withDnsType
(DnsType dnsType) Set the dnsType property: Current DNS type.withDnsZoneId
(String dnsZoneId) Set the dnsZoneId property: Azure DNS Zone to use.withPrivacy
(Boolean privacy) Set the privacy property: <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.withTargetDnsType
(DnsType targetDnsType) Set the targetDnsType property: Target DNS type (would be used for migration).
-
Constructor Details
-
DomainProperties
public DomainProperties()
-
-
Method Details
-
contactAdmin
Get the contactAdmin property: Administrative contact.- Returns:
- the contactAdmin value.
-
withContactAdmin
Set the contactAdmin property: Administrative contact.- Parameters:
contactAdmin
- the contactAdmin value to set.- Returns:
- the DomainProperties object itself.
-
contactBilling
Get the contactBilling property: Billing contact.- Returns:
- the contactBilling value.
-
withContactBilling
Set the contactBilling property: Billing contact.- Parameters:
contactBilling
- the contactBilling value to set.- Returns:
- the DomainProperties object itself.
-
contactRegistrant
Get the contactRegistrant property: Registrant contact.- Returns:
- the contactRegistrant value.
-
withContactRegistrant
Set the contactRegistrant property: Registrant contact.- Parameters:
contactRegistrant
- the contactRegistrant value to set.- Returns:
- the DomainProperties object itself.
-
contactTech
Get the contactTech property: Technical contact.- Returns:
- the contactTech value.
-
withContactTech
Set the contactTech property: Technical contact.- Parameters:
contactTech
- the contactTech value to set.- Returns:
- the DomainProperties object itself.
-
registrationStatus
Get the registrationStatus property: Domain registration status.- Returns:
- the registrationStatus value.
-
provisioningState
Get the provisioningState property: Domain provisioning state.- Returns:
- the provisioningState value.
-
nameServers
Get the nameServers property: Name servers.- Returns:
- the nameServers value.
-
privacy
Get the privacy property: <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.- Returns:
- the privacy value.
-
withPrivacy
Set the privacy property: <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.- Parameters:
privacy
- the privacy value to set.- Returns:
- the DomainProperties object itself.
-
createdTime
Get the createdTime property: Domain creation timestamp.- Returns:
- the createdTime value.
-
expirationTime
Get the expirationTime property: Domain expiration timestamp.- Returns:
- the expirationTime value.
-
lastRenewedTime
Get the lastRenewedTime property: Timestamp when the domain was renewed last time.- Returns:
- the lastRenewedTime value.
-
autoRenew
Get the autoRenew property: <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.- Returns:
- the autoRenew value.
-
withAutoRenew
Set the autoRenew property: <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.- Parameters:
autoRenew
- the autoRenew value to set.- Returns:
- the DomainProperties object itself.
-
readyForDnsRecordManagement
Get the readyForDnsRecordManagement property: <code>true</code> if Azure can assign this domain to App Service apps; otherwise, <code>false</code>. This value will be <code>true</code> if domain registration status is active and it is hosted on name servers Azure has programmatic access to.- Returns:
- the readyForDnsRecordManagement value.
-
managedHostNames
Get the managedHostNames property: All hostnames derived from the domain and assigned to Azure resources.- Returns:
- the managedHostNames value.
-
consent
Get the consent property: Legal agreement consent.- Returns:
- the consent value.
-
withConsent
Set the consent property: Legal agreement consent.- Parameters:
consent
- the consent value to set.- Returns:
- the DomainProperties object itself.
-
domainNotRenewableReasons
Get the domainNotRenewableReasons property: Reasons why domain is not renewable.- Returns:
- the domainNotRenewableReasons value.
-
dnsType
Get the dnsType property: Current DNS type.- Returns:
- the dnsType value.
-
withDnsType
Set the dnsType property: Current DNS type.- Parameters:
dnsType
- the dnsType value to set.- Returns:
- the DomainProperties object itself.
-
dnsZoneId
Get the dnsZoneId property: Azure DNS Zone to use.- Returns:
- the dnsZoneId value.
-
withDnsZoneId
Set the dnsZoneId property: Azure DNS Zone to use.- Parameters:
dnsZoneId
- the dnsZoneId value to set.- Returns:
- the DomainProperties object itself.
-
targetDnsType
Get the targetDnsType property: Target DNS type (would be used for migration).- Returns:
- the targetDnsType value.
-
withTargetDnsType
Set the targetDnsType property: Target DNS type (would be used for migration).- Parameters:
targetDnsType
- the targetDnsType value to set.- Returns:
- the DomainProperties object itself.
-
authCode
Get the authCode property: The authCode property.- Returns:
- the authCode value.
-
withAuthCode
Set the authCode property: The authCode property.- Parameters:
authCode
- the authCode value to set.- Returns:
- the DomainProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-