Certificate Class

SSL certificate for an app.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.web.v2023_01_01.models._models_py3.Resource
Certificate

Constructor

Certificate(*, location: str, kind: str | None = None, tags: Dict[str, str] | None = None, password: str | None = None, host_names: List[str] | None = None, pfx_blob: bytes | None = None, key_vault_id: str | None = None, key_vault_secret_name: str | None = None, server_farm_id: str | None = None, canonical_name: str | None = None, domain_validation_method: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
kind
str

Kind of resource.

location
str

Resource Location. Required.

tags

Resource tags.

password
str

Certificate password.

host_names

Host names the certificate applies to.

pfx_blob

Pfx blob.

key_vault_id
str

Key Vault Csm resource Id.

key_vault_secret_name
str

Key Vault secret name.

server_farm_id
str

Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".

canonical_name
str

CNAME of the certificate to be issued via free certificate.

domain_validation_method
str

Method of domain validation for free cert.

Variables

Name Description
id
str

Resource Id.

name
str

Resource Name.

kind
str

Kind of resource.

location
str

Resource Location. Required.

type
str

Resource type.

tags

Resource tags.

password
str

Certificate password.

friendly_name
str

Friendly name of the certificate.

subject_name
str

Subject name of the certificate.

host_names

Host names the certificate applies to.

pfx_blob

Pfx blob.

site_name
str

App name.

self_link
str

Self link.

issuer
str

Certificate issuer.

issue_date

Certificate issue Date.

expiration_date

Certificate expiration date.

thumbprint
str

Certificate thumbprint.

valid

Is the certificate valid?.

cer_blob

Raw bytes of .cer file.

public_key_hash
str

Public key hash.

hosting_environment_profile

Specification for the App Service Environment to use for the certificate.

key_vault_id
str

Key Vault Csm resource Id.

key_vault_secret_name
str

Key Vault secret name.

key_vault_secret_status

Status of the Key Vault secret. Known values are: "Initialized", "WaitingOnCertificateOrder", "Succeeded", "CertificateOrderFailed", "OperationNotPermittedOnKeyVault", "AzureServiceUnauthorizedToAccessKeyVault", "KeyVaultDoesNotExist", "KeyVaultSecretDoesNotExist", "UnknownError", "ExternalPrivateKey", and "Unknown".

server_farm_id
str

Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".

canonical_name
str

CNAME of the certificate to be issued via free certificate.

domain_validation_method
str

Method of domain validation for free cert.