共用方式為


CertificateModelFactory.DeletedCertificate Method

Definition

Initializes a new instance of the DeletedCertificate for mocking purposes.

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

Parameters

properties
CertificateProperties

Sets the Properties property.

keyId
Uri

Sets the KeyId property.

secretId
Uri

Sets the SecretId property.

cer
Byte[]

Sets the Cer property.

policy
CertificatePolicy

Sets the Policy property.

recoveryId
Uri

Sets the RecoveryId property.

deletedOn
Nullable<DateTimeOffset>

Sets the DeletedOn property.

scheduledPurgeDate
Nullable<DateTimeOffset>

Sets the ScheduledPurgeDate property.

Returns

A new instance of the DeletedCertificate for mocking purposes.

Applies to