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 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/go/azure/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 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/go/azure/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 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/go/azure/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 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/go/azure/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

new ContentKeyPolicy(name: string, args: ContentKeyPolicyArgs, opts?: CustomResourceOptions);
@overload
def ContentKeyPolicy(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     account_name: Optional[str] = None,
                     content_key_policy_name: Optional[str] = None,
                     description: Optional[str] = None,
                     options: Optional[Sequence[ContentKeyPolicyOptionArgs]] = None,
                     resource_group_name: Optional[str] = None)
@overload
def ContentKeyPolicy(resource_name: str,
                     args: ContentKeyPolicyArgs,
                     opts: Optional[ResourceOptions] = 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.

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.

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

The ContentKeyPolicy resource accepts the following input properties:

AccountName string

The Media Services account name.

Options List<Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyOptionArgs>

The Key Policy options.

ResourceGroupName string

The name of the resource group within the Azure subscription.

ContentKeyPolicyName string

The Content Key Policy name.

Description string

A description for the Policy.

AccountName string

The Media Services account name.

Options []ContentKeyPolicyOptionArgs

The Key Policy options.

ResourceGroupName string

The name of the resource group within the Azure subscription.

ContentKeyPolicyName string

The Content Key Policy name.

Description string

A description for the Policy.

accountName String

The Media Services account name.

options List<ContentKeyPolicyOptionArgs>

The Key Policy options.

resourceGroupName String

The name of the resource group within the Azure subscription.

contentKeyPolicyName String

The Content Key Policy name.

description String

A description for the Policy.

accountName string

The Media Services account name.

options ContentKeyPolicyOptionArgs[]

The Key Policy options.

resourceGroupName string

The name of the resource group within the Azure subscription.

contentKeyPolicyName string

The Content Key Policy name.

description string

A description for the Policy.

account_name str

The Media Services account name.

options Sequence[ContentKeyPolicyOptionArgs]

The Key Policy options.

resource_group_name str

The name of the resource group within the Azure subscription.

content_key_policy_name str

The Content Key Policy name.

description str

A description for the Policy.

accountName String

The Media Services account name.

options List<Property Map>

The Key Policy options.

resourceGroupName String

The name of the resource group within the Azure subscription.

contentKeyPolicyName String

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.

LastModified string

The last modified date of the Policy

Name string

The name of the resource

PolicyId string

The legacy Policy ID.

SystemData Pulumi.AzureNative.Media.Outputs.SystemDataResponse

The system metadata relating to this resource.

Type string

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

Created string

The creation date of the Policy

Id string

The provider-assigned unique ID for this managed resource.

LastModified string

The last modified date of the Policy

Name string

The name of the resource

PolicyId string

The legacy Policy ID.

SystemData SystemDataResponse

The system metadata relating to this resource.

Type string

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

created String

The creation date of the Policy

id String

The provider-assigned unique ID for this managed resource.

lastModified String

The last modified date of the Policy

name String

The name of the resource

policyId String

The legacy Policy ID.

systemData SystemDataResponse

The system metadata relating to this resource.

type String

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

created string

The creation date of the Policy

id string

The provider-assigned unique ID for this managed resource.

lastModified string

The last modified date of the Policy

name string

The name of the resource

policyId string

The legacy Policy ID.

systemData SystemDataResponse

The system metadata relating to this resource.

type string

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

created str

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 SystemDataResponse

The system metadata relating to this resource.

type str

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

created String

The creation date of the Policy

id String

The provider-assigned unique ID for this managed resource.

lastModified String

The last modified date of the Policy

name String

The name of the resource

policyId String

The legacy Policy ID.

systemData Property Map

The system metadata relating to this resource.

type String

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

Supporting Types

ContentKeyPolicyClearKeyConfiguration

ContentKeyPolicyClearKeyConfigurationResponse

ContentKeyPolicyFairPlayConfiguration

Ask string

The key that must be used as FairPlay Application Secret key.

FairPlayPfx string

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).

FairPlayPfxPassword string

The password encrypting FairPlay certificate in PKCS 12 (pfx) format.

RentalAndLeaseKeyType string | Pulumi.AzureNative.Media.ContentKeyPolicyFairPlayRentalAndLeaseKeyType

The rental and lease key type.

RentalDuration double

The rental duration. Must be greater than or equal to 0.

OfflineRentalConfiguration Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyFairPlayOfflineRentalConfiguration

Offline rental policy

Ask string

The key that must be used as FairPlay Application Secret key.

FairPlayPfx string

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).

FairPlayPfxPassword string

The password encrypting FairPlay certificate in PKCS 12 (pfx) format.

RentalAndLeaseKeyType string | ContentKeyPolicyFairPlayRentalAndLeaseKeyType

The rental and lease key type.

RentalDuration float64

The rental duration. Must be greater than or equal to 0.

OfflineRentalConfiguration ContentKeyPolicyFairPlayOfflineRentalConfiguration

Offline rental policy

ask String

The key that must be used as FairPlay Application Secret key.

fairPlayPfx String

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).

fairPlayPfxPassword String

The password encrypting FairPlay certificate in PKCS 12 (pfx) format.

rentalAndLeaseKeyType String | ContentKeyPolicyFairPlayRentalAndLeaseKeyType

The rental and lease key type.

rentalDuration Double

The rental duration. Must be greater than or equal to 0.

offlineRentalConfiguration ContentKeyPolicyFairPlayOfflineRentalConfiguration

Offline rental policy

ask string

The key that must be used as FairPlay Application Secret key.

fairPlayPfx string

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).

fairPlayPfxPassword string

The password encrypting FairPlay certificate in PKCS 12 (pfx) format.

rentalAndLeaseKeyType string | ContentKeyPolicyFairPlayRentalAndLeaseKeyType

The rental and lease key type.

rentalDuration number

The rental duration. Must be greater than or equal to 0.

offlineRentalConfiguration ContentKeyPolicyFairPlayOfflineRentalConfiguration

Offline rental policy

ask str

The key that must be used as FairPlay Application Secret key.

fair_play_pfx str

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).

fair_play_pfx_password str

The password encrypting FairPlay certificate in PKCS 12 (pfx) format.

rental_and_lease_key_type str | ContentKeyPolicyFairPlayRentalAndLeaseKeyType

The rental and lease key type.

rental_duration float

The rental duration. Must be greater than or equal to 0.

offline_rental_configuration ContentKeyPolicyFairPlayOfflineRentalConfiguration

Offline rental policy

ask String

The key that must be used as FairPlay Application Secret key.

fairPlayPfx String

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).

fairPlayPfxPassword String

The password encrypting FairPlay certificate in PKCS 12 (pfx) format.

rentalAndLeaseKeyType String | "Unknown" | "Undefined" | "DualExpiry" | "PersistentUnlimited" | "PersistentLimited"

The rental and lease key type.

rentalDuration Number

The rental duration. Must be greater than or equal to 0.

offlineRentalConfiguration Property Map

Offline rental policy

ContentKeyPolicyFairPlayConfigurationResponse

Ask string

The key that must be used as FairPlay Application Secret key.

FairPlayPfx string

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).

FairPlayPfxPassword string

The password encrypting FairPlay certificate in PKCS 12 (pfx) format.

RentalAndLeaseKeyType string

The rental and lease key type.

RentalDuration double

The rental duration. Must be greater than or equal to 0.

OfflineRentalConfiguration Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyFairPlayOfflineRentalConfigurationResponse

Offline rental policy

Ask string

The key that must be used as FairPlay Application Secret key.

FairPlayPfx string

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).

FairPlayPfxPassword string

The password encrypting FairPlay certificate in PKCS 12 (pfx) format.

RentalAndLeaseKeyType string

The rental and lease key type.

RentalDuration float64

The rental duration. Must be greater than or equal to 0.

OfflineRentalConfiguration ContentKeyPolicyFairPlayOfflineRentalConfigurationResponse

Offline rental policy

ask String

The key that must be used as FairPlay Application Secret key.

fairPlayPfx String

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).

fairPlayPfxPassword String

The password encrypting FairPlay certificate in PKCS 12 (pfx) format.

rentalAndLeaseKeyType String

The rental and lease key type.

rentalDuration Double

The rental duration. Must be greater than or equal to 0.

offlineRentalConfiguration ContentKeyPolicyFairPlayOfflineRentalConfigurationResponse

Offline rental policy

ask string

The key that must be used as FairPlay Application Secret key.

fairPlayPfx string

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).

fairPlayPfxPassword string

The password encrypting FairPlay certificate in PKCS 12 (pfx) format.

rentalAndLeaseKeyType string

The rental and lease key type.

rentalDuration number

The rental duration. Must be greater than or equal to 0.

offlineRentalConfiguration ContentKeyPolicyFairPlayOfflineRentalConfigurationResponse

Offline rental policy

ask str

The key that must be used as FairPlay Application Secret key.

fair_play_pfx str

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).

fair_play_pfx_password str

The password encrypting FairPlay certificate in PKCS 12 (pfx) format.

rental_and_lease_key_type str

The rental and lease key type.

rental_duration float

The rental duration. Must be greater than or equal to 0.

offline_rental_configuration ContentKeyPolicyFairPlayOfflineRentalConfigurationResponse

Offline rental policy

ask String

The key that must be used as FairPlay Application Secret key.

fairPlayPfx String

The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).

fairPlayPfxPassword String

The password encrypting FairPlay certificate in PKCS 12 (pfx) format.

rentalAndLeaseKeyType String

The rental and lease key type.

rentalDuration Number

The rental duration. Must be greater than or equal to 0.

offlineRentalConfiguration Property Map

Offline rental policy

ContentKeyPolicyFairPlayOfflineRentalConfiguration

PlaybackDurationSeconds double

Playback duration

StorageDurationSeconds double

Storage duration

PlaybackDurationSeconds float64

Playback duration

StorageDurationSeconds float64

Storage duration

playbackDurationSeconds Double

Playback duration

storageDurationSeconds Double

Storage duration

playbackDurationSeconds number

Playback duration

storageDurationSeconds number

Storage duration

playback_duration_seconds float

Playback duration

storage_duration_seconds float

Storage duration

playbackDurationSeconds Number

Playback duration

storageDurationSeconds Number

Storage duration

ContentKeyPolicyFairPlayOfflineRentalConfigurationResponse

PlaybackDurationSeconds double

Playback duration

StorageDurationSeconds double

Storage duration

PlaybackDurationSeconds float64

Playback duration

StorageDurationSeconds float64

Storage duration

playbackDurationSeconds Double

Playback duration

storageDurationSeconds Double

Storage duration

playbackDurationSeconds number

Playback duration

storageDurationSeconds number

Storage duration

playback_duration_seconds float

Playback duration

storage_duration_seconds float

Storage duration

playbackDurationSeconds Number

Playback duration

storageDurationSeconds Number

Storage duration

ContentKeyPolicyFairPlayRentalAndLeaseKeyType

Unknown
Unknown

Represents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.

Undefined
Undefined

Key duration is not specified.

DualExpiry
DualExpiry

Dual expiry for offline rental.

PersistentUnlimited
PersistentUnlimited

Content key can be persisted with an unlimited duration

PersistentLimited
PersistentLimited

Content key can be persisted and the valid duration is limited by the Rental Duration value

ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUnknown
Unknown

Represents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.

ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUndefined
Undefined

Key duration is not specified.

ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeDualExpiry
DualExpiry

Dual expiry for offline rental.

ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentUnlimited
PersistentUnlimited

Content key can be persisted with an unlimited duration

ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentLimited
PersistentLimited

Content key can be persisted and the valid duration is limited by the Rental Duration value

Unknown
Unknown

Represents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.

Undefined
Undefined

Key duration is not specified.

DualExpiry
DualExpiry

Dual expiry for offline rental.

PersistentUnlimited
PersistentUnlimited

Content key can be persisted with an unlimited duration

PersistentLimited
PersistentLimited

Content key can be persisted and the valid duration is limited by the Rental Duration value

Unknown
Unknown

Represents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.

Undefined
Undefined

Key duration is not specified.

DualExpiry
DualExpiry

Dual expiry for offline rental.

PersistentUnlimited
PersistentUnlimited

Content key can be persisted with an unlimited duration

PersistentLimited
PersistentLimited

Content key can be persisted and the valid duration is limited by the Rental Duration value

UNKNOWN
Unknown

Represents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.

UNDEFINED
Undefined

Key duration is not specified.

DUAL_EXPIRY
DualExpiry

Dual expiry for offline rental.

PERSISTENT_UNLIMITED
PersistentUnlimited

Content key can be persisted with an unlimited duration

PERSISTENT_LIMITED
PersistentLimited

Content key can be persisted and the valid duration is limited by the Rental Duration value

