Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add customer error spec for Application Gateway #3985

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,14 @@
"provisioningState": {
"type": "string",
"description": "Provisioning state of the HTTP listener resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
}
},
"customErrorConfiguration": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewayCustomError"
},
"description": "Custom error configurations of the HTTP listener."
}
},
"description": "Properties of HTTP listener of an application gateway."
},
Expand Down Expand Up @@ -1683,7 +1690,14 @@
"provisioningState": {
"type": "string",
"description": "Provisioning state of the application gateway resource. Possible values are: 'Updating', 'Deleting', and 'Failed'."
}
},
"customErrorConfiguration": {
"type": "array",
"items": {
"$ref": "#/definitions/ApplicationGatewayCustomError"
},
"description": "Custom error configurations of the application gateway resource."
}
},
"description": "Properties of the application gateway."
},
Expand Down Expand Up @@ -2084,6 +2098,27 @@
}
},
"description": "Properties of ApplicationGatewaySslPredefinedPolicy"
},
"ApplicationGatewayCustomError": {
"properties": {
"statusCode": {
"type": "string",
"description": "Status code of the application gateway customer error.",
"enum": [
"403",
"502"
],
"x-ms-enum": {
"name": "ApplicationGatewayCustomErrorStatusCode",
"modelAsString": true
}
},
"customErrorPageUrl": {
"type": "string",
"description": "Error page URL of the application gateway customer error."
}
},
"description": "Customer error of an application gateway."
},
"PolicyNameEnum": {
"type": "string",
Expand Down