KeyAttributes Constructors
Definition
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.
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
- 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
Azure SDK for .NET