You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: `If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.`,
Description: `A class of status codes to accept. Possible values: ["STATUS_CLASS_1XX", "STATUS_CLASS_2XX", "STATUS_CLASS_3XX", "STATUS_CLASS_4XX", "STATUS_CLASS_5XX", "STATUS_CLASS_ANY"]`,
128
+
},
129
+
"status_value": {
130
+
Type: schema.TypeInt,
131
+
Optional: true,
132
+
Description: `A status code to accept.`,
133
+
},
134
+
},
135
+
},
136
+
},
117
137
"auth_info": {
118
138
Type: schema.TypeList,
119
139
Optional: true,
@@ -790,6 +810,8 @@ func flattenMonitoringUptimeCheckConfigHttpCheck(v interface{}, d *schema.Resour
@@ -265,6 +311,11 @@ The following arguments are supported:
265
311
(Optional)
266
312
The request body associated with the HTTP POST request. If contentType is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the requestMethod is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note - As with all bytes fields JSON representations are base64 encoded. e.g. "foo=bar" in URL-encoded form is "foo%3Dbar" and in base64 encoding is "Zm9vJTI1M0RiYXI=".
267
313
314
+
*`accepted_response_status_codes` -
315
+
(Optional)
316
+
If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
317
+
Structure is [documented below](#nested_accepted_response_status_codes).
0 commit comments