Interface ApplicationGatewayRequestRoutingRule.UpdateStages.WithPriority

All Known Subinterfaces:
ApplicationGatewayRequestRoutingRule.Update
Enclosing interface:
ApplicationGatewayRequestRoutingRule.UpdateStages

public static interface ApplicationGatewayRequestRoutingRule.UpdateStages.WithPriority
The stage of an application gateway request routing rule allowing to associate the rule with a priority.
  • Method Details

    • withPriority

      ApplicationGatewayRequestRoutingRule.Update withPriority(int priority)
      Updates with a unique priority value for the request routing rule. It is required and only available for ApplicationGatewaySkuName.STANDARD_V2 and ApplicationGatewaySkuName.WAF_V2

      Rules with no priorities before will be auto-assigned with values ranging from 10010 to 20000.

      For updating rules with auto-assigned priorities, consider updating all existing ones for that Gateway. Otherwise, it would lead to unexpected ordering.

      Parameters:
      priority - unique priority value of the request routing rule ranging from 1(highest) to 20000(lowest)
      Returns:
      the next stage of the update