Microsoft.Media videoAnalyzers 2021-05-01-preview

Bicep resource definition

The videoAnalyzers resource type can be deployed to:

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

Resource format

To create a Microsoft.Media/videoAnalyzers resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.Media/videoAnalyzers@2021-05-01-preview' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  identity: {
    type: 'string'
    userAssignedIdentities: {}
  }
  properties: {
    encryption: {
      identity: {
        userAssignedIdentity: 'string'
      }
      keyVaultProperties: {
        keyIdentifier: 'string'
      }
      type: 'string'
    }
    storageAccounts: [
      {
        id: 'string'
        identity: {
          userAssignedIdentity: 'string'
        }
      }
    ]
  }
}

Property values

videoAnalyzers

Name Description Value
name The resource name string (required)
location The geo-location where the resource lives string (required)
tags Resource tags. Dictionary of tag names and values. See Tags in templates
identity The set of managed identities associated with the Video Analyzer resource. VideoAnalyzerIdentity
properties The properties of the Video Analyzer account. VideoAnalyzerProperties

VideoAnalyzerIdentity

Name Description Value
type The identity type. string (required)
userAssignedIdentities The User Assigned Managed Identities. object

VideoAnalyzerProperties

Name Description Value
encryption The account encryption properties. AccountEncryption
storageAccounts The storage accounts for this resource. StorageAccount[]

AccountEncryption

Name Description Value
identity The Key Vault identity. ResourceIdentity
keyVaultProperties The properties of the key used to encrypt the account. KeyVaultProperties
type The type of key used to encrypt the Account Key. 'CustomerKey'
'SystemKey' (required)

ResourceIdentity

Name Description Value
userAssignedIdentity The user assigned managed identity's resource identifier to use when accessing a resource. string (required)

KeyVaultProperties

Name Description Value
keyIdentifier The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey). string (required)

StorageAccount

Name Description Value
id The ID of the storage account resource. Video Analyzer relies on tables, queues, and blobs. The primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). string
identity A managed identity that Video Analyzer will use to access the storage account. ResourceIdentity

ARM template resource definition

The videoAnalyzers resource type can be deployed to:

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

Resource format

To create a Microsoft.Media/videoAnalyzers resource, add the following JSON to your template.

{
  "type": "Microsoft.Media/videoAnalyzers",
  "apiVersion": "2021-05-01-preview",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "identity": {
    "type": "string",
    "userAssignedIdentities": {}
  },
  "properties": {
    "encryption": {
      "identity": {
        "userAssignedIdentity": "string"
      },
      "keyVaultProperties": {
        "keyIdentifier": "string"
      },
      "type": "string"
    },
    "storageAccounts": [
      {
        "id": "string",
        "identity": {
          "userAssignedIdentity": "string"
        }
      }
    ]
  }
}

Property values

videoAnalyzers

Name Description Value
type The resource type 'Microsoft.Media/videoAnalyzers'
apiVersion The resource api version '2021-05-01-preview'
name The resource name string (required)
location The geo-location where the resource lives string (required)
tags Resource tags. Dictionary of tag names and values. See Tags in templates
identity The set of managed identities associated with the Video Analyzer resource. VideoAnalyzerIdentity
properties The properties of the Video Analyzer account. VideoAnalyzerProperties

VideoAnalyzerIdentity

Name Description Value
type The identity type. string (required)
userAssignedIdentities The User Assigned Managed Identities. object

VideoAnalyzerProperties

Name Description Value
encryption The account encryption properties. AccountEncryption
storageAccounts The storage accounts for this resource. StorageAccount[]

AccountEncryption

Name Description Value
identity The Key Vault identity. ResourceIdentity
keyVaultProperties The properties of the key used to encrypt the account. KeyVaultProperties
type The type of key used to encrypt the Account Key. 'CustomerKey'
'SystemKey' (required)

ResourceIdentity

Name Description Value
userAssignedIdentity The user assigned managed identity's resource identifier to use when accessing a resource. string (required)

KeyVaultProperties

Name Description Value
keyIdentifier The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey). string (required)

StorageAccount

Name Description Value
id The ID of the storage account resource. Video Analyzer relies on tables, queues, and blobs. The primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). string
identity A managed identity that Video Analyzer will use to access the storage account. ResourceIdentity

Terraform (AzAPI provider) resource definition

The videoAnalyzers resource type can be deployed to:

  • Resource groups

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

Resource format

To create a Microsoft.Media/videoAnalyzers resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Media/videoAnalyzers@2021-05-01-preview"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  identity {
    type = "string"
    identity_ids = []
  }
  body = jsonencode({
    properties = {
      encryption = {
        identity = {
          userAssignedIdentity = "string"
        }
        keyVaultProperties = {
          keyIdentifier = "string"
        }
        type = "string"
      }
      storageAccounts = [
        {
          id = "string"
          identity = {
            userAssignedIdentity = "string"
          }
        }
      ]
    }
  })
}

Property values

videoAnalyzers

Name Description Value
type The resource type "Microsoft.Media/videoAnalyzers@2021-05-01-preview"
name The resource name string (required)
location The geo-location where the resource lives string (required)
parent_id To deploy to a resource group, use the ID of that resource group. string (required)
tags Resource tags. Dictionary of tag names and values.
identity The set of managed identities associated with the Video Analyzer resource. VideoAnalyzerIdentity
properties The properties of the Video Analyzer account. VideoAnalyzerProperties

VideoAnalyzerIdentity

Name Description Value
type The identity type. string (required)
identity_ids The User Assigned Managed Identities. Array of user identity IDs.

VideoAnalyzerProperties

Name Description Value
encryption The account encryption properties. AccountEncryption
storageAccounts The storage accounts for this resource. StorageAccount[]

AccountEncryption

Name Description Value
identity The Key Vault identity. ResourceIdentity
keyVaultProperties The properties of the key used to encrypt the account. KeyVaultProperties
type The type of key used to encrypt the Account Key. "CustomerKey"
"SystemKey" (required)

ResourceIdentity

Name Description Value
userAssignedIdentity The user assigned managed identity's resource identifier to use when accessing a resource. string (required)

KeyVaultProperties

Name Description Value
keyIdentifier The URL of the Key Vault key used to encrypt the account. The key may either be versioned (for example https://vault/keys/mykey/version1) or reference a key without a version (for example https://vault/keys/mykey). string (required)

StorageAccount

Name Description Value
id The ID of the storage account resource. Video Analyzer relies on tables, queues, and blobs. The primary storage account must be a Standard Storage account (either Microsoft.ClassicStorage or Microsoft.Storage). string
identity A managed identity that Video Analyzer will use to access the storage account. ResourceIdentity