Skip to content

Conversation

@bsomeshekar
Copy link
Member

@bsomeshekar bsomeshekar commented Sep 18, 2025


Azure CLI to manage Site resources scoped to a resource group, subscription, or service group.

AAZ PR: https://github.com/Azure/aaz/pull/859/checks

Related command

az site create -n sitename
az site update -n sitename
az site delete -n sitename
az site show -n sitename
az site list

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 September 18, 2025 12:46
@azure-client-tools-bot-prd
Copy link

Validation for Breaking Change Starting...

Thanks for your contribution!

@yonzhan
Copy link
Collaborator

yonzhan commented Sep 18, 2025

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>

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 adds a new Azure CLI extension called "site" that provides commands to manage Site resources across different scopes (resource group, subscription, and service group). The extension enables CRUD operations for Azure Edge Sites through a comprehensive command-line interface.

  • Implements full CRUD operations (create, read, update, delete, list) for Site resources
  • Supports multi-scope operations (resource group, subscription, service group)
  • Includes comprehensive test coverage and example usage documentation

Reviewed Changes

Copilot reviewed 23 out of 23 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
src/site/setup.py Package configuration and metadata for the site extension
src/site/azext_site/tests/latest/test_site.py Comprehensive test suite covering CRUD operations across different scopes
src/site/azext_site/aaz/latest/site/_*.py Auto-generated command implementations for create, delete, list, show, and update operations
src/site/README.md Documentation with usage examples for all supported operations
Multiple init.py and configuration files Extension structure and initialization files

@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

Hi @bsomeshekar

⚠️ Release Requirements

Module: site

  • ⚠️ Please update VERSION to be 1.0.0b1 in src/site/setup.py

Notes

@github-actions github-actions bot added the release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. label Sep 18, 2025
@yonzhan yonzhan requested review from jsntcy and kairu-ms September 18, 2025 13:20
@bsomeshekar bsomeshekar removed the release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. label Sep 18, 2025
@bsomeshekar
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Commenter does not have sufficient privileges for PR 9181 in repo Azure/azure-cli-extensions

@github-actions github-actions bot added the release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. label Sep 18, 2025
@kairu-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@kairu-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@kairu-ms kairu-ms added skip-cal-version and removed release-version-block Updates do not qualify release version rules. NOTE: please do not edit it manually. labels Sep 26, 2025
@kairu-ms
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@bsomeshekar
Copy link
Member Author

@kairu-ms Could you please approve PR if changes look good

@necusjz necusjz merged commit 4a4e750 into Azure:main Sep 30, 2025
25 checks passed
@azclibot
Copy link
Collaborator

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants