Interface ApplicationGateway.DefinitionStages.WithExistingSubnet

All Superinterfaces:
HasSubnet.DefinitionStages.WithSubnet<ApplicationGateway.DefinitionStages.WithCreate>
All Known Subinterfaces:
ApplicationGateway.Definition, ApplicationGateway.DefinitionStages.WithCreate, ApplicationGateway.DefinitionStages.WithRequestRoutingRuleOrCreate
Enclosing interface:
ApplicationGateway.DefinitionStages

public static interface ApplicationGateway.DefinitionStages.WithExistingSubnet extends HasSubnet.DefinitionStages.WithSubnet<ApplicationGateway.DefinitionStages.WithCreate>
The stage of an application gateway definition allowing to specify the subnet the app gateway is getting its private IP address from.
  • Method Details

    • withExistingSubnet

      Specifies the subnet the application gateway gets its private IP address from.

      This will create a new IP configuration, if it does not already exist.

      Private (internal) frontends, if any have been enabled, will be configured to use this subnet as well.

      Parameters:
      subnet - an existing subnet
      Returns:
      the next stage of the definition
    • withExistingSubnet

      ApplicationGateway.DefinitionStages.WithCreate withExistingSubnet(Network network, String subnetName)
      Specifies the subnet the application gateway gets its private IP address from.

      This will create a new IP configuration, if it does not already exist.

      Private (internal) frontends, if any have been enabled, will be configured to use this subnet as well.

      Parameters:
      network - the virtual network the subnet is part of
      subnetName - the name of a subnet within the selected network
      Returns:
      the next stage of the definition