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.ResourceSSL certificate purchase order.
-
-
Constructor Summary
Constructors Constructor Description AppServiceCertificateOrderInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem>appServiceCertificateNotRenewableReasons()Get the appServiceCertificateNotRenewableReasons property: Reasons why App Service Certificate is not renewable at the current moment.BooleanautoRenew()Get the autoRenew property: <code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>.Map<String,AppServiceCertificateInner>certificates()Get the certificates property: State of the Key Vault secret.CertificateOrderContactcontact()Get the contact property: Contact info.Stringcsr()Get the csr property: Last CSR that was created for this order.StringdistinguishedName()Get the distinguishedName property: Certificate distinguished name.StringdomainVerificationToken()Get the domainVerificationToken property: Domain verification token.OffsetDateTimeexpirationTime()Get the expirationTime property: Certificate expiration time.CertificateDetailsintermediate()Get the intermediate property: Intermediate certificate.BooleanisPrivateKeyExternal()Get the isPrivateKeyExternal property: <code>true</code> if private key is external; otherwise, <code>false</code>.IntegerkeySize()Get the keySize property: Certificate key size.Stringkind()Get the kind property: Kind of resource.OffsetDateTimelastCertificateIssuanceTime()Get the lastCertificateIssuanceTime property: Certificate last issuance time.OffsetDateTimenextAutoRenewalTimestamp()Get the nextAutoRenewalTimestamp property: Time stamp when the certificate would be auto renewed next.CertificateProductTypeproductType()Get the productType property: Certificate product type.ProvisioningStateprovisioningState()Get the provisioningState property: Status of certificate order.CertificateDetailsroot()Get the root property: Root certificate.StringserialNumber()Get the serialNumber property: Current serial number of the certificate.CertificateDetailssignedCertificate()Get the signedCertificate property: Signed certificate.CertificateOrderStatusstatus()Get the status property: Current order status.voidvalidate()Validates the instance.IntegervalidityInYears()Get the validityInYears property: Duration in years (must be 1).AppServiceCertificateOrderInnerwithAutoRenew(Boolean autoRenew)Set the autoRenew property: <code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>.AppServiceCertificateOrderInnerwithCertificates(Map<String,AppServiceCertificateInner> certificates)Set the certificates property: State of the Key Vault secret.AppServiceCertificateOrderInnerwithCsr(String csr)Set the csr property: Last CSR that was created for this order.AppServiceCertificateOrderInnerwithDistinguishedName(String distinguishedName)Set the distinguishedName property: Certificate distinguished name.AppServiceCertificateOrderInnerwithKeySize(Integer keySize)Set the keySize property: Certificate key size.AppServiceCertificateOrderInnerwithKind(String kind)Set the kind property: Kind of resource.AppServiceCertificateOrderInnerwithLocation(String location)AppServiceCertificateOrderInnerwithProductType(CertificateProductType productType)Set the productType property: Certificate product type.AppServiceCertificateOrderInnerwithTags(Map<String,String> tags)AppServiceCertificateOrderInnerwithValidityInYears(Integer validityInYears)Set the validityInYears property: Duration in years (must be 1).
-
-
-
Method Detail
-
kind
public String kind()
Get the kind property: Kind of resource.- Returns:
- the kind value.
-
withKind
public AppServiceCertificateOrderInner withKind(String kind)
Set the kind property: Kind of resource.- Parameters:
kind- the kind value to set.- Returns:
- the AppServiceCertificateOrderInner object itself.
-
withLocation
public AppServiceCertificateOrderInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public AppServiceCertificateOrderInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
certificates
public Map<String,AppServiceCertificateInner> 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
public String distinguishedName()
Get the distinguishedName property: Certificate distinguished name.- Returns:
- the distinguishedName value.
-
withDistinguishedName
public AppServiceCertificateOrderInner withDistinguishedName(String distinguishedName)
Set the distinguishedName property: Certificate distinguished name.- Parameters:
distinguishedName- the distinguishedName value to set.- Returns:
- the AppServiceCertificateOrderInner object itself.
-
domainVerificationToken
public String domainVerificationToken()
Get the domainVerificationToken property: Domain verification token.- Returns:
- the domainVerificationToken value.
-
validityInYears
public Integer validityInYears()
Get the validityInYears property: Duration in years (must be 1).- Returns:
- the validityInYears value.
-
withValidityInYears
public AppServiceCertificateOrderInner withValidityInYears(Integer validityInYears)
Set the validityInYears property: Duration in years (must be 1).- Parameters:
validityInYears- the validityInYears value to set.- Returns:
- the AppServiceCertificateOrderInner object itself.
-
keySize
public Integer keySize()
Get the keySize property: Certificate key size.- Returns:
- the keySize value.
-
withKeySize
public AppServiceCertificateOrderInner withKeySize(Integer keySize)
Set the keySize property: Certificate key size.- Parameters:
keySize- the keySize value to set.- Returns:
- the AppServiceCertificateOrderInner object itself.
-
productType
public CertificateProductType productType()
Get the productType property: Certificate product type.- Returns:
- the productType value.
-
withProductType
public AppServiceCertificateOrderInner withProductType(CertificateProductType productType)
Set the productType property: Certificate product type.- Parameters:
productType- the productType value to set.- Returns:
- the AppServiceCertificateOrderInner object itself.
-
autoRenew
public Boolean 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
public AppServiceCertificateOrderInner withAutoRenew(Boolean autoRenew)
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
public ProvisioningState provisioningState()
Get the provisioningState property: Status of certificate order.- Returns:
- the provisioningState value.
-
status
public CertificateOrderStatus status()
Get the status property: Current order status.- Returns:
- the status value.
-
signedCertificate
public CertificateDetails signedCertificate()
Get the signedCertificate property: Signed certificate.- Returns:
- the signedCertificate value.
-
csr
public String csr()
Get the csr property: Last CSR that was created for this order.- Returns:
- the csr value.
-
withCsr
public AppServiceCertificateOrderInner withCsr(String csr)
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
public CertificateDetails intermediate()
Get the intermediate property: Intermediate certificate.- Returns:
- the intermediate value.
-
root
public CertificateDetails root()
Get the root property: Root certificate.- Returns:
- the root value.
-
serialNumber
public String serialNumber()
Get the serialNumber property: Current serial number of the certificate.- Returns:
- the serialNumber value.
-
lastCertificateIssuanceTime
public OffsetDateTime lastCertificateIssuanceTime()
Get the lastCertificateIssuanceTime property: Certificate last issuance time.- Returns:
- the lastCertificateIssuanceTime value.
-
expirationTime
public OffsetDateTime expirationTime()
Get the expirationTime property: Certificate expiration time.- Returns:
- the expirationTime value.
-
isPrivateKeyExternal
public Boolean isPrivateKeyExternal()
Get the isPrivateKeyExternal property: <code>true</code> if private key is external; otherwise, <code>false</code>.- Returns:
- the isPrivateKeyExternal value.
-
appServiceCertificateNotRenewableReasons
public List<AppServiceCertificateOrderPropertiesAppServiceCertificateNotRenewableReasonsItem> appServiceCertificateNotRenewableReasons()
Get the appServiceCertificateNotRenewableReasons property: Reasons why App Service Certificate is not renewable at the current moment.- Returns:
- the appServiceCertificateNotRenewableReasons value.
-
nextAutoRenewalTimestamp
public OffsetDateTime nextAutoRenewalTimestamp()
Get the nextAutoRenewalTimestamp property: Time stamp when the certificate would be auto renewed next.- Returns:
- the nextAutoRenewalTimestamp value.
-
contact
public CertificateOrderContact 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.
-
-