CertificateInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. appservice. fluent. models. CertificateInner
- com.
- com.
- com.
public final class CertificateInner
extends Resource
SSL certificate for an app.
Constructor Summary
Constructor | Description |
---|---|
CertificateInner() |
Creates an instance of Certificate |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
canonicalName()
Get the canonical |
byte[] |
cerBlob()
Get the cer |
String |
domainValidationMethod()
Get the domain |
Offset |
expirationDate()
Get the expiration |
String |
friendlyName()
Get the friendly |
static
Certificate |
fromJson(JsonReader jsonReader)
Reads an instance of Certificate |
List<String> |
hostNames()
Get the host |
Hosting |
hostingEnvironmentProfile()
Get the hosting |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Offset |
issueDate()
Get the issue |
String |
issuer()
Get the issuer property: Certificate issuer. |
String |
keyVaultId()
Get the key |
String |
keyVaultSecretName()
Get the key |
Key |
keyVaultSecretStatus()
Get the key |
String |
kind()
Get the kind property: Kind of resource. |
String |
name()
Get the name property: The name of the resource. |
String |
password()
Get the password property: Certificate password. |
byte[] |
pfxBlob()
Get the pfx |
String |
publicKeyHash()
Get the public |
String |
selfLink()
Get the self |
String |
serverFarmId()
Get the server |
String |
siteName()
Get the site |
String |
subjectName()
Get the subject |
String |
thumbprint()
Get the thumbprint property: Certificate thumbprint. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
Boolean |
valid()
Get the valid property: Is the certificate valid?. |
void |
validate()
Validates the instance. |
Certificate |
withCanonicalName(String canonicalName)
Set the canonical |
Certificate |
withDomainValidationMethod(String domainValidationMethod)
Set the domain |
Certificate |
withHostNames(List<String> hostNames)
Set the host |
Certificate |
withKeyVaultId(String keyVaultId)
Set the key |
Certificate |
withKeyVaultSecretName(String keyVaultSecretName)
Set the key |
Certificate |
withKind(String kind)
Set the kind property: Kind of resource. |
Certificate |
withLocation(String location) |
Certificate |
withPassword(String password)
Set the password property: Certificate password. |
Certificate |
withPfxBlob(byte[] pfxBlob)
Set the pfx |
Certificate |
withServerFarmId(String serverFarmId)
Set the server |
Certificate |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
CertificateInner
public CertificateInner()
Creates an instance of CertificateInner class.
Method Details
canonicalName
public String canonicalName()
Get the canonicalName property: CNAME of the certificate to be issued via free certificate.
Returns:
cerBlob
public byte[] cerBlob()
Get the cerBlob property: Raw bytes of .cer file.
Returns:
domainValidationMethod
public String domainValidationMethod()
Get the domainValidationMethod property: Method of domain validation for free cert.
Returns:
expirationDate
public OffsetDateTime expirationDate()
Get the expirationDate property: Certificate expiration date.
Returns:
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of the certificate.
Returns:
fromJson
public static CertificateInner fromJson(JsonReader jsonReader)
Reads an instance of CertificateInner from the JsonReader.
Parameters:
Returns:
Throws:
hostNames
public List
Get the hostNames property: Host names the certificate applies to.
Returns:
hostingEnvironmentProfile
public HostingEnvironmentProfile hostingEnvironmentProfile()
Get the hostingEnvironmentProfile property: Specification for the App Service Environment to use for the certificate.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
CertificateInner.id()Returns:
issueDate
public OffsetDateTime issueDate()
Get the issueDate property: Certificate issue Date.
Returns:
issuer
public String issuer()
Get the issuer property: Certificate issuer.
Returns:
keyVaultId
public String keyVaultId()
Get the keyVaultId property: Key Vault Csm resource Id.
Returns:
keyVaultSecretName
public String keyVaultSecretName()
Get the keyVaultSecretName property: Key Vault secret name.
Returns:
keyVaultSecretStatus
public KeyVaultSecretStatus keyVaultSecretStatus()
Get the keyVaultSecretStatus property: Status of the Key Vault secret.
Returns:
kind
public String kind()
Get the kind property: Kind of resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
CertificateInner.name()Returns:
password
public String password()
Get the password property: Certificate password.
Returns:
pfxBlob
public byte[] pfxBlob()
Get the pfxBlob property: Pfx blob.
Returns:
publicKeyHash
public String publicKeyHash()
Get the publicKeyHash property: Public key hash.
Returns:
selfLink
public String selfLink()
Get the selfLink property: Self link.
Returns:
serverFarmId
public 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}".
Returns:
siteName
public String siteName()
Get the siteName property: App name.
Returns:
subjectName
public String subjectName()
Get the subjectName property: Subject name of the certificate.
Returns:
thumbprint
public String thumbprint()
Get the thumbprint property: Certificate thumbprint.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CertificateInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
CertificateInner.type()Returns:
valid
public Boolean valid()
Get the valid property: Is the certificate valid?.
Returns:
validate
public void validate()
Validates the instance.
withCanonicalName
public CertificateInner withCanonicalName(String canonicalName)
Set the canonicalName property: CNAME of the certificate to be issued via free certificate.
Parameters:
Returns:
withDomainValidationMethod
public CertificateInner withDomainValidationMethod(String domainValidationMethod)
Set the domainValidationMethod property: Method of domain validation for free cert.
Parameters:
Returns:
withHostNames
public CertificateInner withHostNames(List
Set the hostNames property: Host names the certificate applies to.
Parameters:
Returns:
withKeyVaultId
public CertificateInner withKeyVaultId(String keyVaultId)
Set the keyVaultId property: Key Vault Csm resource Id.
Parameters:
Returns:
withKeyVaultSecretName
public CertificateInner withKeyVaultSecretName(String keyVaultSecretName)
Set the keyVaultSecretName property: Key Vault secret name.
Parameters:
Returns:
withKind
public CertificateInner withKind(String kind)
Set the kind property: Kind of resource.
Parameters:
Returns:
withLocation
public CertificateInner withLocation(String location)
Overrides:
CertificateInner.withLocation(String location)Parameters:
withPassword
public CertificateInner withPassword(String password)
Set the password property: Certificate password.
Parameters:
Returns:
withPfxBlob
public CertificateInner withPfxBlob(byte[] pfxBlob)
Set the pfxBlob property: Pfx blob.
Parameters:
Returns:
withServerFarmId
public CertificateInner 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}".
Parameters:
Returns:
withTags
public CertificateInner withTags(Map
Overrides:
CertificateInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java