Azure API 管理 - 多个 Azure 区域部署,禁用区域?
Azure API Management - multiple Azure regions deployment, disable a region?
我想在 1 个主动区域和 1 个被动区域中设置 Azure API 管理服务 - 例如:主动:西部和被动:东部。 但是这两个区域尽管辅助位置将被禁用,但应该始终保持同步。
我已经使用高级 SKU 预配了 Azure API 管理服务并配置了两个区域
根据这个 article 我们现在可以使用 disableGateway 属性 禁用区域 API 网关中的 API 流量。
我使用了 REST API 并更新了 disableGateway 属性
但是我仍然可以访问区域 URL。
如何设置 disableGateway 以禁用 East 区域 API 网关?
disableGateway
属性 表示 API 管理的网关(URL https://myapim.azure-api.net for example) would not route traffic to the disabled region of the APIM instance. However if you use the regional URL directly (for example, https://myapim-eastus-01.regional.azure-api.net), it is still up and running like a passive instance and continue to have billing. True disabling would need you to delete 来自 APIM 实例的位置。
您提到的文章提到:
You can now use the disableGateway property to disable API traffic in regional API gateways. After adding a new region, you can initially keep it disabled to first configure and test the regional backend service.
这意味着只有从 APIM 网关到它的流量被禁用,您仍然可以使用区域端点的直接 URL 进行测试。
我想在 1 个主动区域和 1 个被动区域中设置 Azure API 管理服务 - 例如:主动:西部和被动:东部。 但是这两个区域尽管辅助位置将被禁用,但应该始终保持同步。
我已经使用高级 SKU 预配了 Azure API 管理服务并配置了两个区域
根据这个 article 我们现在可以使用 disableGateway 属性 禁用区域 API 网关中的 API 流量。
我使用了 REST API 并更新了 disableGateway 属性
但是我仍然可以访问区域 URL。
如何设置 disableGateway 以禁用 East 区域 API 网关?
disableGateway
属性 表示 API 管理的网关(URL https://myapim.azure-api.net for example) would not route traffic to the disabled region of the APIM instance. However if you use the regional URL directly (for example, https://myapim-eastus-01.regional.azure-api.net), it is still up and running like a passive instance and continue to have billing. True disabling would need you to delete 来自 APIM 实例的位置。
您提到的文章提到:
You can now use the disableGateway property to disable API traffic in regional API gateways. After adding a new region, you can initially keep it disabled to first configure and test the regional backend service.
这意味着只有从 APIM 网关到它的流量被禁用,您仍然可以使用区域端点的直接 URL 进行测试。