Microsoft.Media mediaServices/streamingLocators 2021-06-01

The mediaServices/streamingLocators resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Template format

To create a Microsoft.Media/mediaServices/streamingLocators resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.Media/mediaServices/streamingLocators@2021-06-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'
  }
}

Property values

mediaServices/streamingLocators

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.Media/mediaServices/streamingLocators'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2021-06-01'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
string (required)
properties Properties of the Streaming Locator. StreamingLocatorProperties

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)

StreamingLocatorContentKey

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