Skip to content

Azure IoT deployment configuration #13729

Open

Description

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    IoTIotHubaz iotService AttentionThis issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions