Skip to content

Commit 13e06d5

Browse files
committed
more updates
1 parent 107d9e0 commit 13e06d5

File tree

1 file changed

+19
-21
lines changed

1 file changed

+19
-21
lines changed

articles/azure-video-indexer/logic-apps-connector-arm-accounts.md

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The following image shows the first flow:
4444

4545
![File upload flow](./media/logic-apps-connector-arm-accounts/first-flow-high-level.png)
4646

47-
1. Create the [Logic App](https://ms.portal.azure.com/#create/Microsoft.LogicApp). We create a Logic App in the same region as the Azure Video Indexer region (recommended). We call the logic app `UploadIndexVideosApp`.
47+
1. Create the [Logic App](https://ms.portal.azure.com/#create/Microsoft.LogicApp). We create a Logic App in the same region as the Azure Video Indexer region (recommended but not required). We call the logic app `UploadIndexVideosApp`.
4848

4949
1. Select **Consumption** for **Plan type**.
5050
1. Press **Review + Create** -> **Create**.
@@ -146,30 +146,28 @@ The following image shows the first flow:
146146
1. Press **Review + assign**.
147147
1. Back in your Logic App, create an **Upload video and index** action.
148148

149-
1. Select **Video Indexer(V2).
149+
1. Select **Video Indexer(V2)**.
150150
1. From Video Indexer(V2) chose **Upload Video and index**.
151151
1. Set the connection to the Video Indexer account.
152152

153-
|Key| Value|
154-
|----|----|
155-
| Connection name| *Enter name for connection*, in this case `aviconnection`.|
156-
| API key| This is your personal API key, which is available under **Profile** in the [developer portal](https://api-portal.videoindexer.ai/profile)|
157-
158-
Select **Create**.
159-
160-
![api-key](./media/logic-apps-connector-arm-accounts/profile.png)
153+
|Key| Value|
154+
|----|----|
155+
| Connection name| *Enter name for connection*, in this case `aviconnection`.|
156+
| API key| This is your personal API key, which is available under **Profile** in the [developer portal](https://api-portal.videoindexer.ai/profile)|
157+
158+
Select **Create**.
161159
1. Fill **Upload video and index** action parameters.
162-
163-
|Key| Value|
164-
|----|----|
165-
|Location| Location of the associated the Azure Video Indexer account.|
166-
| Account ID| Account ID of the associated Azure Video Indexer account. You can find the **Account ID** in the **Overview** page of your account, in the Azure portal. Or, the **Account settings** tab, left of the [Azure Video Indexer website](https://www.videoindexer.ai/).|
167-
|Access Token| Select **accessToken** from the **dynamic content** of the **Parse JSON** action.|
168-
| Video Name| Select **List of Files Name** from the dynamic content of **When a blob is added or modified** action. |
169-
|Video URL|Select **Web Url** from the dynamic content of **Create SAS URI by path** action.|
170-
| Body| Can be left as default.|
171160

172-
![upload-video](./media/logic-apps-connector-arm-accounts/uplaod-and-index.png)
161+
|Key| Value|
162+
|----|----|
163+
|Location| Location of the associated the Azure Video Indexer account.|
164+
| Account ID| Account ID of the associated Azure Video Indexer account. You can find the **Account ID** in the **Overview** page of your account, in the Azure portal. Or, the **Account settings** tab, left of the [Azure Video Indexer website](https://www.videoindexer.ai/).|
165+
|Access Token| Select **accessToken** from the **dynamic content** of the **Parse JSON** action.|
166+
| Video Name| Select **List of Files Name** from the dynamic content of **When a blob is added or modified** action. |
167+
|Video URL|Select **Web Url** from the dynamic content of **Create SAS URI by path** action.|
168+
| Body| Can be left as default.|
169+
170+
![upload-video](./media/logic-apps-connector-arm-accounts/uplaod-and-index.png)
173171

174172
The completion of the uploading and indexing from the first flow will send an HTTP request with the correct callback URL to trigger the second flow. Then, it will retrieve the insights generated by Azure Video Indexer. In this example, it will store the output of your indexing job in your Azure Storage. However, it's up to you what you do with the output.
175173

@@ -189,7 +187,7 @@ Create the second flow, Logic Apps of type consumption. The second flow is t
189187

190188
> [!TIP]
191189
> We will come back to the URL created in this step.
192-
1. Generate an access token
190+
1. Generate an access token.
193191

194192
Follow all the steps from:
195193

0 commit comments

Comments
 (0)