MediaAssetResource.GetEncryptionKey(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 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.