Share via


AssetsOperationsExtensions.GetEncryptionKeyAsync Method

Definition

Gets the Asset storage key

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.StorageEncryptedAssetDecryptionData> GetEncryptionKeyAsync (this Microsoft.Azure.Management.Media.IAssetsOperations operations, string resourceGroupName, string accountName, string assetName, System.Threading.CancellationToken cancellationToken = default);
static member GetEncryptionKeyAsync : Microsoft.Azure.Management.Media.IAssetsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.StorageEncryptedAssetDecryptionData>
<Extension()>
Public Function GetEncryptionKeyAsync (operations As IAssetsOperations, resourceGroupName As String, accountName As String, assetName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StorageEncryptedAssetDecryptionData)

Parameters

operations
IAssetsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the Azure subscription.

accountName
String

The Media Services account name.

assetName
String

The Asset name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Gets the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API

Applies to