Interface AppServiceDomain

All Superinterfaces:
GroupableResource<AppServiceManager,DomainInner>, HasId, HasInnerModel<DomainInner>, HasManager<AppServiceManager>, HasName, HasResourceGroup, Indexable, Refreshable<AppServiceDomain>, Resource, Updatable<AppServiceDomain.Update>

An immutable client-side representation of a domain.

Domains in Azure are purchased from 3rd party domain providers. By calling Creatable.create() or Creatable.createAsync() you agree to the agreements listed in AppServiceDomains.listAgreements(String).

  • Method Details

    • adminContact

      Contact adminContact()
      Gets admin contact information.
      Returns:
      admin contact information
    • billingContact

      Contact billingContact()
      Gets billing contact information.
      Returns:
      billing contact information
    • registrantContact

      Contact registrantContact()
      Gets registrant contact information
      Returns:
      registrant contact information
    • techContact

      Contact techContact()
      Gets technical contact information
      Returns:
      technical contact information
    • registrationStatus

      DomainStatus registrationStatus()
      Gets domain registration status.
      Returns:
      domain registration status
    • nameServers

      List<String> nameServers()
      Gets name servers.
      Returns:
      name servers
    • privacy

      boolean privacy()
      Check whether domain privacy is enabled for this domain.
      Returns:
      true if domain privacy is enabled for this domain
    • createdTime

      OffsetDateTime createdTime()
      Gets domain creation timestamp.
      Returns:
      domain creation timestamp.
    • expirationTime

      OffsetDateTime expirationTime()
      Gets domain expiration timestamp.
      Returns:
      domain expiration timestamp.
    • lastRenewedTime

      OffsetDateTime lastRenewedTime()
      Gets timestamp when the domain was renewed last time.
      Returns:
      timestamp when the domain was renewed last time
    • autoRenew

      boolean autoRenew()
      Check whether domain will renewed automatically.
      Returns:
      true if domain will renewed automatically
    • readyForDnsRecordManagement

      boolean readyForDnsRecordManagement()
      Check whether Azure can assign this domain to Web Apps.
      Returns:
      true if Azure can assign this domain to Web Apps. This value will be true if domain registration status is active and it is hosted on name servers Azure has programmatic access to.
    • managedHostNames

      Map<String,Hostname> managedHostNames()
      Gets all hostnames derived from the domain and assigned to Azure resources.
      Returns:
      all hostnames derived from the domain and assigned to Azure resources
    • consent

      Gets legal agreement consent.
      Returns:
      legal agreement consent.
    • dnsType

      DnsType dnsType()
      Gets the type of DNS.
      Returns:
      the type of DNS
    • dnsZoneId

      String dnsZoneId()
      Gets Azure DNS zone id.
      Returns:
      Azure DNS zone id
    • verifyDomainOwnership

      void verifyDomainOwnership(String certificateOrderName, String domainVerificationToken)
      Verifies the ownership of the domain for a certificate order bound to this domain.
      Parameters:
      certificateOrderName - the name of the certificate order
      domainVerificationToken - the domain verification token for the certificate order
    • verifyDomainOwnershipAsync

      Mono<Void> verifyDomainOwnershipAsync(String certificateOrderName, String domainVerificationToken)
      Verifies the ownership of the domain for a certificate order bound to this domain.
      Parameters:
      certificateOrderName - the name of the certificate order
      domainVerificationToken - the domain verification token for the certificate order
      Returns:
      a representation of the deferred computation of this call