1. Packages
  2. Azure Classic
  3. API Docs
  4. videoanalyzer
  5. Analyzer

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

azure.videoanalyzer.Analyzer

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

    Manages a Video Analyzer.

    !> Video Analyzer (Preview) is now Deprecated and will be Retired on 2022-11-30 - as such the azure.videoanalyzer.Analyzer resource is deprecated and will be removed in v4.0 of the AzureRM Provider.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "video-analyzer-resources",
        location: "West Europe",
    });
    const exampleAccount = new azure.storage.Account("example", {
        name: "examplestoracc",
        resourceGroupName: example.name,
        location: example.location,
        accountTier: "Standard",
        accountReplicationType: "GRS",
    });
    const exampleUserAssignedIdentity = new azure.authorization.UserAssignedIdentity("example", {
        name: "exampleidentity",
        resourceGroupName: example.name,
        location: example.location,
    });
    const contributor = new azure.authorization.Assignment("contributor", {
        scope: exampleAccount.id,
        roleDefinitionName: "Storage Blob Data Contributor",
        principalId: exampleUserAssignedIdentity.principalId,
    });
    const reader = new azure.authorization.Assignment("reader", {
        scope: exampleAccount.id,
        roleDefinitionName: "Reader",
        principalId: exampleUserAssignedIdentity.principalId,
    });
    const exampleAnalyzer = new azure.videoanalyzer.Analyzer("example", {
        name: "exampleanalyzer",
        location: example.location,
        resourceGroupName: example.name,
        storageAccount: {
            id: exampleAccount.id,
            userAssignedIdentityId: exampleUserAssignedIdentity.id,
        },
        identity: {
            type: "UserAssigned",
            identityIds: [exampleUserAssignedIdentity.id],
        },
        tags: {
            environment: "staging",
        },
    }, {
        dependsOn: [
            contributor,
            reader,
        ],
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="video-analyzer-resources",
        location="West Europe")
    example_account = azure.storage.Account("example",
        name="examplestoracc",
        resource_group_name=example.name,
        location=example.location,
        account_tier="Standard",
        account_replication_type="GRS")
    example_user_assigned_identity = azure.authorization.UserAssignedIdentity("example",
        name="exampleidentity",
        resource_group_name=example.name,
        location=example.location)
    contributor = azure.authorization.Assignment("contributor",
        scope=example_account.id,
        role_definition_name="Storage Blob Data Contributor",
        principal_id=example_user_assigned_identity.principal_id)
    reader = azure.authorization.Assignment("reader",
        scope=example_account.id,
        role_definition_name="Reader",
        principal_id=example_user_assigned_identity.principal_id)
    example_analyzer = azure.videoanalyzer.Analyzer("example",
        name="exampleanalyzer",
        location=example.location,
        resource_group_name=example.name,
        storage_account=azure.videoanalyzer.AnalyzerStorageAccountArgs(
            id=example_account.id,
            user_assigned_identity_id=example_user_assigned_identity.id,
        ),
        identity=azure.videoanalyzer.AnalyzerIdentityArgs(
            type="UserAssigned",
            identity_ids=[example_user_assigned_identity.id],
        ),
        tags={
            "environment": "staging",
        },
        opts=pulumi.ResourceOptions(depends_on=[
                contributor,
                reader,
            ]))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/authorization"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
    	"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/videoanalyzer"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("video-analyzer-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
    			Name:                   pulumi.String("examplestoracc"),
    			ResourceGroupName:      example.Name,
    			Location:               example.Location,
    			AccountTier:            pulumi.String("Standard"),
    			AccountReplicationType: pulumi.String("GRS"),
    		})
    		if err != nil {
    			return err
    		}
    		exampleUserAssignedIdentity, err := authorization.NewUserAssignedIdentity(ctx, "example", &authorization.UserAssignedIdentityArgs{
    			Name:              pulumi.String("exampleidentity"),
    			ResourceGroupName: example.Name,
    			Location:          example.Location,
    		})
    		if err != nil {
    			return err
    		}
    		contributor, err := authorization.NewAssignment(ctx, "contributor", &authorization.AssignmentArgs{
    			Scope:              exampleAccount.ID(),
    			RoleDefinitionName: pulumi.String("Storage Blob Data Contributor"),
    			PrincipalId:        exampleUserAssignedIdentity.PrincipalId,
    		})
    		if err != nil {
    			return err
    		}
    		reader, err := authorization.NewAssignment(ctx, "reader", &authorization.AssignmentArgs{
    			Scope:              exampleAccount.ID(),
    			RoleDefinitionName: pulumi.String("Reader"),
    			PrincipalId:        exampleUserAssignedIdentity.PrincipalId,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = videoanalyzer.NewAnalyzer(ctx, "example", &videoanalyzer.AnalyzerArgs{
    			Name:              pulumi.String("exampleanalyzer"),
    			Location:          example.Location,
    			ResourceGroupName: example.Name,
    			StorageAccount: &videoanalyzer.AnalyzerStorageAccountArgs{
    				Id:                     exampleAccount.ID(),
    				UserAssignedIdentityId: exampleUserAssignedIdentity.ID(),
    			},
    			Identity: &videoanalyzer.AnalyzerIdentityArgs{
    				Type: pulumi.String("UserAssigned"),
    				IdentityIds: pulumi.StringArray{
    					exampleUserAssignedIdentity.ID(),
    				},
    			},
    			Tags: pulumi.StringMap{
    				"environment": pulumi.String("staging"),
    			},
    		}, pulumi.DependsOn([]pulumi.Resource{
    			contributor,
    			reader,
    		}))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "video-analyzer-resources",
            Location = "West Europe",
        });
    
        var exampleAccount = new Azure.Storage.Account("example", new()
        {
            Name = "examplestoracc",
            ResourceGroupName = example.Name,
            Location = example.Location,
            AccountTier = "Standard",
            AccountReplicationType = "GRS",
        });
    
        var exampleUserAssignedIdentity = new Azure.Authorization.UserAssignedIdentity("example", new()
        {
            Name = "exampleidentity",
            ResourceGroupName = example.Name,
            Location = example.Location,
        });
    
        var contributor = new Azure.Authorization.Assignment("contributor", new()
        {
            Scope = exampleAccount.Id,
            RoleDefinitionName = "Storage Blob Data Contributor",
            PrincipalId = exampleUserAssignedIdentity.PrincipalId,
        });
    
        var reader = new Azure.Authorization.Assignment("reader", new()
        {
            Scope = exampleAccount.Id,
            RoleDefinitionName = "Reader",
            PrincipalId = exampleUserAssignedIdentity.PrincipalId,
        });
    
        var exampleAnalyzer = new Azure.VideoAnalyzer.Analyzer("example", new()
        {
            Name = "exampleanalyzer",
            Location = example.Location,
            ResourceGroupName = example.Name,
            StorageAccount = new Azure.VideoAnalyzer.Inputs.AnalyzerStorageAccountArgs
            {
                Id = exampleAccount.Id,
                UserAssignedIdentityId = exampleUserAssignedIdentity.Id,
            },
            Identity = new Azure.VideoAnalyzer.Inputs.AnalyzerIdentityArgs
            {
                Type = "UserAssigned",
                IdentityIds = new[]
                {
                    exampleUserAssignedIdentity.Id,
                },
            },
            Tags = 
            {
                { "environment", "staging" },
            },
        }, new CustomResourceOptions
        {
            DependsOn =
            {
                contributor,
                reader,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.storage.Account;
    import com.pulumi.azure.storage.AccountArgs;
    import com.pulumi.azure.authorization.UserAssignedIdentity;
    import com.pulumi.azure.authorization.UserAssignedIdentityArgs;
    import com.pulumi.azure.authorization.Assignment;
    import com.pulumi.azure.authorization.AssignmentArgs;
    import com.pulumi.azure.videoanalyzer.Analyzer;
    import com.pulumi.azure.videoanalyzer.AnalyzerArgs;
    import com.pulumi.azure.videoanalyzer.inputs.AnalyzerStorageAccountArgs;
    import com.pulumi.azure.videoanalyzer.inputs.AnalyzerIdentityArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("video-analyzer-resources")
                .location("West Europe")
                .build());
    
            var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
                .name("examplestoracc")
                .resourceGroupName(example.name())
                .location(example.location())
                .accountTier("Standard")
                .accountReplicationType("GRS")
                .build());
    
            var exampleUserAssignedIdentity = new UserAssignedIdentity("exampleUserAssignedIdentity", UserAssignedIdentityArgs.builder()
                .name("exampleidentity")
                .resourceGroupName(example.name())
                .location(example.location())
                .build());
    
            var contributor = new Assignment("contributor", AssignmentArgs.builder()
                .scope(exampleAccount.id())
                .roleDefinitionName("Storage Blob Data Contributor")
                .principalId(exampleUserAssignedIdentity.principalId())
                .build());
    
            var reader = new Assignment("reader", AssignmentArgs.builder()
                .scope(exampleAccount.id())
                .roleDefinitionName("Reader")
                .principalId(exampleUserAssignedIdentity.principalId())
                .build());
    
            var exampleAnalyzer = new Analyzer("exampleAnalyzer", AnalyzerArgs.builder()
                .name("exampleanalyzer")
                .location(example.location())
                .resourceGroupName(example.name())
                .storageAccount(AnalyzerStorageAccountArgs.builder()
                    .id(exampleAccount.id())
                    .userAssignedIdentityId(exampleUserAssignedIdentity.id())
                    .build())
                .identity(AnalyzerIdentityArgs.builder()
                    .type("UserAssigned")
                    .identityIds(exampleUserAssignedIdentity.id())
                    .build())
                .tags(Map.of("environment", "staging"))
                .build(), CustomResourceOptions.builder()
                    .dependsOn(                
                        contributor,
                        reader)
                    .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: video-analyzer-resources
          location: West Europe
      exampleAccount:
        type: azure:storage:Account
        name: example
        properties:
          name: examplestoracc
          resourceGroupName: ${example.name}
          location: ${example.location}
          accountTier: Standard
          accountReplicationType: GRS
      exampleUserAssignedIdentity:
        type: azure:authorization:UserAssignedIdentity
        name: example
        properties:
          name: exampleidentity
          resourceGroupName: ${example.name}
          location: ${example.location}
      contributor:
        type: azure:authorization:Assignment
        properties:
          scope: ${exampleAccount.id}
          roleDefinitionName: Storage Blob Data Contributor
          principalId: ${exampleUserAssignedIdentity.principalId}
      reader:
        type: azure:authorization:Assignment
        properties:
          scope: ${exampleAccount.id}
          roleDefinitionName: Reader
          principalId: ${exampleUserAssignedIdentity.principalId}
      exampleAnalyzer:
        type: azure:videoanalyzer:Analyzer
        name: example
        properties:
          name: exampleanalyzer
          location: ${example.location}
          resourceGroupName: ${example.name}
          storageAccount:
            id: ${exampleAccount.id}
            userAssignedIdentityId: ${exampleUserAssignedIdentity.id}
          identity:
            type: UserAssigned
            identityIds:
              - ${exampleUserAssignedIdentity.id}
          tags:
            environment: staging
        options:
          dependson:
            - ${contributor}
            - ${reader}
    

    Create Analyzer Resource

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

    Constructor syntax

    new Analyzer(name: string, args: AnalyzerArgs, opts?: CustomResourceOptions);
    @overload
    def Analyzer(resource_name: str,
                 args: AnalyzerArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Analyzer(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 identity: Optional[AnalyzerIdentityArgs] = None,
                 resource_group_name: Optional[str] = None,
                 storage_account: Optional[AnalyzerStorageAccountArgs] = None,
                 location: Optional[str] = None,
                 name: Optional[str] = None,
                 tags: Optional[Mapping[str, str]] = None)
    func NewAnalyzer(ctx *Context, name string, args AnalyzerArgs, opts ...ResourceOption) (*Analyzer, error)
    public Analyzer(string name, AnalyzerArgs args, CustomResourceOptions? opts = null)
    public Analyzer(String name, AnalyzerArgs args)
    public Analyzer(String name, AnalyzerArgs args, CustomResourceOptions options)
    
    type: azure:videoanalyzer:Analyzer
    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 AnalyzerArgs
    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 AnalyzerArgs
    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 AnalyzerArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AnalyzerArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AnalyzerArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var analyzerResource = new Azure.VideoAnalyzer.Analyzer("analyzerResource", new()
    {
        Identity = new Azure.VideoAnalyzer.Inputs.AnalyzerIdentityArgs
        {
            IdentityIds = new[]
            {
                "string",
            },
            Type = "string",
        },
        ResourceGroupName = "string",
        StorageAccount = new Azure.VideoAnalyzer.Inputs.AnalyzerStorageAccountArgs
        {
            Id = "string",
            UserAssignedIdentityId = "string",
        },
        Location = "string",
        Name = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := videoanalyzer.NewAnalyzer(ctx, "analyzerResource", &videoanalyzer.AnalyzerArgs{
    	Identity: &videoanalyzer.AnalyzerIdentityArgs{
    		IdentityIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Type: pulumi.String("string"),
    	},
    	ResourceGroupName: pulumi.String("string"),
    	StorageAccount: &videoanalyzer.AnalyzerStorageAccountArgs{
    		Id:                     pulumi.String("string"),
    		UserAssignedIdentityId: pulumi.String("string"),
    	},
    	Location: pulumi.String("string"),
    	Name:     pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var analyzerResource = new Analyzer("analyzerResource", AnalyzerArgs.builder()
        .identity(AnalyzerIdentityArgs.builder()
            .identityIds("string")
            .type("string")
            .build())
        .resourceGroupName("string")
        .storageAccount(AnalyzerStorageAccountArgs.builder()
            .id("string")
            .userAssignedIdentityId("string")
            .build())
        .location("string")
        .name("string")
        .tags(Map.of("string", "string"))
        .build());
    
    analyzer_resource = azure.videoanalyzer.Analyzer("analyzerResource",
        identity=azure.videoanalyzer.AnalyzerIdentityArgs(
            identity_ids=["string"],
            type="string",
        ),
        resource_group_name="string",
        storage_account=azure.videoanalyzer.AnalyzerStorageAccountArgs(
            id="string",
            user_assigned_identity_id="string",
        ),
        location="string",
        name="string",
        tags={
            "string": "string",
        })
    
    const analyzerResource = new azure.videoanalyzer.Analyzer("analyzerResource", {
        identity: {
            identityIds: ["string"],
            type: "string",
        },
        resourceGroupName: "string",
        storageAccount: {
            id: "string",
            userAssignedIdentityId: "string",
        },
        location: "string",
        name: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure:videoanalyzer:Analyzer
    properties:
        identity:
            identityIds:
                - string
            type: string
        location: string
        name: string
        resourceGroupName: string
        storageAccount:
            id: string
            userAssignedIdentityId: string
        tags:
            string: string
    

    Analyzer Resource Properties

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

    Inputs

    The Analyzer resource accepts the following input properties:

    Identity AnalyzerIdentity
    An identity block as defined below.
    ResourceGroupName string
    The name of the resource group in which to create the Video Analyzer. Changing this forces a new resource to be created.
    StorageAccount AnalyzerStorageAccount
    A storage_account block as defined below.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Video Analyzer. Changing this forces a new resource to be created.
    Tags Dictionary<string, string>
    A mapping of tags assigned to the resource.
    Identity AnalyzerIdentityArgs
    An identity block as defined below.
    ResourceGroupName string
    The name of the resource group in which to create the Video Analyzer. Changing this forces a new resource to be created.
    StorageAccount AnalyzerStorageAccountArgs
    A storage_account block as defined below.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Video Analyzer. Changing this forces a new resource to be created.
    Tags map[string]string
    A mapping of tags assigned to the resource.
    identity AnalyzerIdentity
    An identity block as defined below.
    resourceGroupName String
    The name of the resource group in which to create the Video Analyzer. Changing this forces a new resource to be created.
    storageAccount AnalyzerStorageAccount
    A storage_account block as defined below.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Video Analyzer. Changing this forces a new resource to be created.
    tags Map<String,String>
    A mapping of tags assigned to the resource.
    identity AnalyzerIdentity
    An identity block as defined below.
    resourceGroupName string
    The name of the resource group in which to create the Video Analyzer. Changing this forces a new resource to be created.
    storageAccount AnalyzerStorageAccount
    A storage_account block as defined below.
    location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name string
    Specifies the name of the Video Analyzer. Changing this forces a new resource to be created.
    tags {[key: string]: string}
    A mapping of tags assigned to the resource.
    identity AnalyzerIdentityArgs
    An identity block as defined below.
    resource_group_name str
    The name of the resource group in which to create the Video Analyzer. Changing this forces a new resource to be created.
    storage_account AnalyzerStorageAccountArgs
    A storage_account block as defined below.
    location str
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name str
    Specifies the name of the Video Analyzer. Changing this forces a new resource to be created.
    tags Mapping[str, str]
    A mapping of tags assigned to the resource.
    identity Property Map
    An identity block as defined below.
    resourceGroupName String
    The name of the resource group in which to create the Video Analyzer. Changing this forces a new resource to be created.
    storageAccount Property Map
    A storage_account block as defined below.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Video Analyzer. Changing this forces a new resource to be created.
    tags Map<String>
    A mapping of tags assigned to the resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Analyzer Resource

    Get an existing Analyzer resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AnalyzerState, opts?: CustomResourceOptions): Analyzer
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            identity: Optional[AnalyzerIdentityArgs] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            storage_account: Optional[AnalyzerStorageAccountArgs] = None,
            tags: Optional[Mapping[str, str]] = None) -> Analyzer
    func GetAnalyzer(ctx *Context, name string, id IDInput, state *AnalyzerState, opts ...ResourceOption) (*Analyzer, error)
    public static Analyzer Get(string name, Input<string> id, AnalyzerState? state, CustomResourceOptions? opts = null)
    public static Analyzer get(String name, Output<String> id, AnalyzerState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Identity AnalyzerIdentity
    An identity block as defined below.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Video Analyzer. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the resource group in which to create the Video Analyzer. Changing this forces a new resource to be created.
    StorageAccount AnalyzerStorageAccount
    A storage_account block as defined below.
    Tags Dictionary<string, string>
    A mapping of tags assigned to the resource.
    Identity AnalyzerIdentityArgs
    An identity block as defined below.
    Location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    Name string
    Specifies the name of the Video Analyzer. Changing this forces a new resource to be created.
    ResourceGroupName string
    The name of the resource group in which to create the Video Analyzer. Changing this forces a new resource to be created.
    StorageAccount AnalyzerStorageAccountArgs
    A storage_account block as defined below.
    Tags map[string]string
    A mapping of tags assigned to the resource.
    identity AnalyzerIdentity
    An identity block as defined below.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Video Analyzer. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the resource group in which to create the Video Analyzer. Changing this forces a new resource to be created.
    storageAccount AnalyzerStorageAccount
    A storage_account block as defined below.
    tags Map<String,String>
    A mapping of tags assigned to the resource.
    identity AnalyzerIdentity
    An identity block as defined below.
    location string
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name string
    Specifies the name of the Video Analyzer. Changing this forces a new resource to be created.
    resourceGroupName string
    The name of the resource group in which to create the Video Analyzer. Changing this forces a new resource to be created.
    storageAccount AnalyzerStorageAccount
    A storage_account block as defined below.
    tags {[key: string]: string}
    A mapping of tags assigned to the resource.
    identity AnalyzerIdentityArgs
    An identity block as defined below.
    location str
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name str
    Specifies the name of the Video Analyzer. Changing this forces a new resource to be created.
    resource_group_name str
    The name of the resource group in which to create the Video Analyzer. Changing this forces a new resource to be created.
    storage_account AnalyzerStorageAccountArgs
    A storage_account block as defined below.
    tags Mapping[str, str]
    A mapping of tags assigned to the resource.
    identity Property Map
    An identity block as defined below.
    location String
    Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
    name String
    Specifies the name of the Video Analyzer. Changing this forces a new resource to be created.
    resourceGroupName String
    The name of the resource group in which to create the Video Analyzer. Changing this forces a new resource to be created.
    storageAccount Property Map
    A storage_account block as defined below.
    tags Map<String>
    A mapping of tags assigned to the resource.

    Supporting Types

    AnalyzerIdentity, AnalyzerIdentityArgs

    IdentityIds List<string>
    Specifies a list of User Assigned Managed Identity IDs to be assigned to this Video Analyzer instance.
    Type string
    Specifies the type of Managed Service Identity that should be configured on this Video Analyzer instance. Only possible value is UserAssigned.
    IdentityIds []string
    Specifies a list of User Assigned Managed Identity IDs to be assigned to this Video Analyzer instance.
    Type string
    Specifies the type of Managed Service Identity that should be configured on this Video Analyzer instance. Only possible value is UserAssigned.
    identityIds List<String>
    Specifies a list of User Assigned Managed Identity IDs to be assigned to this Video Analyzer instance.
    type String
    Specifies the type of Managed Service Identity that should be configured on this Video Analyzer instance. Only possible value is UserAssigned.
    identityIds string[]
    Specifies a list of User Assigned Managed Identity IDs to be assigned to this Video Analyzer instance.
    type string
    Specifies the type of Managed Service Identity that should be configured on this Video Analyzer instance. Only possible value is UserAssigned.
    identity_ids Sequence[str]
    Specifies a list of User Assigned Managed Identity IDs to be assigned to this Video Analyzer instance.
    type str
    Specifies the type of Managed Service Identity that should be configured on this Video Analyzer instance. Only possible value is UserAssigned.
    identityIds List<String>
    Specifies a list of User Assigned Managed Identity IDs to be assigned to this Video Analyzer instance.
    type String
    Specifies the type of Managed Service Identity that should be configured on this Video Analyzer instance. Only possible value is UserAssigned.

    AnalyzerStorageAccount, AnalyzerStorageAccountArgs

    Id string
    Specifies the ID of the Storage Account that will be associated with the Video Analyzer instance.
    UserAssignedIdentityId string
    Specifies the User Assigned Identity ID which should be assigned to access this Storage Account.
    Id string
    Specifies the ID of the Storage Account that will be associated with the Video Analyzer instance.
    UserAssignedIdentityId string
    Specifies the User Assigned Identity ID which should be assigned to access this Storage Account.
    id String
    Specifies the ID of the Storage Account that will be associated with the Video Analyzer instance.
    userAssignedIdentityId String
    Specifies the User Assigned Identity ID which should be assigned to access this Storage Account.
    id string
    Specifies the ID of the Storage Account that will be associated with the Video Analyzer instance.
    userAssignedIdentityId string
    Specifies the User Assigned Identity ID which should be assigned to access this Storage Account.
    id str
    Specifies the ID of the Storage Account that will be associated with the Video Analyzer instance.
    user_assigned_identity_id str
    Specifies the User Assigned Identity ID which should be assigned to access this Storage Account.
    id String
    Specifies the ID of the Storage Account that will be associated with the Video Analyzer instance.
    userAssignedIdentityId String
    Specifies the User Assigned Identity ID which should be assigned to access this Storage Account.

    Import

    Video Analyzer can be imported using the resource id, e.g.

    $ pulumi import azure:videoanalyzer/analyzer:Analyzer analyzer /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Media/videoAnalyzers/analyzer1
    

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

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi