ContentKeyPolicies interface
Interface representing a ContentKeyPolicies.
Methods
create |
Create or update a Content Key Policy in the Media Services account |
delete(string, string, string, Content |
Deletes a Content Key Policy in the Media Services account |
get(string, string, string, Content |
Get the details of a Content Key Policy in the Media Services account |
get |
Get a Content Key Policy including secret values |
list(string, string, Content |
Lists the Content Key Policies in the account |
update(string, string, string, Content |
Updates an existing Content Key Policy in the Media Services account |
Method Details
createOrUpdate(string, string, string, ContentKeyPolicy, ContentKeyPoliciesCreateOrUpdateOptionalParams)
Create or update a Content Key Policy in the Media Services account
function createOrUpdate(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, parameters: ContentKeyPolicy, options?: ContentKeyPoliciesCreateOrUpdateOptionalParams): Promise<ContentKeyPolicy>
Parameters
- 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.
- parameters
- ContentKeyPolicy
The request parameters
The options parameters.
Returns
Promise<ContentKeyPolicy>
delete(string, string, string, ContentKeyPoliciesDeleteOptionalParams)
Deletes a Content Key Policy in the Media Services account
function delete(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, options?: ContentKeyPoliciesDeleteOptionalParams): Promise<void>
Parameters
- 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.
The options parameters.
Returns
Promise<void>
get(string, string, string, ContentKeyPoliciesGetOptionalParams)
Get the details of a Content Key Policy in the Media Services account
function get(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, options?: ContentKeyPoliciesGetOptionalParams): Promise<ContentKeyPolicy>
Parameters
- 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.
The options parameters.
Returns
Promise<ContentKeyPolicy>
getPolicyPropertiesWithSecrets(string, string, string, ContentKeyPoliciesGetPolicyPropertiesWithSecretsOptionalParams)
Get a Content Key Policy including secret values
function getPolicyPropertiesWithSecrets(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, options?: ContentKeyPoliciesGetPolicyPropertiesWithSecretsOptionalParams): Promise<ContentKeyPolicyProperties>
Parameters
- 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.
The options parameters.
Returns
Promise<ContentKeyPolicyProperties>
list(string, string, ContentKeyPoliciesListOptionalParams)
Lists the Content Key Policies in the account
function list(resourceGroupName: string, accountName: string, options?: ContentKeyPoliciesListOptionalParams): PagedAsyncIterableIterator<ContentKeyPolicy, ContentKeyPolicy[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group within the Azure subscription.
- accountName
-
string
The Media Services account name.
The options parameters.
Returns
update(string, string, string, ContentKeyPolicy, ContentKeyPoliciesUpdateOptionalParams)
Updates an existing Content Key Policy in the Media Services account
function update(resourceGroupName: string, accountName: string, contentKeyPolicyName: string, parameters: ContentKeyPolicy, options?: ContentKeyPoliciesUpdateOptionalParams): Promise<ContentKeyPolicy>
Parameters
- 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.
- parameters
- ContentKeyPolicy
The request parameters
The options parameters.
Returns
Promise<ContentKeyPolicy>