public class CertificatePatchResource extends ProxyOnlyResource
| Constructor and Description |
|---|
CertificatePatchResource() |
| Modifier and Type | Method and Description |
|---|---|
String |
canonicalName()
Get the canonicalName property: CNAME of the certificate to be issued via free certificate.
|
byte[] |
cerBlob()
Get the cerBlob property: Raw bytes of .cer file.
|
String |
domainValidationMethod()
Get the domainValidationMethod property: Method of domain validation for free cert.
|
OffsetDateTime |
expirationDate()
Get the expirationDate property: Certificate expiration date.
|
String |
friendlyName()
Get the friendlyName property: Friendly name of the certificate.
|
HostingEnvironmentProfile |
hostingEnvironmentProfile()
Get the hostingEnvironmentProfile property: Specification for the App Service Environment to use for the
certificate.
|
List<String> |
hostNames()
Get the hostNames property: Host names the certificate applies to.
|
OffsetDateTime |
issueDate()
Get the issueDate property: Certificate issue Date.
|
String |
issuer()
Get the issuer property: Certificate issuer.
|
String |
keyVaultId()
Get the keyVaultId property: Key Vault Csm resource Id.
|
String |
keyVaultSecretName()
Get the keyVaultSecretName property: Key Vault secret name.
|
KeyVaultSecretStatus |
keyVaultSecretStatus()
Get the keyVaultSecretStatus property: Status of the Key Vault secret.
|
String |
password()
Get the password property: Certificate password.
|
byte[] |
pfxBlob()
Get the pfxBlob property: Pfx blob.
|
String |
publicKeyHash()
Get the publicKeyHash property: Public key hash.
|
String |
selfLink()
Get the selfLink property: Self link.
|
String |
serverFarmId()
Get the serverFarmId property: Resource ID of the associated App Service plan, formatted as:
"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms"
+ "/{appServicePlanName}".
|
String |
siteName()
Get the siteName property: App name.
|
String |
subjectName()
Get the subjectName property: Subject name of the certificate.
|
String |
thumbprint()
Get the thumbprint property: Certificate thumbprint.
|
Boolean |
valid()
Get the valid property: Is the certificate valid?.
|
void |
validate()
Validates the instance.
|
CertificatePatchResource |
withCanonicalName(String canonicalName)
Set the canonicalName property: CNAME of the certificate to be issued via free certificate.
|
CertificatePatchResource |
withDomainValidationMethod(String domainValidationMethod)
Set the domainValidationMethod property: Method of domain validation for free cert.
|
CertificatePatchResource |
withHostNames(List<String> hostNames)
Set the hostNames property: Host names the certificate applies to.
|
CertificatePatchResource |
withKeyVaultId(String keyVaultId)
Set the keyVaultId property: Key Vault Csm resource Id.
|
CertificatePatchResource |
withKeyVaultSecretName(String keyVaultSecretName)
Set the keyVaultSecretName property: Key Vault secret name.
|
CertificatePatchResource |
withKind(String kind)
Set the kind property: Kind of resource.
|
CertificatePatchResource |
withPassword(String password)
Set the password property: Certificate password.
|
CertificatePatchResource |
withPfxBlob(byte[] pfxBlob)
Set the pfxBlob property: Pfx blob.
|
CertificatePatchResource |
withServerFarmId(String serverFarmId)
Set the serverFarmId property: Resource ID of the associated App Service plan, formatted as:
"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms"
+ "/{appServicePlanName}".
|
kindpublic String friendlyName()
public String subjectName()
public List<String> hostNames()
public CertificatePatchResource withHostNames(List<String> hostNames)
hostNames - the hostNames value to set.public byte[] pfxBlob()
public CertificatePatchResource withPfxBlob(byte[] pfxBlob)
pfxBlob - the pfxBlob value to set.public String siteName()
public String selfLink()
public String issuer()
public OffsetDateTime issueDate()
public OffsetDateTime expirationDate()
public String password()
public CertificatePatchResource withPassword(String password)
password - the password value to set.public String thumbprint()
public Boolean valid()
public byte[] cerBlob()
public String publicKeyHash()
public HostingEnvironmentProfile hostingEnvironmentProfile()
public String keyVaultId()
public CertificatePatchResource withKeyVaultId(String keyVaultId)
keyVaultId - the keyVaultId value to set.public String keyVaultSecretName()
public CertificatePatchResource withKeyVaultSecretName(String keyVaultSecretName)
keyVaultSecretName - the keyVaultSecretName value to set.public KeyVaultSecretStatus keyVaultSecretStatus()
public String serverFarmId()
public CertificatePatchResource withServerFarmId(String serverFarmId)
serverFarmId - the serverFarmId value to set.public String canonicalName()
public CertificatePatchResource withCanonicalName(String canonicalName)
canonicalName - the canonicalName value to set.public String domainValidationMethod()
public CertificatePatchResource withDomainValidationMethod(String domainValidationMethod)
domainValidationMethod - the domainValidationMethod value to set.public CertificatePatchResource withKind(String kind)
withKind in class ProxyOnlyResourcekind - the kind value to set.public void validate()
validate in class ProxyOnlyResourceIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.