"Unknown"
Unknown

Represents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.

"Undefined"
Undefined

Key duration is not specified.

"DualExpiry"
DualExpiry

Dual expiry for offline rental.

"PersistentUnlimited"
PersistentUnlimited

Content key can be persisted with an unlimited duration

"PersistentLimited"
PersistentLimited

Content key can be persisted and the valid duration is limited by the Rental Duration value

ContentKeyPolicyOpenRestriction

ContentKeyPolicyOpenRestrictionResponse

ContentKeyPolicyOption

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

Configuration Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyClearKeyConfigurationResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyFairPlayConfigurationResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyConfigurationResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyUnknownConfigurationResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyWidevineConfigurationResponse

The key delivery configuration.

PolicyOptionId string

The legacy Policy Option ID.

Restriction Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyOpenRestrictionResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyTokenRestrictionResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyUnknownRestrictionResponse

The requirements that must be met to deliver keys with this configuration

Name string

The Policy Option description.

configuration Property Map | Property Map | Property Map | Property Map | Property Map

The key delivery configuration.

policyOptionId String

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

Licenses []ContentKeyPolicyPlayReadyLicense

The PlayReady licenses.

ResponseCustomData string

The custom response data.

licenses List<ContentKeyPolicyPlayReadyLicense>

The PlayReady licenses.

responseCustomData String

The custom response data.

licenses ContentKeyPolicyPlayReadyLicense[]

The PlayReady licenses.

responseCustomData string

The custom response data.

licenses Sequence[ContentKeyPolicyPlayReadyLicense]

The PlayReady licenses.

response_custom_data str

The custom response data.

licenses List<Property Map>

The PlayReady licenses.

responseCustomData String

The custom response data.

ContentKeyPolicyPlayReadyConfigurationResponse

Licenses []ContentKeyPolicyPlayReadyLicenseResponse

The PlayReady licenses.

ResponseCustomData string

The custom response data.

licenses List<ContentKeyPolicyPlayReadyLicenseResponse>

The PlayReady licenses.

responseCustomData String

The custom response data.

licenses ContentKeyPolicyPlayReadyLicenseResponse[]

The PlayReady licenses.

responseCustomData string

The custom response data.

licenses Sequence[ContentKeyPolicyPlayReadyLicenseResponse]

The PlayReady licenses.

response_custom_data str

The custom response data.

licenses List<Property Map>

The PlayReady licenses.

responseCustomData String

The custom response data.

ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader

ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse

ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier

KeyId string

The content key ID.

KeyId string

The content key ID.

keyId String

The content key ID.

keyId string

The content key ID.

key_id str

The content key ID.

keyId String

The content key ID.

ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse

KeyId string

The content key ID.

KeyId string

The content key ID.

keyId String

The content key ID.

keyId string

The content key ID.

key_id str

The content key ID.

keyId String

The content key ID.

ContentKeyPolicyPlayReadyContentType

Unknown
Unknown

Represents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.

Unspecified
Unspecified

Unspecified content type.

UltraVioletDownload
UltraVioletDownload

Ultraviolet download content type.

UltraVioletStreaming
UltraVioletStreaming

Ultraviolet streaming content type.

ContentKeyPolicyPlayReadyContentTypeUnknown
Unknown

Represents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.

ContentKeyPolicyPlayReadyContentTypeUnspecified
Unspecified

Unspecified content type.

ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload
UltraVioletDownload

Ultraviolet download content type.

ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming
UltraVioletStreaming

Ultraviolet streaming content type.

Unknown
Unknown

Represents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.

Unspecified
Unspecified

Unspecified content type.

UltraVioletDownload
UltraVioletDownload

Ultraviolet download content type.

UltraVioletStreaming
UltraVioletStreaming

Ultraviolet streaming content type.

Unknown
Unknown

Represents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.

Unspecified
Unspecified

Unspecified content type.

UltraVioletDownload
UltraVioletDownload

Ultraviolet download content type.

UltraVioletStreaming
UltraVioletStreaming

Ultraviolet streaming content type.

UNKNOWN
Unknown

Represents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.

UNSPECIFIED
Unspecified

Unspecified content type.

ULTRA_VIOLET_DOWNLOAD
UltraVioletDownload

Ultraviolet download content type.

ULTRA_VIOLET_STREAMING
UltraVioletStreaming

Ultraviolet streaming content type.

"Unknown"
Unknown

Represents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.

"Unspecified"
Unspecified

Unspecified content type.

"UltraVioletDownload"
UltraVioletDownload

Ultraviolet download content type.

"UltraVioletStreaming"
UltraVioletStreaming

Ultraviolet streaming content type.

ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction

BestEffort bool

Indicates whether this restriction is enforced on a Best Effort basis.

ConfigurationData int

Configures the restriction control bits. Must be between 0 and 3 inclusive.

BestEffort bool

Indicates whether this restriction is enforced on a Best Effort basis.

ConfigurationData int

Configures the restriction control bits. Must be between 0 and 3 inclusive.

bestEffort Boolean

Indicates whether this restriction is enforced on a Best Effort basis.

configurationData Integer

Configures the restriction control bits. Must be between 0 and 3 inclusive.

bestEffort boolean

Indicates whether this restriction is enforced on a Best Effort basis.

configurationData 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.

bestEffort Boolean

Indicates whether this restriction is enforced on a Best Effort basis.

configurationData Number

Configures the restriction control bits. Must be between 0 and 3 inclusive.

ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse

BestEffort bool

Indicates whether this restriction is enforced on a Best Effort basis.

ConfigurationData int

Configures the restriction control bits. Must be between 0 and 3 inclusive.

BestEffort bool

Indicates whether this restriction is enforced on a Best Effort basis.

ConfigurationData int

Configures the restriction control bits. Must be between 0 and 3 inclusive.

bestEffort Boolean

Indicates whether this restriction is enforced on a Best Effort basis.

configurationData Integer

Configures the restriction control bits. Must be between 0 and 3 inclusive.

bestEffort boolean

Indicates whether this restriction is enforced on a Best Effort basis.

configurationData 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.

bestEffort Boolean

Indicates whether this restriction is enforced on a Best Effort basis.

configurationData Number

Configures the restriction control bits. Must be between 0 and 3 inclusive.

ContentKeyPolicyPlayReadyLicense

AllowTestDevices bool

A flag indicating whether test devices can use the license.

ContentKeyLocation Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier

The content key location.

ContentType string | Pulumi.AzureNative.Media.ContentKeyPolicyPlayReadyContentType

The PlayReady content type.

LicenseType string | Pulumi.AzureNative.Media.ContentKeyPolicyPlayReadyLicenseType

The license type.

BeginDate string

The begin date of license

ExpirationDate string

The expiration date of license.

GracePeriod string

The grace period of license.

PlayRight Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyPlayRight

The license PlayRight

RelativeBeginDate string

The relative begin date of license.

RelativeExpirationDate string

The relative expiration date of license.

AllowTestDevices bool

A flag indicating whether test devices can use the license.

ContentKeyLocation ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier

The content key location.

ContentType string | ContentKeyPolicyPlayReadyContentType

The PlayReady content type.

LicenseType string | ContentKeyPolicyPlayReadyLicenseType

The license type.

BeginDate string

The begin date of license

ExpirationDate string

The expiration date of license.

GracePeriod string

The grace period of license.

PlayRight ContentKeyPolicyPlayReadyPlayRight

The license PlayRight

RelativeBeginDate string

The relative begin date of license.

RelativeExpirationDate string

The relative expiration date of license.

allowTestDevices Boolean

A flag indicating whether test devices can use the license.

contentKeyLocation ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier

The content key location.

contentType String | ContentKeyPolicyPlayReadyContentType

The PlayReady content type.

licenseType String | ContentKeyPolicyPlayReadyLicenseType

The license type.

beginDate String

The begin date of license

expirationDate String

The expiration date of license.

gracePeriod String

The grace period of license.

playRight ContentKeyPolicyPlayReadyPlayRight

The license PlayRight

relativeBeginDate String

The relative begin date of license.

relativeExpirationDate String

The relative expiration date of license.

allowTestDevices boolean

A flag indicating whether test devices can use the license.

contentKeyLocation ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier

The content key location.

contentType string | ContentKeyPolicyPlayReadyContentType

The PlayReady content type.

licenseType string | ContentKeyPolicyPlayReadyLicenseType

The license type.

beginDate string

The begin date of license

expirationDate string

The expiration date of license.

gracePeriod string

The grace period of license.

playRight ContentKeyPolicyPlayReadyPlayRight

The license PlayRight

relativeBeginDate string

The relative begin date of license.

relativeExpirationDate string

The relative expiration date of license.

allow_test_devices bool

A flag indicating whether test devices can use the license.

content_key_location ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier

The content key location.

content_type str | ContentKeyPolicyPlayReadyContentType

The PlayReady content type.

license_type str | ContentKeyPolicyPlayReadyLicenseType

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 ContentKeyPolicyPlayReadyPlayRight

The license PlayRight

relative_begin_date str

The relative begin date of license.

relative_expiration_date str

The relative expiration date of license.

allowTestDevices Boolean

A flag indicating whether test devices can use the license.

contentKeyLocation Property Map | Property Map

The content key location.

contentType String | "Unknown" | "Unspecified" | "UltraVioletDownload" | "UltraVioletStreaming"

The PlayReady content type.

licenseType String | "Unknown" | "NonPersistent" | "Persistent"

The license type.

beginDate String

The begin date of license

expirationDate String

The expiration date of license.

gracePeriod String

The grace period of license.

playRight Property Map

The license PlayRight

relativeBeginDate String

The relative begin date of license.

relativeExpirationDate String

The relative expiration date of license.

ContentKeyPolicyPlayReadyLicenseResponse

AllowTestDevices bool

A flag indicating whether test devices can use the license.

ContentKeyLocation Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse

The content key location.

ContentType string

The PlayReady content type.

LicenseType string

The license type.

BeginDate string

The begin date of license

ExpirationDate string

The expiration date of license.

GracePeriod string

The grace period of license.

PlayRight Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyPlayRightResponse

The license PlayRight

RelativeBeginDate string

The relative begin date of license.

RelativeExpirationDate string

The relative expiration date of license.

AllowTestDevices bool

A flag indicating whether test devices can use the license.

ContentKeyLocation ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse

The content key location.

ContentType string

The PlayReady content type.

LicenseType string

The license type.

BeginDate string

The begin date of license

ExpirationDate string

The expiration date of license.

GracePeriod string

The grace period of license.

PlayRight ContentKeyPolicyPlayReadyPlayRightResponse

The license PlayRight

RelativeBeginDate string

The relative begin date of license.

RelativeExpirationDate string

The relative expiration date of license.

allowTestDevices Boolean

A flag indicating whether test devices can use the license.

contentKeyLocation ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse

The content key location.

contentType String

The PlayReady content type.

licenseType String

The license type.

beginDate String

The begin date of license

expirationDate String

The expiration date of license.

gracePeriod String

The grace period of license.

playRight ContentKeyPolicyPlayReadyPlayRightResponse

The license PlayRight

relativeBeginDate String

The relative begin date of license.

relativeExpirationDate String

The relative expiration date of license.

allowTestDevices boolean

A flag indicating whether test devices can use the license.

contentKeyLocation ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse

The content key location.

contentType string

The PlayReady content type.

licenseType string

The license type.

beginDate string

The begin date of license

expirationDate string

The expiration date of license.

gracePeriod string

The grace period of license.

playRight ContentKeyPolicyPlayReadyPlayRightResponse

The license PlayRight

relativeBeginDate string

The relative begin date of license.

relativeExpirationDate string

The relative expiration date of license.

allow_test_devices bool

A flag indicating whether test devices can use the license.

content_key_location ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse

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 ContentKeyPolicyPlayReadyPlayRightResponse

The license PlayRight

relative_begin_date str

The relative begin date of license.

relative_expiration_date str

The relative expiration date of license.

allowTestDevices Boolean

A flag indicating whether test devices can use the license.

contentKeyLocation Property Map | Property Map

The content key location.

contentType String

The PlayReady content type.

licenseType String

The license type.

beginDate String

The begin date of license

expirationDate String

The expiration date of license.

gracePeriod String

The grace period of license.

playRight Property Map

The license PlayRight

relativeBeginDate String

The relative begin date of license.

relativeExpirationDate String

The relative expiration date of license.

ContentKeyPolicyPlayReadyLicenseType

Unknown
Unknown

Represents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.

NonPersistent
NonPersistent

Non persistent license.

Persistent
Persistent

Persistent license. Allows offline playback.

ContentKeyPolicyPlayReadyLicenseTypeUnknown
Unknown

Represents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.

ContentKeyPolicyPlayReadyLicenseTypeNonPersistent
NonPersistent

Non persistent license.

ContentKeyPolicyPlayReadyLicenseTypePersistent
Persistent

Persistent license. Allows offline playback.

Unknown
Unknown

Represents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.

NonPersistent
NonPersistent

Non persistent license.

Persistent
Persistent

Persistent license. Allows offline playback.

Unknown
Unknown

Represents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.

NonPersistent
NonPersistent

Non persistent license.

Persistent
Persistent

Persistent license. Allows offline playback.

UNKNOWN
Unknown

Represents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.

NON_PERSISTENT
NonPersistent

Non persistent license.

PERSISTENT
Persistent

Persistent license. Allows offline playback.

"Unknown"
Unknown

Represents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.

"NonPersistent"
NonPersistent

Non persistent license.

"Persistent"
Persistent

Persistent license. Allows offline playback.

ContentKeyPolicyPlayReadyPlayRight

AllowPassingVideoContentToUnknownOutput string | Pulumi.AzureNative.Media.ContentKeyPolicyPlayReadyUnknownOutputPassingOption

Configures Unknown output handling settings of the license.

DigitalVideoOnlyContentRestriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

ImageConstraintForAnalogComponentVideoRestriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

ImageConstraintForAnalogComputerMonitorRestriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

AgcAndColorStripeRestriction int

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

AnalogVideoOpl int

Specifies the output protection level for compressed digital audio.

CompressedDigitalAudioOpl int

Specifies the output protection level for compressed digital audio.

CompressedDigitalVideoOpl int

Specifies the output protection level for compressed digital video.

ExplicitAnalogTelevisionOutputRestriction Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction

Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.

FirstPlayExpiration string

The amount of time that the license is valid after the license is first used to play content.

ScmsRestriction int

Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.

UncompressedDigitalAudioOpl int

Specifies the output protection level for uncompressed digital audio.

UncompressedDigitalVideoOpl int

Specifies the output protection level for uncompressed digital video.

AllowPassingVideoContentToUnknownOutput string | ContentKeyPolicyPlayReadyUnknownOutputPassingOption

Configures Unknown output handling settings of the license.

DigitalVideoOnlyContentRestriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

ImageConstraintForAnalogComponentVideoRestriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

ImageConstraintForAnalogComputerMonitorRestriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

AgcAndColorStripeRestriction int

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

AnalogVideoOpl int

Specifies the output protection level for compressed digital audio.

CompressedDigitalAudioOpl int

Specifies the output protection level for compressed digital audio.

CompressedDigitalVideoOpl int

Specifies the output protection level for compressed digital video.

ExplicitAnalogTelevisionOutputRestriction ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction

Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.

FirstPlayExpiration string

The amount of time that the license is valid after the license is first used to play content.

ScmsRestriction int

Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.

UncompressedDigitalAudioOpl int

Specifies the output protection level for uncompressed digital audio.

UncompressedDigitalVideoOpl int

Specifies the output protection level for uncompressed digital video.

allowPassingVideoContentToUnknownOutput String | ContentKeyPolicyPlayReadyUnknownOutputPassingOption

Configures Unknown output handling settings of the license.

digitalVideoOnlyContentRestriction Boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

imageConstraintForAnalogComponentVideoRestriction Boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

imageConstraintForAnalogComputerMonitorRestriction Boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

agcAndColorStripeRestriction Integer

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

analogVideoOpl Integer

Specifies the output protection level for compressed digital audio.

compressedDigitalAudioOpl Integer

Specifies the output protection level for compressed digital audio.

compressedDigitalVideoOpl Integer

Specifies the output protection level for compressed digital video.

explicitAnalogTelevisionOutputRestriction ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction

Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.

firstPlayExpiration String

The amount of time that the license is valid after the license is first used to play content.

scmsRestriction Integer

Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.

uncompressedDigitalAudioOpl Integer

Specifies the output protection level for uncompressed digital audio.

uncompressedDigitalVideoOpl Integer

Specifies the output protection level for uncompressed digital video.

allowPassingVideoContentToUnknownOutput string | ContentKeyPolicyPlayReadyUnknownOutputPassingOption

Configures Unknown output handling settings of the license.

digitalVideoOnlyContentRestriction boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

imageConstraintForAnalogComponentVideoRestriction boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

imageConstraintForAnalogComputerMonitorRestriction boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

agcAndColorStripeRestriction number

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

analogVideoOpl number

Specifies the output protection level for compressed digital audio.

compressedDigitalAudioOpl number

Specifies the output protection level for compressed digital audio.

compressedDigitalVideoOpl number

Specifies the output protection level for compressed digital video.

explicitAnalogTelevisionOutputRestriction ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction

Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.

firstPlayExpiration string

The amount of time that the license is valid after the license is first used to play content.

scmsRestriction number

Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.

uncompressedDigitalAudioOpl number

Specifies the output protection level for uncompressed digital audio.

uncompressedDigitalVideoOpl number

Specifies the output protection level for uncompressed digital video.

allow_passing_video_content_to_unknown_output str | ContentKeyPolicyPlayReadyUnknownOutputPassingOption

Configures Unknown output handling settings of the license.

digital_video_only_content_restriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

image_constraint_for_analog_component_video_restriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

image_constraint_for_analog_computer_monitor_restriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

agc_and_color_stripe_restriction int

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

analog_video_opl int

Specifies the output protection level for compressed digital audio.

compressed_digital_audio_opl int

Specifies the output protection level for compressed digital audio.

compressed_digital_video_opl int

Specifies the output protection level for compressed digital video.

explicit_analog_television_output_restriction ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction

Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.

first_play_expiration str

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_audio_opl int

Specifies the output protection level for uncompressed digital audio.

uncompressed_digital_video_opl int

Specifies the output protection level for uncompressed digital video.

allowPassingVideoContentToUnknownOutput String | "Unknown" | "NotAllowed" | "Allowed" | "AllowedWithVideoConstriction"

Configures Unknown output handling settings of the license.

digitalVideoOnlyContentRestriction Boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

imageConstraintForAnalogComponentVideoRestriction Boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

imageConstraintForAnalogComputerMonitorRestriction Boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

agcAndColorStripeRestriction Number

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

analogVideoOpl Number

Specifies the output protection level for compressed digital audio.

compressedDigitalAudioOpl Number

