question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Complete az apim commands

See original GitHub issue

Is your feature request related to a problem? Please describe. Azure API Management is a critical, core service for creating modern web architectures, particularly when coupled with app service, functions, etc. The az apim module is missing nearly all required functionality to create and manage apis, policies, products, etc within apim. The feature request is to complete the module, to get it on parity with Powershell: https://docs.microsoft.com/en-us/powershell/module/azurerm.apimanagement/?view=azurermps-6.13.0

It is really unfortunate to use az cli for 95% of code and then switch to ARM/Powershell.

Describe the solution you’d like Complete the az apim module to reach parity with ARM/Powershell (https://docs.microsoft.com/en-us/powershell/module/azurerm.apimanagement/?view=azurermps-6.13.0)

Describe alternatives you’ve considered ARM or Powershell, but switching languages/platforms is cumbersome when the rest is using az cli.

Additional context If possible, if this is planned or being planned, could you provide a timeline so that we can plan our roadmaps accordingly?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

4reactions
ciwchriscommented, Apr 4, 2020

If it helps, I am able to create a Developer tier API Management service, as shown in the help of the apim command, but not a Consumption tier, which is also shown in the help.

az apim create
  --name my-app -g my-rg -l westus --sku-name Consumption \
  --publisher-email me@example.com --publisher-name Example

Results in:

validation error: Parameter ‘ApiManagementServiceSkuProperties.capacity’ can not be None.

0reactions
mikaelvesavuoricommented, Dec 19, 2020

Totally agree and would love to see a full (or at least fuller) support. One of our teams has worked during the fall with serverless Function apps fronted by APIM, and we find ourselves in a lot of issues that we have to hack around (some including manual labor). As far as I am concerned, I don’t think the bash version of az apim is production-ready as it works currently. Our use cases relate to serverless microservice architectures, where (unrelated but may be contextually interesting) the poor fit between Serverless Framework (the Azure provider specifically) is what lead us to do things with bash instead. We were totally caught off-guard on that even the bash CLI wasn’t up to snuff.

Read more comments on GitHub >

github_iconTop Results From Across the Web

az apim api - Microsoft Learn
Commands ; az apim api release list. Lists all releases of an API. ; az apim api release show. Returns the details of...
Read more >
Azure CLI: Call Azure REST API Directly - Build5Nines
The Azure CLI itself will make calls to the Azure REST API to perform actions that each of the Azure CLI ( az...
Read more >
Update Azure APIM API from an OpenAPI Definition using az ...
This is a quick post on how you can update Azure APIM API from an OpenAPI definition using az apim command group.
Read more >
Azure API call - az apim update - update customProperties
@tester81. Command group 'apim' is experimental and under development.I tested the functionality at my end and I was encountering the same ...
Read more >
Easily configure Azure API Management with bicep and az-cli
Although the az apim command is still under development, I would certainly choose it to configure api's in API Management. It forces you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found