Freigeben über


KeyModelFactory.DeletedKey Methode

Definition

Initialisiert eine neue instance von DeletedKey für Mockingzwecke.

public static Azure.Security.KeyVault.Keys.DeletedKey DeletedKey (Azure.Security.KeyVault.Keys.KeyProperties properties, Azure.Security.KeyVault.Keys.JsonWebKey key, Uri recoveryId = default, DateTimeOffset? deletedOn = default, DateTimeOffset? scheduledPurgeDate = default);
static member DeletedKey : Azure.Security.KeyVault.Keys.KeyProperties * Azure.Security.KeyVault.Keys.JsonWebKey * Uri * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.Security.KeyVault.Keys.DeletedKey
Public Shared Function DeletedKey (properties As KeyProperties, key As JsonWebKey, Optional recoveryId As Uri = Nothing, Optional deletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional scheduledPurgeDate As Nullable(Of DateTimeOffset) = Nothing) As DeletedKey

Parameter

properties
KeyProperties

Legt die Properties -Eigenschaft fest, die die Id Eigenschaften und Name bereitstellt.

key
JsonWebKey

Legt die Key -Eigenschaft fest, die die KeyType Eigenschaften und KeyOperations bereitstellt.

recoveryId
Uri

Legt die RecoveryId-Eigenschaft fest.

deletedOn
Nullable<DateTimeOffset>

Legt die DeletedOn-Eigenschaft fest.

scheduledPurgeDate
Nullable<DateTimeOffset>

Legt die ScheduledPurgeDate-Eigenschaft fest.

Gibt zurück

Eine neue instance von DeletedKey für Mockingzwecke.

Gilt für: