Share via


ArmElasticSanModelFactory.KeyVaultProperties Method

Definition

Initializes a new instance of KeyVaultProperties.

public static Azure.ResourceManager.ElasticSan.Models.KeyVaultProperties KeyVaultProperties (string keyName = default, string keyVersion = default, Uri keyVaultUri = default, string currentVersionedKeyIdentifier = default, DateTimeOffset? lastKeyRotationTimestamp = default, DateTimeOffset? currentVersionedKeyExpirationTimestamp = default);
static member KeyVaultProperties : string * string * Uri * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.ElasticSan.Models.KeyVaultProperties
Public Shared Function KeyVaultProperties (Optional keyName As String = Nothing, Optional keyVersion As String = Nothing, Optional keyVaultUri As Uri = Nothing, Optional currentVersionedKeyIdentifier As String = Nothing, Optional lastKeyRotationTimestamp As Nullable(Of DateTimeOffset) = Nothing, Optional currentVersionedKeyExpirationTimestamp As Nullable(Of DateTimeOffset) = Nothing) As KeyVaultProperties

Parameters

keyName
String

The name of KeyVault key.

keyVersion
String

The version of KeyVault key.

keyVaultUri
Uri

The Uri of KeyVault.

currentVersionedKeyIdentifier
String

The object identifier of the current versioned Key Vault Key in use.

lastKeyRotationTimestamp
Nullable<DateTimeOffset>

Timestamp of last rotation of the Key Vault Key.

currentVersionedKeyExpirationTimestamp
Nullable<DateTimeOffset>

This is a read only property that represents the expiration time of the current version of the customer managed key used for encryption.

Returns

A new KeyVaultProperties instance for mocking.

Applies to