Schemas
Command
Property | Type | Description |
---|---|---|
encoding |
The encoding of the command |
|
mode |
If the command should be sent actively after the period expired. |
|
period* |
|
The period when a command will be sent out to reconcile. |
CommandEncoding
One of:
-
string
-
Property Type Description | Property | Type | Description
a|
|
string
a|
a|
|
string
a|
-
Property Type Description channel*string
DesiredFeature
Property | Type | Description |
---|---|---|
lastUpdate* |
(date-time) |
The timestamp the desired value was last updated. |
method |
The method of reconciliation. |
|
mode |
The mode this value should be applied with. |
|
reconciliation |
The current reconciliation state of the desired value. |
|
validUntil |
(date-time) |
An optional indication until when the desired value is valid. |
value |
The value the system desired the device to apply. If the value is not set, then nothing will be reconciled. |
DesiredFeatureReconciliation
One of:
-
Property Type Description lastAttempt
string
(date-time)
state*string
-
reconciling
-
-
Property Type Description state*string
-
succeeded
when*string
(date-time)
-
-
Property Type Description reason
string
state*string
-
failed
when*string
(date-time)
-
-
Property Type Description state*string
-
disabled
when*string
(date-time)
-
DesiredFeature_value
The value the system desired the device to apply. If the value is not set, then nothing will be reconciled.
Unknown
DesiredStateUpdate
A more flexible update struct for [DesiredFeature
].
Property | Type | Description |
---|---|---|
method |
||
mode |
||
reconciliation |
||
validFor |
|
Durations in a format intended for humans: The format uses a combination of amount and time unit (like: h, m, s) to define a duration. For example:
Time units are:
|
validUntil |
(date-time) |
|
value |
Metadata
Property | Type | Description |
---|---|---|
annotations |
Map of
|
|
application* |
|
|
creationTimestamp |
(date-time) |
|
deletionTimestamp |
(date-time) |
|
generation |
(uint32) |
|
labels |
Map of
|
|
name* |
|
|
resourceVersion |
|
|
uid |
|
Thing
The full thing model.
Property | Type | Description |
---|---|---|
desiredState |
Map of DesiredFeature |
|
metadata* |
||
reconciliation |
||
reportedState |
Map of ReportedFeature |
|
schema |
||
syntheticState |
Map of SyntheticFeature |
Timer
Property | Type | Description |
---|---|---|
initialDelay |
|
an optional, initial delay. if there is none, the time will be run the first time it is configured |
lastLog |
List of
|
the logs of the last run |
lastRun |
(date-time) |
the timestamp the timer last ran |
lastStarted |
(date-time) |
the latest timestamp the timer was started |
period* |
|
the period the timer is scheduled |
stopped |
|
A flag to stop the timer |