azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Azure IoT deployment configuration

Open mgolczyk opened this issue 6 years ago • 3 comments

az feedback auto-generates most of the information requested below, as of CLI version 2.3.1

Describe the bug Azure IoT Edge Device deployment configuration has below entries:

        "$edgeAgent": {
            "properties.desired": {
                "schemaVersion": "1.0",

acording to your manual dot char is a delimiter for json keys --set Update an object by specifying a property path and value to set. Example: --set property1**.**property2=. so it seems not possible to update any variable under properties.desired key

To Reproduce deploy any module to the IoT Edge Device and try to update version of docker (bash) e.g.

az iot edge deployment update -d DEPLOYMENT_NAME -n HUB_MODULE --set "content.modulesContent.$edgeAgent.properties.desired.MODULE.settings.image"="DOCKER_REGISTRY_ADDRESS/DOCKER_NAME:NEW_VERSION"

Expected behavior please provide one of listed solutions

  • please correct my command line and shows how to escape . char in properties.desired or how to workaround this
  • fix an issue
  • if you think that azure portal team is responsible for this issue then please redirect it to them.

Environment summary

Additional context

mgolczyk avatar May 28 '20 16:05 mgolczyk

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @rkmanda, @chieftn.

ghost avatar May 29 '20 00:05 ghost

iot edge

yonzhan avatar May 29 '20 00:05 yonzhan

@Azure/azure-iot-cli-triage

yiyiguo avatar Sep 15 '20 22:09 yiyiguo