【发布时间】:2016-11-07 23:38:48
【问题描述】:
我必须删除Azure 中的现有Virtual Machine 以及与VM 关联的Network Security Group。但我需要存储我要删除的Network Security Group 中的Inbound Security Rules。
有没有办法将Inbound Security Rules 作为模板导出为某种JSON、CSV 或任何其他格式,然后我可以通过从模板?
【问题讨论】:
-
您是否已经尝试过 - (Get-AzureNetworkSecurityGroup -Name "name" -Detailed).Rules |导出-csv -path "C:\nsgfile.csv"
标签: azure cloud network-security-groups inbound-security-rule azure-security