Class DomainPatchResource


  • public class DomainPatchResource
    extends ProxyOnlyResource
    ARM resource for a domain.
    • Constructor Detail

      • DomainPatchResource

        public DomainPatchResource()
    • 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
      • nameServers

        public List<String> nameServers()
        Get name servers.
        Returns:
        the nameServers 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.