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

IWithExistingSubnet.WithExistingSubnet 方法

定义

重载

WithExistingSubnet(ISubnet)

指定应用程序网关从中获取其专用 IP 地址的子网。 这将创建新的 IP 配置(如果尚不存在)。 如果启用了专用 (内部) 前端,则将配置为使用此子网。

WithExistingSubnet(INetwork, String)

指定应用程序网关从中获取其专用 IP 地址的子网。 这将创建新的 IP 配置(如果尚不存在)。 专用 (内部) 前端(如果已启用任何前端)也将配置为使用此子网。

WithExistingSubnet(ISubnet)

指定应用程序网关从中获取其专用 IP 地址的子网。 这将创建新的 IP 配置(如果尚不存在)。 如果启用了专用 (内部) 前端,则将配置为使用此子网。

public Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Update.IUpdate WithExistingSubnet (Microsoft.Azure.Management.Network.Fluent.ISubnet subnet);
abstract member WithExistingSubnet : Microsoft.Azure.Management.Network.Fluent.ISubnet -> Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Update.IUpdate
Public Function WithExistingSubnet (subnet As ISubnet) As IUpdate

参数

subnet
ISubnet

现有子网。

返回

适用于

WithExistingSubnet(INetwork, String)

指定应用程序网关从中获取其专用 IP 地址的子网。 这将创建新的 IP 配置(如果尚不存在)。 专用 (内部) 前端(如果已启用任何前端)也将配置为使用此子网。

public Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Update.IUpdate WithExistingSubnet (Microsoft.Azure.Management.Network.Fluent.INetwork network, string subnetName);
abstract member WithExistingSubnet : Microsoft.Azure.Management.Network.Fluent.INetwork * string -> Microsoft.Azure.Management.Network.Fluent.ApplicationGateway.Update.IUpdate
Public Function WithExistingSubnet (network As INetwork, subnetName As String) As IUpdate

参数

network
INetwork

子网所属的虚拟网络。

subnetName
String

所选网络中子网的名称。

返回

适用于