共用方式為


ContentKeyPolicyResource.GetPolicyPropertiesWithSecretsAsync Method

Definition

Get a Content Key Policy including secret values

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName}/getPolicyPropertiesWithSecrets
  • Operation Id: ContentKeyPolicies_GetPolicyPropertiesWithSecrets
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.Models.ContentKeyPolicyProperties>> GetPolicyPropertiesWithSecretsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetPolicyPropertiesWithSecretsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.Models.ContentKeyPolicyProperties>>
override this.GetPolicyPropertiesWithSecretsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.Models.ContentKeyPolicyProperties>>
Public Overridable Function GetPolicyPropertiesWithSecretsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContentKeyPolicyProperties))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to