Microsoft.Media videoAnalyzers 2021-05-01-preview

Template format

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

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

Property values

The following tables describe the values you need to set in the schema.

Microsoft.Media/videoAnalyzers object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes The Video Analyzer account name.
type enum Yes For JSON - Microsoft.Media/videoAnalyzers
apiVersion enum Yes For JSON - 2021-05-01-preview
tags object No Resource tags.
location string Yes The geo-location where the resource lives
properties object Yes The properties of the Video Analyzer account. - VideoAnalyzerProperties object
identity object No The set of managed identities associated with the Video Analyzer resource. - VideoAnalyzerIdentity object

VideoAnalyzerProperties object

Name Type Required Value
storageAccounts array No The storage accounts for this resource. - StorageAccount object
encryption object No The account encryption properties. - AccountEncryption object

VideoAnalyzerIdentity object

Name Type Required Value
type string Yes The identity type.
userAssignedIdentities object No The User Assigned Managed Identities.

StorageAccount object

Name Type Required Value
id string No 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).
identity object No A managed identity that Video Analyzer will use to access the storage account. - ResourceIdentity object

AccountEncryption object

Name Type Required Value
type enum Yes The type of key used to encrypt the Account Key. - SystemKey or CustomerKey
keyVaultProperties object No The properties of the key used to encrypt the account. - KeyVaultProperties object
identity object No The Key Vault identity. - ResourceIdentity object

ResourceIdentity object

Name Type Required Value
userAssignedIdentity string Yes The user assigned managed identity's resource identifier to use when accessing a resource.

KeyVaultProperties object

Name Type Required Value
keyIdentifier string Yes 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).