Skip to content

Commit 0b16a99

Browse files
Adding new API version 2022-11-01-preview (#21508)
1 parent 32f95c5 commit 0b16a99

File tree

8 files changed

+37
-10
lines changed

8 files changed

+37
-10
lines changed

specification/iothub/resource-manager/Microsoft.Devices/preview/2022-11-01-preview/examples/IotHub_ManualFailover.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@
1010
},
1111
"responses": {
1212
"200": {},
13-
"202": {}
13+
"202": {
14+
"headers": {
15+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/providers/Microsoft.Devices/operationResults/b3NfaWhfYmJhZmM4OWItNzQ3My00OWExLTg0NWUtNzQ3NWU2ODBkNDA3?api-version=2022-11-01-preview&operationSource=os_ih&asyncinfo",
16+
"Location": "https://management.azure.com/subscriptions/91d12660-3dec-467a-be2a-213b5544ddc0/providers/Microsoft.Devices/operationResults/b3NfaWhfYmJhZmM4OWItNzQ3My00OWExLTg0NWUtNzQ3NWU2ODBkNDA3?api-version=2022-11-01-preview&operationSource=os_ih"
17+
}
18+
}
1419
}
1520
}

specification/iothub/resource-manager/Microsoft.Devices/preview/2022-11-01-preview/examples/iothub_createOrUpdate.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@
7979
"enableDataResidency": true,
8080
"rootCertificate": {
8181
"enableRootCertificateV2": true
82-
}
82+
},
83+
"allowDataPlanePreviewFeatures": true
8384
},
8485
"sku": {
8586
"name": "S1",
@@ -188,7 +189,8 @@
188189
"rootCertificate": {
189190
"enableRootCertificateV2": true,
190191
"lastUpdatedTimeUtc": "2022-04-08T11:16:49.0748958-07:00"
191-
}
192+
},
193+
"allowDataPlanePreviewFeatures": true
192194
},
193195
"sku": {
194196
"name": "S1",
@@ -300,7 +302,8 @@
300302
"rootCertificate": {
301303
"enableRootCertificateV2": true,
302304
"lastUpdatedTimeUtc": "2022-04-08T11:16:49.0748958-07:00"
303-
}
305+
},
306+
"allowDataPlanePreviewFeatures": true
304307
},
305308
"sku": {
306309
"name": "S1",

specification/iothub/resource-manager/Microsoft.Devices/preview/2022-11-01-preview/examples/iothub_delete.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@
102102
"maxDeliveryCount": 10
103103
}
104104
},
105-
"features": "None"
105+
"features": "None",
106+
"allowDataPlanePreviewFeatures": true
106107
},
107108
"sku": {
108109
"name": "S1",
@@ -211,7 +212,8 @@
211212
"maxDeliveryCount": 10
212213
}
213214
},
214-
"features": "None"
215+
"features": "None",
216+
"allowDataPlanePreviewFeatures": true
215217
},
216218
"sku": {
217219
"name": "S1",

specification/iothub/resource-manager/Microsoft.Devices/preview/2022-11-01-preview/examples/iothub_get.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@
115115
"role": "secondary"
116116
}
117117
],
118-
"minTlsVersion": "1.2"
118+
"minTlsVersion": "1.2",
119+
"allowDataPlanePreviewFeatures": true
119120
},
120121
"sku": {
121122
"name": "S1",

specification/iothub/resource-manager/Microsoft.Devices/preview/2022-11-01-preview/examples/iothub_listbyrg.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@
102102
"maxDeliveryCount": 10
103103
}
104104
},
105-
"features": "None"
105+
"features": "None",
106+
"allowDataPlanePreviewFeatures": true
106107
},
107108
"sku": {
108109
"name": "S1",

specification/iothub/resource-manager/Microsoft.Devices/preview/2022-11-01-preview/examples/iothub_listbysubscription.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@
101101
"maxDeliveryCount": 10
102102
}
103103
},
104-
"features": "None"
104+
"features": "None",
105+
"allowDataPlanePreviewFeatures": true
105106
},
106107
"sku": {
107108
"name": "S1",

specification/iothub/resource-manager/Microsoft.Devices/preview/2022-11-01-preview/examples/iothub_stats.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"parameters": {
33
"resourceName": "testHub",
44
"resourceGroupName": "myResourceGroup",
5-
"api-version": "2018-04-01",
5+
"api-version": "2022-11-01-preview",
66
"subscriptionId": "91d12660-3dec-467a-be2a-213b5544ddc0"
77
},
88
"responses": {

specification/iothub/resource-manager/Microsoft.Devices/preview/2022-11-01-preview/iothub.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1735,6 +1735,16 @@
17351735
"description": "Long running manual failover operation for the IoT hub completed"
17361736
},
17371737
"202": {
1738+
"headers": {
1739+
"location": {
1740+
"description": "URL to query for status of the operation.",
1741+
"type": "string"
1742+
},
1743+
"Azure-AsyncOperation": {
1744+
"description": "URL to query for status of the operation.",
1745+
"type": "string"
1746+
}
1747+
},
17381748
"description": "Manual failover initiated"
17391749
},
17401750
"default": {
@@ -2454,6 +2464,10 @@
24542464
},
24552465
"rootCertificate": {
24562466
"$ref": "#/definitions/RootCertificateProperties"
2467+
},
2468+
"allowDataPlanePreviewFeatures": {
2469+
"description": "When this property is set to true, the hub receives all data plane preview features at all times.",
2470+
"type": "boolean"
24572471
}
24582472
}
24592473
},

0 commit comments

Comments
 (0)