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

Subnet interface

虚拟网络资源中的子网。

扩展

属性

addressPrefix

子网的地址前缀。

addressPrefixes

子网的地址前缀列表。

applicationGatewayIPConfigurations

虚拟网络资源的应用程序网关 IP 配置。

defaultOutboundAccess

将此属性设置为 false,以禁用子网中所有 VM 的默认出站连接。

delegations

对子网上的委派的引用数组。

etag

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

ipAllocations

引用此子网的 IpAllocation 数组。

ipamPoolPrefixAllocations

用于分配 IP 地址前缀的 IPAM 池列表。

ipConfigurationProfiles

引用此子网的 IP 配置文件数组。 注意:此属性不会序列化。 它只能由服务器填充。

ipConfigurations

使用子网引用网络接口 IP 配置的数组。 注意:此属性不会序列化。 它只能由服务器填充。

name

资源组中唯一的资源的名称。 此名称可用于访问资源。

natGateway

与此子网关联的 Nat 网关。

networkSecurityGroup

对 NetworkSecurityGroup 资源的引用。

privateEndpointNetworkPolicies

在子网中的专用终结点上启用或禁用应用网络策略。

privateEndpoints

对专用终结点的引用数组。 注意:此属性不会序列化。 它只能由服务器填充。

privateLinkServiceNetworkPolicies

在子网中的专用链接服务上启用或禁用应用网络策略。

provisioningState

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

purpose

一个只读字符串,用于根据委派和其他用户定义的属性标识此子网的使用意图。 注意:此属性不会序列化。 它只能由服务器填充。

resourceNavigationLinks

使用子网引用外部资源的数组。 注意:此属性不会序列化。 它只能由服务器填充。

routeTable

对 RouteTable 资源的引用。

serviceAssociationLinks

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

serviceEndpointPolicies

服务终结点策略数组。

serviceEndpoints

服务终结点数组。

sharingScope

将此属性设置为“租户”,以允许与 AAD 租户中的其他订阅共享子网。 仅当 defaultOutboundAccess 设置为 false 时,才能设置此属性,仅当子网为空时,才能设置这两个属性。

type

资源类型。

继承属性

id

资源 ID。

属性详细信息

addressPrefix

子网的地址前缀。

addressPrefix?: string

属性值

string

addressPrefixes

子网的地址前缀列表。

addressPrefixes?: string[]

属性值

string[]

applicationGatewayIPConfigurations

虚拟网络资源的应用程序网关 IP 配置。

applicationGatewayIPConfigurations?: ApplicationGatewayIPConfiguration[]

属性值

defaultOutboundAccess

将此属性设置为 false,以禁用子网中所有 VM 的默认出站连接。

defaultOutboundAccess?: boolean

属性值

boolean

delegations

对子网上的委派的引用数组。

delegations?: Delegation[]

属性值

etag

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

etag?: string

属性值

string

ipAllocations

引用此子网的 IpAllocation 数组。

ipAllocations?: SubResource[]

属性值

ipamPoolPrefixAllocations

用于分配 IP 地址前缀的 IPAM 池列表。

ipamPoolPrefixAllocations?: IpamPoolPrefixAllocation[]

属性值

ipConfigurationProfiles

引用此子网的 IP 配置文件数组。 注意:此属性不会序列化。 它只能由服务器填充。

ipConfigurationProfiles?: IPConfigurationProfile[]

属性值

ipConfigurations

使用子网引用网络接口 IP 配置的数组。 注意:此属性不会序列化。 它只能由服务器填充。

ipConfigurations?: IPConfiguration[]

属性值

name

资源组中唯一的资源的名称。 此名称可用于访问资源。

name?: string

属性值

string

natGateway

与此子网关联的 Nat 网关。

natGateway?: SubResource

属性值

networkSecurityGroup

对 NetworkSecurityGroup 资源的引用。

networkSecurityGroup?: NetworkSecurityGroup

属性值

privateEndpointNetworkPolicies

在子网中的专用终结点上启用或禁用应用网络策略。

privateEndpointNetworkPolicies?: string

属性值

string

privateEndpoints

对专用终结点的引用数组。 注意:此属性不会序列化。 它只能由服务器填充。

privateEndpoints?: PrivateEndpoint[]

属性值

privateLinkServiceNetworkPolicies

在子网中的专用链接服务上启用或禁用应用网络策略。

privateLinkServiceNetworkPolicies?: string

属性值

string

provisioningState

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

provisioningState?: string

属性值

string

purpose

一个只读字符串,用于根据委派和其他用户定义的属性标识此子网的使用意图。 注意:此属性不会序列化。 它只能由服务器填充。

purpose?: string

属性值

string

使用子网引用外部资源的数组。 注意:此属性不会序列化。 它只能由服务器填充。

resourceNavigationLinks?: ResourceNavigationLink[]

属性值

routeTable

对 RouteTable 资源的引用。

routeTable?: RouteTable

属性值

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

serviceAssociationLinks?: ServiceAssociationLink[]

属性值

serviceEndpointPolicies

服务终结点策略数组。

serviceEndpointPolicies?: ServiceEndpointPolicy[]

属性值

serviceEndpoints

服务终结点数组。

serviceEndpoints?: ServiceEndpointPropertiesFormat[]

属性值

sharingScope

将此属性设置为“租户”,以允许与 AAD 租户中的其他订阅共享子网。 仅当 defaultOutboundAccess 设置为 false 时,才能设置此属性,仅当子网为空时,才能设置这两个属性。

sharingScope?: string

属性值

string

type

资源类型。

type?: string

属性值

string

继承属性详细信息

id

资源 ID。

id?: string

属性值

string

继承自SubResource.id