Share via


SecretAttributes Constructors

Definition

Overloads

SecretAttributes()

Initializes a new instance of the SecretAttributes class.

SecretAttributes(Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String)

Initializes a new instance of the SecretAttributes class.

SecretAttributes()

Source:
SecretAttributes.cs

Initializes a new instance of the SecretAttributes class.

public SecretAttributes ();
Public Sub New ()

Applies to

SecretAttributes(Nullable<Boolean>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, Nullable<DateTime>, String)

Source:
SecretAttributes.cs

Initializes a new instance of the SecretAttributes class.

public SecretAttributes (bool? enabled = default, DateTime? notBefore = default, DateTime? expires = default, DateTime? created = default, DateTime? updated = default, string recoveryLevel = default);
new Microsoft.Azure.KeyVault.Models.SecretAttributes : Nullable<bool> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * string -> Microsoft.Azure.KeyVault.Models.SecretAttributes
Public Sub New (Optional enabled As Nullable(Of Boolean) = Nothing, Optional notBefore As Nullable(Of DateTime) = Nothing, Optional expires As Nullable(Of DateTime) = Nothing, Optional created As Nullable(Of DateTime) = Nothing, Optional updated As Nullable(Of DateTime) = Nothing, Optional recoveryLevel As String = Nothing)

Parameters

enabled
Nullable<Boolean>

Determines whether the object is enabled.

notBefore
Nullable<DateTime>

Not before date in UTC.

expires
Nullable<DateTime>

Expiry date in UTC.

created
Nullable<DateTime>

Creation time in UTC.

updated
Nullable<DateTime>

Last updated time in UTC.

recoveryLevel
String

Reflects the deletion recovery level currently in effect for secrets in the current vault. If it contains 'Purgeable', the secret can be permanently deleted by a privileged user; otherwise, only the system can purge the secret, at the end of the retention interval. Possible values include: 'Purgeable', 'Recoverable+Purgeable', 'Recoverable', 'Recoverable+ProtectedSubscription'

Applies to