共用方式為


ContentKeyPoliciesOperationsExtensions.CreateOrUpdate Method

Definition

Create or update an Content Key Policy

public static Microsoft.Azure.Management.Media.Models.ContentKeyPolicy CreateOrUpdate (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);
static member CreateOrUpdate : Microsoft.Azure.Management.Media.IContentKeyPoliciesOperations * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.ContentKeyPolicyOption> * string -> Microsoft.Azure.Management.Media.Models.ContentKeyPolicy
<Extension()>
Public Function CreateOrUpdate (operations As IContentKeyPoliciesOperations, resourceGroupName As String, accountName As String, contentKeyPolicyName As String, options As IList(Of ContentKeyPolicyOption), Optional description As String = Nothing) As 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.

Returns

Remarks

Create or update a Content Key Policy in the Media Services account

Applies to