1. Packages
  2. Azure Native v2
  3. API Docs
  4. media
  5. ContentKeyPolicy
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.media.ContentKeyPolicy

Explore with Pulumi AI

A Content Key Policy resource. Azure REST API version: 2023-01-01. Prior API version in Azure Native 1.x: 2020-05-01.

Example Usage

Creates a Content Key Policy with ClearKey option and Token Restriction

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

return await Deployment.RunAsync(() => 
{
    var contentKeyPolicy = new AzureNative.Media.ContentKeyPolicy("contentKeyPolicy", new()
    {
        AccountName = "contosomedia",
        ContentKeyPolicyName = "PolicyWithClearKeyOptionAndSwtTokenRestriction",
        Description = "ArmPolicyDescription",
        Options = new[]
        {
            new AzureNative.Media.Inputs.ContentKeyPolicyOptionArgs
            {
                Configuration = new AzureNative.Media.Inputs.ContentKeyPolicyClearKeyConfigurationArgs
                {
                    OdataType = "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
                },
                Name = "ClearKeyOption",
                Restriction = new AzureNative.Media.Inputs.ContentKeyPolicyTokenRestrictionArgs
                {
                    Audience = "urn:audience",
                    Issuer = "urn:issuer",
                    OdataType = "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
                    PrimaryVerificationKey = new AzureNative.Media.Inputs.ContentKeyPolicySymmetricTokenKeyArgs
                    {
                        KeyValue = "AAAAAAAAAAAAAAAAAAAAAA==",
                        OdataType = "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
                    },
                    RestrictionTokenType = AzureNative.Media.ContentKeyPolicyRestrictionTokenType.Swt,
                },
            },
        },
        ResourceGroupName = "contosorg",
    });

});
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewContentKeyPolicy(ctx, "contentKeyPolicy", &media.ContentKeyPolicyArgs{
			AccountName:          pulumi.String("contosomedia"),
			ContentKeyPolicyName: pulumi.String("PolicyWithClearKeyOptionAndSwtTokenRestriction"),
			Description:          pulumi.String("ArmPolicyDescription"),
			Options: media.ContentKeyPolicyOptionArray{
				&media.ContentKeyPolicyOptionArgs{
					Configuration: media.ContentKeyPolicyClearKeyConfiguration{
						OdataType: "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
					},
					Name: pulumi.String("ClearKeyOption"),
					Restriction: media.ContentKeyPolicyTokenRestriction{
						Audience:  "urn:audience",
						Issuer:    "urn:issuer",
						OdataType: "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
						PrimaryVerificationKey: media.ContentKeyPolicySymmetricTokenKey{
							KeyValue:  "AAAAAAAAAAAAAAAAAAAAAA==",
							OdataType: "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
						},
						RestrictionTokenType: media.ContentKeyPolicyRestrictionTokenTypeSwt,
					},
				},
			},
			ResourceGroupName: pulumi.String("contosorg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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 com.pulumi.azurenative.media.inputs.ContentKeyPolicyOptionArgs;
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(ContentKeyPolicyOptionArgs.builder()
                .configuration(ContentKeyPolicyClearKeyConfigurationArgs.builder()
                    .odataType("#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration")
                    .build())
                .name("ClearKeyOption")
                .restriction(ContentKeyPolicyOpenRestrictionArgs.builder()
                    .audience("urn:audience")
                    .issuer("urn:issuer")
                    .odataType("#Microsoft.Media.ContentKeyPolicyTokenRestriction")
                    .primaryVerificationKey(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .restrictionTokenType("Swt")
                    .build())
                .build())
            .resourceGroupName("contosorg")
            .build());

    }
}
Copy
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: azure_native.media.ContentKeyPolicyRestrictionTokenType.Swt,
        },
    }],
    resourceGroupName: "contosorg",
});
Copy
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=[{
        "configuration": {
            "odata_type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
        },
        "name": "ClearKeyOption",
        "restriction": {
            "audience": "urn:audience",
            "issuer": "urn:issuer",
            "odata_type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
            "primary_verification_key": {
                "key_value": "AAAAAAAAAAAAAAAAAAAAAA==",
                "odata_type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
            },
            "restriction_token_type": azure_native.media.ContentKeyPolicyRestrictionTokenType.SWT,
        },
    }],
    resource_group_name="contosorg")
Copy
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: contosorg
Copy

Creates a Content Key Policy with PlayReady option and Open Restriction

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

return await Deployment.RunAsync(() => 
{
    var contentKeyPolicy = new AzureNative.Media.ContentKeyPolicy("contentKeyPolicy", new()
    {
        AccountName = "contosomedia",
        ContentKeyPolicyName = "PolicyWithPlayReadyOptionAndOpenRestriction",
        Description = "ArmPolicyDescription",
        Options = new[]
        {
            new AzureNative.Media.Inputs.ContentKeyPolicyOptionArgs
            {
                Configuration = new AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyConfigurationArgs
                {
                    Licenses = new[]
                    {
                        new AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyLicenseArgs
                        {
                            AllowTestDevices = true,
                            BeginDate = "2017-10-16T18:22:53.46Z",
                            ContentKeyLocation = new AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderArgs
                            {
                                OdataType = "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader",
                            },
                            ContentType = AzureNative.Media.ContentKeyPolicyPlayReadyContentType.UltraVioletDownload,
                            LicenseType = AzureNative.Media.ContentKeyPolicyPlayReadyLicenseType.Persistent,
                            PlayRight = new AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyPlayRightArgs
                            {
                                AllowPassingVideoContentToUnknownOutput = AzureNative.Media.ContentKeyPolicyPlayReadyUnknownOutputPassingOption.NotAllowed,
                                DigitalVideoOnlyContentRestriction = false,
                                ImageConstraintForAnalogComponentVideoRestriction = true,
                                ImageConstraintForAnalogComputerMonitorRestriction = false,
                                ScmsRestriction = 2,
                            },
                            SecurityLevel = AzureNative.Media.SecurityLevel.SL150,
                        },
                    },
                    OdataType = "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
                },
                Name = "ArmPolicyOptionName",
                Restriction = new AzureNative.Media.Inputs.ContentKeyPolicyOpenRestrictionArgs
                {
                    OdataType = "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
                },
            },
        },
        ResourceGroupName = "contosorg",
    });

});
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewContentKeyPolicy(ctx, "contentKeyPolicy", &media.ContentKeyPolicyArgs{
			AccountName:          pulumi.String("contosomedia"),
			ContentKeyPolicyName: pulumi.String("PolicyWithPlayReadyOptionAndOpenRestriction"),
			Description:          pulumi.String("ArmPolicyDescription"),
			Options: media.ContentKeyPolicyOptionArray{
				&media.ContentKeyPolicyOptionArgs{
					Configuration: media.ContentKeyPolicyPlayReadyConfiguration{
						Licenses: []media.ContentKeyPolicyPlayReadyLicense{
							{
								AllowTestDevices: true,
								BeginDate:        "2017-10-16T18:22:53.46Z",
								ContentKeyLocation: {
									OdataType: "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader",
								},
								ContentType: media.ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload,
								LicenseType: media.ContentKeyPolicyPlayReadyLicenseTypePersistent,
								PlayRight: {
									AllowPassingVideoContentToUnknownOutput:            media.ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed,
									DigitalVideoOnlyContentRestriction:                 false,
									ImageConstraintForAnalogComponentVideoRestriction:  true,
									ImageConstraintForAnalogComputerMonitorRestriction: false,
									ScmsRestriction: 2,
								},
								SecurityLevel: media.SecurityLevelSL150,
							},
						},
						OdataType: "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
					},
					Name: pulumi.String("ArmPolicyOptionName"),
					Restriction: media.ContentKeyPolicyOpenRestriction{
						OdataType: "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
					},
				},
			},
			ResourceGroupName: pulumi.String("contosorg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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 com.pulumi.azurenative.media.inputs.ContentKeyPolicyOptionArgs;
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(ContentKeyPolicyOptionArgs.builder()
                .configuration(ContentKeyPolicyClearKeyConfigurationArgs.builder()
                    .licenses(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .odataType("#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration")
                    .build())
                .name("ArmPolicyOptionName")
                .restriction(ContentKeyPolicyOpenRestrictionArgs.builder()
                    .odataType("#Microsoft.Media.ContentKeyPolicyOpenRestriction")
                    .build())
                .build())
            .resourceGroupName("contosorg")
            .build());

    }
}
Copy
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: azure_native.media.ContentKeyPolicyPlayReadyContentType.UltraVioletDownload,
                licenseType: azure_native.media.ContentKeyPolicyPlayReadyLicenseType.Persistent,
                playRight: {
                    allowPassingVideoContentToUnknownOutput: azure_native.media.ContentKeyPolicyPlayReadyUnknownOutputPassingOption.NotAllowed,
                    digitalVideoOnlyContentRestriction: false,
                    imageConstraintForAnalogComponentVideoRestriction: true,
                    imageConstraintForAnalogComputerMonitorRestriction: false,
                    scmsRestriction: 2,
                },
                securityLevel: azure_native.media.SecurityLevel.SL150,
            }],
            odataType: "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
        },
        name: "ArmPolicyOptionName",
        restriction: {
            odataType: "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
        },
    }],
    resourceGroupName: "contosorg",
});
Copy
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=[{
        "configuration": {
            "licenses": [{
                "allow_test_devices": True,
                "begin_date": "2017-10-16T18:22:53.46Z",
                "content_key_location": {
                    "odata_type": "#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader",
                },
                "content_type": azure_native.media.ContentKeyPolicyPlayReadyContentType.ULTRA_VIOLET_DOWNLOAD,
                "license_type": azure_native.media.ContentKeyPolicyPlayReadyLicenseType.PERSISTENT,
                "play_right": {
                    "allow_passing_video_content_to_unknown_output": azure_native.media.ContentKeyPolicyPlayReadyUnknownOutputPassingOption.NOT_ALLOWED,
                    "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,
                },
                "security_level": azure_native.media.SecurityLevel.SL150,
            }],
            "odata_type": "#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration",
        },
        "name": "ArmPolicyOptionName",
        "restriction": {
            "odata_type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
        },
    }],
    resource_group_name="contosorg")
Copy
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
                securityLevel: SL150
            odataType: '#Microsoft.Media.ContentKeyPolicyPlayReadyConfiguration'
          name: ArmPolicyOptionName
          restriction:
            odataType: '#Microsoft.Media.ContentKeyPolicyOpenRestriction'
      resourceGroupName: contosorg
Copy

Creates a Content Key Policy with Widevine option and Token Restriction

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

return await Deployment.RunAsync(() => 
{
    var contentKeyPolicy = new AzureNative.Media.ContentKeyPolicy("contentKeyPolicy", new()
    {
        AccountName = "contosomedia",
        ContentKeyPolicyName = "PolicyWithWidevineOptionAndJwtTokenRestriction",
        Description = "ArmPolicyDescription",
        Options = new[]
        {
            new AzureNative.Media.Inputs.ContentKeyPolicyOptionArgs
            {
                Configuration = new AzureNative.Media.Inputs.ContentKeyPolicyWidevineConfigurationArgs
                {
                    OdataType = "#Microsoft.Media.ContentKeyPolicyWidevineConfiguration",
                    WidevineTemplate = "{\"allowed_track_types\":\"SD_HD\",\"content_key_specs\":[{\"track_type\":\"SD\",\"security_level\":1,\"required_output_protection\":{\"hdcp\":\"HDCP_V2\"}}],\"policy_overrides\":{\"can_play\":true,\"can_persist\":true,\"can_renew\":false}}",
                },
                Name = "widevineoption",
                Restriction = new AzureNative.Media.Inputs.ContentKeyPolicyTokenRestrictionArgs
                {
                    AlternateVerificationKeys = new[]
                    {
                        new AzureNative.Media.Inputs.ContentKeyPolicySymmetricTokenKeyArgs
                        {
                            KeyValue = "AAAAAAAAAAAAAAAAAAAAAA==",
                            OdataType = "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
                        },
                    },
                    Audience = "urn:audience",
                    Issuer = "urn:issuer",
                    OdataType = "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
                    PrimaryVerificationKey = new AzureNative.Media.Inputs.ContentKeyPolicyRsaTokenKeyArgs
                    {
                        Exponent = "AQAB",
                        Modulus = "AQAD",
                        OdataType = "#Microsoft.Media.ContentKeyPolicyRsaTokenKey",
                    },
                    RestrictionTokenType = AzureNative.Media.ContentKeyPolicyRestrictionTokenType.Jwt,
                },
            },
        },
        ResourceGroupName = "contosorg",
    });

});
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewContentKeyPolicy(ctx, "contentKeyPolicy", &media.ContentKeyPolicyArgs{
			AccountName:          pulumi.String("contosomedia"),
			ContentKeyPolicyName: pulumi.String("PolicyWithWidevineOptionAndJwtTokenRestriction"),
			Description:          pulumi.String("ArmPolicyDescription"),
			Options: media.ContentKeyPolicyOptionArray{
				&media.ContentKeyPolicyOptionArgs{
					Configuration: media.ContentKeyPolicyWidevineConfiguration{
						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: media.ContentKeyPolicyTokenRestriction{
						AlternateVerificationKeys: []interface{}{
							media.ContentKeyPolicySymmetricTokenKey{
								KeyValue:  "AAAAAAAAAAAAAAAAAAAAAA==",
								OdataType: "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
							},
						},
						Audience:  "urn:audience",
						Issuer:    "urn:issuer",
						OdataType: "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
						PrimaryVerificationKey: media.ContentKeyPolicyRsaTokenKey{
							Exponent:  "AQAB",
							Modulus:   "AQAD",
							OdataType: "#Microsoft.Media.ContentKeyPolicyRsaTokenKey",
						},
						RestrictionTokenType: media.ContentKeyPolicyRestrictionTokenTypeJwt,
					},
				},
			},
			ResourceGroupName: pulumi.String("contosorg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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 com.pulumi.azurenative.media.inputs.ContentKeyPolicyOptionArgs;
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(ContentKeyPolicyOptionArgs.builder()
                .configuration(ContentKeyPolicyClearKeyConfigurationArgs.builder()
                    .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}}")
                    .build())
                .name("widevineoption")
                .restriction(ContentKeyPolicyOpenRestrictionArgs.builder()
                    .alternateVerificationKeys(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .audience("urn:audience")
                    .issuer("urn:issuer")
                    .odataType("#Microsoft.Media.ContentKeyPolicyTokenRestriction")
                    .primaryVerificationKey(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .restrictionTokenType("Jwt")
                    .build())
                .build())
            .resourceGroupName("contosorg")
            .build());

    }
}
Copy
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: azure_native.media.ContentKeyPolicyRestrictionTokenType.Jwt,
        },
    }],
    resourceGroupName: "contosorg",
});
Copy
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=[{
        "configuration": {
            "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": {
            "alternate_verification_keys": [{
                "key_value": "AAAAAAAAAAAAAAAAAAAAAA==",
                "odata_type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
            }],
            "audience": "urn:audience",
            "issuer": "urn:issuer",
            "odata_type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
            "primary_verification_key": {
                "exponent": "AQAB",
                "modulus": "AQAD",
                "odata_type": "#Microsoft.Media.ContentKeyPolicyRsaTokenKey",
            },
            "restriction_token_type": azure_native.media.ContentKeyPolicyRestrictionTokenType.JWT,
        },
    }],
    resource_group_name="contosorg")
Copy
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: contosorg
Copy

Creates a Content Key Policy with multiple options

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

return await Deployment.RunAsync(() => 
{
    var contentKeyPolicy = new AzureNative.Media.ContentKeyPolicy("contentKeyPolicy", new()
    {
        AccountName = "contosomedia",
        ContentKeyPolicyName = "PolicyCreatedWithMultipleOptions",
        Description = "ArmPolicyDescription",
        Options = new[]
        {
            new AzureNative.Media.Inputs.ContentKeyPolicyOptionArgs
            {
                Configuration = new AzureNative.Media.Inputs.ContentKeyPolicyClearKeyConfigurationArgs
                {
                    OdataType = "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
                },
                Name = "ClearKeyOption",
                Restriction = new AzureNative.Media.Inputs.ContentKeyPolicyTokenRestrictionArgs
                {
                    Audience = "urn:audience",
                    Issuer = "urn:issuer",
                    OdataType = "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
                    PrimaryVerificationKey = new AzureNative.Media.Inputs.ContentKeyPolicySymmetricTokenKeyArgs
                    {
                        KeyValue = "AAAAAAAAAAAAAAAAAAAAAA==",
                        OdataType = "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
                    },
                    RestrictionTokenType = AzureNative.Media.ContentKeyPolicyRestrictionTokenType.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 = "contosorg",
    });

});
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := media.NewContentKeyPolicy(ctx, "contentKeyPolicy", &media.ContentKeyPolicyArgs{
			AccountName:          pulumi.String("contosomedia"),
			ContentKeyPolicyName: pulumi.String("PolicyCreatedWithMultipleOptions"),
			Description:          pulumi.String("ArmPolicyDescription"),
			Options: media.ContentKeyPolicyOptionArray{
				&media.ContentKeyPolicyOptionArgs{
					Configuration: media.ContentKeyPolicyClearKeyConfiguration{
						OdataType: "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
					},
					Name: pulumi.String("ClearKeyOption"),
					Restriction: media.ContentKeyPolicyTokenRestriction{
						Audience:  "urn:audience",
						Issuer:    "urn:issuer",
						OdataType: "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
						PrimaryVerificationKey: media.ContentKeyPolicySymmetricTokenKey{
							KeyValue:  "AAAAAAAAAAAAAAAAAAAAAA==",
							OdataType: "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
						},
						RestrictionTokenType: media.ContentKeyPolicyRestrictionTokenTypeSwt,
					},
				},
				&media.ContentKeyPolicyOptionArgs{
					Configuration: media.ContentKeyPolicyWidevineConfiguration{
						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: media.ContentKeyPolicyOpenRestriction{
						OdataType: "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
					},
				},
			},
			ResourceGroupName: pulumi.String("contosorg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
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 com.pulumi.azurenative.media.inputs.ContentKeyPolicyOptionArgs;
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(            
                ContentKeyPolicyOptionArgs.builder()
                    .configuration(ContentKeyPolicyClearKeyConfigurationArgs.builder()
                        .odataType("#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration")
                        .build())
                    .name("ClearKeyOption")
                    .restriction(ContentKeyPolicyOpenRestrictionArgs.builder()
                        .audience("urn:audience")
                        .issuer("urn:issuer")
                        .odataType("#Microsoft.Media.ContentKeyPolicyTokenRestriction")
                        .primaryVerificationKey(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                        .restrictionTokenType("Swt")
                        .build())
                    .build(),
                ContentKeyPolicyOptionArgs.builder()
                    .configuration(ContentKeyPolicyClearKeyConfigurationArgs.builder()
                        .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}}")
                        .build())
                    .name("widevineoption")
                    .restriction(ContentKeyPolicyOpenRestrictionArgs.builder()
                        .odataType("#Microsoft.Media.ContentKeyPolicyOpenRestriction")
                        .build())
                    .build())
            .resourceGroupName("contosorg")
            .build());

    }
}
Copy
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: azure_native.media.ContentKeyPolicyRestrictionTokenType.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: "contosorg",
});
Copy
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=[
        {
            "configuration": {
                "odata_type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
            },
            "name": "ClearKeyOption",
            "restriction": {
                "audience": "urn:audience",
                "issuer": "urn:issuer",
                "odata_type": "#Microsoft.Media.ContentKeyPolicyTokenRestriction",
                "primary_verification_key": {
                    "key_value": "AAAAAAAAAAAAAAAAAAAAAA==",
                    "odata_type": "#Microsoft.Media.ContentKeyPolicySymmetricTokenKey",
                },
                "restriction_token_type": azure_native.media.ContentKeyPolicyRestrictionTokenType.SWT,
            },
        },
        {
            "configuration": {
                "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": {
                "odata_type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
            },
        },
    ],
    resource_group_name="contosorg")
Copy
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: contosorg
Copy

Create ContentKeyPolicy Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ContentKeyPolicy(name: string, args: ContentKeyPolicyArgs, opts?: CustomResourceOptions);
@overload
def ContentKeyPolicy(resource_name: str,
                     args: ContentKeyPolicyArgs,
                     opts: Optional[ResourceOptions] = None)

@overload
def ContentKeyPolicy(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     account_name: Optional[str] = None,
                     options: Optional[Sequence[ContentKeyPolicyOptionArgs]] = None,
                     resource_group_name: Optional[str] = None,
                     content_key_policy_name: Optional[str] = None,
                     description: Optional[str] = None)
func NewContentKeyPolicy(ctx *Context, name string, args ContentKeyPolicyArgs, opts ...ResourceOption) (*ContentKeyPolicy, error)
public ContentKeyPolicy(string name, ContentKeyPolicyArgs args, CustomResourceOptions? opts = null)
public ContentKeyPolicy(String name, ContentKeyPolicyArgs args)
public ContentKeyPolicy(String name, ContentKeyPolicyArgs args, CustomResourceOptions options)
type: azure-native:media:ContentKeyPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ContentKeyPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ContentKeyPolicyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ContentKeyPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ContentKeyPolicyArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var contentKeyPolicyResource = new AzureNative.Media.ContentKeyPolicy("contentKeyPolicyResource", new()
{
    AccountName = "string",
    Options = new[]
    {
        
        {
            { "configuration", 
            {
                { "odataType", "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration" },
            } },
            { "restriction", 
            {
                { "odataType", "#Microsoft.Media.ContentKeyPolicyOpenRestriction" },
            } },
            { "name", "string" },
        },
    },
    ResourceGroupName = "string",
    ContentKeyPolicyName = "string",
    Description = "string",
});
Copy
example, err := media.NewContentKeyPolicy(ctx, "contentKeyPolicyResource", &media.ContentKeyPolicyArgs{
	AccountName: "string",
	Options: []map[string]interface{}{
		map[string]interface{}{
			"configuration": map[string]interface{}{
				"odataType": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
			},
			"restriction": map[string]interface{}{
				"odataType": "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
			},
			"name": "string",
		},
	},
	ResourceGroupName:    "string",
	ContentKeyPolicyName: "string",
	Description:          "string",
})
Copy
var contentKeyPolicyResource = new ContentKeyPolicy("contentKeyPolicyResource", ContentKeyPolicyArgs.builder()
    .accountName("string")
    .options(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .resourceGroupName("string")
    .contentKeyPolicyName("string")
    .description("string")
    .build());
Copy
content_key_policy_resource = azure_native.media.ContentKeyPolicy("contentKeyPolicyResource",
    account_name=string,
    options=[{
        configuration: {
            odataType: #Microsoft.Media.ContentKeyPolicyClearKeyConfiguration,
        },
        restriction: {
            odataType: #Microsoft.Media.ContentKeyPolicyOpenRestriction,
        },
        name: string,
    }],
    resource_group_name=string,
    content_key_policy_name=string,
    description=string)
Copy
const contentKeyPolicyResource = new azure_native.media.ContentKeyPolicy("contentKeyPolicyResource", {
    accountName: "string",
    options: [{
        configuration: {
            odataType: "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
        },
        restriction: {
            odataType: "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
        },
        name: "string",
    }],
    resourceGroupName: "string",
    contentKeyPolicyName: "string",
    description: "string",
});
Copy
type: azure-native:media:ContentKeyPolicy
properties:
    accountName: string
    contentKeyPolicyName: string
    description: string
    options:
        - configuration:
            odataType: '#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration'
          name: string
          restriction:
            odataType: '#Microsoft.Media.ContentKeyPolicyOpenRestriction'
    resourceGroupName: string
Copy

ContentKeyPolicy Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ContentKeyPolicy resource accepts the following input properties:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The Media Services account name.
Options This property is required. List<Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyOption>
The Key Policy options.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the Azure subscription.
ContentKeyPolicyName Changes to this property will trigger replacement. string
The Content Key Policy name.
Description string
A description for the Policy.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The Media Services account name.
Options This property is required. []ContentKeyPolicyOptionArgs
The Key Policy options.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the Azure subscription.
ContentKeyPolicyName Changes to this property will trigger replacement. string
The Content Key Policy name.
Description string
A description for the Policy.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The Media Services account name.
options This property is required. List<ContentKeyPolicyOption>
The Key Policy options.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the Azure subscription.
contentKeyPolicyName Changes to this property will trigger replacement. String
The Content Key Policy name.
description String
A description for the Policy.
accountName
This property is required.
Changes to this property will trigger replacement.
string
The Media Services account name.
options This property is required. ContentKeyPolicyOption[]
The Key Policy options.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group within the Azure subscription.
contentKeyPolicyName Changes to this property will trigger replacement. string
The Content Key Policy name.
description string
A description for the Policy.
account_name
This property is required.
Changes to this property will trigger replacement.
str
The Media Services account name.
options This property is required. Sequence[ContentKeyPolicyOptionArgs]
The Key Policy options.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group within the Azure subscription.
content_key_policy_name Changes to this property will trigger replacement. str
The Content Key Policy name.
description str
A description for the Policy.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The Media Services account name.
options This property is required. List<Property Map>
The Key Policy options.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group within the Azure subscription.
contentKeyPolicyName Changes to this property will trigger replacement. 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
, ContentKeyPolicyClearKeyConfigurationArgs

ContentKeyPolicyClearKeyConfigurationResponse
, ContentKeyPolicyClearKeyConfigurationResponseArgs

ContentKeyPolicyFairPlayConfiguration
, ContentKeyPolicyFairPlayConfigurationArgs

Ask This property is required. string
The key that must be used as FairPlay Application Secret key. This needs to be base64 encoded.
FairPlayPfx This property is required. string
The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
FairPlayPfxPassword This property is required. string
The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
RentalAndLeaseKeyType This property is required. string | Pulumi.AzureNative.Media.ContentKeyPolicyFairPlayRentalAndLeaseKeyType
The rental and lease key type.
RentalDuration This property is required. double
The rental duration. Must be greater than or equal to 0.
OfflineRentalConfiguration Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyFairPlayOfflineRentalConfiguration
Offline rental policy
Ask This property is required. string
The key that must be used as FairPlay Application Secret key. This needs to be base64 encoded.
FairPlayPfx This property is required. string
The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
FairPlayPfxPassword This property is required. string
The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
RentalAndLeaseKeyType This property is required. string | ContentKeyPolicyFairPlayRentalAndLeaseKeyType
The rental and lease key type.
RentalDuration This property is required. float64
The rental duration. Must be greater than or equal to 0.
OfflineRentalConfiguration ContentKeyPolicyFairPlayOfflineRentalConfiguration
Offline rental policy
ask This property is required. String
The key that must be used as FairPlay Application Secret key. This needs to be base64 encoded.
fairPlayPfx This property is required. String
The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
fairPlayPfxPassword This property is required. String
The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
rentalAndLeaseKeyType This property is required. String | ContentKeyPolicyFairPlayRentalAndLeaseKeyType
The rental and lease key type.
rentalDuration This property is required. Double
The rental duration. Must be greater than or equal to 0.
offlineRentalConfiguration ContentKeyPolicyFairPlayOfflineRentalConfiguration
Offline rental policy
ask This property is required. string
The key that must be used as FairPlay Application Secret key. This needs to be base64 encoded.
fairPlayPfx This property is required. string
The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
fairPlayPfxPassword This property is required. string
The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
rentalAndLeaseKeyType This property is required. string | ContentKeyPolicyFairPlayRentalAndLeaseKeyType
The rental and lease key type.
rentalDuration This property is required. number
The rental duration. Must be greater than or equal to 0.
offlineRentalConfiguration ContentKeyPolicyFairPlayOfflineRentalConfiguration
Offline rental policy
ask This property is required. str
The key that must be used as FairPlay Application Secret key. This needs to be base64 encoded.
fair_play_pfx This property is required. str
The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
fair_play_pfx_password This property is required. str
The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
rental_and_lease_key_type This property is required. str | ContentKeyPolicyFairPlayRentalAndLeaseKeyType
The rental and lease key type.
rental_duration This property is required. float
The rental duration. Must be greater than or equal to 0.
offline_rental_configuration ContentKeyPolicyFairPlayOfflineRentalConfiguration
Offline rental policy
ask This property is required. String
The key that must be used as FairPlay Application Secret key. This needs to be base64 encoded.
fairPlayPfx This property is required. String
The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
fairPlayPfxPassword This property is required. String
The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
rentalAndLeaseKeyType This property is required. String | "Unknown" | "Undefined" | "DualExpiry" | "PersistentUnlimited" | "PersistentLimited"
The rental and lease key type.
rentalDuration This property is required. Number
The rental duration. Must be greater than or equal to 0.
offlineRentalConfiguration Property Map
Offline rental policy

ContentKeyPolicyFairPlayConfigurationResponse
, ContentKeyPolicyFairPlayConfigurationResponseArgs

Ask This property is required. string
The key that must be used as FairPlay Application Secret key. This needs to be base64 encoded.
FairPlayPfx This property is required. string
The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
FairPlayPfxPassword This property is required. string
The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
RentalAndLeaseKeyType This property is required. string
The rental and lease key type.
RentalDuration This property is required. double
The rental duration. Must be greater than or equal to 0.
OfflineRentalConfiguration Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyFairPlayOfflineRentalConfigurationResponse
Offline rental policy
Ask This property is required. string
The key that must be used as FairPlay Application Secret key. This needs to be base64 encoded.
FairPlayPfx This property is required. string
The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
FairPlayPfxPassword This property is required. string
The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
RentalAndLeaseKeyType This property is required. string
The rental and lease key type.
RentalDuration This property is required. float64
The rental duration. Must be greater than or equal to 0.
OfflineRentalConfiguration ContentKeyPolicyFairPlayOfflineRentalConfigurationResponse
Offline rental policy
ask This property is required. String
The key that must be used as FairPlay Application Secret key. This needs to be base64 encoded.
fairPlayPfx This property is required. String
The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
fairPlayPfxPassword This property is required. String
The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
rentalAndLeaseKeyType This property is required. String
The rental and lease key type.
rentalDuration This property is required. Double
The rental duration. Must be greater than or equal to 0.
offlineRentalConfiguration ContentKeyPolicyFairPlayOfflineRentalConfigurationResponse
Offline rental policy
ask This property is required. string
The key that must be used as FairPlay Application Secret key. This needs to be base64 encoded.
fairPlayPfx This property is required. string
The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
fairPlayPfxPassword This property is required. string
The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
rentalAndLeaseKeyType This property is required. string
The rental and lease key type.
rentalDuration This property is required. number
The rental duration. Must be greater than or equal to 0.
offlineRentalConfiguration ContentKeyPolicyFairPlayOfflineRentalConfigurationResponse
Offline rental policy
ask This property is required. str
The key that must be used as FairPlay Application Secret key. This needs to be base64 encoded.
fair_play_pfx This property is required. str
The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
fair_play_pfx_password This property is required. str
The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
rental_and_lease_key_type This property is required. str
The rental and lease key type.
rental_duration This property is required. float
The rental duration. Must be greater than or equal to 0.
offline_rental_configuration ContentKeyPolicyFairPlayOfflineRentalConfigurationResponse
Offline rental policy
ask This property is required. String
The key that must be used as FairPlay Application Secret key. This needs to be base64 encoded.
fairPlayPfx This property is required. String
The Base64 representation of FairPlay certificate in PKCS 12 (pfx) format (including private key).
fairPlayPfxPassword This property is required. String
The password encrypting FairPlay certificate in PKCS 12 (pfx) format.
rentalAndLeaseKeyType This property is required. String
The rental and lease key type.
rentalDuration This property is required. Number
The rental duration. Must be greater than or equal to 0.
offlineRentalConfiguration Property Map
Offline rental policy

ContentKeyPolicyFairPlayOfflineRentalConfiguration
, ContentKeyPolicyFairPlayOfflineRentalConfigurationArgs

PlaybackDurationSeconds This property is required. double
Playback duration
StorageDurationSeconds This property is required. double
Storage duration
PlaybackDurationSeconds This property is required. float64
Playback duration
StorageDurationSeconds This property is required. float64
Storage duration
playbackDurationSeconds This property is required. Double
Playback duration
storageDurationSeconds This property is required. Double
Storage duration
playbackDurationSeconds This property is required. number
Playback duration
storageDurationSeconds This property is required. number
Storage duration
playback_duration_seconds This property is required. float
Playback duration
storage_duration_seconds This property is required. float
Storage duration
playbackDurationSeconds This property is required. Number
Playback duration
storageDurationSeconds This property is required. Number
Storage duration

ContentKeyPolicyFairPlayOfflineRentalConfigurationResponse
, ContentKeyPolicyFairPlayOfflineRentalConfigurationResponseArgs

PlaybackDurationSeconds This property is required. double
Playback duration
StorageDurationSeconds This property is required. double
Storage duration
PlaybackDurationSeconds This property is required. float64
Playback duration
StorageDurationSeconds This property is required. float64
Storage duration
playbackDurationSeconds This property is required. Double
Playback duration
storageDurationSeconds This property is required. Double
Storage duration
playbackDurationSeconds This property is required. number
Playback duration
storageDurationSeconds This property is required. number
Storage duration
playback_duration_seconds This property is required. float
Playback duration
storage_duration_seconds This property is required. float
Storage duration
playbackDurationSeconds This property is required. Number
Playback duration
storageDurationSeconds This property is required. Number
Storage duration

ContentKeyPolicyFairPlayRentalAndLeaseKeyType
, ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeArgs

Unknown
UnknownRepresents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.
Undefined
UndefinedKey duration is not specified.
DualExpiry
DualExpiryDual expiry for offline rental.
PersistentUnlimited
PersistentUnlimitedContent key can be persisted with an unlimited duration
PersistentLimited
PersistentLimitedContent key can be persisted and the valid duration is limited by the Rental Duration value
ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUnknown
UnknownRepresents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.
ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeUndefined
UndefinedKey duration is not specified.
ContentKeyPolicyFairPlayRentalAndLeaseKeyTypeDualExpiry
DualExpiryDual expiry for offline rental.
ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentUnlimited
PersistentUnlimitedContent key can be persisted with an unlimited duration
ContentKeyPolicyFairPlayRentalAndLeaseKeyTypePersistentLimited
PersistentLimitedContent key can be persisted and the valid duration is limited by the Rental Duration value
Unknown
UnknownRepresents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.
Undefined
UndefinedKey duration is not specified.
DualExpiry
DualExpiryDual expiry for offline rental.
PersistentUnlimited
PersistentUnlimitedContent key can be persisted with an unlimited duration
PersistentLimited
PersistentLimitedContent key can be persisted and the valid duration is limited by the Rental Duration value
Unknown
UnknownRepresents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.
Undefined
UndefinedKey duration is not specified.
DualExpiry
DualExpiryDual expiry for offline rental.
PersistentUnlimited
PersistentUnlimitedContent key can be persisted with an unlimited duration
PersistentLimited
PersistentLimitedContent key can be persisted and the valid duration is limited by the Rental Duration value
UNKNOWN
UnknownRepresents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.
UNDEFINED
UndefinedKey duration is not specified.
DUAL_EXPIRY
DualExpiryDual expiry for offline rental.
PERSISTENT_UNLIMITED
PersistentUnlimitedContent key can be persisted with an unlimited duration
PERSISTENT_LIMITED
PersistentLimitedContent key can be persisted and the valid duration is limited by the Rental Duration value
"Unknown"
UnknownRepresents a ContentKeyPolicyFairPlayRentalAndLeaseKeyType that is unavailable in current API version.
"Undefined"
UndefinedKey duration is not specified.
"DualExpiry"
DualExpiryDual expiry for offline rental.
"PersistentUnlimited"
PersistentUnlimitedContent key can be persisted with an unlimited duration
"PersistentLimited"
PersistentLimitedContent key can be persisted and the valid duration is limited by the Rental Duration value

ContentKeyPolicyOpenRestriction
, ContentKeyPolicyOpenRestrictionArgs

ContentKeyPolicyOpenRestrictionResponse
, ContentKeyPolicyOpenRestrictionResponseArgs

ContentKeyPolicyOption
, ContentKeyPolicyOptionArgs

Configuration This property is required. ContentKeyPolicyClearKeyConfiguration | ContentKeyPolicyFairPlayConfiguration | ContentKeyPolicyPlayReadyConfiguration | ContentKeyPolicyUnknownConfiguration | ContentKeyPolicyWidevineConfiguration
The key delivery configuration.
Restriction This property is required. ContentKeyPolicyOpenRestriction | ContentKeyPolicyTokenRestriction | ContentKeyPolicyUnknownRestriction
The requirements that must be met to deliver keys with this configuration
Name string
The Policy Option description.
configuration This property is required. ContentKeyPolicyClearKeyConfiguration | ContentKeyPolicyFairPlayConfiguration | ContentKeyPolicyPlayReadyConfiguration | ContentKeyPolicyUnknownConfiguration | ContentKeyPolicyWidevineConfiguration
The key delivery configuration.
restriction This property is required. ContentKeyPolicyOpenRestriction | ContentKeyPolicyTokenRestriction | ContentKeyPolicyUnknownRestriction
The requirements that must be met to deliver keys with this configuration
name String
The Policy Option description.
configuration This property is required. ContentKeyPolicyClearKeyConfiguration | ContentKeyPolicyFairPlayConfiguration | ContentKeyPolicyPlayReadyConfiguration | ContentKeyPolicyUnknownConfiguration | ContentKeyPolicyWidevineConfiguration
The key delivery configuration.
restriction This property is required. ContentKeyPolicyOpenRestriction | ContentKeyPolicyTokenRestriction | ContentKeyPolicyUnknownRestriction
The requirements that must be met to deliver keys with this configuration
name string
The Policy Option description.
configuration This property is required. ContentKeyPolicyClearKeyConfiguration | ContentKeyPolicyFairPlayConfiguration | ContentKeyPolicyPlayReadyConfiguration | ContentKeyPolicyUnknownConfiguration | ContentKeyPolicyWidevineConfiguration
The key delivery configuration.
restriction This property is required. ContentKeyPolicyOpenRestriction | ContentKeyPolicyTokenRestriction | ContentKeyPolicyUnknownRestriction
The requirements that must be met to deliver keys with this configuration
name str
The Policy Option description.
configuration This property is required. Property Map | Property Map | Property Map | Property Map | Property Map
The key delivery configuration.
restriction This property is required. Property Map | Property Map | Property Map
The requirements that must be met to deliver keys with this configuration
name String
The Policy Option description.

ContentKeyPolicyOptionResponse
, ContentKeyPolicyOptionResponseArgs

Configuration This property is required. 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 This property is required. string
The legacy Policy Option ID.
Restriction This property is required. 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 This property is required. ContentKeyPolicyClearKeyConfigurationResponse | ContentKeyPolicyFairPlayConfigurationResponse | ContentKeyPolicyPlayReadyConfigurationResponse | ContentKeyPolicyUnknownConfigurationResponse | ContentKeyPolicyWidevineConfigurationResponse
The key delivery configuration.
PolicyOptionId This property is required. string
The legacy Policy Option ID.
Restriction This property is required. ContentKeyPolicyOpenRestrictionResponse | ContentKeyPolicyTokenRestrictionResponse | ContentKeyPolicyUnknownRestrictionResponse
The requirements that must be met to deliver keys with this configuration
Name string
The Policy Option description.
configuration This property is required. ContentKeyPolicyClearKeyConfigurationResponse | ContentKeyPolicyFairPlayConfigurationResponse | ContentKeyPolicyPlayReadyConfigurationResponse | ContentKeyPolicyUnknownConfigurationResponse | ContentKeyPolicyWidevineConfigurationResponse
The key delivery configuration.
policyOptionId This property is required. String
The legacy Policy Option ID.
restriction This property is required. ContentKeyPolicyOpenRestrictionResponse | ContentKeyPolicyTokenRestrictionResponse | ContentKeyPolicyUnknownRestrictionResponse
The requirements that must be met to deliver keys with this configuration
name String
The Policy Option description.
configuration This property is required. ContentKeyPolicyClearKeyConfigurationResponse | ContentKeyPolicyFairPlayConfigurationResponse | ContentKeyPolicyPlayReadyConfigurationResponse | ContentKeyPolicyUnknownConfigurationResponse | ContentKeyPolicyWidevineConfigurationResponse
The key delivery configuration.
policyOptionId This property is required. string
The legacy Policy Option ID.
restriction This property is required. ContentKeyPolicyOpenRestrictionResponse | ContentKeyPolicyTokenRestrictionResponse | ContentKeyPolicyUnknownRestrictionResponse
The requirements that must be met to deliver keys with this configuration
name string
The Policy Option description.
configuration This property is required. ContentKeyPolicyClearKeyConfigurationResponse | ContentKeyPolicyFairPlayConfigurationResponse | ContentKeyPolicyPlayReadyConfigurationResponse | ContentKeyPolicyUnknownConfigurationResponse | ContentKeyPolicyWidevineConfigurationResponse
The key delivery configuration.
policy_option_id This property is required. str
The legacy Policy Option ID.
restriction This property is required. ContentKeyPolicyOpenRestrictionResponse | ContentKeyPolicyTokenRestrictionResponse | ContentKeyPolicyUnknownRestrictionResponse
The requirements that must be met to deliver keys with this configuration
name str
The Policy Option description.
configuration This property is required. Property Map | Property Map | Property Map | Property Map | Property Map
The key delivery configuration.
policyOptionId This property is required. String
The legacy Policy Option ID.
restriction This property is required. Property Map | Property Map | Property Map
The requirements that must be met to deliver keys with this configuration
name String
The Policy Option description.

ContentKeyPolicyPlayReadyConfiguration
, ContentKeyPolicyPlayReadyConfigurationArgs

Licenses This property is required. List<Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyLicense>
The PlayReady licenses.
ResponseCustomData string
The custom response data.
Licenses This property is required. []ContentKeyPolicyPlayReadyLicense
The PlayReady licenses.
ResponseCustomData string
The custom response data.
licenses This property is required. List<ContentKeyPolicyPlayReadyLicense>
The PlayReady licenses.
responseCustomData String
The custom response data.
licenses This property is required. ContentKeyPolicyPlayReadyLicense[]
The PlayReady licenses.
responseCustomData string
The custom response data.
licenses This property is required. Sequence[ContentKeyPolicyPlayReadyLicense]
The PlayReady licenses.
response_custom_data str
The custom response data.
licenses This property is required. List<Property Map>
The PlayReady licenses.
responseCustomData String
The custom response data.

ContentKeyPolicyPlayReadyConfigurationResponse
, ContentKeyPolicyPlayReadyConfigurationResponseArgs

Licenses This property is required. List<Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyLicenseResponse>
The PlayReady licenses.
ResponseCustomData string
The custom response data.
Licenses This property is required. []ContentKeyPolicyPlayReadyLicenseResponse
The PlayReady licenses.
ResponseCustomData string
The custom response data.
licenses This property is required. List<ContentKeyPolicyPlayReadyLicenseResponse>
The PlayReady licenses.
responseCustomData String
The custom response data.
licenses This property is required. ContentKeyPolicyPlayReadyLicenseResponse[]
The PlayReady licenses.
responseCustomData string
The custom response data.
licenses This property is required. Sequence[ContentKeyPolicyPlayReadyLicenseResponse]
The PlayReady licenses.
response_custom_data str
The custom response data.
licenses This property is required. List<Property Map>
The PlayReady licenses.
responseCustomData String
The custom response data.

ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader
, ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderArgs

ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse
, ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponseArgs

ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
, ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierArgs

KeyId This property is required. string
The content key ID.
KeyId This property is required. string
The content key ID.
keyId This property is required. String
The content key ID.
keyId This property is required. string
The content key ID.
key_id This property is required. str
The content key ID.
keyId This property is required. String
The content key ID.

ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse
, ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponseArgs

KeyId This property is required. string
The content key ID.
KeyId This property is required. string
The content key ID.
keyId This property is required. String
The content key ID.
keyId This property is required. string
The content key ID.
key_id This property is required. str
The content key ID.
keyId This property is required. String
The content key ID.

ContentKeyPolicyPlayReadyContentType
, ContentKeyPolicyPlayReadyContentTypeArgs

Unknown
UnknownRepresents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.
Unspecified
UnspecifiedUnspecified content type.
UltraVioletDownload
UltraVioletDownloadUltraviolet download content type.
UltraVioletStreaming
UltraVioletStreamingUltraviolet streaming content type.
ContentKeyPolicyPlayReadyContentTypeUnknown
UnknownRepresents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.
ContentKeyPolicyPlayReadyContentTypeUnspecified
UnspecifiedUnspecified content type.
ContentKeyPolicyPlayReadyContentTypeUltraVioletDownload
UltraVioletDownloadUltraviolet download content type.
ContentKeyPolicyPlayReadyContentTypeUltraVioletStreaming
UltraVioletStreamingUltraviolet streaming content type.
Unknown
UnknownRepresents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.
Unspecified
UnspecifiedUnspecified content type.
UltraVioletDownload
UltraVioletDownloadUltraviolet download content type.
UltraVioletStreaming
UltraVioletStreamingUltraviolet streaming content type.
Unknown
UnknownRepresents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.
Unspecified
UnspecifiedUnspecified content type.
UltraVioletDownload
UltraVioletDownloadUltraviolet download content type.
UltraVioletStreaming
UltraVioletStreamingUltraviolet streaming content type.
UNKNOWN
UnknownRepresents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.
UNSPECIFIED
UnspecifiedUnspecified content type.
ULTRA_VIOLET_DOWNLOAD
UltraVioletDownloadUltraviolet download content type.
ULTRA_VIOLET_STREAMING
UltraVioletStreamingUltraviolet streaming content type.
"Unknown"
UnknownRepresents a ContentKeyPolicyPlayReadyContentType that is unavailable in current API version.
"Unspecified"
UnspecifiedUnspecified content type.
"UltraVioletDownload"
UltraVioletDownloadUltraviolet download content type.
"UltraVioletStreaming"
UltraVioletStreamingUltraviolet streaming content type.

ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction
, ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionArgs

BestEffort This property is required. bool
Indicates whether this restriction is enforced on a Best Effort basis.
ConfigurationData This property is required. int
Configures the restriction control bits. Must be between 0 and 3 inclusive.
BestEffort This property is required. bool
Indicates whether this restriction is enforced on a Best Effort basis.
ConfigurationData This property is required. int
Configures the restriction control bits. Must be between 0 and 3 inclusive.
bestEffort This property is required. Boolean
Indicates whether this restriction is enforced on a Best Effort basis.
configurationData This property is required. Integer
Configures the restriction control bits. Must be between 0 and 3 inclusive.
bestEffort This property is required. boolean
Indicates whether this restriction is enforced on a Best Effort basis.
configurationData This property is required. number
Configures the restriction control bits. Must be between 0 and 3 inclusive.
best_effort This property is required. bool
Indicates whether this restriction is enforced on a Best Effort basis.
configuration_data This property is required. int
Configures the restriction control bits. Must be between 0 and 3 inclusive.
bestEffort This property is required. Boolean
Indicates whether this restriction is enforced on a Best Effort basis.
configurationData This property is required. Number
Configures the restriction control bits. Must be between 0 and 3 inclusive.

ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse
, ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponseArgs

BestEffort This property is required. bool
Indicates whether this restriction is enforced on a Best Effort basis.
ConfigurationData This property is required. int
Configures the restriction control bits. Must be between 0 and 3 inclusive.
BestEffort This property is required. bool
Indicates whether this restriction is enforced on a Best Effort basis.
ConfigurationData This property is required. int
Configures the restriction control bits. Must be between 0 and 3 inclusive.
bestEffort This property is required. Boolean
Indicates whether this restriction is enforced on a Best Effort basis.
configurationData This property is required. Integer
Configures the restriction control bits. Must be between 0 and 3 inclusive.
bestEffort This property is required. boolean
Indicates whether this restriction is enforced on a Best Effort basis.
configurationData This property is required. number
Configures the restriction control bits. Must be between 0 and 3 inclusive.
best_effort This property is required. bool
Indicates whether this restriction is enforced on a Best Effort basis.
configuration_data This property is required. int
Configures the restriction control bits. Must be between 0 and 3 inclusive.
bestEffort This property is required. Boolean
Indicates whether this restriction is enforced on a Best Effort basis.
configurationData This property is required. Number
Configures the restriction control bits. Must be between 0 and 3 inclusive.

ContentKeyPolicyPlayReadyLicense
, ContentKeyPolicyPlayReadyLicenseArgs

AllowTestDevices This property is required. bool
A flag indicating whether test devices can use the license.
ContentKeyLocation This property is required. Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
The content key location.
ContentType This property is required. string | Pulumi.AzureNative.Media.ContentKeyPolicyPlayReadyContentType
The PlayReady content type.
LicenseType This property is required. 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.
SecurityLevel string | Pulumi.AzureNative.Media.SecurityLevel
The security level.
AllowTestDevices This property is required. bool
A flag indicating whether test devices can use the license.
ContentKeyLocation This property is required. ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
The content key location.
ContentType This property is required. string | ContentKeyPolicyPlayReadyContentType
The PlayReady content type.
LicenseType This property is required. 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.
SecurityLevel string | SecurityLevel
The security level.
allowTestDevices This property is required. Boolean
A flag indicating whether test devices can use the license.
contentKeyLocation This property is required. ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
The content key location.
contentType This property is required. String | ContentKeyPolicyPlayReadyContentType
The PlayReady content type.
licenseType This property is required. 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.
securityLevel String | SecurityLevel
The security level.
allowTestDevices This property is required. boolean
A flag indicating whether test devices can use the license.
contentKeyLocation This property is required. ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
The content key location.
contentType This property is required. string | ContentKeyPolicyPlayReadyContentType
The PlayReady content type.
licenseType This property is required. 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.
securityLevel string | SecurityLevel
The security level.
allow_test_devices This property is required. bool
A flag indicating whether test devices can use the license.
content_key_location This property is required. ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
The content key location.
content_type This property is required. str | ContentKeyPolicyPlayReadyContentType
The PlayReady content type.
license_type This property is required. 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.
security_level str | SecurityLevel
The security level.
allowTestDevices This property is required. Boolean
A flag indicating whether test devices can use the license.
contentKeyLocation This property is required. Property Map | Property Map
The content key location.
contentType This property is required. String | "Unknown" | "Unspecified" | "UltraVioletDownload" | "UltraVioletStreaming"
The PlayReady content type.
licenseType This property is required. 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.
securityLevel String | "Unknown" | "SL150" | "SL2000" | "SL3000"
The security level.

ContentKeyPolicyPlayReadyLicenseResponse
, ContentKeyPolicyPlayReadyLicenseResponseArgs

AllowTestDevices This property is required. bool
A flag indicating whether test devices can use the license.
ContentKeyLocation This property is required. Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse
The content key location.
ContentType This property is required. string
The PlayReady content type.
LicenseType This property is required. 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.
SecurityLevel string
The security level.
AllowTestDevices This property is required. bool
A flag indicating whether test devices can use the license.
ContentKeyLocation This property is required. ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse
The content key location.
ContentType This property is required. string
The PlayReady content type.
LicenseType This property is required. 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.
SecurityLevel string
The security level.
allowTestDevices This property is required. Boolean
A flag indicating whether test devices can use the license.
contentKeyLocation This property is required. ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse
The content key location.
contentType This property is required. String
The PlayReady content type.
licenseType This property is required. 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.
securityLevel String
The security level.
allowTestDevices This property is required. boolean
A flag indicating whether test devices can use the license.
contentKeyLocation This property is required. ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse
The content key location.
contentType This property is required. string
The PlayReady content type.
licenseType This property is required. 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.
securityLevel string
The security level.
allow_test_devices This property is required. bool
A flag indicating whether test devices can use the license.
content_key_location This property is required. ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse
The content key location.
content_type This property is required. str
The PlayReady content type.
license_type This property is required. 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.
security_level str
The security level.
allowTestDevices This property is required. Boolean
A flag indicating whether test devices can use the license.
contentKeyLocation This property is required. Property Map | Property Map
The content key location.
contentType This property is required. String
The PlayReady content type.
licenseType This property is required. 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.
securityLevel String
The security level.

ContentKeyPolicyPlayReadyLicenseType
, ContentKeyPolicyPlayReadyLicenseTypeArgs

Unknown
UnknownRepresents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.
NonPersistent
NonPersistentNon persistent license.
Persistent
PersistentPersistent license. Allows offline playback.
ContentKeyPolicyPlayReadyLicenseTypeUnknown
UnknownRepresents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.
ContentKeyPolicyPlayReadyLicenseTypeNonPersistent
NonPersistentNon persistent license.
ContentKeyPolicyPlayReadyLicenseTypePersistent
PersistentPersistent license. Allows offline playback.
Unknown
UnknownRepresents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.
NonPersistent
NonPersistentNon persistent license.
Persistent
PersistentPersistent license. Allows offline playback.
Unknown
UnknownRepresents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.
NonPersistent
NonPersistentNon persistent license.
Persistent
PersistentPersistent license. Allows offline playback.
UNKNOWN
UnknownRepresents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.
NON_PERSISTENT
NonPersistentNon persistent license.
PERSISTENT
PersistentPersistent license. Allows offline playback.
"Unknown"
UnknownRepresents a ContentKeyPolicyPlayReadyLicenseType that is unavailable in current API version.
"NonPersistent"
NonPersistentNon persistent license.
"Persistent"
PersistentPersistent license. Allows offline playback.

ContentKeyPolicyPlayReadyPlayRight
, ContentKeyPolicyPlayReadyPlayRightArgs

AllowPassingVideoContentToUnknownOutput This property is required. string | Pulumi.AzureNative.Media.ContentKeyPolicyPlayReadyUnknownOutputPassingOption
Configures Unknown output handling settings of the license.
DigitalVideoOnlyContentRestriction This property is required. bool
Enables the Image Constraint For Analog Component Video Restriction in the license.
ImageConstraintForAnalogComponentVideoRestriction This property is required. bool
Enables the Image Constraint For Analog Component Video Restriction in the license.
ImageConstraintForAnalogComputerMonitorRestriction This property is required. 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 This property is required. string | ContentKeyPolicyPlayReadyUnknownOutputPassingOption
Configures Unknown output handling settings of the license.
DigitalVideoOnlyContentRestriction This property is required. bool
Enables the Image Constraint For Analog Component Video Restriction in the license.
ImageConstraintForAnalogComponentVideoRestriction This property is required. bool
Enables the Image Constraint For Analog Component Video Restriction in the license.
ImageConstraintForAnalogComputerMonitorRestriction This property is required. 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 This property is required. String | ContentKeyPolicyPlayReadyUnknownOutputPassingOption
Configures Unknown output handling settings of the license.
digitalVideoOnlyContentRestriction This property is required. Boolean
Enables the Image Constraint For Analog Component Video Restriction in the license.
imageConstraintForAnalogComponentVideoRestriction This property is required. Boolean
Enables the Image Constraint For Analog Component Video Restriction in the license.
imageConstraintForAnalogComputerMonitorRestriction This property is required. 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 This property is required. string | ContentKeyPolicyPlayReadyUnknownOutputPassingOption
Configures Unknown output handling settings of the license.
digitalVideoOnlyContentRestriction This property is required. boolean
Enables the Image Constraint For Analog Component Video Restriction in the license.
imageConstraintForAnalogComponentVideoRestriction This property is required. boolean
Enables the Image Constraint For Analog Component Video Restriction in the license.
imageConstraintForAnalogComputerMonitorRestriction This property is required. 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 This property is required. str | ContentKeyPolicyPlayReadyUnknownOutputPassingOption
Configures Unknown output handling settings of the license.
digital_video_only_content_restriction This property is required. bool
Enables the Image Constraint For Analog Component Video Restriction in the license.
image_constraint_for_analog_component_video_restriction This property is required. bool
Enables the Image Constraint For Analog Component Video Restriction in the license.
image_constraint_for_analog_computer_monitor_restriction This property is required. 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 This property is required. String | "Unknown" | "NotAllowed" | "Allowed" | "AllowedWithVideoConstriction"
Configures Unknown output handling settings of the license.
digitalVideoOnlyContentRestriction This property is required. Boolean
Enables the Image Constraint For Analog Component Video Restriction in the license.
imageConstraintForAnalogComponentVideoRestriction This property is required. Boolean
Enables the Image Constraint For Analog Component Video Restriction in the license.
imageConstraintForAnalogComputerMonitorRestriction This property is required. 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
, ContentKeyPolicyPlayReadyPlayRightResponseArgs

AllowPassingVideoContentToUnknownOutput This property is required. string
Configures Unknown output handling settings of the license.
DigitalVideoOnlyContentRestriction This property is required. bool
Enables the Image Constraint For Analog Component Video Restriction in the license.
ImageConstraintForAnalogComponentVideoRestriction This property is required. bool
Enables the Image Constraint For Analog Component Video Restriction in the license.
ImageConstraintForAnalogComputerMonitorRestriction This property is required. 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 This property is required. string
Configures Unknown output handling settings of the license.
DigitalVideoOnlyContentRestriction This property is required. bool
Enables the Image Constraint For Analog Component Video Restriction in the license.
ImageConstraintForAnalogComponentVideoRestriction This property is required. bool
Enables the Image Constraint For Analog Component Video Restriction in the license.
ImageConstraintForAnalogComputerMonitorRestriction This property is required. 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 This property is required. String
Configures Unknown output handling settings of the license.
digitalVideoOnlyContentRestriction This property is required. Boolean
Enables the Image Constraint For Analog Component Video Restriction in the license.
imageConstraintForAnalogComponentVideoRestriction This property is required. Boolean
Enables the Image Constraint For Analog Component Video Restriction in the license.
imageConstraintForAnalogComputerMonitorRestriction This property is required. 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 This property is required. string
Configures Unknown output handling settings of the license.
digitalVideoOnlyContentRestriction This property is required. boolean
Enables the Image Constraint For Analog Component Video Restriction in the license.
imageConstraintForAnalogComponentVideoRestriction This property is required. boolean
Enables the Image Constraint For Analog Component Video Restriction in the license.
imageConstraintForAnalogComputerMonitorRestriction This property is required. 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 This property is required. str
Configures Unknown output handling settings of the license.
digital_video_only_content_restriction This property is required. bool
Enables the Image Constraint For Analog Component Video Restriction in the license.
image_constraint_for_analog_component_video_restriction This property is required. bool
Enables the Image Constraint For Analog Component Video Restriction in the license.
image_constraint_for_analog_computer_monitor_restriction This property is required. 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 This property is required. String
Configures Unknown output handling settings of the license.
digitalVideoOnlyContentRestriction This property is required. Boolean
Enables the Image Constraint For Analog Component Video Restriction in the license.
imageConstraintForAnalogComponentVideoRestriction This property is required. Boolean
Enables the Image Constraint For Analog Component Video Restriction in the license.
imageConstraintForAnalogComputerMonitorRestriction This property is required. 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
, ContentKeyPolicyPlayReadyUnknownOutputPassingOptionArgs

Unknown
UnknownRepresents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.
NotAllowed
NotAllowedPassing the video portion of protected content to an Unknown Output is not allowed.
Allowed
AllowedPassing the video portion of protected content to an Unknown Output is allowed.
AllowedWithVideoConstriction
AllowedWithVideoConstrictionPassing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.
ContentKeyPolicyPlayReadyUnknownOutputPassingOptionUnknown
UnknownRepresents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.
ContentKeyPolicyPlayReadyUnknownOutputPassingOptionNotAllowed
NotAllowedPassing the video portion of protected content to an Unknown Output is not allowed.
ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowed
AllowedPassing the video portion of protected content to an Unknown Output is allowed.
ContentKeyPolicyPlayReadyUnknownOutputPassingOptionAllowedWithVideoConstriction
AllowedWithVideoConstrictionPassing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.
Unknown
UnknownRepresents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.
NotAllowed
NotAllowedPassing the video portion of protected content to an Unknown Output is not allowed.
Allowed
AllowedPassing the video portion of protected content to an Unknown Output is allowed.
AllowedWithVideoConstriction
AllowedWithVideoConstrictionPassing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.
Unknown
UnknownRepresents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.
NotAllowed
NotAllowedPassing the video portion of protected content to an Unknown Output is not allowed.
Allowed
AllowedPassing the video portion of protected content to an Unknown Output is allowed.
AllowedWithVideoConstriction
AllowedWithVideoConstrictionPassing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.
UNKNOWN
UnknownRepresents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.
NOT_ALLOWED
NotAllowedPassing the video portion of protected content to an Unknown Output is not allowed.
ALLOWED
AllowedPassing the video portion of protected content to an Unknown Output is allowed.
ALLOWED_WITH_VIDEO_CONSTRICTION
AllowedWithVideoConstrictionPassing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.
"Unknown"
UnknownRepresents a ContentKeyPolicyPlayReadyUnknownOutputPassingOption that is unavailable in current API version.
"NotAllowed"
NotAllowedPassing the video portion of protected content to an Unknown Output is not allowed.
"Allowed"
AllowedPassing the video portion of protected content to an Unknown Output is allowed.
"AllowedWithVideoConstriction"
AllowedWithVideoConstrictionPassing the video portion of protected content to an Unknown Output is allowed but with constrained resolution.

ContentKeyPolicyRestrictionTokenType
, ContentKeyPolicyRestrictionTokenTypeArgs

Unknown
UnknownRepresents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.
Swt
SwtSimple Web Token.
Jwt
JwtJSON Web Token.
ContentKeyPolicyRestrictionTokenTypeUnknown
UnknownRepresents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.
ContentKeyPolicyRestrictionTokenTypeSwt
SwtSimple Web Token.
ContentKeyPolicyRestrictionTokenTypeJwt
JwtJSON Web Token.
Unknown
UnknownRepresents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.
Swt
SwtSimple Web Token.
Jwt
JwtJSON Web Token.
Unknown
UnknownRepresents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.
Swt
SwtSimple Web Token.
Jwt
JwtJSON Web Token.
UNKNOWN
UnknownRepresents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.
SWT
SwtSimple Web Token.
JWT
JwtJSON Web Token.
"Unknown"
UnknownRepresents a ContentKeyPolicyRestrictionTokenType that is unavailable in current API version.
"Swt"
SwtSimple Web Token.
"Jwt"
JwtJSON Web Token.

ContentKeyPolicyRsaTokenKey
, ContentKeyPolicyRsaTokenKeyArgs

Exponent This property is required. string
The RSA Parameter exponent
Modulus This property is required. string
The RSA Parameter modulus
Exponent This property is required. string
The RSA Parameter exponent
Modulus This property is required. string
The RSA Parameter modulus
exponent This property is required. String
The RSA Parameter exponent
modulus This property is required. String
The RSA Parameter modulus
exponent This property is required. string
The RSA Parameter exponent
modulus This property is required. string
The RSA Parameter modulus
exponent This property is required. str
The RSA Parameter exponent
modulus This property is required. str
The RSA Parameter modulus
exponent This property is required. String
The RSA Parameter exponent
modulus This property is required. String
The RSA Parameter modulus

ContentKeyPolicyRsaTokenKeyResponse
, ContentKeyPolicyRsaTokenKeyResponseArgs

Exponent This property is required. string
The RSA Parameter exponent
Modulus This property is required. string
The RSA Parameter modulus
Exponent This property is required. string
The RSA Parameter exponent
Modulus This property is required. string
The RSA Parameter modulus
exponent This property is required. String
The RSA Parameter exponent
modulus This property is required. String
The RSA Parameter modulus
exponent This property is required. string
The RSA Parameter exponent
modulus This property is required. string
The RSA Parameter modulus
exponent This property is required. str
The RSA Parameter exponent
modulus This property is required. str
The RSA Parameter modulus
exponent This property is required. String
The RSA Parameter exponent
modulus This property is required. String
The RSA Parameter modulus

ContentKeyPolicySymmetricTokenKey
, ContentKeyPolicySymmetricTokenKeyArgs

KeyValue This property is required. string
The key value of the key
KeyValue This property is required. string
The key value of the key
keyValue This property is required. String
The key value of the key
keyValue This property is required. string
The key value of the key
key_value This property is required. str
The key value of the key
keyValue This property is required. String
The key value of the key

ContentKeyPolicySymmetricTokenKeyResponse
, ContentKeyPolicySymmetricTokenKeyResponseArgs

KeyValue This property is required. string
The key value of the key
KeyValue This property is required. string
The key value of the key
keyValue This property is required. String
The key value of the key
keyValue This property is required. string
The key value of the key
key_value This property is required. str
The key value of the key
keyValue This property is required. String
The key value of the key

ContentKeyPolicyTokenClaim
, ContentKeyPolicyTokenClaimArgs

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
, ContentKeyPolicyTokenClaimResponseArgs

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
, ContentKeyPolicyTokenRestrictionArgs

Audience This property is required. string
The audience for the token.
Issuer This property is required. string
The token issuer.
PrimaryVerificationKey This property is required. Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyRsaTokenKey | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicySymmetricTokenKey | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyX509CertificateTokenKey
The primary verification key.
RestrictionTokenType This property is required. string | Pulumi.AzureNative.Media.ContentKeyPolicyRestrictionTokenType
The type of token.
AlternateVerificationKeys List<object>
A list of alternative verification keys.
OpenIdConnectDiscoveryDocument string
The OpenID connect discovery document.
RequiredClaims List<Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyTokenClaim>
A list of required token claims.
Audience This property is required. string
The audience for the token.
Issuer This property is required. string
The token issuer.
PrimaryVerificationKey This property is required. ContentKeyPolicyRsaTokenKey | ContentKeyPolicySymmetricTokenKey | ContentKeyPolicyX509CertificateTokenKey
The primary verification key.
RestrictionTokenType This property is required. 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 This property is required. String
The audience for the token.
issuer This property is required. String
The token issuer.
primaryVerificationKey This property is required. ContentKeyPolicyRsaTokenKey | ContentKeyPolicySymmetricTokenKey | ContentKeyPolicyX509CertificateTokenKey
The primary verification key.
restrictionTokenType This property is required. 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 This property is required. string
The audience for the token.
issuer This property is required. string
The token issuer.
primaryVerificationKey This property is required. ContentKeyPolicyRsaTokenKey | ContentKeyPolicySymmetricTokenKey | ContentKeyPolicyX509CertificateTokenKey
The primary verification key.
restrictionTokenType This property is required. 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 This property is required. str
The audience for the token.
issuer This property is required. str
The token issuer.
primary_verification_key This property is required. ContentKeyPolicyRsaTokenKey | ContentKeyPolicySymmetricTokenKey | ContentKeyPolicyX509CertificateTokenKey
The primary verification key.
restriction_token_type This property is required. 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 This property is required. String
The audience for the token.
issuer This property is required. String
The token issuer.
primaryVerificationKey This property is required. Property Map | Property Map | Property Map
The primary verification key.
restrictionTokenType This property is required. 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
, ContentKeyPolicyTokenRestrictionResponseArgs

Audience This property is required. string
The audience for the token.
Issuer This property is required. string
The token issuer.
PrimaryVerificationKey This property is required. Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyRsaTokenKeyResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicySymmetricTokenKeyResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyX509CertificateTokenKeyResponse
The primary verification key.
RestrictionTokenType This property is required. string
The type of token.
AlternateVerificationKeys List<object>
A list of alternative verification keys.
OpenIdConnectDiscoveryDocument string
The OpenID connect discovery document.
RequiredClaims List<Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyTokenClaimResponse>
A list of required token claims.
Audience This property is required. string
The audience for the token.
Issuer This property is required. string
The token issuer.
PrimaryVerificationKey This property is required. ContentKeyPolicyRsaTokenKeyResponse | ContentKeyPolicySymmetricTokenKeyResponse | ContentKeyPolicyX509CertificateTokenKeyResponse
The primary verification key.
RestrictionTokenType This property is required. 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 This property is required. String
The audience for the token.
issuer This property is required. String
The token issuer.
primaryVerificationKey This property is required. ContentKeyPolicyRsaTokenKeyResponse | ContentKeyPolicySymmetricTokenKeyResponse | ContentKeyPolicyX509CertificateTokenKeyResponse
The primary verification key.
restrictionTokenType This property is required. 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 This property is required. string
The audience for the token.
issuer This property is required. string
The token issuer.
primaryVerificationKey This property is required. ContentKeyPolicyRsaTokenKeyResponse | ContentKeyPolicySymmetricTokenKeyResponse | ContentKeyPolicyX509CertificateTokenKeyResponse
The primary verification key.
restrictionTokenType This property is required. 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 This property is required. str
The audience for the token.
issuer This property is required. str
The token issuer.
primary_verification_key This property is required. ContentKeyPolicyRsaTokenKeyResponse | ContentKeyPolicySymmetricTokenKeyResponse | ContentKeyPolicyX509CertificateTokenKeyResponse
The primary verification key.
restriction_token_type This property is required. 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 This property is required. String
The audience for the token.
issuer This property is required. String
The token issuer.
primaryVerificationKey This property is required. Property Map | Property Map | Property Map
The primary verification key.
restrictionTokenType This property is required. 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
, ContentKeyPolicyUnknownConfigurationArgs

ContentKeyPolicyUnknownConfigurationResponse
, ContentKeyPolicyUnknownConfigurationResponseArgs

ContentKeyPolicyUnknownRestriction
, ContentKeyPolicyUnknownRestrictionArgs

ContentKeyPolicyUnknownRestrictionResponse
, ContentKeyPolicyUnknownRestrictionResponseArgs

ContentKeyPolicyWidevineConfiguration
, ContentKeyPolicyWidevineConfigurationArgs

WidevineTemplate This property is required. string
The Widevine template.
WidevineTemplate This property is required. string
The Widevine template.
widevineTemplate This property is required. String
The Widevine template.
widevineTemplate This property is required. string
The Widevine template.
widevine_template This property is required. str
The Widevine template.
widevineTemplate This property is required. String
The Widevine template.

ContentKeyPolicyWidevineConfigurationResponse
, ContentKeyPolicyWidevineConfigurationResponseArgs

WidevineTemplate This property is required. string
The Widevine template.
WidevineTemplate This property is required. string
The Widevine template.
widevineTemplate This property is required. String
The Widevine template.
widevineTemplate This property is required. string
The Widevine template.
widevine_template This property is required. str
The Widevine template.
widevineTemplate This property is required. String
The Widevine template.

ContentKeyPolicyX509CertificateTokenKey
, ContentKeyPolicyX509CertificateTokenKeyArgs

RawBody This property is required. string
The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
RawBody This property is required. string
The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
rawBody This property is required. String
The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
rawBody This property is required. string
The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
raw_body This property is required. str
The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
rawBody This property is required. String
The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)

ContentKeyPolicyX509CertificateTokenKeyResponse
, ContentKeyPolicyX509CertificateTokenKeyResponseArgs

RawBody This property is required. string
The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
RawBody This property is required. string
The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
rawBody This property is required. String
The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
rawBody This property is required. string
The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
raw_body This property is required. str
The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
rawBody This property is required. String
The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)

