IWithSubnet<ParentT>.WithExistingSubnet(INetwork, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Assigns the specified subnet to this private frontend.
public Microsoft.Azure.Management.Network.Fluent.ApplicationGatewayFrontend.Definition.IWithAttach<ParentT> 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.ApplicationGatewayFrontend.Definition.IWithAttach<'ParentT>
Public Function WithExistingSubnet (network As INetwork, subnetName As String) As IWithAttach(Of ParentT)
Parameters
- network
- INetwork
The virtual network the subnet exists in.
- subnetName
- String
The name of a subnet.