Releases: Azure/azure-iot-cli-extension
azure-iot 0.11.0
IoT Central updates
-
Adds preview commands (v1.1-preview):
- Organizations (az iot central organization)
- File Upload Configuration (az iot central file-upload-config)
- Jobs (az iot central job)
-
Adds x-ms-client-request-id header for each request
Breaking Changes
-
List commands like
az iot central device list
and others,
now return list of items instead of a main dict with item ids as keys and items as values.Involved commands:
az iot central device list
az iot central device-template list
az iot central api-token list
az iot central user list
azure-iot 0.10.17
IoT Hub updates
- Fixed an issue in
0.10.16
causing IoT Hub command failure in Windows MSI environment.
azure-iot 0.10.16
Not Recommended for usage. Use 0.10.17
+.
IoT Central updates
- Adds support for listing devices.
- Adds support for listing device templates.
IoT Hub updates
- Device simulation overhaul (
az iot device simulate
). Device simulation is experimental and subject to change.
Please take a look at the--help
docs for functionality and usage highlights. - Device and module identity creation support usage of custom symmetric keys.
azure-iot 0.10.15
IoT Central updates
- Adds support for listing device groups
- Adds support for listing roles and get role by id
azure-iot 0.10.14
IoT Central updates
- Adds support to run root/interface level device commands.
- Adds support to get command history for root/interface level device commands.
- The
--interface-id
parameter for commands "device command run" , "device command history" changed to optional.
IoT Hub updates
-
Decoding fix for
az iot hub c2d-message receive
- the command will use the "ContentEncoding" header value (which indicates the message body encoding) or fallback toutf-8
to decode the received message body. -
Addition for
az iot hub generate-sas-token
- the command will allow offline generation of SAS tokens using a connection string (via--connection-string
). -
Changes to Edge validation for
set-modules
andedge deployment
creation:By default only properties of system modules
$edgeAgent
and$edgeHub
are validated against schemas installed with the IoT extension.
This can be disabled by using the--no-validation
switch.
Azure Digital Twins updates
-
Addition of the following commands
az dt reset
- Preview command which deletes all data entities from the target instance (models, twins, twin relationships).
azure-iot 0.10.13
General Update
- Min CLI core version raised to
2.17.1
azure-iot 0.10.12
IoT Central updates
-
Public API GA update
- Remove preview tag for api-token, device, device-template, user routes. Default routes use central GA API's.
- Add support for preview and 1.0 routes.
- Addition of the optional
--av
argument to specify the version of API for the requested operation.
IoT Hub updates
-
Removed deprecated edge offline commands and artifacts.
-
Removed deprecated device-identity | module-identity show-connection-string commands.
-
Most commands against IoT Hub support Azure AD based access. The type of auth
used to execute commands can be controlled with the--auth-type
parameter
which accepts the valueskey
orlogin
. The value ofkey
is set by default.-
When
--auth-type
has the value ofkey
, like before the CLI will auto-discover
a suitable policy when interacting with iothub. -
When
--auth-type
has the valuelogin
, an access token from the Azure CLI logged in principal
will be used for the operation. -
The following commands currently remain with key based access only.
az iot hub monitor-events
az iot device c2d-message receive
az iot device c2d-message complete
az iot device c2d-message abandon
az iot device c2d-message reject
az iot device c2d-message purge
az iot device send-d2c-message
az iot device simulate
-
For more information about IoT Hub support for AAD visit: https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-dev-guide-azure-ad-rbac
Azure Digital Twins updates
-
Addition of the following commands
az dt model delete-all
- Deletes all models associated with the Digital Twins instance.
azure-iot 0.10.11
IoT Hub updates
-
Fixed an issue where an explicit json
null
could not be sent for the following commands:az iot hub invoke-device-method
az iot hub invoke-module-method
-
When using
az iot hub connection-string show
against all hubs in a group or subscription, the command will now
show a warning instead of raising an error if a problem occurs obtaining a connection-string from a particular hub.
Azure Digital Twins updates
-
Addition of the following commands
az dt twin delete-all
- Deletes all digital twins within a Digital Twins instance.az dt twin relationship delete-all
- Deletes all digital twin relationships within a Digital Twins instance.
-
Fixed an issue in the following update commands where malformed json patch content would not raise an error
causing the process to call the respective service endpoint with a request payload containing an empty array. An error will now be raised.az dt twin update
az dt twin relationship update
az dt twin component update
IoT Central updates
-
Addition of the following commands
az iot central device manual-failover
- Execute a manual failover of device across multiple IoT Hubsaz iot central device manual-failback
- Reverts the previously executed failover command by moving the device back to it's original IoT Hub
For more information about device high availability visit https://github.com/iot-for-all/iot-central-high-availability-clients#readme
azure-iot 0.10.10
Azure Digital Twins updates
Addition of the optional --etag
argument for the following commands:
az dt twin
[update
|delete
]az dt twin relationship
[update
|delete
]
Addition of the optional --if-not-match
switch for the following commands:
az dt twin create
az dt twin relationship create
azure-iot 0.10.9
Azure IoT Product Certification service updates
- Fix bug for
az iot product test create
sending malformed base64 string.
Azure Digital Twins updates
- Addition of Digital Twins Identity support focused around Managed Service Identity (MSI) and Identity based endpoint integration.
- Addition of Digital Twins networking functionality around private-links and private-endpoint connections. See
az dt network
.
IoT Hub updates
- Improve http debug logging.
- Fix bug related to issue #296. Adds a clause to device-identity update that allows user to update primary-key / secondary-key
and primary-thumbprint / secondary-thumbprint values (respectively, per auth method) without needing to specify the auth_method in the update command.