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 Details

    • AppServiceCertificateOrderInner

      public AppServiceCertificateOrderInner()
  • Method Details

    • 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:
      withLocation in class com.azure.core.management.Resource
    • withTags

      Overrides:
      withTags in class com.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

      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<ResourceNotRenewableReason> 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.