Specifies the output protection level for compressed digital audio.

compressedDigitalVideoOpl Number

Specifies the output protection level for compressed digital video.

explicitAnalogTelevisionOutputRestriction Property Map

Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.

firstPlayExpiration String

The amount of time that the license is valid after the license is first used to play content.

scmsRestriction Number

Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.

uncompressedDigitalAudioOpl Number

Specifies the output protection level for uncompressed digital audio.

uncompressedDigitalVideoOpl Number

Specifies the output protection level for uncompressed digital video.

ContentKeyPolicyPlayReadyPlayRightResponse

AllowPassingVideoContentToUnknownOutput string

Configures Unknown output handling settings of the license.

DigitalVideoOnlyContentRestriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

ImageConstraintForAnalogComponentVideoRestriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

ImageConstraintForAnalogComputerMonitorRestriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

AgcAndColorStripeRestriction int

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

AnalogVideoOpl int

Specifies the output protection level for compressed digital audio.

CompressedDigitalAudioOpl int

Specifies the output protection level for compressed digital audio.

CompressedDigitalVideoOpl int

Specifies the output protection level for compressed digital video.

ExplicitAnalogTelevisionOutputRestriction Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse

Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.

FirstPlayExpiration string

The amount of time that the license is valid after the license is first used to play content.

ScmsRestriction int

Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.

UncompressedDigitalAudioOpl int

Specifies the output protection level for uncompressed digital audio.

UncompressedDigitalVideoOpl int

Specifies the output protection level for uncompressed digital video.

AllowPassingVideoContentToUnknownOutput string

Configures Unknown output handling settings of the license.

DigitalVideoOnlyContentRestriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

ImageConstraintForAnalogComponentVideoRestriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

ImageConstraintForAnalogComputerMonitorRestriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

AgcAndColorStripeRestriction int

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

AnalogVideoOpl int

Specifies the output protection level for compressed digital audio.

CompressedDigitalAudioOpl int

Specifies the output protection level for compressed digital audio.

CompressedDigitalVideoOpl int

Specifies the output protection level for compressed digital video.

ExplicitAnalogTelevisionOutputRestriction ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse

Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.

FirstPlayExpiration string

The amount of time that the license is valid after the license is first used to play content.

ScmsRestriction int

Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.

UncompressedDigitalAudioOpl int

Specifies the output protection level for uncompressed digital audio.

UncompressedDigitalVideoOpl int

Specifies the output protection level for uncompressed digital video.

allowPassingVideoContentToUnknownOutput String

Configures Unknown output handling settings of the license.

digitalVideoOnlyContentRestriction Boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

imageConstraintForAnalogComponentVideoRestriction Boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

imageConstraintForAnalogComputerMonitorRestriction Boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

agcAndColorStripeRestriction Integer

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

analogVideoOpl Integer

Specifies the output protection level for compressed digital audio.

compressedDigitalAudioOpl Integer

Specifies the output protection level for compressed digital audio.

compressedDigitalVideoOpl Integer

Specifies the output protection level for compressed digital video.

explicitAnalogTelevisionOutputRestriction ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse

Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.

firstPlayExpiration String

The amount of time that the license is valid after the license is first used to play content.

scmsRestriction Integer

Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.

uncompressedDigitalAudioOpl Integer

Specifies the output protection level for uncompressed digital audio.

uncompressedDigitalVideoOpl Integer

Specifies the output protection level for uncompressed digital video.

allowPassingVideoContentToUnknownOutput string

Configures Unknown output handling settings of the license.

digitalVideoOnlyContentRestriction boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

imageConstraintForAnalogComponentVideoRestriction boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

imageConstraintForAnalogComputerMonitorRestriction boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

agcAndColorStripeRestriction number

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

analogVideoOpl number

Specifies the output protection level for compressed digital audio.

compressedDigitalAudioOpl number

Specifies the output protection level for compressed digital audio.

compressedDigitalVideoOpl number

Specifies the output protection level for compressed digital video.

explicitAnalogTelevisionOutputRestriction ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse

Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.

firstPlayExpiration string

The amount of time that the license is valid after the license is first used to play content.

scmsRestriction number

Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.

uncompressedDigitalAudioOpl number

Specifies the output protection level for uncompressed digital audio.

uncompressedDigitalVideoOpl number

Specifies the output protection level for uncompressed digital video.

allow_passing_video_content_to_unknown_output str

Configures Unknown output handling settings of the license.

digital_video_only_content_restriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

image_constraint_for_analog_component_video_restriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

image_constraint_for_analog_computer_monitor_restriction bool

Enables the Image Constraint For Analog Component Video Restriction in the license.

agc_and_color_stripe_restriction int

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

analog_video_opl int

Specifies the output protection level for compressed digital audio.

compressed_digital_audio_opl int

Specifies the output protection level for compressed digital audio.

compressed_digital_video_opl int

Specifies the output protection level for compressed digital video.

explicit_analog_television_output_restriction ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse

Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.

first_play_expiration str

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_audio_opl int

Specifies the output protection level for uncompressed digital audio.

uncompressed_digital_video_opl int

Specifies the output protection level for uncompressed digital video.

allowPassingVideoContentToUnknownOutput String

Configures Unknown output handling settings of the license.

digitalVideoOnlyContentRestriction Boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

imageConstraintForAnalogComponentVideoRestriction Boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

imageConstraintForAnalogComputerMonitorRestriction Boolean

Enables the Image Constraint For Analog Component Video Restriction in the license.

agcAndColorStripeRestriction Number

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

analogVideoOpl Number

Specifies the output protection level for compressed digital audio.

compressedDigitalAudioOpl Number

Specifies the output protection level for compressed digital audio.

compressedDigitalVideoOpl Number

Specifies the output protection level for compressed digital video.

explicitAnalogTelevisionOutputRestriction Property Map

Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.

firstPlayExpiration String

The amount of time that the license is valid after the license is first used to play content.

scmsRestriction Number

Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.

uncompressedDigitalAudioOpl Number

Specifies the output protection level for uncompressed digital audio.

uncompressedDigitalVideoOpl Number

Specifies the output protection level for uncompressed digital video.

ContentKeyPolicyPlayReadyUnknownOutputPassingOption

Unknown
Unknown

Represents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.

NotAllowed
NotAllowed

Passing the video portion of protected content to an Unknown Output is not allowed.

Allowed
Allowed

Passing the video portion of protected content to an Unknown Output is allowed.

AllowedWithVideoConstriction
AllowedWithVideoConstriction

Passing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.

ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown
Unknown

Represents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.

ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed
NotAllowed

Passing the video portion of protected content to an Unknown Output is not allowed.

ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed
Allowed

Passing the video portion of protected content to an Unknown Output is allowed.

ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction
AllowedWithVideoConstriction

Passing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.

Unknown
Unknown

Represents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.

NotAllowed
NotAllowed

Passing the video portion of protected content to an Unknown Output is not allowed.

Allowed
Allowed

Passing the video portion of protected content to an Unknown Output is allowed.

AllowedWithVideoConstriction
AllowedWithVideoConstriction

Passing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.

Unknown
Unknown

Represents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.

NotAllowed
NotAllowed

Passing the video portion of protected content to an Unknown Output is not allowed.

Allowed
Allowed

Passing the video portion of protected content to an Unknown Output is allowed.

AllowedWithVideoConstriction
AllowedWithVideoConstriction

Passing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.

UNKNOWN
Unknown

Represents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.

NOT_ALLOWED
NotAllowed

Passing the video portion of protected content to an Unknown Output is not allowed.

ALLOWED
Allowed

Passing the video portion of protected content to an Unknown Output is allowed.

ALLOWED_WITH_VIDEO_CONSTRICTION
AllowedWithVideoConstriction

Passing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.

"Unknown"
Unknown

Represents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.

"NotAllowed"
NotAllowed

Passing the video portion of protected content to an Unknown Output is not allowed.

"Allowed"
Allowed

Passing the video portion of protected content to an Unknown Output is allowed.

"AllowedWithVideoConstriction"
AllowedWithVideoConstriction

Passing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.

ContentKeyPolicyRestrictionTokenType

Unknown
Unknown

Represents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.

Swt
Swt

Simple Web Token.

Jwt
Jwt

JSON Web Token.

ContentKeyPolicyRestrictionTokenTypeUnknown
Unknown

Represents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.

ContentKeyPolicyRestrictionTokenTypeSwt
Swt

Simple Web Token.

ContentKeyPolicyRestrictionTokenTypeJwt
Jwt

JSON Web Token.

Unknown
Unknown

Represents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.

Swt
Swt

Simple Web Token.

Jwt
Jwt

JSON Web Token.

Unknown
Unknown

Represents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.

Swt
Swt

Simple Web Token.

Jwt
Jwt

JSON Web Token.

UNKNOWN
Unknown

Represents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.

SWT
Swt

Simple Web Token.

JWT
Jwt

JSON Web Token.

"Unknown"
Unknown

Represents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.

"Swt"
Swt

Simple Web Token.

"Jwt"
Jwt

JSON Web Token.

ContentKeyPolicyRsaTokenKey

Exponent string

The RSA Parameter exponent

Modulus string

The RSA Parameter modulus

Exponent string

The RSA Parameter exponent

Modulus string

The RSA Parameter modulus

exponent String

The RSA Parameter exponent

modulus String

The RSA Parameter modulus

exponent string

The RSA Parameter exponent

modulus string

The RSA Parameter modulus

exponent str

The RSA Parameter exponent

modulus str

The RSA Parameter modulus

exponent String

The RSA Parameter exponent

modulus String

The RSA Parameter modulus

ContentKeyPolicyRsaTokenKeyResponse

Exponent string

The RSA Parameter exponent

Modulus string

The RSA Parameter modulus

Exponent string

The RSA Parameter exponent

Modulus string

The RSA Parameter modulus

exponent String

The RSA Parameter exponent

modulus String

The RSA Parameter modulus

exponent string

The RSA Parameter exponent

modulus string

The RSA Parameter modulus

exponent str

The RSA Parameter exponent

modulus str

The RSA Parameter modulus

exponent String

The RSA Parameter exponent

modulus String

The RSA Parameter modulus

ContentKeyPolicySymmetricTokenKey

KeyValue string

The key value of the key

KeyValue string

The key value of the key

keyValue String

The key value of the key

keyValue string

The key value of the key

key_value str

The key value of the key

keyValue String

The key value of the key

ContentKeyPolicySymmetricTokenKeyResponse

KeyValue string

The key value of the key

KeyValue string

The key value of the key

keyValue String

The key value of the key

keyValue string

The key value of the key

key_value str

The key value of the key

keyValue String

The key value of the key

ContentKeyPolicyTokenClaim

ClaimType string

Token claim type.

ClaimValue string

Token claim value.

ClaimType string

Token claim type.

ClaimValue string

Token claim value.

claimType String

Token claim type.

claimValue String

Token claim value.

claimType string

Token claim type.

claimValue string

Token claim value.

claim_type str

Token claim type.

claim_value str

Token claim value.

claimType String

Token claim type.

claimValue String

Token claim value.

ContentKeyPolicyTokenClaimResponse

ClaimType string

Token claim type.

ClaimValue string

Token claim value.

ClaimType string

Token claim type.

ClaimValue string

Token claim value.

claimType String

Token claim type.

claimValue String

Token claim value.

claimType string

Token claim type.

claimValue string

Token claim value.

claim_type str

Token claim type.

claim_value str

Token claim value.

claimType String

Token claim type.

claimValue String

Token claim value.

ContentKeyPolicyTokenRestriction

Audience string

The audience for the token.

Issuer string

The token issuer.

PrimaryVerificationKey ContentKeyPolicyRsaTokenKey | ContentKeyPolicySymmetricTokenKey | ContentKeyPolicyX509CertificateTokenKey

The primary verification key.

RestrictionTokenType string | ContentKeyPolicyRestrictionTokenType

The type of token.

AlternateVerificationKeys []interface{}

A list of alternative verification keys.

OpenIdConnectDiscoveryDocument string

The OpenID connect discovery document.

RequiredClaims []ContentKeyPolicyTokenClaim

A list of required token claims.

audience String

The audience for the token.

issuer String

The token issuer.

primaryVerificationKey ContentKeyPolicyRsaTokenKey | ContentKeyPolicySymmetricTokenKey | ContentKeyPolicyX509CertificateTokenKey

The primary verification key.

restrictionTokenType String | ContentKeyPolicyRestrictionTokenType

The type of token.

alternateVerificationKeys List<Object>

A list of alternative verification keys.

openIdConnectDiscoveryDocument String

The OpenID connect discovery document.

requiredClaims List<ContentKeyPolicyTokenClaim>

