azure-native.media.StreamingLocator
Explore with Pulumi AI
A Streaming Locator resource Azure REST API version: 2023-01-01. Prior API version in Azure Native 1.x: 2020-05-01.
Other available API versions: 2018-03-30-preview.
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",
    });
});
package main
import (
	media "github.com/pulumi/pulumi-azure-native-sdk/media/v2"
	"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
	})
}
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());
    }
}
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",
});
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")
resources:
  streamingLocator:
    type: azure-native:media:StreamingLocator
    properties:
      accountName: contosomedia
      assetName: ClimbingMountRainier
      resourceGroupName: contosorg
      streamingLocatorName: UserCreatedClearStreamingLocator
      streamingPolicyName: clearStreamingPolicy
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",
    });
});
package main
import (
	media "github.com/pulumi/pulumi-azure-native-sdk/media/v2"
	"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
	})
}
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());
    }
}
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",
});
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")
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
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",
    });
});
package main
import (
	media "github.com/pulumi/pulumi-azure-native-sdk/media/v2"
	"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
	})
}
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());
    }
}
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",
});
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")
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
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 string
- The unique name of the resource.
- args StreamingLocatorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args StreamingLocatorArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StreamingLocatorArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
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
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 string
- The Media Services account name.
- AssetName string
- Asset Name
- ResourceGroup stringName 
- The name of the resource group within the Azure subscription.
- StreamingPolicy stringName 
- 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'
- AlternativeMedia stringId 
- Alternative Media ID of this Streaming Locator
- ContentKeys List<Pulumi.Azure Native. Media. Inputs. Streaming Locator Content Key> 
- The ContentKeys used by this Streaming Locator.
- DefaultContent stringKey Policy Name 
- 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.
- StreamingLocator stringId 
- The StreamingLocatorId of the Streaming Locator.
- StreamingLocator stringName 
- The Streaming Locator name.
- AccountName string
- The Media Services account name.
- AssetName string
- Asset Name
- ResourceGroup stringName 
- The name of the resource group within the Azure subscription.
- StreamingPolicy stringName 
- 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'
- AlternativeMedia stringId 
- Alternative Media ID of this Streaming Locator
- ContentKeys []StreamingLocator Content Key Args 
- The ContentKeys used by this Streaming Locator.
- DefaultContent stringKey Policy Name 
- 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.
- StreamingLocator stringId 
- The StreamingLocatorId of the Streaming Locator.
- StreamingLocator stringName 
- The Streaming Locator name.
- accountName String
- The Media Services account name.
- assetName String
- Asset Name
- resourceGroup StringName 
- The name of the resource group within the Azure subscription.
- streamingPolicy StringName 
- 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'
- alternativeMedia StringId 
- Alternative Media ID of this Streaming Locator
- contentKeys List<StreamingLocator Content Key> 
- The ContentKeys used by this Streaming Locator.
- defaultContent StringKey Policy Name 
- 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.
- streamingLocator StringId 
- The StreamingLocatorId of the Streaming Locator.
- streamingLocator StringName 
- The Streaming Locator name.
- accountName string
- The Media Services account name.
- assetName string
- Asset Name
- resourceGroup stringName 
- The name of the resource group within the Azure subscription.
- streamingPolicy stringName 
- 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'
- alternativeMedia stringId 
- Alternative Media ID of this Streaming Locator
- contentKeys StreamingLocator Content Key[] 
- The ContentKeys used by this Streaming Locator.
- defaultContent stringKey Policy Name 
- 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.
- streamingLocator stringId 
- The StreamingLocatorId of the Streaming Locator.
- streamingLocator stringName 
- The Streaming Locator name.
- account_name str
- The Media Services account name.
- asset_name str
- Asset Name
- resource_group_ strname 
- The name of the resource group within the Azure subscription.
- streaming_policy_ strname 
- 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_ strid 
- Alternative Media ID of this Streaming Locator
- content_keys Sequence[StreamingLocator Content Key Args] 
- The ContentKeys used by this Streaming Locator.
- default_content_ strkey_ policy_ name 
- 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_ strid 
- The StreamingLocatorId of the Streaming Locator.
- streaming_locator_ strname 
- The Streaming Locator name.
- accountName String
- The Media Services account name.
- assetName String
- Asset Name
- resourceGroup StringName 
- The name of the resource group within the Azure subscription.
- streamingPolicy StringName 
- 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'
- alternativeMedia StringId 
- Alternative Media ID of this Streaming Locator
- contentKeys List<Property Map>
- The ContentKeys used by this Streaming Locator.
- defaultContent StringKey Policy Name 
- 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.
- streamingLocator StringId 
- The StreamingLocatorId of the Streaming Locator.
- streamingLocator StringName 
- The Streaming Locator name.
Outputs
All input properties are implicitly available as output properties. Additionally, the StreamingLocator resource produces the following output properties:
- 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.Azure Native. Media. Outputs. System Data Response 
- The system metadata relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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 SystemData Response 
- The system metadata relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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 SystemData Response 
- The system metadata relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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 SystemData Response 
- The system metadata relating to this resource.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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 SystemData Response 
- The system metadata relating to this resource.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- 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 string
- ID of Content Key
- LabelReference stringIn Streaming Policy 
- Label of Content Key as specified in the Streaming Policy
- Value string
- Value of Content Key
- Id string
- ID of Content Key
- LabelReference stringIn Streaming Policy 
- Label of Content Key as specified in the Streaming Policy
- Value string
- Value of Content Key
- id String
- ID of Content Key
- labelReference StringIn Streaming Policy 
- Label of Content Key as specified in the Streaming Policy
- value String
- Value of Content Key
- id string
- ID of Content Key
- labelReference stringIn Streaming Policy 
- Label of Content Key as specified in the Streaming Policy
- value string
- Value of Content Key
- id str
- ID of Content Key
- label_reference_ strin_ streaming_ policy 
- Label of Content Key as specified in the Streaming Policy
- value str
- Value of Content Key
- id String
- ID of Content Key
- labelReference StringIn Streaming Policy 
- Label of Content Key as specified in the Streaming Policy
- value String
- Value of Content Key
StreamingLocatorContentKeyResponse, StreamingLocatorContentKeyResponseArgs          
- Id string
- ID of Content Key
- PolicyName string
- ContentKeyPolicy used by Content Key
- Tracks
List<Pulumi.Azure Native. Media. Inputs. Track Selection Response> 
- Tracks which use this Content Key
- Type string
- Encryption type of Content Key
- LabelReference stringIn Streaming Policy 
- Label of Content Key as specified in the Streaming Policy
- Value string
- Value of Content Key
- Id string
- ID of Content Key
- PolicyName string
- ContentKeyPolicy used by Content Key
- Tracks
[]TrackSelection Response 
- Tracks which use this Content Key
- Type string
- Encryption type of Content Key
- LabelReference stringIn Streaming Policy 
- Label of Content Key as specified in the Streaming Policy
- Value string
- Value of Content Key
- id String
- ID of Content Key
- policyName String
- ContentKeyPolicy used by Content Key
- tracks
List<TrackSelection Response> 
- Tracks which use this Content Key
- type String
- Encryption type of Content Key
- labelReference StringIn Streaming Policy 
- Label of Content Key as specified in the Streaming Policy
- value String
- Value of Content Key
- id string
- ID of Content Key
- policyName string
- ContentKeyPolicy used by Content Key
- tracks
TrackSelection Response[] 
- Tracks which use this Content Key
- type string
- Encryption type of Content Key
- labelReference stringIn Streaming Policy 
- Label of Content Key as specified in the Streaming Policy
- value string
- Value of Content Key
- id str
- ID of Content Key
- policy_name str
- ContentKeyPolicy used by Content Key
- tracks
Sequence[TrackSelection Response] 
- Tracks which use this Content Key
- type str
- Encryption type of Content Key
- label_reference_ strin_ streaming_ policy 
- Label of Content Key as specified in the Streaming Policy
- value str
- Value of Content Key
- id String
- ID of Content Key
- policyName String
- ContentKeyPolicy used by Content Key
- tracks List<Property Map>
- Tracks which use this Content Key
- type String
- Encryption type of Content Key
- labelReference StringIn Streaming Policy 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- 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_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
TrackPropertyConditionResponse, TrackPropertyConditionResponseArgs        
TrackSelectionResponse, TrackSelectionResponseArgs      
- TrackSelections List<Pulumi.Azure Native. Media. Inputs. Track Property Condition Response> 
- TrackSelections is a track property condition list which can specify track(s)
- TrackSelections []TrackProperty Condition Response 
- TrackSelections is a track property condition list which can specify track(s)
- trackSelections List<TrackProperty Condition Response> 
- TrackSelections is a track property condition list which can specify track(s)
- trackSelections TrackProperty Condition Response[] 
- TrackSelections is a track property condition list which can specify track(s)
- track_selections Sequence[TrackProperty Condition Response] 
- 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} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0