videoindexer

package
v6.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	pulumi.CustomResourceState

	// An `identity` block as defined below.
	Identity AccountIdentityOutput `pulumi:"identity"`
	// The Azure location where the Video Indexer Account exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// The name of the Video Indexer Account. Changing the name forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the Resource Group that the Video Indexer Account will be associated with. Changing the name forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A `storage` block as defined below.
	Storage AccountStorageOutput `pulumi:"storage"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Video Indexer Account

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/storage"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/videoindexer"
"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("example"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
			Name:                   pulumi.String("example"),
			ResourceGroupName:      example.Name,
			Location:               example.Location,
			AccountTier:            pulumi.String("Standard"),
			AccountReplicationType: pulumi.String("LRS"),
		})
		if err != nil {
			return err
		}
		_, err = videoindexer.NewAccount(ctx, "example", &videoindexer.AccountArgs{
			Name:              pulumi.String("example"),
			ResourceGroupName: example.Name,
			Location:          pulumi.String("West Europe"),
			Storage: &videoindexer.AccountStorageArgs{
				StorageAccountId: exampleAccount.ID(),
			},
			Identity: &videoindexer.AccountIdentityArgs{
				Type: pulumi.String("SystemAssigned"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Video Indexer Accounts can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:videoindexer/account:Account example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/example-resource-group/providers/Microsoft.VideoIndexer/accounts/example-account-name ```

func GetAccount

func GetAccount(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*Account, error)

GetAccount gets an existing Account resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAccount

func NewAccount(ctx *pulumi.Context,
	name string, args *AccountArgs, opts ...pulumi.ResourceOption) (*Account, error)

NewAccount registers a new resource with the given unique name, arguments, and options.

func (*Account) ElementType

func (*Account) ElementType() reflect.Type

func (*Account) ToAccountOutput

func (i *Account) ToAccountOutput() AccountOutput

func (*Account) ToAccountOutputWithContext

func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput

type AccountArgs

type AccountArgs struct {
	// An `identity` block as defined below.
	Identity AccountIdentityInput
	// The Azure location where the Video Indexer Account exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the Video Indexer Account. Changing the name forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group that the Video Indexer Account will be associated with. Changing the name forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// A `storage` block as defined below.
	Storage AccountStorageInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Account resource.

func (AccountArgs) ElementType

func (AccountArgs) ElementType() reflect.Type

type AccountArray

type AccountArray []AccountInput

func (AccountArray) ElementType

func (AccountArray) ElementType() reflect.Type

func (AccountArray) ToAccountArrayOutput

func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput

func (AccountArray) ToAccountArrayOutputWithContext

func (i AccountArray) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput

type AccountArrayInput

type AccountArrayInput interface {
	pulumi.Input

	ToAccountArrayOutput() AccountArrayOutput
	ToAccountArrayOutputWithContext(context.Context) AccountArrayOutput
}

AccountArrayInput is an input type that accepts AccountArray and AccountArrayOutput values. You can construct a concrete instance of `AccountArrayInput` via:

AccountArray{ AccountArgs{...} }

type AccountArrayOutput

type AccountArrayOutput struct{ *pulumi.OutputState }

func (AccountArrayOutput) ElementType

func (AccountArrayOutput) ElementType() reflect.Type

func (AccountArrayOutput) Index

func (AccountArrayOutput) ToAccountArrayOutput

func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput

func (AccountArrayOutput) ToAccountArrayOutputWithContext

func (o AccountArrayOutput) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput

type AccountIdentity

type AccountIdentity struct {
	// Specifies a list of user managed identity ids to be assigned. Required if `type` is `UserAssigned`.
	IdentityIds []string `pulumi:"identityIds"`
	PrincipalId *string  `pulumi:"principalId"`
	TenantId    *string  `pulumi:"tenantId"`
	// Specifies the identity type of the Video Indexer Account. Possible values are `SystemAssigned` (where Azure will generate a Service Principal for you), `UserAssigned` where you can specify the Service Principal IDs in the `identityIds` field, and `SystemAssigned, UserAssigned` which assigns both a system managed identity as well as the specified user assigned identities.
	Type string `pulumi:"type"`
}

type AccountIdentityArgs

type AccountIdentityArgs struct {
	// Specifies a list of user managed identity ids to be assigned. Required if `type` is `UserAssigned`.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	PrincipalId pulumi.StringPtrInput   `pulumi:"principalId"`
	TenantId    pulumi.StringPtrInput   `pulumi:"tenantId"`
	// Specifies the identity type of the Video Indexer Account. Possible values are `SystemAssigned` (where Azure will generate a Service Principal for you), `UserAssigned` where you can specify the Service Principal IDs in the `identityIds` field, and `SystemAssigned, UserAssigned` which assigns both a system managed identity as well as the specified user assigned identities.
	Type pulumi.StringInput `pulumi:"type"`
}

func (AccountIdentityArgs) ElementType

func (AccountIdentityArgs) ElementType() reflect.Type

func (AccountIdentityArgs) ToAccountIdentityOutput

func (i AccountIdentityArgs) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityArgs) ToAccountIdentityOutputWithContext

