1. Packages
  2. Azure Native
  3. API Docs
  4. media
  5. ContentKeyPolicy
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.media.ContentKeyPolicy

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

    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",
        });
    
    });
    
    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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    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
    

    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",
        });
    
    });
    
    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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    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
    

    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",
        });
    
    });
    
    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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    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
    

    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",
        });
    
    });
    
    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
    	})
    }
    
    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());
    
        }
    }
    
    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")
    
    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",
    });
    
    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
    

    Create ContentKeyPolicy Resource

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

    Constructor syntax

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

    Parameters

    name string
    The unique name of the resource.
    args ContentKeyPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ContentKeyPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ContentKeyPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ContentKeyPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ContentKeyPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

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

    var contentKeyPolicyResource = new AzureNative.Media.ContentKeyPolicy("contentKeyPolicyResource", new()
    {
        AccountName = "string",
        Options = new[]
        {
            new AzureNative.Media.Inputs.ContentKeyPolicyOptionArgs
            {
                Configuration = new AzureNative.Media.Inputs.ContentKeyPolicyClearKeyConfigurationArgs
                {
                    OdataType = "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
                },
                Restriction = new AzureNative.Media.Inputs.ContentKeyPolicyOpenRestrictionArgs
                {
                    OdataType = "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
                },
                Name = "string",
            },
        },
        ResourceGroupName = "string",
        ContentKeyPolicyName = "string",
        Description = "string",
    });
    
    example, err := media.NewContentKeyPolicy(ctx, "contentKeyPolicyResource", &media.ContentKeyPolicyArgs{
    	AccountName: pulumi.String("string"),
    	Options: media.ContentKeyPolicyOptionArray{
    		&media.ContentKeyPolicyOptionArgs{
    			Configuration: media.ContentKeyPolicyClearKeyConfiguration{
    				OdataType: "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
    			},
    			Restriction: media.ContentKeyPolicyOpenRestriction{
    				OdataType: "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
    			},
    			Name: pulumi.String("string"),
    		},
    	},
    	ResourceGroupName:    pulumi.String("string"),
    	ContentKeyPolicyName: pulumi.String("string"),
    	Description:          pulumi.String("string"),
    })
    
    var contentKeyPolicyResource = new ContentKeyPolicy("contentKeyPolicyResource", ContentKeyPolicyArgs.builder()
        .accountName("string")
        .options(ContentKeyPolicyOptionArgs.builder()
            .configuration(ContentKeyPolicyClearKeyConfigurationArgs.builder()
                .odataType("#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration")
                .build())
            .restriction(ContentKeyPolicyOpenRestrictionArgs.builder()
                .odataType("#Microsoft.Media.ContentKeyPolicyOpenRestriction")
                .build())
            .name("string")
            .build())
        .resourceGroupName("string")
        .contentKeyPolicyName("string")
        .description("string")
        .build());
    
    content_key_policy_resource = azure_native.media.ContentKeyPolicy("contentKeyPolicyResource",
        account_name="string",
        options=[{
            "configuration": {
                "odata_type": "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
            },
            "restriction": {
                "odata_type": "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
            },
            "name": "string",
        }],
        resource_group_name="string",
        content_key_policy_name="string",
        description="string")
    
    const contentKeyPolicyResource = new azure_native.media.ContentKeyPolicy("contentKeyPolicyResource", {
        accountName: "string",
        options: [{
            configuration: {
                odataType: "#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration",
            },
            restriction: {
                odataType: "#Microsoft.Media.ContentKeyPolicyOpenRestriction",
            },
            name: "string",
        }],
        resourceGroupName: "string",
        contentKeyPolicyName: "string",
        description: "string",
    });
    
    type: azure-native:media:ContentKeyPolicy
    properties:
        accountName: string
        contentKeyPolicyName: string
        description: string
        options:
            - configuration:
                odataType: '#Microsoft.Media.ContentKeyPolicyClearKeyConfiguration'
              name: string
              restriction:
                odataType: '#Microsoft.Media.ContentKeyPolicyOpenRestriction'
        resourceGroupName: string
    

    ContentKeyPolicy Resource Properties

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

    Inputs

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

    The ContentKeyPolicy resource accepts the following input properties:

    AccountName string
    The Media Services account name.
    Options List<Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyOption>
    The Key Policy options.
    ResourceGroupName string
    The name of the resource group within the Azure subscription.
    ContentKeyPolicyName string
    The Content Key Policy name.
    Description string
    A description for the Policy.
    AccountName string
    The Media Services account name.
    Options []ContentKeyPolicyOptionArgs
    The Key Policy options.
    ResourceGroupName string
    The name of the resource group within the Azure subscription.
    ContentKeyPolicyName string
    The Content Key Policy name.
    Description string
    A description for the Policy.
    accountName String
    The Media Services account name.
    options List<ContentKeyPolicyOption>
    The Key Policy options.
    resourceGroupName String
    The name of the resource group within the Azure subscription.
    contentKeyPolicyName String
    The Content Key Policy name.
    description String
    A description for the Policy.
    accountName string
    The Media Services account name.
    options ContentKeyPolicyOption[]
    The Key Policy options.
    resourceGroupName string
    The name of the resource group within the Azure subscription.
    contentKeyPolicyName string
    The Content Key Policy name.
    description string
    A description for the Policy.
    account_name str
    The Media Services account name.
    options Sequence[ContentKeyPolicyOptionArgs]
    The Key Policy options.
    resource_group_name str
    The name of the resource group within the Azure subscription.
    content_key_policy_name str
    The Content Key Policy name.
    description str
    A description for the Policy.
    accountName String
    The Media Services account name.
    options List<Property Map>
    The Key Policy options.
    resourceGroupName String
    The name of the resource group within the Azure subscription.
    contentKeyPolicyName String
    The Content Key Policy name.
    description String
    A description for the Policy.

    Outputs

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

    Created string
    The creation date of the Policy
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModified string
    The last modified date of the Policy
    Name string
    The name of the resource
    PolicyId string
    The legacy Policy ID.
    SystemData Pulumi.AzureNative.Media.Outputs.SystemDataResponse
    The system metadata relating to this resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Created string
    The creation date of the Policy
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModified string
    The last modified date of the Policy
    Name string
    The name of the resource
    PolicyId string
    The legacy Policy ID.
    SystemData SystemDataResponse
    The system metadata relating to this resource.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    created String
    The creation date of the Policy
    id String
    The provider-assigned unique ID for this managed resource.
    lastModified String
    The last modified date of the Policy
    name String
    The name of the resource
    policyId String
    The legacy Policy ID.
    systemData SystemDataResponse
    The system metadata relating to this resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    created string
    The creation date of the Policy
    id string
    The provider-assigned unique ID for this managed resource.
    lastModified string
    The last modified date of the Policy
    name string
    The name of the resource
    policyId string
    The legacy Policy ID.
    systemData SystemDataResponse
    The system metadata relating to this resource.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    created str
    The creation date of the Policy
    id str
    The provider-assigned unique ID for this managed resource.
    last_modified str
    The last modified date of the Policy
    name str
    The name of the resource
    policy_id str
    The legacy Policy ID.
    system_data SystemDataResponse
    The system metadata relating to this resource.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    created String
    The creation date of the Policy
    id String
    The provider-assigned unique ID for this managed resource.
    lastModified String
    The last modified date of the Policy
    name String
    The name of the resource
    policyId String
    The legacy Policy ID.
    systemData Property Map
    The system metadata relating to this resource.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    ContentKeyPolicyClearKeyConfiguration, ContentKeyPolicyClearKeyConfigurationArgs

    ContentKeyPolicyClearKeyConfigurationResponse, ContentKeyPolicyClearKeyConfigurationResponseArgs

    ContentKeyPolicyFairPlayConfiguration, ContentKeyPolicyFairPlayConfigurationArgs

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

    ContentKeyPolicyFairPlayConfigurationResponse, ContentKeyPolicyFairPlayConfigurationResponseArgs

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

    ContentKeyPolicyFairPlayOfflineRentalConfiguration, ContentKeyPolicyFairPlayOfflineRentalConfigurationArgs

    PlaybackDurationSeconds double
    Playback duration
    StorageDurationSeconds double
    Storage duration
    PlaybackDurationSeconds float64
    Playback duration
    StorageDurationSeconds float64
    Storage duration
    playbackDurationSeconds Double
    Playback duration
    storageDurationSeconds Double
    Storage duration
    playbackDurationSeconds number
    Playback duration
    storageDurationSeconds number
    Storage duration
    playback_duration_seconds float
    Playback duration
    storage_duration_seconds float
    Storage duration
    playbackDurationSeconds Number
    Playback duration
    storageDurationSeconds Number
    Storage duration

    ContentKeyPolicyFairPlayOfflineRentalConfigurationResponse, ContentKeyPolicyFairPlayOfflineRentalConfigurationResponseArgs

    PlaybackDurationSeconds double
    Playback duration
    StorageDurationSeconds double
    Storage duration
    PlaybackDurationSeconds float64
    Playback duration
    StorageDurationSeconds float64
    Storage duration
    playbackDurationSeconds Double
    Playback duration
    storageDurationSeconds Double
    Storage duration
    playbackDurationSeconds number
    Playback duration
    storageDurationSeconds number
    Storage duration
    playback_duration_seconds float
    Playback duration
    storage_duration_seconds float
    Storage duration
    playbackDurationSeconds Number
    Playback duration
    storageDurationSeconds Number
    Storage duration

    ContentKeyPolicyFairPlayRentalAndLeaseKeyType, 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 Property Map | Property Map | Property Map | Property Map | Property Map
    The key delivery configuration.
    restriction Property Map | Property Map | Property Map
    The requirements that must be met to deliver keys with this configuration
    name String
    The Policy Option description.

    ContentKeyPolicyOptionResponse, ContentKeyPolicyOptionResponseArgs

    Configuration Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyClearKeyConfigurationResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyFairPlayConfigurationResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyConfigurationResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyUnknownConfigurationResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyWidevineConfigurationResponse
    The key delivery configuration.
    PolicyOptionId string
    The legacy Policy Option ID.
    Restriction Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyOpenRestrictionResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyTokenRestrictionResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyUnknownRestrictionResponse
    The requirements that must be met to deliver keys with this configuration
    Name string
    The Policy Option description.
    configuration Property Map | Property Map | Property Map | Property Map | Property Map
    The key delivery configuration.
    policyOptionId String
    The legacy Policy Option ID.
    restriction Property Map | Property Map | Property Map
    The requirements that must be met to deliver keys with this configuration
    name String
    The Policy Option description.

    ContentKeyPolicyPlayReadyConfiguration, ContentKeyPolicyPlayReadyConfigurationArgs

    Licenses []ContentKeyPolicyPlayReadyLicense
    The PlayReady licenses.
    ResponseCustomData string
    The custom response data.
    licenses List<ContentKeyPolicyPlayReadyLicense>
    The PlayReady licenses.
    responseCustomData String
    The custom response data.
    licenses ContentKeyPolicyPlayReadyLicense[]
    The PlayReady licenses.
    responseCustomData string
    The custom response data.
    licenses Sequence[ContentKeyPolicyPlayReadyLicense]
    The PlayReady licenses.
    response_custom_data str
    The custom response data.
    licenses List<Property Map>
    The PlayReady licenses.
    responseCustomData String
    The custom response data.

    ContentKeyPolicyPlayReadyConfigurationResponse, ContentKeyPolicyPlayReadyConfigurationResponseArgs

    Licenses []ContentKeyPolicyPlayReadyLicenseResponse
    The PlayReady licenses.
    ResponseCustomData string
    The custom response data.
    licenses List<ContentKeyPolicyPlayReadyLicenseResponse>
    The PlayReady licenses.
    responseCustomData String
    The custom response data.
    licenses ContentKeyPolicyPlayReadyLicenseResponse[]
    The PlayReady licenses.
    responseCustomData string
    The custom response data.
    licenses Sequence[ContentKeyPolicyPlayReadyLicenseResponse]
    The PlayReady licenses.
    response_custom_data str
    The custom response data.
    licenses List<Property Map>
    The PlayReady licenses.
    responseCustomData String
    The custom response data.

    ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader, ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderArgs

    ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse, ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponseArgs

    ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier, ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierArgs

    KeyId string
    The content key ID.
    KeyId string
    The content key ID.
    keyId String
    The content key ID.
    keyId string
    The content key ID.
    key_id str
    The content key ID.
    keyId String
    The content key ID.

    ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse, ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponseArgs

    KeyId string
    The content key ID.
    KeyId string
    The content key ID.
    keyId String
    The content key ID.
    keyId string
    The content key ID.
    key_id str
    The content key ID.
    keyId String
    The content key ID.

    ContentKeyPolicyPlayReadyContentType, 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 bool
    Indicates whether this restriction is enforced on a Best Effort basis.
    ConfigurationData int
    Configures the restriction control bits. Must be between 0 and 3 inclusive.
    BestEffort bool
    Indicates whether this restriction is enforced on a Best Effort basis.
    ConfigurationData int
    Configures the restriction control bits. Must be between 0 and 3 inclusive.
    bestEffort Boolean
    Indicates whether this restriction is enforced on a Best Effort basis.
    configurationData Integer
    Configures the restriction control bits. Must be between 0 and 3 inclusive.
    bestEffort boolean
    Indicates whether this restriction is enforced on a Best Effort basis.
    configurationData number
    Configures the restriction control bits. Must be between 0 and 3 inclusive.
    best_effort bool
    Indicates whether this restriction is enforced on a Best Effort basis.
    configuration_data int
    Configures the restriction control bits. Must be between 0 and 3 inclusive.
    bestEffort Boolean
    Indicates whether this restriction is enforced on a Best Effort basis.
    configurationData Number
    Configures the restriction control bits. Must be between 0 and 3 inclusive.

    ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse, ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponseArgs

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

    ContentKeyPolicyPlayReadyLicense, ContentKeyPolicyPlayReadyLicenseArgs

    AllowTestDevices bool
    A flag indicating whether test devices can use the license.
    ContentKeyLocation Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
    The content key location.
    ContentType string | Pulumi.AzureNative.Media.ContentKeyPolicyPlayReadyContentType
    The PlayReady content type.
    LicenseType string | Pulumi.AzureNative.Media.ContentKeyPolicyPlayReadyLicenseType
    The license type.
    BeginDate string
    The begin date of license
    ExpirationDate string
    The expiration date of license.
    GracePeriod string
    The grace period of license.
    PlayRight Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyPlayRight
    The license PlayRight
    RelativeBeginDate string
    The relative begin date of license.
    RelativeExpirationDate string
    The relative expiration date of license.
    SecurityLevel string | Pulumi.AzureNative.Media.SecurityLevel
    The security level.
    AllowTestDevices bool
    A flag indicating whether test devices can use the license.
    ContentKeyLocation ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
    The content key location.
    ContentType string | ContentKeyPolicyPlayReadyContentType
    The PlayReady content type.
    LicenseType string | ContentKeyPolicyPlayReadyLicenseType
    The license type.
    BeginDate string
    The begin date of license
    ExpirationDate string
    The expiration date of license.
    GracePeriod string
    The grace period of license.
    PlayRight ContentKeyPolicyPlayReadyPlayRight
    The license PlayRight
    RelativeBeginDate string
    The relative begin date of license.
    RelativeExpirationDate string
    The relative expiration date of license.
    SecurityLevel string | SecurityLevel
    The security level.
    allowTestDevices Boolean
    A flag indicating whether test devices can use the license.
    contentKeyLocation ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
    The content key location.
    contentType String | ContentKeyPolicyPlayReadyContentType
    The PlayReady content type.
    licenseType String | ContentKeyPolicyPlayReadyLicenseType
    The license type.
    beginDate String
    The begin date of license
    expirationDate String
    The expiration date of license.
    gracePeriod String
    The grace period of license.
    playRight ContentKeyPolicyPlayReadyPlayRight
    The license PlayRight
    relativeBeginDate String
    The relative begin date of license.
    relativeExpirationDate String
    The relative expiration date of license.
    securityLevel String | SecurityLevel
    The security level.
    allowTestDevices boolean
    A flag indicating whether test devices can use the license.
    contentKeyLocation ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
    The content key location.
    contentType string | ContentKeyPolicyPlayReadyContentType
    The PlayReady content type.
    licenseType string | ContentKeyPolicyPlayReadyLicenseType
    The license type.
    beginDate string
    The begin date of license
    expirationDate string
    The expiration date of license.
    gracePeriod string
    The grace period of license.
    playRight ContentKeyPolicyPlayReadyPlayRight
    The license PlayRight
    relativeBeginDate string
    The relative begin date of license.
    relativeExpirationDate string
    The relative expiration date of license.
    securityLevel string | SecurityLevel
    The security level.
    allow_test_devices bool
    A flag indicating whether test devices can use the license.
    content_key_location ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
    The content key location.
    content_type str | ContentKeyPolicyPlayReadyContentType
    The PlayReady content type.
    license_type str | ContentKeyPolicyPlayReadyLicenseType
    The license type.
    begin_date str
    The begin date of license
    expiration_date str
    The expiration date of license.
    grace_period str
    The grace period of license.
    play_right ContentKeyPolicyPlayReadyPlayRight
    The license PlayRight
    relative_begin_date str
    The relative begin date of license.
    relative_expiration_date str
    The relative expiration date of license.
    security_level str | SecurityLevel
    The security level.
    allowTestDevices Boolean
    A flag indicating whether test devices can use the license.
    contentKeyLocation Property Map | Property Map
    The content key location.
    contentType String | "Unknown" | "Unspecified" | "UltraVioletDownload" | "UltraVioletStreaming"
    The PlayReady content type.
    licenseType String | "Unknown" | "NonPersistent" | "Persistent"
    The license type.
    beginDate String
    The begin date of license
    expirationDate String
    The expiration date of license.
    gracePeriod String
    The grace period of license.
    playRight Property Map
    The license PlayRight
    relativeBeginDate String
    The relative begin date of license.
    relativeExpirationDate String
    The relative expiration date of license.
    securityLevel String | "Unknown" | "SL150" | "SL2000" | "SL3000"
    The security level.

    ContentKeyPolicyPlayReadyLicenseResponse, ContentKeyPolicyPlayReadyLicenseResponseArgs

    AllowTestDevices bool
    A flag indicating whether test devices can use the license.
    ContentKeyLocation Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse | Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse
    The content key location.
    ContentType string
    The PlayReady content type.
    LicenseType string
    The license type.
    BeginDate string
    The begin date of license
    ExpirationDate string
    The expiration date of license.
    GracePeriod string
    The grace period of license.
    PlayRight Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyPlayRightResponse
    The license PlayRight
    RelativeBeginDate string
    The relative begin date of license.
    RelativeExpirationDate string
    The relative expiration date of license.
    SecurityLevel string
    The security level.
    AllowTestDevices bool
    A flag indicating whether test devices can use the license.
    ContentKeyLocation ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse
    The content key location.
    ContentType string
    The PlayReady content type.
    LicenseType string
    The license type.
    BeginDate string
    The begin date of license
    ExpirationDate string
    The expiration date of license.
    GracePeriod string
    The grace period of license.
    PlayRight ContentKeyPolicyPlayReadyPlayRightResponse
    The license PlayRight
    RelativeBeginDate string
    The relative begin date of license.
    RelativeExpirationDate string
    The relative expiration date of license.
    SecurityLevel string
    The security level.
    allowTestDevices Boolean
    A flag indicating whether test devices can use the license.
    contentKeyLocation ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse
    The content key location.
    contentType String
    The PlayReady content type.
    licenseType String
    The license type.
    beginDate String
    The begin date of license
    expirationDate String
    The expiration date of license.
    gracePeriod String
    The grace period of license.
    playRight ContentKeyPolicyPlayReadyPlayRightResponse
    The license PlayRight
    relativeBeginDate String
    The relative begin date of license.
    relativeExpirationDate String
    The relative expiration date of license.
    securityLevel String
    The security level.
    allowTestDevices boolean
    A flag indicating whether test devices can use the license.
    contentKeyLocation ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse
    The content key location.
    contentType string
    The PlayReady content type.
    licenseType string
    The license type.
    beginDate string
    The begin date of license
    expirationDate string
    The expiration date of license.
    gracePeriod string
    The grace period of license.
    playRight ContentKeyPolicyPlayReadyPlayRightResponse
    The license PlayRight
    relativeBeginDate string
    The relative begin date of license.
    relativeExpirationDate string
    The relative expiration date of license.
    securityLevel string
    The security level.
    allow_test_devices bool
    A flag indicating whether test devices can use the license.
    content_key_location ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderResponse | ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse
    The content key location.
    content_type str
    The PlayReady content type.
    license_type str
    The license type.
    begin_date str
    The begin date of license
    expiration_date str
    The expiration date of license.
    grace_period str
    The grace period of license.
    play_right ContentKeyPolicyPlayReadyPlayRightResponse
    The license PlayRight
    relative_begin_date str
    The relative begin date of license.
    relative_expiration_date str
    The relative expiration date of license.
    security_level str
    The security level.
    allowTestDevices Boolean
    A flag indicating whether test devices can use the license.
    contentKeyLocation Property Map | Property Map
    The content key location.
    contentType String
    The PlayReady content type.
    licenseType String
    The license type.
    beginDate String
    The begin date of license
    expirationDate String
    The expiration date of license.
    gracePeriod String
    The grace period of license.
    playRight Property Map
    The license PlayRight
    relativeBeginDate String
    The relative begin date of license.
    relativeExpirationDate String
    The relative expiration date of license.
    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 string | Pulumi.AzureNative.Media.ContentKeyPolicyPlayReadyUnknownOutputPassingOption
    Configures Unknown output handling settings of the license.
    DigitalVideoOnlyContentRestriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    ImageConstraintForAnalogComponentVideoRestriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    ImageConstraintForAnalogComputerMonitorRestriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    AgcAndColorStripeRestriction int
    Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
    AnalogVideoOpl int
    Specifies the output protection level for compressed digital audio.
    CompressedDigitalAudioOpl int
    Specifies the output protection level for compressed digital audio.
    CompressedDigitalVideoOpl int
    Specifies the output protection level for compressed digital video.
    ExplicitAnalogTelevisionOutputRestriction Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction
    Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
    FirstPlayExpiration string
    The amount of time that the license is valid after the license is first used to play content.
    ScmsRestriction int
    Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
    UncompressedDigitalAudioOpl int
    Specifies the output protection level for uncompressed digital audio.
    UncompressedDigitalVideoOpl int
    Specifies the output protection level for uncompressed digital video.
    AllowPassingVideoContentToUnknownOutput string | ContentKeyPolicyPlayReadyUnknownOutputPassingOption
    Configures Unknown output handling settings of the license.
    DigitalVideoOnlyContentRestriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    ImageConstraintForAnalogComponentVideoRestriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    ImageConstraintForAnalogComputerMonitorRestriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    AgcAndColorStripeRestriction int
    Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
    AnalogVideoOpl int
    Specifies the output protection level for compressed digital audio.
    CompressedDigitalAudioOpl int
    Specifies the output protection level for compressed digital audio.
    CompressedDigitalVideoOpl int
    Specifies the output protection level for compressed digital video.
    ExplicitAnalogTelevisionOutputRestriction ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction
    Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
    FirstPlayExpiration string
    The amount of time that the license is valid after the license is first used to play content.
    ScmsRestriction int
    Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
    UncompressedDigitalAudioOpl int
    Specifies the output protection level for uncompressed digital audio.
    UncompressedDigitalVideoOpl int
    Specifies the output protection level for uncompressed digital video.
    allowPassingVideoContentToUnknownOutput String | ContentKeyPolicyPlayReadyUnknownOutputPassingOption
    Configures Unknown output handling settings of the license.
    digitalVideoOnlyContentRestriction Boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    imageConstraintForAnalogComponentVideoRestriction Boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    imageConstraintForAnalogComputerMonitorRestriction Boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    agcAndColorStripeRestriction Integer
    Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
    analogVideoOpl Integer
    Specifies the output protection level for compressed digital audio.
    compressedDigitalAudioOpl Integer
    Specifies the output protection level for compressed digital audio.
    compressedDigitalVideoOpl Integer
    Specifies the output protection level for compressed digital video.
    explicitAnalogTelevisionOutputRestriction ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction
    Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
    firstPlayExpiration String
    The amount of time that the license is valid after the license is first used to play content.
    scmsRestriction Integer
    Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
    uncompressedDigitalAudioOpl Integer
    Specifies the output protection level for uncompressed digital audio.
    uncompressedDigitalVideoOpl Integer
    Specifies the output protection level for uncompressed digital video.
    allowPassingVideoContentToUnknownOutput string | ContentKeyPolicyPlayReadyUnknownOutputPassingOption
    Configures Unknown output handling settings of the license.
    digitalVideoOnlyContentRestriction boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    imageConstraintForAnalogComponentVideoRestriction boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    imageConstraintForAnalogComputerMonitorRestriction boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    agcAndColorStripeRestriction number
    Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
    analogVideoOpl number
    Specifies the output protection level for compressed digital audio.
    compressedDigitalAudioOpl number
    Specifies the output protection level for compressed digital audio.
    compressedDigitalVideoOpl number
    Specifies the output protection level for compressed digital video.
    explicitAnalogTelevisionOutputRestriction ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction
    Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
    firstPlayExpiration string
    The amount of time that the license is valid after the license is first used to play content.
    scmsRestriction number
    Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
    uncompressedDigitalAudioOpl number
    Specifies the output protection level for uncompressed digital audio.
    uncompressedDigitalVideoOpl number
    Specifies the output protection level for uncompressed digital video.
    allow_passing_video_content_to_unknown_output str | ContentKeyPolicyPlayReadyUnknownOutputPassingOption
    Configures Unknown output handling settings of the license.
    digital_video_only_content_restriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    image_constraint_for_analog_component_video_restriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    image_constraint_for_analog_computer_monitor_restriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    agc_and_color_stripe_restriction int
    Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
    analog_video_opl int
    Specifies the output protection level for compressed digital audio.
    compressed_digital_audio_opl int
    Specifies the output protection level for compressed digital audio.
    compressed_digital_video_opl int
    Specifies the output protection level for compressed digital video.
    explicit_analog_television_output_restriction ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction
    Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
    first_play_expiration str
    The amount of time that the license is valid after the license is first used to play content.
    scms_restriction int
    Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
    uncompressed_digital_audio_opl int
    Specifies the output protection level for uncompressed digital audio.
    uncompressed_digital_video_opl int
    Specifies the output protection level for uncompressed digital video.
    allowPassingVideoContentToUnknownOutput String | "Unknown" | "NotAllowed" | "Allowed" | "AllowedWithVideoConstriction"
    Configures Unknown output handling settings of the license.
    digitalVideoOnlyContentRestriction Boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    imageConstraintForAnalogComponentVideoRestriction Boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    imageConstraintForAnalogComputerMonitorRestriction Boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    agcAndColorStripeRestriction Number
    Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
    analogVideoOpl Number
    Specifies the output protection level for compressed digital audio.
    compressedDigitalAudioOpl Number
    Specifies the output protection level for compressed digital audio.
    compressedDigitalVideoOpl Number
    Specifies the output protection level for compressed digital video.
    explicitAnalogTelevisionOutputRestriction Property Map
    Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
    firstPlayExpiration String
    The amount of time that the license is valid after the license is first used to play content.
    scmsRestriction Number
    Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
    uncompressedDigitalAudioOpl Number
    Specifies the output protection level for uncompressed digital audio.
    uncompressedDigitalVideoOpl Number
    Specifies the output protection level for uncompressed digital video.

    ContentKeyPolicyPlayReadyPlayRightResponse, ContentKeyPolicyPlayReadyPlayRightResponseArgs

    AllowPassingVideoContentToUnknownOutput string
    Configures Unknown output handling settings of the license.
    DigitalVideoOnlyContentRestriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    ImageConstraintForAnalogComponentVideoRestriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    ImageConstraintForAnalogComputerMonitorRestriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    AgcAndColorStripeRestriction int
    Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
    AnalogVideoOpl int
    Specifies the output protection level for compressed digital audio.
    CompressedDigitalAudioOpl int
    Specifies the output protection level for compressed digital audio.
    CompressedDigitalVideoOpl int
    Specifies the output protection level for compressed digital video.
    ExplicitAnalogTelevisionOutputRestriction Pulumi.AzureNative.Media.Inputs.ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse
    Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
    FirstPlayExpiration string
    The amount of time that the license is valid after the license is first used to play content.
    ScmsRestriction int
    Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
    UncompressedDigitalAudioOpl int
    Specifies the output protection level for uncompressed digital audio.
    UncompressedDigitalVideoOpl int
    Specifies the output protection level for uncompressed digital video.
    AllowPassingVideoContentToUnknownOutput string
    Configures Unknown output handling settings of the license.
    DigitalVideoOnlyContentRestriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    ImageConstraintForAnalogComponentVideoRestriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    ImageConstraintForAnalogComputerMonitorRestriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    AgcAndColorStripeRestriction int
    Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
    AnalogVideoOpl int
    Specifies the output protection level for compressed digital audio.
    CompressedDigitalAudioOpl int
    Specifies the output protection level for compressed digital audio.
    CompressedDigitalVideoOpl int
    Specifies the output protection level for compressed digital video.
    ExplicitAnalogTelevisionOutputRestriction ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse
    Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
    FirstPlayExpiration string
    The amount of time that the license is valid after the license is first used to play content.
    ScmsRestriction int
    Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
    UncompressedDigitalAudioOpl int
    Specifies the output protection level for uncompressed digital audio.
    UncompressedDigitalVideoOpl int
    Specifies the output protection level for uncompressed digital video.
    allowPassingVideoContentToUnknownOutput String
    Configures Unknown output handling settings of the license.
    digitalVideoOnlyContentRestriction Boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    imageConstraintForAnalogComponentVideoRestriction Boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    imageConstraintForAnalogComputerMonitorRestriction Boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    agcAndColorStripeRestriction Integer
    Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
    analogVideoOpl Integer
    Specifies the output protection level for compressed digital audio.
    compressedDigitalAudioOpl Integer
    Specifies the output protection level for compressed digital audio.
    compressedDigitalVideoOpl Integer
    Specifies the output protection level for compressed digital video.
    explicitAnalogTelevisionOutputRestriction ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse
    Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
    firstPlayExpiration String
    The amount of time that the license is valid after the license is first used to play content.
    scmsRestriction Integer
    Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
    uncompressedDigitalAudioOpl Integer
    Specifies the output protection level for uncompressed digital audio.
    uncompressedDigitalVideoOpl Integer
    Specifies the output protection level for uncompressed digital video.
    allowPassingVideoContentToUnknownOutput string
    Configures Unknown output handling settings of the license.
    digitalVideoOnlyContentRestriction boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    imageConstraintForAnalogComponentVideoRestriction boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    imageConstraintForAnalogComputerMonitorRestriction boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    agcAndColorStripeRestriction number
    Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
    analogVideoOpl number
    Specifies the output protection level for compressed digital audio.
    compressedDigitalAudioOpl number
    Specifies the output protection level for compressed digital audio.
    compressedDigitalVideoOpl number
    Specifies the output protection level for compressed digital video.
    explicitAnalogTelevisionOutputRestriction ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse
    Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
    firstPlayExpiration string
    The amount of time that the license is valid after the license is first used to play content.
    scmsRestriction number
    Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
    uncompressedDigitalAudioOpl number
    Specifies the output protection level for uncompressed digital audio.
    uncompressedDigitalVideoOpl number
    Specifies the output protection level for uncompressed digital video.
    allow_passing_video_content_to_unknown_output str
    Configures Unknown output handling settings of the license.
    digital_video_only_content_restriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    image_constraint_for_analog_component_video_restriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    image_constraint_for_analog_computer_monitor_restriction bool
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    agc_and_color_stripe_restriction int
    Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
    analog_video_opl int
    Specifies the output protection level for compressed digital audio.
    compressed_digital_audio_opl int
    Specifies the output protection level for compressed digital audio.
    compressed_digital_video_opl int
    Specifies the output protection level for compressed digital video.
    explicit_analog_television_output_restriction ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestrictionResponse
    Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
    first_play_expiration str
    The amount of time that the license is valid after the license is first used to play content.
    scms_restriction int
    Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
    uncompressed_digital_audio_opl int
    Specifies the output protection level for uncompressed digital audio.
    uncompressed_digital_video_opl int
    Specifies the output protection level for uncompressed digital video.
    allowPassingVideoContentToUnknownOutput String
    Configures Unknown output handling settings of the license.
    digitalVideoOnlyContentRestriction Boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    imageConstraintForAnalogComponentVideoRestriction Boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    imageConstraintForAnalogComputerMonitorRestriction Boolean
    Enables the Image Constraint For Analog Component Video Restriction in the license.
    agcAndColorStripeRestriction Number
    Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.
    analogVideoOpl Number
    Specifies the output protection level for compressed digital audio.
    compressedDigitalAudioOpl Number
    Specifies the output protection level for compressed digital audio.
    compressedDigitalVideoOpl Number
    Specifies the output protection level for compressed digital video.
    explicitAnalogTelevisionOutputRestriction Property Map
    Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.
    firstPlayExpiration String
    The amount of time that the license is valid after the license is first used to play content.
    scmsRestriction Number
    Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.
    uncompressedDigitalAudioOpl Number
    Specifies the output protection level for uncompressed digital audio.
    uncompressedDigitalVideoOpl Number
    Specifies the output protection level for uncompressed digital video.

    ContentKeyPolicyPlayReadyUnknownOutputPassingOption, 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 string
    The RSA Parameter exponent
    Modulus string
    The RSA Parameter modulus
    Exponent string
    The RSA Parameter exponent
    Modulus string
    The RSA Parameter modulus
    exponent String
    The RSA Parameter exponent
    modulus String
    The RSA Parameter modulus
    exponent string
    The RSA Parameter exponent
    modulus string
    The RSA Parameter modulus
    exponent str
    The RSA Parameter exponent
    modulus str
    The RSA Parameter modulus
    exponent String
    The RSA Parameter exponent
    modulus String
    The RSA Parameter modulus

    ContentKeyPolicyRsaTokenKeyResponse, ContentKeyPolicyRsaTokenKeyResponseArgs

    Exponent string
    The RSA Parameter exponent
    Modulus string
    The RSA Parameter modulus
    Exponent string
    The RSA Parameter exponent
    Modulus string
    The RSA Parameter modulus
    exponent String
    The RSA Parameter exponent
    modulus String
    The RSA Parameter modulus
    exponent string
    The RSA Parameter exponent
    modulus string
    The RSA Parameter modulus
    exponent str
    The RSA Parameter exponent
    modulus str
    The RSA Parameter modulus
    exponent String
    The RSA Parameter exponent
    modulus String
    The RSA Parameter modulus

    ContentKeyPolicySymmetricTokenKey, ContentKeyPolicySymmetricTokenKeyArgs

    KeyValue string
    The key value of the key
    KeyValue string
    The key value of the key
    keyValue String
    The key value of the key
    keyValue string
    The key value of the key
    key_value str
    The key value of the key
    keyValue String
    The key value of the key

    ContentKeyPolicySymmetricTokenKeyResponse, ContentKeyPolicySymmetricTokenKeyResponseArgs

    KeyValue string
    The key value of the key
    KeyValue string
    The key value of the key
    keyValue String
    The key value of the key
    keyValue string
    The key value of the key
    key_value str
    The key value of the key
    keyValue String
    The key value of the key

    ContentKeyPolicyTokenClaim, 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 string
    The audience for the token.
    Issuer string
    The token issuer.
    PrimaryVerificationKey ContentKeyPolicyRsaTokenKey | ContentKeyPolicySymmetricTokenKey | ContentKeyPolicyX509CertificateTokenKey
    The primary verification key.
    RestrictionTokenType string | ContentKeyPolicyRestrictionTokenType
    The type of token.
    AlternateVerificationKeys []interface{}
    A list of alternative verification keys.
    OpenIdConnectDiscoveryDocument string
    The OpenID connect discovery document.
    RequiredClaims []ContentKeyPolicyTokenClaim
    A list of required token claims.
    audience String
    The audience for the token.
    issuer String
    The token issuer.
    primaryVerificationKey ContentKeyPolicyRsaTokenKey | ContentKeyPolicySymmetricTokenKey | ContentKeyPolicyX509CertificateTokenKey
    The primary verification key.
    restrictionTokenType String | ContentKeyPolicyRestrictionTokenType
    The type of token.
    alternateVerificationKeys List<Object>
    A list of alternative verification keys.
    openIdConnectDiscoveryDocument String
    The OpenID connect discovery document.
    requiredClaims List<ContentKeyPolicyTokenClaim>
    A list of required token claims.
    audience string
    The audience for the token.
    issuer string
    The token issuer.
    primaryVerificationKey ContentKeyPolicyRsaTokenKey | ContentKeyPolicySymmetricTokenKey | ContentKeyPolicyX509CertificateTokenKey
    The primary verification key.
    restrictionTokenType string | ContentKeyPolicyRestrictionTokenType
    The type of token.
    alternateVerificationKeys (ContentKeyPolicyRsaTokenKey | ContentKeyPolicySymmetricTokenKey | ContentKeyPolicyX509CertificateTokenKey)[]
    A list of alternative verification keys.
    openIdConnectDiscoveryDocument string
    The OpenID connect discovery document.
    requiredClaims ContentKeyPolicyTokenClaim[]
    A list of required token claims.
    audience str
    The audience for the token.
    issuer str
    The token issuer.
    primary_verification_key ContentKeyPolicyRsaTokenKey | ContentKeyPolicySymmetricTokenKey | ContentKeyPolicyX509CertificateTokenKey
    The primary verification key.
    restriction_token_type str | ContentKeyPolicyRestrictionTokenType
    The type of token.
    alternate_verification_keys Sequence[Union[ContentKeyPolicyRsaTokenKey, ContentKeyPolicySymmetricTokenKey, ContentKeyPolicyX509CertificateTokenKey]]
    A list of alternative verification keys.
    open_id_connect_discovery_document str
    The OpenID connect discovery document.
    required_claims Sequence[ContentKeyPolicyTokenClaim]
    A list of required token claims.
    audience String
    The audience for the token.
    issuer String
    The token issuer.
    primaryVerificationKey Property Map | Property Map | Property Map
    The primary verification key.
    restrictionTokenType String | "Unknown" | "Swt" | "Jwt"
    The type of token.
    alternateVerificationKeys List<Property Map | Property Map | Property Map>
    A list of alternative verification keys.
    openIdConnectDiscoveryDocument String
    The OpenID connect discovery document.
    requiredClaims List<Property Map>
    A list of required token claims.

    ContentKeyPolicyTokenRestrictionResponse, ContentKeyPolicyTokenRestrictionResponseArgs

    Audience string
    The audience for the token.
    Issuer string
    The token issuer.
    PrimaryVerificationKey ContentKeyPolicyRsaTokenKeyResponse | ContentKeyPolicySymmetricTokenKeyResponse | ContentKeyPolicyX509CertificateTokenKeyResponse
    The primary verification key.
    RestrictionTokenType string
    The type of token.
    AlternateVerificationKeys []interface{}
    A list of alternative verification keys.
    OpenIdConnectDiscoveryDocument string
    The OpenID connect discovery document.
    RequiredClaims []ContentKeyPolicyTokenClaimResponse
    A list of required token claims.
    audience String
    The audience for the token.
    issuer String
    The token issuer.
    primaryVerificationKey ContentKeyPolicyRsaTokenKeyResponse | ContentKeyPolicySymmetricTokenKeyResponse | ContentKeyPolicyX509CertificateTokenKeyResponse
    The primary verification key.
    restrictionTokenType String
    The type of token.
    alternateVerificationKeys List<Object>
    A list of alternative verification keys.
    openIdConnectDiscoveryDocument String
    The OpenID connect discovery document.
    requiredClaims List<ContentKeyPolicyTokenClaimResponse>
    A list of required token claims.
    audience string
    The audience for the token.
    issuer string
    The token issuer.
    primaryVerificationKey ContentKeyPolicyRsaTokenKeyResponse | ContentKeyPolicySymmetricTokenKeyResponse | ContentKeyPolicyX509CertificateTokenKeyResponse
    The primary verification key.
    restrictionTokenType string
    The type of token.
    alternateVerificationKeys (ContentKeyPolicyRsaTokenKeyResponse | ContentKeyPolicySymmetricTokenKeyResponse | ContentKeyPolicyX509CertificateTokenKeyResponse)[]
    A list of alternative verification keys.
    openIdConnectDiscoveryDocument string
    The OpenID connect discovery document.
    requiredClaims ContentKeyPolicyTokenClaimResponse[]
    A list of required token claims.
    audience str
    The audience for the token.
    issuer str
    The token issuer.
    primary_verification_key ContentKeyPolicyRsaTokenKeyResponse | ContentKeyPolicySymmetricTokenKeyResponse | ContentKeyPolicyX509CertificateTokenKeyResponse
    The primary verification key.
    restriction_token_type str
    The type of token.
    alternate_verification_keys Sequence[Union[ContentKeyPolicyRsaTokenKeyResponse, ContentKeyPolicySymmetricTokenKeyResponse, ContentKeyPolicyX509CertificateTokenKeyResponse]]
    A list of alternative verification keys.
    open_id_connect_discovery_document str
    The OpenID connect discovery document.
    required_claims Sequence[ContentKeyPolicyTokenClaimResponse]
    A list of required token claims.
    audience String
    The audience for the token.
    issuer String
    The token issuer.
    primaryVerificationKey Property Map | Property Map | Property Map
    The primary verification key.
    restrictionTokenType String
    The type of token.
    alternateVerificationKeys List<Property Map | Property Map | Property Map>
    A list of alternative verification keys.
    openIdConnectDiscoveryDocument String
    The OpenID connect discovery document.
    requiredClaims List<Property Map>
    A list of required token claims.

    ContentKeyPolicyUnknownConfiguration, ContentKeyPolicyUnknownConfigurationArgs

    ContentKeyPolicyUnknownConfigurationResponse, ContentKeyPolicyUnknownConfigurationResponseArgs

    ContentKeyPolicyUnknownRestriction, ContentKeyPolicyUnknownRestrictionArgs

    ContentKeyPolicyUnknownRestrictionResponse, ContentKeyPolicyUnknownRestrictionResponseArgs

    ContentKeyPolicyWidevineConfiguration, ContentKeyPolicyWidevineConfigurationArgs

    WidevineTemplate string
    The Widevine template.
    WidevineTemplate string
    The Widevine template.
    widevineTemplate String
    The Widevine template.
    widevineTemplate string
    The Widevine template.
    widevine_template str
    The Widevine template.
    widevineTemplate String
    The Widevine template.

    ContentKeyPolicyWidevineConfigurationResponse, ContentKeyPolicyWidevineConfigurationResponseArgs

    WidevineTemplate string
    The Widevine template.
    WidevineTemplate string
    The Widevine template.
    widevineTemplate String
    The Widevine template.
    widevineTemplate string
    The Widevine template.
    widevine_template str
    The Widevine template.
    widevineTemplate String
    The Widevine template.

    ContentKeyPolicyX509CertificateTokenKey, ContentKeyPolicyX509CertificateTokenKeyArgs

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

    ContentKeyPolicyX509CertificateTokenKeyResponse, ContentKeyPolicyX509CertificateTokenKeyResponseArgs

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

    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} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.73.0 published on Wednesday, Nov 20, 2024 by Pulumi