Microsoft.Media mediaServices/streamingLocators 2018-03-30-preview

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@2018-03-30-preview' = {
  name: 'string'
  properties: {
    assetName: 'string'
    contentKeys: [
        id: 'string'
        label: 'string'
        value: 'string'
    defaultContentKeyPolicyName: 'string'
    endTime: 'string'
    startTime: 'string'
    streamingLocatorId: 'string'
    streamingPolicyName: 'string'

Property values


Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
name The resource name

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


Name Description Value
assetName Asset Name string (required)
contentKeys ContentKeys used by this Streaming Locator StreamingLocatorUserDefinedContentKey[]
defaultContentKeyPolicyName Default ContentKeyPolicy used by this Streaming Locator string
endTime EndTime of Streaming Locator string
startTime StartTime of Streaming Locator string
streamingLocatorId StreamingLocatorId of Streaming Locator string
streamingPolicyName Streaming policy name used by this streaming locator. Either specify the name of streaming policy you created or use one of the predefined streaming polices. The predefined streaming policies available are: 'Predefined_DownloadOnly', 'Predefined_ClearStreamingOnly', 'Predefined_DownloadAndClearStreaming', 'Predefined_ClearKey', 'Predefined_SecureStreaming' and 'Predefined_SecureStreamingWithFairPlay' string (required)


Name Description Value
id ID of Content Key string (required)
label The Content Key description string
value The Content Key secret string