Class DomainPatchResource
- java.lang.Object
-
- com.microsoft.azure.ProxyResource
-
- com.microsoft.azure.management.appservice.ProxyOnlyResource
-
- com.microsoft.azure.management.appservice.DomainPatchResource
-
public class DomainPatchResource extends ProxyOnlyResource
ARM resource for a domain.
-
-
Constructor Summary
Constructors Constructor Description DomainPatchResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringauthCode()Get the authCode value.BooleanautoRenew()Get <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.DomainPurchaseConsentconsent()Get legal agreement consent.ContactcontactAdmin()Get administrative contact.ContactcontactBilling()Get billing contact.ContactcontactRegistrant()Get registrant contact.ContactcontactTech()Get technical contact.org.joda.time.DateTimecreatedTime()Get domain creation timestamp.DnsTypednsType()Get current DNS type.StringdnsZoneId()Get azure DNS Zone to use.List<String>domainNotRenewableReasons()Get reasons why domain is not renewable.org.joda.time.DateTimeexpirationTime()Get domain expiration timestamp.org.joda.time.DateTimelastRenewedTime()Get timestamp when the domain was renewed last time.List<HostName>managedHostNames()Get all hostnames derived from the domain and assigned to Azure resources.List<String>nameServers()Get name servers.Booleanprivacy()Get <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.ProvisioningStateprovisioningState()Get domain provisioning state.BooleanreadyForDnsRecordManagement()Get <code>true</code> if Azure can assign this domain to App Service apps; otherwise, <code>false</code>.DomainStatusregistrationStatus()Get domain registration status.DnsTypetargetDnsType()Get target DNS type (would be used for migration).DomainPatchResourcewithAuthCode(String authCode)Set the authCode value.DomainPatchResourcewithAutoRenew(Boolean autoRenew)Set <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.DomainPatchResourcewithConsent(DomainPurchaseConsent consent)Set legal agreement consent.DomainPatchResourcewithContactAdmin(Contact contactAdmin)Set administrative contact.DomainPatchResourcewithContactBilling(Contact contactBilling)Set billing contact.DomainPatchResourcewithContactRegistrant(Contact contactRegistrant)Set registrant contact.DomainPatchResourcewithContactTech(Contact contactTech)Set technical contact.DomainPatchResourcewithDnsType(DnsType dnsType)Set current DNS type.DomainPatchResourcewithDnsZoneId(String dnsZoneId)Set azure DNS Zone to use.DomainPatchResourcewithPrivacy(Boolean privacy)Set <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.DomainPatchResourcewithTargetDnsType(DnsType targetDnsType)Set target DNS type (would be used for migration).-
Methods inherited from class com.microsoft.azure.management.appservice.ProxyOnlyResource
kind, withKind
-
-
-
-
Method Detail
-
contactAdmin
public Contact contactAdmin()
Get administrative contact.- Returns:
- the contactAdmin value
-
withContactAdmin
public DomainPatchResource withContactAdmin(Contact contactAdmin)
Set administrative contact.- Parameters:
contactAdmin- the contactAdmin value to set- Returns:
- the DomainPatchResource object itself.
-
contactBilling
public Contact contactBilling()
Get billing contact.- Returns:
- the contactBilling value
-
withContactBilling
public DomainPatchResource withContactBilling(Contact contactBilling)
Set billing contact.- Parameters:
contactBilling- the contactBilling value to set- Returns:
- the DomainPatchResource object itself.
-
contactRegistrant
public Contact contactRegistrant()
Get registrant contact.- Returns:
- the contactRegistrant value
-
withContactRegistrant
public DomainPatchResource withContactRegistrant(Contact contactRegistrant)
Set registrant contact.- Parameters:
contactRegistrant- the contactRegistrant value to set- Returns:
- the DomainPatchResource object itself.
-
contactTech
public Contact contactTech()
Get technical contact.- Returns:
- the contactTech value
-
withContactTech
public DomainPatchResource withContactTech(Contact contactTech)
Set technical contact.- Parameters:
contactTech- the contactTech value to set- Returns:
- the DomainPatchResource object itself.
-
registrationStatus
public DomainStatus 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
public ProvisioningState provisioningState()
Get domain provisioning state. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'.- Returns:
- the provisioningState value
-
privacy
public Boolean privacy()
Get <code>true</code> if domain privacy is enabled for this domain; otherwise, <code>false</code>.- Returns:
- the privacy value
-
withPrivacy
public DomainPatchResource withPrivacy(Boolean privacy)
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
public Boolean autoRenew()
Get <code>true</code> if the domain should be automatically renewed; otherwise, <code>false</code>.- Returns:
- the autoRenew value
-
withAutoRenew
public DomainPatchResource withAutoRenew(Boolean autoRenew)
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
public Boolean 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
public List<HostName> managedHostNames()
Get all hostnames derived from the domain and assigned to Azure resources.- Returns:
- the managedHostNames value
-
consent
public DomainPurchaseConsent consent()
Get legal agreement consent.- Returns:
- the consent value
-
withConsent
public DomainPatchResource withConsent(DomainPurchaseConsent consent)
Set legal agreement consent.- Parameters:
consent- the consent value to set- Returns:
- the DomainPatchResource object itself.
-
domainNotRenewableReasons
public List<String> domainNotRenewableReasons()
Get reasons why domain is not renewable.- Returns:
- the domainNotRenewableReasons value
-
dnsType
public DnsType dnsType()
Get current DNS type. Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'.- Returns:
- the dnsType value
-
withDnsType
public DomainPatchResource withDnsType(DnsType dnsType)
Set current DNS type. Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'.- Parameters:
dnsType- the dnsType value to set- Returns:
- the DomainPatchResource object itself.
-
dnsZoneId
public String dnsZoneId()
Get azure DNS Zone to use.- Returns:
- the dnsZoneId value
-
withDnsZoneId
public DomainPatchResource withDnsZoneId(String dnsZoneId)
Set azure DNS Zone to use.- Parameters:
dnsZoneId- the dnsZoneId value to set- Returns:
- the DomainPatchResource object itself.
-
targetDnsType
public DnsType targetDnsType()
Get target DNS type (would be used for migration). Possible values include: 'AzureDns', 'DefaultDomainRegistrarDns'.- Returns:
- the targetDnsType value
-
withTargetDnsType
public DomainPatchResource withTargetDnsType(DnsType targetDnsType)
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
public String authCode()
Get the authCode value.- Returns:
- the authCode value
-
withAuthCode
public DomainPatchResource withAuthCode(String authCode)
Set the authCode value.- Parameters:
authCode- the authCode value to set- Returns:
- the DomainPatchResource object itself.
-
-