Interface AppServiceCertificateOrder
- All Superinterfaces:
GroupableResource<AppServiceManager,
,AppServiceCertificateOrderInner> HasId
,HasInnerModel<AppServiceCertificateOrderInner>
,HasManager<AppServiceManager>
,HasName
,HasResourceGroup
,Indexable
,Refreshable<AppServiceCertificateOrder>
,Resource
,Updatable<AppServiceCertificateOrder.Update>
public interface AppServiceCertificateOrder
extends GroupableResource<AppServiceManager,AppServiceCertificateOrderInner>, Refreshable<AppServiceCertificateOrder>, Updatable<AppServiceCertificateOrder.Update>
An immutable client-side representation of an Azure App Service certificate order.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Container interface for all the definitions that need to be implemented.static interface
Grouping of all the app service certificate order definition stages.static interface
The template for an app service certificate order update operation, containing all the settings that can be modified.static interface
Grouping of all the app service certificate order update stages.Nested classes/interfaces inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check whether the certificate will renewed automatically.Gets last certificate signing request that was created for this order.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.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.Gets certificate's distinguished name.Gets the domain verification token.Gets the expiration time.Gets the state of the Key Vault secret.Gets the state of the Key Vault secret.Gets the intermediate certificate.int
keySize()
Gets the certificate key size.Gets the last issuance time.Gets the certificate product type.root()
Gets the root certificate.Gets the current serial number of the certificate.Gets the signed certificate.status()
Gets current order status.int
Gets duration in years.void
Verifies the ownership of the domain by providing the Azure purchased domain.Verifies the ownership of the domain by providing the Azure purchased domain.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
region, regionName, tags, type
-
Method Details
-
distinguishedName
String distinguishedName()Gets certificate's distinguished name.- Returns:
- certificate's distinguished name
-
domainVerificationToken
String domainVerificationToken()Gets the domain verification token.- Returns:
- the domain verification token
-
validityInYears
int validityInYears()Gets duration in years.- Returns:
- duration in years (must be between 1 and 3)
-
keySize
int keySize()Gets the certificate key size.- Returns:
- the certificate key size
-
productType
CertificateProductType productType()Gets the certificate product type.- Returns:
- the certificate product type
-
autoRenew
boolean autoRenew()Check whether the certificate will renewed automatically.- Returns:
- if the certificate should be automatically renewed upon expiration
-
status
CertificateOrderStatus status()Gets current order status.- Returns:
- current order status
-
signedCertificate
CertificateDetails signedCertificate()Gets the signed certificate.- Returns:
- the signed certificate
-
certificateSigningRequest
String certificateSigningRequest()Gets last certificate signing request that was created for this order.- Returns:
- last certificate signing request that was created for this order
-
intermediate
CertificateDetails intermediate()Gets the intermediate certificate.- Returns:
- the intermediate certificate
-
root
CertificateDetails root()Gets the root certificate.- Returns:
- the root certificate
-
serialNumber
String serialNumber()Gets the current serial number of the certificate.- Returns:
- current serial number of the certificate
-
lastCertificateIssuanceTime
OffsetDateTime lastCertificateIssuanceTime()Gets the last issuance time.- Returns:
- last issuance time
-
expirationTime
OffsetDateTime expirationTime()Gets the expiration time.- Returns:
- expiration time
-
createKeyVaultBinding
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 Secretvault
- the key vault to store the certificate- Returns:
- a binding containing the key vault information
-
createKeyVaultBindingAsync
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.- Parameters:
certificateName
- the name of the Key Vault Secretvault
- the key vault to store the certificate- Returns:
- a binding containing the key vault information
-
getKeyVaultBinding
AppServiceCertificateKeyVaultBinding getKeyVaultBinding()Gets the state of the Key Vault secret.- Returns:
- the state of the Key Vault secret
-
getKeyVaultBindingAsync
Mono<AppServiceCertificateKeyVaultBinding> getKeyVaultBindingAsync()Gets the state of the Key Vault secret.- Returns:
- the state of the Key Vault secret
-
verifyDomainOwnership
Verifies the ownership of the domain by providing the Azure purchased domain.- Parameters:
domain
- the Azure managed domain
-
verifyDomainOwnershipAsync
Verifies the ownership of the domain by providing the Azure purchased domain.- Parameters:
domain
- the Azure managed domain- Returns:
- an Observable to the result
-