How to use Azure CLI to create the multiple version of APIM #30372
Labels
API Management
az apim
Auto-Assign
Auto assign by bot
Auto-Resolve
Auto resolve by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Service Attention
This issue is responsible by Azure service team.
Describe the bug
I can create multiple versions for APIs via the Azure portal, and I know these versions are version set.
But if I tried the Azure CLI commands, they did not work well and I even cant find a valid example from the official document.
eg:
I need each version APIs is loading from a different OpenAPI.json and from a same URL
Related command
Errors
It does not create the multiple versions, and it shows the latest version, that means overwrite the previous one
Issue script & Debug output
sorry no outstanding error message
Expected behavior
If I have three version, I hope I can get three rather than overwrite each other
Environment Summary
azure-cli 2.61.0 *
core 2.61.0 *
telemetry 1.1.0
Dependencies:
msal 1.28.0
azure-mgmt-resource 23.1.1
Python location '/usr/local/Cellar/azure-cli/2.61.0/libexec/bin/python'
Extensions directory '/Users/zhaol/.azure/cliextensions'
Python (Darwin) 3.11.9 (main, Apr 2 2024, 08:25:04) [Clang 15.0.0 (clang-1500.1.0.2.5)]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
No response
The text was updated successfully, but these errors were encountered: