How to get the total requests count for that particular API using powershell.

Suneetha Busi 1 Reputation point
2020-09-23T15:01:51.167+00:00

In Azure portal, if we navigate to API management service, under analytics option, we can get the total requests count for that particular API. Likewise, we have multiple API management service, so to get the count we are going to each API to get the request count, so if we get the PS command to retrieve the detail, we can easily automate it

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,784 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,591 Reputation points Microsoft Employee
    2020-09-24T06:44:31.387+00:00

    Unfortunately, there isn't a dedicated cmdlet to get the reports that you see in the portal but instead would have to leverage the Report REST APIs. On the bright side, you could still invoke these REST APIs using the Invoke-AzRestMethod cmdlet.

    For a dedicated cmdlet for the same, please feel free to raise a feature request for the same.

    0 comments No comments