az ams streaming-policy
Manage streaming policies for an Azure Media Services account.
Commands
Name | Description | Type | Status |
---|---|---|---|
az ams streaming-policy create |
Create a streaming policy. |
Core | GA |
az ams streaming-policy delete |
Delete a Streaming Policy. |
Core | GA |
az ams streaming-policy list |
List all the streaming policies within an Azure Media Services account. |
Core | GA |
az ams streaming-policy show |
Show the details of a streaming policy. |
Core | GA |
az ams streaming-policy create
Create a streaming policy.
az ams streaming-policy create --account-name
--name
--resource-group
[--cbcs-clear-tracks]
[--cbcs-default-key-label]
[--cbcs-default-key-policy-name]
[--cbcs-fair-play-allow-persistent-license {false, true}]
[--cbcs-fair-play-template]
[--cbcs-key-to-track-mappings]
[--cbcs-play-ready-attributes]
[--cbcs-play-ready-template]
[--cbcs-protocols]
[--cbcs-widevine-template]
[--cenc-clear-tracks]
[--cenc-default-key-label]
[--cenc-default-key-policy-name]
[--cenc-disable-play-ready {false, true}]
[--cenc-disable-widevine {false, true}]
[--cenc-key-to-track-mappings]
[--cenc-play-ready-attributes]
[--cenc-play-ready-template]
[--cenc-protocols]
[--cenc-widevine-template]
[--default-content-key-policy-name]
[--envelope-clear-tracks]
[--envelope-default-key-label]
[--envelope-default-key-policy-name]
[--envelope-key-to-track-mappings]
[--envelope-protocols]
[--envelope-template]
[--no-encryption-protocols]
Required Parameters
The name of the Azure Media Services account.
The name of the streaming policy.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The JSON representing which tracks should not be encrypted. Use @{file} to load from a file. For further information about the JSON structure please refer to swagger documentation on https://docs.microsoft.com/rest/api/media/streamingpolicies/create#trackselection.
Label to specify Default Content Key for an encryption scheme.
Policy used by Default Content Key.
Allows the license to be persistent or not.
The custom license acquisition URL template for a customer service to deliver keys to end users. Not needed when using Azure Media Services for issuing keys.
The JSON representing a list of StreamingPolicyContentKey. Use @{file} to load from a file. For further information about the JSON structure please refer to swagger documentation on https://docs.microsoft.com/rest/api/media/streamingpolicies/create#streamingpolicycontentkey.
Argument 'cbcs_play_ready_attributes' has been deprecated and will be removed in a future release.
Custom attributes for PlayReady.
Argument 'cbcs_play_ready_template' has been deprecated and will be removed in a future release.
The custom license acquisition URL template for a customer service to deliver keys to end users. Not needed when using Azure Media Services for issuing keys.
Space-separated list of enabled protocols for Common Encryption CBCS. Allowed values: Download, Dash, HLS, SmoothStreaming.
Argument 'cbcs_widevine_template' has been deprecated and will be removed in a future release.
The custom license acquisition URL template for a customer service to deliver keys to end users. Not needed when using Azure Media Services for issuing keys.
The JSON representing which tracks should not be encrypted. Use @{file} to load from a file. For further information about the JSON structure please refer to swagger documentation on https://docs.microsoft.com/rest/api/media/streamingpolicies/create#trackselection.
Label to specify Default Content Key for an encryption scheme.
Policy used by Default Content Key.
If specified, no PlayReady cenc DRM will be configured. If --cenc-disable-play-ready is set, --cenc-disable-widevine cannot also be set.
If specified, no Widevine cenc DRM will be configured. If --cenc-disable-widevine is set, --cenc-disable-play-ready cannot also be set.
The JSON representing a list of StreamingPolicyContentKey. Use @{file} to load from a file. For further information about the JSON structure please refer to swagger documentation on https://docs.microsoft.com/rest/api/media/streamingpolicies/create#streamingpolicycontentkey.
Custom attributes for PlayReady.
The custom license acquisition URL template for a customer service to deliver keys to end users. Not needed when using Azure Media Services for issuing keys.
Space-separated list of enabled protocols for Common Encryption CENC. Allowed values: Download, Dash, HLS, SmoothStreaming.
The custom license acquisition URL template for a customer service to deliver keys to end users. Not needed when using Azure Media Services for issuing keys.
Default Content Key used by current streaming policy.
The JSON representing which tracks should not be encrypted. Use @{file} to load from a file. For further information about the JSON structure please refer to swagger documentation on https://docs.microsoft.com/rest/api/media/streamingpolicies/create#trackselection.
Label used to specify Content Key when creating a streaming locator.
Policy used by Default Key.
The JSON representing a list of StreamingPolicyContentKey. Use @{file} to load from a file. For further information about the JSON structure please refer to swagger documentation on https://docs.microsoft.com/rest/api/media/streamingpolicies/create#streamingpolicycontentkey.
Space-separated list of enabled protocols for Envelope Encryption. Allowed values: Download, Dash, HLS, SmoothStreaming.
The KeyAcquistionUrlTemplate is used to point to user specified service to delivery content keys.
Space-separated list of enabled protocols for NoEncryption. Allowed values: Download, Dash, HLS, SmoothStreaming.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ams streaming-policy delete
Delete a Streaming Policy.
Deletes a Streaming Policy in the Media Services account.
az ams streaming-policy delete [--account-name]
[--ids]
[--name]
[--resource-group]
[--subscription]
Optional Parameters
The name of the Azure Media Services account.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The name of the streaming policy.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ams streaming-policy list
List all the streaming policies within an Azure Media Services account.
az ams streaming-policy list --account-name
--resource-group
[--filter]
[--orderby]
[--top]
Required Parameters
The name of the Azure Media Services account.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Restricts the set of items returned.
Specifies the key by which the result collection should be ordered.
Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az ams streaming-policy show
Show the details of a streaming policy.
az ams streaming-policy show [--account-name]
[--ids]
[--name]
[--resource-group]
[--subscription]
Optional Parameters
The name of the Azure Media Services account.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
The name of the streaming policy.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI