Skip to main content

content_key_policies_policy_properties_with_secrets

Creates, updates, deletes, gets or lists a content_key_policies_policy_properties_with_secrets resource.

Overview

Namecontent_key_policies_policy_properties_with_secrets
TypeResource
Idazure.media_services.content_key_policies_policy_properties_with_secrets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
createdstring (date-time)The creation date of the Policy
descriptionstringA description for the Policy.
lastModifiedstring (date-time)The last modified date of the Policy
optionsarrayThe Key Policy options.
policyIdstring (uuid)The legacy Policy ID.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, accountName, contentKeyPolicyNameapi-versionGet a Content Key Policy including secret values

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
accountNamestringThe Media Services account name.
contentKeyPolicyNamestringThe Content Key Policy name.
resourceGroupNamestringThe name of the resource group within the Azure subscription.
subscriptionIdstringThe unique identifier for a Microsoft Azure subscription.
api-versionstringThe version of the API to be used with the client request.

SELECT examples

Get a Content Key Policy including secret values

SELECT
created,
description,
lastModified,
options,
policyId
FROM azure.media_services.content_key_policies_policy_properties_with_secrets
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND contentKeyPolicyName = '{{ contentKeyPolicyName }}' -- required
AND api-version = '{{ api-version }}'
;