content_key_policies_policy_properties_with_secrets
Creates, updates, deletes, gets or lists a content_key_policies_policy_properties_with_secrets
resource.
Overview
Name | content_key_policies_policy_properties_with_secrets |
Type | Resource |
Id | azure.media_services.content_key_policies_policy_properties_with_secrets |
Fields
The following fields are returned by SELECT
queries:
- get
Name | Datatype | Description |
---|---|---|
created | string (date-time) | The creation date of the Policy |
description | string | A description for the Policy. |
lastModified | string (date-time) | The last modified date of the Policy |
options | array | The Key Policy options. |
policyId | string (uuid) | The legacy Policy ID. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , accountName , contentKeyPolicyName | api-version | Get 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.
Name | Datatype | Description |
---|---|---|
accountName | string | The Media Services account name. |
contentKeyPolicyName | string | The Content Key Policy name. |
resourceGroupName | string | The name of the resource group within the Azure subscription. |
subscriptionId | string | The unique identifier for a Microsoft Azure subscription. |
api-version | string | The version of the API to be used with the client request. |
SELECT
examples
- get
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 }}'
;