KeyModelFactory.KeyProperties Method
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.
Initializes a new instance of KeyProperties for mocking purposes.
public static Azure.Security.KeyVault.Keys.KeyProperties KeyProperties(Uri id = default, Uri vaultUri = default, string name = default, string version = default, bool managed = false, DateTimeOffset? createdOn = default, DateTimeOffset? updatedOn = default, string recoveryLevel = default, int? recoverableDays = default);
static member KeyProperties : Uri * Uri * string * string * bool * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<int> -> Azure.Security.KeyVault.Keys.KeyProperties
Public Shared Function KeyProperties (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 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) As KeyProperties
Parameters
- createdOn
- Nullable<DateTimeOffset>
Sets the CreatedOn property.
- updatedOn
- Nullable<DateTimeOffset>
Sets the UpdatedOn property.
- recoveryLevel
- String
Sets the RecoveryLevel property.
Sets the RecoverableDays property.
Returns
A new instance of KeyProperties for mocking purposes.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET