Class AppServiceCertificateOrderInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.appservice.fluent.models.AppServiceCertificateOrderInner
public final class AppServiceCertificateOrderInner
extends com.azure.core.management.Resource
SSL certificate purchase order.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the appServiceCertificateNotRenewableReasons property: Reasons why App Service Certificate is not renewable at the current moment.Get the autoRenew property: <code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>.Get the certificates property: State of the Key Vault secret.contact()
Get the contact property: Contact info.csr()
Get the csr property: Last CSR that was created for this order.Get the distinguishedName property: Certificate distinguished name.Get the domainVerificationToken property: Domain verification token.Get the expirationTime property: Certificate expiration time.Get the intermediate property: Intermediate certificate.Get the isPrivateKeyExternal property: <code>true</code> if private key is external; otherwise, <code>false</code>.keySize()
Get the keySize property: Certificate key size.kind()
Get the kind property: Kind of resource.Get the lastCertificateIssuanceTime property: Certificate last issuance time.Get the nextAutoRenewalTimestamp property: Time stamp when the certificate would be auto renewed next.Get the productType property: Certificate product type.Get the provisioningState property: Status of certificate order.root()
Get the root property: Root certificate.Get the serialNumber property: Current serial number of the certificate.Get the signedCertificate property: Signed certificate.status()
Get the status property: Current order status.void
validate()
Validates the instance.Get the validityInYears property: Duration in years (must be 1).withAutoRenew
(Boolean autoRenew) Set the autoRenew property: <code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>.withCertificates
(Map<String, AppServiceCertificateInner> certificates) Set the certificates property: State of the Key Vault secret.Set the csr property: Last CSR that was created for this order.withDistinguishedName
(String distinguishedName) Set the distinguishedName property: Certificate distinguished name.withKeySize
(Integer keySize) Set the keySize property: Certificate key size.Set the kind property: Kind of resource.withLocation
(String location) withProductType
(CertificateProductType productType) Set the productType property: Certificate product type.withValidityInYears
(Integer validityInYears) Set the validityInYears property: Duration in years (must be 1).Methods inherited from class com.azure.core.management.Resource
location, tags
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AppServiceCertificateOrderInner
public AppServiceCertificateOrderInner()
-
-
Method Details
-
kind
Get the kind property: Kind of resource.- Returns:
- the kind value.
-
withKind
Set the kind property: Kind of resource.- Parameters:
kind
- the kind value to set.- Returns:
- the AppServiceCertificateOrderInner object itself.
-
withLocation
- Overrides:
withLocation
in classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTags
in classcom.azure.core.management.Resource
-
certificates
Get the certificates property: State of the Key Vault secret.- Returns:
- the certificates value.
-
withCertificates
public AppServiceCertificateOrderInner withCertificates(Map<String, AppServiceCertificateInner> certificates) Set the certificates property: State of the Key Vault secret.- Parameters:
certificates
- the certificates value to set.- Returns:
- the AppServiceCertificateOrderInner object itself.
-
distinguishedName
Get the distinguishedName property: Certificate distinguished name.- Returns:
- the distinguishedName value.
-
withDistinguishedName
Set the distinguishedName property: Certificate distinguished name.- Parameters:
distinguishedName
- the distinguishedName value to set.- Returns:
- the AppServiceCertificateOrderInner object itself.
-
domainVerificationToken
Get the domainVerificationToken property: Domain verification token.- Returns:
- the domainVerificationToken value.
-
validityInYears
Get the validityInYears property: Duration in years (must be 1).- Returns:
- the validityInYears value.
-
withValidityInYears
Set the validityInYears property: Duration in years (must be 1).- Parameters:
validityInYears
- the validityInYears value to set.- Returns:
- the AppServiceCertificateOrderInner object itself.
-
keySize
Get the keySize property: Certificate key size.- Returns:
- the keySize value.
-
withKeySize
Set the keySize property: Certificate key size.- Parameters:
keySize
- the keySize value to set.- Returns:
- the AppServiceCertificateOrderInner object itself.
-
productType
Get the productType property: Certificate product type.- Returns:
- the productType value.
-
withProductType
Set the productType property: Certificate product type.- Parameters:
productType
- the productType value to set.- Returns:
- the AppServiceCertificateOrderInner object itself.
-
autoRenew
Get the autoRenew property: <code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>.- Returns:
- the autoRenew value.
-
withAutoRenew
Set the autoRenew property: <code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>.- Parameters:
autoRenew
- the autoRenew value to set.- Returns:
- the AppServiceCertificateOrderInner object itself.
-
provisioningState
Get the provisioningState property: Status of certificate order.- Returns:
- the provisioningState value.
-
status
Get the status property: Current order status.- Returns:
- the status value.
-
signedCertificate
Get the signedCertificate property: Signed certificate.- Returns:
- the signedCertificate value.
-
csr
Get the csr property: Last CSR that was created for this order.- Returns:
- the csr value.
-
withCsr
Set the csr property: Last CSR that was created for this order.- Parameters:
csr
- the csr value to set.- Returns:
- the AppServiceCertificateOrderInner object itself.
-
intermediate
Get the intermediate property: Intermediate certificate.- Returns:
- the intermediate value.
-
root
Get the root property: Root certificate.- Returns:
- the root value.
-
serialNumber
Get the serialNumber property: Current serial number of the certificate.- Returns:
- the serialNumber value.
-
lastCertificateIssuanceTime
Get the lastCertificateIssuanceTime property: Certificate last issuance time.- Returns:
- the lastCertificateIssuanceTime value.
-
expirationTime
Get the expirationTime property: Certificate expiration time.- Returns:
- the expirationTime value.
-
isPrivateKeyExternal
Get the isPrivateKeyExternal property: <code>true</code> if private key is external; otherwise, <code>false</code>.- Returns:
- the isPrivateKeyExternal value.
-
appServiceCertificateNotRenewableReasons
Get the appServiceCertificateNotRenewableReasons property: Reasons why App Service Certificate is not renewable at the current moment.- Returns:
- the appServiceCertificateNotRenewableReasons value.
-
nextAutoRenewalTimestamp
Get the nextAutoRenewalTimestamp property: Time stamp when the certificate would be auto renewed next.- Returns:
- the nextAutoRenewalTimestamp value.
-
contact
Get the contact property: Contact info.- Returns:
- the contact value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-