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

azure-native.media.StreamingLocator

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi

    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 (
    	"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 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")
    
    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",
    });
    
    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 (
    	"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 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")
    
    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",
    });
    
    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 (
    	"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 pulumi
    import pulumi_azure_native as azure_native
    
    streaming_locator = azure_native.media.StreamingLocator("streamingLocator",
        account_name="contosomedia",
        asset_name="ClimbingMountRainier",
        content_keys=[
            azure_native.media.StreamingLocatorContentKeyArgs(
                id="60000000-0000-0000-0000-000000000001",
                label_reference_in_streaming_policy="aesDefaultKey",
                value="1UqLohAfWsEGkULYxHjYZg==",
            ),
            azure_native.media.StreamingLocatorContentKeyArgs(
                id="60000000-0000-0000-0000-000000000004",
                label_reference_in_streaming_policy="cencDefaultKey",
                value="4UqLohAfWsEGkULYxHjYZg==",
            ),
            azure_native.media.StreamingLocatorContentKeyArgs(
                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")
    
    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",
    });
    
    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.

    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=[azure_native.media.StreamingLocatorContentKeyArgs(
            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

    The StreamingLocator resource accepts the following input properties:

    AccountName string
    The Media Services account name.
    AssetName string
    Asset Name
    ResourceGroupName string
    The name of the resource group within the Azure subscription.
    StreamingPolicyName 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 string
    The Streaming Locator name.
    AccountName string
    The Media Services account name.
    AssetName string
    Asset Name
    ResourceGroupName string
    The name of the resource group within the Azure subscription.
    StreamingPolicyName 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 string
    The Streaming Locator name.
    accountName String
    The Media Services account name.
    assetName String
    Asset Name
    resourceGroupName String
    The name of the resource group within the Azure subscription.
    streamingPolicyName 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 String
    The Streaming Locator name.
    accountName string
    The Media Services account name.
    assetName string
    Asset Name
    resourceGroupName string
    The name of the resource group within the Azure subscription.
    streamingPolicyName 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 string
    The Streaming Locator name.
    account_name str
    The Media Services account name.
    asset_name str
    Asset Name
    resource_group_name str
    The name of the resource group within the Azure subscription.
    streaming_policy_name 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 str
    The Streaming Locator name.
    accountName String
    The Media Services account name.
    assetName String
    Asset Name
    resourceGroupName String
    The name of the resource group within the Azure subscription.
    streamingPolicyName 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 String
    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.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"
    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"
    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"
    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"
    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"
    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
    LabelReferenceInStreamingPolicy string
    Label of Content Key as specified in the Streaming Policy
    Value string
    Value of Content Key
    Id string
    ID of Content Key
    LabelReferenceInStreamingPolicy string
    Label of Content Key as specified in the Streaming Policy
    Value string
    Value of Content Key
    id String
    ID of Content Key
    labelReferenceInStreamingPolicy String
    Label of Content Key as specified in the Streaming Policy
    value String
    Value of Content Key
    id string
    ID of Content Key
    labelReferenceInStreamingPolicy string
    Label of Content Key as specified in the Streaming Policy
    value string
    Value of Content Key
    id 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 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 string
    ID of Content Key
    PolicyName string
    ContentKeyPolicy used by Content Key
    Tracks List<Pulumi.AzureNative.Media.Inputs.TrackSelectionResponse>
    Tracks which use this Content Key
    Type 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 string
    ID of Content Key
    PolicyName string
    ContentKeyPolicy used by Content Key
    Tracks []TrackSelectionResponse
    Tracks which use this Content Key
    Type 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 String
    ID of Content Key
    policyName String
    ContentKeyPolicy used by Content Key
    tracks List<TrackSelectionResponse>
    Tracks which use this Content Key
    type 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 string
    ID of Content Key
    policyName string
    ContentKeyPolicy used by Content Key
    tracks TrackSelectionResponse[]
    Tracks which use this Content Key
    type 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 str
    ID of Content Key
    policy_name str
    ContentKeyPolicy used by Content Key
    tracks Sequence[TrackSelectionResponse]
    Tracks which use this Content Key
    type 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 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
    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 string
    Track property condition operation
    Property string
    Track property type
    Value string
    Track property value
    Operation string
    Track property condition operation
    Property string
    Track property type
    Value string
    Track property value
    operation String
    Track property condition operation
    property String
    Track property type
    value String
    Track property value
    operation string
    Track property condition operation
    property string
    Track property type
    value string
    Track property value
    operation str
    Track property condition operation
    property str
    Track property type
    value str
    Track property value
    operation String
    Track property condition operation
    property 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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.37.0 published on Monday, Apr 15, 2024 by Pulumi