Class AppServiceCertificateOrderPatchResource


  • public class AppServiceCertificateOrderPatchResource
    extends ProxyOnlyResource
    ARM resource for a certificate order that is purchased through Azure.
    • Constructor Detail

      • AppServiceCertificateOrderPatchResource

        public AppServiceCertificateOrderPatchResource()
    • Method Detail

      • certificates

        public Map<String,​com.microsoft.azure.management.appservice.implementation.AppServiceCertificateInner> certificates()
        Get state of the Key Vault secret.
        Returns:
        the certificates value
      • withCertificates

        public AppServiceCertificateOrderPatchResource withCertificates​(Map<String,​com.microsoft.azure.management.appservice.implementation.AppServiceCertificateInner> certificates)
        Set state of the Key Vault secret.
        Parameters:
        certificates - the certificates value to set
        Returns:
        the AppServiceCertificateOrderPatchResource object itself.
      • distinguishedName

        public String distinguishedName()
        Get certificate distinguished name.
        Returns:
        the distinguishedName value
      • withDistinguishedName

        public AppServiceCertificateOrderPatchResource withDistinguishedName​(String distinguishedName)
        Set certificate distinguished name.
        Parameters:
        distinguishedName - the distinguishedName value to set
        Returns:
        the AppServiceCertificateOrderPatchResource object itself.
      • domainVerificationToken

        public String domainVerificationToken()
        Get domain verification token.
        Returns:
        the domainVerificationToken value
      • validityInYears

        public Integer validityInYears()
        Get duration in years (must be between 1 and 3).
        Returns:
        the validityInYears value
      • withValidityInYears

        public AppServiceCertificateOrderPatchResource withValidityInYears​(Integer validityInYears)
        Set duration in years (must be between 1 and 3).
        Parameters:
        validityInYears - the validityInYears value to set
        Returns:
        the AppServiceCertificateOrderPatchResource object itself.
      • keySize

        public Integer keySize()
        Get certificate key size.
        Returns:
        the keySize value
      • withKeySize

        public AppServiceCertificateOrderPatchResource withKeySize​(Integer keySize)
        Set certificate key size.
        Parameters:
        keySize - the keySize value to set
        Returns:
        the AppServiceCertificateOrderPatchResource object itself.
      • productType

        public CertificateProductType productType()
        Get certificate product type. Possible values include: 'StandardDomainValidatedSsl', 'StandardDomainValidatedWildCardSsl'.
        Returns:
        the productType value
      • withProductType

        public AppServiceCertificateOrderPatchResource withProductType​(CertificateProductType productType)
        Set certificate product type. Possible values include: 'StandardDomainValidatedSsl', 'StandardDomainValidatedWildCardSsl'.
        Parameters:
        productType - the productType value to set
        Returns:
        the AppServiceCertificateOrderPatchResource object itself.
      • autoRenew

        public Boolean autoRenew()
        Get <code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>.
        Returns:
        the autoRenew value
      • withAutoRenew

        public AppServiceCertificateOrderPatchResource withAutoRenew​(Boolean autoRenew)
        Set <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 AppServiceCertificateOrderPatchResource object itself.
      • provisioningState

        public ProvisioningState provisioningState()
        Get status of certificate order. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Deleting'.
        Returns:
        the provisioningState value
      • status

        public CertificateOrderStatus status()
        Get current order status. Possible values include: 'Pendingissuance', 'Issued', 'Revoked', 'Canceled', 'Denied', 'Pendingrevocation', 'PendingRekey', 'Unused', 'Expired', 'NotSubmitted'.
        Returns:
        the status value
      • signedCertificate

        public CertificateDetails signedCertificate()
        Get signed certificate.
        Returns:
        the signedCertificate value
      • csr

        public String csr()
        Get last CSR that was created for this order.
        Returns:
        the csr value
      • withCsr

        public AppServiceCertificateOrderPatchResource withCsr​(String csr)
        Set last CSR that was created for this order.
        Parameters:
        csr - the csr value to set
        Returns:
        the AppServiceCertificateOrderPatchResource object itself.
      • intermediate

        public CertificateDetails intermediate()
        Get intermediate certificate.
        Returns:
        the intermediate value
      • serialNumber

        public String serialNumber()
        Get current serial number of the certificate.
        Returns:
        the serialNumber value
      • lastCertificateIssuanceTime

        public org.joda.time.DateTime lastCertificateIssuanceTime()
        Get certificate last issuance time.
        Returns:
        the lastCertificateIssuanceTime value
      • expirationTime

        public org.joda.time.DateTime expirationTime()
        Get certificate expiration time.
        Returns:
        the expirationTime value
      • isPrivateKeyExternal

        public Boolean isPrivateKeyExternal()
        Get <code>true</code> if private key is external; otherwise, <code>false</code>.
        Returns:
        the isPrivateKeyExternal value
      • appServiceCertificateNotRenewableReasons

        public List<String> appServiceCertificateNotRenewableReasons()
        Get reasons why App Service Certificate is not renewable at the current moment.
        Returns:
        the appServiceCertificateNotRenewableReasons value
      • nextAutoRenewalTimeStamp

        public org.joda.time.DateTime nextAutoRenewalTimeStamp()
        Get time stamp when the certificate would be auto renewed next.
        Returns:
        the nextAutoRenewalTimeStamp value