From cee30dfb2fffc8fa579c737bccc081d0cd68a177 Mon Sep 17 00:00:00 2001 From: Ryan Kelly Date: Mon, 10 Nov 2025 15:28:14 -0800 Subject: [PATCH 1/2] Adds IoT Extension v0.30.0b1 (preview) to index --- src/index.json | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) diff --git a/src/index.json b/src/index.json index 6acf3f012f6..21fa8362b7c 100644 --- a/src/index.json +++ b/src/index.json @@ -32584,6 +32584,103 @@ "version": "0.27.0" }, "sha256Digest": "c2c8cd75c60382fab7dce11dbe2f8fe410e3b7f515c9ec70bfae3e830eececf9" + }, + { + "downloadUrl": "https://github.com/Azure/azure-iot-cli-extension/releases/download/v0.30.0b1/azure_iot-0.30.0b1-py3-none-any.whl", + "filename": "azure_iot-0.30.0b1-py3-none-any.whl", + "metadata": { + "azext.isPreview": true, + "azext.minCliCoreVersion": "2.67.0", + "classifiers": [ + "Development Status :: 4 - Beta", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "Programming Language :: Python", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "License :: OSI Approved :: MIT License" + ], + "extensions": { + "python.details": { + "contacts": [ + { + "email": "iotupx@microsoft.com", + "name": "Microsoft", + "role": "author" + } + ], + "document_names": { + "description": "DESCRIPTION.rst" + }, + "project_urls": { + "Home": "https://github.com/azure/azure-iot-cli-extension" + } + } + }, + "extras": [ + "uamqp" + ], + "generator": "bdist_wheel (0.30.0)", + "license": "MIT", + "license_file": "LICENSE", + "metadata_version": "2.0", + "name": "azure-iot", + "requires_python": ">=3.9", + "run_requires": [ + { + "requires": [ + "azure-core (<2.0.0,>=1.24.0)", + "azure-core<2.0.0,>=1.24.0", + "azure-identity (<1.18.0,>=1.6.1)", + "azure-identity<1.18.0,>=1.6.1", + "azure-iot-device (~=2.11)", + "azure-iot-device~=2.11", + "azure-mgmt-core (<2.0.0,>=1.3.0)", + "azure-mgmt-core<2.0.0,>=1.3.0", + "azure-storage-blob (<13.0.0,>=12.14.0)", + "azure-storage-blob<13.0.0,>=12.14.0", + "jsonschema (~=3.2.0)", + "jsonschema~=3.2.0", + "msrest (>=0.6.21)", + "msrest>=0.6.21", + "msrestazure (<2.0.0,>=0.6.3)", + "msrestazure<2.0.0,>=0.6.3", + "packaging (>=23.2)", + "packaging>=23.2", + "rich (<14.0,>=13.6)", + "rich<14.0,>=13.6", + "tomli (~=2.0)", + "tomli-w (~=1.0)", + "tomli-w~=1.0", + "tomli~=2.0", + "tqdm (~=4.62)", + "tqdm~=4.62", + "treelib (~=1.6)", + "treelib~=1.6" + ] + }, + { + "extra": "uamqp", + "requires": [ + "uamqp (<=1.6.8,>=1.2)" + ] + }, + { + "environment": "extra == \"uamqp\"", + "requires": [ + "uamqp<=1.6.8,>=1.2" + ] + } + ], + "summary": "The Azure IoT extension for Azure CLI.", + "version": "0.30.0b1" + }, + "sha256Digest": "c05c57c9e81fa7f2dd0fe49f74bd1792fd1783d582007bbd1328588b9e738ccb" } ], "azure-iot-ops": [ From 0472f678869ab92f3d3ac25faf7668977852d035 Mon Sep 17 00:00:00 2001 From: Ryan Kelly Date: Mon, 10 Nov 2025 15:29:06 -0800 Subject: [PATCH 2/2] linter updates for IoT commands --- linter_exclusions.yml | 62 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/linter_exclusions.yml b/linter_exclusions.yml index 81937685407..ce4aaa82bca 100644 --- a/linter_exclusions.yml +++ b/linter_exclusions.yml @@ -1207,6 +1207,14 @@ import-export update: backup_drive_manifest: rule_exclusions: - option_length_too_long +iot adr ns policy update: + parameters: + certificate_key_type: + rule_exclusions: + - no_parameter_defaults_for_update_commands + certificate_validity_days: + rule_exclusions: + - no_parameter_defaults_for_update_commands iot central enrollment-group update: parameters: api_version: @@ -1315,21 +1323,52 @@ iot central user update: iot du update: rule_exclusions: - require_wait_command_if_no_wait +iot dps enrollment list: + rule_exclusions: + - no_ids_for_list_commands iot dps enrollment update: parameters: auth_type_dataplane: rule_exclusions: - no_parameter_defaults_for_update_commands +iot dps enrollment-group list: + rule_exclusions: + - no_ids_for_list_commands +iot dps enrollment-group registration list: + rule_exclusions: + - no_ids_for_list_commands iot dps enrollment-group update: parameters: auth_type_dataplane: rule_exclusions: - no_parameter_defaults_for_update_commands +iot dps linked-hub create: + parameters: + apply_allocation_policy: + rule_exclusions: + - option_length_too_long + hub_resource_group: + rule_exclusions: + - parameter_should_not_end_in_resource_group +iot dps linked-hub update: + parameters: + apply_allocation_policy: + rule_exclusions: + - option_length_too_long +iot dps registration list: + rule_exclusions: + - no_ids_for_list_commands +iot hub certificate list: + rule_exclusions: + - no_ids_for_list_commands iot hub configuration update: parameters: auth_type_dataplane: rule_exclusions: - no_parameter_defaults_for_update_commands +iot hub consumer-group list: + rule_exclusions: + - no_ids_for_list_commands iot hub device-identity update: parameters: auth_type_dataplane: @@ -1370,6 +1409,9 @@ iot hub message-endpoint create storage-container: endpoint_resource_group: rule_exclusions: - parameter_should_not_end_in_resource_group +iot hub message-endpoint list: + rule_exclusions: + - no_ids_for_list_commands iot hub message-endpoint update cosmosdb-container: parameters: endpoint_resource_group: @@ -1395,6 +1437,12 @@ iot hub message-endpoint update storage-container: endpoint_resource_group: rule_exclusions: - parameter_should_not_end_in_resource_group +iot hub message-enrichment list: + rule_exclusions: + - no_ids_for_list_commands +iot hub message-route list: + rule_exclusions: + - no_ids_for_list_commands iot hub module-identity update: parameters: auth_type_dataplane: @@ -1405,6 +1453,20 @@ iot hub module-twin update: auth_type_dataplane: rule_exclusions: - no_parameter_defaults_for_update_commands +iot hub policy list: + rule_exclusions: + - no_ids_for_list_commands +iot hub route list: + rule_exclusions: + - no_ids_for_list_commands +iot hub routing-endpoint create: + parameters: + endpoint_resource_group: + rule_exclusions: + - parameter_should_not_end_in_resource_group +iot hub routing-endpoint list: + rule_exclusions: + - no_ids_for_list_commands iot hub state migrate: parameters: orig_resource_group_name: