Partilhar via


AppServiceCertificateOrder Interface

Implements

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

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

Method Summary

Modifier and Type Method and Description
abstract boolean autoRenew()
abstract String certificateSigningRequest()
abstract 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.

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

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

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

abstract Mono<Void> verifyDomainOwnershipAsync(AppServiceDomain domain)

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

Method Details

autoRenew

public abstract boolean autoRenew()

Returns:

if the certificate should be automatically renewed upon expiration

certificateSigningRequest

public abstract String certificateSigningRequest()

Returns:

last certificate signing request that was created for this order

createKeyVaultBinding

public abstract 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 abstract Mono 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 abstract String distinguishedName()

Returns:

certificate's distinguished name

domainVerificationToken

public abstract String domainVerificationToken()

Returns:

the domain verification token

expirationTime

public abstract OffsetDateTime expirationTime()

Returns:

expiration time

getKeyVaultBinding

public abstract AppServiceCertificateKeyVaultBinding getKeyVaultBinding()

Returns:

the state of the Key Vault secret

getKeyVaultBindingAsync

public abstract Mono getKeyVaultBindingAsync()

Returns:

the state of the Key Vault secret

intermediate

public abstract CertificateDetails intermediate()

Returns:

the intermediate certificate

keySize

public abstract int keySize()

Returns:

the certificate key size

lastCertificateIssuanceTime

public abstract OffsetDateTime lastCertificateIssuanceTime()

Returns:

last issuance time

productType

public abstract CertificateProductType productType()

Returns:

the certificate product type

root

public abstract CertificateDetails root()

Returns:

the root certificate

serialNumber

public abstract String serialNumber()

Returns:

current serial number of the certificate

signedCertificate

public abstract CertificateDetails signedCertificate()

Returns:

the signed certificate

status

public abstract CertificateOrderStatus status()

Returns:

current order status

validityInYears

public abstract int validityInYears()

Returns:

duration in years (must be between 1 and 3)

verifyDomainOwnership

public abstract void verifyDomainOwnership(AppServiceDomain domain)

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

Parameters:

domain - the Azure managed domain

verifyDomainOwnershipAsync

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