Interface ApplicationGatewayRequestRoutingRule.DefinitionStages.WithPriority<ParentT>

Type Parameters:
ParentT - the stage of the application gateway definition to return to after attaching this definition
All Known Subinterfaces:
ApplicationGatewayRequestRoutingRule.Definition<ParentT>, ApplicationGatewayRequestRoutingRule.DefinitionStages.WithAttach<ParentT>, ApplicationGatewayRequestRoutingRule.DefinitionStages.WithBackendAddressOrAttach<ParentT>
Enclosing interface:
ApplicationGatewayRequestRoutingRule.DefinitionStages

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

    • withPriority

      Specifies a unique priority value for the request routing rule. It is required and only available for ApplicationGatewaySkuName.STANDARD_V2 and ApplicationGatewaySkuName.WAF_V2

      You should always specify the priority, if applicable.

      If you don't specify, SDK will automatically assign a unique value for you (ranging from 10010 to 20000) in the ordering of definition. Those which defined later will have larger priority values (lower priority) over those which defined earlier. This auto-assignment feature is meant for working with your existing code only. You should avoid relying on it and always specify priorities for all rules whenever possible.

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