Partager via


CertificateModelFactory.DeletedCertificate Méthode

Définition

Initialise une nouvelle instance du DeletedCertificate à des fins moqueurs.

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

Paramètres

properties
CertificateProperties

Définit la propriété Properties.

keyId
Uri

Définit la propriété KeyId.

secretId
Uri

Définit la propriété SecretId.

cer
Byte[]

Définit la propriété Cer.

policy
CertificatePolicy

Définit la propriété Policy.

recoveryId
Uri

Définit la propriété RecoveryId.

deletedOn
Nullable<DateTimeOffset>

Définit la propriété DeletedOn.

scheduledPurgeDate
Nullable<DateTimeOffset>

Définit la propriété ScheduledPurgeDate.

Retours

Une nouvelle instance du DeletedCertificate à des fins moqueurs.

S’applique à