azure-native.media.StreamingPolicy
Explore with Pulumi AI
A Streaming Policy resource Azure REST API version: 2023-01-01. Prior API version in Azure Native 1.x: 2020-05-01.
Example Usage
Creates a Streaming Policy with ClearKey encryption in commonEncryptionCbcs.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
    {
        AccountName = "contosomedia",
        CommonEncryptionCbcs = new AzureNative.Media.Inputs.CommonEncryptionCbcsArgs
        {
            ClearKeyEncryptionConfiguration = new AzureNative.Media.Inputs.ClearKeyEncryptionConfigurationArgs
            {
                CustomKeysAcquisitionUrlTemplate = "https://contoso.com/{AlternativeMediaId}/clearkey/",
            },
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "cbcsDefaultKey",
                },
            },
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = false,
                Download = false,
                Hls = true,
                SmoothStreaming = false,
            },
        },
        DefaultContentKeyPolicyName = "PolicyWithMultipleOptions",
        ResourceGroupName = "contosorg",
        StreamingPolicyName = "UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly",
    });
});
package main
import (
	media "github.com/pulumi/pulumi-azure-native-sdk/media/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewStreamingPolicy(ctx, "streamingPolicy", &media.StreamingPolicyArgs{
			AccountName: pulumi.String("contosomedia"),
			CommonEncryptionCbcs: &media.CommonEncryptionCbcsArgs{
				ClearKeyEncryptionConfiguration: &media.ClearKeyEncryptionConfigurationArgs{
					CustomKeysAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AlternativeMediaId}/clearkey/"),
				},
				ContentKeys: &media.StreamingPolicyContentKeysArgs{
					DefaultKey: &media.DefaultKeyArgs{
						Label: pulumi.String("cbcsDefaultKey"),
					},
				},
				EnabledProtocols: &media.EnabledProtocolsArgs{
					Dash:            pulumi.Bool(false),
					Download:        pulumi.Bool(false),
					Hls:             pulumi.Bool(true),
					SmoothStreaming: pulumi.Bool(false),
				},
			},
			DefaultContentKeyPolicyName: pulumi.String("PolicyWithMultipleOptions"),
			ResourceGroupName:           pulumi.String("contosorg"),
			StreamingPolicyName:         pulumi.String("UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingPolicy;
import com.pulumi.azurenative.media.StreamingPolicyArgs;
import com.pulumi.azurenative.media.inputs.CommonEncryptionCbcsArgs;
import com.pulumi.azurenative.media.inputs.ClearKeyEncryptionConfigurationArgs;
import com.pulumi.azurenative.media.inputs.StreamingPolicyContentKeysArgs;
import com.pulumi.azurenative.media.inputs.DefaultKeyArgs;
import com.pulumi.azurenative.media.inputs.EnabledProtocolsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()
            .accountName("contosomedia")
            .commonEncryptionCbcs(CommonEncryptionCbcsArgs.builder()
                .clearKeyEncryptionConfiguration(ClearKeyEncryptionConfigurationArgs.builder()
                    .customKeysAcquisitionUrlTemplate("https://contoso.com/{AlternativeMediaId}/clearkey/")
                    .build())
                .contentKeys(StreamingPolicyContentKeysArgs.builder()
                    .defaultKey(DefaultKeyArgs.builder()
                        .label("cbcsDefaultKey")
                        .build())
                    .build())
                .enabledProtocols(EnabledProtocolsArgs.builder()
                    .dash(false)
                    .download(false)
                    .hls(true)
                    .smoothStreaming(false)
                    .build())
                .build())
            .defaultContentKeyPolicyName("PolicyWithMultipleOptions")
            .resourceGroupName("contosorg")
            .streamingPolicyName("UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
    accountName: "contosomedia",
    commonEncryptionCbcs: {
        clearKeyEncryptionConfiguration: {
            customKeysAcquisitionUrlTemplate: "https://contoso.com/{AlternativeMediaId}/clearkey/",
        },
        contentKeys: {
            defaultKey: {
                label: "cbcsDefaultKey",
            },
        },
        enabledProtocols: {
            dash: false,
            download: false,
            hls: true,
            smoothStreaming: false,
        },
    },
    defaultContentKeyPolicyName: "PolicyWithMultipleOptions",
    resourceGroupName: "contosorg",
    streamingPolicyName: "UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly",
});
import pulumi
import pulumi_azure_native as azure_native
streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
    account_name="contosomedia",
    common_encryption_cbcs={
        "clear_key_encryption_configuration": {
            "custom_keys_acquisition_url_template": "https://contoso.com/{AlternativeMediaId}/clearkey/",
        },
        "content_keys": {
            "default_key": {
                "label": "cbcsDefaultKey",
            },
        },
        "enabled_protocols": {
            "dash": False,
            "download": False,
            "hls": True,
            "smooth_streaming": False,
        },
    },
    default_content_key_policy_name="PolicyWithMultipleOptions",
    resource_group_name="contosorg",
    streaming_policy_name="UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly")
resources:
  streamingPolicy:
    type: azure-native:media:StreamingPolicy
    properties:
      accountName: contosomedia
      commonEncryptionCbcs:
        clearKeyEncryptionConfiguration:
          customKeysAcquisitionUrlTemplate: https://contoso.com/{AlternativeMediaId}/clearkey/
        contentKeys:
          defaultKey:
            label: cbcsDefaultKey
        enabledProtocols:
          dash: false
          download: false
          hls: true
          smoothStreaming: false
      defaultContentKeyPolicyName: PolicyWithMultipleOptions
      resourceGroupName: contosorg
      streamingPolicyName: UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly
Creates a Streaming Policy with ClearKey encryption in commonEncryptionCenc.
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
    {
        AccountName = "contosomedia",
        CommonEncryptionCenc = new AzureNative.Media.Inputs.CommonEncryptionCencArgs
        {
            ClearKeyEncryptionConfiguration = new AzureNative.Media.Inputs.ClearKeyEncryptionConfigurationArgs
            {
                CustomKeysAcquisitionUrlTemplate = "https://contoso.com/{AlternativeMediaId}/clearkey/",
            },
            ClearTracks = new[]
            {
                new AzureNative.Media.Inputs.TrackSelectionArgs
                {
                    TrackSelections = new[]
                    {
                        new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                        {
                            Operation = AzureNative.Media.TrackPropertyCompareOperation.Equal,
                            Property = AzureNative.Media.TrackPropertyType.FourCC,
                            Value = "hev1",
                        },
                    },
                },
            },
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "cencDefaultKey",
                },
            },
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = true,
                Download = false,
                Hls = false,
                SmoothStreaming = true,
            },
        },
        DefaultContentKeyPolicyName = "PolicyWithPlayReadyOptionAndOpenRestriction",
        ResourceGroupName = "contosorg",
        StreamingPolicyName = "UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly",
    });
});
package main
import (
	media "github.com/pulumi/pulumi-azure-native-sdk/media/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewStreamingPolicy(ctx, "streamingPolicy", &media.StreamingPolicyArgs{
			AccountName: pulumi.String("contosomedia"),
			CommonEncryptionCenc: &media.CommonEncryptionCencArgs{
				ClearKeyEncryptionConfiguration: &media.ClearKeyEncryptionConfigurationArgs{
					CustomKeysAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AlternativeMediaId}/clearkey/"),
				},
				ClearTracks: media.TrackSelectionArray{
					&media.TrackSelectionArgs{
						TrackSelections: media.TrackPropertyConditionArray{
							&media.TrackPropertyConditionArgs{
								Operation: pulumi.String(media.TrackPropertyCompareOperationEqual),
								Property:  pulumi.String(media.TrackPropertyTypeFourCC),
								Value:     pulumi.String("hev1"),
							},
						},
					},
				},
				ContentKeys: &media.StreamingPolicyContentKeysArgs{
					DefaultKey: &media.DefaultKeyArgs{
						Label: pulumi.String("cencDefaultKey"),
					},
				},
				EnabledProtocols: &media.EnabledProtocolsArgs{
					Dash:            pulumi.Bool(true),
					Download:        pulumi.Bool(false),
					Hls:             pulumi.Bool(false),
					SmoothStreaming: pulumi.Bool(true),
				},
			},
			DefaultContentKeyPolicyName: pulumi.String("PolicyWithPlayReadyOptionAndOpenRestriction"),
			ResourceGroupName:           pulumi.String("contosorg"),
			StreamingPolicyName:         pulumi.String("UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingPolicy;
import com.pulumi.azurenative.media.StreamingPolicyArgs;
import com.pulumi.azurenative.media.inputs.CommonEncryptionCencArgs;
import com.pulumi.azurenative.media.inputs.ClearKeyEncryptionConfigurationArgs;
import com.pulumi.azurenative.media.inputs.StreamingPolicyContentKeysArgs;
import com.pulumi.azurenative.media.inputs.DefaultKeyArgs;
import com.pulumi.azurenative.media.inputs.EnabledProtocolsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()
            .accountName("contosomedia")
            .commonEncryptionCenc(CommonEncryptionCencArgs.builder()
                .clearKeyEncryptionConfiguration(ClearKeyEncryptionConfigurationArgs.builder()
                    .customKeysAcquisitionUrlTemplate("https://contoso.com/{AlternativeMediaId}/clearkey/")
                    .build())
                .clearTracks(TrackSelectionArgs.builder()
                    .trackSelections(TrackPropertyConditionArgs.builder()
                        .operation("Equal")
                        .property("FourCC")
                        .value("hev1")
                        .build())
                    .build())
                .contentKeys(StreamingPolicyContentKeysArgs.builder()
                    .defaultKey(DefaultKeyArgs.builder()
                        .label("cencDefaultKey")
                        .build())
                    .build())
                .enabledProtocols(EnabledProtocolsArgs.builder()
                    .dash(true)
                    .download(false)
                    .hls(false)
                    .smoothStreaming(true)
                    .build())
                .build())
            .defaultContentKeyPolicyName("PolicyWithPlayReadyOptionAndOpenRestriction")
            .resourceGroupName("contosorg")
            .streamingPolicyName("UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
    accountName: "contosomedia",
    commonEncryptionCenc: {
        clearKeyEncryptionConfiguration: {
            customKeysAcquisitionUrlTemplate: "https://contoso.com/{AlternativeMediaId}/clearkey/",
        },
        clearTracks: [{
            trackSelections: [{
                operation: azure_native.media.TrackPropertyCompareOperation.Equal,
                property: azure_native.media.TrackPropertyType.FourCC,
                value: "hev1",
            }],
        }],
        contentKeys: {
            defaultKey: {
                label: "cencDefaultKey",
            },
        },
        enabledProtocols: {
            dash: true,
            download: false,
            hls: false,
            smoothStreaming: true,
        },
    },
    defaultContentKeyPolicyName: "PolicyWithPlayReadyOptionAndOpenRestriction",
    resourceGroupName: "contosorg",
    streamingPolicyName: "UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly",
});
import pulumi
import pulumi_azure_native as azure_native
streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
    account_name="contosomedia",
    common_encryption_cenc={
        "clear_key_encryption_configuration": {
            "custom_keys_acquisition_url_template": "https://contoso.com/{AlternativeMediaId}/clearkey/",
        },
        "clear_tracks": [{
            "track_selections": [{
                "operation": azure_native.media.TrackPropertyCompareOperation.EQUAL,
                "property": azure_native.media.TrackPropertyType.FOUR_CC,
                "value": "hev1",
            }],
        }],
        "content_keys": {
            "default_key": {
                "label": "cencDefaultKey",
            },
        },
        "enabled_protocols": {
            "dash": True,
            "download": False,
            "hls": False,
            "smooth_streaming": True,
        },
    },
    default_content_key_policy_name="PolicyWithPlayReadyOptionAndOpenRestriction",
    resource_group_name="contosorg",
    streaming_policy_name="UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly")
resources:
  streamingPolicy:
    type: azure-native:media:StreamingPolicy
    properties:
      accountName: contosomedia
      commonEncryptionCenc:
        clearKeyEncryptionConfiguration:
          customKeysAcquisitionUrlTemplate: https://contoso.com/{AlternativeMediaId}/clearkey/
        clearTracks:
          - trackSelections:
              - operation: Equal
                property: FourCC
                value: hev1
        contentKeys:
          defaultKey:
            label: cencDefaultKey
        enabledProtocols:
          dash: true
          download: false
          hls: false
          smoothStreaming: true
      defaultContentKeyPolicyName: PolicyWithPlayReadyOptionAndOpenRestriction
      resourceGroupName: contosorg
      streamingPolicyName: UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly
Creates a Streaming Policy with clear streaming
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
    {
        AccountName = "contosomedia",
        NoEncryption = new AzureNative.Media.Inputs.NoEncryptionArgs
        {
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = true,
                Download = true,
                Hls = true,
                SmoothStreaming = true,
            },
        },
        ResourceGroupName = "contosorg",
        StreamingPolicyName = "clearStreamingPolicy",
    });
});
package main
import (
	media "github.com/pulumi/pulumi-azure-native-sdk/media/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewStreamingPolicy(ctx, "streamingPolicy", &media.StreamingPolicyArgs{
			AccountName: pulumi.String("contosomedia"),
			NoEncryption: &media.NoEncryptionArgs{
				EnabledProtocols: &media.EnabledProtocolsArgs{
					Dash:            pulumi.Bool(true),
					Download:        pulumi.Bool(true),
					Hls:             pulumi.Bool(true),
					SmoothStreaming: pulumi.Bool(true),
				},
			},
			ResourceGroupName:   pulumi.String("contosorg"),
			StreamingPolicyName: pulumi.String("clearStreamingPolicy"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingPolicy;
import com.pulumi.azurenative.media.StreamingPolicyArgs;
import com.pulumi.azurenative.media.inputs.NoEncryptionArgs;
import com.pulumi.azurenative.media.inputs.EnabledProtocolsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()
            .accountName("contosomedia")
            .noEncryption(NoEncryptionArgs.builder()
                .enabledProtocols(EnabledProtocolsArgs.builder()
                    .dash(true)
                    .download(true)
                    .hls(true)
                    .smoothStreaming(true)
                    .build())
                .build())
            .resourceGroupName("contosorg")
            .streamingPolicyName("clearStreamingPolicy")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
    accountName: "contosomedia",
    noEncryption: {
        enabledProtocols: {
            dash: true,
            download: true,
            hls: true,
            smoothStreaming: true,
        },
    },
    resourceGroupName: "contosorg",
    streamingPolicyName: "clearStreamingPolicy",
});
import pulumi
import pulumi_azure_native as azure_native
streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
    account_name="contosomedia",
    no_encryption={
        "enabled_protocols": {
            "dash": True,
            "download": True,
            "hls": True,
            "smooth_streaming": True,
        },
    },
    resource_group_name="contosorg",
    streaming_policy_name="clearStreamingPolicy")