SecurityLevel
, SecurityLevelArgs

Unknown
UnknownRepresents a SecurityLevel that is unavailable in current API version.
SL150
SL150For clients under development or test. No protection against unauthorized use.
SL2000
SL2000For hardened devices and applications consuming commercial content. Software or hardware protection.
SL3000
SL3000For hardened devices only. Hardware protection.
SecurityLevelUnknown
UnknownRepresents a SecurityLevel that is unavailable in current API version.
SecurityLevelSL150
SL150For clients under development or test. No protection against unauthorized use.
SecurityLevelSL2000
SL2000For hardened devices and applications consuming commercial content. Software or hardware protection.
SecurityLevelSL3000
SL3000For hardened devices only. Hardware protection.
Unknown
UnknownRepresents a SecurityLevel that is unavailable in current API version.
SL150
SL150For clients under development or test. No protection against unauthorized use.
SL2000
SL2000For hardened devices and applications consuming commercial content. Software or hardware protection.
SL3000
SL3000For hardened devices only. Hardware protection.
Unknown
UnknownRepresents a SecurityLevel that is unavailable in current API version.
SL150
SL150For clients under development or test. No protection against unauthorized use.
SL2000
SL2000For hardened devices and applications consuming commercial content. Software or hardware protection.
SL3000
SL3000For hardened devices only. Hardware protection.
UNKNOWN
UnknownRepresents a SecurityLevel that is unavailable in current API version.
SL150
SL150For clients under development or test. No protection against unauthorized use.
SL2000
SL2000For hardened devices and applications consuming commercial content. Software or hardware protection.
SL3000
SL3000For hardened devices only. Hardware protection.
"Unknown"
UnknownRepresents a SecurityLevel that is unavailable in current API version.
"SL150"
SL150For clients under development or test. No protection against unauthorized use.
"SL2000"
SL2000For hardened devices and applications consuming commercial content. Software or hardware protection.
"SL3000"
SL3000For hardened devices only. Hardware protection.

SystemDataResponse
, SystemDataResponseArgs

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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies/{contentKeyPolicyName} 
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0