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 Summary
Modifier and TypeMethodDescriptionwithPriority(int priority) Specifies a unique priority value for the request routing rule.
-
Method Details
-
withPriority
ApplicationGatewayRequestRoutingRule.DefinitionStages.WithAttach<ParentT> withPriority(int priority) Specifies a unique priority value for the request routing rule. It is required and only available forApplicationGatewaySkuName.STANDARD_V2andApplicationGatewaySkuName.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
-