resources:
  streamingPolicy:
    type: azure-native:media:StreamingPolicy
    properties:
      accountName: contosomedia
      noEncryption:
        enabledProtocols:
          dash: true
          download: true
          hls: true
          smoothStreaming: true
      resourceGroupName: contosorg
      streamingPolicyName: clearStreamingPolicy
Creates a Streaming Policy with commonEncryptionCbcs only
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
    {
        AccountName = "contosomedia",
        CommonEncryptionCbcs = new AzureNative.Media.Inputs.CommonEncryptionCbcsArgs
        {
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "cbcsDefaultKey",
                },
            },
            Drm = new AzureNative.Media.Inputs.CbcsDrmConfigurationArgs
            {
                FairPlay = new AzureNative.Media.Inputs.StreamingPolicyFairPlayConfigurationArgs
                {
                    AllowPersistentLicense = true,
                    CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
                },
            },
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = false,
                Download = false,
                Hls = true,
                SmoothStreaming = false,
            },
        },
        DefaultContentKeyPolicyName = "PolicyWithMultipleOptions",
        ResourceGroupName = "contosorg",
        StreamingPolicyName = "UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly",
    });
});
package main
import (
	media "github.com/pulumi/pulumi-azure-native-sdk/media/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewStreamingPolicy(ctx, "streamingPolicy", &media.StreamingPolicyArgs{
			AccountName: pulumi.String("contosomedia"),
			CommonEncryptionCbcs: &media.CommonEncryptionCbcsArgs{
				ContentKeys: &media.StreamingPolicyContentKeysArgs{
					DefaultKey: &media.DefaultKeyArgs{
						Label: pulumi.String("cbcsDefaultKey"),
					},
				},
				Drm: &media.CbcsDrmConfigurationArgs{
					FairPlay: &media.StreamingPolicyFairPlayConfigurationArgs{
						AllowPersistentLicense:              pulumi.Bool(true),
						CustomLicenseAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}"),
					},
				},
				EnabledProtocols: &media.EnabledProtocolsArgs{
					Dash:            pulumi.Bool(false),
					Download:        pulumi.Bool(false),
					Hls:             pulumi.Bool(true),
					SmoothStreaming: pulumi.Bool(false),
				},
			},
			DefaultContentKeyPolicyName: pulumi.String("PolicyWithMultipleOptions"),
			ResourceGroupName:           pulumi.String("contosorg"),
			StreamingPolicyName:         pulumi.String("UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingPolicy;
import com.pulumi.azurenative.media.StreamingPolicyArgs;
import com.pulumi.azurenative.media.inputs.CommonEncryptionCbcsArgs;
import com.pulumi.azurenative.media.inputs.StreamingPolicyContentKeysArgs;
import com.pulumi.azurenative.media.inputs.DefaultKeyArgs;
import com.pulumi.azurenative.media.inputs.CbcsDrmConfigurationArgs;
import com.pulumi.azurenative.media.inputs.StreamingPolicyFairPlayConfigurationArgs;
import com.pulumi.azurenative.media.inputs.EnabledProtocolsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()
            .accountName("contosomedia")
            .commonEncryptionCbcs(CommonEncryptionCbcsArgs.builder()
                .contentKeys(StreamingPolicyContentKeysArgs.builder()
                    .defaultKey(DefaultKeyArgs.builder()
                        .label("cbcsDefaultKey")
                        .build())
                    .build())
                .drm(CbcsDrmConfigurationArgs.builder()
                    .fairPlay(StreamingPolicyFairPlayConfigurationArgs.builder()
                        .allowPersistentLicense(true)
                        .customLicenseAcquisitionUrlTemplate("https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}")
                        .build())
                    .build())
                .enabledProtocols(EnabledProtocolsArgs.builder()
                    .dash(false)
                    .download(false)
                    .hls(true)
                    .smoothStreaming(false)
                    .build())
                .build())
            .defaultContentKeyPolicyName("PolicyWithMultipleOptions")
            .resourceGroupName("contosorg")
            .streamingPolicyName("UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
    accountName: "contosomedia",
    commonEncryptionCbcs: {
        contentKeys: {
            defaultKey: {
                label: "cbcsDefaultKey",
            },
        },
        drm: {
            fairPlay: {
                allowPersistentLicense: true,
                customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
            },
        },
        enabledProtocols: {
            dash: false,
            download: false,
            hls: true,
            smoothStreaming: false,
        },
    },
    defaultContentKeyPolicyName: "PolicyWithMultipleOptions",
    resourceGroupName: "contosorg",
    streamingPolicyName: "UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly",
});
import pulumi
import pulumi_azure_native as azure_native
streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
    account_name="contosomedia",
    common_encryption_cbcs={
        "content_keys": {
            "default_key": {
                "label": "cbcsDefaultKey",
            },
        },
        "drm": {
            "fair_play": {
                "allow_persistent_license": True,
                "custom_license_acquisition_url_template": "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
            },
        },
        "enabled_protocols": {
            "dash": False,
            "download": False,
            "hls": True,
            "smooth_streaming": False,
        },
    },
    default_content_key_policy_name="PolicyWithMultipleOptions",
    resource_group_name="contosorg",
    streaming_policy_name="UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly")
resources:
  streamingPolicy:
    type: azure-native:media:StreamingPolicy
    properties:
      accountName: contosomedia
      commonEncryptionCbcs:
        contentKeys:
          defaultKey:
            label: cbcsDefaultKey
        drm:
          fairPlay:
            allowPersistentLicense: true
            customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}
        enabledProtocols:
          dash: false
          download: false
          hls: true
          smoothStreaming: false
      defaultContentKeyPolicyName: PolicyWithMultipleOptions
      resourceGroupName: contosorg
      streamingPolicyName: UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly
Creates a Streaming Policy with commonEncryptionCenc only
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
    {
        AccountName = "contosomedia",
        CommonEncryptionCenc = new AzureNative.Media.Inputs.CommonEncryptionCencArgs
        {
            ClearTracks = new[]
            {
                new AzureNative.Media.Inputs.TrackSelectionArgs
                {
                    TrackSelections = new[]
                    {
                        new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                        {
                            Operation = AzureNative.Media.TrackPropertyCompareOperation.Equal,
                            Property = AzureNative.Media.TrackPropertyType.FourCC,
                            Value = "hev1",
                        },
                    },
                },
            },
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "cencDefaultKey",
                },
            },
            Drm = new AzureNative.Media.Inputs.CencDrmConfigurationArgs
            {
                PlayReady = new AzureNative.Media.Inputs.StreamingPolicyPlayReadyConfigurationArgs
                {
                    CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                    PlayReadyCustomAttributes = "PlayReady CustomAttributes",
                },
                Widevine = new AzureNative.Media.Inputs.StreamingPolicyWidevineConfigurationArgs
                {
                    CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
                },
            },
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = true,
                Download = false,
                Hls = false,
                SmoothStreaming = true,
            },
        },
        DefaultContentKeyPolicyName = "PolicyWithPlayReadyOptionAndOpenRestriction",
        ResourceGroupName = "contosorg",
        StreamingPolicyName = "UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly",
    });
});
package main
import (
	media "github.com/pulumi/pulumi-azure-native-sdk/media/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewStreamingPolicy(ctx, "streamingPolicy", &media.StreamingPolicyArgs{
			AccountName: pulumi.String("contosomedia"),
			CommonEncryptionCenc: &media.CommonEncryptionCencArgs{
				ClearTracks: media.TrackSelectionArray{
					&media.TrackSelectionArgs{
						TrackSelections: media.TrackPropertyConditionArray{
							&media.TrackPropertyConditionArgs{
								Operation: pulumi.String(media.TrackPropertyCompareOperationEqual),
								Property:  pulumi.String(media.TrackPropertyTypeFourCC),
								Value:     pulumi.String("hev1"),
							},
						},
					},
				},
				ContentKeys: &media.StreamingPolicyContentKeysArgs{
					DefaultKey: &media.DefaultKeyArgs{
						Label: pulumi.String("cencDefaultKey"),
					},
				},
				Drm: &media.CencDrmConfigurationArgs{
					PlayReady: &media.StreamingPolicyPlayReadyConfigurationArgs{
						CustomLicenseAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}"),
						PlayReadyCustomAttributes:           pulumi.String("PlayReady CustomAttributes"),
					},
					Widevine: &media.StreamingPolicyWidevineConfigurationArgs{
						CustomLicenseAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"),
					},
				},
				EnabledProtocols: &media.EnabledProtocolsArgs{
					Dash:            pulumi.Bool(true),
					Download:        pulumi.Bool(false),
					Hls:             pulumi.Bool(false),
					SmoothStreaming: pulumi.Bool(true),
				},
			},
			DefaultContentKeyPolicyName: pulumi.String("PolicyWithPlayReadyOptionAndOpenRestriction"),
			ResourceGroupName:           pulumi.String("contosorg"),
			StreamingPolicyName:         pulumi.String("UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingPolicy;
import com.pulumi.azurenative.media.StreamingPolicyArgs;
import com.pulumi.azurenative.media.inputs.CommonEncryptionCencArgs;
import com.pulumi.azurenative.media.inputs.StreamingPolicyContentKeysArgs;
import com.pulumi.azurenative.media.inputs.DefaultKeyArgs;
import com.pulumi.azurenative.media.inputs.CencDrmConfigurationArgs;
import com.pulumi.azurenative.media.inputs.StreamingPolicyPlayReadyConfigurationArgs;
import com.pulumi.azurenative.media.inputs.StreamingPolicyWidevineConfigurationArgs;
import com.pulumi.azurenative.media.inputs.EnabledProtocolsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()
            .accountName("contosomedia")
            .commonEncryptionCenc(CommonEncryptionCencArgs.builder()
                .clearTracks(TrackSelectionArgs.builder()
                    .trackSelections(TrackPropertyConditionArgs.builder()
                        .operation("Equal")
                        .property("FourCC")
                        .value("hev1")
                        .build())
                    .build())
                .contentKeys(StreamingPolicyContentKeysArgs.builder()
                    .defaultKey(DefaultKeyArgs.builder()
                        .label("cencDefaultKey")
                        .build())
                    .build())
                .drm(CencDrmConfigurationArgs.builder()
                    .playReady(StreamingPolicyPlayReadyConfigurationArgs.builder()
                        .customLicenseAcquisitionUrlTemplate("https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}")
                        .playReadyCustomAttributes("PlayReady CustomAttributes")
                        .build())
                    .widevine(StreamingPolicyWidevineConfigurationArgs.builder()
                        .customLicenseAcquisitionUrlTemplate("https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId")
                        .build())
                    .build())
                .enabledProtocols(EnabledProtocolsArgs.builder()
                    .dash(true)
                    .download(false)
                    .hls(false)
                    .smoothStreaming(true)
                    .build())
                .build())
            .defaultContentKeyPolicyName("PolicyWithPlayReadyOptionAndOpenRestriction")
            .resourceGroupName("contosorg")
            .streamingPolicyName("UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
    accountName: "contosomedia",
    commonEncryptionCenc: {
        clearTracks: [{
            trackSelections: [{
                operation: azure_native.media.TrackPropertyCompareOperation.Equal,
                property: azure_native.media.TrackPropertyType.FourCC,
                value: "hev1",
            }],
        }],
        contentKeys: {
            defaultKey: {
                label: "cencDefaultKey",
            },
        },
        drm: {
            playReady: {
                customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                playReadyCustomAttributes: "PlayReady CustomAttributes",
            },
            widevine: {
                customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
            },
        },
        enabledProtocols: {
            dash: true,
            download: false,
            hls: false,
            smoothStreaming: true,
        },
    },
    defaultContentKeyPolicyName: "PolicyWithPlayReadyOptionAndOpenRestriction",
    resourceGroupName: "contosorg",
    streamingPolicyName: "UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly",
});
import pulumi
import pulumi_azure_native as azure_native
streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
    account_name="contosomedia",
    common_encryption_cenc={
        "clear_tracks": [{
            "track_selections": [{
                "operation": azure_native.media.TrackPropertyCompareOperation.EQUAL,
                "property": azure_native.media.TrackPropertyType.FOUR_CC,
                "value": "hev1",
            }],
        }],
        "content_keys": {
            "default_key": {
                "label": "cencDefaultKey",
            },
        },
        "drm": {
            "play_ready": {
                "custom_license_acquisition_url_template": "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                "play_ready_custom_attributes": "PlayReady CustomAttributes",
            },
            "widevine": {
                "custom_license_acquisition_url_template": "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
            },
        },
        "enabled_protocols": {
            "dash": True,
            "download": False,
            "hls": False,
            "smooth_streaming": True,
        },
    },
    default_content_key_policy_name="PolicyWithPlayReadyOptionAndOpenRestriction",
    resource_group_name="contosorg",
    streaming_policy_name="UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly")
resources:
  streamingPolicy:
    type: azure-native:media:StreamingPolicy
    properties:
      accountName: contosomedia
      commonEncryptionCenc:
        clearTracks:
          - trackSelections:
              - operation: Equal
                property: FourCC
                value: hev1
        contentKeys:
          defaultKey:
            label: cencDefaultKey
        drm:
          playReady:
            customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}
            playReadyCustomAttributes: PlayReady CustomAttributes
          widevine:
            customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId
        enabledProtocols:
          dash: true
          download: false
          hls: false
          smoothStreaming: true
      defaultContentKeyPolicyName: PolicyWithPlayReadyOptionAndOpenRestriction
      resourceGroupName: contosorg
      streamingPolicyName: UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly
Creates a Streaming Policy with envelopeEncryption only
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
    {
        AccountName = "contosomedia",
        DefaultContentKeyPolicyName = "PolicyWithClearKeyOptionAndTokenRestriction",
        EnvelopeEncryption = new AzureNative.Media.Inputs.EnvelopeEncryptionArgs
        {
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "aesDefaultKey",
                },
            },
            CustomKeyAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = true,
                Download = false,
                Hls = true,
                SmoothStreaming = true,
            },
        },
        ResourceGroupName = "contosorg",
        StreamingPolicyName = "UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly",
    });
});
package main
import (
	media "github.com/pulumi/pulumi-azure-native-sdk/media/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewStreamingPolicy(ctx, "streamingPolicy", &media.StreamingPolicyArgs{
			AccountName:                 pulumi.String("contosomedia"),
			DefaultContentKeyPolicyName: pulumi.String("PolicyWithClearKeyOptionAndTokenRestriction"),
			EnvelopeEncryption: &media.EnvelopeEncryptionArgs{
				ContentKeys: &media.StreamingPolicyContentKeysArgs{
					DefaultKey: &media.DefaultKeyArgs{
						Label: pulumi.String("aesDefaultKey"),
					},
				},
				CustomKeyAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}"),
				EnabledProtocols: &media.EnabledProtocolsArgs{
					Dash:            pulumi.Bool(true),
					Download:        pulumi.Bool(false),
					Hls:             pulumi.Bool(true),
					SmoothStreaming: pulumi.Bool(true),
				},
			},
			ResourceGroupName:   pulumi.String("contosorg"),
			StreamingPolicyName: pulumi.String("UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingPolicy;
import com.pulumi.azurenative.media.StreamingPolicyArgs;
import com.pulumi.azurenative.media.inputs.EnvelopeEncryptionArgs;
import com.pulumi.azurenative.media.inputs.StreamingPolicyContentKeysArgs;
import com.pulumi.azurenative.media.inputs.DefaultKeyArgs;
import com.pulumi.azurenative.media.inputs.EnabledProtocolsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()
            .accountName("contosomedia")
            .defaultContentKeyPolicyName("PolicyWithClearKeyOptionAndTokenRestriction")
            .envelopeEncryption(EnvelopeEncryptionArgs.builder()
                .contentKeys(StreamingPolicyContentKeysArgs.builder()
                    .defaultKey(DefaultKeyArgs.builder()
                        .label("aesDefaultKey")
                        .build())
                    .build())
                .customKeyAcquisitionUrlTemplate("https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}")
                .enabledProtocols(EnabledProtocolsArgs.builder()
                    .dash(true)
                    .download(false)
                    .hls(true)
                    .smoothStreaming(true)
                    .build())
                .build())
            .resourceGroupName("contosorg")
            .streamingPolicyName("UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
    accountName: "contosomedia",
    defaultContentKeyPolicyName: "PolicyWithClearKeyOptionAndTokenRestriction",
    envelopeEncryption: {
        contentKeys: {
            defaultKey: {
                label: "aesDefaultKey",
            },
        },
        customKeyAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
        enabledProtocols: {
            dash: true,
            download: false,
            hls: true,
            smoothStreaming: true,
        },
    },
    resourceGroupName: "contosorg",
    streamingPolicyName: "UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly",
});
import pulumi
import pulumi_azure_native as azure_native
streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
    account_name="contosomedia",
    default_content_key_policy_name="PolicyWithClearKeyOptionAndTokenRestriction",
    envelope_encryption={
        "content_keys": {
            "default_key": {
                "label": "aesDefaultKey",
            },
        },
        "custom_key_acquisition_url_template": "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
        "enabled_protocols": {
            "dash": True,
            "download": False,
            "hls": True,
            "smooth_streaming": True,
        },
    },
    resource_group_name="contosorg",
    streaming_policy_name="UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly")
resources:
  streamingPolicy:
    type: azure-native:media:StreamingPolicy
    properties:
      accountName: contosomedia
      defaultContentKeyPolicyName: PolicyWithClearKeyOptionAndTokenRestriction
      envelopeEncryption:
        contentKeys:
          defaultKey:
            label: aesDefaultKey
        customKeyAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}
        enabledProtocols:
          dash: true
          download: false
          hls: true
          smoothStreaming: true
      resourceGroupName: contosorg
      streamingPolicyName: UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly
Creates a Streaming Policy with secure streaming
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
    {
        AccountName = "contosomedia",
        CommonEncryptionCbcs = new AzureNative.Media.Inputs.CommonEncryptionCbcsArgs
        {
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "cbcsDefaultKey",
                },
            },
            Drm = new AzureNative.Media.Inputs.CbcsDrmConfigurationArgs
            {
                FairPlay = new AzureNative.Media.Inputs.StreamingPolicyFairPlayConfigurationArgs
                {
                    AllowPersistentLicense = true,
                    CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
                },
            },
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = false,
                Download = false,
                Hls = true,
                SmoothStreaming = false,
            },
        },
        CommonEncryptionCenc = new AzureNative.Media.Inputs.CommonEncryptionCencArgs
        {
            ClearTracks = new[]
            {
                new AzureNative.Media.Inputs.TrackSelectionArgs
                {
                    TrackSelections = new[]
                    {
                        new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                        {
                            Operation = AzureNative.Media.TrackPropertyCompareOperation.Equal,
                            Property = AzureNative.Media.TrackPropertyType.FourCC,
                            Value = "hev1",
                        },
                    },
                },
            },
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "cencDefaultKey",
                },
            },
            Drm = new AzureNative.Media.Inputs.CencDrmConfigurationArgs
            {
                PlayReady = new AzureNative.Media.Inputs.StreamingPolicyPlayReadyConfigurationArgs
                {
                    CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                    PlayReadyCustomAttributes = "PlayReady CustomAttributes",
                },
                Widevine = new AzureNative.Media.Inputs.StreamingPolicyWidevineConfigurationArgs
                {
                    CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
                },
            },
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = true,
                Download = false,
                Hls = false,
                SmoothStreaming = true,
            },
        },
        DefaultContentKeyPolicyName = "PolicyWithMultipleOptions",
        EnvelopeEncryption = new AzureNative.Media.Inputs.EnvelopeEncryptionArgs
        {
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "aesDefaultKey",
                },
            },
            CustomKeyAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = true,
                Download = false,
                Hls = true,
                SmoothStreaming = true,
            },
        },
        ResourceGroupName = "contosorg",
        StreamingPolicyName = "UserCreatedSecureStreamingPolicy",
    });
});
package main
import (
	media "github.com/pulumi/pulumi-azure-native-sdk/media/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewStreamingPolicy(ctx, "streamingPolicy", &media.StreamingPolicyArgs{
			AccountName: pulumi.String("contosomedia"),
			CommonEncryptionCbcs: &media.CommonEncryptionCbcsArgs{
				ContentKeys: &media.StreamingPolicyContentKeysArgs{
					DefaultKey: &media.DefaultKeyArgs{
						Label: pulumi.String("cbcsDefaultKey"),
					},
				},
				Drm: &media.CbcsDrmConfigurationArgs{
					FairPlay: &media.StreamingPolicyFairPlayConfigurationArgs{
						AllowPersistentLicense:              pulumi.Bool(true),
						CustomLicenseAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}"),
					},
				},
				EnabledProtocols: &media.EnabledProtocolsArgs{
					Dash:            pulumi.Bool(false),
					Download:        pulumi.Bool(false),
					Hls:             pulumi.Bool(true),
					SmoothStreaming: pulumi.Bool(false),
				},
			},
			CommonEncryptionCenc: &media.CommonEncryptionCencArgs{
				ClearTracks: media.TrackSelectionArray{
					&media.TrackSelectionArgs{
						TrackSelections: media.TrackPropertyConditionArray{
							&media.TrackPropertyConditionArgs{
								Operation: pulumi.String(media.TrackPropertyCompareOperationEqual),
								Property:  pulumi.String(media.TrackPropertyTypeFourCC),
								Value:     pulumi.String("hev1"),
							},
						},
					},
				},
				ContentKeys: &media.StreamingPolicyContentKeysArgs{
					DefaultKey: &media.DefaultKeyArgs{
						Label: pulumi.String("cencDefaultKey"),
					},
				},
				Drm: &media.CencDrmConfigurationArgs{
					PlayReady: &media.StreamingPolicyPlayReadyConfigurationArgs{
						CustomLicenseAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}"),
						PlayReadyCustomAttributes:           pulumi.String("PlayReady CustomAttributes"),
					},
					Widevine: &media.StreamingPolicyWidevineConfigurationArgs{
						CustomLicenseAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"),
					},
				},
				EnabledProtocols: &media.EnabledProtocolsArgs{
					Dash:            pulumi.Bool(true),
					Download:        pulumi.Bool(false),
					Hls:             pulumi.Bool(false),
					SmoothStreaming: pulumi.Bool(true),
				},
			},
			DefaultContentKeyPolicyName: pulumi.String("PolicyWithMultipleOptions"),
			EnvelopeEncryption: &media.EnvelopeEncryptionArgs{
				ContentKeys: &media.StreamingPolicyContentKeysArgs{
					DefaultKey: &media.DefaultKeyArgs{
						Label: pulumi.String("aesDefaultKey"),
					},
				},
				CustomKeyAcquisitionUrlTemplate: pulumi.String("https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}"),
				EnabledProtocols: &media.EnabledProtocolsArgs{
					Dash:            pulumi.Bool(true),
					Download:        pulumi.Bool(false),
					Hls:             pulumi.Bool(true),
					SmoothStreaming: pulumi.Bool(true),
				},
			},
			ResourceGroupName:   pulumi.String("contosorg"),
			StreamingPolicyName: pulumi.String("UserCreatedSecureStreamingPolicy"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingPolicy;
import com.pulumi.azurenative.media.StreamingPolicyArgs;
import com.pulumi.azurenative.media.inputs.CommonEncryptionCbcsArgs;
import com.pulumi.azurenative.media.inputs.StreamingPolicyContentKeysArgs;
import com.pulumi.azurenative.media.inputs.DefaultKeyArgs;
import com.pulumi.azurenative.media.inputs.CbcsDrmConfigurationArgs;
import com.pulumi.azurenative.media.inputs.StreamingPolicyFairPlayConfigurationArgs;
import com.pulumi.azurenative.media.inputs.EnabledProtocolsArgs;
import com.pulumi.azurenative.media.inputs.CommonEncryptionCencArgs;
import com.pulumi.azurenative.media.inputs.CencDrmConfigurationArgs;
import com.pulumi.azurenative.media.inputs.StreamingPolicyPlayReadyConfigurationArgs;
import com.pulumi.azurenative.media.inputs.StreamingPolicyWidevineConfigurationArgs;
import com.pulumi.azurenative.media.inputs.EnvelopeEncryptionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()
            .accountName("contosomedia")
            .commonEncryptionCbcs(CommonEncryptionCbcsArgs.builder()
                .contentKeys(StreamingPolicyContentKeysArgs.builder()
                    .defaultKey(DefaultKeyArgs.builder()
                        .label("cbcsDefaultKey")
                        .build())
                    .build())
                .drm(CbcsDrmConfigurationArgs.builder()
                    .fairPlay(StreamingPolicyFairPlayConfigurationArgs.builder()
                        .allowPersistentLicense(true)
                        .customLicenseAcquisitionUrlTemplate("https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}")
                        .build())
                    .build())
                .enabledProtocols(EnabledProtocolsArgs.builder()
                    .dash(false)
                    .download(false)
                    .hls(true)
                    .smoothStreaming(false)
                    .build())
                .build())
            .commonEncryptionCenc(CommonEncryptionCencArgs.builder()
                .clearTracks(TrackSelectionArgs.builder()
                    .trackSelections(TrackPropertyConditionArgs.builder()
                        .operation("Equal")
                        .property("FourCC")
                        .value("hev1")
                        .build())
                    .build())
                .contentKeys(StreamingPolicyContentKeysArgs.builder()
                    .defaultKey(DefaultKeyArgs.builder()
                        .label("cencDefaultKey")
                        .build())
                    .build())
                .drm(CencDrmConfigurationArgs.builder()
                    .playReady(StreamingPolicyPlayReadyConfigurationArgs.builder()
                        .customLicenseAcquisitionUrlTemplate("https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}")
                        .playReadyCustomAttributes("PlayReady CustomAttributes")
                        .build())
                    .widevine(StreamingPolicyWidevineConfigurationArgs.builder()
                        .customLicenseAcquisitionUrlTemplate("https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId")
                        .build())
                    .build())
                .enabledProtocols(EnabledProtocolsArgs.builder()
                    .dash(true)
                    .download(false)
                    .hls(false)
                    .smoothStreaming(true)
                    .build())
                .build())
            .defaultContentKeyPolicyName("PolicyWithMultipleOptions")
            .envelopeEncryption(EnvelopeEncryptionArgs.builder()
                .contentKeys(StreamingPolicyContentKeysArgs.builder()
                    .defaultKey(DefaultKeyArgs.builder()
                        .label("aesDefaultKey")
                        .build())
                    .build())
                .customKeyAcquisitionUrlTemplate("https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}")
                .enabledProtocols(EnabledProtocolsArgs.builder()
                    .dash(true)
                    .download(false)
                    .hls(true)
                    .smoothStreaming(true)
                    .build())
                .build())
            .resourceGroupName("contosorg")
            .streamingPolicyName("UserCreatedSecureStreamingPolicy")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
    accountName: "contosomedia",
    commonEncryptionCbcs: {
        contentKeys: {
            defaultKey: {
                label: "cbcsDefaultKey",
            },
        },
        drm: {
            fairPlay: {
                allowPersistentLicense: true,
                customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
            },
        },
        enabledProtocols: {
            dash: false,
            download: false,
            hls: true,
            smoothStreaming: false,
        },
    },
    commonEncryptionCenc: {
        clearTracks: [{
            trackSelections: [{
                operation: azure_native.media.TrackPropertyCompareOperation.Equal,
                property: azure_native.media.TrackPropertyType.FourCC,
                value: "hev1",
            }],
        }],
        contentKeys: {
            defaultKey: {
                label: "cencDefaultKey",
            },
        },
        drm: {
            playReady: {
                customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                playReadyCustomAttributes: "PlayReady CustomAttributes",
            },
            widevine: {
                customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
            },
        },
        enabledProtocols: {
            dash: true,
            download: false,
            hls: false,
            smoothStreaming: true,
        },
    },
    defaultContentKeyPolicyName: "PolicyWithMultipleOptions",
    envelopeEncryption: {
        contentKeys: {
            defaultKey: {
                label: "aesDefaultKey",
            },
        },
        customKeyAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
        enabledProtocols: {
            dash: true,
            download: false,
            hls: true,
            smoothStreaming: true,
        },
    },
    resourceGroupName: "contosorg",
    streamingPolicyName: "UserCreatedSecureStreamingPolicy",
});
import pulumi
import pulumi_azure_native as azure_native
streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
    account_name="contosomedia",
    common_encryption_cbcs={
        "content_keys": {
            "default_key": {
                "label": "cbcsDefaultKey",
            },
        },
        "drm": {
            "fair_play": {
                "allow_persistent_license": True,
                "custom_license_acquisition_url_template": "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
            },
        },
        "enabled_protocols": {
            "dash": False,
            "download": False,
            "hls": True,
            "smooth_streaming": False,
        },
    },
    common_encryption_cenc={
        "clear_tracks": [{
            "track_selections": [{
                "operation": azure_native.media.TrackPropertyCompareOperation.EQUAL,
                "property": azure_native.media.TrackPropertyType.FOUR_CC,
                "value": "hev1",
            }],
        }],
        "content_keys": {
            "default_key": {
                "label": "cencDefaultKey",
            },
        },
        "drm": {
            "play_ready": {
                "custom_license_acquisition_url_template": "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                "play_ready_custom_attributes": "PlayReady CustomAttributes",
            },
            "widevine": {
                "custom_license_acquisition_url_template": "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
            },
        },
        "enabled_protocols": {
            "dash": True,
            "download": False,
            "hls": False,
            "smooth_streaming": True,
        },
    },
    default_content_key_policy_name="PolicyWithMultipleOptions",
    envelope_encryption={
        "content_keys": {
            "default_key": {
                "label": "aesDefaultKey",
            },
        },
        "custom_key_acquisition_url_template": "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
        "enabled_protocols": {
            "dash": True,
            "download": False,
            "hls": True,
            "smooth_streaming": True,
        },
    },
    resource_group_name="contosorg",
    streaming_policy_name="UserCreatedSecureStreamingPolicy")
resources:
  streamingPolicy:
    type: azure-native:media:StreamingPolicy
    properties:
      accountName: contosomedia
      commonEncryptionCbcs:
        contentKeys:
          defaultKey:
            label: cbcsDefaultKey
        drm:
          fairPlay:
            allowPersistentLicense: true
            customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}
        enabledProtocols:
          dash: false
          download: false
          hls: true
          smoothStreaming: false
      commonEncryptionCenc:
        clearTracks:
          - trackSelections:
              - operation: Equal
                property: FourCC
                value: hev1
        contentKeys:
          defaultKey:
            label: cencDefaultKey
        drm:
          playReady:
            customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}
            playReadyCustomAttributes: PlayReady CustomAttributes
          widevine:
            customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId
        enabledProtocols:
          dash: true
          download: false
          hls: false
          smoothStreaming: true
      defaultContentKeyPolicyName: PolicyWithMultipleOptions
      envelopeEncryption:
        contentKeys:
          defaultKey:
            label: aesDefaultKey
        customKeyAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}
        enabledProtocols:
          dash: true
          download: false
          hls: true
          smoothStreaming: true
      resourceGroupName: contosorg
      streamingPolicyName: UserCreatedSecureStreamingPolicy
Create StreamingPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StreamingPolicy(name: string, args: StreamingPolicyArgs, opts?: CustomResourceOptions);@overload
def StreamingPolicy(resource_name: str,
                    args: StreamingPolicyArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def StreamingPolicy(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    account_name: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    common_encryption_cbcs: Optional[CommonEncryptionCbcsArgs] = None,
                    common_encryption_cenc: Optional[CommonEncryptionCencArgs] = None,
                    default_content_key_policy_name: Optional[str] = None,
                    envelope_encryption: Optional[EnvelopeEncryptionArgs] = None,
                    no_encryption: Optional[NoEncryptionArgs] = None,
                    streaming_policy_name: Optional[str] = None)func NewStreamingPolicy(ctx *Context, name string, args StreamingPolicyArgs, opts ...ResourceOption) (*StreamingPolicy, error)public StreamingPolicy(string name, StreamingPolicyArgs args, CustomResourceOptions? opts = null)
public StreamingPolicy(String name, StreamingPolicyArgs args)
public StreamingPolicy(String name, StreamingPolicyArgs args, CustomResourceOptions options)
type: azure-native:media:StreamingPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args StreamingPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args StreamingPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args StreamingPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StreamingPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StreamingPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var streamingPolicyResource = new AzureNative.Media.StreamingPolicy("streamingPolicyResource", new()
{
    AccountName = "string",
    ResourceGroupName = "string",
    CommonEncryptionCbcs = new AzureNative.Media.Inputs.CommonEncryptionCbcsArgs
    {
        ClearKeyEncryptionConfiguration = new AzureNative.Media.Inputs.ClearKeyEncryptionConfigurationArgs
        {
            CustomKeysAcquisitionUrlTemplate = "string",
        },
        ClearTracks = new[]
        {
            new AzureNative.Media.Inputs.TrackSelectionArgs
            {
                TrackSelections = new[]
                {
                    new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                    {
                        Operation = "string",
                        Property = "string",
                        Value = "string",
                    },
                },
            },
        },
        ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
        {
            DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
            {
                Label = "string",
                PolicyName = "string",
            },
            KeyToTrackMappings = new[]
            {
                new AzureNative.Media.Inputs.StreamingPolicyContentKeyArgs
                {
                    Label = "string",
                    PolicyName = "string",
                    Tracks = new[]
                    {
                        new AzureNative.Media.Inputs.TrackSelectionArgs
                        {
                            TrackSelections = new[]
                            {
                                new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                                {
                                    Operation = "string",
                                    Property = "string",
                                    Value = "string",
                                },
                            },
                        },
                    },
                },
            },
        },
        Drm = new AzureNative.Media.Inputs.CbcsDrmConfigurationArgs
        {
            FairPlay = new AzureNative.Media.Inputs.StreamingPolicyFairPlayConfigurationArgs
            {
                AllowPersistentLicense = false,
                CustomLicenseAcquisitionUrlTemplate = "string",
            },
            PlayReady = new AzureNative.Media.Inputs.StreamingPolicyPlayReadyConfigurationArgs
            {
                CustomLicenseAcquisitionUrlTemplate = "string",
                PlayReadyCustomAttributes = "string",
            },
            Widevine = new AzureNative.Media.Inputs.StreamingPolicyWidevineConfigurationArgs
            {
                CustomLicenseAcquisitionUrlTemplate = "string",
            },
        },
        EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
        {
            Dash = false,
            Download = false,
            Hls = false,
            SmoothStreaming = false,
        },
    },
    CommonEncryptionCenc = new AzureNative.Media.Inputs.CommonEncryptionCencArgs
    {
        ClearKeyEncryptionConfiguration = new AzureNative.Media.Inputs.ClearKeyEncryptionConfigurationArgs
        {
            CustomKeysAcquisitionUrlTemplate = "string",
        },
        ClearTracks = new[]
        {
            new AzureNative.Media.Inputs.TrackSelectionArgs
            {
                TrackSelections = new[]
                {
                    new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                    {
                        Operation = "string",
                        Property = "string",
                        Value = "string",
                    },
                },
            },
        },
        ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
        {
            DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
            {
                Label = "string",
                PolicyName = "string",
            },
            KeyToTrackMappings = new[]
            {
                new AzureNative.Media.Inputs.StreamingPolicyContentKeyArgs
                {
                    Label = "string",
                    PolicyName = "string",
                    Tracks = new[]
                    {
                        new AzureNative.Media.Inputs.TrackSelectionArgs
                        {
                            TrackSelections = new[]
                            {
                                new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                                {
                                    Operation = "string",
                                    Property = "string",
                                    Value = "string",
                                },
                            },
                        },
                    },
                },
            },
        },
        Drm = new AzureNative.Media.Inputs.CencDrmConfigurationArgs
        {
            PlayReady = new AzureNative.Media.Inputs.StreamingPolicyPlayReadyConfigurationArgs
            {
                CustomLicenseAcquisitionUrlTemplate = "string",
                PlayReadyCustomAttributes = "string",
            },
            Widevine = new AzureNative.Media.Inputs.StreamingPolicyWidevineConfigurationArgs
            {
                CustomLicenseAcquisitionUrlTemplate = "string",
            },
        },
        EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
        {
            Dash = false,
            Download = false,
            Hls = false,
            SmoothStreaming = false,
        },
    },
    DefaultContentKeyPolicyName = "string",
    EnvelopeEncryption = new AzureNative.Media.Inputs.EnvelopeEncryptionArgs
    {
        ClearTracks = new[]
        {
            new AzureNative.Media.Inputs.TrackSelectionArgs
            {
                TrackSelections = new[]
                {
                    new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                    {
                        Operation = "string",
                        Property = "string",
                        Value = "string",
                    },
                },
            },
        },
        ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
        {
            DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
            {
                Label = "string",
                PolicyName = "string",
            },
            KeyToTrackMappings = new[]
            {
                new AzureNative.Media.Inputs.StreamingPolicyContentKeyArgs
                {
                    Label = "string",
                    PolicyName = "string",
                    Tracks = new[]
                    {
                        new AzureNative.Media.Inputs.TrackSelectionArgs
                        {
                            TrackSelections = new[]
                            {
                                new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                                {
                                    Operation = "string",
                                    Property = "string",
                                    Value = "string",
                                },
                            },
                        },
                    },
                },
            },
        },
        CustomKeyAcquisitionUrlTemplate = "string",
        EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
        {
            Dash = false,
            Download = false,
            Hls = false,
            SmoothStreaming = false,
        },
    },
    NoEncryption = new AzureNative.Media.Inputs.NoEncryptionArgs
    {
        EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
        {
            Dash = false,
            Download = false,
            Hls = false,
            SmoothStreaming = false,
        },
    },
    StreamingPolicyName = "string",
});
example, err := media.NewStreamingPolicy(ctx, "streamingPolicyResource", &media.StreamingPolicyArgs{
	AccountName:       pulumi.String("string"),
	ResourceGroupName: pulumi.String("string"),
	CommonEncryptionCbcs: &media.CommonEncryptionCbcsArgs{
		ClearKeyEncryptionConfiguration: &media.ClearKeyEncryptionConfigurationArgs{
			CustomKeysAcquisitionUrlTemplate: pulumi.String("string"),
		},
		ClearTracks: media.TrackSelectionArray{
			&media.TrackSelectionArgs{
				TrackSelections: media.TrackPropertyConditionArray{
					&media.TrackPropertyConditionArgs{
						Operation: pulumi.String("string"),
						Property:  pulumi.String("string"),
						Value:     pulumi.String("string"),
					},
				},
			},
		},
		ContentKeys: &media.StreamingPolicyContentKeysArgs{
			DefaultKey: &media.DefaultKeyArgs{
				Label:      pulumi.String("string"),
				PolicyName: pulumi.String("string"),
			},
			KeyToTrackMappings: media.StreamingPolicyContentKeyArray{
				&media.StreamingPolicyContentKeyArgs{
					Label:      pulumi.String("string"),
					PolicyName: pulumi.String("string"),
					Tracks: media.TrackSelectionArray{
						&media.TrackSelectionArgs{
							TrackSelections: media.TrackPropertyConditionArray{
								&media.TrackPropertyConditionArgs{
									Operation: pulumi.String("string"),
									Property:  pulumi.String("string"),
									Value:     pulumi.String("string"),
								},
							},
						},
					},
				},
			},
		},
		Drm: &media.CbcsDrmConfigurationArgs{
			FairPlay: &media.StreamingPolicyFairPlayConfigurationArgs{
				AllowPersistentLicense:              pulumi.Bool(false),
				CustomLicenseAcquisitionUrlTemplate: pulumi.String("string"),
			},
			PlayReady: &media.StreamingPolicyPlayReadyConfigurationArgs{
				CustomLicenseAcquisitionUrlTemplate: pulumi.String("string"),
				PlayReadyCustomAttributes:           pulumi.String("string"),
			},
			Widevine: &media.StreamingPolicyWidevineConfigurationArgs{
				CustomLicenseAcquisitionUrlTemplate: pulumi.String("string"),
			},
		},
		EnabledProtocols: &media.EnabledProtocolsArgs{
			Dash:            pulumi.Bool(false),
			Download:        pulumi.Bool(false),
			Hls:             pulumi.Bool(false),
			SmoothStreaming: pulumi.Bool(false),
		},
	},
	CommonEncryptionCenc: &media.CommonEncryptionCencArgs{
		ClearKeyEncryptionConfiguration: &media.ClearKeyEncryptionConfigurationArgs{
			CustomKeysAcquisitionUrlTemplate: pulumi.String("string"),
		},
		ClearTracks: media.TrackSelectionArray{
			&media.TrackSelectionArgs{
				TrackSelections: media.TrackPropertyConditionArray{
					&media.TrackPropertyConditionArgs{
						Operation: pulumi.String("string"),
						Property:  pulumi.String("string"),
						Value:     pulumi.String("string"),
					},
				},
			},
		},
		ContentKeys: &media.StreamingPolicyContentKeysArgs{
			DefaultKey: &media.DefaultKeyArgs{
				Label:      pulumi.String("string"),
				PolicyName: pulumi.String("string"),
			},
			KeyToTrackMappings: media.StreamingPolicyContentKeyArray{
				&media.StreamingPolicyContentKeyArgs{
					Label:      pulumi.String("string"),
					PolicyName: pulumi.String("string"),
					Tracks: media.TrackSelectionArray{
						&media.TrackSelectionArgs{
							TrackSelections: media.TrackPropertyConditionArray{
								&media.TrackPropertyConditionArgs{
									Operation: pulumi.String("string"),
									Property:  pulumi.String("string"),
									Value:     pulumi.String("string"),
								},
							},
						},
					},
				},
			},
		},
		Drm: &media.CencDrmConfigurationArgs{
			PlayReady: &media.StreamingPolicyPlayReadyConfigurationArgs{
				CustomLicenseAcquisitionUrlTemplate: pulumi.String("string"),
				PlayReadyCustomAttributes:           pulumi.String("string"),
			},
			Widevine: &media.StreamingPolicyWidevineConfigurationArgs{
				CustomLicenseAcquisitionUrlTemplate: pulumi.String("string"),
			},
		},
		EnabledProtocols: &media.EnabledProtocolsArgs{
			Dash:            pulumi.Bool(false),
			Download:        pulumi.Bool(false),
			Hls:             pulumi.Bool(false),
			SmoothStreaming: pulumi.Bool(false),
		},
	},
	DefaultContentKeyPolicyName: pulumi.String("string"),
	EnvelopeEncryption: &media.EnvelopeEncryptionArgs{
		ClearTracks: media.TrackSelectionArray{
			&media.TrackSelectionArgs{
				TrackSelections: media.TrackPropertyConditionArray{
					&media.TrackPropertyConditionArgs{
						Operation: pulumi.String("string"),
						Property:  pulumi.String("string"),
						Value:     pulumi.String("string"),
					},
				},
			},
		},
		ContentKeys: &media.StreamingPolicyContentKeysArgs{
			DefaultKey: &media.DefaultKeyArgs{
				Label:      pulumi.String("string"),
				PolicyName: pulumi.String("string"),
			},
			KeyToTrackMappings: media.StreamingPolicyContentKeyArray{
				&media.StreamingPolicyContentKeyArgs{
					Label:      pulumi.String("string"),
					PolicyName: pulumi.String("string"),
					Tracks: media.TrackSelectionArray{
						&media.TrackSelectionArgs{
							TrackSelections: media.TrackPropertyConditionArray{
								&media.TrackPropertyConditionArgs{
									Operation: pulumi.String("string"),
									Property:  pulumi.String("string"),
									Value:     pulumi.String("string"),
								},
							},
						},
					},
				},
			},
		},
		CustomKeyAcquisitionUrlTemplate: pulumi.String("string"),
		EnabledProtocols: &media.EnabledProtocolsArgs{
			Dash:            pulumi.Bool(false),
			Download:        pulumi.Bool(false),
			Hls:             pulumi.Bool(false),
			SmoothStreaming: pulumi.Bool(false),
		},
	},
	NoEncryption: &media.NoEncryptionArgs{
		EnabledProtocols: &media.EnabledProtocolsArgs{
			Dash:            pulumi.Bool(false),
			Download:        pulumi.Bool(false),
			Hls:             pulumi.Bool(false),
			SmoothStreaming: pulumi.Bool(false),
		},
	},
	StreamingPolicyName: pulumi.String("string"),
})
var streamingPolicyResource = new StreamingPolicy("streamingPolicyResource", StreamingPolicyArgs.builder()
    .accountName("string")
    .resourceGroupName("string")
    .commonEncryptionCbcs(CommonEncryptionCbcsArgs.builder()
        .clearKeyEncryptionConfiguration(ClearKeyEncryptionConfigurationArgs.builder()
            .customKeysAcquisitionUrlTemplate("string")
            .build())
        .clearTracks(TrackSelectionArgs.builder()
            .trackSelections(TrackPropertyConditionArgs.builder()
                .operation("string")
                .property("string")
                .value("string")
                .build())
            .build())
        .contentKeys(StreamingPolicyContentKeysArgs.builder()
            .defaultKey(DefaultKeyArgs.builder()
                .label("string")
                .policyName("string")
                .build())
            .keyToTrackMappings(StreamingPolicyContentKeyArgs.builder()
                .label("string")
                .policyName("string")
                .tracks(TrackSelectionArgs.builder()
                    .trackSelections(TrackPropertyConditionArgs.builder()
                        .operation("string")
                        .property("string")
                        .value("string")
                        .build())
                    .build())
                .build())
            .build())
        .drm(CbcsDrmConfigurationArgs.builder()
            .fairPlay(StreamingPolicyFairPlayConfigurationArgs.builder()
                .allowPersistentLicense(false)
                .customLicenseAcquisitionUrlTemplate("string")
                .build())
            .playReady(StreamingPolicyPlayReadyConfigurationArgs.builder()
                .customLicenseAcquisitionUrlTemplate("string")
                .playReadyCustomAttributes("string")
                .build())
            .widevine(StreamingPolicyWidevineConfigurationArgs.builder()
                .customLicenseAcquisitionUrlTemplate("string")
                .build())
            .build())
        .enabledProtocols(EnabledProtocolsArgs.builder()
            .dash(false)
            .download(false)
            .hls(false)
            .smoothStreaming(false)
            .build())
        .build())
    .commonEncryptionCenc(CommonEncryptionCencArgs.builder()
        .clearKeyEncryptionConfiguration(ClearKeyEncryptionConfigurationArgs.builder()
            .customKeysAcquisitionUrlTemplate("string")
            .build())
        .clearTracks(TrackSelectionArgs.builder()
            .trackSelections(TrackPropertyConditionArgs.builder()
                .operation("string")
                .property("string")
                .value("string")
                .build())
            .build())
        .contentKeys(StreamingPolicyContentKeysArgs.builder()
            .defaultKey(DefaultKeyArgs.builder()
                .label("string")
                .policyName("string")
                .build())
            .keyToTrackMappings(StreamingPolicyContentKeyArgs.builder()
                .label("string")
                .policyName("string")
                .tracks(TrackSelectionArgs.builder()
                    .trackSelections(TrackPropertyConditionArgs.builder()
                        .operation("string")
                        .property("string")
                        .value("string")
                        .build())
                    .build())
                .build())
            .build())
        .drm(CencDrmConfigurationArgs.builder()
            .playReady(StreamingPolicyPlayReadyConfigurationArgs.builder()
                .customLicenseAcquisitionUrlTemplate("string")
                .playReadyCustomAttributes("string")
                .build())
            .widevine(StreamingPolicyWidevineConfigurationArgs.builder()
                .customLicenseAcquisitionUrlTemplate("string")
                .build())
            .build())
        .enabledProtocols(EnabledProtocolsArgs.builder()
            .dash(false)
            .download(false)
            .hls(false)
            .smoothStreaming(false)
            .build())
        .build())
    .defaultContentKeyPolicyName("string")
    .envelopeEncryption(EnvelopeEncryptionArgs.builder()
        .clearTracks(TrackSelectionArgs.builder()
            .trackSelections(TrackPropertyConditionArgs.builder()
                .operation("string")
                .property("string")
                .value("string")
                .build())
            .build())
        .contentKeys(StreamingPolicyContentKeysArgs.builder()
            .defaultKey(DefaultKeyArgs.builder()
                .label("string")
                .policyName("string")
                .build())
            .keyToTrackMappings(StreamingPolicyContentKeyArgs.builder()
                .label("string")
                .policyName("string")
                .tracks(TrackSelectionArgs.builder()
                    .trackSelections(TrackPropertyConditionArgs.builder()
                        .operation("string")
                        .property("string")
                        .value("string")
                        .build())
                    .build())
                .build())
            .build())
        .customKeyAcquisitionUrlTemplate("string")
        .enabledProtocols(EnabledProtocolsArgs.builder()
            .dash(false)
            .download(false)
            .hls(false)
            .smoothStreaming(false)
            .build())
        .build())
    .noEncryption(NoEncryptionArgs.builder()
        .enabledProtocols(EnabledProtocolsArgs.builder()
            .dash(false)
            .download(false)
            .hls(false)
            .smoothStreaming(false)
            .build())
        .build())
    .streamingPolicyName("string")
    .build());
streaming_policy_resource = azure_native.media.StreamingPolicy("streamingPolicyResource",
    account_name="string",
    resource_group_name="string",
    common_encryption_cbcs={
        "clear_key_encryption_configuration": {
            "custom_keys_acquisition_url_template": "string",
        },
        "clear_tracks": [{
            "track_selections": [{
                "operation": "string",
                "property": "string",
                "value": "string",
            }],
        }],
        "content_keys": {
            "default_key": {
                "label": "string",
                "policy_name": "string",
            },
            "key_to_track_mappings": [{
                "label": "string",
                "policy_name": "string",
                "tracks": [{
                    "track_selections": [{
                        "operation": "string",
                        "property": "string",
                        "value": "string",
                    }],
                }],
            }],
        },
        "drm": {
            "fair_play": {
                "allow_persistent_license": False,
                "custom_license_acquisition_url_template": "string",
            },
            "play_ready": {
                "custom_license_acquisition_url_template": "string",
                "play_ready_custom_attributes": "string",
            },
            "widevine": {
                "custom_license_acquisition_url_template": "string",
            },
        },
        "enabled_protocols": {
            "dash": False,
            "download": False,
            "hls": False,
            "smooth_streaming": False,
        },
    },
    common_encryption_cenc={
        "clear_key_encryption_configuration": {
            "custom_keys_acquisition_url_template": "string",
        },
        "clear_tracks": [{
            "track_selections": [{
                "operation": "string",
                "property": "string",
                "value": "string",
            }],
        }],
        "content_keys": {
            "default_key": {
                "label": "string",
                "policy_name": "string",
            },
            "key_to_track_mappings": [{
                "label": "string",
                "policy_name": "string",
                "tracks": [{
                    "track_selections": [{
                        "operation": "string",
                        "property": "string",
                        "value": "string",
                    }],
                }],
            }],
        },
        "drm": {
            "play_ready": {
                "custom_license_acquisition_url_template": "string",
                "play_ready_custom_attributes": "string",
            },
            "widevine": {
                "custom_license_acquisition_url_template": "string",
            },
        },
        "enabled_protocols": {
            "dash": False,
            "download": False,
            "hls": False,
            "smooth_streaming": False,
        },
    },
    default_content_key_policy_name="string",
    envelope_encryption={
        "clear_tracks": [{
            "track_selections": [{
                "operation": "string",
                "property": "string",
                "value": "string",
            }],
        }],
        "content_keys": {
            "default_key": {
                "label": "string",
                "policy_name": "string",
            },
            "key_to_track_mappings": [{
                "label": "string",
                "policy_name": "string",
                "tracks": [{
                    "track_selections": [{
                        "operation": "string",
                        "property": "string",
                        "value": "string",
                    }],
                }],
            }],
        },
        "custom_key_acquisition_url_template": "string",
        "enabled_protocols": {
            "dash": False,
            "download": False,
            "hls": False,
            "smooth_streaming": False,
        },
    },
    no_encryption={
        "enabled_protocols": {
            "dash": False,
            "download": False,
            "hls": False,
            "smooth_streaming": False,
        },
    },
    streaming_policy_name="string")
const streamingPolicyResource = new azure_native.media.StreamingPolicy("streamingPolicyResource", {
    accountName: "string",
    resourceGroupName: "string",
    commonEncryptionCbcs: {
        clearKeyEncryptionConfiguration: {
            customKeysAcquisitionUrlTemplate: "string",
        },
        clearTracks: [{
            trackSelections: [{
                operation: "string",
                property: "string",
                value: "string",
            }],
        }],
        contentKeys: {
            defaultKey: {
                label: "string",
                policyName: "string",
            },
            keyToTrackMappings: [{
                label: "string",
                policyName: "string",
                tracks: [{
                    trackSelections: [{
                        operation: "string",
                        property: "string",
                        value: "string",
                    }],
                }],
            }],
        },
        drm: {
            fairPlay: {
                allowPersistentLicense: false,
                customLicenseAcquisitionUrlTemplate: "string",
            },
            playReady: {
                customLicenseAcquisitionUrlTemplate: "string",
                playReadyCustomAttributes: "string",
            },
            widevine: {
                customLicenseAcquisitionUrlTemplate: "string",
            },
        },
        enabledProtocols: {
            dash: false,
            download: false,
            hls: false,
            smoothStreaming: false,
        },
    },
    commonEncryptionCenc: {
        clearKeyEncryptionConfiguration: {
            customKeysAcquisitionUrlTemplate: "string",
        },
        clearTracks: [{
            trackSelections: [{
                operation: "string",
                property: "string",
                value: "string",
            }],
        }],
        contentKeys: {
            defaultKey: {
                label: "string",
                policyName: "string",
            },
            keyToTrackMappings: [{
                label: "string",
                policyName: "string",
                tracks: [{
                    trackSelections: [{
                        operation: "string",
                        property: "string",
                        value: "string",
                    }],
                }],
            }],
        },
        drm: {
            playReady: {
                customLicenseAcquisitionUrlTemplate: "string",
                playReadyCustomAttributes: "string",
            },
            widevine: {
                customLicenseAcquisitionUrlTemplate: "string",
            },
        },
        enabledProtocols: {
            dash: false,
            download: false,
            hls: false,
            smoothStreaming: false,
        },
    },
    defaultContentKeyPolicyName: "string",
    envelopeEncryption: {
        clearTracks: [{
            trackSelections: [{
                operation: "string",
                property: "string",
                value: "string",
            }],
        }],
        contentKeys: {
            defaultKey: {
                label: "string",
                policyName: "string",
            },
            keyToTrackMappings: [{
                label: "string",
                policyName: "string",
                tracks: [{
                    trackSelections: [{
                        operation: "string",
                        property: "string",
                        value: "string",
                    }],
                }],
            }],
        },
        customKeyAcquisitionUrlTemplate: "string",
        enabledProtocols: {
            dash: false,
            download: false,
            hls: false,
            smoothStreaming: false,
        },
    },
    noEncryption: {
        enabledProtocols: {
            dash: false,
            download: false,
            hls: false,
            smoothStreaming: false,
        },
    },
    streamingPolicyName: "string",
});
type: azure-native:media:StreamingPolicy
properties:
    accountName: string
    commonEncryptionCbcs:
        clearKeyEncryptionConfiguration:
            customKeysAcquisitionUrlTemplate: string
        clearTracks:
            - trackSelections:
                - operation: string
                  property: string
                  value: string
        contentKeys:
            defaultKey:
                label: string
                policyName: string
            keyToTrackMappings:
                - label: string
                  policyName: string
                  tracks:
                    - trackSelections:
                        - operation: string
                          property: string
                          value: string
        drm:
            fairPlay:
                allowPersistentLicense: false
                customLicenseAcquisitionUrlTemplate: string
            playReady:
                customLicenseAcquisitionUrlTemplate: string
                playReadyCustomAttributes: string
            widevine:
                customLicenseAcquisitionUrlTemplate: string
        enabledProtocols:
            dash: false
            download: false
            hls: false
            smoothStreaming: false
    commonEncryptionCenc:
        clearKeyEncryptionConfiguration:
            customKeysAcquisitionUrlTemplate: string
        clearTracks:
            - trackSelections:
                - operation: string
                  property: string
                  value: string
        contentKeys:
            defaultKey:
                label: string
                policyName: string
            keyToTrackMappings:
                - label: string
                  policyName: string
                  tracks:
                    - trackSelections:
                        - operation: string
                          property: string
                          value: string
        drm:
            playReady:
                customLicenseAcquisitionUrlTemplate: string
                playReadyCustomAttributes: string
            widevine:
                customLicenseAcquisitionUrlTemplate: string
        enabledProtocols:
            dash: false
            download: false
            hls: false
            smoothStreaming: false
    defaultContentKeyPolicyName: string
    envelopeEncryption:
        clearTracks:
            - trackSelections:
                - operation: string
                  property: string
                  value: string
        contentKeys:
            defaultKey:
                label: string
                policyName: string
            keyToTrackMappings:
                - label: string
                  policyName: string
                  tracks:
                    - trackSelections:
                        - operation: string
                          property: string
                          value: string
        customKeyAcquisitionUrlTemplate: string
        enabledProtocols:
            dash: false
            download: false
            hls: false
            smoothStreaming: false
    noEncryption:
        enabledProtocols:
            dash: false
            download: false
            hls: false
            smoothStreaming: false
    resourceGroupName: string
    streamingPolicyName: string
StreamingPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The StreamingPolicy resource accepts the following input properties:
- AccountName string
- The Media Services account name.
- ResourceGroup stringName 
- The name of the resource group within the Azure subscription.
- CommonEncryption Pulumi.Cbcs Azure Native. Media. Inputs. Common Encryption Cbcs 
- Configuration of CommonEncryptionCbcs
- CommonEncryption Pulumi.Cenc Azure Native. Media. Inputs. Common Encryption Cenc 
- Configuration of CommonEncryptionCenc
- DefaultContent stringKey Policy Name 
- Default ContentKey used by current Streaming Policy
- EnvelopeEncryption Pulumi.Azure Native. Media. Inputs. Envelope Encryption 
- Configuration of EnvelopeEncryption
- NoEncryption Pulumi.Azure Native. Media. Inputs. No Encryption 
- Configurations of NoEncryption
- StreamingPolicy stringName 
- The Streaming Policy name.
- AccountName string
- The Media Services account name.
- ResourceGroup stringName 
- The name of the resource group within the Azure subscription.
- CommonEncryption CommonCbcs Encryption Cbcs Args 
- Configuration of CommonEncryptionCbcs
- CommonEncryption CommonCenc Encryption Cenc Args 
- Configuration of CommonEncryptionCenc
- DefaultContent stringKey Policy Name 
- Default ContentKey used by current Streaming Policy
- EnvelopeEncryption EnvelopeEncryption Args 
- Configuration of EnvelopeEncryption
- NoEncryption NoEncryption Args 
- Configurations of NoEncryption
- StreamingPolicy stringName 
- The Streaming Policy name.
- accountName String
- The Media Services account name.
- resourceGroup StringName 
- The name of the resource group within the Azure subscription.
- commonEncryption CommonCbcs Encryption Cbcs 
- Configuration of CommonEncryptionCbcs
- commonEncryption CommonCenc Encryption Cenc 
- Configuration of CommonEncryptionCenc
- defaultContent StringKey Policy Name 
- Default ContentKey used by current Streaming Policy
- envelopeEncryption EnvelopeEncryption 
- Configuration of EnvelopeEncryption
- noEncryption NoEncryption 
- Configurations of NoEncryption
- streamingPolicy StringName 
- The Streaming Policy name.
- accountName string
- The Media Services account name.
- resourceGroup stringName 
- The name of the resource group within the Azure subscription.
- commonEncryption CommonCbcs Encryption Cbcs 
- Configuration of CommonEncryptionCbcs
- commonEncryption CommonCenc Encryption Cenc 
- Configuration of CommonEncryptionCenc
- defaultContent stringKey Policy Name 
- Default ContentKey used by current Streaming Policy
- envelopeEncryption EnvelopeEncryption 
- Configuration of EnvelopeEncryption
- noEncryption NoEncryption 
- Configurations of NoEncryption
- streamingPolicy stringName 
- The Streaming Policy name.
- account_name str
- The Media Services account name.
- resource_group_ strname 
- The name of the resource group within the Azure subscription.
- common_encryption_ Commoncbcs Encryption Cbcs Args 
- Configuration of CommonEncryptionCbcs
- common_encryption_ Commoncenc Encryption Cenc Args 
- Configuration of CommonEncryptionCenc
- default_content_ strkey_ policy_ name 
- Default ContentKey used by current Streaming Policy
- envelope_encryption EnvelopeEncryption Args 
- Configuration of EnvelopeEncryption
- no_encryption NoEncryption Args 
- Configurations of NoEncryption
- streaming_policy_ strname 
- The Streaming Policy name.
- accountName String
- The Media Services account name.
- resourceGroup StringName 
- The name of the resource group within the Azure subscription.
- commonEncryption Property MapCbcs 
- Configuration of CommonEncryptionCbcs
- commonEncryption Property MapCenc 
- Configuration of CommonEncryptionCenc
- defaultContent StringKey Policy Name 
- Default ContentKey used by current Streaming Policy
- envelopeEncryption Property Map
- Configuration of EnvelopeEncryption
- noEncryption Property Map
- Configurations of NoEncryption
- streamingPolicy StringName 
- 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.Azure Native. Media. Outputs. System Data Response 
- The system metadata relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Created string
- Creation time of Streaming Policy
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- SystemData SystemData Response 
- The system metadata relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- created String
- Creation time of Streaming Policy
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- systemData SystemData Response 
- The system metadata relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- created string
- Creation time of Streaming Policy
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- systemData SystemData Response 
- The system metadata relating to this resource.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- created str
- 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 SystemData Response 
- The system metadata relating to this resource.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- created String
- 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 Pulumi.Azure Native. Media. Inputs. Streaming Policy Fair Play Configuration 
- FairPlay configurations
- PlayReady Pulumi.Azure Native. Media. Inputs. Streaming Policy Play Ready Configuration 
- PlayReady configurations
- Widevine
Pulumi.Azure Native. Media. Inputs. Streaming Policy Widevine Configuration 
- Widevine configurations
- FairPlay StreamingPolicy Fair Play Configuration 
- FairPlay configurations
- PlayReady StreamingPolicy Play Ready Configuration 
- PlayReady configurations
- Widevine
StreamingPolicy Widevine Configuration 
- Widevine configurations
- fairPlay StreamingPolicy Fair Play Configuration 
- FairPlay configurations
- playReady StreamingPolicy Play Ready Configuration 
- PlayReady configurations
- widevine
StreamingPolicy Widevine Configuration 
- Widevine configurations
- fairPlay StreamingPolicy Fair Play Configuration 
- FairPlay configurations
- playReady StreamingPolicy Play Ready Configuration 
- PlayReady configurations
- widevine
StreamingPolicy Widevine Configuration 
- Widevine configurations
- fair_play StreamingPolicy Fair Play Configuration 
- FairPlay configurations
- play_ready StreamingPolicy Play Ready Configuration 
- PlayReady configurations
- widevine
StreamingPolicy Widevine Configuration 
- Widevine configurations
- fairPlay Property Map
- FairPlay configurations
- playReady Property Map
- PlayReady configurations
- widevine Property Map
- Widevine configurations
CbcsDrmConfigurationResponse, CbcsDrmConfigurationResponseArgs        
- FairPlay Pulumi.Azure Native. Media. Inputs. Streaming Policy Fair Play Configuration Response 
- FairPlay configurations
- PlayReady Pulumi.Azure Native. Media. Inputs. Streaming Policy Play Ready Configuration Response 
- PlayReady configurations
- Widevine
Pulumi.Azure Native. Media. Inputs. Streaming Policy Widevine Configuration Response 
- Widevine configurations
- FairPlay StreamingPolicy Fair Play Configuration Response 
- FairPlay configurations
- PlayReady StreamingPolicy Play Ready Configuration Response 
- PlayReady configurations
- Widevine
StreamingPolicy Widevine Configuration Response 
- Widevine configurations
- fairPlay StreamingPolicy Fair Play Configuration Response 
- FairPlay configurations
- playReady StreamingPolicy Play Ready Configuration Response 
- PlayReady configurations
- widevine
StreamingPolicy Widevine Configuration Response 
- Widevine configurations
- fairPlay StreamingPolicy Fair Play Configuration Response 
- FairPlay configurations
- playReady StreamingPolicy Play Ready Configuration Response 
- PlayReady configurations
- widevine
StreamingPolicy Widevine Configuration Response 
- Widevine configurations
- fair_play StreamingPolicy Fair Play Configuration Response 
- FairPlay configurations
- play_ready StreamingPolicy Play Ready Configuration Response 
- PlayReady configurations
- widevine
StreamingPolicy Widevine Configuration Response 
- Widevine configurations
- fairPlay Property Map
- FairPlay configurations
- playReady Property Map
- PlayReady configurations
- widevine Property Map
- Widevine configurations
CencDrmConfiguration, CencDrmConfigurationArgs      
- PlayReady Pulumi.Azure Native. Media. Inputs. Streaming Policy Play Ready Configuration 
- PlayReady configurations
- Widevine
Pulumi.Azure Native. Media. Inputs. Streaming Policy Widevine Configuration 
- Widevine configurations
- PlayReady StreamingPolicy Play Ready Configuration 
- PlayReady configurations
- Widevine
StreamingPolicy Widevine Configuration 
- Widevine configurations
- playReady StreamingPolicy Play Ready Configuration 
- PlayReady configurations
- widevine
StreamingPolicy Widevine Configuration 
- Widevine configurations
- playReady StreamingPolicy Play Ready Configuration 
- PlayReady configurations
- widevine
StreamingPolicy Widevine Configuration 
- Widevine configurations
- play_ready StreamingPolicy Play Ready Configuration 
- PlayReady configurations
- widevine
StreamingPolicy Widevine Configuration 
- Widevine configurations
- playReady Property Map
- PlayReady configurations
- widevine Property Map
- Widevine configurations
CencDrmConfigurationResponse, CencDrmConfigurationResponseArgs        
- PlayReady Pulumi.Azure Native. Media. Inputs. Streaming Policy Play Ready Configuration Response 
- PlayReady configurations
- Widevine
Pulumi.Azure Native. Media. Inputs. Streaming Policy Widevine Configuration Response 
- Widevine configurations
- PlayReady StreamingPolicy Play Ready Configuration Response 
- PlayReady configurations
- Widevine
StreamingPolicy Widevine Configuration Response 
- Widevine configurations
- playReady StreamingPolicy Play Ready Configuration Response 
- PlayReady configurations
- widevine
StreamingPolicy Widevine Configuration Response 
- Widevine configurations
- playReady StreamingPolicy Play Ready Configuration Response 
- PlayReady configurations
- widevine
StreamingPolicy Widevine Configuration Response 
- Widevine configurations
- play_ready StreamingPolicy Play Ready Configuration Response 
- PlayReady configurations
- widevine
StreamingPolicy Widevine Configuration Response 
- Widevine configurations
- playReady Property Map
- PlayReady configurations
- widevine Property Map
- Widevine configurations
ClearKeyEncryptionConfiguration, ClearKeyEncryptionConfigurationArgs        
- CustomKeys stringAcquisition Url Template 
- Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
- CustomKeys stringAcquisition Url Template 
- Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
- customKeys StringAcquisition Url Template 
- Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
- customKeys stringAcquisition Url Template 
- Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
- custom_keys_ stracquisition_ url_ template 
- Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
- customKeys StringAcquisition Url Template 
- Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
ClearKeyEncryptionConfigurationResponse, ClearKeyEncryptionConfigurationResponseArgs          
- CustomKeys stringAcquisition Url Template 
- Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
- CustomKeys stringAcquisition Url Template 
- Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
- customKeys StringAcquisition Url Template 
- Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
- customKeys stringAcquisition Url Template 
- Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
- custom_keys_ stracquisition_ url_ template 
- Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
- customKeys StringAcquisition Url Template 
- Template for the URL of the custom service delivering content keys to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token value is {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId.
CommonEncryptionCbcs, CommonEncryptionCbcsArgs      
- ClearKey Pulumi.Encryption Configuration Azure Native. Media. Inputs. Clear Key Encryption Configuration 
- Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
- ClearTracks List<Pulumi.Azure Native. Media. Inputs. Track Selection> 
- Representing which tracks should not be encrypted
- ContentKeys Pulumi.Azure Native. Media. Inputs. Streaming Policy Content Keys 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- Drm
Pulumi.Azure Native. Media. Inputs. Cbcs Drm Configuration 
- Configuration of DRMs for current encryption scheme
- EnabledProtocols Pulumi.Azure Native. Media. Inputs. Enabled Protocols 
- Representing supported protocols
- ClearKey ClearEncryption Configuration Key Encryption Configuration 
- Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
- ClearTracks []TrackSelection 
- Representing which tracks should not be encrypted
- ContentKeys StreamingPolicy Content Keys 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- Drm
CbcsDrm Configuration 
- Configuration of DRMs for current encryption scheme
- EnabledProtocols EnabledProtocols 
- Representing supported protocols
- clearKey ClearEncryption Configuration Key Encryption Configuration 
- Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
- clearTracks List<TrackSelection> 
- Representing which tracks should not be encrypted
- contentKeys StreamingPolicy Content Keys 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- drm
CbcsDrm Configuration 
- Configuration of DRMs for current encryption scheme
- enabledProtocols EnabledProtocols 
- Representing supported protocols
- clearKey ClearEncryption Configuration Key Encryption Configuration 
- Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
- clearTracks TrackSelection[] 
- Representing which tracks should not be encrypted
- contentKeys StreamingPolicy Content Keys 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- drm
CbcsDrm Configuration 
- Configuration of DRMs for current encryption scheme
- enabledProtocols EnabledProtocols 
- Representing supported protocols
- clear_key_ Clearencryption_ configuration Key Encryption Configuration 
- Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
- clear_tracks Sequence[TrackSelection] 
- Representing which tracks should not be encrypted
- content_keys StreamingPolicy Content Keys 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- drm
CbcsDrm Configuration 
- Configuration of DRMs for current encryption scheme
- enabled_protocols EnabledProtocols 
- Representing supported protocols
- clearKey Property MapEncryption Configuration 
- Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
- clearTracks List<Property Map>
- Representing which tracks should not be encrypted
- contentKeys Property Map
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- drm Property Map
- Configuration of DRMs for current encryption scheme
- enabledProtocols Property Map
- Representing supported protocols
CommonEncryptionCbcsResponse, CommonEncryptionCbcsResponseArgs        
- ClearKey Pulumi.Encryption Configuration Azure Native. Media. Inputs. Clear Key Encryption Configuration Response 
- Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
- ClearTracks List<Pulumi.Azure Native. Media. Inputs. Track Selection Response> 
- Representing which tracks should not be encrypted
- ContentKeys Pulumi.Azure Native. Media. Inputs. Streaming Policy Content Keys Response 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- Drm
Pulumi.Azure Native. Media. Inputs. Cbcs Drm Configuration Response 
- Configuration of DRMs for current encryption scheme
- EnabledProtocols Pulumi.Azure Native. Media. Inputs. Enabled Protocols Response 
- Representing supported protocols
- ClearKey ClearEncryption Configuration Key Encryption Configuration Response 
- Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
- ClearTracks []TrackSelection Response 
- Representing which tracks should not be encrypted
- ContentKeys StreamingPolicy Content Keys Response 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- Drm
CbcsDrm Configuration Response 
- Configuration of DRMs for current encryption scheme
- EnabledProtocols EnabledProtocols Response 
- Representing supported protocols
- clearKey ClearEncryption Configuration Key Encryption Configuration Response 
- Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
- clearTracks List<TrackSelection Response> 
- Representing which tracks should not be encrypted
- contentKeys StreamingPolicy Content Keys Response 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- drm
CbcsDrm Configuration Response 
- Configuration of DRMs for current encryption scheme
- enabledProtocols EnabledProtocols Response 
- Representing supported protocols
- clearKey ClearEncryption Configuration Key Encryption Configuration Response 
- Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
- clearTracks TrackSelection Response[] 
- Representing which tracks should not be encrypted
- contentKeys StreamingPolicy Content Keys Response 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- drm
CbcsDrm Configuration Response 
- Configuration of DRMs for current encryption scheme
- enabledProtocols EnabledProtocols Response 
- Representing supported protocols
- clear_key_ Clearencryption_ configuration Key Encryption Configuration Response 
- Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
- clear_tracks Sequence[TrackSelection Response] 
- Representing which tracks should not be encrypted
- content_keys StreamingPolicy Content Keys Response 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- drm
CbcsDrm Configuration Response 
- Configuration of DRMs for current encryption scheme
- enabled_protocols EnabledProtocols Response 
- Representing supported protocols
- clearKey Property MapEncryption Configuration 
- Optional configuration supporting ClearKey in CommonEncryptionCbcs encryption scheme.
- clearTracks List<Property Map>
- Representing which tracks should not be encrypted
- contentKeys Property Map
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- drm Property Map
- Configuration of DRMs for current encryption scheme
- enabledProtocols Property Map
- Representing supported protocols
CommonEncryptionCenc, CommonEncryptionCencArgs      
- ClearKey Pulumi.Encryption Configuration Azure Native. Media. Inputs. Clear Key Encryption Configuration 
- Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
- ClearTracks List<Pulumi.Azure Native. Media. Inputs. Track Selection> 
- Representing which tracks should not be encrypted
- ContentKeys Pulumi.Azure Native. Media. Inputs. Streaming Policy Content Keys 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- Drm
Pulumi.Azure Native. Media. Inputs. Cenc Drm Configuration 
- Configuration of DRMs for CommonEncryptionCenc encryption scheme
- EnabledProtocols Pulumi.Azure Native. Media. Inputs. Enabled Protocols 
- Representing supported protocols
- ClearKey ClearEncryption Configuration Key Encryption Configuration 
- Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
- ClearTracks []TrackSelection 
- Representing which tracks should not be encrypted
- ContentKeys StreamingPolicy Content Keys 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- Drm
CencDrm Configuration 
- Configuration of DRMs for CommonEncryptionCenc encryption scheme
- EnabledProtocols EnabledProtocols 
- Representing supported protocols
- clearKey ClearEncryption Configuration Key Encryption Configuration 
- Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
- clearTracks List<TrackSelection> 
- Representing which tracks should not be encrypted
- contentKeys StreamingPolicy Content Keys 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- drm
CencDrm Configuration 
- Configuration of DRMs for CommonEncryptionCenc encryption scheme
- enabledProtocols EnabledProtocols 
- Representing supported protocols
- clearKey ClearEncryption Configuration Key Encryption Configuration 
- Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
- clearTracks TrackSelection[] 
- Representing which tracks should not be encrypted
- contentKeys StreamingPolicy Content Keys 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- drm
CencDrm Configuration 
- Configuration of DRMs for CommonEncryptionCenc encryption scheme
- enabledProtocols EnabledProtocols 
- Representing supported protocols
- clear_key_ Clearencryption_ configuration Key Encryption Configuration 
- Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
- clear_tracks Sequence[TrackSelection] 
- Representing which tracks should not be encrypted
- content_keys StreamingPolicy Content Keys 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- drm
CencDrm Configuration 
- Configuration of DRMs for CommonEncryptionCenc encryption scheme
- enabled_protocols EnabledProtocols 
- Representing supported protocols
- clearKey Property MapEncryption Configuration 
- Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
- clearTracks List<Property Map>
- Representing which tracks should not be encrypted
- contentKeys Property Map
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- drm Property Map
- Configuration of DRMs for CommonEncryptionCenc encryption scheme
- enabledProtocols Property Map
- Representing supported protocols
CommonEncryptionCencResponse, CommonEncryptionCencResponseArgs        
- ClearKey Pulumi.Encryption Configuration Azure Native. Media. Inputs. Clear Key Encryption Configuration Response 
- Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
- ClearTracks List<Pulumi.Azure Native. Media. Inputs. Track Selection Response> 
- Representing which tracks should not be encrypted
- ContentKeys Pulumi.Azure Native. Media. Inputs. Streaming Policy Content Keys Response 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- Drm
Pulumi.Azure Native. Media. Inputs. Cenc Drm Configuration Response 
- Configuration of DRMs for CommonEncryptionCenc encryption scheme
- EnabledProtocols Pulumi.Azure Native. Media. Inputs. Enabled Protocols Response 
- Representing supported protocols
- ClearKey ClearEncryption Configuration Key Encryption Configuration Response 
- Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
- ClearTracks []TrackSelection Response 
- Representing which tracks should not be encrypted
- ContentKeys StreamingPolicy Content Keys Response 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- Drm
CencDrm Configuration Response 
- Configuration of DRMs for CommonEncryptionCenc encryption scheme
- EnabledProtocols EnabledProtocols Response 
- Representing supported protocols
- clearKey ClearEncryption Configuration Key Encryption Configuration Response 
- Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
- clearTracks List<TrackSelection Response> 
- Representing which tracks should not be encrypted
- contentKeys StreamingPolicy Content Keys Response 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- drm
CencDrm Configuration Response 
- Configuration of DRMs for CommonEncryptionCenc encryption scheme
- enabledProtocols EnabledProtocols Response 
- Representing supported protocols
- clearKey ClearEncryption Configuration Key Encryption Configuration Response 
- Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
- clearTracks TrackSelection Response[] 
- Representing which tracks should not be encrypted
- contentKeys StreamingPolicy Content Keys Response 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- drm
CencDrm Configuration Response 
- Configuration of DRMs for CommonEncryptionCenc encryption scheme
- enabledProtocols EnabledProtocols Response 
- Representing supported protocols
- clear_key_ Clearencryption_ configuration Key Encryption Configuration Response 
- Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
- clear_tracks Sequence[TrackSelection Response] 
- Representing which tracks should not be encrypted
- content_keys StreamingPolicy Content Keys Response 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- drm
CencDrm Configuration Response 
- Configuration of DRMs for CommonEncryptionCenc encryption scheme
- enabled_protocols EnabledProtocols Response 
- Representing supported protocols
- clearKey Property MapEncryption Configuration 
- Optional configuration supporting ClearKey in CommonEncryptionCenc encryption scheme.
- clearTracks List<Property Map>
- Representing which tracks should not be encrypted
- contentKeys Property Map
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- drm Property Map
- Configuration of DRMs for CommonEncryptionCenc encryption scheme
- enabledProtocols Property Map
- Representing supported protocols
DefaultKey, DefaultKeyArgs    
- Label string
- Label can be used to specify Content Key when creating a Streaming Locator
- PolicyName string
- Policy used by Default Key
- Label string
- Label can be used to specify Content Key when creating a Streaming Locator
- PolicyName string
- Policy used by Default Key
- label String
- Label can be used to specify Content Key when creating a Streaming Locator
- policyName String
- Policy used by Default Key
- label string
- Label can be used to specify Content Key when creating a Streaming Locator
- policyName string
- Policy used by Default Key
- label str
- Label can be used to specify Content Key when creating a Streaming Locator
- policy_name str
- Policy used by Default Key
- label String
- Label can be used to specify Content Key when creating a Streaming Locator
- policyName String
- Policy used by Default Key
DefaultKeyResponse, DefaultKeyResponseArgs      
- Label string
- Label can be used to specify Content Key when creating a Streaming Locator
- PolicyName string
- Policy used by Default Key
- Label string
- Label can be used to specify Content Key when creating a Streaming Locator
- PolicyName string
- Policy used by Default Key
- label String
- Label can be used to specify Content Key when creating a Streaming Locator
- policyName String
- Policy used by Default Key
- label string
- Label can be used to specify Content Key when creating a Streaming Locator
- policyName string
- Policy used by Default Key
- label str
- Label can be used to specify Content Key when creating a Streaming Locator
- policy_name str
- Policy used by Default Key
- label String
- Label can be used to specify Content Key when creating a Streaming Locator
- policyName String
- Policy used by Default Key
EnabledProtocols, EnabledProtocolsArgs    
- Dash bool
- Enable DASH protocol or not
- Download bool
- Enable Download protocol or not
- Hls bool
- Enable HLS protocol or not
- SmoothStreaming bool
- Enable SmoothStreaming protocol or not
- Dash bool
- Enable DASH protocol or not
- Download bool
- Enable Download protocol or not
- Hls bool
- Enable HLS protocol or not
- SmoothStreaming bool
- Enable SmoothStreaming protocol or not
- dash Boolean
- Enable DASH protocol or not
- download Boolean
- Enable Download protocol or not
- hls Boolean
- Enable HLS protocol or not
- smoothStreaming Boolean
- Enable SmoothStreaming protocol or not
- dash boolean
- Enable DASH protocol or not
- download boolean
- Enable Download protocol or not
- hls boolean
- Enable HLS protocol or not
- smoothStreaming boolean
- Enable SmoothStreaming protocol or not
- dash bool
- Enable DASH protocol or not
- download bool
- Enable Download protocol or not
- hls bool
- Enable HLS protocol or not
- smooth_streaming bool
- Enable SmoothStreaming protocol or not
- dash Boolean
- Enable DASH protocol or not
- download Boolean
- Enable Download protocol or not
- hls Boolean
- Enable HLS protocol or not
- smoothStreaming Boolean
- Enable SmoothStreaming protocol or not
EnabledProtocolsResponse, EnabledProtocolsResponseArgs      
- Dash bool
- Enable DASH protocol or not
- Download bool
- Enable Download protocol or not
- Hls bool
- Enable HLS protocol or not
- SmoothStreaming bool
- Enable SmoothStreaming protocol or not
- Dash bool
- Enable DASH protocol or not
- Download bool
- Enable Download protocol or not
- Hls bool
- Enable HLS protocol or not
- SmoothStreaming bool
- Enable SmoothStreaming protocol or not
- dash Boolean
- Enable DASH protocol or not
- download Boolean
- Enable Download protocol or not
- hls Boolean
- Enable HLS protocol or not
- smoothStreaming Boolean
- Enable SmoothStreaming protocol or not
- dash boolean
- Enable DASH protocol or not
- download boolean
- Enable Download protocol or not
- hls boolean
- Enable HLS protocol or not
- smoothStreaming boolean
- Enable SmoothStreaming protocol or not
- dash bool
- Enable DASH protocol or not
- download bool
- Enable Download protocol or not
- hls bool
- Enable HLS protocol or not
- smooth_streaming bool
- Enable SmoothStreaming protocol or not
- dash Boolean
- Enable DASH protocol or not
- download Boolean
- Enable Download protocol or not
- hls Boolean
- Enable HLS protocol or not
- smoothStreaming Boolean
- Enable SmoothStreaming protocol or not
EnvelopeEncryption, EnvelopeEncryptionArgs    
- ClearTracks List<Pulumi.Azure Native. Media. Inputs. Track Selection> 
- Representing which tracks should not be encrypted
- ContentKeys Pulumi.Azure Native. Media. Inputs. Streaming Policy Content Keys 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- CustomKey stringAcquisition Url Template 
- 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.Azure Native. Media. Inputs. Enabled Protocols 
- Representing supported protocols
- ClearTracks []TrackSelection 
- Representing which tracks should not be encrypted
- ContentKeys StreamingPolicy Content Keys 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- CustomKey stringAcquisition Url Template 
- 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 StreamingPolicy Content Keys 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- customKey StringAcquisition Url Template 
- 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 StreamingPolicy Content Keys 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- customKey stringAcquisition Url Template 
- 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 StreamingPolicy Content Keys 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- custom_key_ stracquisition_ url_ template 
- 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
- customKey StringAcquisition Url Template 
- 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.Azure Native. Media. Inputs. Track Selection Response> 
- Representing which tracks should not be encrypted
- ContentKeys Pulumi.Azure Native. Media. Inputs. Streaming Policy Content Keys Response 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- CustomKey stringAcquisition Url Template 
- 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.Azure Native. Media. Inputs. Enabled Protocols Response 
- Representing supported protocols
- ClearTracks []TrackSelection Response 
- Representing which tracks should not be encrypted
- ContentKeys StreamingPolicy Content Keys Response 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- CustomKey stringAcquisition Url Template 
- 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 Response 
- Representing supported protocols
- clearTracks List<TrackSelection Response> 
- Representing which tracks should not be encrypted
- contentKeys StreamingPolicy Content Keys Response 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- customKey StringAcquisition Url Template 
- 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 Response 
- Representing supported protocols
- clearTracks TrackSelection Response[] 
- Representing which tracks should not be encrypted
- contentKeys StreamingPolicy Content Keys Response 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- customKey stringAcquisition Url Template 
- 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 Response 
- Representing supported protocols
- clear_tracks Sequence[TrackSelection Response] 
- Representing which tracks should not be encrypted
- content_keys StreamingPolicy Content Keys Response 
- Representing default content key for each encryption scheme and separate content keys for specific tracks
- custom_key_ stracquisition_ url_ template 
- 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 Response 
- 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
- customKey StringAcquisition Url Template 
- 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 Pulumi.Azure Native. Media. Inputs. Enabled Protocols 
- Representing supported protocols
- 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 Pulumi.Azure Native. Media. Inputs. Enabled Protocols Response 
- Representing supported protocols
- EnabledProtocols EnabledProtocols Response 
- Representing supported protocols
- enabledProtocols EnabledProtocols Response 
- Representing supported protocols
- enabledProtocols EnabledProtocols Response 
- Representing supported protocols
- enabled_protocols EnabledProtocols Response 
- 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.Azure Native. Media. Inputs. Track Selection> 
- 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.Azure Native. Media. Inputs. Track Selection Response> 
- 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 Response 
- 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 Response> 
- 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 Response[] 
- 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 Response] 
- 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.Azure Native. Media. Inputs. Default Key 
- Default content key for an encryption scheme
- KeyTo List<Pulumi.Track Mappings Azure Native. Media. Inputs. Streaming Policy Content Key> 
- Representing tracks needs separate content key
- DefaultKey DefaultKey 
- Default content key for an encryption scheme
- KeyTo []StreamingTrack Mappings Policy Content Key 
- Representing tracks needs separate content key
- defaultKey DefaultKey 
- Default content key for an encryption scheme
- keyTo List<StreamingTrack Mappings Policy Content Key> 
- Representing tracks needs separate content key
- defaultKey DefaultKey 
- Default content key for an encryption scheme
- keyTo StreamingTrack Mappings Policy Content Key[] 
- Representing tracks needs separate content key
- default_key DefaultKey 
- Default content key for an encryption scheme
- key_to_ Sequence[Streamingtrack_ mappings Policy Content Key] 
- Representing tracks needs separate content key
- defaultKey Property Map
- Default content key for an encryption scheme
- keyTo List<Property Map>Track Mappings 
- Representing tracks needs separate content key
StreamingPolicyContentKeysResponse, StreamingPolicyContentKeysResponseArgs          
- DefaultKey Pulumi.Azure Native. Media. Inputs. Default Key Response 
- Default content key for an encryption scheme
- KeyTo List<Pulumi.Track Mappings Azure Native. Media. Inputs. Streaming Policy Content Key Response> 
- Representing tracks needs separate content key
- DefaultKey DefaultKey Response 
- Default content key for an encryption scheme
- KeyTo []StreamingTrack Mappings Policy Content Key Response 
- Representing tracks needs separate content key
- defaultKey DefaultKey Response 
- Default content key for an encryption scheme
- keyTo List<StreamingTrack Mappings Policy Content Key Response> 
- Representing tracks needs separate content key
- defaultKey DefaultKey Response 
- Default content key for an encryption scheme
- keyTo StreamingTrack Mappings Policy Content Key Response[] 
- Representing tracks needs separate content key
- default_key DefaultKey Response 
- Default content key for an encryption scheme
- key_to_ Sequence[Streamingtrack_ mappings Policy Content Key Response] 
- Representing tracks needs separate content key
- defaultKey Property Map
- Default content key for an encryption scheme
- keyTo List<Property Map>Track Mappings 
- Representing tracks needs separate content key
StreamingPolicyFairPlayConfiguration, StreamingPolicyFairPlayConfigurationArgs          
- AllowPersistent boolLicense 
- All license to be persistent or not
- CustomLicense stringAcquisition Url Template 
- 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.
- AllowPersistent boolLicense 
- All license to be persistent or not
- CustomLicense stringAcquisition Url Template 
- 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.
- allowPersistent BooleanLicense 
- All license to be persistent or not
- customLicense StringAcquisition Url Template 
- 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.
- allowPersistent booleanLicense 
- All license to be persistent or not
- customLicense stringAcquisition Url Template 
- 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_ boollicense 
- All license to be persistent or not
- custom_license_ stracquisition_ url_ template 
- 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.
- allowPersistent BooleanLicense 
- All license to be persistent or not
- customLicense StringAcquisition Url Template 
- 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            
- AllowPersistent boolLicense 
- All license to be persistent or not
- CustomLicense stringAcquisition Url Template 
- 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.
- AllowPersistent boolLicense 
- All license to be persistent or not
- CustomLicense stringAcquisition Url Template 
- 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.
- allowPersistent BooleanLicense 
- All license to be persistent or not
- customLicense StringAcquisition Url Template 
- 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.
- allowPersistent booleanLicense 
- All license to be persistent or not
- customLicense stringAcquisition Url Template 
- 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_ boollicense 
- All license to be persistent or not
- custom_license_ stracquisition_ url_ template 
- 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.
- allowPersistent BooleanLicense 
- All license to be persistent or not
- customLicense StringAcquisition Url Template 
- 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          
- CustomLicense stringAcquisition Url Template 
- 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.
- PlayReady stringCustom Attributes 
- Custom attributes for PlayReady
- CustomLicense stringAcquisition Url Template 
- 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.
- PlayReady stringCustom Attributes 
- Custom attributes for PlayReady
- customLicense StringAcquisition Url Template 
- 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.
- playReady StringCustom Attributes 
- Custom attributes for PlayReady
- customLicense stringAcquisition Url Template 
- 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.
- playReady stringCustom Attributes 
- Custom attributes for PlayReady
- custom_license_ stracquisition_ url_ template 
- 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_ strcustom_ attributes 
- Custom attributes for PlayReady
- customLicense StringAcquisition Url Template 
- 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.
- playReady StringCustom Attributes 
- Custom attributes for PlayReady
StreamingPolicyPlayReadyConfigurationResponse, StreamingPolicyPlayReadyConfigurationResponseArgs            
- CustomLicense stringAcquisition Url Template 
- 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.
- PlayReady stringCustom Attributes 
- Custom attributes for PlayReady
- CustomLicense stringAcquisition Url Template 
- 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.
- PlayReady stringCustom Attributes 
- Custom attributes for PlayReady
- customLicense StringAcquisition Url Template 
- 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.
- playReady StringCustom Attributes 
- Custom attributes for PlayReady
- customLicense stringAcquisition Url Template 
- 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.
- playReady stringCustom Attributes 
- Custom attributes for PlayReady
- custom_license_ stracquisition_ url_ template 
- 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_ strcustom_ attributes 
- Custom attributes for PlayReady
- customLicense StringAcquisition Url Template 
- 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.
- playReady StringCustom Attributes 
- Custom attributes for PlayReady
StreamingPolicyWidevineConfiguration, StreamingPolicyWidevineConfigurationArgs        
- CustomLicense stringAcquisition Url Template 
- 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.
- CustomLicense stringAcquisition Url Template 
- 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.
- customLicense StringAcquisition Url Template 
- 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.
- customLicense stringAcquisition Url Template 
- 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_ stracquisition_ url_ template 
- 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.
- customLicense StringAcquisition Url Template 
- 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          
- CustomLicense stringAcquisition Url Template 
- 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.
- CustomLicense stringAcquisition Url Template 
- 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.
- customLicense StringAcquisition Url Template 
- 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.
- customLicense stringAcquisition Url Template 
- 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_ stracquisition_ url_ template 
- 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.
- customLicense StringAcquisition Url Template 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
TrackPropertyCompareOperation, TrackPropertyCompareOperationArgs        
- Unknown
- UnknownUnknown track property compare operation
- Equal
- EqualEqual operation
- TrackProperty Compare Operation Unknown 
- UnknownUnknown track property compare operation
- TrackProperty 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
- "Unknown"
- UnknownUnknown track property compare operation
- "Equal"
- EqualEqual operation
TrackPropertyCondition, TrackPropertyConditionArgs      
- Operation
string | Pulumi.Azure Native. Media. Track Property Compare Operation 
- Track property condition operation
- Property
string | Pulumi.Azure Native. Media. Track Property Type 
- Track property type
- Value string
- Track property value
- Operation
string | TrackProperty Compare Operation 
- Track property condition operation
- Property
string | TrackProperty Type 
- Track property type
- Value string
- Track property value
- operation
String | TrackProperty Compare Operation 
- Track property condition operation
- property
String | TrackProperty Type 
- Track property type
- value String
- Track property value
- operation
string | TrackProperty Compare Operation 
- Track property condition operation
- property
string | TrackProperty Type 
- Track property type
- value string
- Track property value
- operation
str | TrackProperty Compare Operation 
- Track property condition operation
- property
str | TrackProperty Type 
- 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        
TrackPropertyType, TrackPropertyTypeArgs      
- Unknown
- UnknownUnknown track property
- FourCC 
- FourCCTrack FourCC
- TrackProperty Type Unknown 
- UnknownUnknown track property
- TrackProperty Type Four CC 
- 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.Azure Native. Media. Inputs. Track Property Condition> 
- TrackSelections is a track property condition list which can specify track(s)
- TrackSelections []TrackProperty Condition 
- TrackSelections is a track property condition list which can specify track(s)
- trackSelections List<TrackProperty Condition> 
- TrackSelections is a track property condition list which can specify track(s)
- trackSelections TrackProperty Condition[] 
- TrackSelections is a track property condition list which can specify track(s)
- track_selections Sequence[TrackProperty Condition] 
- 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.Azure Native. Media. Inputs. Track Property Condition Response> 
- TrackSelections is a track property condition list which can specify track(s)
- TrackSelections []TrackProperty Condition Response 
- TrackSelections is a track property condition list which can specify track(s)
- trackSelections List<TrackProperty Condition Response> 
- TrackSelections is a track property condition list which can specify track(s)
- trackSelections TrackProperty Condition Response[] 
- TrackSelections is a track property condition list which can specify track(s)
- track_selections Sequence[TrackProperty Condition Response] 
- TrackSelections is a track property condition list which can specify track(s)
- trackSelections List<Property Map>
- TrackSelections is a track property condition list which can specify track(s)
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:media:StreamingPolicy UserCreatedSecureStreamingPolicy /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingPolicies/{streamingPolicyName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0