Share via


KeyAttributes Constructors

Definition

Overloads

KeyAttributes()

Initializes a new instance of the KeyAttributes class.

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

Initializes a new instance of the KeyAttributes class.

KeyAttributes()

Source:
KeyAttributes.cs

Initializes a new instance of the KeyAttributes class.

public KeyAttributes ();
Public Sub New ()

Applies to

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

Source:
KeyAttributes.cs

Initializes a new instance of the KeyAttributes class.

public KeyAttributes (bool? enabled = default, DateTime? notBefore = default, DateTime? expires = default, DateTime? created = default, DateTime? updated = default, string recoveryLevel = default);
new Microsoft.Azure.KeyVault.Models.KeyAttributes : Nullable<bool> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * Nullable<DateTime> * string -> Microsoft.Azure.KeyVault.Models.KeyAttributes
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 keys in the current vault. If it contains 'Purgeable' the key can be permanently deleted by a privileged user; otherwise, only the system can purge the key, at the end of the retention interval. Possible values include: 'Purgeable', 'Recoverable+Purgeable', 'Recoverable', 'Recoverable+ProtectedSubscription'

Applies to