Share via


ArmContainerRegistryModelFactory.ContainerRegistryKeyVaultProperties Method

Definition

Initializes a new instance of ContainerRegistryKeyVaultProperties.

public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryKeyVaultProperties ContainerRegistryKeyVaultProperties (string keyIdentifier = default, string versionedKeyIdentifier = default, string identity = default, bool? isKeyRotationEnabled = default, DateTimeOffset? lastKeyRotationTimestamp = default);
static member ContainerRegistryKeyVaultProperties : string * string * string * Nullable<bool> * Nullable<DateTimeOffset> -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryKeyVaultProperties
Public Shared Function ContainerRegistryKeyVaultProperties (Optional keyIdentifier As String = Nothing, Optional versionedKeyIdentifier As String = Nothing, Optional identity As String = Nothing, Optional isKeyRotationEnabled As Nullable(Of Boolean) = Nothing, Optional lastKeyRotationTimestamp As Nullable(Of DateTimeOffset) = Nothing) As ContainerRegistryKeyVaultProperties

Parameters

keyIdentifier
String

Key vault uri to access the encryption key.

versionedKeyIdentifier
String

The fully qualified key identifier that includes the version of the key that is actually used for encryption.

identity
String

The client id of the identity which will be used to access key vault.

isKeyRotationEnabled
Nullable<Boolean>

Auto key rotation status for a CMK enabled registry.

lastKeyRotationTimestamp
Nullable<DateTimeOffset>

Timestamp of the last successful key rotation.

Returns

A new ContainerRegistryKeyVaultProperties instance for mocking.

Applies to