You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Deploy Azure Video Indexer with Resource Manager template
3
-
description: Learn how to create an Azure Video Indexer account with Azure Resource Manager template.
2
+
title: Deploy Azure Video Indexer by using an ARM template
3
+
description: Learn how to create an Azure Video Indexer account by using an Azure Resource Manager (ARM) template.
4
4
ms.topic: tutorial
5
5
ms.date: 05/23/2022
6
6
ms.author: juliako
7
7
---
8
8
9
-
# Tutorial: Deploy Azure Video Indexer with the Azure Resource Manager template
9
+
# Tutorial: Deploy Azure Video Indexer by using an ARM template
10
10
11
-
## Overview
12
-
13
-
In this tutorial, you will create an Azure Video Indexer account by using the Azure Resource Manager template (preview). The resource will be deployed to your subscription and will create the Azure Video Indexer resource based on parameters defined in the ```avam.template``` file.
11
+
In this tutorial, you will create an Azure Video Indexer account by using the Azure Resource Manager template (preview). The resource will be deployed to your subscription and will create the Azure Video Indexer resource based on parameters defined in the *avam.template* file.
14
12
15
13
> [!NOTE]
16
14
> This sample is *not* for connecting an existing Azure Video Indexer classic account to a Resource Manager-based Azure Video Indexer account.
17
-
> For full documentation on Azure Video Indexer API, visit the [Developer portal](https://aka.ms/avam-dev-portal) page.
18
-
> For the latest API version for ```Microsoft.VideoIndexer```, see the [template reference](/azure/templates/microsoft.videoindexer/accounts?tabs=bicep).
15
+
16
+
> For full documentation on Azure Video Indexer API, visit the [developer portal](https://aka.ms/avam-dev-portal). For the latest API version for *Microsoft.VideoIndexer*, see the [template reference](/azure/templates/microsoft.videoindexer/accounts?tabs=bicep).
19
17
20
18
## Prerequisites
21
19
22
-
An Azure Media Services account. You can create one for free through [Create a Media Services account](/azure/media-services/latest/account-create-how-to).
20
+
You need an Azure Media Services account. You can create one for free through [Create a Media Services account](/azure/media-services/latest/account-create-how-to).
23
21
24
22
## Deploy the sample
25
23
26
24
----
27
25
28
-
### Option 1: Click the **Deploy To Azure** button, and fill in the missing parameters.
26
+
### Option 1: Select the button for deploying to Azure, and fill in the missing parameters
29
27
30
28
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure-Samples%2Fmedia-services-video-indexer%2Fmaster%2FARM-Quick-Start%2Favam.template.json)
31
29
32
30
----
33
31
34
-
### Option 2: Deploy using a PowerShell script.
32
+
### Option 2: Deploy by using a PowerShell script
35
33
36
-
1. Open the [template file](https://github.com/Azure-Samples/media-services-video-indexer/blob/master/ARM-Quick-Start/avam.template.json) and inspect its content.
37
-
2. Fill in the required parameters (see below).
34
+
1. Open the [template file](https://github.com/Azure-Samples/media-services-video-indexer/blob/master/ARM-Quick-Start/avam.template.json) and inspect its contents.
35
+
2. Fill in the required parameters.
38
36
3. Run the following PowerShell commands:
39
37
40
-
* Create a new Resource group on the same location as your Azure Video Indexer account using the [New-AzResourceGroup](/powershell/module/az.resources/new-azresourcegroup) cmdlet.
38
+
* Create a new resource group on the same location as your Azure Video Indexer account by using the [New-AzResourceGroup](/powershell/module/az.resources/new-azresourcegroup) cmdlet.
* Deploy the template to the resource group using the [New-AzResourceGroupDeployment](/powershell/module/az.resources/new-azresourcegroupdeployment) cmdlet.
44
+
* Deploy the template to the resource group by using the [New-AzResourceGroupDeployment](/powershell/module/az.resources/new-azresourcegroupdeployment) cmdlet.
> If you would like to work with Bicep format, see [Deploy by using Bicep](./deploy-with-bicep.md).
51
+
> If you want to work with Bicep format, see [Deploy by using Bicep](./deploy-with-bicep.md).
54
52
55
53
## Parameters
56
54
@@ -67,18 +65,18 @@ An Azure Media Services account. You can create one for free through [Create a M
67
65
* Required: false
68
66
69
67
> [!NOTE]
70
-
> You need to deploy Your Azure Video Indexer account in the same location (region) as the associated Azure Media Services resource.
68
+
> You need to deploy your Azure Video Indexer account in the same location (region) as the associated Azure Media Services resource.
71
69
72
70
### mediaServiceAccountResourceId
73
71
74
72
* Type: string
75
-
* Description: Specifies the Resource ID of the Azure Media Services resource.
73
+
* Description: Specifies the resource ID of the Azure Media Services resource.
76
74
* Required: true
77
75
78
76
### managedIdentityId
79
77
80
78
* Type: string
81
-
* Description: Specifies the Resource ID of the Managed Identity used to grant access between Azure Media Services resource and the Azure Video Indexer account.
79
+
* Description: Specifies the resource ID of the managed identity that's used to grant access between Azure Media Services resource and the Azure Video Indexer account.
82
80
* Required: true
83
81
84
82
### tags
@@ -91,17 +89,17 @@ An Azure Media Services account. You can create one for free through [Create a M
91
89
92
90
If you're new to Azure Video Indexer, see:
93
91
94
-
* [Azure Video Indexer Documentation](./index.yml)
95
-
* [Azure Video Indexer Developer Portal](https://api-portal.videoindexer.ai/)
92
+
*[Azure Video Indexer documentation](./index.yml)
93
+
*[Azure Video Indexer developer portal](https://api-portal.videoindexer.ai/)
96
94
97
-
After completing this tutorial, head to other Azure Video Indexer samples, described on [README.md](https://github.com/Azure-Samples/media-services-video-indexer/blob/master/README.md).
95
+
After you complete this tutorial, head to other Azure Video Indexer samples described in[README.md](https://github.com/Azure-Samples/media-services-video-indexer/blob/master/README.md).
0 commit comments