Skip to content

Commit

Permalink
Adding the structure of urlConfiguration in rewriteRuleActionSet (#7905)
Browse files Browse the repository at this point in the history
* Url Configuration swagger changes for Url Rewrite feature of Application Gateway

* prettier fix
  • Loading branch information
abjai authored and lirenhe committed Jan 10, 2020
1 parent d53d584 commit ac7d32b
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand All @@ -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": {
Expand Down
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 ac7d32b

Please sign in to comment.