MediaAssetResource.GetEncryptionKeyAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.