Skip to content

Commit 5d290ae

Browse files
authored
Update API versions in quickstart bicep (#191)
## Purpose Update API versions to latest in quickstart.bicep file ## Does this introduce a breaking change? <!-- Mark one with an "x". --> ``` [ ] Yes [x] No ``` ## Pull Request Type What kind of change does this Pull Request introduce? <!-- Please check the one that applies to this PR using "x". --> ``` [x] Bugfix [ ] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [x] Documentation content changes [ ] Other... Please describe: ```
1 parent 2bbc102 commit 5d290ae

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

samples/quickstarts/quickstart.bicep

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ resource defaultDataflowProfile 'Microsoft.IoTOperations/instances/dataflowProfi
4545
parent: aioInstance
4646
}
4747

48-
resource namespace 'Microsoft.DeviceRegistry/namespaces@2025-10-01' existing = {
48+
resource namespace 'Microsoft.DeviceRegistry/namespaces@2026-04-01' existing = {
4949
name: aioNamespaceName
5050
}
5151

@@ -57,7 +57,7 @@ var assetName = 'oven'
5757
var opcUaEndpointName = 'opc-ua-connector-0'
5858
var deviceName = 'opc-ua-connector'
5959

60-
resource device 'Microsoft.DeviceRegistry/namespaces/devices@2025-10-01' = {
60+
resource device 'Microsoft.DeviceRegistry/namespaces/devices@2026-04-01' = {
6161
name: deviceName
6262
parent: namespace
6363
location: resourceGroup().location
@@ -66,6 +66,7 @@ resource device 'Microsoft.DeviceRegistry/namespaces/devices@2025-10-01' = {
6666
name: customLocation.id
6767
}
6868
properties: {
69+
enabled: true
6970
endpoints: {
7071
outbound: {
7172
assigned: {}
@@ -83,7 +84,7 @@ resource device 'Microsoft.DeviceRegistry/namespaces/devices@2025-10-01' = {
8384
}
8485
}
8586

86-
resource asset 'Microsoft.DeviceRegistry/namespaces/assets@2025-10-01' = {
87+
resource asset 'Microsoft.DeviceRegistry/namespaces/assets@2026-04-01' = {
8788
name: assetName
8889
parent: namespace
8990
location: resourceGroup().location
@@ -186,7 +187,7 @@ resource eventHub 'Microsoft.EventHub/namespaces/eventhubs@2024-01-01' = {
186187
/* Data flow */
187188
/*****************************************************************************/
188189

189-
resource dataflowEndpointEventHub 'Microsoft.IoTOperations/instances/dataflowEndpoints@2025-04-01' = {
190+
resource dataflowEndpointEventHub 'Microsoft.IoTOperations/instances/dataflowEndpoints@2026-03-01' = {
190191
parent: aioInstance
191192
name: 'quickstart-eh-endpoint'
192193
extendedLocation: {
@@ -217,7 +218,7 @@ resource dataflowEndpointEventHub 'Microsoft.IoTOperations/instances/dataflowEnd
217218
]
218219
}
219220

220-
resource dataflowCToF 'Microsoft.IoTOperations/instances/dataflowProfiles/dataflows@2025-04-01' = {
221+
resource dataflowCToF 'Microsoft.IoTOperations/instances/dataflowProfiles/dataflows@2026-03-01' = {
221222
parent: defaultDataflowProfile
222223
name: 'quickstart-oven-data-flow'
223224
extendedLocation: {

0 commit comments

Comments
 (0)