Releases: Azure/azure-iot-cli-extension
azure-iot 0.23.1
azure-iot 0.23.0
Digital Twins updates
-
Updated Digital Twin dataplane API to use 2023-10-31. Affected commands:
az dt job deletion
is now GA. Deletion jobs now have an option to add a timeout in minutes to cancel long-running jobs.az dt job import
,az dt model
, andaz dt twin
now use the newer API but functionality remains the same.
IoT Hub updates
- Deprecation of
az iot hub certificate root-authority
. If your hub still uses a certificate on the Baltimore CyberTrust root,
your hub will be migrated to the DigiCert Global G2 root in the next wave. For any issues, email iot-ca-updates@microsoft.com.
This command will be removed in a later release.
azure-iot 0.22.0
General updates
- Dropped support for Python 3.7. The IoT extension is now constrained to Python 3.8 or greater.
If for whatever reason you cannot upgrade from 3.7 you are able to use older extension versions.
IoT Hub updates
- Fix for
iot hub state
commands failing on IoT Hubs missing certain ARM properties - Minor updates to support GA of Cosmos DB container message endpoints
azure-iot 0.21.5
Digital Twins updates
- Addition of
az dt job deletion
to create deletion jobs. This job will delete all models, twins, and relationships, replacingaz dt reset
. The deletion jobs cannot be canceled or deleted. The added commands are:az dt job deletion create
az dt job deletion list
az dt job deletion show
- The command
az dt reset
is deprecated and will be removed in a later update.
azure-iot 0.21.4
IoT Hub updates
-
Add command group
az iot hub message-endpoint update
, which will allow you to update your message endpoint without deleting it. -
The IoT Hub name (
--hub-name
) can now be the IoT Hub name or hostname. This allows for RBAC authentication method (--auth-type login
) to skip resource lookup if a hostname is provided. If properties beyond those that can be determined from the hostname are needed, resource lookup will still occur. Commands that do not support authentication methods will require the IoT Hub name.
IoT DPS updates
- The DPS name (
--dps-name
) can now be the DPS name or hostname. This allows for RBAC authentication method (--auth-type login
) to skip resource lookup if a hostname is provided. If properties beyond those that can be determined from the hostname are needed, resource lookup will still occur.
azure-iot 0.21.3
Digital Twins updates
- Updated Digital Twin dataplane API to use 2023-06-30. Affected commands:
az dt job import
is now GA.az dt model
andaz dt twin
now use the newer API but functionality remains the same.
azure-iot 0.21.2
IoT Hub updates
- Fixed issue where
az iot hub monitor-events
would hang when message payload cannot be decoded as unicode. az iot hub state migrate
will now use the origin IoT Hub's resource group when the destination IoT Hub's resource group is not given.
IoT device updates
az iot device send-d2c-message
andaz iot device c2d-message send
now support providing message data from a file using the--data-file-path
argument.az iot device c2d-message receive
will now show a warning, along with other event properties, if the message payload cannot be decoded.
IoT Product
- Deprecation of
az iot product
. This command group will be removed in a future release.
azure-iot 0.21.1
IoT Hub updates
- Improved help for az iot edge deployment create to better describe layered deployments.
- The command az iot edge export-modules is now GA.
azure-iot 0.21.0
General updates
- The Azure IoT CLI extension min core CLI version incremented to
2.37.0
.
Digital Twins updates
- Fix to ensure policy key retrieval during Digital Twin endpoint creation works. Affected command group:
az dt endpoint create *
. - Addition of temporary experimental parameter
--max-models-per-batch
foraz dt model create
to let user adjust batch size when directory exceeds 250 models. Use to avoid DTDLParser errors.
azure-iot 0.20.0
IoT Hub updates
-
Addition of the
az iot hub state
command group which introduces commands to save, upload, and copy states between IoT Hubs. This will
allow for easier migration of IoT Hubs when changing location, IoT Hub SKU, number of Event Hub partitions and more.
For more information, please read the trouble shooting guide here.The commands are as follows:
az iot hub state export
to save the current state of an IoT Hub to a JSON file.az iot hub state import
to upload a state from a JSON file to an IoT Hub.az iot hub state migrate
to copy a state of an IoT Hub to another IoT Hub.
Digital Twins updates
- The Digital Twin controlplane commands will now use the newest API 2023-01-31. The following command groups are affected:
az dt create
,az dt delete
,az dt list
,az dt reset
,az dt show
,az dt wait
az dt data-history
az dt endpoint
az dt identity
az dt network
az dt route
- Added new options for creating a data history connection and deleting one. The create command,
az dt data-history connection create adx
,
now supports adding two separate tables for relationship lifecycle events and twin lifecycle events, recording property and item removals,
and adding the new default for the generic table name (now known as property event table). The delete command,
az dt data-history connection delete
, now supports a clean parameter which will do a best-effort attempt to clean connection creation artifacts.