【问题标题】:Can I use management azure api for Azure APIM analytics我可以将管理 azure api 用于 Azure APIM 分析吗
【发布时间】:2020-07-06 03:44:23
【问题描述】:

我想使用以下 API 来计算 Azure APIM 分析并自定义它的输出。

但微软文档并未涵盖 API。我可以使用这个 API 还是我遗漏了一些东西。

我担心的是我如何知道 Microsoft 是否在内部更改了他们的 API 或停止支持他们。 (此 API 在 Postman 中为我提供了有效授权的预期结果) API 帖子 -

https://management.azure.com/batch?api-version=2015-11-01

请求正文 -

{
    "requests": [
        {
            "url": "/subscriptions{subscription_Name}resourceGroups/{resource_group_name}/providers/Microsoft.ApiManagement/service/{APIM_name}/reports/bytime?api-version=2019-01-01&$filter=timestamp ge 2019-03-25T09:41:34.144Z and  timestamp le 2019-04-25T10:41:34.144Z&interval=PT24H",
            "httpMethod": "GET",
            "name": "resource_Guid",
            "requestHeaderDetails": {
                "commandName": "Microsoft_Azure_ApiManagement."
            }
        }
    ]
}

【问题讨论】:

标签: azure azure-api-management api-management apim


【解决方案1】:

我不确定是否记录了 /batch API,尽管 Azure 门户确实经常使用它,但除非你找到公共文档,否则我不建议使用它。 Azure APIM 报告 API 已记录并支持:https://docs.microsoft.com/en-us/rest/api/apimanagement/2019-01-01/reports

【讨论】:

猜你喜欢
  • 2021-02-02
  • 1970-01-01
  • 2020-03-16
  • 1970-01-01
  • 1970-01-01
  • 2015-08-28
  • 1970-01-01
  • 2021-08-04
  • 2021-09-13
相关资源
最近更新 更多