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

ContentKeyPoliciesOperationsExtensions.GetPolicyPropertiesWithSecretsAsync 方法

定义

获取包含机密的内容密钥策略

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

参数

operations
IContentKeyPoliciesOperations

此扩展方法的操作组。

resourceGroupName
String

Azure 订阅中资源组的名称。

accountName
String

媒体服务帐户名称。

contentKeyPolicyName
String

内容密钥策略名称。

cancellationToken
CancellationToken

取消标记。

返回

注解

获取包含机密值的内容密钥策略

适用于