aboutsummaryrefslogtreecommitdiffhomepage
path: root/website/docs/r
diff options
context:
space:
mode:
authorMat Schaffer <mat@schaffer.me>2018-08-20 11:45:48 +0900
committerGitHub <noreply@github.com>2018-08-20 11:45:48 +0900
commit7f6f2d1fae833992b11500248d537e0ba3fa48ff (patch)
tree59ede0e309433fc5796c568e5e4e60a8c1a762c9 /website/docs/r
parenta6ddc0c931c22051c2f072877a1e0b18a939ef2e (diff)
parent65c668b059fb4da3f52a461be2e5c77ac0bcf2a7 (diff)
downloadterraform-provider-statuscake-7f6f2d1fae833992b11500248d537e0ba3fa48ff.tar.gz
terraform-provider-statuscake-7f6f2d1fae833992b11500248d537e0ba3fa48ff.tar.zst
terraform-provider-statuscake-7f6f2d1fae833992b11500248d537e0ba3fa48ff.zip
Merge pull request #18 from matschaffer/contact-groups-support
Add test contact group support
Diffstat (limited to 'website/docs/r')
-rw-r--r--website/docs/r/test.html.markdown14
1 files changed, 7 insertions, 7 deletions
diff --git a/website/docs/r/test.html.markdown b/website/docs/r/test.html.markdown
index b154773..9c1fb35 100644
--- a/website/docs/r/test.html.markdown
+++ b/website/docs/r/test.html.markdown
@@ -14,11 +14,11 @@ The test resource allows StatusCake tests to be managed by Terraform.
14 14
15```hcl 15```hcl
16resource "statuscake_test" "google" { 16resource "statuscake_test" "google" {
17 website_name = "google.com" 17 website_name = "google.com"
18 website_url = "www.google.com" 18 website_url = "www.google.com"
19 test_type = "HTTP" 19 test_type = "HTTP"
20 check_rate = 300 20 check_rate = 300
21 contact_id = 12345 21 contact_group = ["12345"]
22} 22}
23``` 23```
24 24
@@ -29,7 +29,7 @@ The following arguments are supported:
29* `website_name` - (Required) This is the name of the test and the website to be monitored. 29* `website_name` - (Required) This is the name of the test and the website to be monitored.
30* `website_url` - (Required) The URL of the website to be monitored 30* `website_url` - (Required) The URL of the website to be monitored
31* `check_rate` - (Optional) Test check rate in seconds. Defaults to 300 31* `check_rate` - (Optional) Test check rate in seconds. Defaults to 300
32* `contact_id` - (Optional) The id of the contact group to be add to the test. Each test can have only one. 32* `contact_group` - (Optional) Set test contact groups, must be array of strings.
33* `test_type` - (Required) The type of Test. Either HTTP, TCP, PING, or DNS 33* `test_type` - (Required) The type of Test. Either HTTP, TCP, PING, or DNS
34* `paused` - (Optional) Whether or not the test is paused. Defaults to false. 34* `paused` - (Optional) Whether or not the test is paused. Defaults to false.
35* `timeout` - (Optional) The timeout of the test in seconds. 35* `timeout` - (Optional) The timeout of the test in seconds.
@@ -50,7 +50,7 @@ The following arguments are supported:
50* `find_string` - (Optional) A string that should either be found or not found. 50* `find_string` - (Optional) A string that should either be found or not found.
51* `do_not_find` - (Optional) If the above string should be found to trigger a alert. 1 = will trigger if find_string found. 51* `do_not_find` - (Optional) If the above string should be found to trigger a alert. 1 = will trigger if find_string found.
52* `real_browser` - (Optional) Use 1 to TURN OFF real browser testing. 52* `real_browser` - (Optional) Use 1 to TURN OFF real browser testing.
53* `test_tags` - (Optional) Tags should be seperated by a comma - no spacing between tags (this,is,a set,of,tags). 53* `test_tags` - (Optional) Set test tags, must be array of strings.
54* `status_codes` - (Optional) Comma Seperated List of StatusCodes to Trigger Error on. Defaults are "204, 205, 206, 303, 400, 401, 403, 404, 405, 406, 408, 410, 413, 444, 429, 494, 495, 496, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 521, 522, 523, 524, 520, 598, 599". 54* `status_codes` - (Optional) Comma Seperated List of StatusCodes to Trigger Error on. Defaults are "204, 205, 206, 303, 400, 401, 403, 404, 405, 406, 408, 410, 413, 444, 429, 494, 495, 496, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 521, 522, 523, 524, 520, 598, 599".
55* `use_jar` - (Optional) Set to true to enable the Cookie Jar. Required for some redirects. Default is false. 55* `use_jar` - (Optional) Set to true to enable the Cookie Jar. Required for some redirects. Default is false.
56* `post_raw` - (Optional) Use to populate the RAW POST data field on the test. 56* `post_raw` - (Optional) Use to populate the RAW POST data field on the test.