Partilhar via


MediaAssetResource.GetEncryptionKeyAsync(CancellationToken) Método

Definição

Obtém as chaves de criptografia de armazenamento de ativos usadas para descriptografar o conteúdo criado pela versão 2 da API dos Serviços de Mídia

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/assets/{assetName}/getEncryptionKey
  • IdAssets_GetEncryptionKey de operação
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))

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a