api - 使用 api 管理配置服务结构 api 时出错
问题描述
我正在尝试使用 ARM 模板通过 API 管理网关配置托管在服务结构集群中的 Api。我收到以下错误:
New-AzureRmResourceGroupDeployment:晚上 9:08:39 - 资源 Microsoft.ApiManagement/service 'RCISAPIGateway' 失败并显示消息
{
"code": "UpdateApiServiceFailed",
"message": "Subnet Subnet-0 is in use by /subscriptions/d1b97a81-6cd1-4929-bd0b-afc8eedb8ee7/resourceGroups/RCIS_ResourceGroup/providers/Microsoft.Network/networkInterfaces/|providers|Microsoft.Compute|virtualMachineScaleSets|nod06rcis|virtualMachines|0|networkInterfaces|NIC-comsvfab06rciscimax-0/ipConfigurations/NIC-comsvfab06rciscimax-0 and cannot be updated with resource navigation links for external resources.",
"details": null,
"innerError": null
}
我的问题是:
- 我该如何解决这个问题?
- 有什么方法可以从 Azure 门户为 Service Fabric 配置 API 管理?
解决方案
我认为不可能将两种不同的资源添加到 Azure 中的同一个 VNET 子网中。尝试为 APIM 服务添加单独的子网。
推荐阅读
- sql - 如何使用 Sql Query 从 Excel 中的同一列中获取多条记录
- sonarqube - Sonarqube-7.9.1 HeapDumpOnOutOfMemoryError
- android - 统一构建错误。[无法安装以下 Android SDK 软件包,因为某些许可证尚未被接受。]
- python - 计算文本中特定因素的程序,例如“气候金融”
- javascript - 避免在promise链中调用next()时未创建promise
- javascript - Tiptap 中的 SetContent 删除样式
- html - 如何避免引导程序 4 为所有列设置相同的高度?
- kendo-ui - 网格上的剑道工具提示模板
- ruby-on-rails - 部署后下拉菜单在heroku上不起作用
- c# - 如何使用 C# 更新 datagridview 中的单元格值?