gpt4 book ai didi

Azure API 管理 - 禁用网关 : doesn't have permission to perform action 'join/action' on subnet?

转载 作者:行者123 更新时间:2023-12-03 00:00:49 24 4
gpt4 key购买 nike

我有 Azure API 管理 - 高级版,部署在西部和东部两个位置。

我想通过运行以下 Azure cli 禁用东部位置

az apim update --name apimx --resource-group rg --set additionalLocations[0].disableGateway=true

它抛出以下错误

doesn't have permission to perform action 'join/action' on the linked scope(s) /subscription/..../subnets/APIM

为什么它尝试更新子网以及会发生什么样的更新?

最佳答案

关于How to use Azure API Management with virtual networks它提到的页面

The VIP address of the API Management instance will change each time VNET is enabled or disabled. The VIP address will also change when API Management is moved from External to Internal, or vice-versa.

因此,东部和西部的每个位置可能都有自己的 VIP,这就是 VNet 内正在更新的内容。

API 管理资源还可以根据其文档中的评论使用子网委派:

Enabling endpoints directly from API Management delegated subnet to these services allows them to use the Microsoft Azure backbone network providing optimal routing for service traffic.

所以我假设如果您打开和关闭它,它会更新 VNet

关于Azure API 管理 - 禁用网关 : doesn't have permission to perform action 'join/action' on subnet?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65084748/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com