共用方式為


Certificate 建構函式

定義

多載

Certificate()

初始化 Certificate 類別的新實例。

Certificate(String, String, String, String, String, String, CertificateFormat, CertificateProvisioningState, Nullable<DateTime>, CertificateProvisioningState, Nullable<DateTime>, String, DeleteCertificateError)

初始化 Certificate 類別的新實例。

Certificate()

初始化 Certificate 類別的新實例。

public Certificate ();
Public Sub New ()

適用於

Certificate(String, String, String, String, String, String, CertificateFormat, CertificateProvisioningState, Nullable<DateTime>, CertificateProvisioningState, Nullable<DateTime>, String, DeleteCertificateError)

初始化 Certificate 類別的新實例。

public Certificate (string id = default, string name = default, string type = default, string etag = default, string thumbprintAlgorithm = default, string thumbprint = default, Microsoft.Azure.Management.Batch.Models.CertificateFormat format = Microsoft.Azure.Management.Batch.Models.CertificateFormat.Pfx, Microsoft.Azure.Management.Batch.Models.CertificateProvisioningState provisioningState = Microsoft.Azure.Management.Batch.Models.CertificateProvisioningState.Succeeded, DateTime? provisioningStateTransitionTime = default, Microsoft.Azure.Management.Batch.Models.CertificateProvisioningState previousProvisioningState = Microsoft.Azure.Management.Batch.Models.CertificateProvisioningState.Succeeded, DateTime? previousProvisioningStateTransitionTime = default, string publicData = default, Microsoft.Azure.Management.Batch.Models.DeleteCertificateError deleteCertificateError = default);
new Microsoft.Azure.Management.Batch.Models.Certificate : string * string * string * string * string * string * Microsoft.Azure.Management.Batch.Models.CertificateFormat * Microsoft.Azure.Management.Batch.Models.CertificateProvisioningState * Nullable<DateTime> * Microsoft.Azure.Management.Batch.Models.CertificateProvisioningState * Nullable<DateTime> * string * Microsoft.Azure.Management.Batch.Models.DeleteCertificateError -> Microsoft.Azure.Management.Batch.Models.Certificate
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional etag As String = Nothing, Optional thumbprintAlgorithm As String = Nothing, Optional thumbprint As String = Nothing, Optional format As CertificateFormat = Microsoft.Azure.Management.Batch.Models.CertificateFormat.Pfx, Optional provisioningState As CertificateProvisioningState = Microsoft.Azure.Management.Batch.Models.CertificateProvisioningState.Succeeded, Optional provisioningStateTransitionTime As Nullable(Of DateTime) = Nothing, Optional previousProvisioningState As CertificateProvisioningState = Microsoft.Azure.Management.Batch.Models.CertificateProvisioningState.Succeeded, Optional previousProvisioningStateTransitionTime As Nullable(Of DateTime) = Nothing, Optional publicData As String = Nothing, Optional deleteCertificateError As DeleteCertificateError = Nothing)

參數

id
String

資源的識別碼。

name
String

資源名稱。

type
String

資源類型。

etag
String

資源的 ETag,用於並行語句。

thumbprintAlgorithm
String

憑證指紋的演算法。

thumbprint
String

憑證的指紋。

format
CertificateFormat

憑證的格式 - Pfx 或 Cer。 如果省略,則預設值為 Pfx。 可能的值包括:'Pfx'、'Cer'

provisioningState
CertificateProvisioningState

資源的布建狀態

provisioningStateTransitionTime
Nullable<DateTime>

憑證進入其目前狀態的時間。

previousProvisioningState
CertificateProvisioningState

資源先前布建的狀態。 可能的值包括:'Succeeded'、'刪除'、'Failed'

previousProvisioningStateTransitionTime
Nullable<DateTime>

憑證進入其先前狀態的時間。

publicData
String

憑證的公開金鑰。

deleteCertificateError
DeleteCertificateError

刪除憑證時發生的錯誤

適用於