Interface WebAppBase.UpdateStages.WithNetworkAccess<FluentT>

All Known Subinterfaces:
DeploymentSlotBase.Update<FluentT>, FunctionApp.Update, WebApp.Update, WebApp.UpdateStages.WithStartUpCommand, WebAppBase.Update<FluentT>
Enclosing interface:
WebAppBase.UpdateStages

public static interface WebAppBase.UpdateStages.WithNetworkAccess<FluentT>
The stage of storage account update allowing to configure network access.
  • Method Details

    • withAccessFromAllNetworks

      WebAppBase.Update<FluentT> withAccessFromAllNetworks()
      Specifies that access to web app should be allowed from all networks.
      Returns:
      the next stage of the update
    • withAccessFromNetworkSubnet

      WebAppBase.Update<FluentT> withAccessFromNetworkSubnet(String subnetId, int priority)
      Specifies that access to the web app from the specific virtual network subnet should be allowed. Allowing any specific access will add a Deny Any rule with least priority.
      Parameters:
      subnetId - the virtual network subnet id
      priority - the priority of the rule
      Returns:
      the next stage of the update
    • withAccessFromIpAddress

      WebAppBase.Update<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 update
    • withAccessFromIpAddressRange

      WebAppBase.Update<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 update
    • withAccessRule

      WebAppBase.Update<FluentT> withAccessRule(IpSecurityRestriction ipSecurityRule)
      Specifies that 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 update
    • withoutNetworkSubnetAccess

      WebAppBase.Update<FluentT> withoutNetworkSubnetAccess(String subnetId)
      Specifies that previously allowed access from specific virtual network subnet should be removed.
      Parameters:
      subnetId - the virtual network subnet id
      Returns:
      the next stage of the update
    • withoutIpAddressAccess

      WebAppBase.Update<FluentT> withoutIpAddressAccess(String ipAddress)
      Specifies that previously allowed access from specific ip address should be removed.
      Parameters:
      ipAddress - the ip address
      Returns:
      the next stage of the update
    • withoutAccessRule

      WebAppBase.Update<FluentT> withoutAccessRule(IpSecurityRestriction ipSecurityRule)
      Specifies that the access rule should be removed.
      Parameters:
      ipSecurityRule - the ip security rule
      Returns:
      the next stage of the update
    • withoutIpAddressRangeAccess

      WebAppBase.Update<FluentT> withoutIpAddressRangeAccess(String ipAddressCidr)
      Specifies that previously allowed access from specific ip range should be removed.
      Parameters:
      ipAddressCidr - the ip address range expressed in cidr format
      Returns:
      the next stage of the update