Skip to content

Commit

Permalink
Adding the structure of urlConfiguration in rewriteRuleActionSet (#7275)
Browse files Browse the repository at this point in the history
  • Loading branch information
abjai authored and yungezz committed Sep 25, 2019
1 parent 6cdc8c3 commit e89f35d
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1826,6 +1826,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."
Expand All @@ -1843,6 +1847,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": {
Expand Down Expand Up @@ -2674,4 +2695,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,10 @@
"headerName": "Strict-Transport-Security",
"headerValue": "max-age=31536000"
}
]
],
"urlConfiguration": {
"modifiedPath": "/abc"
}
}
}
]
Expand Down Expand Up @@ -477,7 +480,11 @@
"headerName": "Strict-Transport-Security",
"headerValue": "max-age=31536000"
}
]
],
"urlConfiguration": {
"modifiedPath": "/abc",
"reroute" : true
}
}
}
]
Expand Down Expand Up @@ -719,7 +726,11 @@
"headerName": "Strict-Transport-Security",
"headerValue": "max-age=31536000"
}
]
],
"urlConfiguration": {
"modifiedPath": "/abc",
"modifiedQueryString" : "x=y&a=b"
}
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,12 @@
"headerName": "Strict-Transport-Security",
"headerValue": "max-age=31536000"
}
]
],
"urlConfiguration": {
"modifiedPath": "/abc",
"modifiedQueryString": "x=y&a=b",
"reroute" : false
}
}
}
]
Expand Down

0 comments on commit e89f35d

Please sign in to comment.