Share via


ArmStorageModelFactory.StorageAccountKeyVaultProperties Method

Definition

Initializes a new instance of StorageAccountKeyVaultProperties.

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

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

Applies to