Skip to content

Commit aaa15c1

Browse files
committed
improved text in table
1 parent 5fbdf8b commit aaa15c1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/digital-twins/how-to-user-defined-functions.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manager: bertvanhoof
77
ms.service: digital-twins
88
services: digital-twins
99
ms.topic: conceptual
10-
ms.date: 11/07/2019
10+
ms.date: 11/21/2019
1111
ms.custom: seodec18
1212
---
1313

@@ -41,7 +41,7 @@ Matchers are graph objects that determine what user-defined functions run for a
4141

4242
The following example matcher evaluates to true on any sensor telemetry event with `"Temperature"` as its data type value. You can create multiple matchers on a user-defined function by making an authenticated HTTP POST request to:
4343

44-
```plaintext
44+
```URL
4545
YOUR_MANAGEMENT_API_URL/matchers
4646
```
4747

@@ -76,7 +76,7 @@ Creating a user-defined function involves making a multipart HTTP request to the
7676

7777
After the matchers are created, upload the function snippet with the following authenticated multipart HTTP POST request to:
7878

79-
```plaintext
79+
```URL
8080
YOUR_MANAGEMENT_API_URL/userdefinedfunctions
8181
```
8282

@@ -196,7 +196,7 @@ Create a role assignment for the user-defined function to run under. If no role
196196

197197
1. [Query the System API](./security-create-manage-role-assignments.md#retrieve-all-roles) for all roles to get the role ID you want to assign to your user-defined function. Do so by making an authenticated HTTP GET request to:
198198

199-
```plaintext
199+
```URL
200200
YOUR_MANAGEMENT_API_URL/system/roles
201201
```
202202
Keep the desired role ID. It will be passed as the JSON body attribute **roleId** (`YOUR_DESIRED_ROLE_IDENTIFIER`) below.
@@ -205,7 +205,7 @@ Create a role assignment for the user-defined function to run under. If no role
205205
1. Find the value of **path** (`YOUR_ACCESS_CONTROL_PATH`) by querying your spaces with `fullpath`.
206206
1. Copy the returned `spacePaths` value. You'll use that below. Make an authenticated HTTP GET request to:
207207
208-
```plaintext
208+
```URL
209209
YOUR_MANAGEMENT_API_URL/spaces?name=YOUR_SPACE_NAME&includes=fullpath
210210
```
211211
@@ -215,7 +215,7 @@ Create a role assignment for the user-defined function to run under. If no role
215215
216216
1. Paste the returned `spacePaths` value into **path** to create a user-defined function role assignment by making an authenticated HTTP POST request to:
217217
218-
```plaintext
218+
```URL
219219
YOUR_MANAGEMENT_API_URL/roleassignments
220220
```
221221
With JSON body:
@@ -233,7 +233,7 @@ Create a role assignment for the user-defined function to run under. If no role
233233
| --- | --- |
234234
| YOUR_DESIRED_ROLE_IDENTIFIER | The identifier for the desired role |
235235
| YOUR_USER_DEFINED_FUNCTION_ID | The ID for the user-defined function you want to use |
236-
| YOUR_USER_DEFINED_FUNCTION_TYPE_ID | The ID specifying the user-defined function type |
236+
| YOUR_USER_DEFINED_FUNCTION_TYPE_ID | The ID specifying the user-defined function type (`UserDefinedFunctionId`) |
237237
| YOUR_ACCESS_CONTROL_PATH | The access control path |
238238
239239
>[!TIP]

0 commit comments

Comments
 (0)