Interface WebAppBase.DefinitionStages.WithNetworkAccess<FluentT>

All Known Subinterfaces:
DeploymentSlot.Definition, DeploymentSlot.DefinitionStages.WithCreate, FunctionApp.Definition, FunctionApp.DefinitionStages.WithCreate, FunctionDeploymentSlot.Definition, FunctionDeploymentSlot.DefinitionStages.WithCreate, WebApp.Definition, WebApp.DefinitionStages.WithCreate, WebApp.DefinitionStages.WithStartUpCommand, WebApp.DefinitionStages.WithWindowsAppFramework, WebAppBase.Definition<FluentT>, WebAppBase.DefinitionStages.WithCreate<FluentT>, WebAppBase.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate<FluentT>, WebAppBase.DefinitionStages.WithUserAssignedManagedServiceIdentityBasedAccessOrCreate<FluentT>
Enclosing interface:
WebAppBase.DefinitionStages

public static interface WebAppBase.DefinitionStages.WithNetworkAccess<FluentT>
The stage of web app definition allowing to configure network access settings.
  • Method Details

    • withAccessFromNetworkSubnet

      WebAppBase.DefinitionStages.WithCreate<FluentT> withAccessFromNetworkSubnet(String subnetId, int priority)
      Specifies that access to the web app from the specific virtual network subnet should be allowed.
      Parameters:
      subnetId - the virtual network subnet id
      priority - the priority of the rule
      Returns:
      the next stage of the definition
    • withAccessFromIpAddress

      WebAppBase.DefinitionStages.WithCreate<FluentT> withAccessFromIpAddress(String ipAddress, int priority)
      Specifies that access to the web app from the specific ip address should be allowed. Allowing any specific access will add a Deny Any rule with least priority.
      Parameters:
      ipAddress - the ip address
      priority - the priority of the rule
      Returns:
      the next stage of the definition
    • withAccessFromIpAddressRange

      WebAppBase.DefinitionStages.WithCreate<FluentT> withAccessFromIpAddressRange(String ipAddressCidr, int priority)
      Specifies that access to the web app from the specific ip range should be allowed. Allowing any specific access will add a Deny Any rule with least priority.
      Parameters:
      ipAddressCidr - the ip address range expressed in cidr format
      priority - the priority of the rule
      Returns:
      the next stage of the definition
    • withAccessRule

      Specifies the ip security rule. Allowing any specific access will add a Deny Any rule with least priority.
      Parameters:
      ipSecurityRule - the ip security rule
      Returns:
      the next stage of the definition