AppServiceCertificateOrderInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. appservice. fluent. models. AppServiceCertificateOrderInner
- com.
- com.
- com.
public final class AppServiceCertificateOrderInner
extends Resource
SSL certificate purchase order.
Constructor Summary
Constructor | Description |
---|---|
AppServiceCertificateOrderInner() |
Creates an instance of App |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Resource |
appServiceCertificateNotRenewableReasons()
Get the app |
Boolean |
autoRenew()
Get the auto |
Map<String,App |
certificates()
Get the certificates property: State of the Key Vault secret. |
Certificate |
contact()
Get the contact property: Contact info. |
String |
csr()
Get the csr property: Last CSR that was created for this order. |
String |
distinguishedName()
Get the distinguished |
String |
domainVerificationToken()
Get the domain |
Offset |
expirationTime()
Get the expiration |
static
App |
fromJson(JsonReader jsonReader)
Reads an instance of App |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Certificate |
intermediate()
Get the intermediate property: Intermediate certificate. |
Boolean |
isPrivateKeyExternal()
Get the is |
Integer |
keySize()
Get the key |
String |
kind()
Get the kind property: Kind of resource. |
Offset |
lastCertificateIssuanceTime()
Get the last |
String |
name()
Get the name property: The name of the resource. |
Offset |
nextAutoRenewalTimestamp()
Get the next |
Certificate |
productType()
Get the product |
Provisioning |
provisioningState()
Get the provisioning |
Certificate |
root()
Get the root property: Root certificate. |
String |
serialNumber()
Get the serial |
Certificate |
signedCertificate()
Get the signed |
Certificate |
status()
Get the status property: Current order status. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Integer |
validityInYears()
Get the validity |
App |
withAutoRenew(Boolean autoRenew)
Set the auto |
App |
withCertificates(Map<String,AppServiceCertificateInner> certificates)
Set the certificates property: State of the Key Vault secret. |
App |
withCsr(String csr)
Set the csr property: Last CSR that was created for this order. |
App |
withDistinguishedName(String distinguishedName)
Set the distinguished |
App |
withKeySize(Integer keySize)
Set the key |
App |
withKind(String kind)
Set the kind property: Kind of resource. |
App |
withLocation(String location) |
App |
withProductType(CertificateProductType productType)
Set the product |
App |
withTags(Map<String,String> tags) |
App |
withValidityInYears(Integer validityInYears)
Set the validity |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
AppServiceCertificateOrderInner
public AppServiceCertificateOrderInner()
Creates an instance of AppServiceCertificateOrderInner class.
Method Details
appServiceCertificateNotRenewableReasons
public List
Get the appServiceCertificateNotRenewableReasons property: Reasons why App Service Certificate is not renewable at the current moment.
Returns:
autoRenew
public Boolean autoRenew()
Get the autoRenew property: true
if the certificate should be automatically renewed when it expires; otherwise, false
.
Returns:
certificates
public Map
Get the certificates property: State of the Key Vault secret.
Returns:
contact
public CertificateOrderContact contact()
Get the contact property: Contact info.
Returns:
csr
public String csr()
Get the csr property: Last CSR that was created for this order.
Returns:
distinguishedName
public String distinguishedName()
Get the distinguishedName property: Certificate distinguished name.
Returns:
domainVerificationToken
public String domainVerificationToken()
Get the domainVerificationToken property: Domain verification token.
Returns:
expirationTime
public OffsetDateTime expirationTime()
Get the expirationTime property: Certificate expiration time.
Returns:
fromJson
public static AppServiceCertificateOrderInner fromJson(JsonReader jsonReader)
Reads an instance of AppServiceCertificateOrderInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AppServiceCertificateOrderInner.id()Returns:
intermediate
public CertificateDetails intermediate()
Get the intermediate property: Intermediate certificate.
Returns:
isPrivateKeyExternal
public Boolean isPrivateKeyExternal()
Get the isPrivateKeyExternal property: true
if private key is external; otherwise, false
.
Returns:
keySize
public Integer keySize()
Get the keySize property: Certificate key size.
Returns:
kind
public String kind()
Get the kind property: Kind of resource.
Returns:
lastCertificateIssuanceTime
public OffsetDateTime lastCertificateIssuanceTime()
Get the lastCertificateIssuanceTime property: Certificate last issuance time.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AppServiceCertificateOrderInner.name()Returns:
nextAutoRenewalTimestamp
public OffsetDateTime nextAutoRenewalTimestamp()
Get the nextAutoRenewalTimestamp property: Time stamp when the certificate would be auto renewed next.
Returns:
productType
public CertificateProductType productType()
Get the productType property: Certificate product type.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Status of certificate order.
Returns:
root
public CertificateDetails root()
Get the root property: Root certificate.
Returns:
serialNumber
public String serialNumber()
Get the serialNumber property: Current serial number of the certificate.
Returns:
signedCertificate
public CertificateDetails signedCertificate()
Get the signedCertificate property: Signed certificate.
Returns:
status
public CertificateOrderStatus status()
Get the status property: Current order status.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AppServiceCertificateOrderInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AppServiceCertificateOrderInner.type()Returns:
validate
public void validate()
Validates the instance.
validityInYears
public Integer validityInYears()
Get the validityInYears property: Duration in years (must be 1).
Returns:
withAutoRenew
public AppServiceCertificateOrderInner withAutoRenew(Boolean autoRenew)
Set the autoRenew property: true
if the certificate should be automatically renewed when it expires; otherwise, false
.
Parameters:
Returns:
withCertificates
public AppServiceCertificateOrderInner withCertificates(Map
Set the certificates property: State of the Key Vault secret.
Parameters:
Returns:
withCsr
public AppServiceCertificateOrderInner withCsr(String csr)
Set the csr property: Last CSR that was created for this order.
Parameters:
Returns:
withDistinguishedName
public AppServiceCertificateOrderInner withDistinguishedName(String distinguishedName)
Set the distinguishedName property: Certificate distinguished name.
Parameters:
Returns:
withKeySize
public AppServiceCertificateOrderInner withKeySize(Integer keySize)
Set the keySize property: Certificate key size.
Parameters:
Returns:
withKind
public AppServiceCertificateOrderInner withKind(String kind)
Set the kind property: Kind of resource.
Parameters:
Returns:
withLocation
public AppServiceCertificateOrderInner withLocation(String location)
Overrides:
AppServiceCertificateOrderInner.withLocation(String location)Parameters:
withProductType
public AppServiceCertificateOrderInner withProductType(CertificateProductType productType)
Set the productType property: Certificate product type.
Parameters:
Returns:
withTags
public AppServiceCertificateOrderInner withTags(Map
Overrides:
AppServiceCertificateOrderInner.withTags(Map<String,String> tags)Parameters:
withValidityInYears
public AppServiceCertificateOrderInner withValidityInYears(Integer validityInYears)
Set the validityInYears property: Duration in years (must be 1).
Parameters:
Returns:
Applies to
Azure SDK for Java