github Azure/azure-iot-cli-extension v0.19.0
azure-iot 0.19.0

latest releases: v0.25.0, v0.24.0, v0.23.1...
20 months ago

IoT Hub updates

  • Addition of az iot hub message-endpoint and az iot hub message-route commands, which function similarly to
    existing az iot hub routing-endpoint and az iot hub route commands respectively. These new commands will
    use the newer IoT Hub Service API (2022-04-30-preview) if the Azure CLI supports it (min version 2.43.0). If the
    Azure CLI is not updated, the older API version will be used. A new endpoint type, Cosmos DB Containers is added
    with the newer API. Most of the command and parameter structure is the same, except for creation of endpoints,
    in which the type is specified in the command as so:
  • az iot hub message-endpoint create cosmosdb-container
    • Hidden if the Azure CLI version does not support it.
  • az iot hub message-endpoint create eventhub
  • az iot hub message-endpoint create servicebus-queue
  • az iot hub message-endpoint create servicebus-topic
  • az iot hub message-endpoint create storage-container

Other notable changes which are not affected by API versions include:

  • Addition of fallback route management through az iot hub message-route fallback set and
    az iot hub message-route fallback show

  • Modification of how route testing works for testing all route sources. If az iot hub message-route test is called
    without specifying a route name or type, all types will be tested rather than only DeviceMessage routes.

  • Addition of new parameters --custom-labels and --custom-metrics for az iot hub configuration create and
    az iot edge deployment create to let users input labels and metrics in key=value pair format.

Digital Twins updates

  • Addition of User Assigned Identities for data history connections. The command az dt data-history connection create adx
    now can take an extra parameter --mi-user-assigned to use an associated User Assigned Identity for the connection
    creation rather than the system assigned identity for the Digital Twin.
  • Some minor improvements to command documentation involving managed identities.

IoT Edge updates

  • Introduces a new experimental command az iot edge devices create that enables advanced IoT Edge device creation and configuration.
    This command allows users to specify either multiple inline arguments (--device property=value) or a configuration file
    to create multiple edge devices (including nested device scenarios) and configure their deployments.

    If an output path is specified, this command will also create tar files containing each device's certificate bundle, an IoT Edge
    config.toml config file and an installation script to configure a target Edge device with these settings.

IoT DPS updates

  • Removed file extension restriction for attached certificates in individual enrollments and enrollment groups creation/update commands,
    and added suggested certificate format in --help docs.

Device Update

  • Refactored file hash operations for better performance and to overcome Windows 32-bit process memory constraints.
  • Removed import manifest schema upper limit of file size in bytes.

Don't miss a new azure-iot-cli-extension release

NewReleases is sending notifications on new releases.