Skip to content

Update API version of ProviderHub CLI to 2026-02-01-preview - #10119

Merged
JaysonTaiMicrosoft merged 7 commits into
Azure:mainfrom
shenach:providerhub-2026-02-01-preview
Oct 15, 2026
Merged

JaysonTaiMicrosoft merged 7 commits into
Azure:mainfrom
shenach:providerhub-2026-02-01-preview

Conversation

@shenach

@shenach Shena Hoffmann (shenach) commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

🤖 PR Validation — ⚠️ Review suggested

Breaking Changes
⚠️ None
⚠️Azure CLI Extensions Breaking Change Test
⚠️providerhub
rule cmd_name rule_message suggest_message
⚠️ 1006 - ParaAdd providerhub custom-rollout create cmd providerhub custom-rollout create added parameter rollout_id
⚠️ 1006 - ParaAdd providerhub custom-rollout update cmd providerhub custom-rollout update added parameter rollout_id
⚠️ 1006 - ParaAdd providerhub provider-registration create cmd providerhub provider-registration create added parameter enable_preset_resource_types
⚠️ 1006 - ParaAdd providerhub provider-registration create cmd providerhub provider-registration create added parameter feature_approval_claims
⚠️ 1006 - ParaAdd providerhub provider-registration create cmd providerhub provider-registration create added parameter feature_management_owners
⚠️ 1006 - ParaAdd providerhub provider-registration create cmd providerhub provider-registration create added parameter lifecycle_info
⚠️ 1006 - ParaAdd providerhub provider-registration create cmd providerhub provider-registration create added parameter obo_subscription_id
⚠️ 1010 - ParaPropUpdate providerhub provider-registration create cmd providerhub provider-registration create update parameter metadata: updated property aaz_type from AAZFreeFormDictArg to AAZDictArg
⚠️ 1010 - ParaPropUpdate providerhub provider-registration create cmd providerhub provider-registration create update parameter metadata: updated property nargs from * to +
⚠️ 1006 - ParaAdd providerhub provider-registration delete cmd providerhub provider-registration delete added parameter no_wait
⚠️ 1006 - ParaAdd providerhub provider-registration update cmd providerhub provider-registration update added parameter enable_preset_resource_types
⚠️ 1006 - ParaAdd providerhub provider-registration update cmd providerhub provider-registration update added parameter feature_approval_claims
⚠️ 1006 - ParaAdd providerhub provider-registration update cmd providerhub provider-registration update added parameter feature_management_owners
⚠️ 1006 - ParaAdd providerhub provider-registration update cmd providerhub provider-registration update added parameter lifecycle_info
⚠️ 1006 - ParaAdd providerhub provider-registration update cmd providerhub provider-registration update added parameter obo_subscription_id
⚠️ 1010 - ParaPropUpdate providerhub provider-registration update cmd providerhub provider-registration update update parameter metadata: updated property aaz_type from AAZFreeFormDictArg to AAZDictArg
⚠️ 1010 - ParaPropUpdate providerhub provider-registration update cmd providerhub provider-registration update update parameter metadata: updated property nargs from * to +
⚠️ 1006 - ParaAdd providerhub resource-type-registration create cmd providerhub resource-type-registration create added parameter allowed_unauthorized_actions_extensions
⚠️ 1006 - ParaAdd providerhub resource-type-registration create cmd providerhub resource-type-registration create added parameter lifecycle_info
⚠️ 1006 - ParaAdd providerhub resource-type-registration create cmd providerhub resource-type-registration create added parameter resource_deletion_policies
⚠️ 1006 - ParaAdd providerhub resource-type-registration create cmd providerhub resource-type-registration create added parameter super_scale_enabled
⚠️ 1006 - ParaAdd providerhub resource-type-registration create cmd providerhub resource-type-registration create added parameter write_lock
⚠️ 1010 - ParaPropUpdate providerhub resource-type-registration create cmd providerhub resource-type-registration create update parameter marketplace_type: updated property choices from ['AddOn', 'Bypass', 'NotSpecified', 'Store'] to ['AddOn', 'Bypass', 'NotSpecified', 'ProviderHub', 'Store']
⚠️ 1010 - ParaPropUpdate providerhub resource-type-registration create cmd providerhub resource-type-registration create update parameter resource_deletion_policy: updated property choices from ['CascadeDeleteAll', 'CascadeDeleteProxyOnlyChildren', 'NotSpecified'] to ['CascadeDeleteAll', 'CascadeDeleteProxyOnlyChildren', 'NotSpecified', 'SoftDelete']
⚠️ 1006 - ParaAdd providerhub resource-type-registration update cmd providerhub resource-type-registration update added parameter allowed_unauthorized_actions_extensions
⚠️ 1006 - ParaAdd providerhub resource-type-registration update cmd providerhub resource-type-registration update added parameter lifecycle_info
⚠️ 1006 - ParaAdd providerhub resource-type-registration update cmd providerhub resource-type-registration update added parameter resource_deletion_policies
⚠️ 1006 - ParaAdd providerhub resource-type-registration update cmd providerhub resource-type-registration update added parameter super_scale_enabled
⚠️ 1006 - ParaAdd providerhub resource-type-registration update cmd providerhub resource-type-registration update added parameter write_lock
⚠️ 1010 - ParaPropUpdate providerhub resource-type-registration update cmd providerhub resource-type-registration update update parameter marketplace_type: updated property choices from ['AddOn', 'Bypass', 'NotSpecified', 'Store'] to ['AddOn', 'Bypass', 'NotSpecified', 'ProviderHub', 'Store']
⚠️ 1010 - ParaPropUpdate providerhub resource-type-registration update cmd providerhub resource-type-registration update update parameter resource_deletion_policy: updated property choices from ['CascadeDeleteAll', 'CascadeDeleteProxyOnlyChildren', 'NotSpecified'] to ['CascadeDeleteAll', 'CascadeDeleteProxyOnlyChildren', 'NotSpecified', 'SoftDelete']

This checklist is used to make sure that common guidelines for a pull request are followed.

Related command

az providerhub

General Guidelines

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run python scripts/ci/test_index.py -q locally? (pip install azdev required)
  • My extension version conforms to the Extension version schema

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.json automatically.
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.

Copilot AI review requested due to automatic review settings July 15, 2026 18:42
@azure-client-tools-bot-prd

azure-client-tools-bot-prd Bot commented Jul 15, 2026 •

Copy link
Copy Markdown
⚠️Azure CLI Extensions Breaking Change Test
⚠️providerhub
rule cmd_name rule_message suggest_message
⚠️ 1006 - ParaAdd providerhub custom-rollout create cmd providerhub custom-rollout create added parameter rollout_id
⚠️ 1006 - ParaAdd providerhub custom-rollout update cmd providerhub custom-rollout update added parameter rollout_id
⚠️ 1006 - ParaAdd providerhub provider-registration create cmd providerhub provider-registration create added parameter enable_preset_resource_types
⚠️ 1006 - ParaAdd providerhub provider-registration create cmd providerhub provider-registration create added parameter feature_approval_claims
⚠️ 1006 - ParaAdd providerhub provider-registration create cmd providerhub provider-registration create added parameter feature_management_owners
⚠️ 1006 - ParaAdd providerhub provider-registration create cmd providerhub provider-registration create added parameter lifecycle_info
⚠️ 1006 - ParaAdd providerhub provider-registration create cmd providerhub provider-registration create added parameter obo_subscription_id
⚠️ 1010 - ParaPropUpdate providerhub provider-registration create cmd providerhub provider-registration create update parameter metadata: updated property aaz_type from AAZFreeFormDictArg to AAZDictArg
⚠️ 1010 - ParaPropUpdate providerhub provider-registration create cmd providerhub provider-registration create update parameter metadata: updated property nargs from * to +
⚠️ 1006 - ParaAdd providerhub provider-registration delete cmd providerhub provider-registration delete added parameter no_wait
⚠️ 1006 - ParaAdd providerhub provider-registration update cmd providerhub provider-registration update added parameter enable_preset_resource_types
⚠️ 1006 - ParaAdd providerhub provider-registration update cmd providerhub provider-registration update added parameter feature_approval_claims
⚠️ 1006 - ParaAdd providerhub provider-registration update cmd providerhub provider-registration update added parameter feature_management_owners
⚠️ 1006 - ParaAdd providerhub provider-registration update cmd providerhub provider-registration update added parameter lifecycle_info
⚠️ 1006 - ParaAdd providerhub provider-registration update cmd providerhub provider-registration update added parameter obo_subscription_id
⚠️ 1010 - ParaPropUpdate providerhub provider-registration update cmd providerhub provider-registration update update parameter metadata: updated property aaz_type from AAZFreeFormDictArg to AAZDictArg
⚠️ 1010 - ParaPropUpdate providerhub provider-registration update cmd providerhub provider-registration update update parameter metadata: updated property nargs from * to +
⚠️ 1006 - ParaAdd providerhub resource-type-registration create cmd providerhub resource-type-registration create added parameter allowed_unauthorized_actions_extensions
⚠️ 1006 - ParaAdd providerhub resource-type-registration create cmd providerhub resource-type-registration create added parameter lifecycle_info
⚠️ 1006 - ParaAdd providerhub resource-type-registration create cmd providerhub resource-type-registration create added parameter resource_deletion_policies
⚠️ 1006 - ParaAdd providerhub resource-type-registration create cmd providerhub resource-type-registration create added parameter super_scale_enabled
⚠️ 1006 - ParaAdd providerhub resource-type-registration create cmd providerhub resource-type-registration create added parameter write_lock
⚠️ 1010 - ParaPropUpdate providerhub resource-type-registration create cmd providerhub resource-type-registration create update parameter marketplace_type: updated property choices from ['AddOn', 'Bypass', 'NotSpecified', 'Store'] to ['AddOn', 'Bypass', 'NotSpecified', 'ProviderHub', 'Store']
⚠️ 1010 - ParaPropUpdate providerhub resource-type-registration create cmd providerhub resource-type-registration create update parameter resource_deletion_policy: updated property choices from ['CascadeDeleteAll', 'CascadeDeleteProxyOnlyChildren', 'NotSpecified'] to ['CascadeDeleteAll', 'CascadeDeleteProxyOnlyChildren', 'NotSpecified', 'SoftDelete']
⚠️ 1006 - ParaAdd providerhub resource-type-registration update cmd providerhub resource-type-registration update added parameter allowed_unauthorized_actions_extensions
⚠️ 1006 - ParaAdd providerhub resource-type-registration update cmd providerhub resource-type-registration update added parameter lifecycle_info
⚠️ 1006 - ParaAdd providerhub resource-type-registration update cmd providerhub resource-type-registration update added parameter resource_deletion_policies
⚠️ 1006 - ParaAdd providerhub resource-type-registration update cmd providerhub resource-type-registration update added parameter super_scale_enabled
⚠️ 1006 - ParaAdd providerhub resource-type-registration update cmd providerhub resource-type-registration update added parameter write_lock
⚠️ 1010 - ParaPropUpdate providerhub resource-type-registration update cmd providerhub resource-type-registration update update parameter marketplace_type: updated property choices from ['AddOn', 'Bypass', 'NotSpecified', 'Store'] to ['AddOn', 'Bypass', 'NotSpecified', 'ProviderHub', 'Store']
⚠️ 1010 - ParaPropUpdate providerhub resource-type-registration update cmd providerhub resource-type-registration update update parameter resource_deletion_policy: updated property choices from ['CascadeDeleteAll', 'CascadeDeleteProxyOnlyChildren', 'NotSpecified'] to ['CascadeDeleteAll', 'CascadeDeleteProxyOnlyChildren', 'NotSpecified', 'SoftDelete']

@azure-client-tools-bot-prd

Copy link
Copy Markdown

Hi Shena Hoffmann (@shenach),
Please write the description of changes which can be perceived by customers into HISTORY.rst.
If you want to release a new extension version, please update the version in setup.py as well.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@microsoft-github-policy-service microsoft-github-policy-service Bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Jul 15, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

Thank you for your contribution Shena Hoffmann (@shenach)! We will review the pull request and get back to you soon.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request updates the providerhub Azure CLI extension to target the 2026-02-01-preview ProviderHub management-plane API version, regenerating AAZ command implementations/schemas to match the newer contract.

Changes:

  • Bump ProviderHub API version references across AAZ-generated commands to 2026-02-01-preview.
  • Extend command argument/schema shapes for newly supported properties (e.g., lifecycle info, deletion policies, write lock, feature management fields, etc.).
  • Update extension packaging metadata (extension version bump, minimum CLI core version bump).

Reviewed changes

Copilot reviewed 39 out of 39 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/providerhub/setup.py Bumps extension package version.
src/providerhub/HISTORY.rst Adds a new release-history entry for the API-version update.
src/providerhub/azext_providerhub/azext_metadata.json Raises minimum supported Azure CLI core version.
src/providerhub/azext_providerhub/aaz/latest/providerhub/resource_type_registration/_wait.py Updates API version + expands response schema for resource type registration.
src/providerhub/azext_providerhub/aaz/latest/providerhub/resource_type_registration/_update.py Updates API version + adds/extends arguments and schema mappings for resource type registration updates.
src/providerhub/azext_providerhub/aaz/latest/providerhub/resource_type_registration/_show.py Updates API version + expands response schema for resource type registration.
src/providerhub/azext_providerhub/aaz/latest/providerhub/resource_type_registration/_list.py Updates API version + expands list response schema for resource type registration.
src/providerhub/azext_providerhub/aaz/latest/providerhub/resource_type_registration/_delete.py Updates API version + adjusts delete operation wiring (no-wait/LRO pattern).
src/providerhub/azext_providerhub/aaz/latest/providerhub/resource_type_registration/_create.py Updates API version + adds/extends create-time arguments and schema mappings.
src/providerhub/azext_providerhub/aaz/latest/providerhub/provider_registration/resource_action/_delete_resource.py Updates API version + tightens resource-id typing to resource ID arg.
src/providerhub/azext_providerhub/aaz/latest/providerhub/provider_registration/_wait.py Updates API version + expands provider registration response schema.
src/providerhub/azext_providerhub/aaz/latest/providerhub/provider_registration/_update.py Updates API version + adds/extends provider registration update arguments and schema mappings.
src/providerhub/azext_providerhub/aaz/latest/providerhub/provider_registration/_show.py Updates API version + expands provider registration response schema.
src/providerhub/azext_providerhub/aaz/latest/providerhub/provider_registration/_list.py Updates API version + expands provider registration list response schema.
src/providerhub/azext_providerhub/aaz/latest/providerhub/provider_registration/_generate_operation.py Updates API version + adjusts generate-operations response shape/schema.
src/providerhub/azext_providerhub/aaz/latest/providerhub/provider_registration/_delete.py Updates API version + enables no-wait/LRO poller behavior for delete.
src/providerhub/azext_providerhub/aaz/latest/providerhub/provider_registration/_create.py Updates API version + adds/extends provider registration create arguments and schema mappings.
src/providerhub/azext_providerhub/aaz/latest/providerhub/manifest/_generate.py Updates API version + updates manifest-generate schema and help example text.
src/providerhub/azext_providerhub/aaz/latest/providerhub/manifest/_checkin.py Updates API version + updates manifest-checkin schema and help example text.
src/providerhub/azext_providerhub/aaz/latest/providerhub/default_rollout/_wait.py Updates API version + expands default rollout response schema (including nested provider/resource-type info).
src/providerhub/azext_providerhub/aaz/latest/providerhub/default_rollout/_stop.py Updates API version + adjusts argument validation pattern escaping.
src/providerhub/azext_providerhub/aaz/latest/providerhub/default_rollout/_show.py Updates API version + expands default rollout response schema.
src/providerhub/azext_providerhub/aaz/latest/providerhub/default_rollout/_list.py Updates API version + expands default rollout list response schema.
src/providerhub/azext_providerhub/aaz/latest/providerhub/default_rollout/_delete.py Updates API version + adjusts argument validation pattern escaping.
src/providerhub/azext_providerhub/aaz/latest/providerhub/custom_rollout/_wait.py Updates API version + expands custom rollout response schema.
src/providerhub/azext_providerhub/aaz/latest/providerhub/custom_rollout/_stop.py Updates API version + adjusts argument validation pattern escaping.
src/providerhub/azext_providerhub/aaz/latest/providerhub/custom_rollout/_show.py Updates API version + expands custom rollout response schema.
src/providerhub/azext_providerhub/aaz/latest/providerhub/custom_rollout/_list.py Updates API version + expands custom rollout list response schema.
src/providerhub/azext_providerhub/aaz/latest/providerhub/custom_rollout/_delete.py Updates API version + adjusts argument validation pattern escaping.
src/providerhub/azext_providerhub/aaz/latest/providerhub/authorized_application/_wait.py Updates API version + expands authorized application response schema.
src/providerhub/azext_providerhub/aaz/latest/providerhub/authorized_application/_update.py Updates API version + adds support for excludeApplicationIdFromManifest in args/schema mappings.
src/providerhub/azext_providerhub/aaz/latest/providerhub/authorized_application/_show.py Updates API version + expands authorized application response schema.
src/providerhub/azext_providerhub/aaz/latest/providerhub/authorized_application/_list.py Updates API version + expands authorized application list response schema.
src/providerhub/azext_providerhub/aaz/latest/providerhub/authorized_application/_delete.py Updates API version for authorized application delete.
src/providerhub/azext_providerhub/aaz/latest/providerhub/authorized_application/_create.py Updates API version + adds support for excludeApplicationIdFromManifest in create args/schema mappings.

Comment thread src/providerhub/HISTORY.rst Outdated
@yonzhan

Copy link
Copy Markdown
Collaborator

ProviderHub

@Pan-Qi

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@x-engineering-agent

x-engineering-agent Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

X Engineering Agent Report

Review — Comments

Shena Hoffmann (@shenach)

Review

The completed upstream CI snapshot has no failures, but the generated-source ownership requirement remains unmet. Updated recordings exercise the new API version; they do not establish regression coverage for the newly added request/response fields. No additional runtime defect was confirmed in the inspected changed schemas.

The earlier Copilot comments are addressed or invalid at this head: HISTORY.rst and setup.py both declare 1.0.0b3, and manifest/_generate.py:22 contains the correctly closed --provider-namespace "{providerNamespace}" example.

Review-tool findings

Repository policy findings

Test validation

  • Agent live test: Not run; this is a review-only PR. Check author-provided test evidence and upstream CI separately.
  • Regression coverage: Not applicable to the changed files.

The automatic coverage result above does not verify extension scenarios. Author-provided recordings under src/providerhub/azext_providerhub/tests/latest/recordings/ were refreshed, but no test implementation changed. New claims/owners, authorization action/intent extensions, and min/max retention policy fields lack focused input and round-trip assertions. metadata now uses AAZDictType with AAZAnyType elements; a recorded boolean does not prove nested/null value preservation. Response occurrences of bucketSize do not prove its mapping with an assertion.

Add focused assertions in src/providerhub/azext_providerhub/tests/latest/test_providerhub_scenario_updated.py and refresh the corresponding test_step_provider_registration_create.yaml, test_step_provider_registration_update.yaml, test_step_resource_type_registration_create.yaml, test_step_resource_type_registration_update.yaml, and test_step_manifest_generate.yaml recordings beneath that directory's recordings/. Rerun those five matching test selectors with representative new fields, nested metadata and explicit output expectations before merge. Existing rollout list recordings show returned items but not a nextLink; multipage behavior remains unverified, not a confirmed defect. Preserve generated-output ownership by making model changes in the linked AAZ source and regenerating, rather than editing generated Python.

Risk assessment

100/100 · Critical · High confidence

The Critical rating is driven by security-sensitive behavior, public CLI behavior, dependency or supply chain and 2 additional signal(s).

  • Change scope: 68 changed files, 19292 changed lines (+18372 / -920), including 37 production files.
  • Affected components: providerhub
  • Risk drivers: security-sensitive behavior (+28); public CLI behavior (+18); dependency or supply chain (+18); failure-handling behavior (+12); generated output (+12)
  • Regression evidence: Changed regression tests are included, reducing risk.
  • Confidence: High because changed-line patches were available for every production file.
  • Required review: Owning-squad review is required for providerhub before merge.

Posted by x-engineering-agent (Reviewer)

@x-engineering-agent x-engineering-agent Bot added the X Engineering Agent Reviewed Agent reviewed this PR label Oct 15, 2026
@JaysonTaiMicrosoft

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@JaysonTaiMicrosoft

Copy link
Copy Markdown
Contributor

aaz pr: Azure/aaz#1126

@JaysonTaiMicrosoft
JaysonTaiMicrosoft merged commit b713161 into Azure:main Oct 15, 2026
36 checks passed
@azclibot

Copy link
Copy Markdown
Collaborator

[Release] Update index.json for extension [ providerhub-1.0.0b3 ] : https://dev.azure.com/msazure/One/_build/results?buildId=185871186&view=results

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

customer-reported Issues that are reported by GitHub users external to the Azure organization. Request X Engineering Agent Ask the agent to triage this issue or review this PR X Engineering Agent Reviewed Agent reviewed this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants