CertificateOperation 類別

如果長時間執行的要求,則會傳回憑證作業。

繼承
builtins.object
CertificateOperation

建構函式

CertificateOperation(cert_operation_id: str | None = None, issuer_name: str | WellKnownIssuerNames | None = None, certificate_type: str | None = None, certificate_transparency: bool | None = False, csr: bytes | None = None, cancellation_requested: bool | None = False, status: str | None = None, status_details: str | None = None, error: CertificateOperationError | None = None, target: str | None = None, request_id: str | None = None)

參數

cert_operation_id
strNone
預設值: None

憑證識別碼。

issuer_name
strWellKnownIssuerNamesNone
預設值: None

作業的簽發者物件或保留名稱。

certificate_type
strNone
預設值: None

簽發者提供者所要求的憑證類型。

certificate_transparency
boolNone
預設值: False

指出此作業執行的憑證是否發佈至憑證透明度記錄。 預設為 False。

csr
bytesNone
預設值: None

憑證簽署要求 (憑證作業中使用的 CSR) 。

cancellation_requested
boolNone
預設值: False

指出憑證作業上是否要求取消。 預設為 False。

status
strNone
預設值: None

憑證作業的狀態。

status_details
strNone
預設值: None

憑證作業的狀態詳細資料

error
CertificateOperationErrorNone
預設值: None

在憑證作業期間發生錯誤,如果有的話。

target
strNone
預設值: None

包含憑證作業結果的位置。

request_id
strNone
預設值: None

憑證作業的識別碼。

屬性

cancellation_requested

憑證作業上是否要求取消。

傳回類型

bool,

certificate_transparency

是否應將此原則下產生的憑證發佈至憑證透明度記錄。

傳回類型

bool,

certificate_type

要向簽發者提供者要求的憑證類型。

傳回類型

str,

csr

用於此憑證作業的憑證簽署要求。

傳回類型

error

~azure.keyvault.certificates.CertificateOperationError 或 None

id

str 或 None

issuer_name

憑證的簽發者名稱。

傳回類型

str,

name

str 或 None

request_id

憑證作業的識別碼。

傳回類型

str,

status

str 或 None

status_details

str 或 None

target

包含憑證作業結果的位置。

傳回類型

str,

vault_url

包含 CertificateOperation 之保存庫的 URL

傳回類型

str,