SecretAttributes 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
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
- 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'