1. Packages
  2. Azure Native v1
  3. API Docs
  4. media
  5. StreamingPolicy
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.media.StreamingPolicy

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    A Streaming Policy resource API Version: 2020-05-01.

    Example Usage

    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 = "contoso",
            StreamingPolicyName = "UserCreatedClearStreamingPolicy",
        });
    
    });
    
    package main
    
    import (
    	media "github.com/pulumi/pulumi-azure-native-sdk/media"
    	"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.NoEncryptionResponse{
    				EnabledProtocols: &media.EnabledProtocolsArgs{
    					Dash:            pulumi.Bool(true),
    					Download:        pulumi.Bool(true),
    					Hls:             pulumi.Bool(true),
    					SmoothStreaming: pulumi.Bool(true),
    				},
    			},
    			ResourceGroupName:   pulumi.String("contoso"),
    			StreamingPolicyName: pulumi.String("UserCreatedClearStreamingPolicy"),
    		})
    		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 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(Map.of("enabledProtocols", Map.ofEntries(
                    Map.entry("dash", true),
                    Map.entry("download", true),
                    Map.entry("hls", true),
                    Map.entry("smoothStreaming", true)
                )))
                .resourceGroupName("contoso")
                .streamingPolicyName("UserCreatedClearStreamingPolicy")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
        account_name="contosomedia",
        no_encryption=azure_native.media.NoEncryptionResponseArgs(
            enabled_protocols=azure_native.media.EnabledProtocolsArgs(
                dash=True,
                download=True,
                hls=True,
                smooth_streaming=True,
            ),
        ),
        resource_group_name="contoso",
        streaming_policy_name="UserCreatedClearStreamingPolicy")
    
    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: "contoso",
        streamingPolicyName: "UserCreatedClearStreamingPolicy",
    });
    
    resources:
      streamingPolicy:
        type: azure-native:media:StreamingPolicy
        properties:
          accountName: contosomedia
          noEncryption:
            enabledProtocols:
              dash: true
              download: true
              hls: true
              smoothStreaming: true
          resourceGroupName: contoso
          streamingPolicyName: UserCreatedClearStreamingPolicy
    

    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 = "contoso",
            StreamingPolicyName = "UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly",
        });
    
    });
    

    Coming soon!

    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 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(Map.ofEntries(
                    Map.entry("contentKeys", Map.of("defaultKey", Map.of("label", "cbcsDefaultKey"))),
                    Map.entry("drm", Map.of("fairPlay", Map.ofEntries(
                        Map.entry("allowPersistentLicense", true),
                        Map.entry("customLicenseAcquisitionUrlTemplate", "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}")
                    ))),
                    Map.entry("enabledProtocols", Map.ofEntries(
                        Map.entry("dash", false),
                        Map.entry("download", false),
                        Map.entry("hls", true),
                        Map.entry("smoothStreaming", false)
                    ))
                ))
                .defaultContentKeyPolicyName("PolicyWithMultipleOptions")
                .resourceGroupName("contoso")
                .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=azure_native.media.CommonEncryptionCbcsResponseArgs(
            content_keys={
                "defaultKey": azure_native.media.DefaultKeyArgs(
                    label="cbcsDefaultKey",
                ),
            },
            drm={
                "fairPlay": azure_native.media.StreamingPolicyFairPlayConfigurationArgs(
                    allow_persistent_license=True,
                    custom_license_acquisition_url_template="https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
                ),
            },
            enabled_protocols=azure_native.media.EnabledProtocolsArgs(
                dash=False,
                download=False,
                hls=True,
                smooth_streaming=False,
            ),
        ),
        default_content_key_policy_name="PolicyWithMultipleOptions",
        resource_group_name="contoso",
        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: "contoso",
        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: contoso
          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 = "Equal",
                                Property = "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 = "contoso",
            StreamingPolicyName = "UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly",
        });
    
    });
    

    Coming soon!

    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 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(Map.ofEntries(
                    Map.entry("clearTracks", Map.of("trackSelections", Map.ofEntries(
                        Map.entry("operation", "Equal"),
                        Map.entry("property", "FourCC"),
                        Map.entry("value", "hev1")
                    ))),
                    Map.entry("contentKeys", Map.of("defaultKey", Map.of("label", "cencDefaultKey"))),
                    Map.entry("drm", Map.ofEntries(
                        Map.entry("playReady", Map.ofEntries(
                            Map.entry("customLicenseAcquisitionUrlTemplate", "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}"),
                            Map.entry("playReadyCustomAttributes", "PlayReady CustomAttributes")
                        )),
                        Map.entry("widevine", Map.of("customLicenseAcquisitionUrlTemplate", "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"))
                    )),
                    Map.entry("enabledProtocols", Map.ofEntries(
                        Map.entry("dash", true),
                        Map.entry("download", false),
                        Map.entry("hls", false),
                        Map.entry("smoothStreaming", true)
                    ))
                ))
                .defaultContentKeyPolicyName("PolicyWithPlayReadyOptionAndOpenRestriction")
                .resourceGroupName("contoso")
                .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=azure_native.media.CommonEncryptionCencResponseArgs(
            clear_tracks=[{
                "trackSelections": [azure_native.media.TrackPropertyConditionArgs(
                    operation="Equal",
                    property="FourCC",
                    value="hev1",
                )],
            }],
            content_keys={
                "defaultKey": azure_native.media.DefaultKeyArgs(
                    label="cencDefaultKey",
                ),
            },
            drm={
                "playReady": azure_native.media.StreamingPolicyPlayReadyConfigurationArgs(
                    custom_license_acquisition_url_template="https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                    play_ready_custom_attributes="PlayReady CustomAttributes",
                ),
                "widevine": azure_native.media.StreamingPolicyWidevineConfigurationArgs(
                    custom_license_acquisition_url_template="https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
                ),
            },
            enabled_protocols=azure_native.media.EnabledProtocolsArgs(
                dash=True,
                download=False,
                hls=False,
                smooth_streaming=True,
            ),
        ),
        default_content_key_policy_name="PolicyWithPlayReadyOptionAndOpenRestriction",
        resource_group_name="contoso",
        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: "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: "contoso",
        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: contoso
          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 = "contoso",
            StreamingPolicyName = "UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly",
        });
    
    });
    

    Coming soon!

    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 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(Map.ofEntries(
                    Map.entry("contentKeys", Map.of("defaultKey", Map.of("label", "aesDefaultKey"))),
                    Map.entry("customKeyAcquisitionUrlTemplate", "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}"),
                    Map.entry("enabledProtocols", Map.ofEntries(
                        Map.entry("dash", true),
                        Map.entry("download", false),
                        Map.entry("hls", true),
                        Map.entry("smoothStreaming", true)
                    ))
                ))
                .resourceGroupName("contoso")
                .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=azure_native.media.EnvelopeEncryptionResponseArgs(
            content_keys={
                "defaultKey": azure_native.media.DefaultKeyArgs(
                    label="aesDefaultKey",
                ),
            },
            custom_key_acquisition_url_template="https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
            enabled_protocols=azure_native.media.EnabledProtocolsArgs(
                dash=True,
                download=False,
                hls=True,
                smooth_streaming=True,
            ),
        ),
        resource_group_name="contoso",
        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: "contoso",
        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: contoso
          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 = "Equal",
                                Property = "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 = "contoso",
            StreamingPolicyName = "UserCreatedSecureStreamingPolicy",
        });
    
    });
    

    Coming soon!

    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 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(Map.ofEntries(
                    Map.entry("contentKeys", Map.of("defaultKey", Map.of("label", "cbcsDefaultKey"))),
                    Map.entry("drm", Map.of("fairPlay", Map.ofEntries(
                        Map.entry("allowPersistentLicense", true),
                        Map.entry("customLicenseAcquisitionUrlTemplate", "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}")
                    ))),
                    Map.entry("enabledProtocols", Map.ofEntries(
                        Map.entry("dash", false),
                        Map.entry("download", false),
                        Map.entry("hls", true),
                        Map.entry("smoothStreaming", false)
                    ))
                ))
                .commonEncryptionCenc(Map.ofEntries(
                    Map.entry("clearTracks", Map.of("trackSelections", Map.ofEntries(
                        Map.entry("operation", "Equal"),
                        Map.entry("property", "FourCC"),
                        Map.entry("value", "hev1")
                    ))),
                    Map.entry("contentKeys", Map.of("defaultKey", Map.of("label", "cencDefaultKey"))),
                    Map.entry("drm", Map.ofEntries(
                        Map.entry("playReady", Map.ofEntries(
                            Map.entry("customLicenseAcquisitionUrlTemplate", "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}"),
                            Map.entry("playReadyCustomAttributes", "PlayReady CustomAttributes")
                        )),
                        Map.entry("widevine", Map.of("customLicenseAcquisitionUrlTemplate", "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"))
                    )),
                    Map.entry("enabledProtocols", Map.ofEntries(
                        Map.entry("dash", true),
                        Map.entry("download", false),
                        Map.entry("hls", false),
                        Map.entry("smoothStreaming", true)
                    ))
                ))
                .defaultContentKeyPolicyName("PolicyWithMultipleOptions")
                .envelopeEncryption(Map.ofEntries(
                    Map.entry("contentKeys", Map.of("defaultKey", Map.of("label", "aesDefaultKey"))),
                    Map.entry("customKeyAcquisitionUrlTemplate", "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}"),
                    Map.entry("enabledProtocols", Map.ofEntries(
                        Map.entry("dash", true),
                        Map.entry("download", false),
                        Map.entry("hls", true),
                        Map.entry("smoothStreaming", true)
                    ))
                ))
                .resourceGroupName("contoso")
                .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=azure_native.media.CommonEncryptionCbcsResponseArgs(
            content_keys={
                "defaultKey": azure_native.media.DefaultKeyArgs(
                    label="cbcsDefaultKey",
                ),
            },
            drm={
                "fairPlay": azure_native.media.StreamingPolicyFairPlayConfigurationArgs(
                    allow_persistent_license=True,
                    custom_license_acquisition_url_template="https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
                ),
            },
            enabled_protocols=azure_native.media.EnabledProtocolsArgs(
                dash=False,
                download=False,
                hls=True,
                smooth_streaming=False,
            ),
        ),
        common_encryption_cenc=azure_native.media.CommonEncryptionCencResponseArgs(
            clear_tracks=[{
                "trackSelections": [azure_native.media.TrackPropertyConditionArgs(
                    operation="Equal",
                    property="FourCC",
                    value="hev1",
                )],
            }],
            content_keys={
                "defaultKey": azure_native.media.DefaultKeyArgs(
                    label="cencDefaultKey",
                ),
            },
            drm={
                "playReady": azure_native.media.StreamingPolicyPlayReadyConfigurationArgs(
                    custom_license_acquisition_url_template="https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                    play_ready_custom_attributes="PlayReady CustomAttributes",
                ),
                "widevine": azure_native.media.StreamingPolicyWidevineConfigurationArgs(
                    custom_license_acquisition_url_template="https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
                ),
            },
            enabled_protocols=azure_native.media.EnabledProtocolsArgs(
                dash=True,
                download=False,
                hls=False,
                smooth_streaming=True,
            ),
        ),
        default_content_key_policy_name="PolicyWithMultipleOptions",
        envelope_encryption=azure_native.media.EnvelopeEncryptionResponseArgs(
            content_keys={
                "defaultKey": azure_native.media.DefaultKeyArgs(
                    label="aesDefaultKey",
                ),
            },
            custom_key_acquisition_url_template="https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
            enabled_protocols=azure_native.media.EnabledProtocolsArgs(
                dash=True,
                download=False,
                hls=True,
                smooth_streaming=True,
            ),
        ),
        resource_group_name="contoso",
        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: "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: "contoso",
        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: contoso
          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 = 
        {
            { "clearTracks", new[]
            {
                
                {
                    { "trackSelections", new[]
                    {
                        
                        {
                            { "operation", "string" },
                            { "property", "string" },
                            { "value", "string" },
                        },
                    } },
                },
            } },
            { "contentKeys", 
            {
                { "defaultKey", 
                {
                    { "label", "string" },
                    { "policyName", "string" },
                } },
                { "keyToTrackMappings", new[]
                {
                    
                    {
                        { "label", "string" },
                        { "policyName", "string" },
                        { "tracks", new[]
                        {
                            
                            {
                                { "trackSelections", new[]
                                {
                                    
                                    {
                                        { "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 = 
        {
            { "clearTracks", new[]
            {
                
                {
                    { "trackSelections", new[]
                    {
                        
                        {
                            { "operation", "string" },
                            { "property", "string" },
                            { "value", "string" },
                        },
                    } },
                },
            } },
            { "contentKeys", 
            {
                { "defaultKey", 
                {
                    { "label", "string" },
                    { "policyName", "string" },
                } },
                { "keyToTrackMappings", new[]
                {
                    
                    {
                        { "label", "string" },
                        { "policyName", "string" },
                        { "tracks", new[]
                        {
                            
                            {
                                { "trackSelections", new[]
                                {
                                    
                                    {
                                        { "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", new[]
            {
                
                {
                    { "trackSelections", new[]
                    {
                        
                        {
                            { "operation", "string" },
                            { "property", "string" },
                            { "value", "string" },
                        },
                    } },
                },
            } },
            { "contentKeys", 
            {
                { "defaultKey", 
                {
                    { "label", "string" },
                    { "policyName", "string" },
                } },
                { "keyToTrackMappings", new[]
                {
                    
                    {
                        { "label", "string" },
                        { "policyName", "string" },
                        { "tracks", new[]
                        {
                            
                            {
                                { "trackSelections", new[]
                                {
                                    
                                    {
                                        { "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",
    });
    
    example, err := media.NewStreamingPolicy(ctx, "streamingPolicyResource", &media.StreamingPolicyArgs{
    	AccountName:       "string",
    	ResourceGroupName: "string",
    	CommonEncryptionCbcs: map[string]interface{}{
    		"clearTracks": []map[string]interface{}{
    			map[string]interface{}{
    				"trackSelections": []map[string]interface{}{
    					map[string]interface{}{
    						"operation": "string",
    						"property":  "string",
    						"value":     "string",
    					},
    				},
    			},
    		},
    		"contentKeys": map[string]interface{}{
    			"defaultKey": map[string]interface{}{
    				"label":      "string",
    				"policyName": "string",
    			},
    			"keyToTrackMappings": []map[string]interface{}{
    				map[string]interface{}{
    					"label":      "string",
    					"policyName": "string",
    					"tracks": []map[string]interface{}{
    						map[string]interface{}{
    							"trackSelections": []map[string]interface{}{
    								map[string]interface{}{
    									"operation": "string",
    									"property":  "string",
    									"value":     "string",
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		"drm": map[string]interface{}{
    			"fairPlay": map[string]interface{}{
    				"allowPersistentLicense":              false,
    				"customLicenseAcquisitionUrlTemplate": "string",
    			},
    			"playReady": map[string]interface{}{
    				"customLicenseAcquisitionUrlTemplate": "string",
    				"playReadyCustomAttributes":           "string",
    			},
    			"widevine": map[string]interface{}{
    				"customLicenseAcquisitionUrlTemplate": "string",
    			},
    		},
    		"enabledProtocols": map[string]interface{}{
    			"dash":            false,
    			"download":        false,
    			"hls":             false,
    			"smoothStreaming": false,
    		},
    	},
    	CommonEncryptionCenc: map[string]interface{}{
    		"clearTracks": []map[string]interface{}{
    			map[string]interface{}{
    				"trackSelections": []map[string]interface{}{
    					map[string]interface{}{
    						"operation": "string",
    						"property":  "string",
    						"value":     "string",
    					},
    				},
    			},
    		},
    		"contentKeys": map[string]interface{}{
    			"defaultKey": map[string]interface{}{
    				"label":      "string",
    				"policyName": "string",
    			},
    			"keyToTrackMappings": []map[string]interface{}{
    				map[string]interface{}{
    					"label":      "string",
    					"policyName": "string",
    					"tracks": []map[string]interface{}{
    						map[string]interface{}{
    							"trackSelections": []map[string]interface{}{
    								map[string]interface{}{
    									"operation": "string",
    									"property":  "string",
    									"value":     "string",
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		"drm": map[string]interface{}{
    			"playReady": map[string]interface{}{
    				"customLicenseAcquisitionUrlTemplate": "string",
    				"playReadyCustomAttributes":           "string",
    			},
    			"widevine": map[string]interface{}{
    				"customLicenseAcquisitionUrlTemplate": "string",
    			},
    		},
    		"enabledProtocols": map[string]interface{}{
    			"dash":            false,
    			"download":        false,
    			"hls":             false,
    			"smoothStreaming": false,
    		},
    	},
    	DefaultContentKeyPolicyName: "string",
    	EnvelopeEncryption: map[string]interface{}{
    		"clearTracks": []map[string]interface{}{
    			map[string]interface{}{
    				"trackSelections": []map[string]interface{}{
    					map[string]interface{}{
    						"operation": "string",
    						"property":  "string",
    						"value":     "string",
    					},
    				},
    			},
    		},
    		"contentKeys": map[string]interface{}{
    			"defaultKey": map[string]interface{}{
    				"label":      "string",
    				"policyName": "string",
    			},
    			"keyToTrackMappings": []map[string]interface{}{
    				map[string]interface{}{
    					"label":      "string",
    					"policyName": "string",
    					"tracks": []map[string]interface{}{
    						map[string]interface{}{
    							"trackSelections": []map[string]interface{}{
    								map[string]interface{}{
    									"operation": "string",
    									"property":  "string",
    									"value":     "string",
    								},
    							},
    						},
    					},
    				},
    			},
    		},
    		"customKeyAcquisitionUrlTemplate": "string",
    		"enabledProtocols": map[string]interface{}{
    			"dash":            false,
    			"download":        false,
    			"hls":             false,
    			"smoothStreaming": false,
    		},
    	},
    	NoEncryption: map[string]interface{}{
    		"enabledProtocols": map[string]interface{}{
    			"dash":            false,
    			"download":        false,
    			"hls":             false,
    			"smoothStreaming": false,
    		},
    	},
    	StreamingPolicyName: "string",
    })
    
    var streamingPolicyResource = new StreamingPolicy("streamingPolicyResource", StreamingPolicyArgs.builder()
        .accountName("string")
        .resourceGroupName("string")
        .commonEncryptionCbcs(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .commonEncryptionCenc(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .defaultContentKeyPolicyName("string")
        .envelopeEncryption(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .noEncryption(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .streamingPolicyName("string")
        .build());
    
    streaming_policy_resource = azure_native.media.StreamingPolicy("streamingPolicyResource",
        account_name=string,
        resource_group_name=string,
        common_encryption_cbcs={
            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,
            },
        },
        common_encryption_cenc={
            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,
            },
        },
        default_content_key_policy_name=string,
        envelope_encryption={
            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,
            },
        },
        no_encryption={
            enabledProtocols: {
                dash: False,
                download: False,
                hls: False,
                smoothStreaming: False,
            },
        },
        streaming_policy_name=string)
    
    const streamingPolicyResource = new azure_native.media.StreamingPolicy("streamingPolicyResource", {
        accountName: "string",
        resourceGroupName: "string",
        commonEncryptionCbcs: {
            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: {
            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:
            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:
            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

    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

    CommonEncryptionCbcs, CommonEncryptionCbcsArgs

    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
    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
    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
    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_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
    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

    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
    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
    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
    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_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
    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

    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
    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
    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
    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_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
    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

    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
    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
    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
    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_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
    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/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedSecureStreamingPolicy 
    

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

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi