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

IWithSubnet.WithExistingSubnet 方法

定义

重载

WithExistingSubnet(ISubnet)

指定应用程序网关应属于的现有子网,并从中获取其专用 IP 地址。

WithExistingSubnet(INetwork, String)

指定应用程序网关应属于的现有子网,并从中获取其专用 IP 地址。

WithExistingSubnet(ISubnet)

指定应用程序网关应属于的现有子网,并从中获取其专用 IP 地址。

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

参数

subnet
ISubnet

现有子网。

返回

适用于

WithExistingSubnet(INetwork, String)

指定应用程序网关应属于的现有子网,并从中获取其专用 IP 地址。

public Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayIPConfiguration.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.ApplicationGatewayIPConfiguration.Update.IUpdate
Public Function WithExistingSubnet (network As INetwork, subnetName As String) As IUpdate

参数

network
INetwork

现有虚拟网络。

subnetName
String

所选网络中子网的名称。

返回

适用于