在Azure中的虚拟机上安装了Azure On-Premises Data Gateway错误的Azure区域设置。卸载本地Data Gateway后,不会删除原始连接网关安装,并且不能再创建具有相同名称的新连接。我甚至尝试删除虚拟机以查看它们是否会消失。这没有任何影响。
在Azure门户中创建本地数据网关时,我仍然可以选择旧的安装名称。
以下请求也会返回这些安装:
https://management.azure.com/subscriptions/{subscriptionId}/Microsoft.Web/locations/northeurope/connectionGatewayInstallations?api-version=2015-08-01-preview
我尝试使用DELETE
http请求将其删除到connectionGatewayInstallations端点,但是返回了400 Bad Request:
https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Web/locations/northeurope/connectionGatewayInstallations/{connectionGatewayInstallationId}?api-version=2015-08-01-preview
{
"error": {
"code": "DisallowedResourceOperation",
"message": "The operation 'delete' on resource type 'locations/connectionGatewayInstallations' is disallowed."
}
}
有任何想法如何删除这些connectionGatewayInstallations?
答案 0 :(得分:0)
看起来此问题已解决。连接网关安装的端点uri已在api中更改,旧连接现已消失。