зеркало из https://github.com/Azure/iotedgedev.git
Update docs with device tagging command (#506)
* Add docs on device tagging * Add tag command docs * Update docs/Command-List.md Co-authored-by: Eliise <selingeliise@gmail.com>
This commit is contained in:
Родитель
b237107c2c
Коммит
108812317b
|
@ -297,6 +297,10 @@ Options:
|
||||||
tags.environment='test' and properties.reported.devicemodel='4000x'. This property
|
tags.environment='test' and properties.reported.devicemodel='4000x'. This property
|
||||||
can be set via this parameter or in the .env under
|
can be set via this parameter or in the .env under
|
||||||
'IOTHUB_DEPLOYMENT_TARGET_CONDITION' [default: ;required]
|
'IOTHUB_DEPLOYMENT_TARGET_CONDITION' [default: ;required]
|
||||||
|
-dt, --device-tag TEXT Specify the tag to be added to the device twin.
|
||||||
|
For example, "{"environment":"dev"}". This property
|
||||||
|
can be set via this parameter or in the .env under
|
||||||
|
'DEVICE_TAGS'.
|
||||||
-h, --help Show this message and exit.
|
-h, --help Show this message and exit.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -542,3 +546,19 @@ Options:
|
||||||
-P, --platform TEXT Specify the platform [default: amd64]
|
-P, --platform TEXT Specify the platform [default: amd64]
|
||||||
-h, --help Show this message and exit.
|
-h, --help Show this message and exit.
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
## iotedgedev solution tag
|
||||||
|
|
||||||
|
```text
|
||||||
|
Usage: iotedgedev solution tag [OPTIONS]
|
||||||
|
|
||||||
|
Adds tags to device twin for automatic deployments
|
||||||
|
|
||||||
|
Options:
|
||||||
|
-t, --tags TEXT Specify the tag to be added to the device twin.
|
||||||
|
For example, "{"environment":"dev"}". This property
|
||||||
|
can be set via this parameter or in the .env under
|
||||||
|
'DEVICE_TAGS'. [default: ;required]
|
||||||
|
-h, --help Show this message and exit.
|
||||||
|
```
|
||||||
|
|
Загрузка…
Ссылка в новой задаче