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

NetworkSecurityGroup interface

NetworkSecurityGroup 资源。

Extends

属性

defaultSecurityRules

网络安全组的默认安全规则。

etag

一个唯一的只读字符串,每当资源更新时都会更改。

networkInterfaces

对网络接口的引用的集合。 注意:此属性不会序列化。 它只能由服务器填充。

provisioningState

公共 IP 资源的预配状态。 可能的值为:“Updating”、“Deleting”和“Failed”。

resourceGuid

网络安全组资源的资源 GUID 属性。

securityRules

网络安全组的安全规则集合。

subnets

对子网的引用的集合。 注意:此属性不会序列化。 它只能由服务器填充。

继承属性

id

资源 ID。

location

资源位置。

name

资源名称。 注意:此属性不会序列化。 它只能由服务器填充。

tags

资源标记。

type

资源类型。 注意:此属性不会序列化。 它只能由服务器填充。

属性详细信息

defaultSecurityRules

网络安全组的默认安全规则。

defaultSecurityRules?: SecurityRule[]

属性值

etag

一个唯一的只读字符串,每当资源更新时都会更改。

etag?: string

属性值

string

networkInterfaces

对网络接口的引用的集合。 注意:此属性不会序列化。 它只能由服务器填充。

networkInterfaces?: NetworkInterface[]

属性值

provisioningState

公共 IP 资源的预配状态。 可能的值为:“Updating”、“Deleting”和“Failed”。

provisioningState?: string

属性值

string

resourceGuid

网络安全组资源的资源 GUID 属性。

resourceGuid?: string

属性值

string

securityRules

网络安全组的安全规则集合。

securityRules?: SecurityRule[]

属性值

subnets

对子网的引用的集合。 注意:此属性不会序列化。 它只能由服务器填充。

subnets?: Subnet[]

属性值

Subnet[]

继承属性详细信息

id

资源 ID。

id?: string

属性值

string

继承自Resource.id

location

资源位置。

location?: string

属性值

string

继承自Resource.location

name

资源名称。 注意:此属性不会序列化。 它只能由服务器填充。

name?: string

属性值

string

继承自Resource.name

tags

资源标记。

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

属性值

{[propertyName: string]: string}

继承自Resource.tags

type

资源类型。 注意:此属性不会序列化。 它只能由服务器填充。

type?: string

属性值

string

继承自Resource.type