Freigeben über


SecretModelFactory.SecretProperties Methode

Definition

Initialisiert eine neue instance von für SecretProperties Mockingzwecke.

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

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.

keyId
Uri

Legt die KeyId-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 der für SecretProperties Mockingzwecke.

Gilt für: