Skip to content

Commit 709a857

Browse files
fixing format
1 parent adf1403 commit 709a857

File tree

2 files changed

+31
-31
lines changed

2 files changed

+31
-31
lines changed

articles/iot-operations/connect-to-cloud/howto-configure-adlsv2-endpoint.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -56,37 +56,37 @@ To configure a dataflow endpoint for Azure Data Lake Storage Gen2, we suggest us
5656
5757
1. Create a bicep file `deployment.bicep`. Replace the placeholder values like `<AIO_INSTANCE_NAME>` with your own.
5858

59-
```bicep
60-
param aioInstanceName string = '<AIO_INSTANCE_NAME>'
61-
param customLocationName string = '<CUSTOM_LOCATION_NAME>'
62-
param endpointName string = '<ENDPOINT_NAME>'
63-
param host string = 'https://<ACCOUNT>.blob.core.windows.net'
64-
65-
resource aioInstance 'Microsoft.IoTOperations/instances@2024-08-15-preview' existing = {
66-
name: aioInstanceName
67-
}
68-
resource customLocation 'Microsoft.ExtendedLocation/customLocations@2021-08-31-preview' existing = {
69-
name: customLocationName
70-
}
71-
resource adlsGen2Endpoint 'Microsoft.IoTOperations/instances/dataflowEndpoints@2024-08-15-preview' = {
72-
parent: aioInstance
73-
name: endpointName
74-
extendedLocation: {
75-
name: customLocation.id
76-
type: 'CustomLocation'
77-
}
78-
properties: {
79-
endpointType: 'DataLakeStorage'
80-
dataLakeStorageSettings: {
81-
host: host
82-
authentication: {
83-
method: 'SystemAssignedManagedIdentity'
84-
systemAssignedManagedIdentitySettings: {}
59+
```bicep
60+
param aioInstanceName string = '<AIO_INSTANCE_NAME>'
61+
param customLocationName string = '<CUSTOM_LOCATION_NAME>'
62+
param endpointName string = '<ENDPOINT_NAME>'
63+
param host string = 'https://<ACCOUNT>.blob.core.windows.net'
64+
65+
resource aioInstance 'Microsoft.IoTOperations/instances@2024-08-15-preview' existing = {
66+
name: aioInstanceName
67+
}
68+
resource customLocation 'Microsoft.ExtendedLocation/customLocations@2021-08-31-preview' existing = {
69+
name: customLocationName
70+
}
71+
resource adlsGen2Endpoint 'Microsoft.IoTOperations/instances/dataflowEndpoints@2024-08-15-preview' = {
72+
parent: aioInstance
73+
name: endpointName
74+
extendedLocation: {
75+
name: customLocation.id
76+
type: 'CustomLocation'
77+
}
78+
properties: {
79+
endpointType: 'DataLakeStorage'
80+
dataLakeStorageSettings: {
81+
host: host
82+
authentication: {
83+
method: 'SystemAssignedManagedIdentity'
84+
systemAssignedManagedIdentitySettings: {}
85+
}
86+
}
8587
}
8688
}
87-
}
88-
}
89-
```
89+
```
9090

9191
1. Deploy via Azure CLI
9292

articles/iot-operations/connect-to-cloud/howto-create-dataflow.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ To create a dataflow in [operations experience](https://iotoperations.azure.com/
6262

6363
1. Create a dataflow bicep file `dataflow.bicep`. Replace the placeholder values like `<SCHEMA_REGISTRY_NAME>` with your own.
6464

65-
```bicep
65+
```bicep
6666
var opcuaSchemaContent = '''
6767
{
6868
"$schema": "Delta/1.0",
@@ -150,7 +150,7 @@ To create a dataflow in [operations experience](https://iotoperations.azure.com/
150150
]
151151
}
152152
}
153-
```
153+
```
154154
155155
1. Deploy via Azure CLI
156156

0 commit comments

Comments
 (0)