你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ContentKeyPoliciesOperationsExtensions.UpdateAsync 方法

定义

更新内容密钥策略

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.ContentKeyPolicy> UpdateAsync (this Microsoft.Azure.Management.Media.IContentKeyPoliciesOperations operations, string resourceGroupName, string accountName, string contentKeyPolicyName, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.ContentKeyPolicyOption> options, string description = default, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Media.IContentKeyPoliciesOperations * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.ContentKeyPolicyOption> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.ContentKeyPolicy>
<Extension()>
Public Function UpdateAsync (operations As IContentKeyPoliciesOperations, resourceGroupName As String, accountName As String, contentKeyPolicyName As String, options As IList(Of ContentKeyPolicyOption), Optional description As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ContentKeyPolicy)

参数

operations
IContentKeyPoliciesOperations

此扩展方法的操作组。

resourceGroupName
String

Azure 订阅中的资源组的名称。

accountName
String

媒体服务帐户名称。

contentKeyPolicyName
String

内容密钥策略名称。

options
IList<ContentKeyPolicyOption>

密钥策略选项。

description
String

策略的说明。

cancellationToken
CancellationToken

取消标记。

返回

注解

汇报媒体服务帐户中的现有内容密钥策略

适用于