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