Skip to content

Commit c5b5fba

Browse files
committed
Clarity regarding prerequisite
1 parent 2f09614 commit c5b5fba

File tree

1 file changed

+54
-42
lines changed

1 file changed

+54
-42
lines changed

articles/iot-hub/virtual-network-support.md

Lines changed: 54 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ A private endpoint is a private IP address allocated inside a customer-owned VNE
5151

5252
Before proceeding ensure that the following prerequisites are met:
5353

54+
* Your IoT hub must be provisioned with [TLS 1.2 enforcement](#create-an-iot-hub-with-managed-service-identity-and-tls-12-enforcement).
55+
5456
* Your IoT hub must be provisioned in one of the [supported regions](#regional-availability-private-endpoints).
5557

5658
* You have provisioned an Azure VNET with a subnet in which the private endpoint will be created. See [create a virtual network using Azure CLI](../virtual-network/quick-create-cli.md) for more details.
@@ -126,57 +128,67 @@ Azure trusted first party services exception to bypass firewall restrictions to
126128
Trusted Microsoft first party services exception feature is free of charge in IoT Hubs in the [supported regions](#regional-availability-trusted-microsoft-first-party-services). Charges for the provisioned storage accounts, event hubs, or service bus resources apply separately.
127129
128130
129-
### Create a hub with managed service identity
131+
### Create an IoT hub with managed service identity and TLS 1.2 enforcement
130132
131-
A managed service identity can be assigned to your hub at resource provisioning time (this feature is not currently supported for existing hubs). For this purpose, you need to use the ARM resource template below:
133+
A managed service identity can be assigned to your hub at resource provisioning time (this feature is not currently supported for existing hubs), which requires the IoT hub to use TLS 1.2 as the minimum version. For this purpose, you need to use the ARM resource template below:
132134
133135
```json
134136
{
135-
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
136-
"contentVersion": "1.0.0.0",
137-
"resources": [
138-
{
139-
"type": "Microsoft.Devices/IotHubs",
140-
"apiVersion": "2020-03-01",
141-
"name": "<provide-a-valid-resource-name>",
142-
"location": "<any-of-supported-regions>",
143-
"identity": { "type": "SystemAssigned" },
144-
"properties": { "minTlsVersion": "1.2" },
145-
"sku": {
137+
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
138+
"contentVersion": "1.0.0.0",
139+
"resources": [
140+
{
141+
"type": "Microsoft.Devices/IotHubs",
142+
"apiVersion": "2020-03-01",
143+
"name": "<provide-a-valid-resource-name>",
144+
"location": "<any-of-supported-regions>",
145+
"identity": {
146+
"type": "SystemAssigned"
147+
},
148+
"properties": {
149+
"minTlsVersion": "1.2"
150+
},
151+
"sku": {
152+
"name": "<your-hubs-SKU-name>",
153+
"tier": "<your-hubs-SKU-tier>",
154+
"capacity": 1
155+
}
156+
},
157+
{
158+
"type": "Microsoft.Resources/deployments",
159+
"apiVersion": "2018-02-01",
160+
"name": "updateIotHubWithKeyEncryptionKey",
161+
"dependsOn": [
162+
"<provide-a-valid-resource-name>"
163+
],
164+
"properties": {
165+
"mode": "Incremental",
166+
"template": {
167+
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
168+
"contentVersion": "0.9.0.0",
169+
"resources": [
170+
{
171+
"type": "Microsoft.Devices/IotHubs",
172+
"apiVersion": "2020-03-01",
173+
"name": "<provide-a-valid-resource-name>",
174+
"location": "<any-of-supported-regions>",
175+
"identity": {
176+
"type": "SystemAssigned"
177+
},
178+
"properties": {
179+
"minTlsVersion": "1.2"
180+
},
181+
"sku": {
146182
"name": "<your-hubs-SKU-name>",
147183
"tier": "<your-hubs-SKU-tier>",
148184
"capacity": 1
185+
}
149186
}
150-
},
151-
{
152-
"type": "Microsoft.Resources/deployments",
153-
"apiVersion": "2018-02-01",
154-
"name": "updateIotHubWithKeyEncryptionKey",
155-
"dependsOn": [ "<provide-a-valid-resource-name>" ],
156-
"properties": {
157-
"mode": "Incremental",
158-
"template": {
159-
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
160-
"contentVersion": "0.9.0.0",
161-
"resources": [
162-
{
163-
"type": "Microsoft.Devices/IotHubs",
164-
"apiVersion": "2020-03-01",
165-
"name": "<provide-a-valid-resource-name>",
166-
"location": "<any-of-supported-regions>",
167-
"identity": { "type": "SystemAssigned" },
168-
"properties": { "minTlsVersion": "1.2" },
169-
"sku": {
170-
"name": "<your-hubs-SKU-name>",
171-
"tier": "<your-hubs-SKU-tier>",
172-
"capacity": 1
173-
}
174-
}
175-
]
176-
}
177-
}
187+
]
178188
}
179-
]
189+
}
190+
}
191+
]
180192
}
181193
```
182194

0 commit comments

Comments
 (0)