批量修改列入白名单的 IP 地址
Bulk edit whitelisted IP Addresses
我有很多 IP 地址要添加和删除,通过门户进行操作很痛苦(好吧,很无聊)。
我可以使用 CLI 来 add/remove IP 地址 to/from 网络应用程序吗?
还不可能。一段时间以来,微软一直在承诺这一点。
我们在时间线上还没有任何更新要分享,但会在有任何内容要分享时更新 User Voice 功能请求。
I have a lot of IP addresses to add and remove and doing it via the portal is painful (well, boring).
我们可以使用 CLI 命令或 azure 资源 (https://resources.azure.com/) 编辑 ipSecurityRestrictions。您也可以直接从它执行 CLI 命令。
az resource update --id /subscriptions/{subscriptionId}/resourceGroups/{resourcegroup}/providers/Microsoft.Web/sites/{websitename}/config/web --api-version 2016-08-01 --set properties.key=value
我之前用powershell命令做过一个demo,你可以参考另一个.
我有很多 IP 地址要添加和删除,通过门户进行操作很痛苦(好吧,很无聊)。
我可以使用 CLI 来 add/remove IP 地址 to/from 网络应用程序吗?
还不可能。一段时间以来,微软一直在承诺这一点。
我们在时间线上还没有任何更新要分享,但会在有任何内容要分享时更新 User Voice 功能请求。
I have a lot of IP addresses to add and remove and doing it via the portal is painful (well, boring).
我们可以使用 CLI 命令或 azure 资源 (https://resources.azure.com/) 编辑 ipSecurityRestrictions。您也可以直接从它执行 CLI 命令。
az resource update --id /subscriptions/{subscriptionId}/resourceGroups/{resourcegroup}/providers/Microsoft.Web/sites/{websitename}/config/web --api-version 2016-08-01 --set properties.key=value
我之前用powershell命令做过一个demo,你可以参考另一个