共用方式為


MediaAssetResource.GetEncryptionKey(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 Azure.Response<Azure.ResourceManager.Media.Models.StorageEncryptedAssetDecryptionInfo> GetEncryptionKey (System.Threading.CancellationToken cancellationToken = default);
abstract member GetEncryptionKey : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Media.Models.StorageEncryptedAssetDecryptionInfo>
override this.GetEncryptionKey : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Media.Models.StorageEncryptedAssetDecryptionInfo>
Public Overridable Function GetEncryptionKey (Optional cancellationToken As CancellationToken = Nothing) As Response(Of StorageEncryptedAssetDecryptionInfo)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to