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
Copy file name to clipboardExpand all lines: articles/iot-hub/how-to-routing-arm.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ ms.author: kgremban
12
12
13
13
# Create and delete routes and endpoints by using Azure Resource Manager
14
14
15
-
This article shows you how to export your Azure IoT Hub template, add a route to your IoT hub, and then redeploy the template to your IoT hub by using the Azure CLI or Azure PowerShell. Use an Azure Resource Manager template to create routes and endpoints. IoT Hub supports the following Azure services as endpoints:
15
+
This article shows you how to export your Azure IoT Hub template, add a route to your IoT hub, and then redeploy the template to your IoT hub by using the Azure CLI or Azure PowerShell. Use an Azure Resource Manager template to create routes and endpoints. IoT Hub supports the following Azure services as endpoints:
16
16
17
17
* Storage containers
18
18
* Event Hubs
@@ -43,7 +43,7 @@ Review the prerequisites for this article based on the type of endpoint you want
43
43
44
44
* An Event Hubs resource (with container). If you need to create a new Event Hubs resource, see [Quickstart: Create an event hub by using a Resource Manager template](../event-hubs/event-hubs-resource-manager-namespace-event-hub.md).
45
45
46
-
* (Recommended) A managed identity with role-based access control permissions for the Event Hubs namespace. For more information, see [Authenticate a managed identity with Microsoft Entra ID to access Event Hub resources](../event-hubs/authenticate-managed-identity.md).
46
+
* (Recommended) A managed identity with role-based access control permissions for the Event Hubs namespace. For more information, see [Authenticate a managed identity with Microsoft Entra ID to access Event Hubs resources](../event-hubs/authenticate-managed-identity.md).
47
47
48
48
### [Service Bus queue](#tab/servicebusqueue)
49
49
@@ -159,14 +159,14 @@ Add an Event Hubs endpoint to your Resource Manager template. For more informati
159
159
| Property | Value |
160
160
| -------- | ----- |
161
161
| endpointUri | (If authentication type is `identityBased`; otherwise, delete.) The host name of your Event Hubs namespace in the format `sb://<eventhubs_namespace_name>.servicebus.windows.net`|
162
-
| entityPath | (If authentication type is `identityBased`; otherwise, delete.) The name of your Event Hub. |
162
+
| entityPath | (If authentication type is `identityBased`; otherwise, delete.) The name of your event hub. |
163
163
| authenticationType |`identityBased` or `keyBased`. Microsoft recommends identity based authentication as the more secure option. |
164
-
| identity | (If authentication type is `identityBased`.) You can use a user-assigned managed identity or a system-assigned managed identity if your IoT Hub has system-assigned managed identity enabled.<br><br>**For user-assigned**: The external ID of the managed identity with access permissions to your Event Hub in the format `/subscriptions/<subscription_id>/resourceGroups/<resource_group_name>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<identity_name>`.<br><br>**For system-assigned**: Leave the identity parameter as an empty list. For example, `"identity": {},`|
165
-
| connectionString | (If authentication type is `keyBased`.) The primary connection string from one of your Event Hub's shared access policies in the format `<connection_string>;EntityPath=<event_hub_name>.` You can retrieve the connection string value from the Azure portal, then append the entity path. |
164
+
| identity | (If authentication type is `identityBased`.) You can use a user-assigned managed identity or a system-assigned managed identity if your IoT Hub has system-assigned managed identity enabled.<br><br>**For user-assigned**: The external ID of the managed identity with access permissions to your event hub in the format `/subscriptions/<subscription_id>/resourceGroups/<resource_group_name>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<identity_name>`.<br><br>**For system-assigned**: Leave the identity parameter as an empty list. For example, `"identity": {},`|
165
+
| connectionString | (If authentication type is `keyBased`.) The primary connection string from one of your event hub's shared access policies in the format `<connection_string>;EntityPath=<event_hub_name>.` You can retrieve the connection string value from the Azure portal, then append the entity path. |
166
166
| name | Provide a unique value to name your endpoint. |
167
167
| id | Leave as an empty string. The Azure service provides a value when you create the endpoint. |
168
-
| subscriptionId | The ID of the subscription that contains your Event Hub. |
169
-
| resourceGroup | The name of the resource group that contains your Event Hub. |
168
+
| subscriptionId | The ID of the subscription that contains your event hub. |
169
+
| resourceGroup | The name of the resource group that contains your event hub. |
170
170
171
171
>[!TIP]
172
172
>For secrets management, you can [Create a parameter file](../azure-resource-manager/templates/parameter-files.md) or [Use Azure Key Vault to pass secure parameter values during deployment](../azure-resource-manager/templates/key-vault-parameter.md).
@@ -310,7 +310,7 @@ Add a Storage container endpoint to your Resource Manager template. For more inf
310
310
| Property | Value |
311
311
| -------- | ----- |
312
312
| containerName | The name of an existing container in your Storage account where the data will be written. |
313
-
| fileNameFormat | How filenames will be written in the container. You can rearrange the default format, but must keep all the elements. The default file type is `.avro`. Change the file type to `.json` if you select JSON encoding. |
313
+
| fileNameFormat | How filenames are written in the container. You can rearrange the default format, but must keep all the elements. The default file type is `.avro`. Change the file type to `.json` if you select JSON encoding. |
314
314
| batchFrequencyInSeconds ||
315
315
| maxChunkSizeInBytes ||
316
316
| encoding |`Avro` or `JSON`|
@@ -370,8 +370,8 @@ Add a Cosmos DB container endpoint to your Resource Manager template. For more i
370
370
| containerName | The name of an existing container in your Cosmos DB database where the data will be written. |
371
371
| authenticationType |`identityBased` or `keyBased`. Microsoft recommends identity based authentication as the more secure option. |
372
372
| identity | (If authentication type is `identityBased`.) You can use a user-assigned managed identity or a system-assigned managed identity if your IoT Hub has system-assigned managed identity enabled.<br><br>**For user-assigned**: The external ID of the managed identity with access permissions to your Service Bus in the format `/subscriptions/<subscription_id>/resourceGroups/<resource_group_name>/providers/Microsoft.ManagedIdentity/userAssignedIdentities/<identity_name>`.<br><br>**For system-assigned**: Leave the identity parameter as an empty list. For example, `"identity": {},`|
373
-
| primaryKey | (If authentication type is `keyBased`.) The primary key from one of your Cosmos DB account. You can retrieve the key value from the Azure portal. |
374
-
| secondaryKey | (If authentication type is `keyBased`.) The primary connection string from one of your Cosmos DB account. You can retrieve the key value from the Azure portal. |
373
+
| primaryKey | (If authentication type is `keyBased`.) The primary key from your Cosmos DB account. You can retrieve the key value from the Azure portal. |
374
+
| secondaryKey | (If authentication type is `keyBased`.) The primary connection string from your Cosmos DB account. You can retrieve the key value from the Azure portal. |
375
375
| partitionKeyName | A name for the synthetic partition key that will be added to every Cosmos DB document. |
376
376
| partitionKeyTemplate | The partition key template must contain at least one of the following elements: {iothub}, {deviceid}, {YYYY}, {MM}, {DD}. |
377
377
| name | Provide a unique value to name your endpoint. |
Copy file name to clipboardExpand all lines: articles/iot-hub/how-to-routing-powershell.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ Review the prerequisites for this article based on the type of endpoint you want
35
35
36
36
* An Event Hubs resource (with container). If you need to create a new Event Hubs resource, see [Quickstart: Create an event hub](../event-hubs/event-hubs-quickstart-powershell.md).
37
37
38
-
* (Recommended) A managed identity with role-based access control permissions for the Event Hubs namespace. For more information, see [Authenticate a managed identity with Microsoft Entra ID to access Event Hub resources](../event-hubs/authenticate-managed-identity.md).
38
+
* (Recommended) A managed identity with role-based access control permissions for the Event Hubs namespace. For more information, see [Authenticate a managed identity with Microsoft Entra ID to access Event Hubs resources](../event-hubs/authenticate-managed-identity.md).
0 commit comments