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

CertificateModelFactory.DeletedCertificate 方法

定义

初始化 的新实例 DeletedCertificate 以用于模拟目的。

public static Azure.Security.KeyVault.Certificates.DeletedCertificate DeletedCertificate (Azure.Security.KeyVault.Certificates.CertificateProperties properties, Uri keyId = default, Uri secretId = default, byte[] cer = default, Azure.Security.KeyVault.Certificates.CertificatePolicy policy = default, Uri recoveryId = default, DateTimeOffset? deletedOn = default, DateTimeOffset? scheduledPurgeDate = default);
static member DeletedCertificate : Azure.Security.KeyVault.Certificates.CertificateProperties * Uri * Uri * byte[] * Azure.Security.KeyVault.Certificates.CertificatePolicy * Uri * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.Security.KeyVault.Certificates.DeletedCertificate
Public Shared Function DeletedCertificate (properties As CertificateProperties, Optional keyId As Uri = Nothing, Optional secretId As Uri = Nothing, Optional cer As Byte() = Nothing, Optional policy As CertificatePolicy = Nothing, Optional recoveryId As Uri = Nothing, Optional deletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional scheduledPurgeDate As Nullable(Of DateTimeOffset) = Nothing) As DeletedCertificate

参数

properties
CertificateProperties

设置 Properties 属性。

keyId
Uri

设置 KeyId 属性。

secretId
Uri

设置 SecretId 属性。

cer
Byte[]

设置 Cer 属性。

policy
CertificatePolicy

设置 Policy 属性。

recoveryId
Uri

设置 RecoveryId 属性。

deletedOn
Nullable<DateTimeOffset>

设置 DeletedOn 属性。

scheduledPurgeDate
Nullable<DateTimeOffset>

设置 ScheduledPurgeDate 属性。

返回

用于模拟目的的 的新 DeletedCertificate 实例。

适用于