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

AppServiceCertificateOrder Interface

public interface AppServiceCertificateOrder extends GroupableResource<AppServiceManager, AppServiceCertificateOrderInner>,Refreshable,Updatable<AppServiceCertificateOrder.Update>

An immutable client-side representation of an Azure App Service certificate order.

Method Summary

Modifier and Type Method and Description
boolean autoRenew()
String certificateSigningRequest()
AppServiceCertificateKeyVaultBinding createKeyVaultBinding(String certificateName, Vault vault)

Bind a Key Vault secret to a certificate store that will be used for storing the certificate once it's ready.

Observable<AppServiceCertificateKeyVaultBinding> createKeyVaultBindingAsync(String certificateName, Vault vault)

Bind a Key Vault secret to a certificate store that will be used for storing the certificate once it's ready.

String distinguishedName()
String domainVerificationToken()
DateTime expirationTime()
AppServiceCertificateKeyVaultBinding getKeyVaultBinding()
Observable<AppServiceCertificateKeyVaultBinding> getKeyVaultBindingAsync()
CertificateDetails intermediate()
int keySize()
DateTime lastCertificateIssuanceTime()
CertificateProductType productType()
CertificateDetails root()
String serialNumber()
CertificateDetails signedCertificate()
CertificateOrderStatus status()
int validityInYears()
void verifyDomainOwnership(AppServiceDomain domain)

Verifies the ownership of the domain by providing the Azure purchased domain.

Completable verifyDomainOwnershipAsync(AppServiceDomain domain)

Verifies the ownership of the domain by providing the Azure purchased domain.

Inherited Members

Method Details

autoRenew

public boolean autoRenew()

Returns:

if the certificate should be automatically renewed upon expiration

certificateSigningRequest

public String certificateSigningRequest()

Returns:

last certificate signing request that was created for this order

createKeyVaultBinding

public AppServiceCertificateKeyVaultBinding createKeyVaultBinding(String certificateName, Vault vault)

Bind a Key Vault secret to a certificate store that will be used for storing the certificate once it's ready.

Parameters:

certificateName - the name of the Key Vault Secret
vault - the key vault to store the certificate

Returns:

a binding containing the key vault information

createKeyVaultBindingAsync

public Observable createKeyVaultBindingAsync(String certificateName, Vault vault)

Bind a Key Vault secret to a certificate store that will be used for storing the certificate once it's ready.

Parameters:

certificateName - the name of the Key Vault Secret
vault - the key vault to store the certificate

Returns:

a binding containing the key vault information

distinguishedName

public String distinguishedName()

Returns:

certificate's distinguished name

domainVerificationToken

public String domainVerificationToken()

Returns:

the domain verification token

expirationTime

public DateTime expirationTime()

Returns:

expiration time

getKeyVaultBinding

public AppServiceCertificateKeyVaultBinding getKeyVaultBinding()

Returns:

the state of the Key Vault secret

getKeyVaultBindingAsync

public Observable getKeyVaultBindingAsync()

Returns:

the state of the Key Vault secret

intermediate

public CertificateDetails intermediate()

Returns:

the intermediate certificate

keySize

public int keySize()

Returns:

the certificate key size

lastCertificateIssuanceTime

public DateTime lastCertificateIssuanceTime()

Returns:

last issuance time

productType

public CertificateProductType productType()

Returns:

the certificate product type

root

public CertificateDetails root()

Returns:

the root certificate

serialNumber

public String serialNumber()

Returns:

current serial number of the certificate

signedCertificate

public CertificateDetails signedCertificate()

Returns:

the signed certificate

status

public CertificateOrderStatus status()

Returns:

current order status

validityInYears

public int validityInYears()

Returns:

duration in years (must be between 1 and 3)

verifyDomainOwnership

public void verifyDomainOwnership(AppServiceDomain domain)

Verifies the ownership of the domain by providing the Azure purchased domain.

Parameters:

domain - the Azure managed domain

verifyDomainOwnershipAsync

public Completable verifyDomainOwnershipAsync(AppServiceDomain domain)

Verifies the ownership of the domain by providing the Azure purchased domain.

Parameters:

domain - the Azure managed domain

Returns:

an Observable to the result

Applies to