Skip to content

Generate AAZ commands for confluent Resources#9618

Open
Shekar2004 wants to merge 1 commit intoAzure:mainfrom
Shekar2004:feature-aaz-confluent-gen-pgnanashekar
Open

Generate AAZ commands for confluent Resources#9618
Shekar2004 wants to merge 1 commit intoAzure:mainfrom
Shekar2004:feature-aaz-confluent-gen-pgnanashekar

Conversation

@Shekar2004
Copy link
Member


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

Related command

Related command az confluent.

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 wheel==0.30.0 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 February 18, 2026 04:26
@azure-client-tools-bot-prd
Copy link

Validation for Breaking Change Starting...

Thanks for your contribution!

@azure-client-tools-bot-prd
Copy link

Hi @Shekar2004,
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.

@yonzhan
Copy link
Collaborator

yonzhan commented Feb 18, 2026

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link

The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR.

Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@github-actions
Copy link

CodeGen Tools Feedback Collection

Thank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey

@github-actions
Copy link

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces a newly scaffolded Azure CLI extension (src/a-new-extension) containing a large set of auto-generated AAZ commands for Confluent resources under the az confluent ... command group.

Changes:

  • Adds a new extension package (a-new-extension) with loader, setup metadata, and placeholder docs/tests.
  • Adds auto-generated AAZ command group + command implementations for Confluent (agreement/organization/validation and nested subgroups).
  • Adds extension metadata (azext_metadata.json) marking the extension as preview and setting a minimum CLI core version.

Reviewed changes

Copilot reviewed 83 out of 83 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/a-new-extension/setup.py New extension packaging metadata and install configuration.
src/a-new-extension/setup.cfg Placeholder setup config file.
src/a-new-extension/README.md Placeholder extension README.
src/a-new-extension/HISTORY.rst Initial changelog entry.
src/a-new-extension/azext_a_new_extension/init.py Extension command loader that wires up AAZ command loading.
src/a-new-extension/azext_a_new_extension/_help.py Help registry import placeholder.
src/a-new-extension/azext_a_new_extension/_params.py Placeholder argument loader.
src/a-new-extension/azext_a_new_extension/commands.py Placeholder command table loader.
src/a-new-extension/azext_a_new_extension/custom.py Custom module scaffold (logger only).
src/a-new-extension/azext_a_new_extension/azext_metadata.json Extension metadata (preview + min CLI core version).
src/a-new-extension/azext_a_new_extension/tests/init.py Test package scaffold.
src/a-new-extension/azext_a_new_extension/tests/latest/init.py Test package scaffold for latest profile.
src/a-new-extension/azext_a_new_extension/tests/latest/test_a_new_extension.py Placeholder ScenarioTest class (no test content yet).
src/a-new-extension/azext_a_new_extension/aaz/init.py AAZ package scaffold.
src/a-new-extension/azext_a_new_extension/aaz/latest/init.py AAZ latest profile scaffold.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/init.py Root confluent AAZ command group import wiring.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/__cmd_group.py Registers root confluent command group.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/agreement/init.py Agreement subgroup import wiring.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/agreement/__cmd_group.py Registers confluent agreement command group.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/agreement/_list.py Implements confluent agreement list.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/agreement/default/init.py Default agreement subgroup import wiring.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/agreement/default/__cmd_group.py Registers confluent agreement default command group.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/agreement/default/_create.py Implements confluent agreement default create.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/init.py Organization subgroup import wiring.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/__cmd_group.py Registers confluent organization command group.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/_show.py Implements confluent organization show.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/_wait.py Implements confluent organization wait.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/_delete.py Implements confluent organization delete.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/_create_user.py Implements confluent organization create-user.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/_create_role_binding.py Implements confluent organization create-role-binding.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/_list_users.py Implements confluent organization list-users.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/_list_service_accounts.py Implements confluent organization list-service-accounts.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/_list_role_binding.py Implements confluent organization list-role-binding.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/_list_region.py Implements confluent organization list-region.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/access/init.py Access subgroup import wiring.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/access/__cmd_group.py Registers confluent organization access command group.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/access/default/init.py Default access subgroup import wiring.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/access/default/__cmd_group.py Registers confluent organization access default command group.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/access/default/_list_cluster.py Implements ... access default list-cluster.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/access/default/_list_environment.py Implements ... access default list-environment.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/access/default/_list_invitation.py Implements ... access default list-invitation.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/access/default/_list_role_binding_name_list.py Implements ... access default list-role-binding-name-list.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/api_key/init.py API key subgroup import wiring.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/api_key/__cmd_group.py Registers confluent organization api-key command group.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/api_key/_show.py Implements ... api-key show.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/api_key/_delete.py Implements ... api-key delete.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/role_binding/init.py Role-binding subgroup import wiring.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/role_binding/__cmd_group.py Registers ... role-binding command group.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/role_binding/_delete.py Implements ... role-binding delete.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/init.py Environment subgroup import wiring.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/__cmd_group.py Registers ... environment command group.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/_list.py Implements ... environment list.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/_show.py Implements ... environment show.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/init.py Cluster subgroup import wiring.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/__cmd_group.py Registers ... environment cluster command group.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/_list.py Implements ... environment cluster list.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/_show.py Implements ... environment cluster show.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/_create_api_key.py Implements ... environment cluster create-api-key.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/topic/init.py Topic subgroup import wiring.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/topic/__cmd_group.py Registers ... cluster topic command group.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/topic/_create.py Implements ... cluster topic create.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/topic/_delete.py Implements ... cluster topic delete.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/topic/_list.py Implements ... cluster topic list.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/topic/_show.py Implements ... cluster topic show.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/topic/_update.py Implements ... cluster topic update.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/connector/init.py Connector subgroup import wiring.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/connector/__cmd_group.py Registers ... cluster connector command group.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/connector/_create.py Implements ... cluster connector create.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/connector/_delete.py Implements ... cluster connector delete.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/connector/_list.py Implements ... cluster connector list.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/connector/_show.py Implements ... cluster connector show.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/cluster/connector/_update.py Implements ... cluster connector update.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/schema_registry_cluster/init.py Schema registry cluster subgroup import wiring.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/schema_registry_cluster/__cmd_group.py Registers ... schema-registry-cluster command group.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/schema_registry_cluster/_list.py Implements ... schema-registry-cluster list.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/organization/environment/schema_registry_cluster/_show.py Implements ... schema-registry-cluster show.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/validation/init.py Validation subgroup import wiring.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/validation/__cmd_group.py Registers confluent validation command group.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/validation/_orgvalidate.py Implements confluent validation orgvalidate.
src/a-new-extension/azext_a_new_extension/aaz/latest/confluent/validation/_orgvalidate_v2.py Implements confluent validation orgvalidate-v2.

Comment on lines +38 to +46
setup(
name='a-new-extension',
version=VERSION,
description='Microsoft Azure Command-Line Tools ANewExtension Extension.',
long_description=README + '\n\n' + HISTORY,
license='MIT',
author='Microsoft Corporation',
author_email='azpycli@microsoft.com',
url='https://github.com/Azure/azure-cli-extensions/tree/main/src/a-new-extension',
Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

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

This adds a brand-new extension package named a-new-extension, but it appears to implement az confluent ... commands. The repo already contains the existing src/confluent extension that owns the az confluent command group; shipping a second extension that registers the same command group will cause command table conflicts for users and in CI packaging. Consider moving these generated AAZ commands into src/confluent/azext_confluent/aaz/... (or otherwise ensuring the command group/extension name matches and does not collide).

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments