Share via


ArmElasticSanModelFactory.ElasticSanKeyVaultProperties Method

Definition

Initializes a new instance of ElasticSanKeyVaultProperties.

public static Azure.ResourceManager.ElasticSan.Models.ElasticSanKeyVaultProperties ElasticSanKeyVaultProperties (string keyName = default, string keyVersion = default, Uri keyVaultUri = default, string currentVersionedKeyIdentifier = default, DateTimeOffset? lastKeyRotationTimestamp = default, DateTimeOffset? currentVersionedKeyExpirationTimestamp = default);
static member ElasticSanKeyVaultProperties : string * string * Uri * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.ElasticSan.Models.ElasticSanKeyVaultProperties
Public Shared Function ElasticSanKeyVaultProperties (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 ElasticSanKeyVaultProperties

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 ElasticSanKeyVaultProperties instance for mocking.

Applies to