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.v2018_02_01.models._models_py3.ResourceCertificate
Constructor
Certificate(*, location: str, kind: Optional[str] = None, tags: Optional[Dict[str, str]] = None, host_names: Optional[List[str]] = None, pfx_blob: Optional[bytearray] = None, password: Optional[str] = None, key_vault_id: Optional[str] = None, key_vault_secret_name: Optional[str] = None, server_farm_id: Optional[str] = None, **kwargs)
Parameters
- server_farm_id
- str
Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}".
Variables
- id
- str
Resource Id.
- name
- str
Resource Name.
- type
- str
Resource type.
- friendly_name
- str
Friendly name of the certificate.
- subject_name
- str
Subject name of the certificate.
- site_name
- str
App name.
- self_link
- str
Self link.
- issuer
- str
Certificate issuer.
- issue_date
- datetime
Certificate issue Date.
- expiration_date
- datetime
Certificate expiration date.
- thumbprint
- str
Certificate thumbprint.
- valid
- bool
Is the certificate valid?.
- cer_blob
- bytearray
Raw bytes of .cer file.
- public_key_hash
- str
Public key hash.
- hosting_environment_profile
- HostingEnvironmentProfile
Specification for the App Service Environment to use for the certificate.
- key_vault_secret_status
- str or KeyVaultSecretStatus
Status of the Key Vault secret. Possible values include: "Initialized", "WaitingOnCertificateOrder", "Succeeded", "CertificateOrderFailed", "OperationNotPermittedOnKeyVault", "AzureServiceUnauthorizedToAccessKeyVault", "KeyVaultDoesNotExist", "KeyVaultSecretDoesNotExist", "UnknownError", "ExternalPrivateKey", "Unknown".
Feedback
Submit and view feedback for