The New-AzApplicationGatewayAdvancedRoutingCondition cmdlet creates a condition that is evaluated against a property of the incoming request. Use PropertyValues to match the property against a list of literal values, or Pattern to match it against a fixed string or a regular expression. Exactly one of the two must be supplied. PropertyName is required when ConditionType is Header or QueryString, and does not apply when it is Path, ClientIP or Method.
Examples
Example 1: Create a condition that matches a request header against literal values
Pattern, either a fixed string or a regular expression, the request property is matched against.
Not applicable when ConditionType is ClientIP or Method
Name of the request property the condition is evaluated against.
Required when ConditionType is Header or QueryString, and not applicable when ConditionType is Path, ClientIP or Method
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters.
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.