HasFrontend.DefinitionStages.WithFrontend<ReturnT>.fromExistingSubnet 方法
定义
重载
fromExistingSubnet(Network network, String subnetName) |
Specifies an existing private subnet to receive network traffic from. If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer. |
fromExistingSubnet(String networkResourceId, String subnetName) |
Specifies an existing private subnet to receive network traffic from. If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer. |
fromExistingSubnet(Subnet subnet) |
Specifies an existing private subnet to receive network traffic from. If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer. |
fromExistingSubnet(Network network, String subnetName)
Specifies an existing private subnet to receive network traffic from.
If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer.
public ReturnT fromExistingSubnet(Network network, String subnetName)
参数
- network
- Network
an existing network
- subnetName
- String
the name of an existing subnet within the specified network
返回
the next stage of the definition
fromExistingSubnet(String networkResourceId, String subnetName)
Specifies an existing private subnet to receive network traffic from.
If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer.
public ReturnT fromExistingSubnet(String networkResourceId, String subnetName)
参数
- networkResourceId
- String
the resource ID of an existing network
- subnetName
- String
the name of an existing subnet within the specified network
返回
the next stage of the definition
fromExistingSubnet(Subnet subnet)
Specifies an existing private subnet to receive network traffic from.
If this load balancer already has a frontend referencing this subnet, that is the frontend that will be used. Else, an automatically named new private frontend will be created implicitly on the load balancer.
public ReturnT fromExistingSubnet(Subnet subnet)
参数
- subnet
- Subnet
an existing subnet
返回
the next stage of the definition