Interface AppServiceCertificateOrder
-
- All Superinterfaces:
com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource<com.microsoft.azure.management.appservice.implementation.AppServiceManager,com.microsoft.azure.management.appservice.implementation.AppServiceCertificateOrderInner>,com.microsoft.azure.management.resources.fluentcore.arm.models.HasId,com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.appservice.implementation.AppServiceCertificateOrderInner>,com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager<com.microsoft.azure.management.appservice.implementation.AppServiceManager>,com.microsoft.azure.management.resources.fluentcore.arm.models.HasName,com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup,com.microsoft.azure.management.resources.fluentcore.model.Indexable,com.microsoft.azure.management.resources.fluentcore.model.Refreshable<AppServiceCertificateOrder>,com.microsoft.azure.management.resources.fluentcore.arm.models.Resource,com.microsoft.azure.management.resources.fluentcore.model.Updatable<AppServiceCertificateOrder.Update>
@Beta public interface AppServiceCertificateOrder extends com.microsoft.azure.management.resources.fluentcore.arm.models.GroupableResource<com.microsoft.azure.management.appservice.implementation.AppServiceManager,com.microsoft.azure.management.appservice.implementation.AppServiceCertificateOrderInner>, com.microsoft.azure.management.resources.fluentcore.model.Refreshable<AppServiceCertificateOrder>, com.microsoft.azure.management.resources.fluentcore.model.Updatable<AppServiceCertificateOrder.Update>
An immutable client-side representation of an Azure App Service certificate order.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceAppServiceCertificateOrder.DefinitionContainer interface for all the definitions that need to be implemented.static interfaceAppServiceCertificateOrder.DefinitionStagesGrouping of all the app service certificate order definition stages.static interfaceAppServiceCertificateOrder.UpdateThe template for an app service certificate order update operation, containing all the settings that can be modified.static interfaceAppServiceCertificateOrder.UpdateStagesGrouping of all the app service certificate order update stages.-
Nested classes/interfaces inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource
com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithRegion<T extends Object>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.DefinitionWithTags<T extends Object>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.UpdateWithTags<T extends Object>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanautoRenew()StringcertificateSigningRequest()AppServiceCertificateKeyVaultBindingcreateKeyVaultBinding(String certificateName, com.microsoft.azure.management.keyvault.Vault vault)Bind a Key Vault secret to a certificate store that will be used for storing the certificate once it's ready.rx.Observable<AppServiceCertificateKeyVaultBinding>createKeyVaultBindingAsync(String certificateName, com.microsoft.azure.management.keyvault.Vault vault)Bind a Key Vault secret to a certificate store that will be used for storing the certificate once it's ready.StringdistinguishedName()StringdomainVerificationToken()org.joda.time.DateTimeexpirationTime()AppServiceCertificateKeyVaultBindinggetKeyVaultBinding()rx.Observable<AppServiceCertificateKeyVaultBinding>getKeyVaultBindingAsync()CertificateDetailsintermediate()intkeySize()org.joda.time.DateTimelastCertificateIssuanceTime()CertificateProductTypeproductType()CertificateDetailsroot()StringserialNumber()CertificateDetailssignedCertificate()CertificateOrderStatusstatus()intvalidityInYears()voidverifyDomainOwnership(AppServiceDomain domain)Verifies the ownership of the domain by providing the Azure purchased domain.rx.CompletableverifyDomainOwnershipAsync(AppServiceDomain domain)Verifies the ownership of the domain by providing the Azure purchased domain.-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasId
id
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasManager
manager
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
key
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
-
-
-
Method Detail
-
distinguishedName
String distinguishedName()
- Returns:
- certificate's distinguished name
-
domainVerificationToken
String domainVerificationToken()
- Returns:
- the domain verification token
-
validityInYears
int validityInYears()
- Returns:
- duration in years (must be between 1 and 3)
-
keySize
int keySize()
- Returns:
- the certificate key size
-
productType
CertificateProductType productType()
- Returns:
- the certificate product type
-
autoRenew
boolean autoRenew()
- Returns:
- if the certificate should be automatically renewed upon expiration
-
status
CertificateOrderStatus status()
- Returns:
- current order status
-
signedCertificate
CertificateDetails signedCertificate()
- Returns:
- the signed certificate
-
certificateSigningRequest
String certificateSigningRequest()
- Returns:
- last certificate signing request that was created for this order
-
intermediate
CertificateDetails intermediate()
- Returns:
- the intermediate certificate
-
root
CertificateDetails root()
- Returns:
- the root certificate
-
serialNumber
String serialNumber()
- Returns:
- current serial number of the certificate
-
lastCertificateIssuanceTime
org.joda.time.DateTime lastCertificateIssuanceTime()
- Returns:
- last issuance time
-
expirationTime
org.joda.time.DateTime expirationTime()
- Returns:
- expiration time
-
createKeyVaultBinding
AppServiceCertificateKeyVaultBinding createKeyVaultBinding(String certificateName, com.microsoft.azure.management.keyvault.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
-
createKeyVaultBindingAsync
rx.Observable<AppServiceCertificateKeyVaultBinding> createKeyVaultBindingAsync(String certificateName, com.microsoft.azure.management.keyvault.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()
- Returns:
- the state of the Key Vault secret
-
getKeyVaultBindingAsync
rx.Observable<AppServiceCertificateKeyVaultBinding> getKeyVaultBindingAsync()
- Returns:
- the state of the Key Vault secret
-
verifyDomainOwnership
void verifyDomainOwnership(AppServiceDomain domain)
Verifies the ownership of the domain by providing the Azure purchased domain.- Parameters:
domain- the Azure managed domain
-
verifyDomainOwnershipAsync
rx.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
-
-