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

VirtualNetwork interface

虚拟网络资源。

扩展

属性

addressSpace

包含子网可以使用的 IP 地址范围的数组的 AddressSpace。

bgpCommunities

通过 ExpressRoute 发送的 Bgp 社区,每个路由对应于此 VNET 中的前缀。

ddosProtectionPlan

与虚拟网络关联的 DDoS 保护计划。

defaultPublicNatGateway

对此虚拟网络资源使用的默认公有 nat 网关的引用。 注意:此属性不会序列化。 它只能由服务器填充。

dhcpOptions

dhcpOptions,其中包含虚拟网络中部署的 VM 可用的 DNS 服务器数组。

enableDdosProtection

指示是否为虚拟网络中的所有受保护资源启用了 DDoS 保护。 它需要与资源关联的 DDoS 保护计划。

enableVmProtection

指示是否为虚拟网络中的所有子网启用了 VM 保护。

encryption

指示是否在虚拟网络上启用了加密,以及是否允许在加密的 VNet 中启用无加密的 VM。

etag

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

extendedLocation

虚拟网络的扩展位置。

flowLogs

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

flowTimeoutInMinutes

虚拟网络的 FlowTimeout 值(以分钟为单位)

ipAllocations

引用此 VNET 的 IpAllocation 数组。

privateEndpointVNetPolicies

专用终结点 VNet 策略。

provisioningState

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

resourceGuid

虚拟网络资源的 resourceGuid 属性。 注意:此属性不会序列化。 它只能由服务器填充。

subnets

虚拟网络中的子网列表。

virtualNetworkPeerings

虚拟网络中的对等互连列表。

继承属性

id

资源 ID。

location

资源位置。

name

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

tags

资源标记。

type

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

属性详细信息

addressSpace

包含子网可以使用的 IP 地址范围的数组的 AddressSpace。

addressSpace?: AddressSpace

属性值

bgpCommunities

通过 ExpressRoute 发送的 Bgp 社区,每个路由对应于此 VNET 中的前缀。

bgpCommunities?: VirtualNetworkBgpCommunities

属性值

ddosProtectionPlan

与虚拟网络关联的 DDoS 保护计划。

ddosProtectionPlan?: SubResource

属性值

defaultPublicNatGateway

对此虚拟网络资源使用的默认公有 nat 网关的引用。 注意:此属性不会序列化。 它只能由服务器填充。

defaultPublicNatGateway?: SubResource

属性值

dhcpOptions

dhcpOptions,其中包含虚拟网络中部署的 VM 可用的 DNS 服务器数组。

dhcpOptions?: DhcpOptions

属性值

enableDdosProtection

指示是否为虚拟网络中的所有受保护资源启用了 DDoS 保护。 它需要与资源关联的 DDoS 保护计划。

enableDdosProtection?: boolean

属性值

boolean

enableVmProtection

指示是否为虚拟网络中的所有子网启用了 VM 保护。

enableVmProtection?: boolean

属性值

boolean

encryption

指示是否在虚拟网络上启用了加密,以及是否允许在加密的 VNet 中启用无加密的 VM。

encryption?: VirtualNetworkEncryption

属性值

etag

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

etag?: string

属性值

string

extendedLocation

虚拟网络的扩展位置。

extendedLocation?: ExtendedLocation

属性值

flowLogs

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

flowLogs?: FlowLog[]

属性值

flowTimeoutInMinutes

虚拟网络的 FlowTimeout 值(以分钟为单位)

flowTimeoutInMinutes?: number

属性值

number

ipAllocations

引用此 VNET 的 IpAllocation 数组。

ipAllocations?: SubResource[]

属性值

privateEndpointVNetPolicies

专用终结点 VNet 策略。

privateEndpointVNetPolicies?: string

属性值

string

provisioningState

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

provisioningState?: string

属性值

string

resourceGuid

虚拟网络资源的 resourceGuid 属性。 注意:此属性不会序列化。 它只能由服务器填充。

resourceGuid?: string

属性值

string

subnets

虚拟网络中的子网列表。

subnets?: Subnet[]

属性值

Subnet[]

virtualNetworkPeerings

虚拟网络中的对等互连列表。

virtualNetworkPeerings?: VirtualNetworkPeering[]

属性值

继承属性详细信息

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