你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AppServiceDomain Interface

public interface AppServiceDomain extends GroupableResource<AppServiceManager, DomainInner>,HasName,Refreshable,Updatable<AppServiceDomain.Update>

An immutable client-side representation of a domain.

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

Method Summary

Modifier and Type Method and Description
Contact adminContact()
boolean autoRenew()
Contact billingContact()
DomainPurchaseConsent consent()
DateTime createdTime()
DateTime expirationTime()
DateTime lastRenewedTime()
Map<String, HostName> managedHostNames()
List<String> nameServers()
boolean privacy()
boolean readyForDnsRecordManagement()
Contact registrantContact()
DomainStatus registrationStatus()
Contact techContact()
void verifyDomainOwnership(String certificateOrderName, String domainVerificationToken)

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

Completable verifyDomainOwnershipAsync(String certificateOrderName, String domainVerificationToken)

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

Inherited Members

Method Details

adminContact

public Contact adminContact()

Returns:

admin contact information

autoRenew

public boolean autoRenew()

Returns:

true if domain will renewed automatically

billingContact

public Contact billingContact()

Returns:

billing contact information

consent

public DomainPurchaseConsent consent()

Returns:

legal agreement consent.

createdTime

public DateTime createdTime()

Returns:

domain creation timestamp.

expirationTime

public DateTime expirationTime()

Returns:

domain expiration timestamp.

lastRenewedTime

public DateTime lastRenewedTime()

Returns:

timestamp when the domain was renewed last time

managedHostNames

public Map managedHostNames()

Returns:

all hostnames derived from the domain and assigned to Azure resources

nameServers

public List nameServers()

Returns:

name servers

privacy

public boolean privacy()

Returns:

true if domain privacy is enabled for this domain

readyForDnsRecordManagement

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

registrantContact

public Contact registrantContact()

Returns:

registrant contact information

registrationStatus

public DomainStatus registrationStatus()

Returns:

domain registration status

techContact

public Contact techContact()

Returns:

technical contact information

verifyDomainOwnership

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