A list of required token claims.

audience string

The audience for the token.

issuer string

The token issuer.

primaryVerificationKey ContentKeyPolicyRsaTokenKey | ContentKeyPolicySymmetricTokenKey | ContentKeyPolicyX509CertificateTokenKey

The primary verification key.

restrictionTokenType string | ContentKeyPolicyRestrictionTokenType

The type of token.

alternateVerificationKeys (ContentKeyPolicyRsaTokenKey | ContentKeyPolicySymmetricTokenKey | ContentKeyPolicyX509CertificateTokenKey)[]

A list of alternative verification keys.

openIdConnectDiscoveryDocument string

The OpenID connect discovery document.

requiredClaims ContentKeyPolicyTokenClaim[]

A list of required token claims.

audience str

The audience for the token.

issuer str

The token issuer.

primary_verification_key ContentKeyPolicyRsaTokenKey | ContentKeyPolicySymmetricTokenKey | ContentKeyPolicyX509CertificateTokenKey

The primary verification key.

restriction_token_type str | ContentKeyPolicyRestrictionTokenType

The type of token.

alternate_verification_keys Sequence[Union[ContentKeyPolicyRsaTokenKey, ContentKeyPolicySymmetricTokenKey, ContentKeyPolicyX509CertificateTokenKey]]

A list of alternative verification keys.

open_id_connect_discovery_document str

The OpenID connect discovery document.

required_claims Sequence[ContentKeyPolicyTokenClaim]

A list of required token claims.

audience String

The audience for the token.

issuer String

The token issuer.

primaryVerificationKey Property Map | Property Map | Property Map

The primary verification key.

restrictionTokenType String | "Unknown" | "Swt" | "Jwt"

The type of token.

alternateVerificationKeys List<Property Map | Property Map | Property Map>

A list of alternative verification keys.

openIdConnectDiscoveryDocument String

The OpenID connect discovery document.

requiredClaims List<Property Map>

A list of required token claims.

ContentKeyPolicyTokenRestrictionResponse

Audience string

The audience for the token.

Issuer string

The token issuer.

PrimaryVerificationKey ContentKeyPolicyRsaTokenKeyResponse | ContentKeyPolicySymmetricTokenKeyResponse | ContentKeyPolicyX509CertificateTokenKeyResponse

The primary verification key.

RestrictionTokenType string

The type of token.

AlternateVerificationKeys []interface{}

A list of alternative verification keys.

OpenIdConnectDiscoveryDocument string

The OpenID connect discovery document.

RequiredClaims []ContentKeyPolicyTokenClaimResponse

A list of required token claims.

audience String

The audience for the token.

issuer String

The token issuer.

primaryVerificationKey ContentKeyPolicyRsaTokenKeyResponse | ContentKeyPolicySymmetricTokenKeyResponse | ContentKeyPolicyX509CertificateTokenKeyResponse

The primary verification key.

restrictionTokenType String

The type of token.

alternateVerificationKeys List<Object>

A list of alternative verification keys.

openIdConnectDiscoveryDocument String

The OpenID connect discovery document.

requiredClaims List<ContentKeyPolicyTokenClaimResponse>

A list of required token claims.

audience string

The audience for the token.

issuer string

The token issuer.

primaryVerificationKey ContentKeyPolicyRsaTokenKeyResponse | ContentKeyPolicySymmetricTokenKeyResponse | ContentKeyPolicyX509CertificateTokenKeyResponse

The primary verification key.

restrictionTokenType string

The type of token.

alternateVerificationKeys (ContentKeyPolicyRsaTokenKeyResponse | ContentKeyPolicySymmetricTokenKeyResponse | ContentKeyPolicyX509CertificateTokenKeyResponse)[]

A list of alternative verification keys.

openIdConnectDiscoveryDocument string

The OpenID connect discovery document.

requiredClaims ContentKeyPolicyTokenClaimResponse[]

A list of required token claims.

audience str

The audience for the token.

issuer str

The token issuer.

primary_verification_key ContentKeyPolicyRsaTokenKeyResponse | ContentKeyPolicySymmetricTokenKeyResponse | ContentKeyPolicyX509CertificateTokenKeyResponse

The primary verification key.

restriction_token_type str

The type of token.

alternate_verification_keys Sequence[Union[ContentKeyPolicyRsaTokenKeyResponse, ContentKeyPolicySymmetricTokenKeyResponse, ContentKeyPolicyX509CertificateTokenKeyResponse]]

A list of alternative verification keys.

open_id_connect_discovery_document str

The OpenID connect discovery document.

required_claims Sequence[ContentKeyPolicyTokenClaimResponse]

A list of required token claims.

audience String

The audience for the token.

issuer String

The token issuer.

primaryVerificationKey Property Map | Property Map | Property Map

The primary verification key.

restrictionTokenType String

The type of token.

alternateVerificationKeys List<Property Map | Property Map | Property Map>

A list of alternative verification keys.

openIdConnectDiscoveryDocument String

The OpenID connect discovery document.

requiredClaims List<Property Map>

A list of required token claims.

ContentKeyPolicyUnknownConfiguration

ContentKeyPolicyUnknownConfigurationResponse

ContentKeyPolicyUnknownRestriction

ContentKeyPolicyUnknownRestrictionResponse

ContentKeyPolicyWidevineConfiguration

WidevineTemplate string

The Widevine template.

WidevineTemplate string

The Widevine template.

widevineTemplate String

The Widevine template.

widevineTemplate string

The Widevine template.

widevine_template str

The Widevine template.

widevineTemplate String

The Widevine template.

ContentKeyPolicyWidevineConfigurationResponse

WidevineTemplate string

The Widevine template.

WidevineTemplate string

The Widevine template.

widevineTemplate String

The Widevine template.

widevineTemplate string

The Widevine template.

widevine_template str

The Widevine template.

widevineTemplate String

The Widevine template.

ContentKeyPolicyX509CertificateTokenKey

RawBody string

The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)

RawBody string

The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)

rawBody String

The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)

rawBody 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)

rawBody String

The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)

ContentKeyPolicyX509CertificateTokenKeyResponse

RawBody string

The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)

RawBody string

The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)

rawBody String

The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)

rawBody 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)

rawBody String

The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)

SystemDataResponse

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

The type of identity that last modified the resource.

created_at str

The timestamp of resource creation (UTC).

created_by str

The identity that created the resource.

created_by_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

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 

Package Details

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