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()
      Returns:
      admin contact information
    • billingContact

      Contact billingContact()
      Returns:
      billing contact information
    • registrantContact

      Contact registrantContact()
      Returns:
      registrant contact information
    • techContact

      Contact techContact()
      Returns:
      technical contact information
    • registrationStatus

      DomainStatus registrationStatus()
      Returns:
      domain registration status
    • nameServers

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

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

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

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

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

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

      boolean readyForDnsRecordManagement()
      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()
      Returns:
      all hostnames derived from the domain and assigned to Azure resources
    • consent

      Returns:
      legal agreement consent.
    • dnsType

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

      String dnsZoneId()
      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