Skip to content

Conversation

@feliperezende-barbosa
Copy link

Related command

az apim backend create
az apim backend update
az apim backend show
az apim backend list
az apim backend delete

Description

Added a new subcommand for API Management. The new subcommand is az apim backend and it´s able to create, list, show, update and delete a Backend service.

Testing Guide

az apim backend create
az apim backend update
az apim backend show
az apim backend list
az apim backend delete

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature


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

Copilot AI review requested due to automatic review settings January 15, 2026 20:56
@azure-client-tools-bot-prd
Copy link

Validation for Azure CLI Full Test Starting...

Thanks for your contribution!

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

Validation for Breaking Change Starting...

Thanks for your contribution!

@yonzhan
Copy link
Collaborator

yonzhan commented Jan 15, 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>

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 backend management capabilities to the Azure API Management CLI. It introduces a new az apim backend command group with full CRUD operations for managing backend services in API Management instances.

Changes:

  • Added five new commands for backend management: create, update, show, list, and delete
  • Updated test URLs to use the current GitHub repository structure (main branch instead of master)
  • Added comprehensive test coverage for all backend operations
  • Minor cleanup in test structure (removed duplicate variable assignment, updated decorator prefix)

Reviewed changes

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

Show a summary per file
File Description
src/azure-cli/azure/cli/command_modules/apim/custom.py Implements CRUD functions for backend operations
src/azure-cli/azure/cli/command_modules/apim/commands.py Registers backend command group and operations
src/azure-cli/azure/cli/command_modules/apim/_params.py Defines CLI parameters and arguments for backend commands
src/azure-cli/azure/cli/command_modules/apim/_help.py Adds help documentation and examples for backend commands
src/azure-cli/azure/cli/command_modules/apim/_client_factory.py Adds backend client factory
src/azure-cli/azure/cli/command_modules/apim/tests/latest/test_apim_scenario.py Adds comprehensive backend operation tests and updates test URLs
.gitignore Adds .venv/ directory to gitignore

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

feliperezende-barbosa and others added 3 commits January 15, 2026 18:09
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API Management az apim Auto-Assign Auto assign by bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants