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

azure-native-v2.videoanalyzer.AccessPolicy

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Access policies help define the authentication rules, and control access to specific video resources. Azure REST API version: 2021-11-01-preview. Prior API version in Azure Native 1.x: 2021-05-01-preview.

Example Usage

Register access policy entity.

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

return await Deployment.RunAsync(() => 
{
    var accessPolicy = new AzureNative.VideoAnalyzer.AccessPolicy("accessPolicy", new()
    {
        AccessPolicyName = "accessPolicyName1",
        AccountName = "testaccount2",
        Authentication = new AzureNative.VideoAnalyzer.Inputs.JwtAuthenticationArgs
        {
            Audiences = new[]
            {
                "audience1",
            },
            Claims = new[]
            {
                new AzureNative.VideoAnalyzer.Inputs.TokenClaimArgs
                {
                    Name = "claimname1",
                    Value = "claimvalue1",
                },
                new AzureNative.VideoAnalyzer.Inputs.TokenClaimArgs
                {
                    Name = "claimname2",
                    Value = "claimvalue2",
                },
            },
            Issuers = new[]
            {
                "issuer1",
                "issuer2",
            },
            Keys = 
            {
                new AzureNative.VideoAnalyzer.Inputs.RsaTokenKeyArgs
                {
                    Alg = AzureNative.VideoAnalyzer.AccessPolicyRsaAlgo.RS256,
                    E = "ZLFzZTY0IQ==",
                    Kid = "123",
                    N = "YmFzZTY0IQ==",
                    Type = "#Microsoft.VideoAnalyzer.RsaTokenKey",
                },
                new AzureNative.VideoAnalyzer.Inputs.EccTokenKeyArgs
                {
                    Alg = AzureNative.VideoAnalyzer.AccessPolicyEccAlgo.ES256,
                    Kid = "124",
                    Type = "#Microsoft.VideoAnalyzer.EccTokenKey",
                    X = "XX==",
                    Y = "YY==",
                },
            },
            Type = "#Microsoft.VideoAnalyzer.JwtAuthentication",
        },
        ResourceGroupName = "testrg",
    });

});
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := videoanalyzer.NewAccessPolicy(ctx, "accessPolicy", &videoanalyzer.AccessPolicyArgs{
			AccessPolicyName: pulumi.String("accessPolicyName1"),
			AccountName:      pulumi.String("testaccount2"),
			Authentication: &videoanalyzer.JwtAuthenticationArgs{
				Audiences: pulumi.StringArray{
					pulumi.String("audience1"),
				},
				Claims: videoanalyzer.TokenClaimArray{
					&videoanalyzer.TokenClaimArgs{
						Name:  pulumi.String("claimname1"),
						Value: pulumi.String("claimvalue1"),
					},
					&videoanalyzer.TokenClaimArgs{
						Name:  pulumi.String("claimname2"),
						Value: pulumi.String("claimvalue2"),
					},
				},
				Issuers: pulumi.StringArray{
					pulumi.String("issuer1"),
					pulumi.String("issuer2"),
				},
				Keys: pulumi.Array{
					videoanalyzer.RsaTokenKey{
						Alg:  videoanalyzer.AccessPolicyRsaAlgoRS256,
						E:    "ZLFzZTY0IQ==",
						Kid:  "123",
						N:    "YmFzZTY0IQ==",
						Type: "#Microsoft.VideoAnalyzer.RsaTokenKey",
					},
					videoanalyzer.EccTokenKey{
						Alg:  videoanalyzer.AccessPolicyEccAlgoES256,
						Kid:  "124",
						Type: "#Microsoft.VideoAnalyzer.EccTokenKey",
						X:    "XX==",
						Y:    "YY==",
					},
				},
				Type: pulumi.String("#Microsoft.VideoAnalyzer.JwtAuthentication"),
			},
			ResourceGroupName: pulumi.String("testrg"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.videoanalyzer.AccessPolicy;
import com.pulumi.azurenative.videoanalyzer.AccessPolicyArgs;
import com.pulumi.azurenative.videoanalyzer.inputs.JwtAuthenticationArgs;
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 accessPolicy = new AccessPolicy("accessPolicy", AccessPolicyArgs.builder()
            .accessPolicyName("accessPolicyName1")
            .accountName("testaccount2")
            .authentication(JwtAuthenticationArgs.builder()
                .audiences("audience1")
                .claims(                
                    TokenClaimArgs.builder()
                        .name("claimname1")
                        .value("claimvalue1")
                        .build(),
                    TokenClaimArgs.builder()
                        .name("claimname2")
                        .value("claimvalue2")
                        .build())
                .issuers(                
                    "issuer1",
                    "issuer2")
                .keys(                
                    EccTokenKeyArgs.builder()
                        .alg("RS256")
                        .e("ZLFzZTY0IQ==")
                        .kid("123")
                        .n("YmFzZTY0IQ==")
                        .type("#Microsoft.VideoAnalyzer.RsaTokenKey")
                        .build(),
                    EccTokenKeyArgs.builder()
                        .alg("ES256")
                        .kid("124")
                        .type("#Microsoft.VideoAnalyzer.EccTokenKey")
                        .x("XX==")
                        .y("YY==")
                        .build())
                .type("#Microsoft.VideoAnalyzer.JwtAuthentication")
                .build())
            .resourceGroupName("testrg")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const accessPolicy = new azure_native.videoanalyzer.AccessPolicy("accessPolicy", {
    accessPolicyName: "accessPolicyName1",
    accountName: "testaccount2",
    authentication: {
        audiences: ["audience1"],
        claims: [
            {
                name: "claimname1",
                value: "claimvalue1",
            },
            {
                name: "claimname2",
                value: "claimvalue2",
            },
        ],
        issuers: [
            "issuer1",
            "issuer2",
        ],
        keys: [
            {
                alg: azure_native.videoanalyzer.AccessPolicyRsaAlgo.RS256,
                e: "ZLFzZTY0IQ==",
                kid: "123",
                n: "YmFzZTY0IQ==",
                type: "#Microsoft.VideoAnalyzer.RsaTokenKey",
            },
            {
                alg: azure_native.videoanalyzer.AccessPolicyEccAlgo.ES256,
                kid: "124",
                type: "#Microsoft.VideoAnalyzer.EccTokenKey",
                x: "XX==",
                y: "YY==",
            },
        ],
        type: "#Microsoft.VideoAnalyzer.JwtAuthentication",
    },
    resourceGroupName: "testrg",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

access_policy = azure_native.videoanalyzer.AccessPolicy("accessPolicy",
    access_policy_name="accessPolicyName1",
    account_name="testaccount2",
    authentication={
        "audiences": ["audience1"],
        "claims": [
            {
                "name": "claimname1",
                "value": "claimvalue1",
            },
            {
                "name": "claimname2",
                "value": "claimvalue2",
            },
        ],
        "issuers": [
            "issuer1",
            "issuer2",
        ],
        "keys": [
            {
                "alg": azure_native.videoanalyzer.AccessPolicyRsaAlgo.RS256,
                "e": "ZLFzZTY0IQ==",
                "kid": "123",
                "n": "YmFzZTY0IQ==",
                "type": "#Microsoft.VideoAnalyzer.RsaTokenKey",
            },
            {
                "alg": azure_native.videoanalyzer.AccessPolicyEccAlgo.ES256,
                "kid": "124",
                "type": "#Microsoft.VideoAnalyzer.EccTokenKey",
                "x": "XX==",
                "y": "YY==",
            },
        ],
        "type": "#Microsoft.VideoAnalyzer.JwtAuthentication",
    },
    resource_group_name="testrg")
Copy
resources:
  accessPolicy:
    type: azure-native:videoanalyzer:AccessPolicy
    properties:
      accessPolicyName: accessPolicyName1
      accountName: testaccount2
      authentication:
        audiences:
          - audience1
        claims:
          - name: claimname1
            value: claimvalue1
          - name: claimname2
            value: claimvalue2
        issuers:
          - issuer1
          - issuer2
        keys:
          - alg: RS256
            e: ZLFzZTY0IQ==
            kid: '123'
            n: YmFzZTY0IQ==
            type: '#Microsoft.VideoAnalyzer.RsaTokenKey'
          - alg: ES256
            kid: '124'
            type: '#Microsoft.VideoAnalyzer.EccTokenKey'
            x: XX==
            y: YY==
        type: '#Microsoft.VideoAnalyzer.JwtAuthentication'
      resourceGroupName: testrg
Copy

Create AccessPolicy Resource

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

Constructor syntax

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

@overload
def AccessPolicy(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 account_name: Optional[str] = None,
                 resource_group_name: Optional[str] = None,
                 access_policy_name: Optional[str] = None,
                 authentication: Optional[JwtAuthenticationArgs] = None,
                 role: Optional[Union[str, AccessPolicyRole]] = None)
func NewAccessPolicy(ctx *Context, name string, args AccessPolicyArgs, opts ...ResourceOption) (*AccessPolicy, error)
public AccessPolicy(string name, AccessPolicyArgs args, CustomResourceOptions? opts = null)
public AccessPolicy(String name, AccessPolicyArgs args)
public AccessPolicy(String name, AccessPolicyArgs args, CustomResourceOptions options)
type: azure-native:videoanalyzer:AccessPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. AccessPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. AccessPolicyArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. AccessPolicyArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. AccessPolicyArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. AccessPolicyArgs
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 exampleaccessPolicyResourceResourceFromVideoanalyzer = new AzureNative.Videoanalyzer.AccessPolicy("exampleaccessPolicyResourceResourceFromVideoanalyzer", new()
{
    AccountName = "string",
    ResourceGroupName = "string",
    AccessPolicyName = "string",
    Authentication = 
    {
        { "type", "#Microsoft.VideoAnalyzer.JwtAuthentication" },
        { "audiences", new[]
        {
            "string",
        } },
        { "claims", new[]
        {
            
            {
                { "name", "string" },
                { "value", "string" },
            },
        } },
        { "issuers", new[]
        {
            "string",
        } },
        { "keys", new[]
        {
            
            {
                { "alg", "string" },
                { "kid", "string" },
                { "type", "#Microsoft.VideoAnalyzer.EccTokenKey" },
                { "x", "string" },
                { "y", "string" },
            },
        } },
    },
    Role = "string",
});
Copy
example, err := videoanalyzer.NewAccessPolicy(ctx, "exampleaccessPolicyResourceResourceFromVideoanalyzer", &videoanalyzer.AccessPolicyArgs{
	AccountName:       "string",
	ResourceGroupName: "string",
	AccessPolicyName:  "string",
	Authentication: map[string]interface{}{
		"type": "#Microsoft.VideoAnalyzer.JwtAuthentication",
		"audiences": []string{
			"string",
		},
		"claims": []map[string]interface{}{
			map[string]interface{}{
				"name":  "string",
				"value": "string",
			},
		},
		"issuers": []string{
			"string",
		},
		"keys": []map[string]interface{}{
			map[string]interface{}{
				"alg":  "string",
				"kid":  "string",
				"type": "#Microsoft.VideoAnalyzer.EccTokenKey",
				"x":    "string",
				"y":    "string",
			},
		},
	},
	Role: "string",
})
Copy
var exampleaccessPolicyResourceResourceFromVideoanalyzer = new com.pulumi.azurenative.videoanalyzer.AccessPolicy("exampleaccessPolicyResourceResourceFromVideoanalyzer", com.pulumi.azurenative.videoanalyzer.AccessPolicyArgs.builder()
    .accountName("string")
    .resourceGroupName("string")
    .accessPolicyName("string")
    .authentication(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .role("string")
    .build());
Copy
exampleaccess_policy_resource_resource_from_videoanalyzer = azure_native.videoanalyzer.AccessPolicy("exampleaccessPolicyResourceResourceFromVideoanalyzer",
    account_name=string,
    resource_group_name=string,
    access_policy_name=string,
    authentication={
        type: #Microsoft.VideoAnalyzer.JwtAuthentication,
        audiences: [string],
        claims: [{
            name: string,
            value: string,
        }],
        issuers: [string],
        keys: [{
            alg: string,
            kid: string,
            type: #Microsoft.VideoAnalyzer.EccTokenKey,
            x: string,
            y: string,
        }],
    },
    role=string)
Copy
const exampleaccessPolicyResourceResourceFromVideoanalyzer = new azure_native.videoanalyzer.AccessPolicy("exampleaccessPolicyResourceResourceFromVideoanalyzer", {
    accountName: "string",
    resourceGroupName: "string",
    accessPolicyName: "string",
    authentication: {
        type: "#Microsoft.VideoAnalyzer.JwtAuthentication",
        audiences: ["string"],
        claims: [{
            name: "string",
            value: "string",
        }],
        issuers: ["string"],
        keys: [{
            alg: "string",
            kid: "string",
            type: "#Microsoft.VideoAnalyzer.EccTokenKey",
            x: "string",
            y: "string",
        }],
    },
    role: "string",
});
Copy
type: azure-native:videoanalyzer:AccessPolicy
properties:
    accessPolicyName: string
    accountName: string
    authentication:
        audiences:
            - string
        claims:
            - name: string
              value: string
        issuers:
            - string
        keys:
            - alg: string
              kid: string
              type: '#Microsoft.VideoAnalyzer.EccTokenKey'
              x: string
              "y": string
        type: '#Microsoft.VideoAnalyzer.JwtAuthentication'
    resourceGroupName: string
    role: string
Copy

AccessPolicy 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 AccessPolicy resource accepts the following input properties:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The Azure Video Analyzer account name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
AccessPolicyName Changes to this property will trigger replacement. string
The Access Policy name.
Authentication Pulumi.AzureNative.VideoAnalyzer.Inputs.JwtAuthentication
Authentication method to be used when validating client API access.
Role string | Pulumi.AzureNative.VideoAnalyzer.AccessPolicyRole
Defines the access level granted by this policy.
AccountName
This property is required.
Changes to this property will trigger replacement.
string
The Azure Video Analyzer account name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
AccessPolicyName Changes to this property will trigger replacement. string
The Access Policy name.
Authentication JwtAuthenticationArgs
Authentication method to be used when validating client API access.
Role string | AccessPolicyRole
Defines the access level granted by this policy.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The Azure Video Analyzer account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
accessPolicyName Changes to this property will trigger replacement. String
The Access Policy name.
authentication JwtAuthentication
Authentication method to be used when validating client API access.
role String | AccessPolicyRole
Defines the access level granted by this policy.
accountName
This property is required.
Changes to this property will trigger replacement.
string
The Azure Video Analyzer account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
accessPolicyName Changes to this property will trigger replacement. string
The Access Policy name.
authentication JwtAuthentication
Authentication method to be used when validating client API access.
role string | AccessPolicyRole
Defines the access level granted by this policy.
account_name
This property is required.
Changes to this property will trigger replacement.
str
The Azure Video Analyzer account name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
access_policy_name Changes to this property will trigger replacement. str
The Access Policy name.
authentication JwtAuthenticationArgs
Authentication method to be used when validating client API access.
role str | AccessPolicyRole
Defines the access level granted by this policy.
accountName
This property is required.
Changes to this property will trigger replacement.
String
The Azure Video Analyzer account name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
accessPolicyName Changes to this property will trigger replacement. String
The Access Policy name.
authentication Property Map
Authentication method to be used when validating client API access.
role String | "Reader"
Defines the access level granted by this policy.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData Pulumi.AzureNative.VideoAnalyzer.Outputs.SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Id string
The provider-assigned unique ID for this managed resource.
Name string
The name of the resource
SystemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id string
The provider-assigned unique ID for this managed resource.
name string
The name of the resource
systemData SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id str
The provider-assigned unique ID for this managed resource.
name str
The name of the resource
system_data SystemDataResponse
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
id String
The provider-assigned unique ID for this managed resource.
name String
The name of the resource
systemData Property Map
Azure Resource Manager metadata containing createdBy and modifiedBy information.
type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Supporting Types

AccessPolicyEccAlgo
, AccessPolicyEccAlgoArgs

ES256
ES256ES265
ES384
ES384ES384
ES512
ES512ES512
AccessPolicyEccAlgoES256
ES256ES265
AccessPolicyEccAlgoES384
ES384ES384
AccessPolicyEccAlgoES512
ES512ES512
ES256
ES256ES265
ES384
ES384ES384
ES512
ES512ES512
ES256
ES256ES265
ES384
ES384ES384
ES512
ES512ES512
ES256
ES256ES265
ES384
ES384ES384
ES512
ES512ES512
"ES256"
ES256ES265
"ES384"
ES384ES384
"ES512"
ES512ES512

AccessPolicyRole
, AccessPolicyRoleArgs

Reader
ReaderReader role allows for read-only operations to be performed through the client APIs.
AccessPolicyRoleReader
ReaderReader role allows for read-only operations to be performed through the client APIs.
Reader
ReaderReader role allows for read-only operations to be performed through the client APIs.
Reader
ReaderReader role allows for read-only operations to be performed through the client APIs.
READER
ReaderReader role allows for read-only operations to be performed through the client APIs.
"Reader"
ReaderReader role allows for read-only operations to be performed through the client APIs.

AccessPolicyRsaAlgo
, AccessPolicyRsaAlgoArgs

RS256
RS256RS256
RS384
RS384RS384
RS512
RS512RS512
AccessPolicyRsaAlgoRS256
RS256RS256
AccessPolicyRsaAlgoRS384
RS384RS384
AccessPolicyRsaAlgoRS512
RS512RS512
RS256
RS256RS256
RS384
RS384RS384
RS512
RS512RS512
RS256
RS256RS256
RS384
RS384RS384
RS512
RS512RS512
RS256
RS256RS256
RS384
RS384RS384
RS512
RS512RS512
"RS256"
RS256RS256
"RS384"
RS384RS384
"RS512"
RS512RS512

EccTokenKey
, EccTokenKeyArgs

Alg This property is required. string | Pulumi.AzureNative.VideoAnalyzer.AccessPolicyEccAlgo
Elliptical curve algorithm to be used: ES256, ES384 or ES512.
Kid This property is required. string
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
X This property is required. string
X coordinate.
Y This property is required. string
Y coordinate.
Alg This property is required. string | AccessPolicyEccAlgo
Elliptical curve algorithm to be used: ES256, ES384 or ES512.
Kid This property is required. string
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
X This property is required. string
X coordinate.
Y This property is required. string
Y coordinate.
alg This property is required. String | AccessPolicyEccAlgo
Elliptical curve algorithm to be used: ES256, ES384 or ES512.
kid This property is required. String
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
x This property is required. String
X coordinate.
y This property is required. String
Y coordinate.
alg This property is required. string | AccessPolicyEccAlgo
Elliptical curve algorithm to be used: ES256, ES384 or ES512.
kid This property is required. string
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
x This property is required. string
X coordinate.
y This property is required. string
Y coordinate.
alg This property is required. str | AccessPolicyEccAlgo
Elliptical curve algorithm to be used: ES256, ES384 or ES512.
kid This property is required. str
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
x This property is required. str
X coordinate.
y This property is required. str
Y coordinate.
alg This property is required. String | "ES256" | "ES384" | "ES512"
Elliptical curve algorithm to be used: ES256, ES384 or ES512.
kid This property is required. String
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
x This property is required. String
X coordinate.
y This property is required. String
Y coordinate.

EccTokenKeyResponse
, EccTokenKeyResponseArgs

Alg This property is required. string
Elliptical curve algorithm to be used: ES256, ES384 or ES512.
Kid This property is required. string
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
X This property is required. string
X coordinate.
Y This property is required. string
Y coordinate.
Alg This property is required. string
Elliptical curve algorithm to be used: ES256, ES384 or ES512.
Kid This property is required. string
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
X This property is required. string
X coordinate.
Y This property is required. string
Y coordinate.
alg This property is required. String
Elliptical curve algorithm to be used: ES256, ES384 or ES512.
kid This property is required. String
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
x This property is required. String
X coordinate.
y This property is required. String
Y coordinate.
alg This property is required. string
Elliptical curve algorithm to be used: ES256, ES384 or ES512.
kid This property is required. string
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
x This property is required. string
X coordinate.
y This property is required. string
Y coordinate.
alg This property is required. str
Elliptical curve algorithm to be used: ES256, ES384 or ES512.
kid This property is required. str
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
x This property is required. str
X coordinate.
y This property is required. str
Y coordinate.
alg This property is required. String
Elliptical curve algorithm to be used: ES256, ES384 or ES512.
kid This property is required. String
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
x This property is required. String
X coordinate.
y This property is required. String
Y coordinate.

JwtAuthentication
, JwtAuthenticationArgs

Audiences List<string>
List of expected token audiences. Token audience is valid if it matches at least one of the given values.
Claims List<Pulumi.AzureNative.VideoAnalyzer.Inputs.TokenClaim>
List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
Issuers List<string>
List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
Keys List<Union<Pulumi.AzureNative.VideoAnalyzer.Inputs.EccTokenKey, Pulumi.AzureNative.VideoAnalyzer.Inputs.RsaTokenKey>>
List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
Audiences []string
List of expected token audiences. Token audience is valid if it matches at least one of the given values.
Claims []TokenClaim
List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
Issuers []string
List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
Keys []interface{}
List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
audiences List<String>
List of expected token audiences. Token audience is valid if it matches at least one of the given values.
claims List<TokenClaim>
List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
issuers List<String>
List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
keys List<Either<EccTokenKey,RsaTokenKey>>
List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
audiences string[]
List of expected token audiences. Token audience is valid if it matches at least one of the given values.
claims TokenClaim[]
List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
issuers string[]
List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
keys (EccTokenKey | RsaTokenKey)[]
List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
audiences Sequence[str]
List of expected token audiences. Token audience is valid if it matches at least one of the given values.
claims Sequence[TokenClaim]
List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
issuers Sequence[str]
List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
keys Sequence[Union[EccTokenKey, RsaTokenKey]]
List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
audiences List<String>
List of expected token audiences. Token audience is valid if it matches at least one of the given values.
claims List<Property Map>
List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
issuers List<String>
List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
keys List<Property Map | Property Map>
List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.

JwtAuthenticationResponse
, JwtAuthenticationResponseArgs

Audiences List<string>
List of expected token audiences. Token audience is valid if it matches at least one of the given values.
Claims List<Pulumi.AzureNative.VideoAnalyzer.Inputs.TokenClaimResponse>
List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
Issuers List<string>
List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
Keys List<Union<Pulumi.AzureNative.VideoAnalyzer.Inputs.EccTokenKeyResponse, Pulumi.AzureNative.VideoAnalyzer.Inputs.RsaTokenKeyResponse>>
List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
Audiences []string
List of expected token audiences. Token audience is valid if it matches at least one of the given values.
Claims []TokenClaimResponse
List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
Issuers []string
List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
Keys []interface{}
List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
audiences List<String>
List of expected token audiences. Token audience is valid if it matches at least one of the given values.
claims List<TokenClaimResponse>
List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
issuers List<String>
List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
keys List<Either<EccTokenKeyResponse,RsaTokenKeyResponse>>
List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
audiences string[]
List of expected token audiences. Token audience is valid if it matches at least one of the given values.
claims TokenClaimResponse[]
List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
issuers string[]
List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
keys (EccTokenKeyResponse | RsaTokenKeyResponse)[]
List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
audiences Sequence[str]
List of expected token audiences. Token audience is valid if it matches at least one of the given values.
claims Sequence[TokenClaimResponse]
List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
issuers Sequence[str]
List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
keys Sequence[Union[EccTokenKeyResponse, RsaTokenKeyResponse]]
List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.
audiences List<String>
List of expected token audiences. Token audience is valid if it matches at least one of the given values.
claims List<Property Map>
List of additional token claims to be validated. Token must contains all claims and respective values for it to be valid.
issuers List<String>
List of expected token issuers. Token issuer is valid if it matches at least one of the given values.
keys List<Property Map | Property Map>
List of keys which can be used to validate access tokens. Having multiple keys allow for seamless key rotation of the token signing key. Token signature must match exactly one key.

RsaTokenKey
, RsaTokenKeyArgs

Alg This property is required. string | Pulumi.AzureNative.VideoAnalyzer.AccessPolicyRsaAlgo
RSA algorithm to be used: RS256, RS384 or RS512.
E This property is required. string
RSA public key exponent.
Kid This property is required. string
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
N This property is required. string
RSA public key modulus.
Alg This property is required. string | AccessPolicyRsaAlgo
RSA algorithm to be used: RS256, RS384 or RS512.
E This property is required. string
RSA public key exponent.
Kid This property is required. string
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
N This property is required. string
RSA public key modulus.
alg This property is required. String | AccessPolicyRsaAlgo
RSA algorithm to be used: RS256, RS384 or RS512.
e This property is required. String
RSA public key exponent.
kid This property is required. String
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
n This property is required. String
RSA public key modulus.
alg This property is required. string | AccessPolicyRsaAlgo
RSA algorithm to be used: RS256, RS384 or RS512.
e This property is required. string
RSA public key exponent.
kid This property is required. string
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
n This property is required. string
RSA public key modulus.
alg This property is required. str | AccessPolicyRsaAlgo
RSA algorithm to be used: RS256, RS384 or RS512.
e This property is required. str
RSA public key exponent.
kid This property is required. str
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
n This property is required. str
RSA public key modulus.
alg This property is required. String | "RS256" | "RS384" | "RS512"
RSA algorithm to be used: RS256, RS384 or RS512.
e This property is required. String
RSA public key exponent.
kid This property is required. String
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
n This property is required. String
RSA public key modulus.

RsaTokenKeyResponse
, RsaTokenKeyResponseArgs

Alg This property is required. string
RSA algorithm to be used: RS256, RS384 or RS512.
E This property is required. string
RSA public key exponent.
Kid This property is required. string
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
N This property is required. string
RSA public key modulus.
Alg This property is required. string
RSA algorithm to be used: RS256, RS384 or RS512.
E This property is required. string
RSA public key exponent.
Kid This property is required. string
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
N This property is required. string
RSA public key modulus.
alg This property is required. String
RSA algorithm to be used: RS256, RS384 or RS512.
e This property is required. String
RSA public key exponent.
kid This property is required. String
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
n This property is required. String
RSA public key modulus.
alg This property is required. string
RSA algorithm to be used: RS256, RS384 or RS512.
e This property is required. string
RSA public key exponent.
kid This property is required. string
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
n This property is required. string
RSA public key modulus.
alg This property is required. str
RSA algorithm to be used: RS256, RS384 or RS512.
e This property is required. str
RSA public key exponent.
kid This property is required. str
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
n This property is required. str
RSA public key modulus.
alg This property is required. String
RSA algorithm to be used: RS256, RS384 or RS512.
e This property is required. String
RSA public key exponent.
kid This property is required. String
JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
n This property is required. String
RSA public key modulus.

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.

TokenClaim
, TokenClaimArgs

Name This property is required. string
Name of the claim which must be present on the token.
Value This property is required. string
Expected value of the claim to be present on the token.
Name This property is required. string
Name of the claim which must be present on the token.
Value This property is required. string
Expected value of the claim to be present on the token.
name This property is required. String
Name of the claim which must be present on the token.
value This property is required. String
Expected value of the claim to be present on the token.
name This property is required. string
Name of the claim which must be present on the token.
value This property is required. string
Expected value of the claim to be present on the token.
name This property is required. str
Name of the claim which must be present on the token.
value This property is required. str
Expected value of the claim to be present on the token.
name This property is required. String
Name of the claim which must be present on the token.
value This property is required. String
Expected value of the claim to be present on the token.

TokenClaimResponse
, TokenClaimResponseArgs

Name This property is required. string
Name of the claim which must be present on the token.
Value This property is required. string
Expected value of the claim to be present on the token.
Name This property is required. string
Name of the claim which must be present on the token.
Value This property is required. string
Expected value of the claim to be present on the token.
name This property is required. String
Name of the claim which must be present on the token.
value This property is required. String
Expected value of the claim to be present on the token.
name This property is required. string
Name of the claim which must be present on the token.
value This property is required. string
Expected value of the claim to be present on the token.
name This property is required. str
Name of the claim which must be present on the token.
value This property is required. str
Expected value of the claim to be present on the token.
name This property is required. String
Name of the claim which must be present on the token.
value This property is required. String
Expected value of the claim to be present on the token.

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:videoanalyzer:AccessPolicy accessPolicyName1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/videoAnalyzers/{accountName}/accessPolicies/{accessPolicyName} 
Copy

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

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi