1. Packages
  2. Azure Native
  3. API Docs
  4. media
  5. StreamingLocator
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.2.0 published on Monday, Apr 14, 2025 by Pulumi

azure-native.media.StreamingLocator

Explore with Pulumi AI

A Streaming Locator resource

Uses Azure REST API version 2023-01-01. In version 2.x of the Azure Native provider, it used API version 2023-01-01.

Other available API versions: 2018-03-30-preview, 2018-06-01-preview, 2018-07-01, 2020-05-01, 2021-06-01, 2021-11-01, 2022-08-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native media [ApiVersion]. See the version guide for details.

Example Usage

Creates a Streaming Locator with clear streaming

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var streamingLocator = new AzureNative.Media.StreamingLocator("streamingLocator", new()
    {
        AccountName = "contosomedia",
        AssetName = "ClimbingMountRainier",
        ResourceGroupName = "contosorg",
        StreamingLocatorName = "UserCreatedClearStreamingLocator",
        StreamingPolicyName = "clearStreamingPolicy",
    });

});
Copy
package main

import (
	media "github.com/pulumi/pulumi-azure-native-sdk/media/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewStreamingLocator(ctx, "streamingLocator", &media.StreamingLocatorArgs{
			AccountName:          pulumi.String("contosomedia"),
			AssetName:            pulumi.String("ClimbingMountRainier"),
			ResourceGroupName:    pulumi.String("contosorg"),
			StreamingLocatorName: pulumi.String("UserCreatedClearStreamingLocator"),
			StreamingPolicyName:  pulumi.String("clearStreamingPolicy"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingLocator;
import com.pulumi.azurenative.media.StreamingLocatorArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var streamingLocator = new StreamingLocator("streamingLocator", StreamingLocatorArgs.builder()
            .accountName("contosomedia")
            .assetName("ClimbingMountRainier")
            .resourceGroupName("contosorg")
            .streamingLocatorName("UserCreatedClearStreamingLocator")
            .streamingPolicyName("clearStreamingPolicy")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const streamingLocator = new azure_native.media.StreamingLocator("streamingLocator", {
    accountName: "contosomedia",
    assetName: "ClimbingMountRainier",
    resourceGroupName: "contosorg",
    streamingLocatorName: "UserCreatedClearStreamingLocator",
    streamingPolicyName: "clearStreamingPolicy",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

streaming_locator = azure_native.media.StreamingLocator("streamingLocator",
    account_name="contosomedia",
    asset_name="ClimbingMountRainier",
    resource_group_name="contosorg",
    streaming_locator_name="UserCreatedClearStreamingLocator",
    streaming_policy_name="clearStreamingPolicy")
Copy
resources:
  streamingLocator:
    type: azure-native:media:StreamingLocator
    properties:
      accountName: contosomedia
      assetName: ClimbingMountRainier
      resourceGroupName: contosorg
      streamingLocatorName: UserCreatedClearStreamingLocator
      streamingPolicyName: clearStreamingPolicy
Copy

Creates a Streaming Locator with secure streaming

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var streamingLocator = new AzureNative.Media.StreamingLocator("streamingLocator", new()
    {
        AccountName = "contosomedia",
        AssetName = "ClimbingMountRainier",
        EndTime = "2028-12-31T23:59:59.9999999Z",
        ResourceGroupName = "contosorg",
        StartTime = "2018-03-01T00:00:00Z",
        StreamingLocatorName = "UserCreatedSecureStreamingLocator",
        StreamingPolicyName = "UserCreatedSecureStreamingPolicy",
    });

});
Copy
package main

import (
	media "github.com/pulumi/pulumi-azure-native-sdk/media/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewStreamingLocator(ctx, "streamingLocator", &media.StreamingLocatorArgs{
			AccountName:          pulumi.String("contosomedia"),
			AssetName:            pulumi.String("ClimbingMountRainier"),
			EndTime:              pulumi.String("2028-12-31T23:59:59.9999999Z"),
			ResourceGroupName:    pulumi.String("contosorg"),
			StartTime:            pulumi.String("2018-03-01T00:00:00Z"),
			StreamingLocatorName: pulumi.String("UserCreatedSecureStreamingLocator"),
			StreamingPolicyName:  pulumi.String("UserCreatedSecureStreamingPolicy"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingLocator;
import com.pulumi.azurenative.media.StreamingLocatorArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var streamingLocator = new StreamingLocator("streamingLocator", StreamingLocatorArgs.builder()
            .accountName("contosomedia")
            .assetName("ClimbingMountRainier")
            .endTime("2028-12-31T23:59:59.9999999Z")
            .resourceGroupName("contosorg")
            .startTime("2018-03-01T00:00:00Z")
            .streamingLocatorName("UserCreatedSecureStreamingLocator")
            .streamingPolicyName("UserCreatedSecureStreamingPolicy")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const streamingLocator = new azure_native.media.StreamingLocator("streamingLocator", {
    accountName: "contosomedia",
    assetName: "ClimbingMountRainier",
    endTime: "2028-12-31T23:59:59.9999999Z",
    resourceGroupName: "contosorg",
    startTime: "2018-03-01T00:00:00Z",
    streamingLocatorName: "UserCreatedSecureStreamingLocator",
    streamingPolicyName: "UserCreatedSecureStreamingPolicy",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

streaming_locator = azure_native.media.StreamingLocator("streamingLocator",
    account_name="contosomedia",
    asset_name="ClimbingMountRainier",
    end_time="2028-12-31T23:59:59.9999999Z",
    resource_group_name="contosorg",
    start_time="2018-03-01T00:00:00Z",
    streaming_locator_name="UserCreatedSecureStreamingLocator",
    streaming_policy_name="UserCreatedSecureStreamingPolicy")
Copy
resources:
  streamingLocator:
    type: azure-native:media:StreamingLocator
    properties:
      accountName: contosomedia
      assetName: ClimbingMountRainier
      endTime: 2028-12-31T23:59:59.9999999Z
      resourceGroupName: contosorg
      startTime: 2018-03-01T00:00:00Z
      streamingLocatorName: UserCreatedSecureStreamingLocator
      streamingPolicyName: UserCreatedSecureStreamingPolicy
Copy

Creates a Streaming Locator with user defined content keys

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var streamingLocator = new AzureNative.Media.StreamingLocator("streamingLocator", new()
    {
        AccountName = "contosomedia",
        AssetName = "ClimbingMountRainier",
        ContentKeys = new[]
        {
            new AzureNative.Media.Inputs.StreamingLocatorContentKeyArgs
            {
                Id = "60000000-0000-0000-0000-000000000001",
                LabelReferenceInStreamingPolicy = "aesDefaultKey",
                Value = "1UqLohAfWsEGkULYxHjYZg==",
            },
            new AzureNative.Media.Inputs.StreamingLocatorContentKeyArgs
            {
                Id = "60000000-0000-0000-0000-000000000004",
                LabelReferenceInStreamingPolicy = "cencDefaultKey",
                Value = "4UqLohAfWsEGkULYxHjYZg==",
            },
            new AzureNative.Media.Inputs.StreamingLocatorContentKeyArgs
            {
                Id = "60000000-0000-0000-0000-000000000007",
                LabelReferenceInStreamingPolicy = "cbcsDefaultKey",
                Value = "7UqLohAfWsEGkULYxHjYZg==",
            },
        },
        ResourceGroupName = "contosorg",
        StreamingLocatorId = "90000000-0000-0000-0000-00000000000A",
        StreamingLocatorName = "UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys",
        StreamingPolicyName = "secureStreamingPolicy",
    });

});
Copy
package main

import (
	media "github.com/pulumi/pulumi-azure-native-sdk/media/v3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewStreamingLocator(ctx, "streamingLocator", &media.StreamingLocatorArgs{
			AccountName: pulumi.String("contosomedia"),
			AssetName:   pulumi.String("ClimbingMountRainier"),
			ContentKeys: media.StreamingLocatorContentKeyArray{
				&media.StreamingLocatorContentKeyArgs{
					Id:                              pulumi.String("60000000-0000-0000-0000-000000000001"),
					LabelReferenceInStreamingPolicy: pulumi.String("aesDefaultKey"),
					Value:                           pulumi.String("1UqLohAfWsEGkULYxHjYZg=="),
				},
				&media.StreamingLocatorContentKeyArgs{
					Id:                              pulumi.String("60000000-0000-0000-0000-000000000004"),
					LabelReferenceInStreamingPolicy: pulumi.String("cencDefaultKey"),
					Value:                           pulumi.String("4UqLohAfWsEGkULYxHjYZg=="),
				},
				&media.StreamingLocatorContentKeyArgs{
					Id:                              pulumi.String("60000000-0000-0000-0000-000000000007"),
					LabelReferenceInStreamingPolicy: pulumi.String("cbcsDefaultKey"),
					Value:                           pulumi.String("7UqLohAfWsEGkULYxHjYZg=="),
				},
			},
			ResourceGroupName:    pulumi.String("contosorg"),
			StreamingLocatorId:   pulumi.String("90000000-0000-0000-0000-00000000000A"),
			StreamingLocatorName: pulumi.String("UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys"),
			StreamingPolicyName:  pulumi.String("secureStreamingPolicy"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingLocator;
import com.pulumi.azurenative.media.StreamingLocatorArgs;
import com.pulumi.azurenative.media.inputs.StreamingLocatorContentKeyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var streamingLocator = new StreamingLocator("streamingLocator", StreamingLocatorArgs.builder()
            .accountName("contosomedia")
            .assetName("ClimbingMountRainier")
            .contentKeys(            
                StreamingLocatorContentKeyArgs.builder()
                    .id("60000000-0000-0000-0000-000000000001")
                    .labelReferenceInStreamingPolicy("aesDefaultKey")
                    .value("1UqLohAfWsEGkULYxHjYZg==")
                    .build(),
                StreamingLocatorContentKeyArgs.builder()
                    .id("60000000-0000-0000-0000-000000000004")
                    .labelReferenceInStreamingPolicy("cencDefaultKey")
                    .value("4UqLohAfWsEGkULYxHjYZg==")
                    .build(),
                StreamingLocatorContentKeyArgs.builder()
                    .id("60000000-0000-0000-0000-000000000007")
                    .labelReferenceInStreamingPolicy("cbcsDefaultKey")
                    .value("7UqLohAfWsEGkULYxHjYZg==")
                    .build())
            .resourceGroupName("contosorg")
            .streamingLocatorId("90000000-0000-0000-0000-00000000000A")
            .streamingLocatorName("UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys")
            .streamingPolicyName("secureStreamingPolicy")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const streamingLocator = new azure_native.media.StreamingLocator("streamingLocator", {
    accountName: "contosomedia",
    assetName: "ClimbingMountRainier",
    contentKeys: [
        {
            id: "60000000-0000-0000-0000-000000000001",
            labelReferenceInStreamingPolicy: "aesDefaultKey",
            value: "1UqLohAfWsEGkULYxHjYZg==",
        },
        {
            id: "60000000-0000-0000-0000-000000000004",
            labelReferenceInStreamingPolicy: "cencDefaultKey",
            value: "4UqLohAfWsEGkULYxHjYZg==",
        },
        {
            id: "60000000-0000-0000-0000-000000000007",
            labelReferenceInStreamingPolicy: "cbcsDefaultKey",
            value: "7UqLohAfWsEGkULYxHjYZg==",
        },
    ],
    resourceGroupName: "contosorg",
    streamingLocatorId: "90000000-0000-0000-0000-00000000000A",
    streamingLocatorName: "UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys",
    streamingPolicyName: "secureStreamingPolicy",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

streaming_locator = azure_native.media.StreamingLocator("streamingLocator",
    account_name="contosomedia",
    asset_name="ClimbingMountRainier",
    content_keys=[
        {
            "id": "60000000-0000-0000-0000-000000000001",
            "label_reference_in_streaming_policy": "aesDefaultKey",
            "value": "1UqLohAfWsEGkULYxHjYZg==",
        },
        {
            "id": "60000000-0000-0000-0000-000000000004",
            "label_reference_in_streaming_policy": "cencDefaultKey",
            "value": "4UqLohAfWsEGkULYxHjYZg==",
        },
        {
            "id": "60000000-0000-0000-0000-000000000007",
            "label_reference_in_streaming_policy": "cbcsDefaultKey",
            "value": "7UqLohAfWsEGkULYxHjYZg==",
        },
    ],
    resource_group_name="contosorg",
    streaming_locator_id="90000000-0000-0000-0000-00000000000A",
    streaming_locator_name="UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys",
    streaming_policy_name="secureStreamingPolicy")
Copy
resources:
  streamingLocator:
    type: azure-native:media:StreamingLocator
    properties:
      accountName: contosomedia
      assetName: ClimbingMountRainier
      contentKeys:
        - id: 60000000-0000-0000-0000-000000000001
          labelReferenceInStreamingPolicy: aesDefaultKey
          value: 1UqLohAfWsEGkULYxHjYZg==
        - id: 60000000-0000-0000-0000-000000000004
          labelReferenceInStreamingPolicy: cencDefaultKey
          value: 4UqLohAfWsEGkULYxHjYZg==
        - id: 60000000-0000-0000-0000-000000000007
          labelReferenceInStreamingPolicy: cbcsDefaultKey
          value: 7UqLohAfWsEGkULYxHjYZg==
      resourceGroupName: contosorg
      streamingLocatorId: 90000000-0000-0000-0000-00000000000A
      streamingLocatorName: UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys
      streamingPolicyName: secureStreamingPolicy
Copy

Create StreamingLocator Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new StreamingLocator(name: string, args: StreamingLocatorArgs, opts?: CustomResourceOptions);
@overload
def StreamingLocator(resource_name: str,
                     args: StreamingLocatorArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def StreamingLocator(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     account_name: Optional[str] = None,
                     asset_name: Optional[str] = None,
                     resource_group_name: Optional[str] = None,
                     streaming_policy_name: Optional[str] = None,
                     alternative_media_id: Optional[str] = None,
                     content_keys: Optional[Sequence[StreamingLocatorContentKeyArgs]] = None,
                     default_content_key_policy_name: Optional[str] = None,
                     end_time: Optional[str] = None,
                     filters: Optional[Sequence[str]] = None,
                     start_time: Optional[str] = None,
                     streaming_locator_id: Optional[str] = None,
                     streaming_locator_name: Optional[str] = None)
func NewStreamingLocator(ctx *Context, name string, args StreamingLocatorArgs, opts ...ResourceOption) (*StreamingLocator, error)
public StreamingLocator(string name, StreamingLocatorArgs args, CustomResourceOptions? opts = null)
public StreamingLocator(String name, StreamingLocatorArgs args)
public StreamingLocator(String name, StreamingLocatorArgs args, CustomResourceOptions options)
type: azure-native:media:StreamingLocator
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. StreamingLocatorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. StreamingLocatorArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. StreamingLocatorArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. StreamingLocatorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. StreamingLocatorArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var streamingLocatorResource = new AzureNative.Media.StreamingLocator("streamingLocatorResource", new()
{
    AccountName = "string",
    AssetName = "string",
    ResourceGroupName = "string",
    StreamingPolicyName = "string",
    AlternativeMediaId = "string",
    ContentKeys = new[]
    {
        new AzureNative.Media.Inputs.StreamingLocatorContentKeyArgs
        {
            Id = "string",
            LabelReferenceInStreamingPolicy = "string",
            Value = "string",
        },
    },
    DefaultContentKeyPolicyName = "string",
    EndTime = "string",
    Filters = new[]
    {
        "string",
    },
    StartTime = "string",
    StreamingLocatorId = "string",
    StreamingLocatorName = "string",
});
Copy
example, err := media.NewStreamingLocator(ctx, "streamingLocatorResource", &media.StreamingLocatorArgs{
	AccountName:         pulumi.String("string"),
	AssetName:           pulumi.String("string"),
	ResourceGroupName:   pulumi.String("string"),
	StreamingPolicyName: pulumi.String("string"),
	AlternativeMediaId:  pulumi.String("string"),
	ContentKeys: media.StreamingLocatorContentKeyArray{
		&media.StreamingLocatorContentKeyArgs{
			Id:                              pulumi.String("string"),
			LabelReferenceInStreamingPolicy: pulumi.String("string"),
			Value:                           pulumi.String("string"),
		},
	},
	DefaultContentKeyPolicyName: pulumi.String("string"),
	EndTime:                     pulumi.String("string"),
	Filters: pulumi.StringArray{
		pulumi.String("string"),
	},
	StartTime:            pulumi.String("string"),
	StreamingLocatorId:   pulumi.String("string"),
	StreamingLocatorName: pulumi.String("string"),
})
Copy
var streamingLocatorResource = new StreamingLocator("streamingLocatorResource", StreamingLocatorArgs.builder()
    .accountName("string")
    .assetName("string")
    .resourceGroupName("string")
    .streamingPolicyName("string")
    .alternativeMediaId("string")
    .contentKeys(StreamingLocatorContentKeyArgs.builder()
        .id("string")
        .labelReferenceInStreamingPolicy("string")
        .value("string")
        .build())
    .defaultContentKeyPolicyName("string")
    .endTime("string")
    .filters("string")
    .startTime("string")
    .streamingLocatorId("string")
    .streamingLocatorName("string")
    .build());
Copy
streaming_locator_resource = azure_native.media.StreamingLocator("streamingLocatorResource",
    account_name="string",
    asset_name="string",
    resource_group_name="string",
    streaming_policy_name="string",
    alternative_media_id="string",
    content_keys=[{
        "id": "string",
        "label_reference_in_streaming_policy": "string",
        "value": "string",
    }],
    default_content_key_policy_name="string",
    end_time="string",
    filters=["string"],
    start_time="string",
    streaming_locator_id="string",
    streaming_locator_name="string")
Copy
const streamingLocatorResource = new azure_native.media.StreamingLocator("streamingLocatorResource", {
    accountName: "string",
    assetName: "string",
    resourceGroupName: "string",
    streamingPolicyName: "string",
    alternativeMediaId: "string",
    contentKeys: [{
        id: "string",
        labelReferenceInStreamingPolicy: "string",
        value: "string",
    }],
    defaultContentKeyPolicyName: "string",
    endTime: "string",
    filters: ["string"],
    startTime: "string",
    streamingLocatorId: "string",
    streamingLocatorName: "string",
});
Copy
type: azure-native:media:StreamingLocator
properties:
    accountName: string
    alternativeMediaId: string
    assetName: string
    contentKeys:
        - id: string
          labelReferenceInStreamingPolicy: string
          value: string
    defaultContentKeyPolicyName: string
    endTime: string
    filters:
        - string
    resourceGroupName: string
    startTime: string
    streamingLocatorId: string
    streamingLocatorName: string
    streamingPolicyName: string
Copy

StreamingLocator Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The StreamingLocator resource accepts the following input properties:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The Media Services account name.
AssetName This property is required. string
Asset Name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the Azure subscription.
StreamingPolicyName This property is required. string
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'
AlternativeMediaId string
Alternative Media ID of this Streaming Locator
ContentKeys List<Pulumi.AzureNative.Media.Inputs.StreamingLocatorContentKey>
The ContentKeys used by this Streaming Locator.
DefaultContentKeyPolicyName string
Name of the default ContentKeyPolicy used by this Streaming Locator.
EndTime string
The end time of the Streaming Locator.
Filters List<string>
A list of asset or account filters which apply to this streaming locator
StartTime string
The start time of the Streaming Locator.
StreamingLocatorId string
The StreamingLocatorId of the Streaming Locator.
StreamingLocatorName Changes to this property will trigger replacement. string
The Streaming Locator name.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The Media Services account name.
AssetName This property is required. string
Asset Name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the Azure subscription.
StreamingPolicyName This property is required. string
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'
AlternativeMediaId string
Alternative Media ID of this Streaming Locator
ContentKeys []StreamingLocatorContentKeyArgs
The ContentKeys used by this Streaming Locator.
DefaultContentKeyPolicyName string
Name of the default ContentKeyPolicy used by this Streaming Locator.
EndTime string
The end time of the Streaming Locator.
Filters []string
A list of asset or account filters which apply to this streaming locator
StartTime string
The start time of the Streaming Locator.
StreamingLocatorId string
The StreamingLocatorId of the Streaming Locator.
StreamingLocatorName Changes to this property will trigger replacement. string
The Streaming Locator name.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The Media Services account name.
assetName This property is required. String
Asset Name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the Azure subscription.
streamingPolicyName This property is required. String
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'
alternativeMediaId String
Alternative Media ID of this Streaming Locator
contentKeys List<StreamingLocatorContentKey>
The ContentKeys used by this Streaming Locator.
defaultContentKeyPolicyName String
Name of the default ContentKeyPolicy used by this Streaming Locator.
endTime String
The end time of the Streaming Locator.
filters List<String>
A list of asset or account filters which apply to this streaming locator
startTime String
The start time of the Streaming Locator.
streamingLocatorId String
The StreamingLocatorId of the Streaming Locator.
streamingLocatorName Changes to this property will trigger replacement. String
The Streaming Locator name.
accountName
This property is required.
Changes to this property will trigger replacement.
string
The Media Services account name.
assetName This property is required. string
Asset Name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the Azure subscription.
streamingPolicyName This property is required. string
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'
alternativeMediaId string
Alternative Media ID of this Streaming Locator
contentKeys StreamingLocatorContentKey[]
The ContentKeys used by this Streaming Locator.
defaultContentKeyPolicyName string
Name of the default ContentKeyPolicy used by this Streaming Locator.
endTime string
The end time of the Streaming Locator.
filters string[]
A list of asset or account filters which apply to this streaming locator
startTime string
The start time of the Streaming Locator.
streamingLocatorId string
The StreamingLocatorId of the Streaming Locator.
streamingLocatorName Changes to this property will trigger replacement. string
The Streaming Locator name.
account_name
This property is required.
Changes to this property will trigger replacement.
str
The Media Services account name.
asset_name This property is required. str
Asset Name
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group within the Azure subscription.
streaming_policy_name This property is required. str
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'
alternative_media_id str
Alternative Media ID of this Streaming Locator
content_keys Sequence[StreamingLocatorContentKeyArgs]
The ContentKeys used by this Streaming Locator.
default_content_key_policy_name str
Name of the default ContentKeyPolicy used by this Streaming Locator.
end_time str
The end time of the Streaming Locator.
filters Sequence[str]
A list of asset or account filters which apply to this streaming locator
start_time str
The start time of the Streaming Locator.
streaming_locator_id str
The StreamingLocatorId of the Streaming Locator.
streaming_locator_name Changes to this property will trigger replacement. str
The Streaming Locator name.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The Media Services account name.
assetName This property is required. String
Asset Name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the Azure subscription.
streamingPolicyName This property is required. String
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'
alternativeMediaId String
Alternative Media ID of this Streaming Locator
contentKeys List<Property Map>
The ContentKeys used by this Streaming Locator.
defaultContentKeyPolicyName String
Name of the default ContentKeyPolicy used by this Streaming Locator.
endTime String
The end time of the Streaming Locator.
filters List<String>
A list of asset or account filters which apply to this streaming locator
startTime String
The start time of the Streaming Locator.
streamingLocatorId String
The StreamingLocatorId of the Streaming Locator.
streamingLocatorName Changes to this property will trigger replacement. String
The Streaming Locator name.

Outputs

All input properties are implicitly available as output properties. Additionally, the StreamingLocator resource produces the following output properties:

AzureApiVersion string
The Azure API version of the resource.
Created string
The creation time of the Streaming Locator.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData Pulumi.AzureNative.Media.Outputs.SystemDataResponse
The system metadata relating to this resource.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
AzureApiVersion string
The Azure API version of the resource.
Created string
The creation time of the Streaming Locator.
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData SystemDataResponse
The system metadata relating to this resource.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
created String
The creation time of the Streaming Locator.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData SystemDataResponse
The system metadata relating to this resource.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion string
The Azure API version of the resource.
created string
The creation time of the Streaming Locator.
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
systemData SystemDataResponse
The system metadata relating to this resource.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azure_api_version str
The Azure API version of the resource.
created str
The creation time of the Streaming Locator.
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
system_data SystemDataResponse
The system metadata relating to this resource.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
azureApiVersion String
The Azure API version of the resource.
created String
The creation time of the Streaming Locator.
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData Property Map
The system metadata relating to this resource.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

StreamingLocatorContentKey
, StreamingLocatorContentKeyArgs

Id This property is required. string
ID of Content Key
LabelReferenceInStreamingPolicy string
Label of Content Key as specified in the Streaming Policy
Value string
Value of Content Key
Id This property is required. string
ID of Content Key
LabelReferenceInStreamingPolicy string
Label of Content Key as specified in the Streaming Policy
Value string
Value of Content Key
id This property is required. String
ID of Content Key
labelReferenceInStreamingPolicy String
Label of Content Key as specified in the Streaming Policy
value String
Value of Content Key
id This property is required. string
ID of Content Key
labelReferenceInStreamingPolicy string
Label of Content Key as specified in the Streaming Policy
value string
Value of Content Key
id This property is required. str
ID of Content Key
label_reference_in_streaming_policy str
Label of Content Key as specified in the Streaming Policy
value str
Value of Content Key
id This property is required. String
ID of Content Key
labelReferenceInStreamingPolicy String
Label of Content Key as specified in the Streaming Policy
value String
Value of Content Key

StreamingLocatorContentKeyResponse
, StreamingLocatorContentKeyResponseArgs

Id This property is required. string
ID of Content Key
PolicyName This property is required. string
ContentKeyPolicy used by Content Key
Tracks This property is required. List<Pulumi.AzureNative.Media.Inputs.TrackSelectionResponse>
Tracks which use this Content Key
Type This property is required. string
Encryption type of Content Key
LabelReferenceInStreamingPolicy string
Label of Content Key as specified in the Streaming Policy
Value string
Value of Content Key
Id This property is required. string
ID of Content Key
PolicyName This property is required. string
ContentKeyPolicy used by Content Key
Tracks This property is required. []TrackSelectionResponse
Tracks which use this Content Key
Type This property is required. string
Encryption type of Content Key
LabelReferenceInStreamingPolicy string
Label of Content Key as specified in the Streaming Policy
Value string
Value of Content Key
id This property is required. String
ID of Content Key
policyName This property is required. String
ContentKeyPolicy used by Content Key
tracks This property is required. List<TrackSelectionResponse>
Tracks which use this Content Key
type This property is required. String
Encryption type of Content Key
labelReferenceInStreamingPolicy String
Label of Content Key as specified in the Streaming Policy
value String
Value of Content Key
id This property is required. string
ID of Content Key
policyName This property is required. string
ContentKeyPolicy used by Content Key
tracks This property is required. TrackSelectionResponse[]
Tracks which use this Content Key
type This property is required. string
Encryption type of Content Key
labelReferenceInStreamingPolicy string
Label of Content Key as specified in the Streaming Policy
value string
Value of Content Key
id This property is required. str
ID of Content Key
policy_name This property is required. str
ContentKeyPolicy used by Content Key
tracks This property is required. Sequence[TrackSelectionResponse]
Tracks which use this Content Key
type This property is required. str
Encryption type of Content Key
label_reference_in_streaming_policy str
Label of Content Key as specified in the Streaming Policy
value str
Value of Content Key
id This property is required. String
ID of Content Key
policyName This property is required. String
ContentKeyPolicy used by Content Key
tracks This property is required. List<Property Map>
Tracks which use this Content Key
type This property is required. String
Encryption type of Content Key
labelReferenceInStreamingPolicy String
Label of Content Key as specified in the Streaming Policy
value String
Value of Content Key

SystemDataResponse
, SystemDataResponseArgs

CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
CreatedAt string
The timestamp of resource creation (UTC).
CreatedBy string
The identity that created the resource.
CreatedByType string
The type of identity that created the resource.
LastModifiedAt string
The timestamp of resource last modification (UTC)
LastModifiedBy string
The identity that last modified the resource.
LastModifiedByType string
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.
createdAt string
The timestamp of resource creation (UTC).
createdBy string
The identity that created the resource.
createdByType string
The type of identity that created the resource.
lastModifiedAt string
The timestamp of resource last modification (UTC)
lastModifiedBy string
The identity that last modified the resource.
lastModifiedByType string
The type of identity that last modified the resource.
created_at str
The timestamp of resource creation (UTC).
created_by str
The identity that created the resource.
created_by_type str
The type of identity that created the resource.
last_modified_at str
The timestamp of resource last modification (UTC)
last_modified_by str
The identity that last modified the resource.
last_modified_by_type str
The type of identity that last modified the resource.
createdAt String
The timestamp of resource creation (UTC).
createdBy String
The identity that created the resource.
createdByType String
The type of identity that created the resource.
lastModifiedAt String
The timestamp of resource last modification (UTC)
lastModifiedBy String
The identity that last modified the resource.
lastModifiedByType String
The type of identity that last modified the resource.

TrackPropertyConditionResponse
, TrackPropertyConditionResponseArgs

Operation This property is required. string
Track property condition operation
Property This property is required. string
Track property type
Value string
Track property value
Operation This property is required. string
Track property condition operation
Property This property is required. string
Track property type
Value string
Track property value
operation This property is required. String
Track property condition operation
property This property is required. String
Track property type
value String
Track property value
operation This property is required. string
Track property condition operation
property This property is required. string
Track property type
value string
Track property value
operation This property is required. str
Track property condition operation
property This property is required. str
Track property type
value str
Track property value
operation This property is required. String
Track property condition operation
property This property is required. String
Track property type
value String
Track property value

TrackSelectionResponse
, TrackSelectionResponseArgs

TrackSelections List<Pulumi.AzureNative.Media.Inputs.TrackPropertyConditionResponse>
TrackSelections is a track property condition list which can specify track(s)
TrackSelections []TrackPropertyConditionResponse
TrackSelections is a track property condition list which can specify track(s)
trackSelections List<TrackPropertyConditionResponse>
TrackSelections is a track property condition list which can specify track(s)
trackSelections TrackPropertyConditionResponse[]
TrackSelections is a track property condition list which can specify track(s)
track_selections Sequence[TrackPropertyConditionResponse]
TrackSelections is a track property condition list which can specify track(s)
trackSelections List<Property Map>
TrackSelections is a track property condition list which can specify track(s)

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:media:StreamingLocator UserCreatedSecureStreamingLocatorWithUserDefinedContentKeys /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingLocators/{streamingLocatorName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0