You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-hub/iot-hub-devguide-device-twins.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -282,11 +282,11 @@ Tags, desired properties, and reported properties are JSON objects with the foll
282
282
283
283
## Device twin size
284
284
285
-
IoT Hub enforces an 8 KB size limit on the value of `tags`, and a 32 KB size limit each on the value of `properties/desired` and `properties/reported`. These totals are exclusive of read-only elements, such as [device twin metadata](#device-twin-metadata) elements like `$etag`, `$version`, and `$lastUpdated`.
285
+
IoT Hub enforces an 8 KB size limit on the value of `tags`, and a 32 KB size limit each on the value of `properties/desired` and `properties/reported`. These totals are exclusive of read-only elementslike `$etag`, `$version`, and `$metadata/$lastUpdated`.
286
286
287
-
The size is computed by counting all characters, excluding UNICODE control characters (segments C0 and C1) and spaces that are outside of string constants.
287
+
The size is computed by counting all characters, excluding UNICODE control characters (segments C0 and C1) and spaces that are outside of string constants.
288
288
289
-
For example, consider the following JSON fragment for reported properties. Device twin metadata elements like `$version` and `$lastUpdated` are not shown as they are excluded from computation of the property size limit.
289
+
For example, consider the following JSON fragment for reported properties. Read-only elements like `$version` and `$metadata/$lastUpdated` are not shown as they are excluded from computation of the property size limit.
290
290
291
291
```json
292
292
"properties" : {
@@ -304,7 +304,7 @@ For example, consider the following JSON fragment for reported properties. Devic
304
304
}
305
305
```
306
306
307
-
The size of the reported properties would be computed based on the UTF-8 encoded value of the following JSON, which represents the value of `properties/reported` with the white-space removed:
307
+
The size of the reported properties for this fragment would be computed based on the UTF-8 encoded value of the following JSON, which represents the value of `properties/reported` with the white-space removed:
308
308
309
309
```json
310
310
{"intProperty":14000,"boolProperty":true,"floatProperty":1.463E+2,"stringProperty":"This is a string value","objectProperty":{"property1":1,"property2":2}}
@@ -367,8 +367,6 @@ For example:
367
367
368
368
This information is kept at every level (not just the leaves of the JSON structure) to preserve updates that remove object keys.
369
369
370
-
In addition to timestamp metadata, IoT Hub also maintains read-only, versioning metadata. This metadata is represented by the `$etag` element for tags and in the `$version` element for the desired and reported properties. See the next section for details.
371
-
372
370
## Optimistic concurrency
373
371
374
372
Tags, desired, and reported properties all support optimistic concurrency.
0 commit comments