func (i AccountIdentityArgs) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput

func (AccountIdentityArgs) ToAccountIdentityPtrOutput

func (i AccountIdentityArgs) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext

func (i AccountIdentityArgs) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

type AccountIdentityInput

type AccountIdentityInput interface {
	pulumi.Input

	ToAccountIdentityOutput() AccountIdentityOutput
	ToAccountIdentityOutputWithContext(context.Context) AccountIdentityOutput
}

AccountIdentityInput is an input type that accepts AccountIdentityArgs and AccountIdentityOutput values. You can construct a concrete instance of `AccountIdentityInput` via:

AccountIdentityArgs{...}

type AccountIdentityOutput

type AccountIdentityOutput struct{ *pulumi.OutputState }

func (AccountIdentityOutput) ElementType

func (AccountIdentityOutput) ElementType() reflect.Type

func (AccountIdentityOutput) IdentityIds

Specifies a list of user managed identity ids to be assigned. Required if `type` is `UserAssigned`.

func (AccountIdentityOutput) PrincipalId

func (AccountIdentityOutput) TenantId

func (AccountIdentityOutput) ToAccountIdentityOutput

func (o AccountIdentityOutput) ToAccountIdentityOutput() AccountIdentityOutput

func (AccountIdentityOutput) ToAccountIdentityOutputWithContext

func (o AccountIdentityOutput) ToAccountIdentityOutputWithContext(ctx context.Context) AccountIdentityOutput

func (AccountIdentityOutput) ToAccountIdentityPtrOutput

func (o AccountIdentityOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext

func (o AccountIdentityOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

func (AccountIdentityOutput) Type

Specifies the identity type of the Video Indexer Account. Possible values are `SystemAssigned` (where Azure will generate a Service Principal for you), `UserAssigned` where you can specify the Service Principal IDs in the `identityIds` field, and `SystemAssigned, UserAssigned` which assigns both a system managed identity as well as the specified user assigned identities.

type AccountIdentityPtrInput

type AccountIdentityPtrInput interface {
	pulumi.Input

	ToAccountIdentityPtrOutput() AccountIdentityPtrOutput
	ToAccountIdentityPtrOutputWithContext(context.Context) AccountIdentityPtrOutput
}

AccountIdentityPtrInput is an input type that accepts AccountIdentityArgs, AccountIdentityPtr and AccountIdentityPtrOutput values. You can construct a concrete instance of `AccountIdentityPtrInput` via:

        AccountIdentityArgs{...}

or:

        nil

type AccountIdentityPtrOutput

type AccountIdentityPtrOutput struct{ *pulumi.OutputState }

func (AccountIdentityPtrOutput) Elem

func (AccountIdentityPtrOutput) ElementType

func (AccountIdentityPtrOutput) ElementType() reflect.Type

func (AccountIdentityPtrOutput) IdentityIds

Specifies a list of user managed identity ids to be assigned. Required if `type` is `UserAssigned`.

func (AccountIdentityPtrOutput) PrincipalId

func (AccountIdentityPtrOutput) TenantId

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutput

func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutput() AccountIdentityPtrOutput

func (AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext

func (o AccountIdentityPtrOutput) ToAccountIdentityPtrOutputWithContext(ctx context.Context) AccountIdentityPtrOutput

func (AccountIdentityPtrOutput) Type

Specifies the identity type of the Video Indexer Account. Possible values are `SystemAssigned` (where Azure will generate a Service Principal for you), `UserAssigned` where you can specify the Service Principal IDs in the `identityIds` field, and `SystemAssigned, UserAssigned` which assigns both a system managed identity as well as the specified user assigned identities.

type AccountInput

type AccountInput interface {
	pulumi.Input

	ToAccountOutput() AccountOutput
	ToAccountOutputWithContext(ctx context.Context) AccountOutput
}

type AccountMap

type AccountMap map[string]AccountInput

func (AccountMap) ElementType

func (AccountMap) ElementType() reflect.Type

func (AccountMap) ToAccountMapOutput

func (i AccountMap) ToAccountMapOutput() AccountMapOutput

func (AccountMap) ToAccountMapOutputWithContext

func (i AccountMap) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput

type AccountMapInput

type AccountMapInput interface {
	pulumi.Input

	ToAccountMapOutput() AccountMapOutput
	ToAccountMapOutputWithContext(context.Context) AccountMapOutput
}

AccountMapInput is an input type that accepts AccountMap and AccountMapOutput values. You can construct a concrete instance of `AccountMapInput` via:

AccountMap{ "key": AccountArgs{...} }

type AccountMapOutput

type AccountMapOutput struct{ *pulumi.OutputState }

func (AccountMapOutput) ElementType

func (AccountMapOutput) ElementType() reflect.Type

func (AccountMapOutput) MapIndex

func (AccountMapOutput) ToAccountMapOutput

func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput

func (AccountMapOutput) ToAccountMapOutputWithContext

func (o AccountMapOutput) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput

type AccountOutput

type AccountOutput struct{ *pulumi.OutputState }

func (AccountOutput) ElementType

func (AccountOutput) ElementType() reflect.Type

func (AccountOutput) Identity

func (o AccountOutput) Identity() AccountIdentityOutput

An `identity` block as defined below.

func (AccountOutput) Location

func (o AccountOutput) Location() pulumi.StringOutput

The Azure location where the Video Indexer Account exists. Changing this forces a new resource to be created.

func (AccountOutput) Name

The name of the Video Indexer Account. Changing the name forces a new resource to be created.

func (AccountOutput) ResourceGroupName

func (o AccountOutput) ResourceGroupName() pulumi.StringOutput

The name of the Resource Group that the Video Indexer Account will be associated with. Changing the name forces a new resource to be created.

func (AccountOutput) Storage

func (o AccountOutput) Storage() AccountStorageOutput

A `storage` block as defined below.

func (AccountOutput) Tags

A mapping of tags to assign to the resource.

func (AccountOutput) ToAccountOutput

func (o AccountOutput) ToAccountOutput() AccountOutput

func (AccountOutput) ToAccountOutputWithContext

func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput

type AccountState

type AccountState struct {
	// An `identity` block as defined below.
	Identity AccountIdentityPtrInput
	// The Azure location where the Video Indexer Account exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// The name of the Video Indexer Account. Changing the name forces a new resource to be created.
	Name pulumi.StringPtrInput
	// The name of the Resource Group that the Video Indexer Account will be associated with. Changing the name forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A `storage` block as defined below.
	Storage AccountStoragePtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (AccountState) ElementType

func (AccountState) ElementType() reflect.Type

type AccountStorage

type AccountStorage struct {
	// The ID of the storage account to be associated with the Video Indexer Account. Changing this forces a new Video Indexer Account to be created.
	StorageAccountId string `pulumi:"storageAccountId"`
	// The reference to the user assigned identity to use to access the Storage Account.
	UserAssignedIdentityId *string `pulumi:"userAssignedIdentityId"`
}

type AccountStorageArgs

type AccountStorageArgs struct {
	// The ID of the storage account to be associated with the Video Indexer Account. Changing this forces a new Video Indexer Account to be created.
	StorageAccountId pulumi.StringInput `pulumi:"storageAccountId"`
	// The reference to the user assigned identity to use to access the Storage Account.
	UserAssignedIdentityId pulumi.StringPtrInput `pulumi:"userAssignedIdentityId"`
}

func (AccountStorageArgs) ElementType

func (AccountStorageArgs) ElementType() reflect.Type

func (AccountStorageArgs) ToAccountStorageOutput

func (i AccountStorageArgs) ToAccountStorageOutput() AccountStorageOutput

func (AccountStorageArgs) ToAccountStorageOutputWithContext

func (i AccountStorageArgs) ToAccountStorageOutputWithContext(ctx context.Context) AccountStorageOutput

func (AccountStorageArgs) ToAccountStoragePtrOutput

func (i AccountStorageArgs) ToAccountStoragePtrOutput() AccountStoragePtrOutput

func (AccountStorageArgs) ToAccountStoragePtrOutputWithContext

func (i AccountStorageArgs) ToAccountStoragePtrOutputWithContext(ctx context.Context) AccountStoragePtrOutput

type AccountStorageInput

type AccountStorageInput interface {
	pulumi.Input

	ToAccountStorageOutput() AccountStorageOutput
	ToAccountStorageOutputWithContext(context.Context) AccountStorageOutput
}

AccountStorageInput is an input type that accepts AccountStorageArgs and AccountStorageOutput values. You can construct a concrete instance of `AccountStorageInput` via:

AccountStorageArgs{...}

type AccountStorageOutput

type AccountStorageOutput struct{ *pulumi.OutputState }

func (AccountStorageOutput) ElementType

func (AccountStorageOutput) ElementType() reflect.Type

func (AccountStorageOutput) StorageAccountId

func (o AccountStorageOutput) StorageAccountId() pulumi.StringOutput

The ID of the storage account to be associated with the Video Indexer Account. Changing this forces a new Video Indexer Account to be created.

func (AccountStorageOutput) ToAccountStorageOutput

func (o AccountStorageOutput) ToAccountStorageOutput() AccountStorageOutput

func (AccountStorageOutput) ToAccountStorageOutputWithContext

func (o AccountStorageOutput) ToAccountStorageOutputWithContext(ctx context.Context) AccountStorageOutput

func (AccountStorageOutput) ToAccountStoragePtrOutput

func (o AccountStorageOutput) ToAccountStoragePtrOutput() AccountStoragePtrOutput

func (AccountStorageOutput) ToAccountStoragePtrOutputWithContext

func (o AccountStorageOutput) ToAccountStoragePtrOutputWithContext(ctx context.Context) AccountStoragePtrOutput

func (AccountStorageOutput) UserAssignedIdentityId

func (o AccountStorageOutput) UserAssignedIdentityId() pulumi.StringPtrOutput

The reference to the user assigned identity to use to access the Storage Account.

type AccountStoragePtrInput

type AccountStoragePtrInput interface {
	pulumi.Input

	ToAccountStoragePtrOutput() AccountStoragePtrOutput
	ToAccountStoragePtrOutputWithContext(context.Context) AccountStoragePtrOutput
}

AccountStoragePtrInput is an input type that accepts AccountStorageArgs, AccountStoragePtr and AccountStoragePtrOutput values. You can construct a concrete instance of `AccountStoragePtrInput` via:

        AccountStorageArgs{...}

or:

        nil

type AccountStoragePtrOutput

type AccountStoragePtrOutput struct{ *pulumi.OutputState }

func (AccountStoragePtrOutput) Elem

func (AccountStoragePtrOutput) ElementType

func (AccountStoragePtrOutput) ElementType() reflect.Type

func (AccountStoragePtrOutput) StorageAccountId

func (o AccountStoragePtrOutput) StorageAccountId() pulumi.StringPtrOutput

The ID of the storage account to be associated with the Video Indexer Account. Changing this forces a new Video Indexer Account to be created.

func (AccountStoragePtrOutput) ToAccountStoragePtrOutput

func (o AccountStoragePtrOutput) ToAccountStoragePtrOutput() AccountStoragePtrOutput

func (AccountStoragePtrOutput) ToAccountStoragePtrOutputWithContext

func (o AccountStoragePtrOutput) ToAccountStoragePtrOutputWithContext(ctx context.Context) AccountStoragePtrOutput

func (AccountStoragePtrOutput) UserAssignedIdentityId

func (o AccountStoragePtrOutput) UserAssignedIdentityId() pulumi.StringPtrOutput

The reference to the user assigned identity to use to access the Storage Account.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL