Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SecretModelFactory.SecretProperties Method

Definition

Namespace:
Azure.Security.KeyVault.Secrets
Assembly:
Azure.Security.KeyVault.Secrets.dll
Package:
Azure.Security.KeyVault.Secrets v4.11.0
Source:
SecretModelFactory.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Initializes a new instance of the SecretProperties for mocking purposes.

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, string previousVersion = default);
static member SecretProperties : Uri * Uri * string * string * bool * Uri * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<int> * string -> 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, Optional previousVersion As String = Nothing) As SecretProperties

Parameters

id
Uri

Sets the Id property.

vaultUri
Uri

Sets the VaultUri property.

name
String

Sets the Name property.

version
String

Sets the Version property.

managed
Boolean

Sets the Managed property.

keyId
Uri

Sets the KeyId property.

createdOn
Nullable<DateTimeOffset>

Sets the CreatedOn property.

updatedOn
Nullable<DateTimeOffset>

Sets the UpdatedOn property.

recoveryLevel
String

Sets the RecoveryLevel property.

recoverableDays
Nullable<Int32>

Sets the RecoverableDays property.

previousVersion
String

Sets the PreviousVersion property.

Returns

A new instance of the SecretProperties for mocking purposes.

Applies to


Feedback

Was this page helpful?