Partager via


AppServiceDomain Interface

Implements

public interface AppServiceDomain
extends GroupableResource<AppServiceManager,DomainInner>, HasName, Refreshable<AppServiceDomain>, Updatable<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 listAgreements(String topLevelExtension).

Method Summary

Modifier and Type Method and Description
abstract Contact adminContact()

Gets admin contact information.

abstract boolean autoRenew()

Check whether domain will renewed automatically.

abstract Contact billingContact()

Gets billing contact information.

abstract DomainPurchaseConsent consent()

Gets legal agreement consent.

abstract OffsetDateTime createdTime()

Gets domain creation timestamp.

abstract DnsType dnsType()

Gets the type of DNS.

abstract String dnsZoneId()

Gets Azure DNS zone id.

abstract OffsetDateTime expirationTime()

Gets domain expiration timestamp.

abstract OffsetDateTime lastRenewedTime()

Gets timestamp when the domain was renewed last time.

abstract Map<String,Hostname> managedHostNames()

Gets all hostnames derived from the domain and assigned to Azure resources.

abstract List<String> nameServers()

Gets name servers.

abstract boolean privacy()

Check whether domain privacy is enabled for this domain.

abstract boolean readyForDnsRecordManagement()

Check whether Azure can assign this domain to Web Apps.

abstract Contact registrantContact()

Gets registrant contact information

abstract DomainStatus registrationStatus()

Gets domain registration status.

abstract Contact techContact()

Gets technical contact information

abstract void verifyDomainOwnership(String certificateOrderName, String domainVerificationToken)

Verifies the ownership of the domain for a certificate order bound to this domain.

abstract Mono<Void> verifyDomainOwnershipAsync(String certificateOrderName, String domainVerificationToken)

Verifies the ownership of the domain for a certificate order bound to this domain.

Method Details

adminContact

public abstract Contact adminContact()

Gets admin contact information.

Returns:

admin contact information

autoRenew

public abstract boolean autoRenew()

Check whether domain will renewed automatically.

Returns:

true if domain will renewed automatically

billingContact

public abstract Contact billingContact()

Gets billing contact information.

Returns:

billing contact information

consent

public abstract DomainPurchaseConsent consent()

Gets legal agreement consent.

Returns:

legal agreement consent.

createdTime

public abstract OffsetDateTime createdTime()

Gets domain creation timestamp.

Returns:

domain creation timestamp.

dnsType

public abstract DnsType dnsType()

Gets the type of DNS.

Returns:

the type of DNS

dnsZoneId

public abstract String dnsZoneId()

Gets Azure DNS zone id.

Returns:

Azure DNS zone id

expirationTime

public abstract OffsetDateTime expirationTime()

Gets domain expiration timestamp.

Returns:

domain expiration timestamp.

lastRenewedTime

public abstract OffsetDateTime lastRenewedTime()

Gets timestamp when the domain was renewed last time.

Returns:

timestamp when the domain was renewed last time

managedHostNames

public abstract Map 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

nameServers

public abstract List nameServers()

Gets name servers.

Returns:

name servers

privacy

public abstract boolean privacy()

Check whether domain privacy is enabled for this domain.

Returns:

true if domain privacy is enabled for this domain

readyForDnsRecordManagement

public abstract 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.

registrantContact

public abstract Contact registrantContact()

Gets registrant contact information

Returns:

registrant contact information

registrationStatus

public abstract DomainStatus registrationStatus()

Gets domain registration status.

Returns:

domain registration status

techContact

public abstract Contact techContact()

Gets technical contact information

Returns:

technical contact information

verifyDomainOwnership

public abstract 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

public abstract Mono 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

Applies to