Share via


ArmMediaModelFactory.KeyVaultProperties(String, String) Method

Definition

Initializes a new instance of KeyVaultProperties.

public static Azure.ResourceManager.Media.Models.KeyVaultProperties KeyVaultProperties (string keyIdentifier = default, string currentKeyIdentifier = default);
static member KeyVaultProperties : string * string -> Azure.ResourceManager.Media.Models.KeyVaultProperties
Public Shared Function KeyVaultProperties (Optional keyIdentifier As String = Nothing, Optional currentKeyIdentifier As String = Nothing) As KeyVaultProperties

Parameters

keyIdentifier
String

The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey).

currentKeyIdentifier
String

The current key used to encrypt the Media Services account, including the key version.

Returns

A new KeyVaultProperties instance for mocking.

Applies to