你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NetworkSecurityGroupResourceSettings interface

定义 NSG 资源设置。

扩展

属性

resourceType

多态鉴别器,它指定此对象可以的不同类型的

securityRules

获取或设置网络安全组的安全规则。

tags

获取或设置资源标记。

继承属性

targetResourceGroupName

获取或设置目标资源组名称。

targetResourceName

获取或设置目标资源名称。

属性详细信息

resourceType

多态鉴别器,它指定此对象可以的不同类型的

resourceType: "Microsoft.Network/networkSecurityGroups"

属性值

"Microsoft.Network/networkSecurityGroups"

securityRules

获取或设置网络安全组的安全规则。

securityRules?: NsgSecurityRule[]

属性值

tags

获取或设置资源标记。

tags?: {[propertyName: string]: string}

属性值

{[propertyName: string]: string}

继承属性详细信息

targetResourceGroupName

获取或设置目标资源组名称。

targetResourceGroupName?: string

属性值

string

继承自ResourceSettings.targetResourceGroupName

targetResourceName

获取或设置目标资源名称。

targetResourceName?: string

属性值

string

继承自ResourceSettings.targetResourceName