Freigeben über


KeyModelFactory.KeyProperties Methode

Definition

Initialisiert eine neue instance von KeyProperties für Mockingzwecke.

public static Azure.Security.KeyVault.Keys.KeyProperties KeyProperties (Uri id = default, Uri vaultUri = default, string name = default, string version = default, bool managed = false, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, string recoveryLevel = default, int? recoverableDays = default);
static member KeyProperties : Uri * Uri * string * string * bool * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<int> -> Azure.Security.KeyVault.Keys.KeyProperties
Public Shared Function KeyProperties (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 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 KeyProperties

Parameter

id
Uri

Legt die Id-Eigenschaft fest.

vaultUri
Uri

Legt die VaultUri-Eigenschaft fest.

name
String

Legt die Name-Eigenschaft fest.

version
String

Legt die Version-Eigenschaft fest.

managed
Boolean

Legt die Managed-Eigenschaft fest.

createdOn
Nullable<DateTimeOffset>

Legt die CreatedOn-Eigenschaft fest.

updatedOn
Nullable<DateTimeOffset>

Legt die UpdatedOn-Eigenschaft fest.

recoveryLevel
String

Legt die RecoveryLevel-Eigenschaft fest.

recoverableDays
Nullable<Int32>

Legt die RecoverableDays-Eigenschaft fest.

Gibt zurück

Eine neue instance von KeyProperties für Mockingzwecke.

Gilt für: