Repository navigation
[connectedmachine] release stable version 2026-07-15 - #10271
Conversation
- Upgrade from API version 2026-06-16-preview to 2026-07-15 (stable) - Fix AAZ paging bugs in 14 list commands - Fix reconcile output null-safety - Add short parameter abbreviations for update command - Remove no-wait support from reconcile (no wait command exists) - Update test recordings to 2026-07-15 API - All tests passing (5 passed, 1 skipped) - All linter checks passing
|
Hi yaotongms, |
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
There was a problem hiding this comment.
Pull request overview
This PR promotes the connectedmachine extension to a stable 3.0.0 release while updating AAZ-generated command modules and test recordings to use the 2026-07-15 (stable) HybridCompute API version.
Changes:
- Bump extension version to
3.0.0and add a correspondingHISTORY.rstentry. - Update AAZ-generated command modules to
api-version=2026-07-15and adjust several generated schemas/operations. - Refresh test recordings to the
2026-07-15API.
Reviewed changes
Copilot reviewed 61 out of 65 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| src/connectedmachine/setup.py | Bumps extension package version to stable 3.0.0. |
| src/connectedmachine/HISTORY.rst | Adds release notes entry for 3.0.0 (2026-07-15 API). |
| src/connectedmachine/azext_connectedmachine/tests/latest/recordings/test_netowrk_configuration.yaml | Updates recorded NSP configuration calls to api-version=2026-07-15. |
| src/connectedmachine/azext_connectedmachine/tests/latest/recordings/test_identity.yaml | Updates recorded identity calls to api-version=2026-07-15. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/run_command/_wait.py | Updates run-command wait resource API version and schema helper naming. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/run_command/_show.py | Updates run-command show to 2026-07-15 and schema helper naming. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/run_command/_list.py | Updates run-command list to 2026-07-15 and schema helper naming. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/run_command/_delete.py | Updates run-command delete to 2026-07-15. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/run_command/_create.py | Updates run-command create to 2026-07-15 and modifies argument/schema generation (incl. managed identity/source shaping). |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_link_scope/network_security_perimeter_configuration/_show.py | Updates NSP configuration show to 2026-07-15 and helper naming. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_link_scope/network_security_perimeter_configuration/_reconcile.py | Updates reconcile to 2026-07-15 and removes generated no-wait behavior. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_link_scope/network_security_perimeter_configuration/_list.py | Updates NSP configuration list to 2026-07-15 and helper naming. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_link_scope/network_security_perimeter_configuration/init.py | Stops exporting the NSP configuration wait command module. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_link_scope/_wait.py | Updates private-link-scope wait to 2026-07-15 and operation naming. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_link_scope/_update.py | Updates private-link-scope update to 2026-07-15, refactors schema reuse, and reorganizes args. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_link_scope/_show.py | Updates private-link-scope show to 2026-07-15 and operation naming. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_link_scope/_list.py | Updates private-link-scope list to 2026-07-15 and operation naming. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_link_scope/_delete.py | Updates private-link-scope delete to 2026-07-15 and operation naming. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_link_scope/_create.py | Updates private-link-scope create to 2026-07-15 and reorganizes args. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_link_resource/_show.py | Updates private-link-resource show to 2026-07-15. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_link_resource/_list.py | Updates private-link-resource list to 2026-07-15. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_endpoint_connection/_wait.py | Updates private-endpoint-connection wait to 2026-07-15. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_endpoint_connection/_update.py | Updates private-endpoint-connection update to 2026-07-15 and refactors schema reuse. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_endpoint_connection/_show.py | Updates private-endpoint-connection show to 2026-07-15. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_endpoint_connection/_list.py | Updates private-endpoint-connection list to 2026-07-15. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/private_endpoint_connection/_delete.py | Updates private-endpoint-connection delete to 2026-07-15. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/license/_wait.py | Updates license wait to 2026-07-15. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/license/_validate.py | Updates validate to 2026-07-15 and reshapes input arguments/schema mapping. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/license/_update.py | Updates license update to 2026-07-15 and refactors schema reuse/arg grouping. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/license/_show.py | Updates license show to 2026-07-15. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/license/_list.py | Updates license list to 2026-07-15. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/license/_list_by_rg.py | Updates license list-by-rg to 2026-07-15. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/license/_delete.py | Updates license delete to 2026-07-15. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/license/_create.py | Updates license create to 2026-07-15 and reorganizes arg grouping. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/license_profile/_wait.py | Updates license-profile wait to 2026-07-15 and refactors error-detail schema typing. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/license_profile/_update.py | Updates license-profile update to 2026-07-15 and refactors schema reuse. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/license_profile/_show.py | Updates license-profile show to 2026-07-15 and refactors error-detail schema typing. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/license_profile/_list.py | Updates license-profile list to 2026-07-15 and refactors error-detail schema typing. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/license_profile/_delete.py | Updates license-profile delete to 2026-07-15. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/license_profile/_create.py | Updates license-profile create to 2026-07-15 and refactors error-detail schema typing. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/extension/type/_list.py | Updates extension type list to 2026-07-15 and operation naming. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/extension/publisher/_list.py | Updates extension publisher list to 2026-07-15 and operation naming. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/extension/image/_show.py | Updates extension image show to 2026-07-15 and operation naming. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/extension/image/_list.py | Updates extension image list to 2026-07-15 and operation naming. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/extension/_wait.py | Updates extension wait to 2026-07-15 and adjusts settings/protectedSettings schema typing. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/extension/_update.py | Updates extension update to 2026-07-15, refactors schema reuse, and reorganizes arg grouping. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/extension/_show.py | Updates extension show to 2026-07-15 and adjusts settings/protectedSettings schema typing. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/extension/_list.py | Updates extension list to 2026-07-15 and adjusts settings/protectedSettings schema typing. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/extension/_delete.py | Updates extension delete to 2026-07-15. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/extension/_create.py | Updates extension create to 2026-07-15 and reorganizes arg grouping. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/_wait.py | Updates machine wait to 2026-07-15 and refactors schema helpers/types. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/_upgrade_extension.py | Updates upgrade-extension to 2026-07-15 and operation naming. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/_show.py | Updates machine show to 2026-07-15 and refactors schema helpers/types. |
| src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/_delete.py | Updates machine delete to 2026-07-15. |
Suppressed comments (1)
src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/license/_validate.py:248
licenseDetailsis currently created unconditionally in the request payload (viaproperties.set_prop("licenseDetails", AAZObjectType)), which can result in sending an empty{}when the user doesn’t provide any license-details fields. Since the sample usage only requires--location, it’s safer to only includelicenseDetailswhen at least one of its fields is provided.
properties = _builder.get(".properties")
if properties is not None:
properties.set_prop("licenseDetails", AAZObjectType)
properties.set_prop("licenseType", AAZStrType, ".license_type")
properties.set_prop("tenantId", AAZStrType, ".tenant_id")
license_details = _builder.get(".properties.licenseDetails")
if license_details is not None:
license_details.set_prop("edition", AAZStrType, ".edition")
license_details.set_prop("processors", AAZIntType, ".processors")
license_details.set_prop("state", AAZStrType, ".state")
license_details.set_prop("target", AAZStrType, ".target")
license_details.set_prop("type", AAZStrType, ".type")
license_details.set_prop("volumeLicenseDetails", AAZListType, ".volume_license_details")
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
connectedmachine |
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
…parameters - Add --error-blob-id and --output-blob-id as backward-compatible aliases - Document all breaking changes in HISTORY.rst for 3.0.0 major version - Script parameters moved to --source object (documented as breaking) - Identity management moved to dedicated commands (documented as breaking)
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
- Add top-level --command-id, --script, --script-uri, --script-uri-managed-identity as aliases - Automatically map top-level parameters to --source object in pre_operations - Maintains backward compatibility while supporting new structured --source syntax - Fixes breaking change violations for run-command create/update
- Re-added --identity parameter with type field for identity management - Maintains backward compatibility with 3.0.0b1 - Users can use --identity type=<value> for simple identity type changes - Dedicated identity commands still available for user-assigned identities - Fixes ParaRemove breaking change violation for identity parameter
|
/azp run |
|
Azure Pipelines: Successfully started running 2 pipeline(s). |
|
[Release] Update index.json for extension [ connectedmachine-3.0.0 ] : https://dev.azure.com/msazure/One/_build/results?buildId=178661400&view=results |
🤖 PR Validation — ❌ Action needed
❌Azure CLI Extensions Breaking Change Test
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>locally? (pip install azdevrequired)python scripts/ci/test_index.py -qlocally? (pip install azdevrequired)For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.jsonautomatically.You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify
src/index.json.