azure-native.media.StreamingPolicy

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

Example Usage

Creates a Streaming Policy with clear streaming

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
    {
        AccountName = "contosomedia",
        NoEncryption = new AzureNative.Media.Inputs.NoEncryptionArgs
        {
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = true,
                Download = true,
                Hls = true,
                SmoothStreaming = true,
            },
        },
        ResourceGroupName = "contoso",
        StreamingPolicyName = "UserCreatedClearStreamingPolicy",
    });

});
package main

import (
	media "github.com/pulumi/pulumi-azure-native/sdk/go/azure/media"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewStreamingPolicy(ctx, "streamingPolicy", &media.StreamingPolicyArgs{
			AccountName: pulumi.String("contosomedia"),
			NoEncryption: &media.NoEncryptionArgs{
				EnabledProtocols: &media.EnabledProtocolsArgs{
					Dash:            pulumi.Bool(true),
					Download:        pulumi.Bool(true),
					Hls:             pulumi.Bool(true),
					SmoothStreaming: pulumi.Bool(true),
				},
			},
			ResourceGroupName:   pulumi.String("contoso"),
			StreamingPolicyName: pulumi.String("UserCreatedClearStreamingPolicy"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingPolicy;
import com.pulumi.azurenative.media.StreamingPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()        
            .accountName("contosomedia")
            .noEncryption(Map.of("enabledProtocols", Map.ofEntries(
                Map.entry("dash", true),
                Map.entry("download", true),
                Map.entry("hls", true),
                Map.entry("smoothStreaming", true)
            )))
            .resourceGroupName("contoso")
            .streamingPolicyName("UserCreatedClearStreamingPolicy")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
    account_name="contosomedia",
    no_encryption=azure_native.media.NoEncryptionArgs(
        enabled_protocols=azure_native.media.EnabledProtocolsArgs(
            dash=True,
            download=True,
            hls=True,
            smooth_streaming=True,
        ),
    ),
    resource_group_name="contoso",
    streaming_policy_name="UserCreatedClearStreamingPolicy")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
    accountName: "contosomedia",
    noEncryption: {
        enabledProtocols: {
            dash: true,
            download: true,
            hls: true,
            smoothStreaming: true,
        },
    },
    resourceGroupName: "contoso",
    streamingPolicyName: "UserCreatedClearStreamingPolicy",
});
resources:
  streamingPolicy:
    type: azure-native:media:StreamingPolicy
    properties:
      accountName: contosomedia
      noEncryption:
        enabledProtocols:
          dash: true
          download: true
          hls: true
          smoothStreaming: true
      resourceGroupName: contoso
      streamingPolicyName: UserCreatedClearStreamingPolicy

Creates a Streaming Policy with commonEncryptionCbcs only

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
    {
        AccountName = "contosomedia",
        CommonEncryptionCbcs = new AzureNative.Media.Inputs.CommonEncryptionCbcsArgs
        {
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "cbcsDefaultKey",
                },
            },
            Drm = new AzureNative.Media.Inputs.CbcsDrmConfigurationArgs
            {
                FairPlay = new AzureNative.Media.Inputs.StreamingPolicyFairPlayConfigurationArgs
                {
                    AllowPersistentLicense = true,
                    CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
                },
            },
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = false,
                Download = false,
                Hls = true,
                SmoothStreaming = false,
            },
        },
        DefaultContentKeyPolicyName = "PolicyWithMultipleOptions",
        ResourceGroupName = "contoso",
        StreamingPolicyName = "UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly",
    });

});

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingPolicy;
import com.pulumi.azurenative.media.StreamingPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()        
            .accountName("contosomedia")
            .commonEncryptionCbcs(Map.ofEntries(
                Map.entry("contentKeys", Map.of("defaultKey", Map.of("label", "cbcsDefaultKey"))),
                Map.entry("drm", Map.of("fairPlay", Map.ofEntries(
                    Map.entry("allowPersistentLicense", true),
                    Map.entry("customLicenseAcquisitionUrlTemplate", "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}")
                ))),
                Map.entry("enabledProtocols", Map.ofEntries(
                    Map.entry("dash", false),
                    Map.entry("download", false),
                    Map.entry("hls", true),
                    Map.entry("smoothStreaming", false)
                ))
            ))
            .defaultContentKeyPolicyName("PolicyWithMultipleOptions")
            .resourceGroupName("contoso")
            .streamingPolicyName("UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
    account_name="contosomedia",
    common_encryption_cbcs=azure_native.media.CommonEncryptionCbcsResponseArgs(
        content_keys={
            "defaultKey": azure_native.media.DefaultKeyArgs(
                label="cbcsDefaultKey",
            ),
        },
        drm={
            "fairPlay": azure_native.media.StreamingPolicyFairPlayConfigurationArgs(
                allow_persistent_license=True,
                custom_license_acquisition_url_template="https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
            ),
        },
        enabled_protocols=azure_native.media.EnabledProtocolsArgs(
            dash=False,
            download=False,
            hls=True,
            smooth_streaming=False,
        ),
    ),
    default_content_key_policy_name="PolicyWithMultipleOptions",
    resource_group_name="contoso",
    streaming_policy_name="UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
    accountName: "contosomedia",
    commonEncryptionCbcs: {
        contentKeys: {
            defaultKey: {
                label: "cbcsDefaultKey",
            },
        },
        drm: {
            fairPlay: {
                allowPersistentLicense: true,
                customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
            },
        },
        enabledProtocols: {
            dash: false,
            download: false,
            hls: true,
            smoothStreaming: false,
        },
    },
    defaultContentKeyPolicyName: "PolicyWithMultipleOptions",
    resourceGroupName: "contoso",
    streamingPolicyName: "UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly",
});
resources:
  streamingPolicy:
    type: azure-native:media:StreamingPolicy
    properties:
      accountName: contosomedia
      commonEncryptionCbcs:
        contentKeys:
          defaultKey:
            label: cbcsDefaultKey
        drm:
          fairPlay:
            allowPersistentLicense: true
            customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}
        enabledProtocols:
          dash: false
          download: false
          hls: true
          smoothStreaming: false
      defaultContentKeyPolicyName: PolicyWithMultipleOptions
      resourceGroupName: contoso
      streamingPolicyName: UserCreatedSecureStreamingPolicyWithCommonEncryptionCbcsOnly

Creates a Streaming Policy with commonEncryptionCenc only

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
    {
        AccountName = "contosomedia",
        CommonEncryptionCenc = new AzureNative.Media.Inputs.CommonEncryptionCencArgs
        {
            ClearTracks = new[]
            {
                new AzureNative.Media.Inputs.TrackSelectionArgs
                {
                    TrackSelections = new[]
                    {
                        new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                        {
                            Operation = "Equal",
                            Property = "FourCC",
                            Value = "hev1",
                        },
                    },
                },
            },
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "cencDefaultKey",
                },
            },
            Drm = new AzureNative.Media.Inputs.CencDrmConfigurationArgs
            {
                PlayReady = new AzureNative.Media.Inputs.StreamingPolicyPlayReadyConfigurationArgs
                {
                    CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                    PlayReadyCustomAttributes = "PlayReady CustomAttributes",
                },
                Widevine = new AzureNative.Media.Inputs.StreamingPolicyWidevineConfigurationArgs
                {
                    CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
                },
            },
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = true,
                Download = false,
                Hls = false,
                SmoothStreaming = true,
            },
        },
        DefaultContentKeyPolicyName = "PolicyWithPlayReadyOptionAndOpenRestriction",
        ResourceGroupName = "contoso",
        StreamingPolicyName = "UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly",
    });

});

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingPolicy;
import com.pulumi.azurenative.media.StreamingPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()        
            .accountName("contosomedia")
            .commonEncryptionCenc(Map.ofEntries(
                Map.entry("clearTracks", Map.of("trackSelections", Map.ofEntries(
                    Map.entry("operation", "Equal"),
                    Map.entry("property", "FourCC"),
                    Map.entry("value", "hev1")
                ))),
                Map.entry("contentKeys", Map.of("defaultKey", Map.of("label", "cencDefaultKey"))),
                Map.entry("drm", Map.ofEntries(
                    Map.entry("playReady", Map.ofEntries(
                        Map.entry("customLicenseAcquisitionUrlTemplate", "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}"),
                        Map.entry("playReadyCustomAttributes", "PlayReady CustomAttributes")
                    )),
                    Map.entry("widevine", Map.of("customLicenseAcquisitionUrlTemplate", "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"))
                )),
                Map.entry("enabledProtocols", Map.ofEntries(
                    Map.entry("dash", true),
                    Map.entry("download", false),
                    Map.entry("hls", false),
                    Map.entry("smoothStreaming", true)
                ))
            ))
            .defaultContentKeyPolicyName("PolicyWithPlayReadyOptionAndOpenRestriction")
            .resourceGroupName("contoso")
            .streamingPolicyName("UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
    account_name="contosomedia",
    common_encryption_cenc=azure_native.media.CommonEncryptionCencResponseArgs(
        clear_tracks=[{
            "trackSelections": [azure_native.media.TrackPropertyConditionArgs(
                operation="Equal",
                property="FourCC",
                value="hev1",
            )],
        }],
        content_keys={
            "defaultKey": azure_native.media.DefaultKeyArgs(
                label="cencDefaultKey",
            ),
        },
        drm={
            "playReady": azure_native.media.StreamingPolicyPlayReadyConfigurationArgs(
                custom_license_acquisition_url_template="https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                play_ready_custom_attributes="PlayReady CustomAttributes",
            ),
            "widevine": azure_native.media.StreamingPolicyWidevineConfigurationArgs(
                custom_license_acquisition_url_template="https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
            ),
        },
        enabled_protocols=azure_native.media.EnabledProtocolsArgs(
            dash=True,
            download=False,
            hls=False,
            smooth_streaming=True,
        ),
    ),
    default_content_key_policy_name="PolicyWithPlayReadyOptionAndOpenRestriction",
    resource_group_name="contoso",
    streaming_policy_name="UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
    accountName: "contosomedia",
    commonEncryptionCenc: {
        clearTracks: [{
            trackSelections: [{
                operation: "Equal",
                property: "FourCC",
                value: "hev1",
            }],
        }],
        contentKeys: {
            defaultKey: {
                label: "cencDefaultKey",
            },
        },
        drm: {
            playReady: {
                customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                playReadyCustomAttributes: "PlayReady CustomAttributes",
            },
            widevine: {
                customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
            },
        },
        enabledProtocols: {
            dash: true,
            download: false,
            hls: false,
            smoothStreaming: true,
        },
    },
    defaultContentKeyPolicyName: "PolicyWithPlayReadyOptionAndOpenRestriction",
    resourceGroupName: "contoso",
    streamingPolicyName: "UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly",
});
resources:
  streamingPolicy:
    type: azure-native:media:StreamingPolicy
    properties:
      accountName: contosomedia
      commonEncryptionCenc:
        clearTracks:
          - trackSelections:
              - operation: Equal
                property: FourCC
                value: hev1
        contentKeys:
          defaultKey:
            label: cencDefaultKey
        drm:
          playReady:
            customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}
            playReadyCustomAttributes: PlayReady CustomAttributes
          widevine:
            customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId
        enabledProtocols:
          dash: true
          download: false
          hls: false
          smoothStreaming: true
      defaultContentKeyPolicyName: PolicyWithPlayReadyOptionAndOpenRestriction
      resourceGroupName: contoso
      streamingPolicyName: UserCreatedSecureStreamingPolicyWithCommonEncryptionCencOnly

Creates a Streaming Policy with envelopeEncryption only

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
    {
        AccountName = "contosomedia",
        DefaultContentKeyPolicyName = "PolicyWithClearKeyOptionAndTokenRestriction",
        EnvelopeEncryption = new AzureNative.Media.Inputs.EnvelopeEncryptionArgs
        {
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "aesDefaultKey",
                },
            },
            CustomKeyAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = true,
                Download = false,
                Hls = true,
                SmoothStreaming = true,
            },
        },
        ResourceGroupName = "contoso",
        StreamingPolicyName = "UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly",
    });

});

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingPolicy;
import com.pulumi.azurenative.media.StreamingPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()        
            .accountName("contosomedia")
            .defaultContentKeyPolicyName("PolicyWithClearKeyOptionAndTokenRestriction")
            .envelopeEncryption(Map.ofEntries(
                Map.entry("contentKeys", Map.of("defaultKey", Map.of("label", "aesDefaultKey"))),
                Map.entry("customKeyAcquisitionUrlTemplate", "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}"),
                Map.entry("enabledProtocols", Map.ofEntries(
                    Map.entry("dash", true),
                    Map.entry("download", false),
                    Map.entry("hls", true),
                    Map.entry("smoothStreaming", true)
                ))
            ))
            .resourceGroupName("contoso")
            .streamingPolicyName("UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
    account_name="contosomedia",
    default_content_key_policy_name="PolicyWithClearKeyOptionAndTokenRestriction",
    envelope_encryption=azure_native.media.EnvelopeEncryptionResponseArgs(
        content_keys={
            "defaultKey": azure_native.media.DefaultKeyArgs(
                label="aesDefaultKey",
            ),
        },
        custom_key_acquisition_url_template="https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
        enabled_protocols=azure_native.media.EnabledProtocolsArgs(
            dash=True,
            download=False,
            hls=True,
            smooth_streaming=True,
        ),
    ),
    resource_group_name="contoso",
    streaming_policy_name="UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
    accountName: "contosomedia",
    defaultContentKeyPolicyName: "PolicyWithClearKeyOptionAndTokenRestriction",
    envelopeEncryption: {
        contentKeys: {
            defaultKey: {
                label: "aesDefaultKey",
            },
        },
        customKeyAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
        enabledProtocols: {
            dash: true,
            download: false,
            hls: true,
            smoothStreaming: true,
        },
    },
    resourceGroupName: "contoso",
    streamingPolicyName: "UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly",
});
resources:
  streamingPolicy:
    type: azure-native:media:StreamingPolicy
    properties:
      accountName: contosomedia
      defaultContentKeyPolicyName: PolicyWithClearKeyOptionAndTokenRestriction
      envelopeEncryption:
        contentKeys:
          defaultKey:
            label: aesDefaultKey
        customKeyAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}
        enabledProtocols:
          dash: true
          download: false
          hls: true
          smoothStreaming: true
      resourceGroupName: contoso
      streamingPolicyName: UserCreatedSecureStreamingPolicyWithEnvelopeEncryptionOnly

Creates a Streaming Policy with secure streaming

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var streamingPolicy = new AzureNative.Media.StreamingPolicy("streamingPolicy", new()
    {
        AccountName = "contosomedia",
        CommonEncryptionCbcs = new AzureNative.Media.Inputs.CommonEncryptionCbcsArgs
        {
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "cbcsDefaultKey",
                },
            },
            Drm = new AzureNative.Media.Inputs.CbcsDrmConfigurationArgs
            {
                FairPlay = new AzureNative.Media.Inputs.StreamingPolicyFairPlayConfigurationArgs
                {
                    AllowPersistentLicense = true,
                    CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
                },
            },
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = false,
                Download = false,
                Hls = true,
                SmoothStreaming = false,
            },
        },
        CommonEncryptionCenc = new AzureNative.Media.Inputs.CommonEncryptionCencArgs
        {
            ClearTracks = new[]
            {
                new AzureNative.Media.Inputs.TrackSelectionArgs
                {
                    TrackSelections = new[]
                    {
                        new AzureNative.Media.Inputs.TrackPropertyConditionArgs
                        {
                            Operation = "Equal",
                            Property = "FourCC",
                            Value = "hev1",
                        },
                    },
                },
            },
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "cencDefaultKey",
                },
            },
            Drm = new AzureNative.Media.Inputs.CencDrmConfigurationArgs
            {
                PlayReady = new AzureNative.Media.Inputs.StreamingPolicyPlayReadyConfigurationArgs
                {
                    CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                    PlayReadyCustomAttributes = "PlayReady CustomAttributes",
                },
                Widevine = new AzureNative.Media.Inputs.StreamingPolicyWidevineConfigurationArgs
                {
                    CustomLicenseAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
                },
            },
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = true,
                Download = false,
                Hls = false,
                SmoothStreaming = true,
            },
        },
        DefaultContentKeyPolicyName = "PolicyWithMultipleOptions",
        EnvelopeEncryption = new AzureNative.Media.Inputs.EnvelopeEncryptionArgs
        {
            ContentKeys = new AzureNative.Media.Inputs.StreamingPolicyContentKeysArgs
            {
                DefaultKey = new AzureNative.Media.Inputs.DefaultKeyArgs
                {
                    Label = "aesDefaultKey",
                },
            },
            CustomKeyAcquisitionUrlTemplate = "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
            EnabledProtocols = new AzureNative.Media.Inputs.EnabledProtocolsArgs
            {
                Dash = true,
                Download = false,
                Hls = true,
                SmoothStreaming = true,
            },
        },
        ResourceGroupName = "contoso",
        StreamingPolicyName = "UserCreatedSecureStreamingPolicy",
    });

});

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.StreamingPolicy;
import com.pulumi.azurenative.media.StreamingPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var streamingPolicy = new StreamingPolicy("streamingPolicy", StreamingPolicyArgs.builder()        
            .accountName("contosomedia")
            .commonEncryptionCbcs(Map.ofEntries(
                Map.entry("contentKeys", Map.of("defaultKey", Map.of("label", "cbcsDefaultKey"))),
                Map.entry("drm", Map.of("fairPlay", Map.ofEntries(
                    Map.entry("allowPersistentLicense", true),
                    Map.entry("customLicenseAcquisitionUrlTemplate", "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}")
                ))),
                Map.entry("enabledProtocols", Map.ofEntries(
                    Map.entry("dash", false),
                    Map.entry("download", false),
                    Map.entry("hls", true),
                    Map.entry("smoothStreaming", false)
                ))
            ))
            .commonEncryptionCenc(Map.ofEntries(
                Map.entry("clearTracks", Map.of("trackSelections", Map.ofEntries(
                    Map.entry("operation", "Equal"),
                    Map.entry("property", "FourCC"),
                    Map.entry("value", "hev1")
                ))),
                Map.entry("contentKeys", Map.of("defaultKey", Map.of("label", "cencDefaultKey"))),
                Map.entry("drm", Map.ofEntries(
                    Map.entry("playReady", Map.ofEntries(
                        Map.entry("customLicenseAcquisitionUrlTemplate", "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}"),
                        Map.entry("playReadyCustomAttributes", "PlayReady CustomAttributes")
                    )),
                    Map.entry("widevine", Map.of("customLicenseAcquisitionUrlTemplate", "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId"))
                )),
                Map.entry("enabledProtocols", Map.ofEntries(
                    Map.entry("dash", true),
                    Map.entry("download", false),
                    Map.entry("hls", false),
                    Map.entry("smoothStreaming", true)
                ))
            ))
            .defaultContentKeyPolicyName("PolicyWithMultipleOptions")
            .envelopeEncryption(Map.ofEntries(
                Map.entry("contentKeys", Map.of("defaultKey", Map.of("label", "aesDefaultKey"))),
                Map.entry("customKeyAcquisitionUrlTemplate", "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}"),
                Map.entry("enabledProtocols", Map.ofEntries(
                    Map.entry("dash", true),
                    Map.entry("download", false),
                    Map.entry("hls", true),
                    Map.entry("smoothStreaming", true)
                ))
            ))
            .resourceGroupName("contoso")
            .streamingPolicyName("UserCreatedSecureStreamingPolicy")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

streaming_policy = azure_native.media.StreamingPolicy("streamingPolicy",
    account_name="contosomedia",
    common_encryption_cbcs=azure_native.media.CommonEncryptionCbcsResponseArgs(
        content_keys={
            "defaultKey": azure_native.media.DefaultKeyArgs(
                label="cbcsDefaultKey",
            ),
        },
        drm={
            "fairPlay": azure_native.media.StreamingPolicyFairPlayConfigurationArgs(
                allow_persistent_license=True,
                custom_license_acquisition_url_template="https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
            ),
        },
        enabled_protocols=azure_native.media.EnabledProtocolsArgs(
            dash=False,
            download=False,
            hls=True,
            smooth_streaming=False,
        ),
    ),
    common_encryption_cenc=azure_native.media.CommonEncryptionCencResponseArgs(
        clear_tracks=[{
            "trackSelections": [azure_native.media.TrackPropertyConditionArgs(
                operation="Equal",
                property="FourCC",
                value="hev1",
            )],
        }],
        content_keys={
            "defaultKey": azure_native.media.DefaultKeyArgs(
                label="cencDefaultKey",
            ),
        },
        drm={
            "playReady": azure_native.media.StreamingPolicyPlayReadyConfigurationArgs(
                custom_license_acquisition_url_template="https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                play_ready_custom_attributes="PlayReady CustomAttributes",
            ),
            "widevine": azure_native.media.StreamingPolicyWidevineConfigurationArgs(
                custom_license_acquisition_url_template="https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
            ),
        },
        enabled_protocols=azure_native.media.EnabledProtocolsArgs(
            dash=True,
            download=False,
            hls=False,
            smooth_streaming=True,
        ),
    ),
    default_content_key_policy_name="PolicyWithMultipleOptions",
    envelope_encryption=azure_native.media.EnvelopeEncryptionResponseArgs(
        content_keys={
            "defaultKey": azure_native.media.DefaultKeyArgs(
                label="aesDefaultKey",
            ),
        },
        custom_key_acquisition_url_template="https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
        enabled_protocols=azure_native.media.EnabledProtocolsArgs(
            dash=True,
            download=False,
            hls=True,
            smooth_streaming=True,
        ),
    ),
    resource_group_name="contoso",
    streaming_policy_name="UserCreatedSecureStreamingPolicy")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const streamingPolicy = new azure_native.media.StreamingPolicy("streamingPolicy", {
    accountName: "contosomedia",
    commonEncryptionCbcs: {
        contentKeys: {
            defaultKey: {
                label: "cbcsDefaultKey",
            },
        },
        drm: {
            fairPlay: {
                allowPersistentLicense: true,
                customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}",
            },
        },
        enabledProtocols: {
            dash: false,
            download: false,
            hls: true,
            smoothStreaming: false,
        },
    },
    commonEncryptionCenc: {
        clearTracks: [{
            trackSelections: [{
                operation: "Equal",
                property: "FourCC",
                value: "hev1",
            }],
        }],
        contentKeys: {
            defaultKey: {
                label: "cencDefaultKey",
            },
        },
        drm: {
            playReady: {
                customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}",
                playReadyCustomAttributes: "PlayReady CustomAttributes",
            },
            widevine: {
                customLicenseAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId",
            },
        },
        enabledProtocols: {
            dash: true,
            download: false,
            hls: false,
            smoothStreaming: true,
        },
    },
    defaultContentKeyPolicyName: "PolicyWithMultipleOptions",
    envelopeEncryption: {
        contentKeys: {
            defaultKey: {
                label: "aesDefaultKey",
            },
        },
        customKeyAcquisitionUrlTemplate: "https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}",
        enabledProtocols: {
            dash: true,
            download: false,
            hls: true,
            smoothStreaming: true,
        },
    },
    resourceGroupName: "contoso",
    streamingPolicyName: "UserCreatedSecureStreamingPolicy",
});
resources:
  streamingPolicy:
    type: azure-native:media:StreamingPolicy
    properties:
      accountName: contosomedia
      commonEncryptionCbcs:
        contentKeys:
          defaultKey:
            label: cbcsDefaultKey
        drm:
          fairPlay:
            allowPersistentLicense: true
            customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/fairplay/{ContentKeyId}
        enabledProtocols:
          dash: false
          download: false
          hls: true
          smoothStreaming: false
      commonEncryptionCenc:
        clearTracks:
          - trackSelections:
              - operation: Equal
                property: FourCC
                value: hev1
        contentKeys:
          defaultKey:
            label: cencDefaultKey
        drm:
          playReady:
            customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/playready/{ContentKeyId}
            playReadyCustomAttributes: PlayReady CustomAttributes
          widevine:
            customLicenseAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/widevine/{ContentKeyId
        enabledProtocols:
          dash: true
          download: false
          hls: false
          smoothStreaming: true
      defaultContentKeyPolicyName: PolicyWithMultipleOptions
      envelopeEncryption:
        contentKeys:
          defaultKey:
            label: aesDefaultKey
        customKeyAcquisitionUrlTemplate: https://contoso.com/{AssetAlternativeId}/envelope/{ContentKeyId}
        enabledProtocols:
          dash: true
          download: false
          hls: true
          smoothStreaming: true
      resourceGroupName: contoso
      streamingPolicyName: UserCreatedSecureStreamingPolicy

Create StreamingPolicy Resource

new StreamingPolicy(name: string, args: StreamingPolicyArgs, opts?: CustomResourceOptions);
@overload
def StreamingPolicy(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    account_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,
                    resource_group_name: Optional[str] = None,
                    streaming_policy_name: Optional[str] = None)
@overload
def StreamingPolicy(resource_name: str,
                    args: StreamingPolicyArgs,
                    opts: Optional[ResourceOptions] = 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.

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.

StreamingPolicy Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The StreamingPolicy resource accepts the following input properties:

AccountName string

The Media Services account name.

ResourceGroupName string

The name of the resource group within the Azure subscription.

CommonEncryptionCbcs Pulumi.AzureNative.Media.Inputs.CommonEncryptionCbcsArgs

Configuration of CommonEncryptionCbcs

CommonEncryptionCenc Pulumi.AzureNative.Media.Inputs.CommonEncryptionCencArgs

Configuration of CommonEncryptionCenc

DefaultContentKeyPolicyName string

Default ContentKey used by current Streaming Policy

EnvelopeEncryption Pulumi.AzureNative.Media.Inputs.EnvelopeEncryptionArgs

Configuration of EnvelopeEncryption

NoEncryption Pulumi.AzureNative.Media.Inputs.NoEncryptionArgs

Configurations of NoEncryption

StreamingPolicyName string

The Streaming Policy name.

AccountName string

The Media Services account name.

ResourceGroupName string

The name of the resource group within the Azure subscription.

CommonEncryptionCbcs CommonEncryptionCbcsArgs

Configuration of CommonEncryptionCbcs

CommonEncryptionCenc CommonEncryptionCencArgs

Configuration of CommonEncryptionCenc

DefaultContentKeyPolicyName string

Default ContentKey used by current Streaming Policy

EnvelopeEncryption EnvelopeEncryptionArgs

Configuration of EnvelopeEncryption

NoEncryption NoEncryptionArgs

Configurations of NoEncryption

StreamingPolicyName string

The Streaming Policy name.

accountName String

The Media Services account name.

resourceGroupName String

The name of the resource group within the Azure subscription.

commonEncryptionCbcs CommonEncryptionCbcsArgs

Configuration of CommonEncryptionCbcs

commonEncryptionCenc CommonEncryptionCencArgs

Configuration of CommonEncryptionCenc

defaultContentKeyPolicyName String

Default ContentKey used by current Streaming Policy

envelopeEncryption EnvelopeEncryptionArgs

Configuration of EnvelopeEncryption

noEncryption NoEncryptionArgs

Configurations of NoEncryption

streamingPolicyName String

The Streaming Policy name.

accountName string

The Media Services account name.

resourceGroupName string

The name of the resource group within the Azure subscription.

commonEncryptionCbcs CommonEncryptionCbcsArgs

Configuration of CommonEncryptionCbcs

commonEncryptionCenc CommonEncryptionCencArgs

Configuration of CommonEncryptionCenc

defaultContentKeyPolicyName string

Default ContentKey used by current Streaming Policy

envelopeEncryption EnvelopeEncryptionArgs

Configuration of EnvelopeEncryption

noEncryption NoEncryptionArgs

Configurations of NoEncryption

streamingPolicyName string

The Streaming Policy name.

account_name str

The Media Services account name.

resource_group_name str

The name of the resource group within the Azure subscription.

common_encryption_cbcs CommonEncryptionCbcsArgs

Configuration of CommonEncryptionCbcs

common_encryption_cenc CommonEncryptionCencArgs

Configuration of CommonEncryptionCenc

default_content_key_policy_name str

Default ContentKey used by current Streaming Policy

envelope_encryption EnvelopeEncryptionArgs

Configuration of EnvelopeEncryption

no_encryption NoEncryptionArgs

Configurations of NoEncryption

streaming_policy_name str

The Streaming Policy name.

accountName String

The Media Services account name.

resourceGroupName String

The name of the resource group within the Azure subscription.

commonEncryptionCbcs Property Map

Configuration of CommonEncryptionCbcs

commonEncryptionCenc Property Map

Configuration of CommonEncryptionCenc

defaultContentKeyPolicyName String

Default ContentKey used by current Streaming Policy

envelopeEncryption Property Map

Configuration of EnvelopeEncryption

noEncryption Property Map

Configurations of NoEncryption

streamingPolicyName String

The Streaming Policy name.

Outputs

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

Created string

Creation time of Streaming Policy

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource

SystemData Pulumi.AzureNative.Media.Outputs.SystemDataResponse

The system metadata relating to this resource.

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Created string

Creation time of Streaming Policy

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the resource

SystemData SystemDataResponse

The system metadata relating to this resource.

Type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

created String

Creation time of Streaming Policy

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource

systemData SystemDataResponse

The system metadata relating to this resource.

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

created string

Creation time of Streaming Policy

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the resource

systemData SystemDataResponse

The system metadata relating to this resource.

type string

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

created str

Creation time of Streaming Policy

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the resource

system_data SystemDataResponse

The system metadata relating to this resource.

type str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

created String

Creation time of Streaming Policy

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the resource

systemData Property Map

The system metadata relating to this resource.

type String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

CbcsDrmConfiguration

fairPlay Property Map

FairPlay configurations

playReady Property Map

PlayReady configurations

widevine Property Map

Widevine configurations

CbcsDrmConfigurationResponse

fairPlay Property Map

FairPlay configurations

playReady Property Map

PlayReady configurations

widevine Property Map

Widevine configurations

CencDrmConfiguration

playReady Property Map

PlayReady configurations

widevine Property Map

Widevine configurations

CencDrmConfigurationResponse

playReady Property Map

PlayReady configurations

widevine Property Map

Widevine configurations

CommonEncryptionCbcs

ClearTracks List<Pulumi.AzureNative.Media.Inputs.TrackSelection>

Representing which tracks should not be encrypted

ContentKeys Pulumi.AzureNative.Media.Inputs.StreamingPolicyContentKeys

Representing default content key for each encryption scheme and separate content keys for specific tracks

Drm Pulumi.AzureNative.Media.Inputs.CbcsDrmConfiguration

Configuration of DRMs for current encryption scheme

EnabledProtocols Pulumi.AzureNative.Media.Inputs.EnabledProtocols

Representing supported protocols

ClearTracks []TrackSelection

Representing which tracks should not be encrypted

ContentKeys StreamingPolicyContentKeys

Representing default content key for each encryption scheme and separate content keys for specific tracks

Drm CbcsDrmConfiguration

Configuration of DRMs for current encryption scheme

EnabledProtocols EnabledProtocols

Representing supported protocols

clearTracks List<TrackSelection>

Representing which tracks should not be encrypted

contentKeys StreamingPolicyContentKeys

Representing default content key for each encryption scheme and separate content keys for specific tracks

drm CbcsDrmConfiguration

Configuration of DRMs for current encryption scheme

enabledProtocols EnabledProtocols

Representing supported protocols

clearTracks TrackSelection[]

Representing which tracks should not be encrypted

contentKeys StreamingPolicyContentKeys

Representing default content key for each encryption scheme and separate content keys for specific tracks

drm CbcsDrmConfiguration

Configuration of DRMs for current encryption scheme

enabledProtocols EnabledProtocols

Representing supported protocols

clear_tracks Sequence[TrackSelection]

Representing which tracks should not be encrypted

content_keys StreamingPolicyContentKeys

Representing default content key for each encryption scheme and separate content keys for specific tracks

drm CbcsDrmConfiguration

Configuration of DRMs for current encryption scheme

enabled_protocols EnabledProtocols

Representing supported protocols

clearTracks List<Property Map>

Representing which tracks should not be encrypted

contentKeys Property Map

Representing default content key for each encryption scheme and separate content keys for specific tracks

drm Property Map

Configuration of DRMs for current encryption scheme

enabledProtocols Property Map

Representing supported protocols

CommonEncryptionCbcsResponse

ClearTracks List<Pulumi.AzureNative.Media.Inputs.TrackSelectionResponse>

Representing which tracks should not be encrypted

ContentKeys Pulumi.AzureNative.Media.Inputs.StreamingPolicyContentKeysResponse

Representing default content key for each encryption scheme and separate content keys for specific tracks

Drm Pulumi.AzureNative.Media.Inputs.CbcsDrmConfigurationResponse

Configuration of DRMs for current encryption scheme

EnabledProtocols Pulumi.AzureNative.Media.Inputs.EnabledProtocolsResponse

Representing supported protocols

ClearTracks []TrackSelectionResponse

Representing which tracks should not be encrypted

ContentKeys StreamingPolicyContentKeysResponse

Representing default content key for each encryption scheme and separate content keys for specific tracks

Drm CbcsDrmConfigurationResponse

Configuration of DRMs for current encryption scheme

EnabledProtocols EnabledProtocolsResponse

Representing supported protocols

clearTracks List<TrackSelectionResponse>

Representing which tracks should not be encrypted

contentKeys StreamingPolicyContentKeysResponse

Representing default content key for each encryption scheme and separate content keys for specific tracks

drm CbcsDrmConfigurationResponse

Configuration of DRMs for current encryption scheme

enabledProtocols EnabledProtocolsResponse

Representing supported protocols

clearTracks TrackSelectionResponse[]

Representing which tracks should not be encrypted

contentKeys StreamingPolicyContentKeysResponse

Representing default content key for each encryption scheme and separate content keys for specific tracks

drm CbcsDrmConfigurationResponse

Configuration of DRMs for current encryption scheme

enabledProtocols EnabledProtocolsResponse

Representing supported protocols

clear_tracks Sequence[TrackSelectionResponse]

Representing which tracks should not be encrypted

content_keys StreamingPolicyContentKeysResponse

Representing default content key for each encryption scheme and separate content keys for specific tracks

drm CbcsDrmConfigurationResponse

Configuration of DRMs for current encryption scheme

enabled_protocols EnabledProtocolsResponse

Representing supported protocols

clearTracks List<Property Map>

Representing which tracks should not be encrypted

contentKeys Property Map

Representing default content key for each encryption scheme and separate content keys for specific tracks

drm Property Map

Configuration of DRMs for current encryption scheme

enabledProtocols Property Map

Representing supported protocols

CommonEncryptionCenc

ClearTracks List<Pulumi.AzureNative.Media.Inputs.TrackSelection>

Representing which tracks should not be encrypted

ContentKeys Pulumi.AzureNative.Media.Inputs.StreamingPolicyContentKeys

Representing default content key for each encryption scheme and separate content keys for specific tracks

Drm Pulumi.AzureNative.Media.Inputs.CencDrmConfiguration

Configuration of DRMs for CommonEncryptionCenc encryption scheme

EnabledProtocols Pulumi.AzureNative.Media.Inputs.EnabledProtocols

Representing supported protocols

ClearTracks []TrackSelection

Representing which tracks should not be encrypted

ContentKeys StreamingPolicyContentKeys

Representing default content key for each encryption scheme and separate content keys for specific tracks

Drm CencDrmConfiguration

Configuration of DRMs for CommonEncryptionCenc encryption scheme

EnabledProtocols EnabledProtocols

Representing supported protocols

clearTracks List<TrackSelection>

Representing which tracks should not be encrypted

contentKeys StreamingPolicyContentKeys

Representing default content key for each encryption scheme and separate content keys for specific tracks

drm CencDrmConfiguration

Configuration of DRMs for CommonEncryptionCenc encryption scheme

enabledProtocols EnabledProtocols

Representing supported protocols

clearTracks TrackSelection[]

Representing which tracks should not be encrypted

contentKeys StreamingPolicyContentKeys

Representing default content key for each encryption scheme and separate content keys for specific tracks

drm CencDrmConfiguration

Configuration of DRMs for CommonEncryptionCenc encryption scheme

enabledProtocols EnabledProtocols

Representing supported protocols

clear_tracks Sequence[TrackSelection]

Representing which tracks should not be encrypted

content_keys StreamingPolicyContentKeys

Representing default content key for each encryption scheme and separate content keys for specific tracks

drm CencDrmConfiguration

Configuration of DRMs for CommonEncryptionCenc encryption scheme

enabled_protocols EnabledProtocols

Representing supported protocols

clearTracks List<Property Map>

Representing which tracks should not be encrypted

contentKeys Property Map

Representing default content key for each encryption scheme and separate content keys for specific tracks

drm Property Map

Configuration of DRMs for CommonEncryptionCenc encryption scheme

enabledProtocols Property Map

Representing supported protocols

CommonEncryptionCencResponse

ClearTracks List<Pulumi.AzureNative.Media.Inputs.TrackSelectionResponse>

Representing which tracks should not be encrypted

ContentKeys Pulumi.AzureNative.Media.Inputs.StreamingPolicyContentKeysResponse

Representing default content key for each encryption scheme and separate content keys for specific tracks

Drm Pulumi.AzureNative.Media.Inputs.CencDrmConfigurationResponse

Configuration of DRMs for CommonEncryptionCenc encryption scheme

EnabledProtocols Pulumi.AzureNative.Media.Inputs.EnabledProtocolsResponse

Representing supported protocols

ClearTracks []TrackSelectionResponse

Representing which tracks should not be encrypted

ContentKeys StreamingPolicyContentKeysResponse

Representing default content key for each encryption scheme and separate content keys for specific tracks

Drm CencDrmConfigurationResponse

Configuration of DRMs for CommonEncryptionCenc encryption scheme

EnabledProtocols EnabledProtocolsResponse

Representing supported protocols

clearTracks List<TrackSelectionResponse>

Representing which tracks should not be encrypted

contentKeys StreamingPolicyContentKeysResponse

Representing default content key for each encryption scheme and separate content keys for specific tracks

drm CencDrmConfigurationResponse

Configuration of DRMs for CommonEncryptionCenc encryption scheme

enabledProtocols EnabledProtocolsResponse

Representing supported protocols

clearTracks TrackSelectionResponse[]

Representing which tracks should not be encrypted

contentKeys StreamingPolicyContentKeysResponse

Representing default content key for each encryption scheme and separate content keys for specific tracks

drm CencDrmConfigurationResponse

Configuration of DRMs for CommonEncryptionCenc encryption scheme

enabledProtocols EnabledProtocolsResponse

Representing supported protocols

clear_tracks Sequence[TrackSelectionResponse]

Representing which tracks should not be encrypted

content_keys StreamingPolicyContentKeysResponse

Representing default content key for each encryption scheme and separate content keys for specific tracks

drm CencDrmConfigurationResponse

Configuration of DRMs for CommonEncryptionCenc encryption scheme

enabled_protocols EnabledProtocolsResponse

Representing supported protocols

clearTracks List<Property Map>

Representing which tracks should not be encrypted

contentKeys Property Map

Representing default content key for each encryption scheme and separate content keys for specific tracks

drm Property Map

Configuration of DRMs for CommonEncryptionCenc encryption scheme

enabledProtocols Property Map

Representing supported protocols

DefaultKey

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

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

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

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

ClearTracks List<Pulumi.AzureNative.Media.Inputs.TrackSelection>

Representing which tracks should not be encrypted

ContentKeys Pulumi.AzureNative.Media.Inputs.StreamingPolicyContentKeys

Representing default content key for each encryption scheme and separate content keys for specific tracks

CustomKeyAcquisitionUrlTemplate string

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

EnabledProtocols Pulumi.AzureNative.Media.Inputs.EnabledProtocols

Representing supported protocols

ClearTracks []TrackSelection

Representing which tracks should not be encrypted

ContentKeys StreamingPolicyContentKeys

Representing default content key for each encryption scheme and separate content keys for specific tracks

CustomKeyAcquisitionUrlTemplate string

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

EnabledProtocols EnabledProtocols

Representing supported protocols

clearTracks List<TrackSelection>

Representing which tracks should not be encrypted

contentKeys StreamingPolicyContentKeys

Representing default content key for each encryption scheme and separate content keys for specific tracks

customKeyAcquisitionUrlTemplate String

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

enabledProtocols EnabledProtocols

Representing supported protocols

clearTracks TrackSelection[]

Representing which tracks should not be encrypted

contentKeys StreamingPolicyContentKeys

Representing default content key for each encryption scheme and separate content keys for specific tracks

customKeyAcquisitionUrlTemplate string

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

enabledProtocols EnabledProtocols

Representing supported protocols

clear_tracks Sequence[TrackSelection]

Representing which tracks should not be encrypted

content_keys StreamingPolicyContentKeys

Representing default content key for each encryption scheme and separate content keys for specific tracks

custom_key_acquisition_url_template str

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

enabled_protocols EnabledProtocols

Representing supported protocols

clearTracks List<Property Map>

Representing which tracks should not be encrypted

contentKeys Property Map

Representing default content key for each encryption scheme and separate content keys for specific tracks

customKeyAcquisitionUrlTemplate String

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

enabledProtocols Property Map

Representing supported protocols

EnvelopeEncryptionResponse

ClearTracks List<Pulumi.AzureNative.Media.Inputs.TrackSelectionResponse>

Representing which tracks should not be encrypted

ContentKeys Pulumi.AzureNative.Media.Inputs.StreamingPolicyContentKeysResponse

Representing default content key for each encryption scheme and separate content keys for specific tracks

CustomKeyAcquisitionUrlTemplate string

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

EnabledProtocols Pulumi.AzureNative.Media.Inputs.EnabledProtocolsResponse

Representing supported protocols

ClearTracks []TrackSelectionResponse

Representing which tracks should not be encrypted

ContentKeys StreamingPolicyContentKeysResponse

Representing default content key for each encryption scheme and separate content keys for specific tracks

CustomKeyAcquisitionUrlTemplate string

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

EnabledProtocols EnabledProtocolsResponse

Representing supported protocols

clearTracks List<TrackSelectionResponse>

Representing which tracks should not be encrypted

contentKeys StreamingPolicyContentKeysResponse

Representing default content key for each encryption scheme and separate content keys for specific tracks

customKeyAcquisitionUrlTemplate String

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

enabledProtocols EnabledProtocolsResponse

Representing supported protocols

clearTracks TrackSelectionResponse[]

Representing which tracks should not be encrypted

contentKeys StreamingPolicyContentKeysResponse

Representing default content key for each encryption scheme and separate content keys for specific tracks

customKeyAcquisitionUrlTemplate string

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

enabledProtocols EnabledProtocolsResponse

Representing supported protocols

clear_tracks Sequence[TrackSelectionResponse]

Representing which tracks should not be encrypted

content_keys StreamingPolicyContentKeysResponse

Representing default content key for each encryption scheme and separate content keys for specific tracks

custom_key_acquisition_url_template str

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

enabled_protocols EnabledProtocolsResponse

Representing supported protocols

clearTracks List<Property Map>

Representing which tracks should not be encrypted

contentKeys Property Map

Representing default content key for each encryption scheme and separate content keys for specific tracks

customKeyAcquisitionUrlTemplate String

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

enabledProtocols Property Map

Representing supported protocols

NoEncryption

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

EnabledProtocols EnabledProtocolsResponse

Representing supported protocols

enabledProtocols EnabledProtocolsResponse

Representing supported protocols

enabledProtocols EnabledProtocolsResponse

Representing supported protocols

enabled_protocols EnabledProtocolsResponse

Representing supported protocols

enabledProtocols Property Map

Representing supported protocols

StreamingPolicyContentKey

Label string

Label can be used to specify Content Key when creating a Streaming Locator

PolicyName string

Policy used by Content Key

Tracks List<Pulumi.AzureNative.Media.Inputs.TrackSelection>

Tracks which use this content key

Label string

Label can be used to specify Content Key when creating a Streaming Locator

PolicyName string

Policy used by Content Key

Tracks []TrackSelection

Tracks which use this content key

label String

Label can be used to specify Content Key when creating a Streaming Locator

policyName String

Policy used by Content Key

tracks List<TrackSelection>

Tracks which use this content key

label string

Label can be used to specify Content Key when creating a Streaming Locator

policyName string

Policy used by Content Key

tracks TrackSelection[]

Tracks which use this content key

label str

Label can be used to specify Content Key when creating a Streaming Locator

policy_name str

Policy used by Content Key

tracks Sequence[TrackSelection]

Tracks which use this content key

label String

Label can be used to specify Content Key when creating a Streaming Locator

policyName String

Policy used by Content Key

tracks List<Property Map>

Tracks which use this content key

StreamingPolicyContentKeyResponse

Label string

Label can be used to specify Content Key when creating a Streaming Locator

PolicyName string

Policy used by Content Key

Tracks List<Pulumi.AzureNative.Media.Inputs.TrackSelectionResponse>

Tracks which use this content key

Label string

Label can be used to specify Content Key when creating a Streaming Locator

PolicyName string

Policy used by Content Key

Tracks []TrackSelectionResponse

Tracks which use this content key

label String

Label can be used to specify Content Key when creating a Streaming Locator

policyName String

Policy used by Content Key

tracks List<TrackSelectionResponse>

Tracks which use this content key

label string

Label can be used to specify Content Key when creating a Streaming Locator

policyName string

Policy used by Content Key

tracks TrackSelectionResponse[]

Tracks which use this content key

label str

Label can be used to specify Content Key when creating a Streaming Locator

policy_name str

Policy used by Content Key

tracks Sequence[TrackSelectionResponse]

Tracks which use this content key

label String

Label can be used to specify Content Key when creating a Streaming Locator

policyName String

Policy used by Content Key

tracks List<Property Map>

Tracks which use this content key

StreamingPolicyContentKeys

DefaultKey Pulumi.AzureNative.Media.Inputs.DefaultKey

Default content key for an encryption scheme

KeyToTrackMappings List<Pulumi.AzureNative.Media.Inputs.StreamingPolicyContentKey>

Representing tracks needs separate content key

DefaultKey DefaultKey

Default content key for an encryption scheme

KeyToTrackMappings []StreamingPolicyContentKey

Representing tracks needs separate content key

defaultKey DefaultKey

Default content key for an encryption scheme

keyToTrackMappings List<StreamingPolicyContentKey>

Representing tracks needs separate content key

defaultKey DefaultKey

Default content key for an encryption scheme

keyToTrackMappings StreamingPolicyContentKey[]

Representing tracks needs separate content key

default_key DefaultKey

Default content key for an encryption scheme

key_to_track_mappings Sequence[StreamingPolicyContentKey]

Representing tracks needs separate content key

defaultKey Property Map

Default content key for an encryption scheme

keyToTrackMappings List<Property Map>

Representing tracks needs separate content key

StreamingPolicyContentKeysResponse

DefaultKey DefaultKeyResponse

Default content key for an encryption scheme

KeyToTrackMappings []StreamingPolicyContentKeyResponse

Representing tracks needs separate content key

defaultKey DefaultKeyResponse

Default content key for an encryption scheme

keyToTrackMappings List<StreamingPolicyContentKeyResponse>

Representing tracks needs separate content key

defaultKey DefaultKeyResponse

Default content key for an encryption scheme

keyToTrackMappings StreamingPolicyContentKeyResponse[]

Representing tracks needs separate content key

default_key DefaultKeyResponse

Default content key for an encryption scheme

key_to_track_mappings Sequence[StreamingPolicyContentKeyResponse]

Representing tracks needs separate content key

defaultKey Property Map

Default content key for an encryption scheme

keyToTrackMappings List<Property Map>

Representing tracks needs separate content key

StreamingPolicyFairPlayConfiguration

AllowPersistentLicense bool

All license to be persistent or not

CustomLicenseAcquisitionUrlTemplate string

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

AllowPersistentLicense bool

All license to be persistent or not

CustomLicenseAcquisitionUrlTemplate string

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

allowPersistentLicense Boolean

All license to be persistent or not

customLicenseAcquisitionUrlTemplate String

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

allowPersistentLicense boolean

All license to be persistent or not

customLicenseAcquisitionUrlTemplate string

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

allow_persistent_license bool

All license to be persistent or not

custom_license_acquisition_url_template str

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

allowPersistentLicense Boolean

All license to be persistent or not

customLicenseAcquisitionUrlTemplate String

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

StreamingPolicyFairPlayConfigurationResponse

AllowPersistentLicense bool

All license to be persistent or not

CustomLicenseAcquisitionUrlTemplate string

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

AllowPersistentLicense bool

All license to be persistent or not

CustomLicenseAcquisitionUrlTemplate string

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

allowPersistentLicense Boolean

All license to be persistent or not

customLicenseAcquisitionUrlTemplate String

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

allowPersistentLicense boolean

All license to be persistent or not

customLicenseAcquisitionUrlTemplate string

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

allow_persistent_license bool

All license to be persistent or not

custom_license_acquisition_url_template str

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

allowPersistentLicense Boolean

All license to be persistent or not

customLicenseAcquisitionUrlTemplate String

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

StreamingPolicyPlayReadyConfiguration

CustomLicenseAcquisitionUrlTemplate string

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

PlayReadyCustomAttributes string

Custom attributes for PlayReady

CustomLicenseAcquisitionUrlTemplate string

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

PlayReadyCustomAttributes string

Custom attributes for PlayReady

customLicenseAcquisitionUrlTemplate String

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

playReadyCustomAttributes String

Custom attributes for PlayReady

customLicenseAcquisitionUrlTemplate string

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

playReadyCustomAttributes string

Custom attributes for PlayReady

custom_license_acquisition_url_template str

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

play_ready_custom_attributes str

Custom attributes for PlayReady

customLicenseAcquisitionUrlTemplate String

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

playReadyCustomAttributes String

Custom attributes for PlayReady

StreamingPolicyPlayReadyConfigurationResponse

CustomLicenseAcquisitionUrlTemplate string

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

PlayReadyCustomAttributes string

Custom attributes for PlayReady

CustomLicenseAcquisitionUrlTemplate string

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

PlayReadyCustomAttributes string

Custom attributes for PlayReady

customLicenseAcquisitionUrlTemplate String

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

playReadyCustomAttributes String

Custom attributes for PlayReady

customLicenseAcquisitionUrlTemplate string

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

playReadyCustomAttributes string

Custom attributes for PlayReady

custom_license_acquisition_url_template str

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

play_ready_custom_attributes str

Custom attributes for PlayReady

customLicenseAcquisitionUrlTemplate String

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

playReadyCustomAttributes String

Custom attributes for PlayReady

StreamingPolicyWidevineConfiguration

CustomLicenseAcquisitionUrlTemplate string

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

CustomLicenseAcquisitionUrlTemplate string

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

customLicenseAcquisitionUrlTemplate String

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

customLicenseAcquisitionUrlTemplate string

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

custom_license_acquisition_url_template str

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

customLicenseAcquisitionUrlTemplate String

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

StreamingPolicyWidevineConfigurationResponse

CustomLicenseAcquisitionUrlTemplate string

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

CustomLicenseAcquisitionUrlTemplate string

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

customLicenseAcquisitionUrlTemplate String

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

customLicenseAcquisitionUrlTemplate string

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

custom_license_acquisition_url_template str

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

customLicenseAcquisitionUrlTemplate String

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

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

The type of identity that last modified the resource.

created_at str

The timestamp of resource creation (UTC).

created_by str

The identity that created the resource.

created_by_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

TrackPropertyCompareOperation

Unknown
Unknown

Unknown track property compare operation

Equal
Equal

Equal operation

TrackPropertyCompareOperationUnknown
Unknown

Unknown track property compare operation

TrackPropertyCompareOperationEqual
Equal

Equal operation

Unknown
Unknown

Unknown track property compare operation

Equal
Equal

Equal operation

Unknown
Unknown

Unknown track property compare operation

Equal
Equal

Equal operation

UNKNOWN
Unknown

Unknown track property compare operation

EQUAL
Equal

Equal operation

"Unknown"
Unknown

Unknown track property compare operation

"Equal"
Equal

Equal operation

TrackPropertyCondition

Operation string | Pulumi.AzureNative.Media.TrackPropertyCompareOperation

Track property condition operation

Property string | Pulumi.AzureNative.Media.TrackPropertyType

Track property type

Value string

Track property value

Operation string | TrackPropertyCompareOperation

Track property condition operation

Property string | TrackPropertyType

Track property type

Value string

Track property value

operation String | TrackPropertyCompareOperation

Track property condition operation

property String | TrackPropertyType

Track property type

value String

Track property value

operation string | TrackPropertyCompareOperation

Track property condition operation

property string | TrackPropertyType

Track property type

value string

Track property value

operation str | TrackPropertyCompareOperation

Track property condition operation

property str | TrackPropertyType

Track property type

value str

Track property value

operation String | "Unknown" | "Equal"

Track property condition operation

property String | "Unknown" | "FourCC"

Track property type

value String

Track property value

TrackPropertyConditionResponse

Operation string

Track property condition operation

Property string

Track property type

Value string

Track property value

Operation string

Track property condition operation

Property string

Track property type

Value string

Track property value

operation String

Track property condition operation

property String

Track property type

value String

Track property value

operation string

Track property condition operation

property string

Track property type

value string

Track property value

operation str

Track property condition operation

property str

Track property type

value str

Track property value

operation String

Track property condition operation

property String

Track property type

value String

Track property value

TrackPropertyType

Unknown
Unknown

Unknown track property

FourCC
FourCC

Track FourCC

TrackPropertyTypeUnknown
Unknown

Unknown track property

TrackPropertyTypeFourCC
FourCC

Track FourCC

Unknown
Unknown

Unknown track property

FourCC
FourCC

Track FourCC

Unknown
Unknown

Unknown track property

FourCC
FourCC

Track FourCC

UNKNOWN
Unknown

Unknown track property

FOUR_CC
FourCC

Track FourCC

"Unknown"
Unknown

Unknown track property

"FourCC"
FourCC

Track FourCC

TrackSelection

TrackSelections List<Pulumi.AzureNative.Media.Inputs.TrackPropertyCondition>

TrackSelections is a track property condition list which can specify track(s)

TrackSelections []TrackPropertyCondition

TrackSelections is a track property condition list which can specify track(s)

trackSelections List<TrackPropertyCondition>

TrackSelections is a track property condition list which can specify track(s)

trackSelections TrackPropertyCondition[]

TrackSelections is a track property condition list which can specify track(s)

track_selections Sequence[TrackPropertyCondition]

TrackSelections is a track property condition list which can specify track(s)

trackSelections List<Property Map>

TrackSelections is a track property condition list which can specify track(s)

TrackSelectionResponse

TrackSelections List<Pulumi.AzureNative.Media.Inputs.TrackPropertyConditionResponse>

TrackSelections is a track property condition list which can specify track(s)

TrackSelections []TrackPropertyConditionResponse

TrackSelections is a track property condition list which can specify track(s)

trackSelections List<TrackPropertyConditionResponse>

TrackSelections is a track property condition list which can specify track(s)

trackSelections TrackPropertyConditionResponse[]

TrackSelections is a track property condition list which can specify track(s)

track_selections Sequence[TrackPropertyConditionResponse]

TrackSelections is a track property condition list which can specify track(s)

trackSelections List<Property Map>

TrackSelections is a track property condition list which can specify track(s)

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:media:StreamingPolicy UserCreatedSecureStreamingPolicy /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/UserCreatedSecureStreamingPolicy 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0