Class AppServiceCertificateOrderPatchResource
- java.lang.Object
-
- com.microsoft.azure.ProxyResource
-
- com.microsoft.azure.management.appservice.ProxyOnlyResource
-
- com.microsoft.azure.management.appservice.AppServiceCertificateOrderPatchResource
-
public class AppServiceCertificateOrderPatchResource extends ProxyOnlyResource
ARM resource for a certificate order that is purchased through Azure.
-
-
Constructor Summary
Constructors Constructor Description AppServiceCertificateOrderPatchResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>appServiceCertificateNotRenewableReasons()Get reasons why App Service Certificate is not renewable at the current moment.BooleanautoRenew()Get <code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>.Map<String,com.microsoft.azure.management.appservice.implementation.AppServiceCertificateInner>certificates()Get state of the Key Vault secret.Stringcsr()Get last CSR that was created for this order.StringdistinguishedName()Get certificate distinguished name.StringdomainVerificationToken()Get domain verification token.org.joda.time.DateTimeexpirationTime()Get certificate expiration time.CertificateDetailsintermediate()Get intermediate certificate.BooleanisPrivateKeyExternal()Get <code>true</code> if private key is external; otherwise, <code>false</code>.IntegerkeySize()Get certificate key size.org.joda.time.DateTimelastCertificateIssuanceTime()Get certificate last issuance time.org.joda.time.DateTimenextAutoRenewalTimeStamp()Get time stamp when the certificate would be auto renewed next.CertificateProductTypeproductType()Get certificate product type.ProvisioningStateprovisioningState()Get status of certificate order.CertificateDetailsroot()Get root certificate.StringserialNumber()Get current serial number of the certificate.CertificateDetailssignedCertificate()Get signed certificate.CertificateOrderStatusstatus()Get current order status.IntegervalidityInYears()Get duration in years (must be between 1 and 3).AppServiceCertificateOrderPatchResourcewithAutoRenew(Boolean autoRenew)Set <code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>.AppServiceCertificateOrderPatchResourcewithCertificates(Map<String,com.microsoft.azure.management.appservice.implementation.AppServiceCertificateInner> certificates)Set state of the Key Vault secret.AppServiceCertificateOrderPatchResourcewithCsr(String csr)Set last CSR that was created for this order.AppServiceCertificateOrderPatchResourcewithDistinguishedName(String distinguishedName)Set certificate distinguished name.AppServiceCertificateOrderPatchResourcewithKeySize(Integer keySize)Set certificate key size.AppServiceCertificateOrderPatchResourcewithProductType(CertificateProductType productType)Set certificate product type.AppServiceCertificateOrderPatchResourcewithValidityInYears(Integer validityInYears)Set duration in years (must be between 1 and 3).-
Methods inherited from class com.microsoft.azure.management.appservice.ProxyOnlyResource
kind, withKind
-
-
-
-
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
-
root
public CertificateDetails root()
Get root certificate.- Returns:
- the root 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
-
-