你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Certificate Class

Contains information about a certificate.

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

Constructor

Certificate(*, tags: Dict[str, str] | None = None, thumbprint_algorithm: str | None = None, thumbprint: str | None = None, format: str | _models.CertificateFormat | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

The tags of the resource.

thumbprint_algorithm
str

This must match the first portion of the certificate name. Currently required to be 'SHA1'.

thumbprint
str

This must match the thumbprint from the name.

format

The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Known values are: "Pfx" and "Cer".

Variables

Name Description
id
str

The ID of the resource.

name
str

The name of the resource.

type
str

The type of the resource.

etag
str

The ETag of the resource, used for concurrency statements.

tags

The tags of the resource.

thumbprint_algorithm
str

This must match the first portion of the certificate name. Currently required to be 'SHA1'.

thumbprint
str

This must match the thumbprint from the name.

format

The format of the certificate - either Pfx or Cer. If omitted, the default is Pfx. Known values are: "Pfx" and "Cer".

provisioning_state

Known values are: "Succeeded", "Deleting", and "Failed".

provisioning_state_transition_time

The time at which the certificate entered its current state.

previous_provisioning_state

The previous provisioned state of the resource. Known values are: "Succeeded", "Deleting", and "Failed".

previous_provisioning_state_transition_time

The time at which the certificate entered its previous state.

public_data
str

The public key of the certificate.

delete_certificate_error

This is only returned when the certificate provisioningState is 'Failed'.