azure-native.media.ContentKeyPolicy
Explore with Pulumi AI
A Content Key Policy resource. API Version: 2020-05-01.
Example Usage
Creates a Content Key Policy with ClearKey option and Token Restriction
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var contentKeyPolicy = new AzureNative.Media.ContentKeyPolicy("contentKeyPolicy", new()
{
AccountName = "contosomedia",
ContentKeyPolicyName = "PolicyWithClearKeyOptionAndSwtTokenRestriction",
Description = "ArmPolicyDescription",
Options = new[]
{
new AzureNative.Media.Inputs.ContentKeyPolicyOptionArgs
{
Configuration = new AzureNative.Media.Inputs.ContentKeyPolicyClearKeyConfigurationArgs
{
OdataType = "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
},
Name = "ClearKeyOption",
Restriction = new AzureNative.Media.Inputs.ContentKeyPolicyTokenRestrictionArgs
{
Audience = "urn:audience",
Issuer = "urn:issuer",
OdataType = "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
PrimaryVerificationKey = new AzureNative.Media.Inputs.ContentKeyPolicySymmetricTokenKeyArgs
{
KeyValue = "AAAAAAAAAAAAAAAAAAAAAA==",
OdataType = "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
},
RestrictionTokenType = "Swt",
},
},
},
ResourceGroupName = "contoso",
});
});
package main
import (
media "github.com/pulumi/pulumi-azure-native-sdk/media"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := media.NewContentKeyPolicy(ctx, "contentKeyPolicy", &media.ContentKeyPolicyArgs{
AccountName: pulumi.String("contosomedia"),
ContentKeyPolicyName: pulumi.String("PolicyWithClearKeyOptionAndSwtTokenRestriction"),
Description: pulumi.String("ArmPolicyDescription"),
Options: []media.ContentKeyPolicyOptionArgs{
{
Configuration: {
OdataType: "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
},
Name: pulumi.String("ClearKeyOption"),
Restriction: {
Audience: "urn:audience",
Issuer: "urn:issuer",
OdataType: "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
PrimaryVerificationKey: {
KeyValue: "AAAAAAAAAAAAAAAAAAAAAA==",
OdataType: "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
},
RestrictionTokenType: "Swt",
},
},
},
ResourceGroupName: pulumi.String("contoso"),
})
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.ContentKeyPolicy;
import com.pulumi.azurenative.media.ContentKeyPolicyArgs;
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 contentKeyPolicy = new ContentKeyPolicy("contentKeyPolicy", ContentKeyPolicyArgs.builder()
.accountName("contosomedia")
.contentKeyPolicyName("PolicyWithClearKeyOptionAndSwtTokenRestriction")
.description("ArmPolicyDescription")
.options(Map.ofEntries(
Map.entry("configuration", Map.of("odataType", "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration")),
Map.entry("name", "ClearKeyOption"),
Map.entry("restriction", Map.ofEntries(
Map.entry("audience", "urn:audience"),
Map.entry("issuer", "urn:issuer"),
Map.entry("odataType", "#Microsoft.Media.ContentKeyPolicyTokenRestriction"),
Map.entry("primaryVerificationKey", Map.ofEntries(
Map.entry("keyValue", "AAAAAAAAAAAAAAAAAAAAAA=="),
Map.entry("odataType", "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey")
)),
Map.entry("restrictionTokenType", "Swt")
))
))
.resourceGroupName("contoso")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
content_key_policy = azure_native.media.ContentKeyPolicy("contentKeyPolicy",
account_name="contosomedia",
content_key_policy_name="PolicyWithClearKeyOptionAndSwtTokenRestriction",
description="ArmPolicyDescription",
options=[azure_native.media.ContentKeyPolicyOptionArgs(
configuration=azure_native.media.ContentKeyPolicyClearKeyConfigurationArgs(
odata_type="#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
),
name="ClearKeyOption",
restriction=azure_native.media.ContentKeyPolicyTokenRestrictionArgs(
audience="urn:audience",
issuer="urn:issuer",
odata_type="#Microsoft.Media.ContentKeyPolicyTokenRestriction",
primary_verification_key=azure_native.media.ContentKeyPolicySymmetricTokenKeyArgs(
key_value="AAAAAAAAAAAAAAAAAAAAAA==",
odata_type="#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
),
restriction_token_type="Swt",
),
)],
resource_group_name="contoso")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const contentKeyPolicy = new azure_native.media.ContentKeyPolicy("contentKeyPolicy", {
accountName: "contosomedia",
contentKeyPolicyName: "PolicyWithClearKeyOptionAndSwtTokenRestriction",
description: "ArmPolicyDescription",
options: [{
configuration: {
odataType: "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
},
name: "ClearKeyOption",
restriction: {
audience: "urn:audience",
issuer: "urn:issuer",
odataType: "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
primaryVerificationKey: {
keyValue: "AAAAAAAAAAAAAAAAAAAAAA==",
odataType: "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
},
restrictionTokenType: "Swt",
},
}],
resourceGroupName: "contoso",
});
resources:
contentKeyPolicy:
type: azure-native:media:ContentKeyPolicy
properties:
accountName: contosomedia
contentKeyPolicyName: PolicyWithClearKeyOptionAndSwtTokenRestriction
description: ArmPolicyDescription
options:
- configuration:
odataType: '#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration'
name: ClearKeyOption
restriction:
audience: urn:audience
issuer: urn:issuer
odataType: '#Microsoft.Media.ContentKeyPolicyTokenRestriction'
primaryVerificationKey:
keyValue: AAAAAAAAAAAAAAAAAAAAAA==
odataType: '#Microsoft.Media.ContentKeyPolicySymmetricTokenKey'
restrictionTokenType: Swt
resourceGroupName: contoso
Creates a Content Key Policy with PlayReady option and Open Restriction
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var contentKeyPolicy = new AzureNative.Media.ContentKeyPolicy("contentKeyPolicy", new()
{
AccountName = "contosomedia",
ContentKeyPolicyName = "PolicyWithPlayReadyOptionAndOpenRestriction",
Description = "ArmPolicyDescription",
Options = new[]
{
new AzureNative.Media.Inputs.ContentKeyPolicyOptionArgs
{
Configuration = new AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyConfigurationArgs
{
Licenses = new[]
{
new AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyLicenseArgs
{
AllowTestDevices = true,
BeginDate = "2017-10-16T18:22:53.46Z",
ContentKeyLocation = new AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderArgs
{
OdataType = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader",
},
ContentType = "UltraVioletDownload",
LicenseType = "Persistent",
PlayRight = new AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyPlayRightArgs
{
AllowPassingVideoContentToUnknownOutput = "NotAllowed",
DigitalVideoOnlyContentRestriction = false,
ImageConstraintForAnalogComponentVideoRestriction = true,
ImageConstraintForAnalogComputerMonitorRestriction = false,
ScmsRestriction = 2,
},
},
},
OdataType = "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
},
Name = "ArmPolicyOptionName",
Restriction = new AzureNative.Media.Inputs.ContentKeyPolicyOpenRestrictionArgs
{
OdataType = "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
},
},
},
ResourceGroupName = "contoso",
});
});
package main
import (
media "github.com/pulumi/pulumi-azure-native-sdk/media"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := media.NewContentKeyPolicy(ctx, "contentKeyPolicy", &media.ContentKeyPolicyArgs{
AccountName: pulumi.String("contosomedia"),
ContentKeyPolicyName: pulumi.String("PolicyWithPlayReadyOptionAndOpenRestriction"),
Description: pulumi.String("ArmPolicyDescription"),
Options: []media.ContentKeyPolicyOptionArgs{
{
Configuration: {
Licenses: []media.ContentKeyPolicyPlayReadyLicense{
{
AllowTestDevices: true,
BeginDate: "2017-10-16T18:22:53.46Z",
ContentKeyLocation: {
OdataType: "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader",
},
ContentType: "UltraVioletDownload",
LicenseType: "Persistent",
PlayRight: {
AllowPassingVideoContentToUnknownOutput: "NotAllowed",
DigitalVideoOnlyContentRestriction: false,
ImageConstraintForAnalogComponentVideoRestriction: true,
ImageConstraintForAnalogComputerMonitorRestriction: false,
ScmsRestriction: 2,
},
},
},
OdataType: "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
},
Name: pulumi.String("ArmPolicyOptionName"),
Restriction: {
OdataType: "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
},
},
},
ResourceGroupName: pulumi.String("contoso"),
})
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.ContentKeyPolicy;
import com.pulumi.azurenative.media.ContentKeyPolicyArgs;
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 contentKeyPolicy = new ContentKeyPolicy("contentKeyPolicy", ContentKeyPolicyArgs.builder()
.accountName("contosomedia")
.contentKeyPolicyName("PolicyWithPlayReadyOptionAndOpenRestriction")
.description("ArmPolicyDescription")
.options(Map.ofEntries(
Map.entry("configuration", Map.ofEntries(
Map.entry("licenses", Map.ofEntries(
Map.entry("allowTestDevices", true),
Map.entry("beginDate", "2017-10-16T18:22:53.46Z"),
Map.entry("contentKeyLocation", Map.of("odataType", "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader")),
Map.entry("contentType", "UltraVioletDownload"),
Map.entry("licenseType", "Persistent"),
Map.entry("playRight", Map.ofEntries(
Map.entry("allowPassingVideoContentToUnknownOutput", "NotAllowed"),
Map.entry("digitalVideoOnlyContentRestriction", false),
Map.entry("imageConstraintForAnalogComponentVideoRestriction", true),
Map.entry("imageConstraintForAnalogComputerMonitorRestriction", false),
Map.entry("scmsRestriction", 2)
))
)),
Map.entry("odataType", "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration")
)),
Map.entry("name", "ArmPolicyOptionName"),
Map.entry("restriction", Map.of("odataType", "#Microsoft.Media.ContentKeyPolicyOpenRestriction"))
))
.resourceGroupName("contoso")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
content_key_policy = azure_native.media.ContentKeyPolicy("contentKeyPolicy",
account_name="contosomedia",
content_key_policy_name="PolicyWithPlayReadyOptionAndOpenRestriction",
description="ArmPolicyDescription",
options=[azure_native.media.ContentKeyPolicyOptionArgs(
configuration=azure_native.media.ContentKeyPolicyPlayReadyConfigurationArgs(
licenses=[azure_native.media.ContentKeyPolicyPlayReadyLicenseArgs(
allow_test_devices=True,
begin_date="2017-10-16T18:22:53.46Z",
content_key_location=azure_native.media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderArgs(
odata_type="#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader",
),
content_type="UltraVioletDownload",
license_type="Persistent",
play_right=azure_native.media.ContentKeyPolicyPlayReadyPlayRightArgs(
allow_passing_video_content_to_unknown_output="NotAllowed",
digital_video_only_content_restriction=False,
image_constraint_for_analog_component_video_restriction=True,
image_constraint_for_analog_computer_monitor_restriction=False,
scms_restriction=2,
),
)],
odata_type="#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
),
name="ArmPolicyOptionName",
restriction=azure_native.media.ContentKeyPolicyOpenRestrictionArgs(
odata_type="#Microsoft.Media.ContentKeyPolicyOpenRestriction",
),
)],
resource_group_name="contoso")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const contentKeyPolicy = new azure_native.media.ContentKeyPolicy("contentKeyPolicy", {
accountName: "contosomedia",
contentKeyPolicyName: "PolicyWithPlayReadyOptionAndOpenRestriction",
description: "ArmPolicyDescription",
options: [{
configuration: {
licenses: [{
allowTestDevices: true,
beginDate: "2017-10-16T18:22:53.46Z",
contentKeyLocation: {
odataType: "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader",
},
contentType: "UltraVioletDownload",
licenseType: "Persistent",
playRight: {
allowPassingVideoContentToUnknownOutput: "NotAllowed",
digitalVideoOnlyContentRestriction: false,
imageConstraintForAnalogComponentVideoRestriction: true,
imageConstraintForAnalogComputerMonitorRestriction: false,
scmsRestriction: 2,
},
}],
odataType: "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
},
name: "ArmPolicyOptionName",
restriction: {
odataType: "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
},
}],
resourceGroupName: "contoso",
});
resources:
contentKeyPolicy:
type: azure-native:media:ContentKeyPolicy
properties:
accountName: contosomedia
contentKeyPolicyName: PolicyWithPlayReadyOptionAndOpenRestriction
description: ArmPolicyDescription
options:
- configuration:
licenses:
- allowTestDevices: true
beginDate: 2017-10-16T18:22:53.46Z
contentKeyLocation:
odataType: '#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader'
contentType: UltraVioletDownload
licenseType: Persistent
playRight:
allowPassingVideoContentToUnknownOutput: NotAllowed
digitalVideoOnlyContentRestriction: false
imageConstraintForAnalogComponentVideoRestriction: true
imageConstraintForAnalogComputerMonitorRestriction: false
scmsRestriction: 2
odataType: '#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration'
name: ArmPolicyOptionName
restriction:
odataType: '#Microsoft.Media.ContentKeyPolicyOpenRestriction'
resourceGroupName: contoso
Creates a Content Key Policy with Widevine option and Token Restriction
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var contentKeyPolicy = new AzureNative.Media.ContentKeyPolicy("contentKeyPolicy", new()
{
AccountName = "contosomedia",
ContentKeyPolicyName = "PolicyWithWidevineOptionAndJwtTokenRestriction",
Description = "ArmPolicyDescription",
Options = new[]
{
new AzureNative.Media.Inputs.ContentKeyPolicyOptionArgs
{
Configuration = new AzureNative.Media.Inputs.ContentKeyPolicyWidevineConfigurationArgs
{
OdataType = "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
WidevineTemplate = "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}",
},
Name = "widevineoption",
Restriction = new AzureNative.Media.Inputs.ContentKeyPolicyTokenRestrictionArgs
{
AlternateVerificationKeys = new[]
{
new AzureNative.Media.Inputs.ContentKeyPolicySymmetricTokenKeyArgs
{
KeyValue = "AAAAAAAAAAAAAAAAAAAAAA==",
OdataType = "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
},
},
Audience = "urn:audience",
Issuer = "urn:issuer",
OdataType = "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
PrimaryVerificationKey = new AzureNative.Media.Inputs.ContentKeyPolicyRsaTokenKeyArgs
{
Exponent = "AQAB",
Modulus = "AQAD",
OdataType = "#Microsoft.Media.ContentKeyPolicyRsaTokenKey",
},
RestrictionTokenType = "Jwt",
},
},
},
ResourceGroupName = "contoso",
});
});
package main
import (
media "github.com/pulumi/pulumi-azure-native-sdk/media"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := media.NewContentKeyPolicy(ctx, "contentKeyPolicy", &media.ContentKeyPolicyArgs{
AccountName: pulumi.String("contosomedia"),
ContentKeyPolicyName: pulumi.String("PolicyWithWidevineOptionAndJwtTokenRestriction"),
Description: pulumi.String("ArmPolicyDescription"),
Options: []media.ContentKeyPolicyOptionArgs{
{
Configuration: {
OdataType: "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
WidevineTemplate: "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}",
},
Name: pulumi.String("widevineoption"),
Restriction: {
AlternateVerificationKeys: []interface{}{
{
KeyValue: "AAAAAAAAAAAAAAAAAAAAAA==",
OdataType: "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
},
},
Audience: "urn:audience",
Issuer: "urn:issuer",
OdataType: "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
PrimaryVerificationKey: {
Exponent: "AQAB",
Modulus: "AQAD",
OdataType: "#Microsoft.Media.ContentKeyPolicyRsaTokenKey",
},
RestrictionTokenType: "Jwt",
},
},
},
ResourceGroupName: pulumi.String("contoso"),
})
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.ContentKeyPolicy;
import com.pulumi.azurenative.media.ContentKeyPolicyArgs;
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 contentKeyPolicy = new ContentKeyPolicy("contentKeyPolicy", ContentKeyPolicyArgs.builder()
.accountName("contosomedia")
.contentKeyPolicyName("PolicyWithWidevineOptionAndJwtTokenRestriction")
.description("ArmPolicyDescription")
.options(Map.ofEntries(
Map.entry("configuration", Map.ofEntries(
Map.entry("odataType", "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration"),
Map.entry("widevineTemplate", "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}")
)),
Map.entry("name", "widevineoption"),
Map.entry("restriction", Map.ofEntries(
Map.entry("alternateVerificationKeys", Map.ofEntries(
Map.entry("keyValue", "AAAAAAAAAAAAAAAAAAAAAA=="),
Map.entry("odataType", "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey")
)),
Map.entry("audience", "urn:audience"),
Map.entry("issuer", "urn:issuer"),
Map.entry("odataType", "#Microsoft.Media.ContentKeyPolicyTokenRestriction"),
Map.entry("primaryVerificationKey", Map.ofEntries(
Map.entry("exponent", "AQAB"),
Map.entry("modulus", "AQAD"),
Map.entry("odataType", "#Microsoft.Media.ContentKeyPolicyRsaTokenKey")
)),
Map.entry("restrictionTokenType", "Jwt")
))
))
.resourceGroupName("contoso")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
content_key_policy = azure_native.media.ContentKeyPolicy("contentKeyPolicy",
account_name="contosomedia",
content_key_policy_name="PolicyWithWidevineOptionAndJwtTokenRestriction",
description="ArmPolicyDescription",
options=[azure_native.media.ContentKeyPolicyOptionArgs(
configuration=azure_native.media.ContentKeyPolicyWidevineConfigurationArgs(
odata_type="#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
widevine_template="{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}",
),
name="widevineoption",
restriction=azure_native.media.ContentKeyPolicyTokenRestrictionArgs(
alternate_verification_keys=[azure_native.media.ContentKeyPolicySymmetricTokenKeyArgs(
key_value="AAAAAAAAAAAAAAAAAAAAAA==",
odata_type="#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
)],
audience="urn:audience",
issuer="urn:issuer",
odata_type="#Microsoft.Media.ContentKeyPolicyTokenRestriction",
primary_verification_key=azure_native.media.ContentKeyPolicyRsaTokenKeyArgs(
exponent="AQAB",
modulus="AQAD",
odata_type="#Microsoft.Media.ContentKeyPolicyRsaTokenKey",
),
restriction_token_type="Jwt",
),
)],
resource_group_name="contoso")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const contentKeyPolicy = new azure_native.media.ContentKeyPolicy("contentKeyPolicy", {
accountName: "contosomedia",
contentKeyPolicyName: "PolicyWithWidevineOptionAndJwtTokenRestriction",
description: "ArmPolicyDescription",
options: [{
configuration: {
odataType: "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
widevineTemplate: "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}",
},
name: "widevineoption",
restriction: {
alternateVerificationKeys: [{
keyValue: "AAAAAAAAAAAAAAAAAAAAAA==",
odataType: "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
}],
audience: "urn:audience",
issuer: "urn:issuer",
odataType: "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
primaryVerificationKey: {
exponent: "AQAB",
modulus: "AQAD",
odataType: "#Microsoft.Media.ContentKeyPolicyRsaTokenKey",
},
restrictionTokenType: "Jwt",
},
}],
resourceGroupName: "contoso",
});
resources:
contentKeyPolicy:
type: azure-native:media:ContentKeyPolicy
properties:
accountName: contosomedia
contentKeyPolicyName: PolicyWithWidevineOptionAndJwtTokenRestriction
description: ArmPolicyDescription
options:
- configuration:
odataType: '#Microsoft.Media.ContentKeyPolicyWidevineConfiguration'
widevineTemplate: '{"allowed_track_types":"SD_HD","content_key_specs":[{"track_type":"SD","security_level":1,"required_output_protection":{"hdcp":"HDCP_V2"}}],"policy_overrides":{"can_play":true,"can_persist":true,"can_renew":false}}'
name: widevineoption
restriction:
alternateVerificationKeys:
- keyValue: AAAAAAAAAAAAAAAAAAAAAA==
odataType: '#Microsoft.Media.ContentKeyPolicySymmetricTokenKey'
audience: urn:audience
issuer: urn:issuer
odataType: '#Microsoft.Media.ContentKeyPolicyTokenRestriction'
primaryVerificationKey:
exponent: AQAB
modulus: AQAD
odataType: '#Microsoft.Media.ContentKeyPolicyRsaTokenKey'
restrictionTokenType: Jwt
resourceGroupName: contoso
Creates a Content Key Policy with multiple options
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var contentKeyPolicy = new AzureNative.Media.ContentKeyPolicy("contentKeyPolicy", new()
{
AccountName = "contosomedia",
ContentKeyPolicyName = "PolicyCreatedWithMultipleOptions",
Description = "ArmPolicyDescription",
Options = new[]
{
new AzureNative.Media.Inputs.ContentKeyPolicyOptionArgs
{
Configuration = new AzureNative.Media.Inputs.ContentKeyPolicyClearKeyConfigurationArgs
{
OdataType = "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
},
Name = "ClearKeyOption",
Restriction = new AzureNative.Media.Inputs.ContentKeyPolicyTokenRestrictionArgs
{
Audience = "urn:audience",
Issuer = "urn:issuer",
OdataType = "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
PrimaryVerificationKey = new AzureNative.Media.Inputs.ContentKeyPolicySymmetricTokenKeyArgs
{
KeyValue = "AAAAAAAAAAAAAAAAAAAAAA==",
OdataType = "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
},
RestrictionTokenType = "Swt",
},
},
new AzureNative.Media.Inputs.ContentKeyPolicyOptionArgs
{
Configuration = new AzureNative.Media.Inputs.ContentKeyPolicyWidevineConfigurationArgs
{
OdataType = "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
WidevineTemplate = "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}",
},
Name = "widevineoption",
Restriction = new AzureNative.Media.Inputs.ContentKeyPolicyOpenRestrictionArgs
{
OdataType = "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
},
},
},
ResourceGroupName = "contoso",
});
});
package main
import (
media "github.com/pulumi/pulumi-azure-native-sdk/media"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := media.NewContentKeyPolicy(ctx, "contentKeyPolicy", &media.ContentKeyPolicyArgs{
AccountName: pulumi.String("contosomedia"),
ContentKeyPolicyName: pulumi.String("PolicyCreatedWithMultipleOptions"),
Description: pulumi.String("ArmPolicyDescription"),
Options: []media.ContentKeyPolicyOptionArgs{
{
Configuration: {
OdataType: "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
},
Name: pulumi.String("ClearKeyOption"),
Restriction: {
Audience: "urn:audience",
Issuer: "urn:issuer",
OdataType: "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
PrimaryVerificationKey: {
KeyValue: "AAAAAAAAAAAAAAAAAAAAAA==",
OdataType: "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
},
RestrictionTokenType: "Swt",
},
},
{
Configuration: {
OdataType: "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
WidevineTemplate: "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}",
},
Name: pulumi.String("widevineoption"),
Restriction: {
OdataType: "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
},
},
},
ResourceGroupName: pulumi.String("contoso"),
})
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.ContentKeyPolicy;
import com.pulumi.azurenative.media.ContentKeyPolicyArgs;
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 contentKeyPolicy = new ContentKeyPolicy("contentKeyPolicy", ContentKeyPolicyArgs.builder()
.accountName("contosomedia")
.contentKeyPolicyName("PolicyCreatedWithMultipleOptions")
.description("ArmPolicyDescription")
.options(
Map.ofEntries(
Map.entry("configuration", Map.of("odataType", "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration")),
Map.entry("name", "ClearKeyOption"),
Map.entry("restriction", Map.ofEntries(
Map.entry("audience", "urn:audience"),
Map.entry("issuer", "urn:issuer"),
Map.entry("odataType", "#Microsoft.Media.ContentKeyPolicyTokenRestriction"),
Map.entry("primaryVerificationKey", Map.ofEntries(
Map.entry("keyValue", "AAAAAAAAAAAAAAAAAAAAAA=="),
Map.entry("odataType", "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey")
)),
Map.entry("restrictionTokenType", "Swt")
))
),
Map.ofEntries(
Map.entry("configuration", Map.ofEntries(
Map.entry("odataType", "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration"),
Map.entry("widevineTemplate", "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}")
)),
Map.entry("name", "widevineoption"),
Map.entry("restriction", Map.of("odataType", "#Microsoft.Media.ContentKeyPolicyOpenRestriction"))
))
.resourceGroupName("contoso")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
content_key_policy = azure_native.media.ContentKeyPolicy("contentKeyPolicy",
account_name="contosomedia",
content_key_policy_name="PolicyCreatedWithMultipleOptions",
description="ArmPolicyDescription",
options=[
azure_native.media.ContentKeyPolicyOptionArgs(
configuration=azure_native.media.ContentKeyPolicyClearKeyConfigurationArgs(
odata_type="#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
),
name="ClearKeyOption",
restriction=azure_native.media.ContentKeyPolicyTokenRestrictionArgs(
audience="urn:audience",
issuer="urn:issuer",
odata_type="#Microsoft.Media.ContentKeyPolicyTokenRestriction",
primary_verification_key=azure_native.media.ContentKeyPolicySymmetricTokenKeyArgs(
key_value="AAAAAAAAAAAAAAAAAAAAAA==",
odata_type="#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
),
restriction_token_type="Swt",
),
),
azure_native.media.ContentKeyPolicyOptionArgs(
configuration=azure_native.media.ContentKeyPolicyWidevineConfigurationArgs(
odata_type="#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
widevine_template="{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}",
),
name="widevineoption",
restriction=azure_native.media.ContentKeyPolicyOpenRestrictionArgs(
odata_type="#Microsoft.Media.ContentKeyPolicyOpenRestriction",
),
),
],
resource_group_name="contoso")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const contentKeyPolicy = new azure_native.media.ContentKeyPolicy("contentKeyPolicy", {
accountName: "contosomedia",
contentKeyPolicyName: "PolicyCreatedWithMultipleOptions",
description: "ArmPolicyDescription",
options: [
{
configuration: {
odataType: "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
},
name: "ClearKeyOption",
restriction: {
audience: "urn:audience",
issuer: "urn:issuer",
odataType: "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
primaryVerificationKey: {
keyValue: "AAAAAAAAAAAAAAAAAAAAAA==",
odataType: "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
},
restrictionTokenType: "Swt",
},
},
{
configuration: {
odataType: "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
widevineTemplate: "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}",
},
name: "widevineoption",
restriction: {
odataType: "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
},
},
],
resourceGroupName: "contoso",
});
resources:
contentKeyPolicy:
type: azure-native:media:ContentKeyPolicy
properties:
accountName: contosomedia
contentKeyPolicyName: PolicyCreatedWithMultipleOptions
description: ArmPolicyDescription
options:
- configuration:
odataType: '#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration'
name: ClearKeyOption
restriction:
audience: urn:audience
issuer: urn:issuer
odataType: '#Microsoft.Media.ContentKeyPolicyTokenRestriction'
primaryVerificationKey:
keyValue: AAAAAAAAAAAAAAAAAAAAAA==
odataType: '#Microsoft.Media.ContentKeyPolicySymmetricTokenKey'
restrictionTokenType: Swt
- configuration:
odataType: '#Microsoft.Media.ContentKeyPolicyWidevineConfiguration'
widevineTemplate: '{"allowed_track_types":"SD_HD","content_key_specs":[{"track_type":"SD","security_level":1,"required_output_protection":{"hdcp":"HDCP_V2"}}],"policy_overrides":{"can_play":true,"can_persist":true,"can_renew":false}}'
name: widevineoption
restriction:
odataType: '#Microsoft.Media.ContentKeyPolicyOpenRestriction'
resourceGroupName: contoso
Create ContentKeyPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ContentKeyPolicy(name: string, args: ContentKeyPolicyArgs, opts?: CustomResourceOptions);
@overload
def ContentKeyPolicy(resource_name: str,
args: ContentKeyPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ContentKeyPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
options: Optional[Sequence[ContentKeyPolicyOptionArgs]] = None,
resource_group_name: Optional[str] = None,
content_key_policy_name: Optional[str] = None,
description: Optional[str] = None)
func NewContentKeyPolicy(ctx *Context, name string, args ContentKeyPolicyArgs, opts ...ResourceOption) (*ContentKeyPolicy, error)
public ContentKeyPolicy(string name, ContentKeyPolicyArgs args, CustomResourceOptions? opts = null)
public ContentKeyPolicy(String name, ContentKeyPolicyArgs args)
public ContentKeyPolicy(String name, ContentKeyPolicyArgs args, CustomResourceOptions options)
type: azure-native:media:ContentKeyPolicy
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 ContentKeyPolicyArgs
- 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 ContentKeyPolicyArgs
- 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 ContentKeyPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ContentKeyPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ContentKeyPolicyArgs
- 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 contentKeyPolicyResource = new AzureNative.Media.ContentKeyPolicy("contentKeyPolicyResource", new()
{
AccountName = "string",
Options = new[]
{
{
{ "configuration",
{
{ "odataType", "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" },
} },
{ "restriction",
{
{ "odataType", "#Microsoft.Media.ContentKeyPolicyOpenRestriction" },
} },
{ "name", "string" },
},
},
ResourceGroupName = "string",
ContentKeyPolicyName = "string",
Description = "string",
});
example, err := media.NewContentKeyPolicy(ctx, "contentKeyPolicyResource", &media.ContentKeyPolicyArgs{
AccountName: "string",
Options: []map[string]interface{}{
map[string]interface{}{
"configuration": map[string]interface{}{
"odataType": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
},
"restriction": map[string]interface{}{
"odataType": "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
},
"name": "string",
},
},
ResourceGroupName: "string",
ContentKeyPolicyName: "string",
Description: "string",
})
var contentKeyPolicyResource = new ContentKeyPolicy("contentKeyPolicyResource", ContentKeyPolicyArgs.builder()
.accountName("string")
.options(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.contentKeyPolicyName("string")
.description("string")
.build());
content_key_policy_resource = azure_native.media.ContentKeyPolicy("contentKeyPolicyResource",
account_name=string,
options=[{
configuration: {
odataType: #Microsoft.Media.ContentKeyPolicyClearKeyConfiguration,
},
restriction: {
odataType: #Microsoft.Media.ContentKeyPolicyOpenRestriction,
},
name: string,
}],
resource_group_name=string,
content_key_policy_name=string,
description=string)
const contentKeyPolicyResource = new azure_native.media.ContentKeyPolicy("contentKeyPolicyResource", {
accountName: "string",
options: [{
configuration: {
odataType: "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
},
restriction: {
odataType: "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
},
name: "string",
}],
resourceGroupName: "string",
contentKeyPolicyName: "string",
description: "string",
});
type: azure-native:media:ContentKeyPolicy
properties:
accountName: string
contentKeyPolicyName: string
description: string
options:
- configuration:
odataType: '#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration'
name: string
restriction:
odataType: '#Microsoft.Media.ContentKeyPolicyOpenRestriction'
resourceGroupName: string
ContentKeyPolicy 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 ContentKeyPolicy resource accepts the following input properties:
- Account
Name string - The Media Services account name.
- Options
List<Pulumi.
Azure Native. Media. Inputs. Content Key Policy Option> - The Key Policy options.
- Resource
Group stringName - The name of the resource group within the Azure subscription.
- Content
Key stringPolicy Name - The Content Key Policy name.
- Description string
- A description for the Policy.
- Account
Name string - The Media Services account name.
- Options
[]Content
Key Policy Option Args - The Key Policy options.
- Resource
Group stringName - The name of the resource group within the Azure subscription.
- Content
Key stringPolicy Name - The Content Key Policy name.
- Description string
- A description for the Policy.
- account
Name String - The Media Services account name.
- options
List<Content
Key Policy Option> - The Key Policy options.
- resource
Group StringName - The name of the resource group within the Azure subscription.
- content
Key StringPolicy Name - The Content Key Policy name.
- description String
- A description for the Policy.
- account
Name string - The Media Services account name.
- options
Content
Key Policy Option[] - The Key Policy options.
- resource
Group stringName - The name of the resource group within the Azure subscription.
- content
Key stringPolicy Name - The Content Key Policy name.
- description string
- A description for the Policy.
- account_
name str - The Media Services account name.
- options
Sequence[Content
Key Policy Option Args] - The Key Policy options.
- resource_
group_ strname - The name of the resource group within the Azure subscription.
- content_
key_ strpolicy_ name - The Content Key Policy name.
- description str
- A description for the Policy.
- account
Name String - The Media Services account name.
- options List<Property Map>
- The Key Policy options.
- resource
Group StringName - The name of the resource group within the Azure subscription.
- content
Key StringPolicy Name - The Content Key Policy name.
- description String
- A description for the Policy.
Outputs
All input properties are implicitly available as output properties. Additionally, the ContentKeyPolicy resource produces the following output properties:
- Created string
- The creation date of the Policy
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified string - The last modified date of the Policy
- Name string
- The name of the resource
- Policy
Id string - The legacy Policy ID.
- 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
- The creation date of the Policy
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified string - The last modified date of the Policy
- Name string
- The name of the resource
- Policy
Id string - The legacy Policy ID.
- 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
- The creation date of the Policy
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified String - The last modified date of the Policy
- name String
- The name of the resource
- policy
Id String - The legacy Policy ID.
- 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
- The creation date of the Policy
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified string - The last modified date of the Policy
- name string
- The name of the resource
- policy
Id string - The legacy Policy ID.
- 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
- The creation date of the Policy
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modified str - The last modified date of the Policy
- name str
- The name of the resource
- policy_
id str - The legacy Policy ID.
- 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
- The creation date of the Policy
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified String - The last modified date of the Policy
- name String
- The name of the resource
- policy
Id String - The legacy Policy ID.
- 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
ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyClearKeyConfigurationArgs
ContentKeyPolicyClearKeyConfigurationResponse, ContentKeyPolicyClearKeyConfigurationResponseArgs
ContentKeyPolicyFairPlayConfiguration, ContentKeyPolicyFairPlayConfigurationArgs
- Ask string
- The key that must be used as FairPlay Application Secret key.
- Fair
Play stringPfx - The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
- Fair
Play stringPfx Password - The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
- Rental
And string | Pulumi.Lease Key Type Azure Native. Media. Content Key Policy Fair Play Rental And Lease Key Type - The rental and lease key type.
- Rental
Duration double - The rental duration. Must be greater than or equal to 0.
- Offline
Rental Pulumi.Configuration Azure Native. Media. Inputs. Content Key Policy Fair Play Offline Rental Configuration - Offline rental policy
- Ask string
- The key that must be used as FairPlay Application Secret key.
- Fair
Play stringPfx - The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
- Fair
Play stringPfx Password - The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
- Rental
And string | ContentLease Key Type Key Policy Fair Play Rental And Lease Key Type - The rental and lease key type.
- Rental
Duration float64 - The rental duration. Must be greater than or equal to 0.
- Offline
Rental ContentConfiguration Key Policy Fair Play Offline Rental Configuration - Offline rental policy
- ask String
- The key that must be used as FairPlay Application Secret key.
- fair
Play StringPfx - The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
- fair
Play StringPfx Password - The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
- rental
And String | ContentLease Key Type Key Policy Fair Play Rental And Lease Key Type - The rental and lease key type.
- rental
Duration Double - The rental duration. Must be greater than or equal to 0.
- offline
Rental ContentConfiguration Key Policy Fair Play Offline Rental Configuration - Offline rental policy
- ask string
- The key that must be used as FairPlay Application Secret key.
- fair
Play stringPfx - The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
- fair
Play stringPfx Password - The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
- rental
And string | ContentLease Key Type Key Policy Fair Play Rental And Lease Key Type - The rental and lease key type.
- rental
Duration number - The rental duration. Must be greater than or equal to 0.
- offline
Rental ContentConfiguration Key Policy Fair Play Offline Rental Configuration - Offline rental policy
- ask str
- The key that must be used as FairPlay Application Secret key.
- fair_
play_ strpfx - The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
- fair_
play_ strpfx_ password - The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
- rental_
and_ str | Contentlease_ key_ type Key Policy Fair Play Rental And Lease Key Type - The rental and lease key type.
- rental_
duration float - The rental duration. Must be greater than or equal to 0.
- offline_
rental_ Contentconfiguration Key Policy Fair Play Offline Rental Configuration - Offline rental policy
- ask String
- The key that must be used as FairPlay Application Secret key.
- fair
Play StringPfx - The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
- fair
Play StringPfx Password - The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
- rental
And String | "Unknown" | "Undefined" | "DualLease Key Type Expiry" | "Persistent Unlimited" | "Persistent Limited" - The rental and lease key type.
- rental
Duration Number - The rental duration. Must be greater than or equal to 0.
- offline
Rental Property MapConfiguration - Offline rental policy
ContentKeyPolicyFairPlayConfigurationResponse, ContentKeyPolicyFairPlayConfigurationResponseArgs
- Ask string
- The key that must be used as FairPlay Application Secret key.
- Fair
Play stringPfx - The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
- Fair
Play stringPfx Password - The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
- Rental
And stringLease Key Type - The rental and lease key type.
- Rental
Duration double - The rental duration. Must be greater than or equal to 0.
- Offline
Rental Pulumi.Configuration Azure Native. Media. Inputs. Content Key Policy Fair Play Offline Rental Configuration Response - Offline rental policy
- Ask string
- The key that must be used as FairPlay Application Secret key.
- Fair
Play stringPfx - The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
- Fair
Play stringPfx Password - The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
- Rental
And stringLease Key Type - The rental and lease key type.
- Rental
Duration float64 - The rental duration. Must be greater than or equal to 0.
- Offline
Rental ContentConfiguration Key Policy Fair Play Offline Rental Configuration Response - Offline rental policy
- ask String
- The key that must be used as FairPlay Application Secret key.
- fair
Play StringPfx - The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
- fair
Play StringPfx Password - The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
- rental
And StringLease Key Type - The rental and lease key type.
- rental
Duration Double - The rental duration. Must be greater than or equal to 0.
- offline
Rental ContentConfiguration Key Policy Fair Play Offline Rental Configuration Response - Offline rental policy
- ask string
- The key that must be used as FairPlay Application Secret key.
- fair
Play stringPfx - The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
- fair
Play stringPfx Password - The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
- rental
And stringLease Key Type - The rental and lease key type.
- rental
Duration number - The rental duration. Must be greater than or equal to 0.
- offline
Rental ContentConfiguration Key Policy Fair Play Offline Rental Configuration Response - Offline rental policy
- ask str
- The key that must be used as FairPlay Application Secret key.
- fair_
play_ strpfx - The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
- fair_
play_ strpfx_ password - The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
- rental_
and_ strlease_ key_ type - The rental and lease key type.
- rental_
duration float - The rental duration. Must be greater than or equal to 0.
- offline_
rental_ Contentconfiguration Key Policy Fair Play Offline Rental Configuration Response - Offline rental policy
- ask String
- The key that must be used as FairPlay Application Secret key.
- fair
Play StringPfx - The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
- fair
Play StringPfx Password - The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
- rental
And StringLease Key Type - The rental and lease key type.
- rental
Duration Number - The rental duration. Must be greater than or equal to 0.
- offline
Rental Property MapConfiguration - Offline rental policy
ContentKeyPolicyFairPlayOfflineRentalConfiguration, ContentKeyPolicyFairPlayOfflineRentalConfigurationArgs
- Playback
Duration doubleSeconds - Playback duration
- Storage
Duration doubleSeconds - Storage duration
- Playback
Duration float64Seconds - Playback duration
- Storage
Duration float64Seconds - Storage duration
- playback
Duration DoubleSeconds - Playback duration
- storage
Duration DoubleSeconds - Storage duration
- playback
Duration numberSeconds - Playback duration
- storage
Duration numberSeconds - Storage duration
- playback_
duration_ floatseconds - Playback duration
- storage_
duration_ floatseconds - Storage duration
- playback
Duration NumberSeconds - Playback duration
- storage
Duration NumberSeconds - Storage duration
ContentKeyPolicyFairPlayOfflineRentalConfigurationResponse, ContentKeyPolicyFairPlayOfflineRentalConfigurationResponseArgs
- Playback
Duration doubleSeconds - Playback duration
- Storage
Duration doubleSeconds - Storage duration
- Playback
Duration float64Seconds - Playback duration
- Storage
Duration float64Seconds - Storage duration
- playback
Duration DoubleSeconds - Playback duration
- storage
Duration DoubleSeconds - Storage duration
- playback
Duration numberSeconds - Playback duration
- storage
Duration numberSeconds - Storage duration
- playback_
duration_ floatseconds - Playback duration
- storage_
duration_ floatseconds - Storage duration
- playback
Duration NumberSeconds - Playback duration
- storage
Duration NumberSeconds - Storage duration
ContentKeyPolicyFairPlayRentalAndLeaseKeyType, ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeArgs
- Unknown
- UnknownRepresents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.
- Undefined
- UndefinedKey duration is not specified.
- Dual
Expiry - DualExpiryDual expiry for offline rental.
- Persistent
Unlimited - PersistentUnlimitedContent key can be persisted with an unlimited duration
- Persistent
Limited - PersistentLimitedContent key can be persisted and the valid duration is limited by the Rental Duration value
- Content
Key Policy Fair Play Rental And Lease Key Type Unknown - UnknownRepresents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.
- Content
Key Policy Fair Play Rental And Lease Key Type Undefined - UndefinedKey duration is not specified.
- Content
Key Policy Fair Play Rental And Lease Key Type Dual Expiry - DualExpiryDual expiry for offline rental.
- Content
Key Policy Fair Play Rental And Lease Key Type Persistent Unlimited - PersistentUnlimitedContent key can be persisted with an unlimited duration
- Content
Key Policy Fair Play Rental And Lease Key Type Persistent Limited - PersistentLimitedContent key can be persisted and the valid duration is limited by the Rental Duration value
- Unknown
- UnknownRepresents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.
- Undefined
- UndefinedKey duration is not specified.
- Dual
Expiry - DualExpiryDual expiry for offline rental.
- Persistent
Unlimited - PersistentUnlimitedContent key can be persisted with an unlimited duration
- Persistent
Limited - PersistentLimitedContent key can be persisted and the valid duration is limited by the Rental Duration value
- Unknown
- UnknownRepresents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.
- Undefined
- UndefinedKey duration is not specified.
- Dual
Expiry - DualExpiryDual expiry for offline rental.
- Persistent
Unlimited - PersistentUnlimitedContent key can be persisted with an unlimited duration
- Persistent
Limited - PersistentLimitedContent key can be persisted and the valid duration is limited by the Rental Duration value
- UNKNOWN
- UnknownRepresents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.
- UNDEFINED
- UndefinedKey duration is not specified.
- DUAL_EXPIRY
- DualExpiryDual expiry for offline rental.
- PERSISTENT_UNLIMITED
- PersistentUnlimitedContent key can be persisted with an unlimited duration
- PERSISTENT_LIMITED
- PersistentLimitedContent key can be persisted and the valid duration is limited by the Rental Duration value
- "Unknown"
- UnknownRepresents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.
- "Undefined"
- UndefinedKey duration is not specified.
- "Dual
Expiry" - DualExpiryDual expiry for offline rental.
- "Persistent
Unlimited" - PersistentUnlimitedContent key can be persisted with an unlimited duration
- "Persistent
Limited" - PersistentLimitedContent key can be persisted and the valid duration is limited by the Rental Duration value
ContentKeyPolicyOpenRestriction, ContentKeyPolicyOpenRestrictionArgs
ContentKeyPolicyOpenRestrictionResponse, ContentKeyPolicyOpenRestrictionResponseArgs
ContentKeyPolicyOption, ContentKeyPolicyOptionArgs
- Configuration
Pulumi.
Azure | Pulumi.Native. Media. Inputs. Content Key Policy Clear Key Configuration Azure | Pulumi.Native. Media. Inputs. Content Key Policy Fair Play Configuration Azure | Pulumi.Native. Media. Inputs. Content Key Policy Play Ready Configuration Azure | Pulumi.Native. Media. Inputs. Content Key Policy Unknown Configuration Azure Native. Media. Inputs. Content Key Policy Widevine Configuration - The key delivery configuration.
- Restriction
Pulumi.
Azure | Pulumi.Native. Media. Inputs. Content Key Policy Open Restriction Azure | Pulumi.Native. Media. Inputs. Content Key Policy Token Restriction Azure Native. Media. Inputs. Content Key Policy Unknown Restriction - The requirements that must be met to deliver keys with this configuration
- Name string
- The Policy Option description.
- Configuration
Content
Key | ContentPolicy Clear Key Configuration Key | ContentPolicy Fair Play Configuration Key | ContentPolicy Play Ready Configuration Key | ContentPolicy Unknown Configuration Key Policy Widevine Configuration - The key delivery configuration.
- Restriction
Content
Key | ContentPolicy Open Restriction Key | ContentPolicy Token Restriction Key Policy Unknown Restriction - The requirements that must be met to deliver keys with this configuration
- Name string
- The Policy Option description.
- configuration
Content
Key | ContentPolicy Clear Key Configuration Key | ContentPolicy Fair Play Configuration Key | ContentPolicy Play Ready Configuration Key | ContentPolicy Unknown Configuration Key Policy Widevine Configuration - The key delivery configuration.
- restriction
Content
Key | ContentPolicy Open Restriction Key | ContentPolicy Token Restriction Key Policy Unknown Restriction - The requirements that must be met to deliver keys with this configuration
- name String
- The Policy Option description.
- configuration
Content
Key | ContentPolicy Clear Key Configuration Key | ContentPolicy Fair Play Configuration Key | ContentPolicy Play Ready Configuration Key | ContentPolicy Unknown Configuration Key Policy Widevine Configuration - The key delivery configuration.
- restriction
Content
Key | ContentPolicy Open Restriction Key | ContentPolicy Token Restriction Key Policy Unknown Restriction - The requirements that must be met to deliver keys with this configuration
- name string
- The Policy Option description.
- configuration
Content
Key | ContentPolicy Clear Key Configuration Key | ContentPolicy Fair Play Configuration Key | ContentPolicy Play Ready Configuration Key | ContentPolicy Unknown Configuration Key Policy Widevine Configuration - The key delivery configuration.
- restriction
Content
Key | ContentPolicy Open Restriction Key | ContentPolicy Token Restriction Key Policy Unknown Restriction - The requirements that must be met to deliver keys with this configuration
- name str
- The Policy Option description.
- configuration Property Map | Property Map | Property Map | Property Map | Property Map
- The key delivery configuration.
- restriction Property Map | Property Map | Property Map
- The requirements that must be met to deliver keys with this configuration
- name String
- The Policy Option description.
ContentKeyPolicyOptionResponse, ContentKeyPolicyOptionResponseArgs
- Configuration
Pulumi.
Azure | Pulumi.Native. Media. Inputs. Content Key Policy Clear Key Configuration Response Azure | Pulumi.Native. Media. Inputs. Content Key Policy Fair Play Configuration Response Azure | Pulumi.Native. Media. Inputs. Content Key Policy Play Ready Configuration Response Azure | Pulumi.Native. Media. Inputs. Content Key Policy Unknown Configuration Response Azure Native. Media. Inputs. Content Key Policy Widevine Configuration Response - The key delivery configuration.
- Policy
Option stringId - The legacy Policy Option ID.
- Restriction
Pulumi.
Azure | Pulumi.Native. Media. Inputs. Content Key Policy Open Restriction Response Azure | Pulumi.Native. Media. Inputs. Content Key Policy Token Restriction Response Azure Native. Media. Inputs. Content Key Policy Unknown Restriction Response - The requirements that must be met to deliver keys with this configuration
- Name string
- The Policy Option description.
- Configuration
Content
Key | ContentPolicy Clear Key Configuration Response Key | ContentPolicy Fair Play Configuration Response Key | ContentPolicy Play Ready Configuration Response Key | ContentPolicy Unknown Configuration Response Key Policy Widevine Configuration Response - The key delivery configuration.
- Policy
Option stringId - The legacy Policy Option ID.
- Restriction
Content
Key | ContentPolicy Open Restriction Response Key | ContentPolicy Token Restriction Response Key Policy Unknown Restriction Response - The requirements that must be met to deliver keys with this configuration
- Name string
- The Policy Option description.
- configuration
Content
Key | ContentPolicy Clear Key Configuration Response Key | ContentPolicy Fair Play Configuration Response Key | ContentPolicy Play Ready Configuration Response Key | ContentPolicy Unknown Configuration Response Key Policy Widevine Configuration Response - The key delivery configuration.
- policy
Option StringId - The legacy Policy Option ID.
- restriction
Content
Key | ContentPolicy Open Restriction Response Key | ContentPolicy Token Restriction Response Key Policy Unknown Restriction Response - The requirements that must be met to deliver keys with this configuration
- name String
- The Policy Option description.
- configuration
Content
Key | ContentPolicy Clear Key Configuration Response Key | ContentPolicy Fair Play Configuration Response Key | ContentPolicy Play Ready Configuration Response Key | ContentPolicy Unknown Configuration Response Key Policy Widevine Configuration Response - The key delivery configuration.
- policy
Option stringId - The legacy Policy Option ID.
- restriction
Content
Key | ContentPolicy Open Restriction Response Key | ContentPolicy Token Restriction Response Key Policy Unknown Restriction Response - The requirements that must be met to deliver keys with this configuration
- name string
- The Policy Option description.
- configuration
Content
Key | ContentPolicy Clear Key Configuration Response Key | ContentPolicy Fair Play Configuration Response Key | ContentPolicy Play Ready Configuration Response Key | ContentPolicy Unknown Configuration Response Key Policy Widevine Configuration Response - The key delivery configuration.
- policy_
option_ strid - The legacy Policy Option ID.
- restriction
Content
Key | ContentPolicy Open Restriction Response Key | ContentPolicy Token Restriction Response Key Policy Unknown Restriction Response - The requirements that must be met to deliver keys with this configuration
- name str
- The Policy Option description.
- configuration Property Map | Property Map | Property Map | Property Map | Property Map
- The key delivery configuration.
- policy
Option StringId - The legacy Policy Option ID.
- restriction Property Map | Property Map | Property Map
- The requirements that must be met to deliver keys with this configuration
- name String
- The Policy Option description.
ContentKeyPolicyPlayReadyConfiguration, ContentKeyPolicyPlayReadyConfigurationArgs
- Licenses
List<Pulumi.
Azure Native. Media. Inputs. Content Key Policy Play Ready License> - The PlayReady licenses.
- Response
Custom stringData - The custom response data.
- Licenses
[]Content
Key Policy Play Ready License - The PlayReady licenses.
- Response
Custom stringData - The custom response data.
- licenses
List<Content
Key Policy Play Ready License> - The PlayReady licenses.
- response
Custom StringData - The custom response data.
- licenses
Content
Key Policy Play Ready License[] - The PlayReady licenses.
- response
Custom stringData - The custom response data.
- licenses
Sequence[Content
Key Policy Play Ready License] - The PlayReady licenses.
- response_
custom_ strdata - The custom response data.
- licenses List<Property Map>
- The PlayReady licenses.
- response
Custom StringData - The custom response data.
ContentKeyPolicyPlayReadyConfigurationResponse, ContentKeyPolicyPlayReadyConfigurationResponseArgs
- Licenses
List<Pulumi.
Azure Native. Media. Inputs. Content Key Policy Play Ready License Response> - The PlayReady licenses.
- Response
Custom stringData - The custom response data.
- Licenses
[]Content
Key Policy Play Ready License Response - The PlayReady licenses.
- Response
Custom stringData - The custom response data.
- licenses
List<Content
Key Policy Play Ready License Response> - The PlayReady licenses.
- response
Custom StringData - The custom response data.
- licenses
Content
Key Policy Play Ready License Response[] - The PlayReady licenses.
- response
Custom stringData - The custom response data.
- licenses
Sequence[Content
Key Policy Play Ready License Response] - The PlayReady licenses.
- response_
custom_ strdata - The custom response data.
- licenses List<Property Map>
- The PlayReady licenses.
- response
Custom StringData - The custom response data.
ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderArgs
ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse, ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponseArgs
ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierArgs
- Key
Id string - The content key ID.
- Key
Id string - The content key ID.
- key
Id String - The content key ID.
- key
Id string - The content key ID.
- key_
id str - The content key ID.
- key
Id String - The content key ID.
ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse, ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponseArgs
- Key
Id string - The content key ID.
- Key
Id string - The content key ID.
- key
Id String - The content key ID.
- key
Id string - The content key ID.
- key_
id str - The content key ID.
- key
Id String - The content key ID.
ContentKeyPolicyPlayReadyContentType, ContentKeyPolicyPlayReadyContentTypeArgs
- Unknown
- UnknownRepresents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.
- Unspecified
- UnspecifiedUnspecified content type.
- Ultra
Violet Download - UltraVioletDownloadUltraviolet download content type.
- Ultra
Violet Streaming - UltraVioletStreamingUltraviolet streaming content type.
- Content
Key Policy Play Ready Content Type Unknown - UnknownRepresents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.
- Content
Key Policy Play Ready Content Type Unspecified - UnspecifiedUnspecified content type.
- Content
Key Policy Play Ready Content Type Ultra Violet Download - UltraVioletDownloadUltraviolet download content type.
- Content
Key Policy Play Ready Content Type Ultra Violet Streaming - UltraVioletStreamingUltraviolet streaming content type.
- Unknown
- UnknownRepresents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.
- Unspecified
- UnspecifiedUnspecified content type.
- Ultra
Violet Download - UltraVioletDownloadUltraviolet download content type.
- Ultra
Violet Streaming - UltraVioletStreamingUltraviolet streaming content type.
- Unknown
- UnknownRepresents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.
- Unspecified
- UnspecifiedUnspecified content type.
- Ultra
Violet Download - UltraVioletDownloadUltraviolet download content type.
- Ultra
Violet Streaming - UltraVioletStreamingUltraviolet streaming content type.
- UNKNOWN
- UnknownRepresents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.
- UNSPECIFIED
- UnspecifiedUnspecified content type.
- ULTRA_VIOLET_DOWNLOAD
- UltraVioletDownloadUltraviolet download content type.
- ULTRA_VIOLET_STREAMING
- UltraVioletStreamingUltraviolet streaming content type.
- "Unknown"
- UnknownRepresents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.
- "Unspecified"
- UnspecifiedUnspecified content type.
- "Ultra
Violet Download" - UltraVioletDownloadUltraviolet download content type.
- "Ultra
Violet Streaming" - UltraVioletStreamingUltraviolet streaming content type.
ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction, ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs
- Best
Effort bool - Indicates whether this restriction is enforced on a Best Effort basis.
- Configuration
Data int - Configures the restriction control bits. Must be between 0 and 3 inclusive.
- Best
Effort bool - Indicates whether this restriction is enforced on a Best Effort basis.
- Configuration
Data int - Configures the restriction control bits. Must be between 0 and 3 inclusive.
- best
Effort Boolean - Indicates whether this restriction is enforced on a Best Effort basis.
- configuration
Data Integer - Configures the restriction control bits. Must be between 0 and 3 inclusive.
- best
Effort boolean - Indicates whether this restriction is enforced on a Best Effort basis.
- configuration
Data number - Configures the restriction control bits. Must be between 0 and 3 inclusive.
- best_
effort bool - Indicates whether this restriction is enforced on a Best Effort basis.
- configuration_
data int - Configures the restriction control bits. Must be between 0 and 3 inclusive.
- best
Effort Boolean - Indicates whether this restriction is enforced on a Best Effort basis.
- configuration
Data Number - Configures the restriction control bits. Must be between 0 and 3 inclusive.
ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse, ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponseArgs
- Best
Effort bool - Indicates whether this restriction is enforced on a Best Effort basis.
- Configuration
Data int - Configures the restriction control bits. Must be between 0 and 3 inclusive.
- Best
Effort bool - Indicates whether this restriction is enforced on a Best Effort basis.
- Configuration
Data int - Configures the restriction control bits. Must be between 0 and 3 inclusive.
- best
Effort Boolean - Indicates whether this restriction is enforced on a Best Effort basis.
- configuration
Data Integer - Configures the restriction control bits. Must be between 0 and 3 inclusive.
- best
Effort boolean - Indicates whether this restriction is enforced on a Best Effort basis.
- configuration
Data number - Configures the restriction control bits. Must be between 0 and 3 inclusive.
- best_
effort bool - Indicates whether this restriction is enforced on a Best Effort basis.
- configuration_
data int - Configures the restriction control bits. Must be between 0 and 3 inclusive.
- best
Effort Boolean - Indicates whether this restriction is enforced on a Best Effort basis.
- configuration
Data Number - Configures the restriction control bits. Must be between 0 and 3 inclusive.
ContentKeyPolicyPlayReadyLicense, ContentKeyPolicyPlayReadyLicenseArgs
- Allow
Test boolDevices - A flag indicating whether test devices can use the license.
- Content
Key Pulumi.Location Azure | Pulumi.Native. Media. Inputs. Content Key Policy Play Ready Content Encryption Key From Header Azure Native. Media. Inputs. Content Key Policy Play Ready Content Encryption Key From Key Identifier - The content key location.
- Content
Type string | Pulumi.Azure Native. Media. Content Key Policy Play Ready Content Type - The PlayReady content type.
- License
Type string | Pulumi.Azure Native. Media. Content Key Policy Play Ready License Type - The license type.
- Begin
Date string - The begin date of license
- Expiration
Date string - The expiration date of license.
- Grace
Period string - The grace period of license.
- Play
Right Pulumi.Azure Native. Media. Inputs. Content Key Policy Play Ready Play Right - The license PlayRight
- Relative
Begin stringDate - The relative begin date of license.
- Relative
Expiration stringDate - The relative expiration date of license.
- Allow
Test boolDevices - A flag indicating whether test devices can use the license.
- Content
Key ContentLocation Key | ContentPolicy Play Ready Content Encryption Key From Header Key Policy Play Ready Content Encryption Key From Key Identifier - The content key location.
- Content
Type string | ContentKey Policy Play Ready Content Type - The PlayReady content type.
- License
Type string | ContentKey Policy Play Ready License Type - The license type.
- Begin
Date string - The begin date of license
- Expiration
Date string - The expiration date of license.
- Grace
Period string - The grace period of license.
- Play
Right ContentKey Policy Play Ready Play Right - The license PlayRight
- Relative
Begin stringDate - The relative begin date of license.
- Relative
Expiration stringDate - The relative expiration date of license.
- allow
Test BooleanDevices - A flag indicating whether test devices can use the license.
- content
Key ContentLocation Key | ContentPolicy Play Ready Content Encryption Key From Header Key Policy Play Ready Content Encryption Key From Key Identifier - The content key location.
- content
Type String | ContentKey Policy Play Ready Content Type - The PlayReady content type.
- license
Type String | ContentKey Policy Play Ready License Type - The license type.
- begin
Date String - The begin date of license
- expiration
Date String - The expiration date of license.
- grace
Period String - The grace period of license.
- play
Right ContentKey Policy Play Ready Play Right - The license PlayRight
- relative
Begin StringDate - The relative begin date of license.
- relative
Expiration StringDate - The relative expiration date of license.
- allow
Test booleanDevices - A flag indicating whether test devices can use the license.
- content
Key ContentLocation Key | ContentPolicy Play Ready Content Encryption Key From Header Key Policy Play Ready Content Encryption Key From Key Identifier - The content key location.
- content
Type string | ContentKey Policy Play Ready Content Type - The PlayReady content type.
- license
Type string | ContentKey Policy Play Ready License Type - The license type.
- begin
Date string - The begin date of license
- expiration
Date string - The expiration date of license.
- grace
Period string - The grace period of license.
- play
Right ContentKey Policy Play Ready Play Right - The license PlayRight
- relative
Begin stringDate - The relative begin date of license.
- relative
Expiration stringDate - The relative expiration date of license.
- allow_
test_ booldevices - A flag indicating whether test devices can use the license.
- content_
key_ Contentlocation Key | ContentPolicy Play Ready Content Encryption Key From Header Key Policy Play Ready Content Encryption Key From Key Identifier - The content key location.
- content_
type str | ContentKey Policy Play Ready Content Type - The PlayReady content type.
- license_
type str | ContentKey Policy Play Ready License Type - The license type.
- begin_
date str - The begin date of license
- expiration_
date str - The expiration date of license.
- grace_
period str - The grace period of license.
- play_
right ContentKey Policy Play Ready Play Right - The license PlayRight
- relative_
begin_ strdate - The relative begin date of license.
- relative_
expiration_ strdate - The relative expiration date of license.
- allow
Test BooleanDevices - A flag indicating whether test devices can use the license.
- content
Key Property Map | Property MapLocation - The content key location.
- content
Type String | "Unknown" | "Unspecified" | "UltraViolet Download" | "Ultra Violet Streaming" - The PlayReady content type.
- license
Type String | "Unknown" | "NonPersistent" | "Persistent" - The license type.
- begin
Date String - The begin date of license
- expiration
Date String - The expiration date of license.
- grace
Period String - The grace period of license.
- play
Right Property Map - The license PlayRight
- relative
Begin StringDate - The relative begin date of license.
- relative
Expiration StringDate - The relative expiration date of license.
ContentKeyPolicyPlayReadyLicenseResponse, ContentKeyPolicyPlayReadyLicenseResponseArgs
- Allow
Test boolDevices - A flag indicating whether test devices can use the license.
- Content
Key Pulumi.Location Azure | Pulumi.Native. Media. Inputs. Content Key Policy Play Ready Content Encryption Key From Header Response Azure Native. Media. Inputs. Content Key Policy Play Ready Content Encryption Key From Key Identifier Response - The content key location.
- Content
Type string - The PlayReady content type.
- License
Type string - The license type.
- Begin
Date string - The begin date of license
- Expiration
Date string - The expiration date of license.
- Grace
Period string - The grace period of license.
- Play
Right Pulumi.Azure Native. Media. Inputs. Content Key Policy Play Ready Play Right Response - The license PlayRight
- Relative
Begin stringDate - The relative begin date of license.
- Relative
Expiration stringDate - The relative expiration date of license.
- Allow
Test boolDevices - A flag indicating whether test devices can use the license.
- Content
Key ContentLocation Key | ContentPolicy Play Ready Content Encryption Key From Header Response Key Policy Play Ready Content Encryption Key From Key Identifier Response - The content key location.
- Content
Type string - The PlayReady content type.
- License
Type string - The license type.
- Begin
Date string - The begin date of license
- Expiration
Date string - The expiration date of license.
- Grace
Period string - The grace period of license.
- Play
Right ContentKey Policy Play Ready Play Right Response - The license PlayRight
- Relative
Begin stringDate - The relative begin date of license.
- Relative
Expiration stringDate - The relative expiration date of license.
- allow
Test BooleanDevices - A flag indicating whether test devices can use the license.
- content
Key ContentLocation Key | ContentPolicy Play Ready Content Encryption Key From Header Response Key Policy Play Ready Content Encryption Key From Key Identifier Response - The content key location.
- content
Type String - The PlayReady content type.
- license
Type String - The license type.
- begin
Date String - The begin date of license
- expiration
Date String - The expiration date of license.
- grace
Period String - The grace period of license.
- play
Right ContentKey Policy Play Ready Play Right Response - The license PlayRight
- relative
Begin StringDate - The relative begin date of license.
- relative
Expiration StringDate - The relative expiration date of license.
- allow
Test booleanDevices - A flag indicating whether test devices can use the license.
- content
Key ContentLocation Key | ContentPolicy Play Ready Content Encryption Key From Header Response Key Policy Play Ready Content Encryption Key From Key Identifier Response - The content key location.
- content
Type string - The PlayReady content type.
- license
Type string - The license type.
- begin
Date string - The begin date of license
- expiration
Date string - The expiration date of license.
- grace
Period string - The grace period of license.
- play
Right ContentKey Policy Play Ready Play Right Response - The license PlayRight
- relative
Begin stringDate - The relative begin date of license.
- relative
Expiration stringDate - The relative expiration date of license.
- allow_
test_ booldevices - A flag indicating whether test devices can use the license.
- content_
key_ Contentlocation Key | ContentPolicy Play Ready Content Encryption Key From Header Response Key Policy Play Ready Content Encryption Key From Key Identifier Response - The content key location.
- content_
type str - The PlayReady content type.
- license_
type str - The license type.
- begin_
date str - The begin date of license
- expiration_
date str - The expiration date of license.
- grace_
period str - The grace period of license.
- play_
right ContentKey Policy Play Ready Play Right Response - The license PlayRight
- relative_
begin_ strdate - The relative begin date of license.
- relative_
expiration_ strdate - The relative expiration date of license.
- allow
Test BooleanDevices - A flag indicating whether test devices can use the license.
- content
Key Property Map | Property MapLocation - The content key location.
- content
Type String - The PlayReady content type.
- license
Type String - The license type.
- begin
Date String - The begin date of license
- expiration
Date String - The expiration date of license.
- grace
Period String - The grace period of license.
- play
Right Property Map - The license PlayRight
- relative
Begin StringDate - The relative begin date of license.
- relative
Expiration StringDate - The relative expiration date of license.
ContentKeyPolicyPlayReadyLicenseType, ContentKeyPolicyPlayReadyLicenseTypeArgs
- Unknown
- UnknownRepresents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.
- Non
Persistent - NonPersistentNon persistent license.
- Persistent
- PersistentPersistent license. Allows offline playback.
- Content
Key Policy Play Ready License Type Unknown - UnknownRepresents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.
- Content
Key Policy Play Ready License Type Non Persistent - NonPersistentNon persistent license.
- Content
Key Policy Play Ready License Type Persistent - PersistentPersistent license. Allows offline playback.
- Unknown
- UnknownRepresents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.
- Non
Persistent - NonPersistentNon persistent license.
- Persistent
- PersistentPersistent license. Allows offline playback.
- Unknown
- UnknownRepresents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.
- Non
Persistent - NonPersistentNon persistent license.
- Persistent
- PersistentPersistent license. Allows offline playback.
- UNKNOWN
- UnknownRepresents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.
- NON_PERSISTENT
- NonPersistentNon persistent license.
- PERSISTENT
- PersistentPersistent license. Allows offline playback.
- "Unknown"
- UnknownRepresents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.
- "Non
Persistent" - NonPersistentNon persistent license.
- "Persistent"
- PersistentPersistent license. Allows offline playback.
ContentKeyPolicyPlayReadyPlayRight, ContentKeyPolicyPlayReadyPlayRightArgs
- Allow
Passing string | Pulumi.Video Content To Unknown Output Azure Native. Media. Content Key Policy Play Ready Unknown Output Passing Option - Configures Unknown output handling settings of the license.
- Digital
Video boolOnly Content Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- Image
Constraint boolFor Analog Component Video Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- Image
Constraint boolFor Analog Computer Monitor Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- Agc
And intColor Stripe Restriction - Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
- Analog
Video intOpl - Specifies the output protection level for compressed digital audio.
- Compressed
Digital intAudio Opl - Specifies the output protection level for compressed digital audio.
- Compressed
Digital intVideo Opl - Specifies the output protection level for compressed digital video.
- Explicit
Analog Pulumi.Television Output Restriction Azure Native. Media. Inputs. Content Key Policy Play Ready Explicit Analog Television Restriction - Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
- First
Play stringExpiration - The amount of time that the license is valid after the license is first used to play content.
- Scms
Restriction int - Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
- Uncompressed
Digital intAudio Opl - Specifies the output protection level for uncompressed digital audio.
- Uncompressed
Digital intVideo Opl - Specifies the output protection level for uncompressed digital video.
- Allow
Passing string | ContentVideo Content To Unknown Output Key Policy Play Ready Unknown Output Passing Option - Configures Unknown output handling settings of the license.
- Digital
Video boolOnly Content Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- Image
Constraint boolFor Analog Component Video Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- Image
Constraint boolFor Analog Computer Monitor Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- Agc
And intColor Stripe Restriction - Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
- Analog
Video intOpl - Specifies the output protection level for compressed digital audio.
- Compressed
Digital intAudio Opl - Specifies the output protection level for compressed digital audio.
- Compressed
Digital intVideo Opl - Specifies the output protection level for compressed digital video.
- Explicit
Analog ContentTelevision Output Restriction Key Policy Play Ready Explicit Analog Television Restriction - Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
- First
Play stringExpiration - The amount of time that the license is valid after the license is first used to play content.
- Scms
Restriction int - Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
- Uncompressed
Digital intAudio Opl - Specifies the output protection level for uncompressed digital audio.
- Uncompressed
Digital intVideo Opl - Specifies the output protection level for uncompressed digital video.
- allow
Passing String | ContentVideo Content To Unknown Output Key Policy Play Ready Unknown Output Passing Option - Configures Unknown output handling settings of the license.
- digital
Video BooleanOnly Content Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- image
Constraint BooleanFor Analog Component Video Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- image
Constraint BooleanFor Analog Computer Monitor Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- agc
And IntegerColor Stripe Restriction - Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
- analog
Video IntegerOpl - Specifies the output protection level for compressed digital audio.
- compressed
Digital IntegerAudio Opl - Specifies the output protection level for compressed digital audio.
- compressed
Digital IntegerVideo Opl - Specifies the output protection level for compressed digital video.
- explicit
Analog ContentTelevision Output Restriction Key Policy Play Ready Explicit Analog Television Restriction - Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
- first
Play StringExpiration - The amount of time that the license is valid after the license is first used to play content.
- scms
Restriction Integer - Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
- uncompressed
Digital IntegerAudio Opl - Specifies the output protection level for uncompressed digital audio.
- uncompressed
Digital IntegerVideo Opl - Specifies the output protection level for uncompressed digital video.
- allow
Passing string | ContentVideo Content To Unknown Output Key Policy Play Ready Unknown Output Passing Option - Configures Unknown output handling settings of the license.
- digital
Video booleanOnly Content Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- image
Constraint booleanFor Analog Component Video Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- image
Constraint booleanFor Analog Computer Monitor Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- agc
And numberColor Stripe Restriction - Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
- analog
Video numberOpl - Specifies the output protection level for compressed digital audio.
- compressed
Digital numberAudio Opl - Specifies the output protection level for compressed digital audio.
- compressed
Digital numberVideo Opl - Specifies the output protection level for compressed digital video.
- explicit
Analog ContentTelevision Output Restriction Key Policy Play Ready Explicit Analog Television Restriction - Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
- first
Play stringExpiration - The amount of time that the license is valid after the license is first used to play content.
- scms
Restriction number - Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
- uncompressed
Digital numberAudio Opl - Specifies the output protection level for uncompressed digital audio.
- uncompressed
Digital numberVideo Opl - Specifies the output protection level for uncompressed digital video.
- allow_
passing_ str | Contentvideo_ content_ to_ unknown_ output Key Policy Play Ready Unknown Output Passing Option - Configures Unknown output handling settings of the license.
- digital_
video_ boolonly_ content_ restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- image_
constraint_ boolfor_ analog_ component_ video_ restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- image_
constraint_ boolfor_ analog_ computer_ monitor_ restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- agc_
and_ intcolor_ stripe_ restriction - Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
- analog_
video_ intopl - Specifies the output protection level for compressed digital audio.
- compressed_
digital_ intaudio_ opl - Specifies the output protection level for compressed digital audio.
- compressed_
digital_ intvideo_ opl - Specifies the output protection level for compressed digital video.
- explicit_
analog_ Contenttelevision_ output_ restriction Key Policy Play Ready Explicit Analog Television Restriction - Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
- first_
play_ strexpiration - The amount of time that the license is valid after the license is first used to play content.
- scms_
restriction int - Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
- uncompressed_
digital_ intaudio_ opl - Specifies the output protection level for uncompressed digital audio.
- uncompressed_
digital_ intvideo_ opl - Specifies the output protection level for uncompressed digital video.
- allow
Passing String | "Unknown" | "NotVideo Content To Unknown Output Allowed" | "Allowed" | "Allowed With Video Constriction" - Configures Unknown output handling settings of the license.
- digital
Video BooleanOnly Content Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- image
Constraint BooleanFor Analog Component Video Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- image
Constraint BooleanFor Analog Computer Monitor Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- agc
And NumberColor Stripe Restriction - Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
- analog
Video NumberOpl - Specifies the output protection level for compressed digital audio.
- compressed
Digital NumberAudio Opl - Specifies the output protection level for compressed digital audio.
- compressed
Digital NumberVideo Opl - Specifies the output protection level for compressed digital video.
- explicit
Analog Property MapTelevision Output Restriction - Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
- first
Play StringExpiration - The amount of time that the license is valid after the license is first used to play content.
- scms
Restriction Number - Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
- uncompressed
Digital NumberAudio Opl - Specifies the output protection level for uncompressed digital audio.
- uncompressed
Digital NumberVideo Opl - Specifies the output protection level for uncompressed digital video.
ContentKeyPolicyPlayReadyPlayRightResponse, ContentKeyPolicyPlayReadyPlayRightResponseArgs
- Allow
Passing stringVideo Content To Unknown Output - Configures Unknown output handling settings of the license.
- Digital
Video boolOnly Content Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- Image
Constraint boolFor Analog Component Video Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- Image
Constraint boolFor Analog Computer Monitor Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- Agc
And intColor Stripe Restriction - Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
- Analog
Video intOpl - Specifies the output protection level for compressed digital audio.
- Compressed
Digital intAudio Opl - Specifies the output protection level for compressed digital audio.
- Compressed
Digital intVideo Opl - Specifies the output protection level for compressed digital video.
- Explicit
Analog Pulumi.Television Output Restriction Azure Native. Media. Inputs. Content Key Policy Play Ready Explicit Analog Television Restriction Response - Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
- First
Play stringExpiration - The amount of time that the license is valid after the license is first used to play content.
- Scms
Restriction int - Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
- Uncompressed
Digital intAudio Opl - Specifies the output protection level for uncompressed digital audio.
- Uncompressed
Digital intVideo Opl - Specifies the output protection level for uncompressed digital video.
- Allow
Passing stringVideo Content To Unknown Output - Configures Unknown output handling settings of the license.
- Digital
Video boolOnly Content Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- Image
Constraint boolFor Analog Component Video Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- Image
Constraint boolFor Analog Computer Monitor Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- Agc
And intColor Stripe Restriction - Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
- Analog
Video intOpl - Specifies the output protection level for compressed digital audio.
- Compressed
Digital intAudio Opl - Specifies the output protection level for compressed digital audio.
- Compressed
Digital intVideo Opl - Specifies the output protection level for compressed digital video.
- Explicit
Analog ContentTelevision Output Restriction Key Policy Play Ready Explicit Analog Television Restriction Response - Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
- First
Play stringExpiration - The amount of time that the license is valid after the license is first used to play content.
- Scms
Restriction int - Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
- Uncompressed
Digital intAudio Opl - Specifies the output protection level for uncompressed digital audio.
- Uncompressed
Digital intVideo Opl - Specifies the output protection level for uncompressed digital video.
- allow
Passing StringVideo Content To Unknown Output - Configures Unknown output handling settings of the license.
- digital
Video BooleanOnly Content Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- image
Constraint BooleanFor Analog Component Video Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- image
Constraint BooleanFor Analog Computer Monitor Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- agc
And IntegerColor Stripe Restriction - Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
- analog
Video IntegerOpl - Specifies the output protection level for compressed digital audio.
- compressed
Digital IntegerAudio Opl - Specifies the output protection level for compressed digital audio.
- compressed
Digital IntegerVideo Opl - Specifies the output protection level for compressed digital video.
- explicit
Analog ContentTelevision Output Restriction Key Policy Play Ready Explicit Analog Television Restriction Response - Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
- first
Play StringExpiration - The amount of time that the license is valid after the license is first used to play content.
- scms
Restriction Integer - Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
- uncompressed
Digital IntegerAudio Opl - Specifies the output protection level for uncompressed digital audio.
- uncompressed
Digital IntegerVideo Opl - Specifies the output protection level for uncompressed digital video.
- allow
Passing stringVideo Content To Unknown Output - Configures Unknown output handling settings of the license.
- digital
Video booleanOnly Content Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- image
Constraint booleanFor Analog Component Video Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- image
Constraint booleanFor Analog Computer Monitor Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- agc
And numberColor Stripe Restriction - Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
- analog
Video numberOpl - Specifies the output protection level for compressed digital audio.
- compressed
Digital numberAudio Opl - Specifies the output protection level for compressed digital audio.
- compressed
Digital numberVideo Opl - Specifies the output protection level for compressed digital video.
- explicit
Analog ContentTelevision Output Restriction Key Policy Play Ready Explicit Analog Television Restriction Response - Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
- first
Play stringExpiration - The amount of time that the license is valid after the license is first used to play content.
- scms
Restriction number - Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
- uncompressed
Digital numberAudio Opl - Specifies the output protection level for uncompressed digital audio.
- uncompressed
Digital numberVideo Opl - Specifies the output protection level for uncompressed digital video.
- allow_
passing_ strvideo_ content_ to_ unknown_ output - Configures Unknown output handling settings of the license.
- digital_
video_ boolonly_ content_ restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- image_
constraint_ boolfor_ analog_ component_ video_ restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- image_
constraint_ boolfor_ analog_ computer_ monitor_ restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- agc_
and_ intcolor_ stripe_ restriction - Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
- analog_
video_ intopl - Specifies the output protection level for compressed digital audio.
- compressed_
digital_ intaudio_ opl - Specifies the output protection level for compressed digital audio.
- compressed_
digital_ intvideo_ opl - Specifies the output protection level for compressed digital video.
- explicit_
analog_ Contenttelevision_ output_ restriction Key Policy Play Ready Explicit Analog Television Restriction Response - Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
- first_
play_ strexpiration - The amount of time that the license is valid after the license is first used to play content.
- scms_
restriction int - Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
- uncompressed_
digital_ intaudio_ opl - Specifies the output protection level for uncompressed digital audio.
- uncompressed_
digital_ intvideo_ opl - Specifies the output protection level for uncompressed digital video.
- allow
Passing StringVideo Content To Unknown Output - Configures Unknown output handling settings of the license.
- digital
Video BooleanOnly Content Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- image
Constraint BooleanFor Analog Component Video Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- image
Constraint BooleanFor Analog Computer Monitor Restriction - Enables the Image Constraint For Analog Component Video Restriction in the license.
- agc
And NumberColor Stripe Restriction - Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
- analog
Video NumberOpl - Specifies the output protection level for compressed digital audio.
- compressed
Digital NumberAudio Opl - Specifies the output protection level for compressed digital audio.
- compressed
Digital NumberVideo Opl - Specifies the output protection level for compressed digital video.
- explicit
Analog Property MapTelevision Output Restriction - Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
- first
Play StringExpiration - The amount of time that the license is valid after the license is first used to play content.
- scms
Restriction Number - Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
- uncompressed
Digital NumberAudio Opl - Specifies the output protection level for uncompressed digital audio.
- uncompressed
Digital NumberVideo Opl - Specifies the output protection level for uncompressed digital video.
ContentKeyPolicyPlayReadyUnknownOutputPassingOption, ContentKeyPolicyPlayReadyUnknownOutputPassingOptionArgs
- Unknown
- UnknownRepresents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.
- Not
Allowed - NotAllowedPassing the video portion of protected content to an Unknown Output is not allowed.
- Allowed
- AllowedPassing the video portion of protected content to an Unknown Output is allowed.
- Allowed
With Video Constriction - AllowedWithVideoConstrictionPassing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.
- Content
Key Policy Play Ready Unknown Output Passing Option Unknown - UnknownRepresents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.
- Content
Key Policy Play Ready Unknown Output Passing Option Not Allowed - NotAllowedPassing the video portion of protected content to an Unknown Output is not allowed.
- Content
Key Policy Play Ready Unknown Output Passing Option Allowed - AllowedPassing the video portion of protected content to an Unknown Output is allowed.
- Content
Key Policy Play Ready Unknown Output Passing Option Allowed With Video Constriction - AllowedWithVideoConstrictionPassing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.
- Unknown
- UnknownRepresents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.
- Not
Allowed - NotAllowedPassing the video portion of protected content to an Unknown Output is not allowed.
- Allowed
- AllowedPassing the video portion of protected content to an Unknown Output is allowed.
- Allowed
With Video Constriction - AllowedWithVideoConstrictionPassing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.
- Unknown
- UnknownRepresents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.
- Not
Allowed - NotAllowedPassing the video portion of protected content to an Unknown Output is not allowed.
- Allowed
- AllowedPassing the video portion of protected content to an Unknown Output is allowed.
- Allowed
With Video Constriction - AllowedWithVideoConstrictionPassing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.
- UNKNOWN
- UnknownRepresents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.
- NOT_ALLOWED
- NotAllowedPassing the video portion of protected content to an Unknown Output is not allowed.
- ALLOWED
- AllowedPassing the video portion of protected content to an Unknown Output is allowed.
- ALLOWED_WITH_VIDEO_CONSTRICTION
- AllowedWithVideoConstrictionPassing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.
- "Unknown"
- UnknownRepresents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.
- "Not
Allowed" - NotAllowedPassing the video portion of protected content to an Unknown Output is not allowed.
- "Allowed"
- AllowedPassing the video portion of protected content to an Unknown Output is allowed.
- "Allowed
With Video Constriction" - AllowedWithVideoConstrictionPassing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.
ContentKeyPolicyRestrictionTokenType, ContentKeyPolicyRestrictionTokenTypeArgs
- Unknown
- UnknownRepresents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.
- Swt
- SwtSimple Web Token.
- Jwt
- JwtJSON Web Token.
- Content
Key Policy Restriction Token Type Unknown - UnknownRepresents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.
- Content
Key Policy Restriction Token Type Swt - SwtSimple Web Token.
- Content
Key Policy Restriction Token Type Jwt - JwtJSON Web Token.
- Unknown
- UnknownRepresents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.
- Swt
- SwtSimple Web Token.
- Jwt
- JwtJSON Web Token.
- Unknown
- UnknownRepresents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.
- Swt
- SwtSimple Web Token.
- Jwt
- JwtJSON Web Token.
- UNKNOWN
- UnknownRepresents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.
- SWT
- SwtSimple Web Token.
- JWT
- JwtJSON Web Token.
- "Unknown"
- UnknownRepresents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.
- "Swt"
- SwtSimple Web Token.
- "Jwt"
- JwtJSON Web Token.
ContentKeyPolicyRsaTokenKey, ContentKeyPolicyRsaTokenKeyArgs
ContentKeyPolicyRsaTokenKeyResponse, ContentKeyPolicyRsaTokenKeyResponseArgs
ContentKeyPolicySymmetricTokenKey, ContentKeyPolicySymmetricTokenKeyArgs
- Key
Value string - The key value of the key
- Key
Value string - The key value of the key
- key
Value String - The key value of the key
- key
Value string - The key value of the key
- key_
value str - The key value of the key
- key
Value String - The key value of the key
ContentKeyPolicySymmetricTokenKeyResponse, ContentKeyPolicySymmetricTokenKeyResponseArgs
- Key
Value string - The key value of the key
- Key
Value string - The key value of the key
- key
Value String - The key value of the key
- key
Value string - The key value of the key
- key_
value str - The key value of the key
- key
Value String - The key value of the key
ContentKeyPolicyTokenClaim, ContentKeyPolicyTokenClaimArgs
- Claim
Type string - Token claim type.
- Claim
Value string - Token claim value.
- Claim
Type string - Token claim type.
- Claim
Value string - Token claim value.
- claim
Type String - Token claim type.
- claim
Value String - Token claim value.
- claim
Type string - Token claim type.
- claim
Value string - Token claim value.
- claim_
type str - Token claim type.
- claim_
value str - Token claim value.
- claim
Type String - Token claim type.
- claim
Value String - Token claim value.
ContentKeyPolicyTokenClaimResponse, ContentKeyPolicyTokenClaimResponseArgs
- Claim
Type string - Token claim type.
- Claim
Value string - Token claim value.
- Claim
Type string - Token claim type.
- Claim
Value string - Token claim value.
- claim
Type String - Token claim type.
- claim
Value String - Token claim value.
- claim
Type string - Token claim type.
- claim
Value string - Token claim value.
- claim_
type str - Token claim type.
- claim_
value str - Token claim value.
- claim
Type String - Token claim type.
- claim
Value String - Token claim value.
ContentKeyPolicyTokenRestriction, ContentKeyPolicyTokenRestrictionArgs
- Audience string
- The audience for the token.
- Issuer string
- The token issuer.
- Primary
Verification Pulumi.Key Azure | Pulumi.Native. Media. Inputs. Content Key Policy Rsa Token Key Azure | Pulumi.Native. Media. Inputs. Content Key Policy Symmetric Token Key Azure Native. Media. Inputs. Content Key Policy X509Certificate Token Key - The primary verification key.
- Restriction
Token string | Pulumi.Type Azure Native. Media. Content Key Policy Restriction Token Type - The type of token.
- Alternate
Verification List<object>Keys - A list of alternative verification keys.
- Open
Id stringConnect Discovery Document - The OpenID connect discovery document.
- Required
Claims List<Pulumi.Azure Native. Media. Inputs. Content Key Policy Token Claim> - A list of required token claims.
- Audience string
- The audience for the token.
- Issuer string
- The token issuer.
- Primary
Verification ContentKey Key | ContentPolicy Rsa Token Key Key | ContentPolicy Symmetric Token Key Key Policy X509Certificate Token Key - The primary verification key.
- Restriction
Token string | ContentType Key Policy Restriction Token Type - The type of token.
- Alternate
Verification []interface{}Keys - A list of alternative verification keys.
- Open
Id stringConnect Discovery Document - The OpenID connect discovery document.
- Required
Claims []ContentKey Policy Token Claim - A list of required token claims.
- audience String
- The audience for the token.
- issuer String
- The token issuer.
- primary
Verification ContentKey Key | ContentPolicy Rsa Token Key Key | ContentPolicy Symmetric Token Key Key Policy X509Certificate Token Key - The primary verification key.
- restriction
Token String | ContentType Key Policy Restriction Token Type - The type of token.
- alternate
Verification List<Object>Keys - A list of alternative verification keys.
- open
Id StringConnect Discovery Document - The OpenID connect discovery document.
- required
Claims List<ContentKey Policy Token Claim> - A list of required token claims.
- audience string
- The audience for the token.
- issuer string
- The token issuer.
- primary
Verification ContentKey Key | ContentPolicy Rsa Token Key Key | ContentPolicy Symmetric Token Key Key Policy X509Certificate Token Key - The primary verification key.
- restriction
Token string | ContentType Key Policy Restriction Token Type - The type of token.
- alternate
Verification (ContentKeys Key Policy Rsa Token Key | Content Key Policy Symmetric Token Key | Content Key Policy X509Certificate Token Key)[] - A list of alternative verification keys.
- open
Id stringConnect Discovery Document - The OpenID connect discovery document.
- required
Claims ContentKey Policy Token Claim[] - A list of required token claims.
- audience str
- The audience for the token.
- issuer str
- The token issuer.
- primary_
verification_ Contentkey Key | ContentPolicy Rsa Token Key Key | ContentPolicy Symmetric Token Key Key Policy X509Certificate Token Key - The primary verification key.
- restriction_
token_ str | Contenttype Key Policy Restriction Token Type - The type of token.
- alternate_
verification_ Sequence[Union[Contentkeys Key Policy Rsa Token Key, Content Key Policy Symmetric Token Key, Content Key Policy X509Certificate Token Key]] - A list of alternative verification keys.
- open_
id_ strconnect_ discovery_ document - The OpenID connect discovery document.
- required_
claims Sequence[ContentKey Policy Token Claim] - A list of required token claims.
- audience String
- The audience for the token.
- issuer String
- The token issuer.
- primary
Verification Property Map | Property Map | Property MapKey - The primary verification key.
- restriction
Token String | "Unknown" | "Swt" | "Jwt"Type - The type of token.
- alternate
Verification List<Property Map | Property Map | Property Map>Keys - A list of alternative verification keys.
- open
Id StringConnect Discovery Document - The OpenID connect discovery document.
- required
Claims List<Property Map> - A list of required token claims.
ContentKeyPolicyTokenRestrictionResponse, ContentKeyPolicyTokenRestrictionResponseArgs
- Audience string
- The audience for the token.
- Issuer string
- The token issuer.
- Primary
Verification Pulumi.Key Azure | Pulumi.Native. Media. Inputs. Content Key Policy Rsa Token Key Response Azure | Pulumi.Native. Media. Inputs. Content Key Policy Symmetric Token Key Response Azure Native. Media. Inputs. Content Key Policy X509Certificate Token Key Response - The primary verification key.
- Restriction
Token stringType - The type of token.
- Alternate
Verification List<object>Keys - A list of alternative verification keys.
- Open
Id stringConnect Discovery Document - The OpenID connect discovery document.
- Required
Claims List<Pulumi.Azure Native. Media. Inputs. Content Key Policy Token Claim Response> - A list of required token claims.
- Audience string
- The audience for the token.
- Issuer string
- The token issuer.
- Primary
Verification ContentKey Key | ContentPolicy Rsa Token Key Response Key | ContentPolicy Symmetric Token Key Response Key Policy X509Certificate Token Key Response - The primary verification key.
- Restriction
Token stringType - The type of token.
- Alternate
Verification []interface{}Keys - A list of alternative verification keys.
- Open
Id stringConnect Discovery Document - The OpenID connect discovery document.
- Required
Claims []ContentKey Policy Token Claim Response - A list of required token claims.
- audience String
- The audience for the token.
- issuer String
- The token issuer.
- primary
Verification ContentKey Key | ContentPolicy Rsa Token Key Response Key | ContentPolicy Symmetric Token Key Response Key Policy X509Certificate Token Key Response - The primary verification key.
- restriction
Token StringType - The type of token.
- alternate
Verification List<Object>Keys - A list of alternative verification keys.
- open
Id StringConnect Discovery Document - The OpenID connect discovery document.
- required
Claims List<ContentKey Policy Token Claim Response> - A list of required token claims.
- audience string
- The audience for the token.
- issuer string
- The token issuer.
- primary
Verification ContentKey Key | ContentPolicy Rsa Token Key Response Key | ContentPolicy Symmetric Token Key Response Key Policy X509Certificate Token Key Response - The primary verification key.
- restriction
Token stringType - The type of token.
- alternate
Verification (ContentKeys Key Policy Rsa Token Key Response | Content Key Policy Symmetric Token Key Response | Content Key Policy X509Certificate Token Key Response)[] - A list of alternative verification keys.
- open
Id stringConnect Discovery Document - The OpenID connect discovery document.
- required
Claims ContentKey Policy Token Claim Response[] - A list of required token claims.
- audience str
- The audience for the token.
- issuer str
- The token issuer.
- primary_
verification_ Contentkey Key | ContentPolicy Rsa Token Key Response Key | ContentPolicy Symmetric Token Key Response Key Policy X509Certificate Token Key Response - The primary verification key.
- restriction_
token_ strtype - The type of token.
- alternate_
verification_ Sequence[Union[Contentkeys Key Policy Rsa Token Key Response, Content Key Policy Symmetric Token Key Response, Content Key Policy X509Certificate Token Key Response]] - A list of alternative verification keys.
- open_
id_ strconnect_ discovery_ document - The OpenID connect discovery document.
- required_
claims Sequence[ContentKey Policy Token Claim Response] - A list of required token claims.
- audience String
- The audience for the token.
- issuer String
- The token issuer.
- primary
Verification Property Map | Property Map | Property MapKey - The primary verification key.
- restriction
Token StringType - The type of token.
- alternate
Verification List<Property Map | Property Map | Property Map>Keys - A list of alternative verification keys.
- open
Id StringConnect Discovery Document - The OpenID connect discovery document.
- required
Claims List<Property Map> - A list of required token claims.
ContentKeyPolicyUnknownConfiguration, ContentKeyPolicyUnknownConfigurationArgs
ContentKeyPolicyUnknownConfigurationResponse, ContentKeyPolicyUnknownConfigurationResponseArgs
ContentKeyPolicyUnknownRestriction, ContentKeyPolicyUnknownRestrictionArgs
ContentKeyPolicyUnknownRestrictionResponse, ContentKeyPolicyUnknownRestrictionResponseArgs
ContentKeyPolicyWidevineConfiguration, ContentKeyPolicyWidevineConfigurationArgs
- Widevine
Template string - The Widevine template.
- Widevine
Template string - The Widevine template.
- widevine
Template String - The Widevine template.
- widevine
Template string - The Widevine template.
- widevine_
template str - The Widevine template.
- widevine
Template String - The Widevine template.
ContentKeyPolicyWidevineConfigurationResponse, ContentKeyPolicyWidevineConfigurationResponseArgs
- Widevine
Template string - The Widevine template.
- Widevine
Template string - The Widevine template.
- widevine
Template String - The Widevine template.
- widevine
Template string - The Widevine template.
- widevine_
template str - The Widevine template.
- widevine
Template String - The Widevine template.
ContentKeyPolicyX509CertificateTokenKey, ContentKeyPolicyX509CertificateTokenKeyArgs
- Raw
Body string - The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
- Raw
Body string - The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
- raw
Body String - The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
- raw
Body string - The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
- raw_
body str - The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
- raw
Body String - The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
ContentKeyPolicyX509CertificateTokenKeyResponse, ContentKeyPolicyX509CertificateTokenKeyResponseArgs
- Raw
Body string - The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
- Raw
Body string - The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
- raw
Body String - The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
- raw
Body string - The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
- raw_
body str - The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
- raw
Body String - The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:media:ContentKeyPolicy PolicyCreatedWithMultipleOptions /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/contentKeyPolicies/PolicyCreatedWithMultipleOptions
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0