The mediaServices/streamingLocators resource type can be deployed to:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Media/mediaServices/streamingLocators resource, add the following JSON to your template.
{
"type": "Microsoft.Media/mediaServices/streamingLocators",
"apiVersion": "2022-08-01",
"name": "string",
"properties": {
"alternativeMediaId": "string",
"assetName": "string",
"contentKeys": [
{
"id": "string",
"labelReferenceInStreamingPolicy": "string",
"value": "string"
}
],
"defaultContentKeyPolicyName": "string",
"endTime": "string",
"filters": [ "string" ],
"startTime": "string",
"streamingLocatorId": "string",
"streamingPolicyName": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Media/mediaServices/streamingLocators' |
apiVersion | The resource api version | '2022-08-01' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) |
properties | Properties of the Streaming Locator. | StreamingLocatorProperties |
Name | Description | Value |
---|---|---|
alternativeMediaId | Alternative Media ID of this Streaming Locator | string |
assetName | Asset Name | string (required) |
contentKeys | The ContentKeys used by this Streaming Locator. | StreamingLocatorContentKey[] |
defaultContentKeyPolicyName | Name of the default ContentKeyPolicy used by this Streaming Locator. | string |
endTime | The end time of the Streaming Locator. | string |
filters | A list of asset or account filters which apply to this streaming locator | string[] |
startTime | The start time of the Streaming Locator. | string |
streamingLocatorId | The StreamingLocatorId of the Streaming Locator. | string |
streamingPolicyName | Name of the Streaming Policy used by this Streaming Locator. Either specify the name of Streaming Policy you created or use one of the predefined Streaming Policies. The predefined Streaming Policies available are: 'Predefined_DownloadOnly', 'Predefined_ClearStreamingOnly', 'Predefined_DownloadAndClearStreaming', 'Predefined_ClearKey', 'Predefined_MultiDrmCencStreaming' and 'Predefined_MultiDrmStreaming' | string (required) |
Name | Description | Value |
---|---|---|
id | ID of Content Key | string (required) |
labelReferenceInStreamingPolicy | Label of Content Key as specified in the Streaming Policy | string |
value | Value of Content Key | string |