次の方法で共有


SecretModelFactory.SecretProperties メソッド

定義

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

public static Azure.Security.KeyVault.Secrets.SecretProperties SecretProperties (Uri id = default, Uri vaultUri = default, string name = default, string version = default, bool managed = false, Uri keyId = default, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, string recoveryLevel = default, int? recoverableDays = default);
static member SecretProperties : Uri * Uri * string * string * bool * Uri * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<int> -> Azure.Security.KeyVault.Secrets.SecretProperties
Public Shared Function SecretProperties (Optional id As Uri = Nothing, Optional vaultUri As Uri = Nothing, Optional name As String = Nothing, Optional version As String = Nothing, Optional managed As Boolean = false, Optional keyId As Uri = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional recoveryLevel As String = Nothing, Optional recoverableDays As Nullable(Of Integer) = Nothing) As SecretProperties

パラメーター

id
Uri

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

vaultUri
Uri

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

name
String

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

version
String

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

managed
Boolean

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

keyId
Uri

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

createdOn
Nullable<DateTimeOffset>

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

updatedOn
Nullable<DateTimeOffset>

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

recoveryLevel
String

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

recoverableDays
Nullable<Int32>

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

戻り値

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

適用対象