共用方式為


MediaAssetResource.GetEncryptionKeyAsync(CancellationToken) Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/getEncryptionKey
  • Operation Id: Assets_GetEncryptionKey
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.Models.StorageEncryptedAssetDecryptionInfo>> GetEncryptionKeyAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEncryptionKeyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.Models.StorageEncryptedAssetDecryptionInfo>>
override this.GetEncryptionKeyAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.Models.StorageEncryptedAssetDecryptionInfo>>
Public Overridable Function GetEncryptionKeyAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StorageEncryptedAssetDecryptionInfo))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to