Class DomainPatchResource
java.lang.Object
com.microsoft.azure.ProxyResource
com.microsoft.azure.management.appservice.ProxyOnlyResource
com.microsoft.azure.management.appservice.DomainPatchResource
ARM resource for a domain.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionauthCode()
Get the authCode value.Get <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.consent()
Get legal agreement consent.Get administrative contact.Get billing contact.Get registrant contact.Get technical contact.org.joda.time.DateTime
Get domain creation timestamp.dnsType()
Get current DNS type.Get azure DNS Zone to use.Get reasons why domain is not renewable.org.joda.time.DateTime
Get domain expiration timestamp.org.joda.time.DateTime
Get timestamp when the domain was renewed last time.Get all hostnames derived from the domain and assigned to Azure resources.Get name servers.privacy()
Get <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.Get domain provisioning state.Get <code>true</code> if Azure can assign this domain to App Service apps; otherwise, <code>false</code>.Get domain registration status.Get target DNS type (would be used for migration).withAuthCode
(String authCode) Set the authCode value.withAutoRenew
(Boolean autoRenew) Set <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.withConsent
(DomainPurchaseConsent consent) Set legal agreement consent.withContactAdmin
(Contact contactAdmin) Set administrative contact.withContactBilling
(Contact contactBilling) Set billing contact.withContactRegistrant
(Contact contactRegistrant) Set registrant contact.withContactTech
(Contact contactTech) Set technical contact.withDnsType
(DnsType dnsType) Set current DNS type.withDnsZoneId
(String dnsZoneId) Set azure DNS Zone to use.withPrivacy
(Boolean privacy) Set <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.withTargetDnsType
(DnsType targetDnsType) Set target DNS type (would be used for migration).Methods inherited from class com.microsoft.azure.management.appservice.ProxyOnlyResource
kind, withKind
Methods inherited from class com.microsoft.azure.ProxyResource
id, name, type
-
Constructor Details
-
DomainPatchResource
public DomainPatchResource()
-
-
Method Details
-
contactAdmin
Get administrative contact.- Returns:
- the contactAdmin value
-
withContactAdmin
Set administrative contact.- Parameters:
contactAdmin
- the contactAdmin value to set- Returns:
- the DomainPatchResource object itself.
-
contactBilling
Get billing contact.- Returns:
- the contactBilling value
-
withContactBilling
Set billing contact.- Parameters:
contactBilling
- the contactBilling value to set- Returns:
- the DomainPatchResource object itself.
-
contactRegistrant
Get registrant contact.- Returns:
- the contactRegistrant value
-
withContactRegistrant
Set registrant contact.- Parameters:
contactRegistrant
- the contactRegistrant value to set- Returns:
- the DomainPatchResource object itself.
-
contactTech
Get technical contact.- Returns:
- the contactTech value
-
withContactTech
Set technical contact.- Parameters:
contactTech
- the contactTech value to set- Returns:
- the DomainPatchResource object itself.
-
registrationStatus
Get domain registration status. Possible values include: 'Active', 'Awaiting', 'Cancelled', 'Confiscated', 'Disabled', 'Excluded', 'Expired', 'Failed', 'Held', 'Locked', 'Parked', 'Pending', 'Reserved', 'Reverted', 'Suspended', 'Transferred', 'Unknown', 'Unlocked', 'Unparked', 'Updated', 'JsonConverterFailed'.- Returns:
- the registrationStatus value
-
provisioningState
Get domain provisioning state. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'.- Returns:
- the provisioningState value
-
nameServers
Get name servers.- Returns:
- the nameServers value
-
privacy
Get <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.- Returns:
- the privacy value
-
withPrivacy
Set <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.- Parameters:
privacy
- the privacy value to set- Returns:
- the DomainPatchResource object itself.
-
createdTime
public org.joda.time.DateTime createdTime()Get domain creation timestamp.- Returns:
- the createdTime value
-
expirationTime
public org.joda.time.DateTime expirationTime()Get domain expiration timestamp.- Returns:
- the expirationTime value
-
lastRenewedTime
public org.joda.time.DateTime lastRenewedTime()Get timestamp when the domain was renewed last time.- Returns:
- the lastRenewedTime value
-
autoRenew
Get <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.- Returns:
- the autoRenew value
-
withAutoRenew
Set <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.- Parameters:
autoRenew
- the autoRenew value to set- Returns:
- the DomainPatchResource object itself.
-
readyForDnsRecordManagement
Get <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 all hostnames derived from the domain and assigned to Azure resources.- Returns:
- the managedHostNames value
-
consent
Get legal agreement consent.- Returns:
- the consent value
-
withConsent
Set legal agreement consent.- Parameters:
consent
- the consent value to set- Returns:
- the DomainPatchResource object itself.
-
domainNotRenewableReasons
Get reasons why domain is not renewable.- Returns:
- the domainNotRenewableReasons value
-
dnsType
Get current DNS type. Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'.- Returns:
- the dnsType value
-
withDnsType
Set current DNS type. Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'.- Parameters:
dnsType
- the dnsType value to set- Returns:
- the DomainPatchResource object itself.
-
dnsZoneId
Get azure DNS Zone to use.- Returns:
- the dnsZoneId value
-
withDnsZoneId
Set azure DNS Zone to use.- Parameters:
dnsZoneId
- the dnsZoneId value to set- Returns:
- the DomainPatchResource object itself.
-
targetDnsType
Get target DNS type (would be used for migration). Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'.- Returns:
- the targetDnsType value
-
withTargetDnsType
Set target DNS type (would be used for migration). Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'.- Parameters:
targetDnsType
- the targetDnsType value to set- Returns:
- the DomainPatchResource object itself.
-
authCode
Get the authCode value.- Returns:
- the authCode value
-
withAuthCode
Set the authCode value.- Parameters:
authCode
- the authCode value to set- Returns:
- the DomainPatchResource object itself.
-