Compartilhar via


SecretModelFactory.DeletedSecret Método

Definição

Inicializa uma nova instância do DeletedSecret para fins de simulação.

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

Parâmetros

properties
SecretProperties

Define a Properties propriedade , que fornece as Id propriedades e Name .

value
String

Define a propriedade Value.

recoveryId
Uri

Define a propriedade RecoveryId.

deletedOn
Nullable<DateTimeOffset>

Define a propriedade DeletedOn.

scheduledPurgeDate
Nullable<DateTimeOffset>

Define a propriedade ScheduledPurgeDate.

Retornos

Uma nova instância do DeletedSecret para fins de simulação.

Aplica-se a