Partager 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()

Check whether the certificate will renewed automatically.

abstract String certificateSigningRequest()

Gets last certificate signing request that was created for this order.

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

Gets certificate's distinguished name.

abstract String domainVerificationToken()

Gets the domain verification token.

abstract OffsetDateTime expirationTime()

Gets the expiration time.

abstract AppServiceCertificateKeyVaultBinding getKeyVaultBinding()

Gets the state of the Key Vault secret.

abstract Mono<AppServiceCertificateKeyVaultBinding> getKeyVaultBindingAsync()

Gets the state of the Key Vault secret.

abstract CertificateDetails intermediate()

Gets the intermediate certificate.

abstract int keySize()

Gets the certificate key size.

abstract OffsetDateTime lastCertificateIssuanceTime()

Gets the last issuance time.

abstract CertificateProductType productType()

Gets the certificate product type.

abstract CertificateDetails root()

Gets the root certificate.

abstract String serialNumber()

Gets the current serial number of the certificate.

abstract CertificateDetails signedCertificate()

Gets the signed certificate.

abstract CertificateOrderStatus status()

Gets current order status.

abstract int validityInYears()

Gets duration in years.

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

Check whether the certificate will renewed automatically.

Returns:

if the certificate should be automatically renewed upon expiration

certificateSigningRequest

public abstract String certificateSigningRequest()

Gets last certificate signing request that was created for this order.

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

Gets certificate's distinguished name.

Returns:

certificate's distinguished name

domainVerificationToken

public abstract String domainVerificationToken()

Gets the domain verification token.

Returns:

the domain verification token

expirationTime

public abstract OffsetDateTime expirationTime()

Gets the expiration time.

Returns:

expiration time

getKeyVaultBinding

public abstract AppServiceCertificateKeyVaultBinding getKeyVaultBinding()

Gets the state of the Key Vault secret.

Returns:

the state of the Key Vault secret

getKeyVaultBindingAsync

public abstract Mono getKeyVaultBindingAsync()

Gets the state of the Key Vault secret.

Returns:

the state of the Key Vault secret

intermediate

public abstract CertificateDetails intermediate()

Gets the intermediate certificate.

Returns:

the intermediate certificate

keySize

public abstract int keySize()

Gets the certificate key size.

Returns:

the certificate key size

lastCertificateIssuanceTime

public abstract OffsetDateTime lastCertificateIssuanceTime()

Gets the last issuance time.

Returns:

last issuance time

productType

public abstract CertificateProductType productType()

Gets the certificate product type.

Returns:

the certificate product type

root

public abstract CertificateDetails root()

Gets the root certificate.

Returns:

the root certificate

serialNumber

public abstract String serialNumber()

Gets the current serial number of the certificate.

Returns:

current serial number of the certificate

signedCertificate

public abstract CertificateDetails signedCertificate()

Gets the signed certificate.

Returns:

the signed certificate

status

public abstract CertificateOrderStatus status()

Gets current order status.

Returns:

current order status

validityInYears

public abstract int validityInYears()

Gets duration in years.

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