Freigeben über


SecretModelFactory.DeletedSecret Methode

Definition

Initialisiert eine neue instance von für DeletedSecret Mockingzwecke.

public static Azure.Security.KeyVault.Secrets.DeletedSecret DeletedSecret (Azure.Security.KeyVault.Secrets.SecretProperties properties, string value = default, Uri recoveryId = default, DateTimeOffset? deletedOn = default, DateTimeOffset? scheduledPurgeDate = default);
static member DeletedSecret : Azure.Security.KeyVault.Secrets.SecretProperties * string * Uri * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.Security.KeyVault.Secrets.DeletedSecret
Public Shared Function DeletedSecret (properties As SecretProperties, Optional value As String = Nothing, Optional recoveryId As Uri = Nothing, Optional deletedOn As Nullable(Of DateTimeOffset) = Nothing, Optional scheduledPurgeDate As Nullable(Of DateTimeOffset) = Nothing) As DeletedSecret

Parameter

properties
SecretProperties

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

value
String

Legt die Value-Eigenschaft fest.

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 des für DeletedSecret Mockingzwecke.

Gilt für: