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

NetworkSecurityGroup interface

NetworkSecurityGroup 资源。

扩展

属性

defaultSecurityRules

网络安全组的默认安全规则。 注意:此属性不会序列化。 它只能由服务器填充。

etag

一个唯一的只读字符串,每当更新资源时更改。 注意:此属性不会序列化。 它只能由服务器填充。

flowLogs

对流日志资源的引用的集合。 注意:此属性不会序列化。 它只能由服务器填充。

flushConnection

启用后,当规则更新时,将从网络安全组连接创建的流重新评估。 初始启用将触发重新评估。

networkInterfaces

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

provisioningState

网络安全组资源的预配状态。 注意:此属性不会序列化。 它只能由服务器填充。

resourceGuid

网络安全组资源的资源 GUID 属性。 注意:此属性不会序列化。 它只能由服务器填充。

securityRules

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

subnets

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

继承属性

id

资源 ID。

location

资源位置。

name

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

tags

资源标记。

type

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

属性详细信息

defaultSecurityRules

网络安全组的默认安全规则。 注意:此属性不会序列化。 它只能由服务器填充。

defaultSecurityRules?: SecurityRule[]

属性值

etag

一个唯一的只读字符串,每当更新资源时更改。 注意:此属性不会序列化。 它只能由服务器填充。

etag?: string

属性值

string

flowLogs

对流日志资源的引用的集合。 注意:此属性不会序列化。 它只能由服务器填充。

flowLogs?: FlowLog[]

属性值

flushConnection

启用后,当规则更新时,将从网络安全组连接创建的流重新评估。 初始启用将触发重新评估。

flushConnection?: boolean

属性值

boolean

networkInterfaces

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

networkInterfaces?: NetworkInterface[]

属性值

provisioningState

网络安全组资源的预配状态。 注意:此属性不会序列化。 它只能由服务器填充。

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