ContentKeyPoliciesOperationsExtensions.UpdateAsync 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.
Update a Content Key Policy
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)
Parameters
- operations
- IContentKeyPoliciesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group within the Azure subscription.
- accountName
- String
The Media Services account name.
- contentKeyPolicyName
- String
The Content Key Policy name.
- options
- IList<ContentKeyPolicyOption>
The Key Policy options.
- description
- String
A description for the Policy.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Updates an existing Content Key Policy in the Media Services account
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET