Skip to content

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

Open
shenach wants to merge 6 commits into
Azure:mainfrom
shenach:providerhub-2026-02-01-preview
Open

Update API version of ProviderHub CLI to 2026-02-01-preview#10119
shenach wants to merge 6 commits into
Azure:mainfrom
shenach:providerhub-2026-02-01-preview

Conversation

@shenach

@shenach shenach commented Jul 15, 2026

Copy link
Copy Markdown

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 @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 @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
yonzhan requested a review from necusjz July 15, 2026 22:21
@yonzhan

yonzhan commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

ProviderHub

@Pan-Qi

Pan-Qi commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines

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

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants