Azure/azure-iot-ops-cli-extension

Support for asset´s custom properties are missing for az iot ops asset create

Closed this issue · 5 comments

Describe the bug
Azure IoT Operations portal recently introduced custom properties for assets apart from the eight existing preconfigured manufacturer, url, software-revision, hardware-revision etc. ones.
While the 8 preconfigured ones are available as parameters, a parameter collection for the generic custom properties is still missing for the az iot ops asset create command

To Reproduce
facilitate az iot ops asset create command --> no parameter for custom properties available

Expected behavior
custom-properties collection parameter

Screenshots
image

Additional context
This is a real requirement from customers because custom properties are a great extension to store asset´s metadata which you can also break down to tag level by e.g. tag1.property notation.

Thanks for letting us know! We will include custom attributes in the next release.

Awesome, thanks!!! Should we leave this issue open for tracking?

Yea let's leave this issue open until the update gets merged & released.

v0.5.0b2 is released with requested functionality via --attr / --custom-attribute. Example usage in az iot ops asset create --help. Let us know if you run into any issues, and we can re-open.

Awesome, thanks for your support...we will try this out and let you know if we face any issue.