ApplicationGatewayIPConfiguration.DefinitionStages.WithSubnet<ParentT>.withExistingSubnet 方法
定义
重载
withExistingSubnet(Network network, String subnetName) |
Specifies an existing subnet the application gateway should be part of and get its private IP address from. |
withExistingSubnet(Subnet subnet) |
Specifies an existing subnet the application gateway should be part of and get its private IP address from. |
withExistingSubnet(Network network, String subnetName)
Specifies an existing subnet the application gateway should be part of and get its private IP address from.
public WithAttach<ParentT> withExistingSubnet(Network network, String subnetName)
参数
- network
- Network
an existing virtual network
- subnetName
- String
the name of a subnet within the selected network
返回
the next stage of the definition
withExistingSubnet(Subnet subnet)
Specifies an existing subnet the application gateway should be part of and get its private IP address from.
public WithAttach<ParentT> withExistingSubnet(Subnet subnet)
参数
- subnet
- Subnet
an existing subnet
返回
the next stage of the definition