1. Packages
  2. Azure Native
  3. API Docs
  4. media
  5. StreamingPolicy
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.77.0 published on Thursday, Dec 12, 2024 by Pulumi

azure-native.media.StreamingPolicy

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.77.0 published on Thursday, Dec 12, 2024 by Pulumi

    A Streaming Policy resource Azure REST API version: 2023-01-01. Prior API version in Azure Native 1.x: 2020-05-01.

    Example Usage

    Creates a Streaming Policy with ClearKey encryption in commonEncryptionCbcs.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
        {
            AccountName = "contosomedia",
            CommonEncryptionCbcs = new AzureNative.Media.Inputs.CommonEncryptionCbcsArgs
            {
                ClearKeyEncryptionConfiguration = new AzureNative.Media.Inputs.ClearKeyEncryptionConfigurationArgs
                {
                    CustomKeysAcquisitionUrlTemplate = "https://contoso.com/{AlternativeMediaId}/clearkey/",
                },
                ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
                {
                    DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                    {
                        Label = "cbcsDefaultKey",
                    },
                },
                EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
                {
                    Dash = false,
                    Download = false,
                    Hls = true,
                    SmoothStreaming = false,
                },
            },
            DefaultContentKeyPolicyName = "PolicyWithMultipleOptions",
            ResourceGroupName = "contosorg",
            StreamingPolicyName = "UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly",
        });
    
    });
    
    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.NewStreamingPolicy(ctx, "streamingPolicy", &media.StreamingPolicyArgs{
    			AccountName: pulumi.String("contosomedia"),
    			CommonEncryptionCbcs: &media.CommonEncryptionCbcsArgs{
    				ClearKeyEncryptionConfiguration: &media.ClearKeyEncryptionConfigurationArgs{
    					CustomKeysAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AlternativeMediaId}/clearkey/"),
    				},
    				ContentKeys: &media.StreamingPolicyContentKeysArgs{
    					DefaultKey: &media.DefaultKeyArgs{
    						Label: pulumi.String("cbcsDefaultKey"),
    					},
    				},
    				EnabledProtocols: &media.EnabledProtocolsArgs{
    					Dash:            pulumi.Bool(false),
    					Download:        pulumi.Bool(false),
    					Hls:             pulumi.Bool(true),
    					SmoothStreaming: pulumi.Bool(false),
    				},
    			},
    			DefaultContentKeyPolicyName: pulumi.String("PolicyWithMultipleOptions"),
    			ResourceGroupName:           pulumi.String("contosorg"),
    			StreamingPolicyName:         pulumi.String("UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly"),
    		})
    		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.StreamingPolicy;
    import com.pulumi.azurenative.media.StreamingPolicyArgs;
    import com.pulumi.azurenative.media.inputs.CommonEncryptionCbcsArgs;
    import com.pulumi.azurenative.media.inputs.ClearKeyEncryptionConfigurationArgs;
    import com.pulumi.azurenative.media.inputs.StreamingPolicyContentKeysArgs;
    import com.pulumi.azurenative.media.inputs.DefaultKeyArgs;
    import com.pulumi.azurenative.media.inputs.EnabledProtocolsArgs;
    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 streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()
                .accountName("contosomedia")
                .commonEncryptionCbcs(CommonEncryptionCbcsArgs.builder()
                    .clearKeyEncryptionConfiguration(ClearKeyEncryptionConfigurationArgs.builder()
                        .customKeysAcquisitionUrlTemplate("https://contoso.com/{AlternativeMediaId}/clearkey/")
                        .build())
                    .contentKeys(StreamingPolicyContentKeysArgs.builder()
                        .defaultKey(DefaultKeyArgs.builder()
                            .label("cbcsDefaultKey")
                            .build())
                        .build())
                    .enabledProtocols(EnabledProtocolsArgs.builder()
                        .dash(false)
                        .download(false)
                        .hls(true)
                        .smoothStreaming(false)
                        .build())
                    .build())
                .defaultContentKeyPolicyName("PolicyWithMultipleOptions")
                .resourceGroupName("contosorg")
                .streamingPolicyName("UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
        account_name="contosomedia",
        common_encryption_cbcs={
            "clear_key_encryption_configuration": {
                "custom_keys_acquisition_url_template": "https://contoso.com/{AlternativeMediaId}/clearkey/",
            },
            "content_keys": {
                "default_key": {
                    "label": "cbcsDefaultKey",
                },
            },
            "enabled_protocols": {
                "dash": False,
                "download": False,
                "hls": True,
                "smooth_streaming": False,
            },
        },
        default_content_key_policy_name="PolicyWithMultipleOptions",
        resource_group_name="contosorg",
        streaming_policy_name="UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
        accountName: "contosomedia",
        commonEncryptionCbcs: {
            clearKeyEncryptionConfiguration: {
                customKeysAcquisitionUrlTemplate: "https://contoso.com/{AlternativeMediaId}/clearkey/",
            },
            contentKeys: {
                defaultKey: {
                    label: "cbcsDefaultKey",
                },
            },
            enabledProtocols: {
                dash: false,
                download: false,
                hls: true,
                smoothStreaming: false,
            },
        },
        defaultContentKeyPolicyName: "PolicyWithMultipleOptions",
        resourceGroupName: "contosorg",
        streamingPolicyName: "UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly",
    });
    
    resources:
      streamingPolicy:
        type: azure-native:media:StreamingPolicy
        properties:
          accountName: contosomedia
          commonEncryptionCbcs:
            clearKeyEncryptionConfiguration:
              customKeysAcquisitionUrlTemplate: https://contoso.com/{AlternativeMediaId}/clearkey/
            contentKeys:
              defaultKey:
                label: cbcsDefaultKey
            enabledProtocols:
              dash: false
              download: false
              hls: true
              smoothStreaming: false
          defaultContentKeyPolicyName: PolicyWithMultipleOptions
          resourceGroupName: contosorg
          streamingPolicyName: UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly
    

    Creates a Streaming Policy with ClearKey encryption in commonEncryptionCenc.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
        {
            AccountName = "contosomedia",
            CommonEncryptionCenc = new AzureNative.Media.Inputs.CommonEncryptionCencArgs
            {
                ClearKeyEncryptionConfiguration = new AzureNative.Media.Inputs.ClearKeyEncryptionConfigurationArgs
                {
                    CustomKeysAcquisitionUrlTemplate = "https://contoso.com/{AlternativeMediaId}/clearkey/",
                },
                ClearTracks = new[]
                {
                    new AzureNative.Media.Inputs.TrackSelectionArgs
                    {
                        TrackSelections = new[]
                        {
                            new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                            {
                                Operation = AzureNative.Media.TrackPropertyCompareOperation.Equal,
                                Property = AzureNative.Media.TrackPropertyType.FourCC,
                                Value = "hev1",
                            },
                        },
                    },
                },
                ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
                {
                    DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                    {
                        Label = "cencDefaultKey",
                    },
                },
                EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
                {
                    Dash = true,
                    Download = false,
                    Hls = false,
                    SmoothStreaming = true,
                },
            },
            DefaultContentKeyPolicyName = "PolicyWithPlayReadyOptionAndOpenRestriction",
            ResourceGroupName = "contosorg",
            StreamingPolicyName = "UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly",
        });
    
    });
    
    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.NewStreamingPolicy(ctx, "streamingPolicy", &media.StreamingPolicyArgs{
    			AccountName: pulumi.String("contosomedia"),
    			CommonEncryptionCenc: &media.CommonEncryptionCencArgs{
    				ClearKeyEncryptionConfiguration: &media.ClearKeyEncryptionConfigurationArgs{
    					CustomKeysAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AlternativeMediaId}/clearkey/"),
    				},
    				ClearTracks: media.TrackSelectionArray{
    					&media.TrackSelectionArgs{
    						TrackSelections: media.TrackPropertyConditionArray{
    							&media.TrackPropertyConditionArgs{
    								Operation: pulumi.String(media.TrackPropertyCompareOperationEqual),
    								Property:  pulumi.String(media.TrackPropertyTypeFourCC),
    								Value:     pulumi.String("hev1"),
    							},
    						},
    					},
    				},
    				ContentKeys: &media.StreamingPolicyContentKeysArgs{
    					DefaultKey: &media.DefaultKeyArgs{
    						Label: pulumi.String("cencDefaultKey"),
    					},
    				},
    				EnabledProtocols: &media.EnabledProtocolsArgs{
    					Dash:            pulumi.Bool(true),
    					Download:        pulumi.Bool(false),
    					Hls:             pulumi.Bool(false),
    					SmoothStreaming: pulumi.Bool(true),
    				},
    			},
    			DefaultContentKeyPolicyName: pulumi.String("PolicyWithPlayReadyOptionAndOpenRestriction"),
    			ResourceGroupName:           pulumi.String("contosorg"),
    			StreamingPolicyName:         pulumi.String("UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly"),
    		})
    		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.StreamingPolicy;
    import com.pulumi.azurenative.media.StreamingPolicyArgs;
    import com.pulumi.azurenative.media.inputs.CommonEncryptionCencArgs;
    import com.pulumi.azurenative.media.inputs.ClearKeyEncryptionConfigurationArgs;
    import com.pulumi.azurenative.media.inputs.StreamingPolicyContentKeysArgs;
    import com.pulumi.azurenative.media.inputs.DefaultKeyArgs;
    import com.pulumi.azurenative.media.inputs.EnabledProtocolsArgs;
    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 streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()
                .accountName("contosomedia")
                .commonEncryptionCenc(CommonEncryptionCencArgs.builder()
                    .clearKeyEncryptionConfiguration(ClearKeyEncryptionConfigurationArgs.builder()
                        .customKeysAcquisitionUrlTemplate("https://contoso.com/{AlternativeMediaId}/clearkey/")
                        .build())
                    .clearTracks(TrackSelectionArgs.builder()
                        .trackSelections(TrackPropertyConditionArgs.builder()
                            .operation("Equal")
                            .property("FourCC")
                            .value("hev1")
                            .build())
                        .build())
                    .contentKeys(StreamingPolicyContentKeysArgs.builder()
                        .defaultKey(DefaultKeyArgs.builder()
                            .label("cencDefaultKey")
                            .build())
                        .build())
                    .enabledProtocols(EnabledProtocolsArgs.builder()
                        .dash(true)
                        .download(false)
                        .hls(false)
                        .smoothStreaming(true)
                        .build())
                    .build())
                .defaultContentKeyPolicyName("PolicyWithPlayReadyOptionAndOpenRestriction")
                .resourceGroupName("contosorg")
                .streamingPolicyName("UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
        account_name="contosomedia",
        common_encryption_cenc={
            "clear_key_encryption_configuration": {
                "custom_keys_acquisition_url_template": "https://contoso.com/{AlternativeMediaId}/clearkey/",
            },
            "clear_tracks": [{
                "track_selections": [{
                    "operation": azure_native.media.TrackPropertyCompareOperation.EQUAL,
                    "property": azure_native.media.TrackPropertyType.FOUR_CC,
                    "value": "hev1",
                }],
            }],
            "content_keys": {
                "default_key": {
                    "label": "cencDefaultKey",
                },
            },
            "enabled_protocols": {
                "dash": True,
                "download": False,
                "hls": False,
                "smooth_streaming": True,
            },
        },
        default_content_key_policy_name="PolicyWithPlayReadyOptionAndOpenRestriction",
        resource_group_name="contosorg",
        streaming_policy_name="UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
        accountName: "contosomedia",
        commonEncryptionCenc: {
            clearKeyEncryptionConfiguration: {
                customKeysAcquisitionUrlTemplate: "https://contoso.com/{AlternativeMediaId}/clearkey/",
            },
            clearTracks: [{
                trackSelections: [{
                    operation: azure_native.media.TrackPropertyCompareOperation.Equal,
                    property: azure_native.media.TrackPropertyType.FourCC,
                    value: "hev1",
                }],
            }],
            contentKeys: {
                defaultKey: {
                    label: "cencDefaultKey",
                },
            },
            enabledProtocols: {
                dash: true,
                download: false,
                hls: false,
                smoothStreaming: true,
            },
        },
        defaultContentKeyPolicyName: "PolicyWithPlayReadyOptionAndOpenRestriction",
        resourceGroupName: "contosorg",
        streamingPolicyName: "UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly",
    });
    
    resources:
      streamingPolicy:
        type: azure-native:media:StreamingPolicy
        properties:
          accountName: contosomedia
          commonEncryptionCenc:
            clearKeyEncryptionConfiguration:
              customKeysAcquisitionUrlTemplate: https://contoso.com/{AlternativeMediaId}/clearkey/
            clearTracks:
              - trackSelections:
                  - operation: Equal
                    property: FourCC
                    value: hev1
            contentKeys:
              defaultKey:
                label: cencDefaultKey
            enabledProtocols:
              dash: true
              download: false
              hls: false
              smoothStreaming: true
          defaultContentKeyPolicyName: PolicyWithPlayReadyOptionAndOpenRestriction
          resourceGroupName: contosorg
          streamingPolicyName: UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly
    

    Creates a Streaming Policy with clear streaming

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
        {
            AccountName = "contosomedia",
            NoEncryption = new AzureNative.Media.Inputs.NoEncryptionArgs
            {
                EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
                {
                    Dash = true,
                    Download = true,
                    Hls = true,
                    SmoothStreaming = true,
                },
            },
            ResourceGroupName = "contosorg",
            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.NewStreamingPolicy(ctx, "streamingPolicy", &media.StreamingPolicyArgs{
    			AccountName: pulumi.String("contosomedia"),
    			NoEncryption: &media.NoEncryptionArgs{
    				EnabledProtocols: &media.EnabledProtocolsArgs{
    					Dash:            pulumi.Bool(true),
    					Download:        pulumi.Bool(true),
    					Hls:             pulumi.Bool(true),
    					SmoothStreaming: pulumi.Bool(true),
    				},
    			},
    			ResourceGroupName:   pulumi.String("contosorg"),
    			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.StreamingPolicy;
    import com.pulumi.azurenative.media.StreamingPolicyArgs;
    import com.pulumi.azurenative.media.inputs.NoEncryptionArgs;
    import com.pulumi.azurenative.media.inputs.EnabledProtocolsArgs;
    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 streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()
                .accountName("contosomedia")
                .noEncryption(NoEncryptionArgs.builder()
                    .enabledProtocols(EnabledProtocolsArgs.builder()
                        .dash(true)
                        .download(true)
                        .hls(true)
                        .smoothStreaming(true)
                        .build())
                    .build())
                .resourceGroupName("contosorg")
                .streamingPolicyName("clearStreamingPolicy")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
        account_name="contosomedia",
        no_encryption={
            "enabled_protocols": {
                "dash": True,
                "download": True,
                "hls": True,
                "smooth_streaming": True,
            },
        },
        resource_group_name="contosorg",
        streaming_policy_name="clearStreamingPolicy")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
        accountName: "contosomedia",
        noEncryption: {
            enabledProtocols: {
                dash: true,
                download: true,
                hls: true,
                smoothStreaming: true,
            },
        },
        resourceGroupName: "contosorg",
        streamingPolicyName: "clearStreamingPolicy",
    });
    
    resources:
      streamingPolicy:
        type: azure-native:media:StreamingPolicy
        properties:
          accountName: contosomedia
          noEncryption:
            enabledProtocols:
              dash: true
              download: true
              hls: true
              smoothStreaming: true
          resourceGroupName: contosorg
          streamingPolicyName: clearStreamingPolicy
    

    Creates a Streaming Policy with commonEncryptionCbcs only

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
        {
            AccountName = "contosomedia",
            CommonEncryptionCbcs = new AzureNative.Media.Inputs.CommonEncryptionCbcsArgs
            {
                ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
                {
                    DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                    {
                        Label = "cbcsDefaultKey",
                    },
                },
                Drm = new AzureNative.Media.Inputs.CbcsDrmConfigurationArgs
                {
                    FairPlay = new AzureNative.Media.Inputs.StreamingPolicyFairPlayConfigurationArgs
                    {
                        AllowPersistentLicense = true,
                        CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
                    },
                },
                EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
                {
                    Dash = false,
                    Download = false,
                    Hls = true,
                    SmoothStreaming = false,
                },
            },
            DefaultContentKeyPolicyName = "PolicyWithMultipleOptions",
            ResourceGroupName = "contosorg",
            StreamingPolicyName = "UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly",
        });
    
    });
    
    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.NewStreamingPolicy(ctx, "streamingPolicy", &media.StreamingPolicyArgs{
    			AccountName: pulumi.String("contosomedia"),
    			CommonEncryptionCbcs: &media.CommonEncryptionCbcsArgs{
    				ContentKeys: &media.StreamingPolicyContentKeysArgs{
    					DefaultKey: &media.DefaultKeyArgs{
    						Label: pulumi.String("cbcsDefaultKey"),
    					},
    				},
    				Drm: &media.CbcsDrmConfigurationArgs{
    					FairPlay: &media.StreamingPolicyFairPlayConfigurationArgs{
    						AllowPersistentLicense:              pulumi.Bool(true),
    						CustomLicenseAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}"),
    					},
    				},
    				EnabledProtocols: &media.EnabledProtocolsArgs{
    					Dash:            pulumi.Bool(false),
    					Download:        pulumi.Bool(false),
    					Hls:             pulumi.Bool(true),
    					SmoothStreaming: pulumi.Bool(false),
    				},
    			},
    			DefaultContentKeyPolicyName: pulumi.String("PolicyWithMultipleOptions"),
    			ResourceGroupName:           pulumi.String("contosorg"),
    			StreamingPolicyName:         pulumi.String("UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly"),
    		})
    		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.StreamingPolicy;
    import com.pulumi.azurenative.media.StreamingPolicyArgs;
    import com.pulumi.azurenative.media.inputs.CommonEncryptionCbcsArgs;
    import com.pulumi.azurenative.media.inputs.StreamingPolicyContentKeysArgs;
    import com.pulumi.azurenative.media.inputs.DefaultKeyArgs;
    import com.pulumi.azurenative.media.inputs.CbcsDrmConfigurationArgs;
    import com.pulumi.azurenative.media.inputs.StreamingPolicyFairPlayConfigurationArgs;
    import com.pulumi.azurenative.media.inputs.EnabledProtocolsArgs;
    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 streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()
                .accountName("contosomedia")
                .commonEncryptionCbcs(CommonEncryptionCbcsArgs.builder()
                    .contentKeys(StreamingPolicyContentKeysArgs.builder()
                        .defaultKey(DefaultKeyArgs.builder()
                            .label("cbcsDefaultKey")
                            .build())
                        .build())
                    .drm(CbcsDrmConfigurationArgs.builder()
                        .fairPlay(StreamingPolicyFairPlayConfigurationArgs.builder()
                            .allowPersistentLicense(true)
                            .customLicenseAcquisitionUrlTemplate("https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}")
                            .build())
                        .build())
                    .enabledProtocols(EnabledProtocolsArgs.builder()
                        .dash(false)
                        .download(false)
                        .hls(true)
                        .smoothStreaming(false)
                        .build())
                    .build())
                .defaultContentKeyPolicyName("PolicyWithMultipleOptions")
                .resourceGroupName("contosorg")
                .streamingPolicyName("UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
        account_name="contosomedia",
        common_encryption_cbcs={
            "content_keys": {
                "default_key": {
                    "label": "cbcsDefaultKey",
                },
            },
            "drm": {
                "fair_play": {
                    "allow_persistent_license": True,
                    "custom_license_acquisition_url_template": "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
                },
            },
            "enabled_protocols": {
                "dash": False,
                "download": False,
                "hls": True,
                "smooth_streaming": False,
            },
        },
        default_content_key_policy_name="PolicyWithMultipleOptions",
        resource_group_name="contosorg",
        streaming_policy_name="UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
        accountName: "contosomedia",
        commonEncryptionCbcs: {
            contentKeys: {
                defaultKey: {
                    label: "cbcsDefaultKey",
                },
            },
            drm: {
                fairPlay: {
                    allowPersistentLicense: true,
                    customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
                },
            },
            enabledProtocols: {
                dash: false,
                download: false,
                hls: true,
                smoothStreaming: false,
            },
        },
        defaultContentKeyPolicyName: "PolicyWithMultipleOptions",
        resourceGroupName: "contosorg",
        streamingPolicyName: "UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly",
    });
    
    resources:
      streamingPolicy:
        type: azure-native:media:StreamingPolicy
        properties:
          accountName: contosomedia
          commonEncryptionCbcs:
            contentKeys:
              defaultKey:
                label: cbcsDefaultKey
            drm:
              fairPlay:
                allowPersistentLicense: true
                customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}
            enabledProtocols:
              dash: false
              download: false
              hls: true
              smoothStreaming: false
          defaultContentKeyPolicyName: PolicyWithMultipleOptions
          resourceGroupName: contosorg
          streamingPolicyName: UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly
    

    Creates a Streaming Policy with commonEncryptionCenc only

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
        {
            AccountName = "contosomedia",
            CommonEncryptionCenc = new AzureNative.Media.Inputs.CommonEncryptionCencArgs
            {
                ClearTracks = new[]
                {
                    new AzureNative.Media.Inputs.TrackSelectionArgs
                    {
                        TrackSelections = new[]
                        {
                            new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                            {
                                Operation = AzureNative.Media.TrackPropertyCompareOperation.Equal,
                                Property = AzureNative.Media.TrackPropertyType.FourCC,
                                Value = "hev1",
                            },
                        },
                    },
                },
                ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
                {
                    DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                    {
                        Label = "cencDefaultKey",
                    },
                },
                Drm = new AzureNative.Media.Inputs.CencDrmConfigurationArgs
                {
                    PlayReady = new AzureNative.Media.Inputs.StreamingPolicyPlayReadyConfigurationArgs
                    {
                        CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                        PlayReadyCustomAttributes = "PlayReady CustomAttributes",
                    },
                    Widevine = new AzureNative.Media.Inputs.StreamingPolicyWidevineConfigurationArgs
                    {
                        CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
                    },
                },
                EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
                {
                    Dash = true,
                    Download = false,
                    Hls = false,
                    SmoothStreaming = true,
                },
            },
            DefaultContentKeyPolicyName = "PolicyWithPlayReadyOptionAndOpenRestriction",
            ResourceGroupName = "contosorg",
            StreamingPolicyName = "UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly",
        });
    
    });
    
    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.NewStreamingPolicy(ctx, "streamingPolicy", &media.StreamingPolicyArgs{
    			AccountName: pulumi.String("contosomedia"),
    			CommonEncryptionCenc: &media.CommonEncryptionCencArgs{
    				ClearTracks: media.TrackSelectionArray{
    					&media.TrackSelectionArgs{
    						TrackSelections: media.TrackPropertyConditionArray{
    							&media.TrackPropertyConditionArgs{
    								Operation: pulumi.String(media.TrackPropertyCompareOperationEqual),
    								Property:  pulumi.String(media.TrackPropertyTypeFourCC),
    								Value:     pulumi.String("hev1"),
    							},
    						},
    					},
    				},
    				ContentKeys: &media.StreamingPolicyContentKeysArgs{
    					DefaultKey: &media.DefaultKeyArgs{
    						Label: pulumi.String("cencDefaultKey"),
    					},
    				},
    				Drm: &media.CencDrmConfigurationArgs{
    					PlayReady: &media.StreamingPolicyPlayReadyConfigurationArgs{
    						CustomLicenseAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}"),
    						PlayReadyCustomAttributes:           pulumi.String("PlayReady CustomAttributes"),
    					},
    					Widevine: &media.StreamingPolicyWidevineConfigurationArgs{
    						CustomLicenseAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"),
    					},
    				},
    				EnabledProtocols: &media.EnabledProtocolsArgs{
    					Dash:            pulumi.Bool(true),
    					Download:        pulumi.Bool(false),
    					Hls:             pulumi.Bool(false),
    					SmoothStreaming: pulumi.Bool(true),
    				},
    			},
    			DefaultContentKeyPolicyName: pulumi.String("PolicyWithPlayReadyOptionAndOpenRestriction"),
    			ResourceGroupName:           pulumi.String("contosorg"),
    			StreamingPolicyName:         pulumi.String("UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly"),
    		})
    		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.StreamingPolicy;
    import com.pulumi.azurenative.media.StreamingPolicyArgs;
    import com.pulumi.azurenative.media.inputs.CommonEncryptionCencArgs;
    import com.pulumi.azurenative.media.inputs.StreamingPolicyContentKeysArgs;
    import com.pulumi.azurenative.media.inputs.DefaultKeyArgs;
    import com.pulumi.azurenative.media.inputs.CencDrmConfigurationArgs;
    import com.pulumi.azurenative.media.inputs.StreamingPolicyPlayReadyConfigurationArgs;
    import com.pulumi.azurenative.media.inputs.StreamingPolicyWidevineConfigurationArgs;
    import com.pulumi.azurenative.media.inputs.EnabledProtocolsArgs;
    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 streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()
                .accountName("contosomedia")
                .commonEncryptionCenc(CommonEncryptionCencArgs.builder()
                    .clearTracks(TrackSelectionArgs.builder()
                        .trackSelections(TrackPropertyConditionArgs.builder()
                            .operation("Equal")
                            .property("FourCC")
                            .value("hev1")
                            .build())
                        .build())
                    .contentKeys(StreamingPolicyContentKeysArgs.builder()
                        .defaultKey(DefaultKeyArgs.builder()
                            .label("cencDefaultKey")
                            .build())
                        .build())
                    .drm(CencDrmConfigurationArgs.builder()
                        .playReady(StreamingPolicyPlayReadyConfigurationArgs.builder()
                            .customLicenseAcquisitionUrlTemplate("https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}")
                            .playReadyCustomAttributes("PlayReady CustomAttributes")
                            .build())
                        .widevine(StreamingPolicyWidevineConfigurationArgs.builder()
                            .customLicenseAcquisitionUrlTemplate("https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId")
                            .build())
                        .build())
                    .enabledProtocols(EnabledProtocolsArgs.builder()
                        .dash(true)
                        .download(false)
                        .hls(false)
                        .smoothStreaming(true)
                        .build())
                    .build())
                .defaultContentKeyPolicyName("PolicyWithPlayReadyOptionAndOpenRestriction")
                .resourceGroupName("contosorg")
                .streamingPolicyName("UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
        account_name="contosomedia",
        common_encryption_cenc={
            "clear_tracks": [{
                "track_selections": [{
                    "operation": azure_native.media.TrackPropertyCompareOperation.EQUAL,
                    "property": azure_native.media.TrackPropertyType.FOUR_CC,
                    "value": "hev1",
                }],
            }],
            "content_keys": {
                "default_key": {
                    "label": "cencDefaultKey",
                },
            },
            "drm": {
                "play_ready": {
                    "custom_license_acquisition_url_template": "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                    "play_ready_custom_attributes": "PlayReady CustomAttributes",
                },
                "widevine": {
                    "custom_license_acquisition_url_template": "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
                },
            },
            "enabled_protocols": {
                "dash": True,
                "download": False,
                "hls": False,
                "smooth_streaming": True,
            },
        },
        default_content_key_policy_name="PolicyWithPlayReadyOptionAndOpenRestriction",
        resource_group_name="contosorg",
        streaming_policy_name="UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
        accountName: "contosomedia",
        commonEncryptionCenc: {
            clearTracks: [{
                trackSelections: [{
                    operation: azure_native.media.TrackPropertyCompareOperation.Equal,
                    property: azure_native.media.TrackPropertyType.FourCC,
                    value: "hev1",
                }],
            }],
            contentKeys: {
                defaultKey: {
                    label: "cencDefaultKey",
                },
            },
            drm: {
                playReady: {
                    customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                    playReadyCustomAttributes: "PlayReady CustomAttributes",
                },
                widevine: {
                    customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
                },
            },
            enabledProtocols: {
                dash: true,
                download: false,
                hls: false,
                smoothStreaming: true,
            },
        },
        defaultContentKeyPolicyName: "PolicyWithPlayReadyOptionAndOpenRestriction",
        resourceGroupName: "contosorg",
        streamingPolicyName: "UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly",
    });
    
    resources:
      streamingPolicy:
        type: azure-native:media:StreamingPolicy
        properties:
          accountName: contosomedia
          commonEncryptionCenc:
            clearTracks:
              - trackSelections:
                  - operation: Equal
                    property: FourCC
                    value: hev1
            contentKeys:
              defaultKey:
                label: cencDefaultKey
            drm:
              playReady:
                customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}
                playReadyCustomAttributes: PlayReady CustomAttributes
              widevine:
                customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId
            enabledProtocols:
              dash: true
              download: false
              hls: false
              smoothStreaming: true
          defaultContentKeyPolicyName: PolicyWithPlayReadyOptionAndOpenRestriction
          resourceGroupName: contosorg
          streamingPolicyName: UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly
    

    Creates a Streaming Policy with envelopeEncryption only

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
        {
            AccountName = "contosomedia",
            DefaultContentKeyPolicyName = "PolicyWithClearKeyOptionAndTokenRestriction",
            EnvelopeEncryption = new AzureNative.Media.Inputs.EnvelopeEncryptionArgs
            {
                ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
                {
                    DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                    {
                        Label = "aesDefaultKey",
                    },
                },
                CustomKeyAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
                EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
                {
                    Dash = true,
                    Download = false,
                    Hls = true,
                    SmoothStreaming = true,
                },
            },
            ResourceGroupName = "contosorg",
            StreamingPolicyName = "UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly",
        });
    
    });
    
    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.NewStreamingPolicy(ctx, "streamingPolicy", &media.StreamingPolicyArgs{
    			AccountName:                 pulumi.String("contosomedia"),
    			DefaultContentKeyPolicyName: pulumi.String("PolicyWithClearKeyOptionAndTokenRestriction"),
    			EnvelopeEncryption: &media.EnvelopeEncryptionArgs{
    				ContentKeys: &media.StreamingPolicyContentKeysArgs{
    					DefaultKey: &media.DefaultKeyArgs{
    						Label: pulumi.String("aesDefaultKey"),
    					},
    				},
    				CustomKeyAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}"),
    				EnabledProtocols: &media.EnabledProtocolsArgs{
    					Dash:            pulumi.Bool(true),
    					Download:        pulumi.Bool(false),
    					Hls:             pulumi.Bool(true),
    					SmoothStreaming: pulumi.Bool(true),
    				},
    			},
    			ResourceGroupName:   pulumi.String("contosorg"),
    			StreamingPolicyName: pulumi.String("UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly"),
    		})
    		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.StreamingPolicy;
    import com.pulumi.azurenative.media.StreamingPolicyArgs;
    import com.pulumi.azurenative.media.inputs.EnvelopeEncryptionArgs;
    import com.pulumi.azurenative.media.inputs.StreamingPolicyContentKeysArgs;
    import com.pulumi.azurenative.media.inputs.DefaultKeyArgs;
    import com.pulumi.azurenative.media.inputs.EnabledProtocolsArgs;
    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 streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()
                .accountName("contosomedia")
                .defaultContentKeyPolicyName("PolicyWithClearKeyOptionAndTokenRestriction")
                .envelopeEncryption(EnvelopeEncryptionArgs.builder()
                    .contentKeys(StreamingPolicyContentKeysArgs.builder()
                        .defaultKey(DefaultKeyArgs.builder()
                            .label("aesDefaultKey")
                            .build())
                        .build())
                    .customKeyAcquisitionUrlTemplate("https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}")
                    .enabledProtocols(EnabledProtocolsArgs.builder()
                        .dash(true)
                        .download(false)
                        .hls(true)
                        .smoothStreaming(true)
                        .build())
                    .build())
                .resourceGroupName("contosorg")
                .streamingPolicyName("UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
        account_name="contosomedia",
        default_content_key_policy_name="PolicyWithClearKeyOptionAndTokenRestriction",
        envelope_encryption={
            "content_keys": {
                "default_key": {
                    "label": "aesDefaultKey",
                },
            },
            "custom_key_acquisition_url_template": "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
            "enabled_protocols": {
                "dash": True,
                "download": False,
                "hls": True,
                "smooth_streaming": True,
            },
        },
        resource_group_name="contosorg",
        streaming_policy_name="UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
        accountName: "contosomedia",
        defaultContentKeyPolicyName: "PolicyWithClearKeyOptionAndTokenRestriction",
        envelopeEncryption: {
            contentKeys: {
                defaultKey: {
                    label: "aesDefaultKey",
                },
            },
            customKeyAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
            enabledProtocols: {
                dash: true,
                download: false,
                hls: true,
                smoothStreaming: true,
            },
        },
        resourceGroupName: "contosorg",
        streamingPolicyName: "UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly",
    });
    
    resources:
      streamingPolicy:
        type: azure-native:media:StreamingPolicy
        properties:
          accountName: contosomedia
          defaultContentKeyPolicyName: PolicyWithClearKeyOptionAndTokenRestriction
          envelopeEncryption:
            contentKeys:
              defaultKey:
                label: aesDefaultKey
            customKeyAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}
            enabledProtocols:
              dash: true
              download: false
              hls: true
              smoothStreaming: true
          resourceGroupName: contosorg
          streamingPolicyName: UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly
    

    Creates a Streaming Policy with secure streaming

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
        {
            AccountName = "contosomedia",
            CommonEncryptionCbcs = new AzureNative.Media.Inputs.CommonEncryptionCbcsArgs
            {
                ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
                {
                    DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                    {
                        Label = "cbcsDefaultKey",
                    },
                },
                Drm = new AzureNative.Media.Inputs.CbcsDrmConfigurationArgs
                {
                    FairPlay = new AzureNative.Media.Inputs.StreamingPolicyFairPlayConfigurationArgs
                    {
                        AllowPersistentLicense = true,
                        CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
                    },
                },
                EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
                {
                    Dash = false,
                    Download = false,
                    Hls = true,
                    SmoothStreaming = false,
                },
            },
            CommonEncryptionCenc = new AzureNative.Media.Inputs.CommonEncryptionCencArgs
            {
                ClearTracks = new[]
                {
                    new AzureNative.Media.Inputs.TrackSelectionArgs
                    {
                        TrackSelections = new[]
                        {
                            new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                            {
                                Operation = AzureNative.Media.TrackPropertyCompareOperation.Equal,
                                Property = AzureNative.Media.TrackPropertyType.FourCC,
                                Value = "hev1",
                            },
                        },
                    },
                },
                ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
                {
                    DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                    {
                        Label = "cencDefaultKey",
                    },
                },
                Drm = new AzureNative.Media.Inputs.CencDrmConfigurationArgs
                {
                    PlayReady = new AzureNative.Media.Inputs.StreamingPolicyPlayReadyConfigurationArgs
                    {
                        CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                        PlayReadyCustomAttributes = "PlayReady CustomAttributes",
                    },
                    Widevine = new AzureNative.Media.Inputs.StreamingPolicyWidevineConfigurationArgs
                    {
                        CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
                    },
                },
                EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
                {
                    Dash = true,
                    Download = false,
                    Hls = false,
                    SmoothStreaming = true,
                },
            },
            DefaultContentKeyPolicyName = "PolicyWithMultipleOptions",
            EnvelopeEncryption = new AzureNative.Media.Inputs.EnvelopeEncryptionArgs
            {
                ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
                {
                    DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                    {
                        Label = "aesDefaultKey",
                    },
                },
                CustomKeyAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
                EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
                {
                    Dash = true,
                    Download = false,
                    Hls = true,
                    SmoothStreaming = true,
                },
            },
            ResourceGroupName = "contosorg",
            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.NewStreamingPolicy(ctx, "streamingPolicy", &media.StreamingPolicyArgs{
    			AccountName: pulumi.String("contosomedia"),
    			CommonEncryptionCbcs: &media.CommonEncryptionCbcsArgs{
    				ContentKeys: &media.StreamingPolicyContentKeysArgs{
    					DefaultKey: &media.DefaultKeyArgs{
    						Label: pulumi.String("cbcsDefaultKey"),
    					},
    				},
    				Drm: &media.CbcsDrmConfigurationArgs{
    					FairPlay: &media.StreamingPolicyFairPlayConfigurationArgs{
    						AllowPersistentLicense:              pulumi.Bool(true),
    						CustomLicenseAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}"),
    					},
    				},
    				EnabledProtocols: &media.EnabledProtocolsArgs{
    					Dash:            pulumi.Bool(false),
    					Download:        pulumi.Bool(false),
    					Hls:             pulumi.Bool(true),
    					SmoothStreaming: pulumi.Bool(false),
    				},
    			},
    			CommonEncryptionCenc: &media.CommonEncryptionCencArgs{
    				ClearTracks: media.TrackSelectionArray{
    					&media.TrackSelectionArgs{
    						TrackSelections: media.TrackPropertyConditionArray{
    							&media.TrackPropertyConditionArgs{
    								Operation: pulumi.String(media.TrackPropertyCompareOperationEqual),
    								Property:  pulumi.String(media.TrackPropertyTypeFourCC),
    								Value:     pulumi.String("hev1"),
    							},
    						},
    					},
    				},
    				ContentKeys: &media.StreamingPolicyContentKeysArgs{
    					DefaultKey: &media.DefaultKeyArgs{
    						Label: pulumi.String("cencDefaultKey"),
    					},
    				},
    				Drm: &media.CencDrmConfigurationArgs{
    					PlayReady: &media.StreamingPolicyPlayReadyConfigurationArgs{
    						CustomLicenseAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}"),
    						PlayReadyCustomAttributes:           pulumi.String("PlayReady CustomAttributes"),
    					},
    					Widevine: &media.StreamingPolicyWidevineConfigurationArgs{
    						CustomLicenseAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"),
    					},
    				},
    				EnabledProtocols: &media.EnabledProtocolsArgs{
    					Dash:            pulumi.Bool(true),
    					Download:        pulumi.Bool(false),
    					Hls:             pulumi.Bool(false),
    					SmoothStreaming: pulumi.Bool(true),
    				},
    			},
    			DefaultContentKeyPolicyName: pulumi.String("PolicyWithMultipleOptions"),
    			EnvelopeEncryption: &media.EnvelopeEncryptionArgs{
    				ContentKeys: &media.StreamingPolicyContentKeysArgs{
    					DefaultKey: &media.DefaultKeyArgs{
    						Label: pulumi.String("aesDefaultKey"),
    					},
    				},
    				CustomKeyAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}"),
    				EnabledProtocols: &media.EnabledProtocolsArgs{
    					Dash:            pulumi.Bool(true),
    					Download:        pulumi.Bool(false),
    					Hls:             pulumi.Bool(true),
    					SmoothStreaming: pulumi.Bool(true),
    				},
    			},
    			ResourceGroupName:   pulumi.String("contosorg"),
    			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.StreamingPolicy;
    import com.pulumi.azurenative.media.StreamingPolicyArgs;
    import com.pulumi.azurenative.media.inputs.CommonEncryptionCbcsArgs;
    import com.pulumi.azurenative.media.inputs.StreamingPolicyContentKeysArgs;
    import com.pulumi.azurenative.media.inputs.DefaultKeyArgs;
    import com.pulumi.azurenative.media.inputs.CbcsDrmConfigurationArgs;
    import com.pulumi.azurenative.media.inputs.StreamingPolicyFairPlayConfigurationArgs;
    import com.pulumi.azurenative.media.inputs.EnabledProtocolsArgs;
    import com.pulumi.azurenative.media.inputs.CommonEncryptionCencArgs;
    import com.pulumi.azurenative.media.inputs.CencDrmConfigurationArgs;
    import com.pulumi.azurenative.media.inputs.StreamingPolicyPlayReadyConfigurationArgs;
    import com.pulumi.azurenative.media.inputs.StreamingPolicyWidevineConfigurationArgs;
    import com.pulumi.azurenative.media.inputs.EnvelopeEncryptionArgs;
    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 streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()
                .accountName("contosomedia")
                .commonEncryptionCbcs(CommonEncryptionCbcsArgs.builder()
                    .contentKeys(StreamingPolicyContentKeysArgs.builder()
                        .defaultKey(DefaultKeyArgs.builder()
                            .label("cbcsDefaultKey")
                            .build())
                        .build())
                    .drm(CbcsDrmConfigurationArgs.builder()
                        .fairPlay(StreamingPolicyFairPlayConfigurationArgs.builder()
                            .allowPersistentLicense(true)
                            .customLicenseAcquisitionUrlTemplate("https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}")
                            .build())
                        .build())
                    .enabledProtocols(EnabledProtocolsArgs.builder()
                        .dash(false)
                        .download(false)
                        .hls(true)
                        .smoothStreaming(false)
                        .build())
                    .build())
                .commonEncryptionCenc(CommonEncryptionCencArgs.builder()
                    .clearTracks(TrackSelectionArgs.builder()
                        .trackSelections(TrackPropertyConditionArgs.builder()
                            .operation("Equal")
                            .property("FourCC")
                            .value("hev1")
                            .build())
                        .build())
                    .contentKeys(StreamingPolicyContentKeysArgs.builder()
                        .defaultKey(DefaultKeyArgs.builder()
                            .label("cencDefaultKey")
                            .build())
                        .build())
                    .drm(CencDrmConfigurationArgs.builder()
                        .playReady(StreamingPolicyPlayReadyConfigurationArgs.builder()
                            .customLicenseAcquisitionUrlTemplate("https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}")
                            .playReadyCustomAttributes("PlayReady CustomAttributes")
                            .build())
                        .widevine(StreamingPolicyWidevineConfigurationArgs.builder()
                            .customLicenseAcquisitionUrlTemplate("https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId")
                            .build())
                        .build())
                    .enabledProtocols(EnabledProtocolsArgs.builder()
                        .dash(true)
                        .download(false)
                        .hls(false)
                        .smoothStreaming(true)
                        .build())
                    .build())
                .defaultContentKeyPolicyName("PolicyWithMultipleOptions")
                .envelopeEncryption(EnvelopeEncryptionArgs.builder()
                    .contentKeys(StreamingPolicyContentKeysArgs.builder()
                        .defaultKey(DefaultKeyArgs.builder()
                            .label("aesDefaultKey")
                            .build())
                        .build())
                    .customKeyAcquisitionUrlTemplate("https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}")
                    .enabledProtocols(EnabledProtocolsArgs.builder()
                        .dash(true)
                        .download(false)
                        .hls(true)
                        .smoothStreaming(true)
                        .build())
                    .build())
                .resourceGroupName("contosorg")
                .streamingPolicyName("UserCreatedSecureStreamingPolicy")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
        account_name="contosomedia",
        common_encryption_cbcs={
            "content_keys": {
                "default_key": {
                    "label": "cbcsDefaultKey",
                },
            },
            "drm": {
                "fair_play": {
                    "allow_persistent_license": True,
                    "custom_license_acquisition_url_template": "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
                },
            },
            "enabled_protocols": {
                "dash": False,
                "download": False,
                "hls": True,
                "smooth_streaming": False,
            },
        },
        common_encryption_cenc={
            "clear_tracks": [{
                "track_selections": [{
                    "operation": azure_native.media.TrackPropertyCompareOperation.EQUAL,
                    "property": azure_native.media.TrackPropertyType.FOUR_CC,
                    "value": "hev1",
                }],
            }],
            "content_keys": {
                "default_key": {
                    "label": "cencDefaultKey",
                },
            },
            "drm": {
                "play_ready": {
                    "custom_license_acquisition_url_template": "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                    "play_ready_custom_attributes": "PlayReady CustomAttributes",
                },
                "widevine": {
                    "custom_license_acquisition_url_template": "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
                },
            },
            "enabled_protocols": {
                "dash": True,
                "download": False,
                "hls": False,
                "smooth_streaming": True,
            },
        },
        default_content_key_policy_name="PolicyWithMultipleOptions",
        envelope_encryption={
            "content_keys": {
                "default_key": {
                    "label": "aesDefaultKey",
                },
            },
            "custom_key_acquisition_url_template": "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
            "enabled_protocols": {
                "dash": True,
                "download": False,
                "hls": True,
                "smooth_streaming": True,
            },
        },
        resource_group_name="contosorg",
        streaming_policy_name="UserCreatedSecureStreamingPolicy")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
        accountName: "contosomedia",
        commonEncryptionCbcs: {
            contentKeys: {
                defaultKey: {
                    label: "cbcsDefaultKey",
                },
            },
            drm: {
                fairPlay: {
                    allowPersistentLicense: true,
                    customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
                },
            },
            enabledProtocols: {
                dash: false,
                download: false,
                hls: true,
                smoothStreaming: false,
            },
        },
        commonEncryptionCenc: {
            clearTracks: [{
                trackSelections: [{
                    operation: azure_native.media.TrackPropertyCompareOperation.Equal,
                    property: azure_native.media.TrackPropertyType.FourCC,
                    value: "hev1",
                }],
            }],
            contentKeys: {
                defaultKey: {
                    label: "cencDefaultKey",
                },
            },
            drm: {
                playReady: {
                    customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                    playReadyCustomAttributes: "PlayReady CustomAttributes",
                },
                widevine: {
                    customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
                },
            },
            enabledProtocols: {
                dash: true,
                download: false,
                hls: false,
                smoothStreaming: true,
            },
        },
        defaultContentKeyPolicyName: "PolicyWithMultipleOptions",
        envelopeEncryption: {
            contentKeys: {
                defaultKey: {
                    label: "aesDefaultKey",
                },
            },
            customKeyAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
            enabledProtocols: {
                dash: true,
                download: false,
                hls: true,
                smoothStreaming: true,
            },
        },
        resourceGroupName: "contosorg",
        streamingPolicyName: "UserCreatedSecureStreamingPolicy",
    });
    
    resources:
      streamingPolicy:
        type: azure-native:media:StreamingPolicy
        properties:
          accountName: contosomedia
          commonEncryptionCbcs:
            contentKeys:
              defaultKey:
                label: cbcsDefaultKey
            drm:
              fairPlay:
                allowPersistentLicense: true
                customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}
            enabledProtocols:
              dash: false
              download: false
              hls: true
              smoothStreaming: false
          commonEncryptionCenc:
            clearTracks:
              - trackSelections:
                  - operation: Equal
                    property: FourCC
                    value: hev1
            contentKeys:
              defaultKey:
                label: cencDefaultKey
            drm:
              playReady:
                customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}
                playReadyCustomAttributes: PlayReady CustomAttributes
              widevine:
                customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId
            enabledProtocols:
              dash: true
              download: false
              hls: false
              smoothStreaming: true
          defaultContentKeyPolicyName: PolicyWithMultipleOptions
          envelopeEncryption:
            contentKeys:
              defaultKey:
                label: aesDefaultKey
            customKeyAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}
            enabledProtocols:
              dash: true
              download: false
              hls: true
              smoothStreaming: true
          resourceGroupName: contosorg
          streamingPolicyName: UserCreatedSecureStreamingPolicy
    

    Create StreamingPolicy Resource

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

    Constructor syntax

    new StreamingPolicy(name: string, args: StreamingPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def StreamingPolicy(resource_name: str,
                        args: StreamingPolicyArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def StreamingPolicy(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        account_name: Optional[str] = None,
                        resource_group_name: Optional[str] = None,
                        common_encryption_cbcs: Optional[CommonEncryptionCbcsArgs] = None,
                        common_encryption_cenc: Optional[CommonEncryptionCencArgs] = None,
                        default_content_key_policy_name: Optional[str] = None,
                        envelope_encryption: Optional[EnvelopeEncryptionArgs] = None,
                        no_encryption: Optional[NoEncryptionArgs] = None,
                        streaming_policy_name: Optional[str] = None)
    func NewStreamingPolicy(ctx *Context, name string, args StreamingPolicyArgs, opts ...ResourceOption) (*StreamingPolicy, error)
    public StreamingPolicy(string name, StreamingPolicyArgs args, CustomResourceOptions? opts = null)
    public StreamingPolicy(String name, StreamingPolicyArgs args)
    public StreamingPolicy(String name, StreamingPolicyArgs args, CustomResourceOptions options)
    
    type: azure-native:media:StreamingPolicy
    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 StreamingPolicyArgs
    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 StreamingPolicyArgs
    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 StreamingPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StreamingPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StreamingPolicyArgs
    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 streamingPolicyResource = new AzureNative.Media.StreamingPolicy("streamingPolicyResource", new()
    {
        AccountName = "string",
        ResourceGroupName = "string",
        CommonEncryptionCbcs = new AzureNative.Media.Inputs.CommonEncryptionCbcsArgs
        {
            ClearKeyEncryptionConfiguration = new AzureNative.Media.Inputs.ClearKeyEncryptionConfigurationArgs
            {
                CustomKeysAcquisitionUrlTemplate = "string",
            },
            ClearTracks = new[]
            {
                new AzureNative.Media.Inputs.TrackSelectionArgs
                {
                    TrackSelections = new[]
                    {
                        new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                        {
                            Operation = "string",
                            Property = "string",
                            Value = "string",
                        },
                    },
                },
            },
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "string",
                    PolicyName = "string",
                },
                KeyToTrackMappings = new[]
                {
                    new AzureNative.Media.Inputs.StreamingPolicyContentKeyArgs
                    {
                        Label = "string",
                        PolicyName = "string",
                        Tracks = new[]
                        {
                            new AzureNative.Media.Inputs.TrackSelectionArgs
                            {
                                TrackSelections = new[]
                                {
                                    new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                                    {
                                        Operation = "string",
                                        Property = "string",
                                        Value = "string",
                                    },
                                },
                            },
                        },
                    },
                },
            },
            Drm = new AzureNative.Media.Inputs.CbcsDrmConfigurationArgs
            {
                FairPlay = new AzureNative.Media.Inputs.StreamingPolicyFairPlayConfigurationArgs
                {
                    AllowPersistentLicense = false,
                    CustomLicenseAcquisitionUrlTemplate = "string",
                },
                PlayReady = new AzureNative.Media.Inputs.StreamingPolicyPlayReadyConfigurationArgs
                {
                    CustomLicenseAcquisitionUrlTemplate = "string",
                    PlayReadyCustomAttributes = "string",
                },
                Widevine = new AzureNative.Media.Inputs.StreamingPolicyWidevineConfigurationArgs
                {
                    CustomLicenseAcquisitionUrlTemplate = "string",
                },
            },
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = false,
                Download = false,
                Hls = false,
                SmoothStreaming = false,
            },
        },
        CommonEncryptionCenc = new AzureNative.Media.Inputs.CommonEncryptionCencArgs
        {
            ClearKeyEncryptionConfiguration = new AzureNative.Media.Inputs.ClearKeyEncryptionConfigurationArgs
            {
                CustomKeysAcquisitionUrlTemplate = "string",
            },
            ClearTracks = new[]
            {
                new AzureNative.Media.Inputs.TrackSelectionArgs
                {
                    TrackSelections = new[]
                    {
                        new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                        {
                            Operation = "string",
                            Property = "string",
                            Value = "string",
                        },
                    },
                },
            },
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "string",
                    PolicyName = "string",
                },
                KeyToTrackMappings = new[]
                {
                    new AzureNative.Media.Inputs.StreamingPolicyContentKeyArgs
                    {
                        Label = "string",
                        PolicyName = "string",
                        Tracks = new[]
                        {
                            new AzureNative.Media.Inputs.TrackSelectionArgs
                            {
                                TrackSelections = new[]
                                {
                                    new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                                    {
                                        Operation = "string",
                                        Property = "string",
                                        Value = "string",
                                    },
                                },
                            },
                        },
                    },
                },
            },
            Drm = new AzureNative.Media.Inputs.CencDrmConfigurationArgs
            {
                PlayReady = new AzureNative.Media.Inputs.StreamingPolicyPlayReadyConfigurationArgs
                {
                    CustomLicenseAcquisitionUrlTemplate = "string",
                    PlayReadyCustomAttributes = "string",
                },
                Widevine = new AzureNative.Media.Inputs.StreamingPolicyWidevineConfigurationArgs
                {
                    CustomLicenseAcquisitionUrlTemplate = "string",
                },
            },
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = false,
                Download = false,
                Hls = false,
                SmoothStreaming = false,
            },
        },
        DefaultContentKeyPolicyName = "string",
        EnvelopeEncryption = new AzureNative.Media.Inputs.EnvelopeEncryptionArgs
        {
            ClearTracks = new[]
            {
                new AzureNative.Media.Inputs.TrackSelectionArgs
                {
                    TrackSelections = new[]
                    {
                        new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                        {
                            Operation = "string",
                            Property = "string",
                            Value = "string",
                        },
                    },
                },
            },
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "string",
                    PolicyName = "string",
                },
                KeyToTrackMappings = new[]
                {
                    new AzureNative.Media.Inputs.StreamingPolicyContentKeyArgs
                    {
                        Label = "string",
                        PolicyName = "string",
                        Tracks = new[]
                        {
                            new AzureNative.Media.Inputs.TrackSelectionArgs
                            {
                                TrackSelections = new[]
                                {
                                    new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                                    {
                                        Operation = "string",
                                        Property = "string",
                                        Value = "string",
                                    },
                                },
                            },
                        },
                    },
                },
            },
            CustomKeyAcquisitionUrlTemplate = "string",
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = false,
                Download = false,
                Hls = false,
                SmoothStreaming = false,
            },
        },
        NoEncryption = new AzureNative.Media.Inputs.NoEncryptionArgs
        {
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = false,
                Download = false,
                Hls = false,
                SmoothStreaming = false,
            },
        },
        StreamingPolicyName = "string",
    });
    
    example, err := media.NewStreamingPolicy(ctx, "streamingPolicyResource", &media.StreamingPolicyArgs{
    	AccountName:       pulumi.String("string"),
    	ResourceGroupName: pulumi.String("string"),
    	CommonEncryptionCbcs: &media.CommonEncryptionCbcsArgs{
    		ClearKeyEncryptionConfiguration: &media.ClearKeyEncryptionConfigurationArgs{
    			CustomKeysAcquisitionUrlTemplate: pulumi.String("string"),
    		},
    		ClearTracks: media.TrackSelectionArray{
    			&media.TrackSelectionArgs{
    				TrackSelections: media.TrackPropertyConditionArray{
    					&media.TrackPropertyConditionArgs{
    						Operation: pulumi.String("string"),
    						Property:  pulumi.String("string"),
    						Value:     pulumi.String("string"),
    					},
    				},
    			},
    		},
    		ContentKeys: &media.StreamingPolicyContentKeysArgs{
    			DefaultKey: &media.DefaultKeyArgs{
    				Label:      pulumi.String("string"),
    				PolicyName: pulumi.String("string"),
    			},
    			KeyToTrackMappings: media.StreamingPolicyContentKeyArray{
    				&media.StreamingPolicyContentKeyArgs{
    					Label:      pulumi.String("string"),
    					PolicyName: pulumi.String("string"),
    					Tracks: media.TrackSelectionArray{
    						&media.TrackSelectionArgs{
    							TrackSelections: media.TrackPropertyConditionArray{
    								&media.TrackPropertyConditionArgs{
    									Operation: pulumi.String("string"),
    									Property:  pulumi.String("string"),
    									Value:     pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		Drm: &media.CbcsDrmConfigurationArgs{
    			FairPlay: &media.StreamingPolicyFairPlayConfigurationArgs{
    				AllowPersistentLicense:              pulumi.Bool(false),
    				CustomLicenseAcquisitionUrlTemplate: pulumi.String("string"),
    			},
    			PlayReady: &media.StreamingPolicyPlayReadyConfigurationArgs{
    				CustomLicenseAcquisitionUrlTemplate: pulumi.String("string"),
    				PlayReadyCustomAttributes:           pulumi.String("string"),
    			},
    			Widevine: &media.StreamingPolicyWidevineConfigurationArgs{
    				CustomLicenseAcquisitionUrlTemplate: pulumi.String("string"),
    			},
    		},
    		EnabledProtocols: &media.EnabledProtocolsArgs{
    			Dash:            pulumi.Bool(false),
    			Download:        pulumi.Bool(false),
    			Hls:             pulumi.Bool(false),
    			SmoothStreaming: pulumi.Bool(false),
    		},
    	},
    	CommonEncryptionCenc: &media.CommonEncryptionCencArgs{
    		ClearKeyEncryptionConfiguration: &media.ClearKeyEncryptionConfigurationArgs{
    			CustomKeysAcquisitionUrlTemplate: pulumi.String("string"),
    		},
    		ClearTracks: media.TrackSelectionArray{
    			&media.TrackSelectionArgs{
    				TrackSelections: media.TrackPropertyConditionArray{
    					&media.TrackPropertyConditionArgs{
    						Operation: pulumi.String("string"),
    						Property:  pulumi.String("string"),
    						Value:     pulumi.String("string"),
    					},
    				},
    			},
    		},
    		ContentKeys: &media.StreamingPolicyContentKeysArgs{
    			DefaultKey: &media.DefaultKeyArgs{
    				Label:      pulumi.String("string"),
    				PolicyName: pulumi.String("string"),
    			},
    			KeyToTrackMappings: media.StreamingPolicyContentKeyArray{
    				&media.StreamingPolicyContentKeyArgs{
    					Label:      pulumi.String("string"),
    					PolicyName: pulumi.String("string"),
    					Tracks: media.TrackSelectionArray{
    						&media.TrackSelectionArgs{
    							TrackSelections: media.TrackPropertyConditionArray{
    								&media.TrackPropertyConditionArgs{
    									Operation: pulumi.String("string"),
    									Property:  pulumi.String("string"),
    									Value:     pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		Drm: &media.CencDrmConfigurationArgs{
    			PlayReady: &media.StreamingPolicyPlayReadyConfigurationArgs{
    				CustomLicenseAcquisitionUrlTemplate: pulumi.String("string"),
    				PlayReadyCustomAttributes:           pulumi.String("string"),
    			},
    			Widevine: &media.StreamingPolicyWidevineConfigurationArgs{
    				CustomLicenseAcquisitionUrlTemplate: pulumi.String("string"),
    			},
    		},
    		EnabledProtocols: &media.EnabledProtocolsArgs{
    			Dash:            pulumi.Bool(false),
    			Download:        pulumi.Bool(false),
    			Hls:             pulumi.Bool(false),
    			SmoothStreaming: pulumi.Bool(false),
    		},
    	},
    	DefaultContentKeyPolicyName: pulumi.String("string"),
    	EnvelopeEncryption: &media.EnvelopeEncryptionArgs{
    		ClearTracks: media.TrackSelectionArray{
    			&media.TrackSelectionArgs{
    				TrackSelections: media.TrackPropertyConditionArray{
    					&media.TrackPropertyConditionArgs{
    						Operation: pulumi.String("string"),
    						Property:  pulumi.String("string"),
    						Value:     pulumi.String("string"),
    					},
    				},
    			},
    		},
    		ContentKeys: &media.StreamingPolicyContentKeysArgs{
    			DefaultKey: &media.DefaultKeyArgs{
    				Label:      pulumi.String("string"),
    				PolicyName: pulumi.String("string"),
    			},
    			KeyToTrackMappings: media.StreamingPolicyContentKeyArray{
    				&media.StreamingPolicyContentKeyArgs{
    					Label:      pulumi.String("string"),
    					PolicyName: pulumi.String("string"),
    					Tracks: media.TrackSelectionArray{
    						&media.TrackSelectionArgs{
    							TrackSelections: media.TrackPropertyConditionArray{
    								&media.TrackPropertyConditionArgs{
    									Operation: pulumi.String("string"),
    									Property:  pulumi.String("string"),
    									Value:     pulumi.String("string"),
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		CustomKeyAcquisitionUrlTemplate: pulumi.String("string"),
    		EnabledProtocols: &media.EnabledProtocolsArgs{
    			Dash:            pulumi.Bool(false),
    			Download:        pulumi.Bool(false),
    			Hls:             pulumi.Bool(false),
    			SmoothStreaming: pulumi.Bool(false),
    		},
    	},
    	NoEncryption: &media.NoEncryptionArgs{
    		EnabledProtocols: &media.EnabledProtocolsArgs{
    			Dash:            pulumi.Bool(false),
    			Download:        pulumi.Bool(false),
    			Hls:             pulumi.Bool(false),
    			SmoothStreaming: pulumi.Bool(false),
    		},
    	},
    	StreamingPolicyName: pulumi.String("string"),
    })
    
    var streamingPolicyResource = new StreamingPolicy("streamingPolicyResource", StreamingPolicyArgs.builder()
        .accountName("string")
        .resourceGroupName("string")
        .commonEncryptionCbcs(CommonEncryptionCbcsArgs.builder()
            .clearKeyEncryptionConfiguration(ClearKeyEncryptionConfigurationArgs.builder()
                .customKeysAcquisitionUrlTemplate("string")
                .build())
            .clearTracks(TrackSelectionArgs.builder()
                .trackSelections(TrackPropertyConditionArgs.builder()
                    .operation("string")
                    .property("string")
                    .value("string")
                    .build())
                .build())
            .contentKeys(StreamingPolicyContentKeysArgs.builder()
                .defaultKey(DefaultKeyArgs.builder()
                    .label("string")
                    .policyName("string")
                    .build())
                .keyToTrackMappings(StreamingPolicyContentKeyArgs.builder()
                    .label("string")
                    .policyName("string")
                    .tracks(TrackSelectionArgs.builder()
                        .trackSelections(TrackPropertyConditionArgs.builder()
                            .operation("string")
                            .property("string")
                            .value("string")
                            .build())
                        .build())
                    .build())
                .build())
            .drm(CbcsDrmConfigurationArgs.builder()
                .fairPlay(StreamingPolicyFairPlayConfigurationArgs.builder()
                    .allowPersistentLicense(false)
                    .customLicenseAcquisitionUrlTemplate("string")
                    .build())
                .playReady(StreamingPolicyPlayReadyConfigurationArgs.builder()
                    .customLicenseAcquisitionUrlTemplate("string")
                    .playReadyCustomAttributes("string")
                    .build())
                .widevine(StreamingPolicyWidevineConfigurationArgs.builder()
                    .customLicenseAcquisitionUrlTemplate("string")
                    .build())
                .build())
            .enabledProtocols(EnabledProtocolsArgs.builder()
                .dash(false)
                .download(false)
                .hls(false)
                .smoothStreaming(false)
                .build())
            .build())
        .commonEncryptionCenc(CommonEncryptionCencArgs.builder()
            .clearKeyEncryptionConfiguration(ClearKeyEncryptionConfigurationArgs.builder()
                .customKeysAcquisitionUrlTemplate("string")
                .build())
            .clearTracks(TrackSelectionArgs.builder()
                .trackSelections(TrackPropertyConditionArgs.builder()
                    .operation("string")
                    .property("string")
                    .value("string")
                    .build())
                .build())
            .contentKeys(StreamingPolicyContentKeysArgs.builder()
                .defaultKey(DefaultKeyArgs.builder()
                    .label("string")
                    .policyName("string")
                    .build())
                .keyToTrackMappings(StreamingPolicyContentKeyArgs.builder()
                    .label("string")
                    .policyName("string")
                    .tracks(TrackSelectionArgs.builder()
                        .trackSelections(TrackPropertyConditionArgs.builder()
                            .operation("string")
                            .property("string")
                            .value("string")
                            .build())
                        .build())
                    .build())
                .build())
            .drm(CencDrmConfigurationArgs.builder()
                .playReady(StreamingPolicyPlayReadyConfigurationArgs.builder()
                    .customLicenseAcquisitionUrlTemplate("string")
                    .playReadyCustomAttributes("string")
                    .build())
                .widevine(StreamingPolicyWidevineConfigurationArgs.builder()
                    .customLicenseAcquisitionUrlTemplate("string")
                    .build())
                .build())
            .enabledProtocols(EnabledProtocolsArgs.builder()
                .dash(false)
                .download(false)
                .hls(false)
                .smoothStreaming(false)
                .build())
            .build())
        .defaultContentKeyPolicyName("string")
        .envelopeEncryption(EnvelopeEncryptionArgs.builder()
            .clearTracks(TrackSelectionArgs.builder()
                .trackSelections(TrackPropertyConditionArgs.builder()
                    .operation("string")
                    .property("string")
                    .value("string")
                    .build())
                .build())
            .contentKeys(StreamingPolicyContentKeysArgs.builder()
                .defaultKey(DefaultKeyArgs.builder()
                    .label("string")
                    .policyName("string")
                    .build())
                .keyToTrackMappings(StreamingPolicyContentKeyArgs.builder()
                    .label("string")
                    .policyName("string")
                    .tracks(TrackSelectionArgs.builder()
                        .trackSelections(TrackPropertyConditionArgs.builder()
                            .operation("string")
                            .property("string")
                            .value("string")
                            .build())
                        .build())
                    .build())
                .build())
            .customKeyAcquisitionUrlTemplate("string")
            .enabledProtocols(EnabledProtocolsArgs.builder()
                .dash(false)
                .download(false)
                .hls(false)
                .smoothStreaming(false)
                .build())
            .build())
        .noEncryption(NoEncryptionArgs.builder()
            .enabledProtocols(EnabledProtocolsArgs.builder()
                .dash(false)
                .download(false)
                .hls(false)
                .smoothStreaming(false)
                .build())
            .build())
        .streamingPolicyName("string")
        .build());
    
    streaming_policy_resource = azure_native.media.StreamingPolicy("streamingPolicyResource",
        account_name="string",
        resource_group_name="string",
        common_encryption_cbcs={
            "clear_key_encryption_configuration": {
                "custom_keys_acquisition_url_template": "string",
            },
            "clear_tracks": [{
                "track_selections": [{
                    "operation": "string",
                    "property": "string",
                    "value": "string",
                }],
            }],
            "content_keys": {
                "default_key": {
                    "label": "string",
                    "policy_name": "string",
                },
                "key_to_track_mappings": [{
                    "label": "string",
                    "policy_name": "string",
                    "tracks": [{
                        "track_selections": [{
                            "operation": "string",
                            "property": "string",
                            "value": "string",
                        }],
                    }],
                }],
            },
            "drm": {
                "fair_play": {
                    "allow_persistent_license": False,
                    "custom_license_acquisition_url_template": "string",
                },
                "play_ready": {
                    "custom_license_acquisition_url_template": "string",
                    "play_ready_custom_attributes": "string",
                },
                "widevine": {
                    "custom_license_acquisition_url_template": "string",
                },
            },
            "enabled_protocols": {
                "dash": False,
                "download": False,
                "hls": False,
                "smooth_streaming": False,
            },
        },
        common_encryption_cenc={
            "clear_key_encryption_configuration": {
                "custom_keys_acquisition_url_template": "string",
            },
            "clear_tracks": [{
                "track_selections": [{
                    "operation": "string",
                    "property": "string",
                    "value": "string",
                }],
            }],
            "content_keys": {
                "default_key": {
                    "label": "string",
                    "policy_name": "string",
                },
                "key_to_track_mappings": [{
                    "label": "string",
                    "policy_name": "string",
                    "tracks": [{
                        "track_selections": [{
                            "operation": "string",
                            "property": "string",
                            "value": "string",
                        }],
                    }],
                }],
            },
            "drm": {
                "play_ready": {
                    "custom_license_acquisition_url_template": "string",
                    "play_ready_custom_attributes": "string",
                },
                "widevine": {
                    "custom_license_acquisition_url_template": "string",
                },
            },
            "enabled_protocols": {
                "dash": False,
                "download": False,
                "hls": False,
                "smooth_streaming": False,
            },
        },
        default_content_key_policy_name="string",
        envelope_encryption={
            "clear_tracks": [{
                "track_selections": [{
                    "operation": "string",
                    "property": "string",
                    "value": "string",
                }],
            }],
            "content_keys": {
                "default_key": {
                    "label": "string",
                    "policy_name": "string",
                },
                "key_to_track_mappings": [{
                    "label": "string",
                    "policy_name": "string",
                    "tracks": [{
                        "track_selections": [{
                            "operation": "string",
                            "property": "string",
                            "value": "string",
                        }],
                    }],
                }],
            },
            "custom_key_acquisition_url_template": "string",
            "enabled_protocols": {
                "dash": False,
                "download": False,
                "hls": False,
                "smooth_streaming": False,
            },
        },
        no_encryption={
            "enabled_protocols": {
                "dash": False,
                "download": False,
                "hls": False,
                "smooth_streaming": False,
            },
        },
        streaming_policy_name="string")
    
    const streamingPolicyResource = new azure_native.media.StreamingPolicy("streamingPolicyResource", {
        accountName: "string",
        resourceGroupName: "string",
        commonEncryptionCbcs: {
            clearKeyEncryptionConfiguration: {
                customKeysAcquisitionUrlTemplate: "string",
            },
            clearTracks: [{
                trackSelections: [{
                    operation: "string",
                    property: "string",
                    value: "string",
                }],
            }],
            contentKeys: {
                defaultKey: {
                    label: "string",
                    policyName: "string",
                },
                keyToTrackMappings: [{
                    label: "string",
                    policyName: "string",
                    tracks: [{
                        trackSelections: [{
                            operation: "string",
                            property: "string",
                            value: "string",
                        }],
                    }],
                }],
            },
            drm: {
                fairPlay: {
                    allowPersistentLicense: false,
                    customLicenseAcquisitionUrlTemplate: "string",
                },
                playReady: {
                    customLicenseAcquisitionUrlTemplate: "string",
                    playReadyCustomAttributes: "string",
                },
                widevine: {
                    customLicenseAcquisitionUrlTemplate: "string",
                },
            },
            enabledProtocols: {
                dash: false,
                download: false,
                hls: false,
                smoothStreaming: false,
            },
        },
        commonEncryptionCenc: {
            clearKeyEncryptionConfiguration: {
                customKeysAcquisitionUrlTemplate: "string",
            },
            clearTracks: [{
                trackSelections: [{
                    operation: "string",
                    property: "string",
                    value: "string",
                }],
            }],
            contentKeys: {
                defaultKey: {
                    label: "string",
                    policyName: "string",
                },
                keyToTrackMappings: [{
                    label: "string",
                    policyName: "string",
                    tracks: [{
                        trackSelections: [{
                            operation: "string",
                            property: "string",
                            value: "string",
                        }],
                    }],
                }],
            },
            drm: {
                playReady: {
                    customLicenseAcquisitionUrlTemplate: "string",
                    playReadyCustomAttributes: "string",
                },
                widevine: {
                    customLicenseAcquisitionUrlTemplate: "string",
                },
            },
            enabledProtocols: {
                dash: false,
                download: false,
                hls: false,
                smoothStreaming: false,
            },
        },
        defaultContentKeyPolicyName: "string",
        envelopeEncryption: {
            clearTracks: [{
                trackSelections: [{
                    operation: "string",
                    property: "string",
                    value: "string",
                }],
            }],
            contentKeys: {
                defaultKey: {
                    label: "string",
                    policyName: "string",
                },
                keyToTrackMappings: [{
                    label: "string",
                    policyName: "string",
                    tracks: [{
                        trackSelections: [{
                            operation: "string",
                            property: "string",
                            value: "string",
                        }],
                    }],
                }],
            },
            customKeyAcquisitionUrlTemplate: "string",
            enabledProtocols: {
                dash: false,
                download: false,
                hls: false,
                smoothStreaming: false,
            },
        },
        noEncryption: {
            enabledProtocols: {
                dash: false,
                download: false,
                hls: false,
                smoothStreaming: false,
            },
        },
        streamingPolicyName: "string",
    });
    
    type: azure-native:media:StreamingPolicy
    properties:
        accountName: string
        commonEncryptionCbcs:
            clearKeyEncryptionConfiguration:
                customKeysAcquisitionUrlTemplate: string
            clearTracks:
                - trackSelections:
                    - operation: string
                      property: string
                      value: string
            contentKeys:
                defaultKey:
                    label: string
                    policyName: string
                keyToTrackMappings:
                    - label: string
                      policyName: string
                      tracks:
                        - trackSelections:
                            - operation: string
                              property: string
                              value: string
            drm:
                fairPlay:
                    allowPersistentLicense: false
                    customLicenseAcquisitionUrlTemplate: string
                playReady:
                    customLicenseAcquisitionUrlTemplate: string
                    playReadyCustomAttributes: string
                widevine:
                    customLicenseAcquisitionUrlTemplate: string
            enabledProtocols:
                dash: false
                download: false
                hls: false
                smoothStreaming: false
        commonEncryptionCenc:
            clearKeyEncryptionConfiguration:
                customKeysAcquisitionUrlTemplate: string
            clearTracks:
                - trackSelections:
                    - operation: string
                      property: string
                      value: string
            contentKeys:
                defaultKey:
                    label: string
                    policyName: string
                keyToTrackMappings:
                    - label: string
                      policyName: string
                      tracks:
                        - trackSelections:
                            - operation: string
                              property: string
                              value: string
            drm:
                playReady:
                    customLicenseAcquisitionUrlTemplate: string
                    playReadyCustomAttributes: string
                widevine:
                    customLicenseAcquisitionUrlTemplate: string
            enabledProtocols:
                dash: false
                download: false
                hls: false
                smoothStreaming: false
        defaultContentKeyPolicyName: string
        envelopeEncryption:
            clearTracks:
                - trackSelections:
                    - operation: string
                      property: string
                      value: string
            contentKeys:
                defaultKey:
                    label: string
                    policyName: string
                keyToTrackMappings:
                    - label: string
                      policyName: string
                      tracks:
                        - trackSelections:
                            - operation: string
                              property: string
                              value: string
            customKeyAcquisitionUrlTemplate: string
            enabledProtocols:
                dash: false
                download: false
                hls: false
                smoothStreaming: false
        noEncryption:
            enabledProtocols:
                dash: false
                download: false
                hls: false
                smoothStreaming: false
        resourceGroupName: string
        streamingPolicyName: string
    

    StreamingPolicy 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 StreamingPolicy resource accepts the following input properties:

    AccountName string
    The Media Services account name.
    ResourceGroupName string
    The name of the resource group within the Azure subscription.
    CommonEncryptionCbcs Pulumi.AzureNative.Media.Inputs.CommonEncryptionCbcs
    Configuration of CommonEncryptionCbcs
    CommonEncryptionCenc Pulumi.AzureNative.Media.Inputs.CommonEncryptionCenc
    Configuration of CommonEncryptionCenc
    DefaultContentKeyPolicyName string
    Default ContentKey used by current Streaming Policy
    EnvelopeEncryption Pulumi.AzureNative.Media.Inputs.EnvelopeEncryption
    Configuration of EnvelopeEncryption
    NoEncryption Pulumi.AzureNative.Media.Inputs.NoEncryption
    Configurations of NoEncryption
    StreamingPolicyName string
    The Streaming Policy name.
    AccountName string
    The Media Services account name.
    ResourceGroupName string
    The name of the resource group within the Azure subscription.
    CommonEncryptionCbcs CommonEncryptionCbcsArgs
    Configuration of CommonEncryptionCbcs
    CommonEncryptionCenc CommonEncryptionCencArgs
    Configuration of CommonEncryptionCenc
    DefaultContentKeyPolicyName string
    Default ContentKey used by current Streaming Policy
    EnvelopeEncryption EnvelopeEncryptionArgs
    Configuration of EnvelopeEncryption
    NoEncryption NoEncryptionArgs
    Configurations of NoEncryption
    StreamingPolicyName string
    The Streaming Policy name.
    accountName String
    The Media Services account name.
    resourceGroupName String
    The name of the resource group within the Azure subscription.
    commonEncryptionCbcs CommonEncryptionCbcs
    Configuration of CommonEncryptionCbcs
    commonEncryptionCenc CommonEncryptionCenc
    Configuration of CommonEncryptionCenc
    defaultContentKeyPolicyName String
    Default ContentKey used by current Streaming Policy
    envelopeEncryption EnvelopeEncryption
    Configuration of EnvelopeEncryption
    noEncryption NoEncryption
    Configurations of NoEncryption
    streamingPolicyName String
    The Streaming Policy name.
    accountName string
    The Media Services account name.
    resourceGroupName string
    The name of the resource group within the Azure subscription.
    commonEncryptionCbcs CommonEncryptionCbcs
    Configuration of CommonEncryptionCbcs
    commonEncryptionCenc CommonEncryptionCenc
    Configuration of CommonEncryptionCenc
    defaultContentKeyPolicyName string
    Default ContentKey used by current Streaming Policy
    envelopeEncryption EnvelopeEncryption
    Configuration of EnvelopeEncryption
    noEncryption NoEncryption
    Configurations of NoEncryption
    streamingPolicyName string
    The Streaming Policy name.
    account_name str
    The Media Services account name.
    resource_group_name str
    The name of the resource group within the Azure subscription.
    common_encryption_cbcs CommonEncryptionCbcsArgs
    Configuration of CommonEncryptionCbcs
    common_encryption_cenc CommonEncryptionCencArgs
    Configuration of CommonEncryptionCenc
    default_content_key_policy_name str
    Default ContentKey used by current Streaming Policy
    envelope_encryption EnvelopeEncryptionArgs
    Configuration of EnvelopeEncryption
    no_encryption NoEncryptionArgs
    Configurations of NoEncryption
    streaming_policy_name str
    The Streaming Policy name.
    accountName String
    The Media Services account name.
    resourceGroupName String
    The name of the resource group within the Azure subscription.
    commonEncryptionCbcs Property Map
    Configuration of CommonEncryptionCbcs
    commonEncryptionCenc Property Map
    Configuration of CommonEncryptionCenc
    defaultContentKeyPolicyName String
    Default ContentKey used by current Streaming Policy
    envelopeEncryption Property Map
    Configuration of EnvelopeEncryption
    noEncryption Property Map
    Configurations of NoEncryption
    streamingPolicyName String
    The Streaming Policy name.

    Outputs

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

    Created string
    Creation time of Streaming Policy
    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
    Creation time of Streaming Policy
    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
    Creation time of Streaming Policy
    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
    Creation time of Streaming Policy
    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
    Creation time of Streaming Policy
    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
    Creation time of Streaming Policy
    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

    CbcsDrmConfiguration, CbcsDrmConfigurationArgs

    fairPlay Property Map
    FairPlay configurations
    playReady Property Map
    PlayReady configurations
    widevine Property Map
    Widevine configurations

    CbcsDrmConfigurationResponse, CbcsDrmConfigurationResponseArgs

    fairPlay Property Map
    FairPlay configurations
    playReady Property Map
    PlayReady configurations
    widevine Property Map
    Widevine configurations

    CencDrmConfiguration, CencDrmConfigurationArgs

    playReady Property Map
    PlayReady configurations
    widevine Property Map
    Widevine configurations

    CencDrmConfigurationResponse, CencDrmConfigurationResponseArgs

    playReady Property Map
    PlayReady configurations
    widevine Property Map
    Widevine configurations

    ClearKeyEncryptionConfiguration, ClearKeyEncryptionConfigurationArgs

    CustomKeysAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
    CustomKeysAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
    customKeysAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
    customKeysAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
    custom_keys_acquisition_url_template str
    Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
    customKeysAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.

    ClearKeyEncryptionConfigurationResponse, ClearKeyEncryptionConfigurationResponseArgs

    CustomKeysAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
    CustomKeysAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
    customKeysAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
    customKeysAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
    custom_keys_acquisition_url_template str
    Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
    customKeysAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.

    CommonEncryptionCbcs, CommonEncryptionCbcsArgs

    ClearKeyEncryptionConfiguration Pulumi.AzureNative.Media.Inputs.ClearKeyEncryptionConfiguration
    Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
    ClearTracks List<Pulumi.AzureNative.Media.Inputs.TrackSelection>
    Representing which tracks should not be encrypted
    ContentKeys Pulumi.AzureNative.Media.Inputs.StreamingPolicyContentKeys
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    Drm Pulumi.AzureNative.Media.Inputs.CbcsDrmConfiguration
    Configuration of DRMs for current encryption scheme
    EnabledProtocols Pulumi.AzureNative.Media.Inputs.EnabledProtocols
    Representing supported protocols
    ClearKeyEncryptionConfiguration ClearKeyEncryptionConfiguration
    Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
    ClearTracks []TrackSelection
    Representing which tracks should not be encrypted
    ContentKeys StreamingPolicyContentKeys
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    Drm CbcsDrmConfiguration
    Configuration of DRMs for current encryption scheme
    EnabledProtocols EnabledProtocols
    Representing supported protocols
    clearKeyEncryptionConfiguration ClearKeyEncryptionConfiguration
    Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
    clearTracks List<TrackSelection>
    Representing which tracks should not be encrypted
    contentKeys StreamingPolicyContentKeys
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    drm CbcsDrmConfiguration
    Configuration of DRMs for current encryption scheme
    enabledProtocols EnabledProtocols
    Representing supported protocols
    clearKeyEncryptionConfiguration ClearKeyEncryptionConfiguration
    Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
    clearTracks TrackSelection[]
    Representing which tracks should not be encrypted
    contentKeys StreamingPolicyContentKeys
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    drm CbcsDrmConfiguration
    Configuration of DRMs for current encryption scheme
    enabledProtocols EnabledProtocols
    Representing supported protocols
    clear_key_encryption_configuration ClearKeyEncryptionConfiguration
    Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
    clear_tracks Sequence[TrackSelection]
    Representing which tracks should not be encrypted
    content_keys StreamingPolicyContentKeys
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    drm CbcsDrmConfiguration
    Configuration of DRMs for current encryption scheme
    enabled_protocols EnabledProtocols
    Representing supported protocols
    clearKeyEncryptionConfiguration Property Map
    Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
    clearTracks List<Property Map>
    Representing which tracks should not be encrypted
    contentKeys Property Map
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    drm Property Map
    Configuration of DRMs for current encryption scheme
    enabledProtocols Property Map
    Representing supported protocols

    CommonEncryptionCbcsResponse, CommonEncryptionCbcsResponseArgs

    ClearKeyEncryptionConfiguration Pulumi.AzureNative.Media.Inputs.ClearKeyEncryptionConfigurationResponse
    Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
    ClearTracks List<Pulumi.AzureNative.Media.Inputs.TrackSelectionResponse>
    Representing which tracks should not be encrypted
    ContentKeys Pulumi.AzureNative.Media.Inputs.StreamingPolicyContentKeysResponse
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    Drm Pulumi.AzureNative.Media.Inputs.CbcsDrmConfigurationResponse
    Configuration of DRMs for current encryption scheme
    EnabledProtocols Pulumi.AzureNative.Media.Inputs.EnabledProtocolsResponse
    Representing supported protocols
    ClearKeyEncryptionConfiguration ClearKeyEncryptionConfigurationResponse
    Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
    ClearTracks []TrackSelectionResponse
    Representing which tracks should not be encrypted
    ContentKeys StreamingPolicyContentKeysResponse
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    Drm CbcsDrmConfigurationResponse
    Configuration of DRMs for current encryption scheme
    EnabledProtocols EnabledProtocolsResponse
    Representing supported protocols
    clearKeyEncryptionConfiguration ClearKeyEncryptionConfigurationResponse
    Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
    clearTracks List<TrackSelectionResponse>
    Representing which tracks should not be encrypted
    contentKeys StreamingPolicyContentKeysResponse
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    drm CbcsDrmConfigurationResponse
    Configuration of DRMs for current encryption scheme
    enabledProtocols EnabledProtocolsResponse
    Representing supported protocols
    clearKeyEncryptionConfiguration ClearKeyEncryptionConfigurationResponse
    Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
    clearTracks TrackSelectionResponse[]
    Representing which tracks should not be encrypted
    contentKeys StreamingPolicyContentKeysResponse
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    drm CbcsDrmConfigurationResponse
    Configuration of DRMs for current encryption scheme
    enabledProtocols EnabledProtocolsResponse
    Representing supported protocols
    clear_key_encryption_configuration ClearKeyEncryptionConfigurationResponse
    Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
    clear_tracks Sequence[TrackSelectionResponse]
    Representing which tracks should not be encrypted
    content_keys StreamingPolicyContentKeysResponse
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    drm CbcsDrmConfigurationResponse
    Configuration of DRMs for current encryption scheme
    enabled_protocols EnabledProtocolsResponse
    Representing supported protocols
    clearKeyEncryptionConfiguration Property Map
    Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
    clearTracks List<Property Map>
    Representing which tracks should not be encrypted
    contentKeys Property Map
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    drm Property Map
    Configuration of DRMs for current encryption scheme
    enabledProtocols Property Map
    Representing supported protocols

    CommonEncryptionCenc, CommonEncryptionCencArgs

    ClearKeyEncryptionConfiguration Pulumi.AzureNative.Media.Inputs.ClearKeyEncryptionConfiguration
    Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
    ClearTracks List<Pulumi.AzureNative.Media.Inputs.TrackSelection>
    Representing which tracks should not be encrypted
    ContentKeys Pulumi.AzureNative.Media.Inputs.StreamingPolicyContentKeys
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    Drm Pulumi.AzureNative.Media.Inputs.CencDrmConfiguration
    Configuration of DRMs for CommonEncryptionCenc encryption scheme
    EnabledProtocols Pulumi.AzureNative.Media.Inputs.EnabledProtocols
    Representing supported protocols
    ClearKeyEncryptionConfiguration ClearKeyEncryptionConfiguration
    Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
    ClearTracks []TrackSelection
    Representing which tracks should not be encrypted
    ContentKeys StreamingPolicyContentKeys
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    Drm CencDrmConfiguration
    Configuration of DRMs for CommonEncryptionCenc encryption scheme
    EnabledProtocols EnabledProtocols
    Representing supported protocols
    clearKeyEncryptionConfiguration ClearKeyEncryptionConfiguration
    Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
    clearTracks List<TrackSelection>
    Representing which tracks should not be encrypted
    contentKeys StreamingPolicyContentKeys
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    drm CencDrmConfiguration
    Configuration of DRMs for CommonEncryptionCenc encryption scheme
    enabledProtocols EnabledProtocols
    Representing supported protocols
    clearKeyEncryptionConfiguration ClearKeyEncryptionConfiguration
    Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
    clearTracks TrackSelection[]
    Representing which tracks should not be encrypted
    contentKeys StreamingPolicyContentKeys
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    drm CencDrmConfiguration
    Configuration of DRMs for CommonEncryptionCenc encryption scheme
    enabledProtocols EnabledProtocols
    Representing supported protocols
    clear_key_encryption_configuration ClearKeyEncryptionConfiguration
    Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
    clear_tracks Sequence[TrackSelection]
    Representing which tracks should not be encrypted
    content_keys StreamingPolicyContentKeys
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    drm CencDrmConfiguration
    Configuration of DRMs for CommonEncryptionCenc encryption scheme
    enabled_protocols EnabledProtocols
    Representing supported protocols
    clearKeyEncryptionConfiguration Property Map
    Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
    clearTracks List<Property Map>
    Representing which tracks should not be encrypted
    contentKeys Property Map
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    drm Property Map
    Configuration of DRMs for CommonEncryptionCenc encryption scheme
    enabledProtocols Property Map
    Representing supported protocols

    CommonEncryptionCencResponse, CommonEncryptionCencResponseArgs

    ClearKeyEncryptionConfiguration Pulumi.AzureNative.Media.Inputs.ClearKeyEncryptionConfigurationResponse
    Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
    ClearTracks List<Pulumi.AzureNative.Media.Inputs.TrackSelectionResponse>
    Representing which tracks should not be encrypted
    ContentKeys Pulumi.AzureNative.Media.Inputs.StreamingPolicyContentKeysResponse
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    Drm Pulumi.AzureNative.Media.Inputs.CencDrmConfigurationResponse
    Configuration of DRMs for CommonEncryptionCenc encryption scheme
    EnabledProtocols Pulumi.AzureNative.Media.Inputs.EnabledProtocolsResponse
    Representing supported protocols
    ClearKeyEncryptionConfiguration ClearKeyEncryptionConfigurationResponse
    Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
    ClearTracks []TrackSelectionResponse
    Representing which tracks should not be encrypted
    ContentKeys StreamingPolicyContentKeysResponse
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    Drm CencDrmConfigurationResponse
    Configuration of DRMs for CommonEncryptionCenc encryption scheme
    EnabledProtocols EnabledProtocolsResponse
    Representing supported protocols
    clearKeyEncryptionConfiguration ClearKeyEncryptionConfigurationResponse
    Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
    clearTracks List<TrackSelectionResponse>
    Representing which tracks should not be encrypted
    contentKeys StreamingPolicyContentKeysResponse
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    drm CencDrmConfigurationResponse
    Configuration of DRMs for CommonEncryptionCenc encryption scheme
    enabledProtocols EnabledProtocolsResponse
    Representing supported protocols
    clearKeyEncryptionConfiguration ClearKeyEncryptionConfigurationResponse
    Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
    clearTracks TrackSelectionResponse[]
    Representing which tracks should not be encrypted
    contentKeys StreamingPolicyContentKeysResponse
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    drm CencDrmConfigurationResponse
    Configuration of DRMs for CommonEncryptionCenc encryption scheme
    enabledProtocols EnabledProtocolsResponse
    Representing supported protocols
    clear_key_encryption_configuration ClearKeyEncryptionConfigurationResponse
    Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
    clear_tracks Sequence[TrackSelectionResponse]
    Representing which tracks should not be encrypted
    content_keys StreamingPolicyContentKeysResponse
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    drm CencDrmConfigurationResponse
    Configuration of DRMs for CommonEncryptionCenc encryption scheme
    enabled_protocols EnabledProtocolsResponse
    Representing supported protocols
    clearKeyEncryptionConfiguration Property Map
    Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
    clearTracks List<Property Map>
    Representing which tracks should not be encrypted
    contentKeys Property Map
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    drm Property Map
    Configuration of DRMs for CommonEncryptionCenc encryption scheme
    enabledProtocols Property Map
    Representing supported protocols

    DefaultKey, DefaultKeyArgs

    Label string
    Label can be used to specify Content Key when creating a Streaming Locator
    PolicyName string
    Policy used by Default Key
    Label string
    Label can be used to specify Content Key when creating a Streaming Locator
    PolicyName string
    Policy used by Default Key
    label String
    Label can be used to specify Content Key when creating a Streaming Locator
    policyName String
    Policy used by Default Key
    label string
    Label can be used to specify Content Key when creating a Streaming Locator
    policyName string
    Policy used by Default Key
    label str
    Label can be used to specify Content Key when creating a Streaming Locator
    policy_name str
    Policy used by Default Key
    label String
    Label can be used to specify Content Key when creating a Streaming Locator
    policyName String
    Policy used by Default Key

    DefaultKeyResponse, DefaultKeyResponseArgs

    Label string
    Label can be used to specify Content Key when creating a Streaming Locator
    PolicyName string
    Policy used by Default Key
    Label string
    Label can be used to specify Content Key when creating a Streaming Locator
    PolicyName string
    Policy used by Default Key
    label String
    Label can be used to specify Content Key when creating a Streaming Locator
    policyName String
    Policy used by Default Key
    label string
    Label can be used to specify Content Key when creating a Streaming Locator
    policyName string
    Policy used by Default Key
    label str
    Label can be used to specify Content Key when creating a Streaming Locator
    policy_name str
    Policy used by Default Key
    label String
    Label can be used to specify Content Key when creating a Streaming Locator
    policyName String
    Policy used by Default Key

    EnabledProtocols, EnabledProtocolsArgs

    Dash bool
    Enable DASH protocol or not
    Download bool
    Enable Download protocol or not
    Hls bool
    Enable HLS protocol or not
    SmoothStreaming bool
    Enable SmoothStreaming protocol or not
    Dash bool
    Enable DASH protocol or not
    Download bool
    Enable Download protocol or not
    Hls bool
    Enable HLS protocol or not
    SmoothStreaming bool
    Enable SmoothStreaming protocol or not
    dash Boolean
    Enable DASH protocol or not
    download Boolean
    Enable Download protocol or not
    hls Boolean
    Enable HLS protocol or not
    smoothStreaming Boolean
    Enable SmoothStreaming protocol or not
    dash boolean
    Enable DASH protocol or not
    download boolean
    Enable Download protocol or not
    hls boolean
    Enable HLS protocol or not
    smoothStreaming boolean
    Enable SmoothStreaming protocol or not
    dash bool
    Enable DASH protocol or not
    download bool
    Enable Download protocol or not
    hls bool
    Enable HLS protocol or not
    smooth_streaming bool
    Enable SmoothStreaming protocol or not
    dash Boolean
    Enable DASH protocol or not
    download Boolean
    Enable Download protocol or not
    hls Boolean
    Enable HLS protocol or not
    smoothStreaming Boolean
    Enable SmoothStreaming protocol or not

    EnabledProtocolsResponse, EnabledProtocolsResponseArgs

    Dash bool
    Enable DASH protocol or not
    Download bool
    Enable Download protocol or not
    Hls bool
    Enable HLS protocol or not
    SmoothStreaming bool
    Enable SmoothStreaming protocol or not
    Dash bool
    Enable DASH protocol or not
    Download bool
    Enable Download protocol or not
    Hls bool
    Enable HLS protocol or not
    SmoothStreaming bool
    Enable SmoothStreaming protocol or not
    dash Boolean
    Enable DASH protocol or not
    download Boolean
    Enable Download protocol or not
    hls Boolean
    Enable HLS protocol or not
    smoothStreaming Boolean
    Enable SmoothStreaming protocol or not
    dash boolean
    Enable DASH protocol or not
    download boolean
    Enable Download protocol or not
    hls boolean
    Enable HLS protocol or not
    smoothStreaming boolean
    Enable SmoothStreaming protocol or not
    dash bool
    Enable DASH protocol or not
    download bool
    Enable Download protocol or not
    hls bool
    Enable HLS protocol or not
    smooth_streaming bool
    Enable SmoothStreaming protocol or not
    dash Boolean
    Enable DASH protocol or not
    download Boolean
    Enable Download protocol or not
    hls Boolean
    Enable HLS protocol or not
    smoothStreaming Boolean
    Enable SmoothStreaming protocol or not

    EnvelopeEncryption, EnvelopeEncryptionArgs

    ClearTracks List<Pulumi.AzureNative.Media.Inputs.TrackSelection>
    Representing which tracks should not be encrypted
    ContentKeys Pulumi.AzureNative.Media.Inputs.StreamingPolicyContentKeys
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    CustomKeyAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    EnabledProtocols Pulumi.AzureNative.Media.Inputs.EnabledProtocols
    Representing supported protocols
    ClearTracks []TrackSelection
    Representing which tracks should not be encrypted
    ContentKeys StreamingPolicyContentKeys
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    CustomKeyAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    EnabledProtocols EnabledProtocols
    Representing supported protocols
    clearTracks List<TrackSelection>
    Representing which tracks should not be encrypted
    contentKeys StreamingPolicyContentKeys
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    customKeyAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    enabledProtocols EnabledProtocols
    Representing supported protocols
    clearTracks TrackSelection[]
    Representing which tracks should not be encrypted
    contentKeys StreamingPolicyContentKeys
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    customKeyAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    enabledProtocols EnabledProtocols
    Representing supported protocols
    clear_tracks Sequence[TrackSelection]
    Representing which tracks should not be encrypted
    content_keys StreamingPolicyContentKeys
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    custom_key_acquisition_url_template str
    Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    enabled_protocols EnabledProtocols
    Representing supported protocols
    clearTracks List<Property Map>
    Representing which tracks should not be encrypted
    contentKeys Property Map
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    customKeyAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    enabledProtocols Property Map
    Representing supported protocols

    EnvelopeEncryptionResponse, EnvelopeEncryptionResponseArgs

    ClearTracks List<Pulumi.AzureNative.Media.Inputs.TrackSelectionResponse>
    Representing which tracks should not be encrypted
    ContentKeys Pulumi.AzureNative.Media.Inputs.StreamingPolicyContentKeysResponse
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    CustomKeyAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    EnabledProtocols Pulumi.AzureNative.Media.Inputs.EnabledProtocolsResponse
    Representing supported protocols
    ClearTracks []TrackSelectionResponse
    Representing which tracks should not be encrypted
    ContentKeys StreamingPolicyContentKeysResponse
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    CustomKeyAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    EnabledProtocols EnabledProtocolsResponse
    Representing supported protocols
    clearTracks List<TrackSelectionResponse>
    Representing which tracks should not be encrypted
    contentKeys StreamingPolicyContentKeysResponse
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    customKeyAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    enabledProtocols EnabledProtocolsResponse
    Representing supported protocols
    clearTracks TrackSelectionResponse[]
    Representing which tracks should not be encrypted
    contentKeys StreamingPolicyContentKeysResponse
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    customKeyAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    enabledProtocols EnabledProtocolsResponse
    Representing supported protocols
    clear_tracks Sequence[TrackSelectionResponse]
    Representing which tracks should not be encrypted
    content_keys StreamingPolicyContentKeysResponse
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    custom_key_acquisition_url_template str
    Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    enabled_protocols EnabledProtocolsResponse
    Representing supported protocols
    clearTracks List<Property Map>
    Representing which tracks should not be encrypted
    contentKeys Property Map
    Representing default content key for each encryption scheme and separate content keys for specific tracks
    customKeyAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering keys to end user players. Not required when using Azure Media Services for issuing keys. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    enabledProtocols Property Map
    Representing supported protocols

    NoEncryption, NoEncryptionArgs

    EnabledProtocols EnabledProtocols
    Representing supported protocols
    enabledProtocols EnabledProtocols
    Representing supported protocols
    enabledProtocols EnabledProtocols
    Representing supported protocols
    enabled_protocols EnabledProtocols
    Representing supported protocols
    enabledProtocols Property Map
    Representing supported protocols

    NoEncryptionResponse, NoEncryptionResponseArgs

    EnabledProtocols EnabledProtocolsResponse
    Representing supported protocols
    enabledProtocols EnabledProtocolsResponse
    Representing supported protocols
    enabledProtocols EnabledProtocolsResponse
    Representing supported protocols
    enabled_protocols EnabledProtocolsResponse
    Representing supported protocols
    enabledProtocols Property Map
    Representing supported protocols

    StreamingPolicyContentKey, StreamingPolicyContentKeyArgs

    Label string
    Label can be used to specify Content Key when creating a Streaming Locator
    PolicyName string
    Policy used by Content Key
    Tracks List<Pulumi.AzureNative.Media.Inputs.TrackSelection>
    Tracks which use this content key
    Label string
    Label can be used to specify Content Key when creating a Streaming Locator
    PolicyName string
    Policy used by Content Key
    Tracks []TrackSelection
    Tracks which use this content key
    label String
    Label can be used to specify Content Key when creating a Streaming Locator
    policyName String
    Policy used by Content Key
    tracks List<TrackSelection>
    Tracks which use this content key
    label string
    Label can be used to specify Content Key when creating a Streaming Locator
    policyName string
    Policy used by Content Key
    tracks TrackSelection[]
    Tracks which use this content key
    label str
    Label can be used to specify Content Key when creating a Streaming Locator
    policy_name str
    Policy used by Content Key
    tracks Sequence[TrackSelection]
    Tracks which use this content key
    label String
    Label can be used to specify Content Key when creating a Streaming Locator
    policyName String
    Policy used by Content Key
    tracks List<Property Map>
    Tracks which use this content key

    StreamingPolicyContentKeyResponse, StreamingPolicyContentKeyResponseArgs

    Label string
    Label can be used to specify Content Key when creating a Streaming Locator
    PolicyName string
    Policy used by Content Key
    Tracks List<Pulumi.AzureNative.Media.Inputs.TrackSelectionResponse>
    Tracks which use this content key
    Label string
    Label can be used to specify Content Key when creating a Streaming Locator
    PolicyName string
    Policy used by Content Key
    Tracks []TrackSelectionResponse
    Tracks which use this content key
    label String
    Label can be used to specify Content Key when creating a Streaming Locator
    policyName String
    Policy used by Content Key
    tracks List<TrackSelectionResponse>
    Tracks which use this content key
    label string
    Label can be used to specify Content Key when creating a Streaming Locator
    policyName string
    Policy used by Content Key
    tracks TrackSelectionResponse[]
    Tracks which use this content key
    label str
    Label can be used to specify Content Key when creating a Streaming Locator
    policy_name str
    Policy used by Content Key
    tracks Sequence[TrackSelectionResponse]
    Tracks which use this content key
    label String
    Label can be used to specify Content Key when creating a Streaming Locator
    policyName String
    Policy used by Content Key
    tracks List<Property Map>
    Tracks which use this content key

    StreamingPolicyContentKeys, StreamingPolicyContentKeysArgs

    DefaultKey Pulumi.AzureNative.Media.Inputs.DefaultKey
    Default content key for an encryption scheme
    KeyToTrackMappings List<Pulumi.AzureNative.Media.Inputs.StreamingPolicyContentKey>
    Representing tracks needs separate content key
    DefaultKey DefaultKey
    Default content key for an encryption scheme
    KeyToTrackMappings []StreamingPolicyContentKey
    Representing tracks needs separate content key
    defaultKey DefaultKey
    Default content key for an encryption scheme
    keyToTrackMappings List<StreamingPolicyContentKey>
    Representing tracks needs separate content key
    defaultKey DefaultKey
    Default content key for an encryption scheme
    keyToTrackMappings StreamingPolicyContentKey[]
    Representing tracks needs separate content key
    default_key DefaultKey
    Default content key for an encryption scheme
    key_to_track_mappings Sequence[StreamingPolicyContentKey]
    Representing tracks needs separate content key
    defaultKey Property Map
    Default content key for an encryption scheme
    keyToTrackMappings List<Property Map>
    Representing tracks needs separate content key

    StreamingPolicyContentKeysResponse, StreamingPolicyContentKeysResponseArgs

    DefaultKey DefaultKeyResponse
    Default content key for an encryption scheme
    KeyToTrackMappings []StreamingPolicyContentKeyResponse
    Representing tracks needs separate content key
    defaultKey DefaultKeyResponse
    Default content key for an encryption scheme
    keyToTrackMappings List<StreamingPolicyContentKeyResponse>
    Representing tracks needs separate content key
    defaultKey DefaultKeyResponse
    Default content key for an encryption scheme
    keyToTrackMappings StreamingPolicyContentKeyResponse[]
    Representing tracks needs separate content key
    default_key DefaultKeyResponse
    Default content key for an encryption scheme
    key_to_track_mappings Sequence[StreamingPolicyContentKeyResponse]
    Representing tracks needs separate content key
    defaultKey Property Map
    Default content key for an encryption scheme
    keyToTrackMappings List<Property Map>
    Representing tracks needs separate content key

    StreamingPolicyFairPlayConfiguration, StreamingPolicyFairPlayConfigurationArgs

    AllowPersistentLicense bool
    All license to be persistent or not
    CustomLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    AllowPersistentLicense bool
    All license to be persistent or not
    CustomLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    allowPersistentLicense Boolean
    All license to be persistent or not
    customLicenseAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    allowPersistentLicense boolean
    All license to be persistent or not
    customLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    allow_persistent_license bool
    All license to be persistent or not
    custom_license_acquisition_url_template str
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    allowPersistentLicense Boolean
    All license to be persistent or not
    customLicenseAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.

    StreamingPolicyFairPlayConfigurationResponse, StreamingPolicyFairPlayConfigurationResponseArgs

    AllowPersistentLicense bool
    All license to be persistent or not
    CustomLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    AllowPersistentLicense bool
    All license to be persistent or not
    CustomLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    allowPersistentLicense Boolean
    All license to be persistent or not
    customLicenseAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    allowPersistentLicense boolean
    All license to be persistent or not
    customLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    allow_persistent_license bool
    All license to be persistent or not
    custom_license_acquisition_url_template str
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    allowPersistentLicense Boolean
    All license to be persistent or not
    customLicenseAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.

    StreamingPolicyPlayReadyConfiguration, StreamingPolicyPlayReadyConfigurationArgs

    CustomLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    PlayReadyCustomAttributes string
    Custom attributes for PlayReady
    CustomLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    PlayReadyCustomAttributes string
    Custom attributes for PlayReady
    customLicenseAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    playReadyCustomAttributes String
    Custom attributes for PlayReady
    customLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    playReadyCustomAttributes string
    Custom attributes for PlayReady
    custom_license_acquisition_url_template str
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    play_ready_custom_attributes str
    Custom attributes for PlayReady
    customLicenseAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    playReadyCustomAttributes String
    Custom attributes for PlayReady

    StreamingPolicyPlayReadyConfigurationResponse, StreamingPolicyPlayReadyConfigurationResponseArgs

    CustomLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    PlayReadyCustomAttributes string
    Custom attributes for PlayReady
    CustomLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    PlayReadyCustomAttributes string
    Custom attributes for PlayReady
    customLicenseAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    playReadyCustomAttributes String
    Custom attributes for PlayReady
    customLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    playReadyCustomAttributes string
    Custom attributes for PlayReady
    custom_license_acquisition_url_template str
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    play_ready_custom_attributes str
    Custom attributes for PlayReady
    customLicenseAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    playReadyCustomAttributes String
    Custom attributes for PlayReady

    StreamingPolicyWidevineConfiguration, StreamingPolicyWidevineConfigurationArgs

    CustomLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    CustomLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    customLicenseAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    customLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    custom_license_acquisition_url_template str
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    customLicenseAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.

    StreamingPolicyWidevineConfigurationResponse, StreamingPolicyWidevineConfigurationResponseArgs

    CustomLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    CustomLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    customLicenseAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    customLicenseAcquisitionUrlTemplate string
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    custom_license_acquisition_url_template str
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.
    customLicenseAcquisitionUrlTemplate String
    Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.

    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.

    TrackPropertyCompareOperation, TrackPropertyCompareOperationArgs

    Unknown
    UnknownUnknown track property compare operation
    Equal
    EqualEqual operation
    TrackPropertyCompareOperationUnknown
    UnknownUnknown track property compare operation
    TrackPropertyCompareOperationEqual
    EqualEqual operation
    Unknown
    UnknownUnknown track property compare operation
    Equal
    EqualEqual operation
    Unknown
    UnknownUnknown track property compare operation
    Equal
    EqualEqual operation
    UNKNOWN
    UnknownUnknown track property compare operation
    EQUAL
    EqualEqual operation
    "Unknown"
    UnknownUnknown track property compare operation
    "Equal"
    EqualEqual operation

    TrackPropertyCondition, TrackPropertyConditionArgs

    Operation string | Pulumi.AzureNative.Media.TrackPropertyCompareOperation
    Track property condition operation
    Property string | Pulumi.AzureNative.Media.TrackPropertyType
    Track property type
    Value string
    Track property value
    Operation string | TrackPropertyCompareOperation
    Track property condition operation
    Property string | TrackPropertyType
    Track property type
    Value string
    Track property value
    operation String | TrackPropertyCompareOperation
    Track property condition operation
    property String | TrackPropertyType
    Track property type
    value String
    Track property value
    operation string | TrackPropertyCompareOperation
    Track property condition operation
    property string | TrackPropertyType
    Track property type
    value string
    Track property value
    operation str | TrackPropertyCompareOperation
    Track property condition operation
    property str | TrackPropertyType
    Track property type
    value str
    Track property value
    operation String | "Unknown" | "Equal"
    Track property condition operation
    property String | "Unknown" | "FourCC"
    Track property type
    value String
    Track property value

    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

    TrackPropertyType, TrackPropertyTypeArgs

    Unknown
    UnknownUnknown track property
    FourCC
    FourCCTrack FourCC
    TrackPropertyTypeUnknown
    UnknownUnknown track property
    TrackPropertyTypeFourCC
    FourCCTrack FourCC
    Unknown
    UnknownUnknown track property
    FourCC
    FourCCTrack FourCC
    Unknown
    UnknownUnknown track property
    FourCC
    FourCCTrack FourCC
    UNKNOWN
    UnknownUnknown track property
    FOUR_CC
    FourCCTrack FourCC
    "Unknown"
    UnknownUnknown track property
    "FourCC"
    FourCCTrack FourCC

    TrackSelection, TrackSelectionArgs

    TrackSelections List<Pulumi.AzureNative.Media.Inputs.TrackPropertyCondition>
    TrackSelections is a track property condition list which can specify track(s)
    TrackSelections []TrackPropertyCondition
    TrackSelections is a track property condition list which can specify track(s)
    trackSelections List<TrackPropertyCondition>
    TrackSelections is a track property condition list which can specify track(s)
    trackSelections TrackPropertyCondition[]
    TrackSelections is a track property condition list which can specify track(s)
    track_selections Sequence[TrackPropertyCondition]
    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)

    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:StreamingPolicy UserCreatedSecureStreamingPolicy /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingPolicies/{streamingPolicyName} 
    

    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.77.0 published on Thursday, Dec 12, 2024 by Pulumi