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 server.

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

Constructor

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

Keyword-Only Parameters

Name Description
kind
str

Kind of resource.

location
str

Resource Location. Required.

tags

Resource tags.

host_names

Host names the certificate applies to.

pfx_blob

Pfx blob.

password
str

Certificate password.

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}". # pylint: disable=line-too-long

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.

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.

password
str

Certificate password.

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}". # pylint: disable=line-too-long