Skip to content

[CDN] Remove built-in command module#33336

Open
Ptnan7 wants to merge 1 commit intoAzure:devfrom
Ptnan7:remove-cdn-core-module
Open

[CDN] Remove built-in command module#33336
Ptnan7 wants to merge 1 commit intoAzure:devfrom
Ptnan7:remove-cdn-core-module

Conversation

@Ptnan7
Copy link
Copy Markdown
Member

@Ptnan7 Ptnan7 commented May 8, 2026

Summary

  • Remove the built-in az cdn and az afd command module from Azure CLI core after migration to the cdn extension.
  • Remove core command index/service metadata mappings and the azure-mgmt-cdn dependency/resource type mapping.
  • Replace Synapse name availability request usage with the Synapse SDK model so core no longer depends on the CDN SDK.

Testing

  • azdev linter synapse --rule-types command_groups commands help_entries params
  • az cdn -h
  • az afd -h
  • az cdn profile list -h
  • az afd profile list -h

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

Validation for Azure CLI Full Test Starting...

Thanks for your contribution!

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

Validation for Breaking Change Starting...

Thanks for your contribution!

Copy link
Copy Markdown
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.

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented May 8, 2026

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

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

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>

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