diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/applicationGateway.json index 0b395d683759..6f11d92755cd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/applicationGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/applicationGateway.json @@ -1962,6 +1962,10 @@ "$ref": "#/definitions/ApplicationGatewayHeaderConfiguration" }, "description": "Response Header Actions in the Action Set." + }, + "urlConfiguration": { + "$ref": "#/definitions/ApplicationGatewayUrlConfiguration", + "description": "Url Configuration Action in the Action Set." } }, "description": "Set of actions in the Rewrite Rule in Application Gateway." @@ -1979,6 +1983,23 @@ }, "description": "Header configuration of the Actions set in Application Gateway." }, + "ApplicationGatewayUrlConfiguration": { + "properties": { + "modifiedPath": { + "type": "string", + "description": "Url path which user has provided for url rewrite. Null means no path will be updated. Default value is null." + }, + "modifiedQueryString": { + "type": "string", + "description": "Query string which user has provided for url rewrite. Null means no query string will be updated. Default value is null." + }, + "reroute": { + "type": "boolean", + "description": "If set as true, it will re-evaluate the url path map provided in path based request routing rules using modified path. Default value is false." + } + }, + "description": "Url configuration of the Actions set in Application Gateway." + }, "ApplicationGatewayRedirectConfigurationPropertiesFormat": { "properties": { "redirectType": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/examples/ApplicationGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/examples/ApplicationGatewayCreate.json index bd28b651f91b..f62efb35fb19 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/examples/ApplicationGatewayCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/examples/ApplicationGatewayCreate.json @@ -235,7 +235,10 @@ "headerName": "Strict-Transport-Security", "headerValue": "max-age=31536000" } - ] + ], + "urlConfiguration": { + "modifiedPath": "/abc" + } } } ] @@ -477,7 +480,11 @@ "headerName": "Strict-Transport-Security", "headerValue": "max-age=31536000" } - ] + ], + "urlConfiguration": { + "modifiedPath": "/abc", + "reroute": true + } } } ] @@ -719,7 +726,11 @@ "headerName": "Strict-Transport-Security", "headerValue": "max-age=31536000" } - ] + ], + "urlConfiguration": { + "modifiedPath": "/abc", + "modifiedQueryString": "x=y&a=b" + } } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/examples/ApplicationGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/examples/ApplicationGatewayGet.json index 8c5bd3aaaf97..29ecc67b24a3 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/examples/ApplicationGatewayGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-11-01/examples/ApplicationGatewayGet.json @@ -239,7 +239,12 @@ "headerName": "Strict-Transport-Security", "headerValue": "max-age=31536000" } - ] + ], + "urlConfiguration": { + "modifiedPath": "/abc", + "modifiedQueryString": "x=y&a=b", + "reroute": false + } } } ]