{AKS} Drop dependency on models using API version 2020-03-01 in the SDK#31848
{AKS} Drop dependency on models using API version 2020-03-01 in the SDK#31848zhoxing-ms merged 1 commit intoAzure:devfrom
Conversation
️✔️AzureCLI-FullTest
|
️✔️AzureCLI-BreakingChangeTest
|
There was a problem hiding this comment.
Pull Request Overview
This PR removes dependencies on the outdated Azure Container Service API version 2020-03-01 from the Azure CLI SDK. The changes update import statements to use the latest API models and clean up version-specific configurations.
- Updates container service model imports to use the latest API version instead of 2020-03-01
- Removes API version mapping configuration for ManagedClusterAddonProfile from the shared profiles
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| test_custom.py | Updates import statement to use latest containerservice models instead of v2020_03_01 |
| _shared.py | Removes outdated API version mapping for MGMT_CONTAINERSERVICE ResourceType |
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
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). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
Related command
Description
{AKS} Drop dependency on models using API version 2020-03-01 in the SDK.
Testing Guide
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 featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.