如何删除 Azure 本地数据网关连接网关安装?
How to remove Azure On-Premises Data Gateway connection gateway installations?
Azure On-Premises Data Gateway 在 Azure 的虚拟机上安装了错误的 Azure 区域设置。卸载on-premises Data Gateway后,原来的连接网关安装并没有被移除,也无法再创建新的同名连接网关。我什至尝试删除虚拟机以查看它们是否会消失。这没有影响。
在 Azure 门户中创建本地数据网关时,我仍然可以 select 旧安装名称。
还有以下要求returns那些安装:
https://management.azure.com/subscriptions/{subscriptionId}/Microsoft.Web/locations/northeurope/connectionGatewayInstallations?api-version=2015-08-01-preview
我尝试通过对 connectionGatewayInstallations 端点的 DELETE
http 请求删除它们,但返回了 400 错误请求:
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 有任何想法吗?
看起来这个问题已经自行解决了。连接网关安装的端点 uri 已在 api 中更改,旧连接现已消失。
Azure On-Premises Data Gateway 在 Azure 的虚拟机上安装了错误的 Azure 区域设置。卸载on-premises Data Gateway后,原来的连接网关安装并没有被移除,也无法再创建新的同名连接网关。我什至尝试删除虚拟机以查看它们是否会消失。这没有影响。
在 Azure 门户中创建本地数据网关时,我仍然可以 select 旧安装名称。
还有以下要求returns那些安装:
https://management.azure.com/subscriptions/{subscriptionId}/Microsoft.Web/locations/northeurope/connectionGatewayInstallations?api-version=2015-08-01-preview
我尝试通过对 connectionGatewayInstallations 端点的 DELETE
http 请求删除它们,但返回了 400 错误请求:
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 有任何想法吗?
看起来这个问题已经自行解决了。连接网关安装的端点 uri 已在 api 中更改,旧连接现已消失。