SecretModelFactory.DeletedSecret メソッド

定義

モックの目的で の DeletedSecret 新しいインスタンスを初期化します。

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

パラメーター

properties
SecretProperties

プロパティと Name プロパティをProperties提供する プロパティをId設定します。

value
String

Value プロパティを設定します。

recoveryId
Uri

RecoveryId プロパティを設定します。

deletedOn
Nullable<DateTimeOffset>

DeletedOn プロパティを設定します。

scheduledPurgeDate
Nullable<DateTimeOffset>

ScheduledPurgeDate プロパティを設定します。

戻り値

モックを目的とした の DeletedSecret 新しいインスタンス。

適用対象