Share via


Microsoft.VideoIndexer accounts 2024-01-01

Bicep resource definition

The accounts resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.VideoIndexer/accounts resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.VideoIndexer/accounts@2024-01-01' = {
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  location: 'string'
  name: 'string'
  properties: {
    accountId: 'string'
    storageServices: {
      resourceId: 'string'
      userAssignedIdentity: 'string'
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

Property Values

Microsoft.VideoIndexer/accounts

Name Description Value
identity Managed service identity (system assigned and/or user assigned identities) ManagedServiceIdentity
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 3
Max length = 50
Pattern = ^[A-Za-z0-9-]+$ (required)
properties List of account properties AccountPropertiesForPutRequest
tags Resource tags Dictionary of tag names and values. See Tags in templates

AccountPropertiesForPutRequest

Name Description Value
accountId The account's data-plane ID. This can be set only when connecting an existing classic account string
storageServices The storage services details StorageServicesForPutRequest

ManagedServiceIdentity

Name Description Value
type Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (required)
userAssignedIdentities The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. UserAssignedIdentities

StorageServicesForPutRequest

Name Description Value
resourceId The storage services resource id string
userAssignedIdentity The user assigned identity to be used to grant permissions string

TrackedResourceTags

Name Description Value

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value

ARM template resource definition

The accounts resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.VideoIndexer/accounts resource, add the following JSON to your template.

{
  "type": "Microsoft.VideoIndexer/accounts",
  "apiVersion": "2024-01-01",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "location": "string",
  "properties": {
    "accountId": "string",
    "storageServices": {
      "resourceId": "string",
      "userAssignedIdentity": "string"
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

Property Values

Microsoft.VideoIndexer/accounts

Name Description Value
apiVersion The api version '2024-01-01'
identity Managed service identity (system assigned and/or user assigned identities) ManagedServiceIdentity
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 3
Max length = 50
Pattern = ^[A-Za-z0-9-]+$ (required)
properties List of account properties AccountPropertiesForPutRequest
tags Resource tags Dictionary of tag names and values. See Tags in templates
type The resource type 'Microsoft.VideoIndexer/accounts'

AccountPropertiesForPutRequest

Name Description Value
accountId The account's data-plane ID. This can be set only when connecting an existing classic account string
storageServices The storage services details StorageServicesForPutRequest

ManagedServiceIdentity

Name Description Value
type Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (required)
userAssignedIdentities The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. UserAssignedIdentities

StorageServicesForPutRequest

Name Description Value
resourceId The storage services resource id string
userAssignedIdentity The user assigned identity to be used to grant permissions string

TrackedResourceTags

Name Description Value

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value

Usage Examples

Terraform (AzAPI provider) resource definition

The accounts resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.VideoIndexer/accounts resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.VideoIndexer/accounts@2024-01-01"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      accountId = "string"
      storageServices = {
        resourceId = "string"
        userAssignedIdentity = "string"
      }
    }
  }
}

Property Values

Microsoft.VideoIndexer/accounts

Name Description Value
identity Managed service identity (system assigned and/or user assigned identities) ManagedServiceIdentity
location The geo-location where the resource lives string (required)
name The resource name string

Constraints:
Min length = 3
Max length = 50
Pattern = ^[A-Za-z0-9-]+$ (required)
properties List of account properties AccountPropertiesForPutRequest
tags Resource tags Dictionary of tag names and values.
type The resource type "Microsoft.VideoIndexer/accounts@2024-01-01"

AccountPropertiesForPutRequest

Name Description Value
accountId The account's data-plane ID. This can be set only when connecting an existing classic account string
storageServices The storage services details StorageServicesForPutRequest

ManagedServiceIdentity

Name Description Value
type Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). 'None'
'SystemAssigned'
'SystemAssigned,UserAssigned'
'UserAssigned' (required)
userAssignedIdentities The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. UserAssignedIdentities

StorageServicesForPutRequest

Name Description Value
resourceId The storage services resource id string
userAssignedIdentity The user assigned identity to be used to grant permissions string

TrackedResourceTags

Name Description Value

UserAssignedIdentities

Name Description Value

UserAssignedIdentity

Name Description Value