Azure / azure-cli

Azure Command-Line Interface
MIT License
3.97k stars 2.95k forks source link

Import function app api's to API Management with az commands #28894

Open chaitanyakudikala opened 4 months ago

chaitanyakudikala commented 4 months ago

Describe the bug

I'm trying to import function app api's to API management with Azure cli commands. But I don't find specific commands which do this operation.

Related command

az apim api import

Errors

Command create new api instead importing from function app to API management.

Issue script & Debug output

No bebug

Expected behavior

It should import the function app API and its operations to API Management.

Environment Summary

azure-cli 2.54.0 *

core 2.54.0 * telemetry 1.1.0

Extensions: front-door. 1.0.17

Dependencies: msal 1.24.0b2 azure-mgmt-resource 23.1.0b2

Python location '/usr/local/Cellar/azure-cli/2.55.0/libexec/bin/python' Extensions directory '/Users/username/.azure/cliextensions'

Python (Darwin) 3.11.6 (main, Oct 2 2023, 13:45:54) [Clang 15.0.0 (clang-1500.0.40.1)]

Additional context

No response

azure-client-tools-bot-prd[bot] commented 4 months ago

Hi @chaitanyakudikala,

2.55.0 is not the latest Azure CLI(2.60.0).

If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.

yonzhan commented 4 months ago

Thank you for opening this issue, we will look into it.

microsoft-github-policy-service[bot] commented 4 months ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @solankisamir, @mikebudzynski, @KedarJoshi, @yingru97.