diff options
author | stack72 <public@paulstack.co.uk> | 2017-01-17 16:11:23 +0000 |
---|---|---|
committer | stack72 <public@paulstack.co.uk> | 2017-01-17 16:11:23 +0000 |
commit | 6f91d719dfbfc7ddc7fe37b449405d82685d38ac (patch) | |
tree | 6118dde3ac9eddd584e91960a385077750fbffc5 /r/test.html.markdown | |
parent | 8165842a9591ddc81ae7f9a0bd91fa4d51aa01d5 (diff) | |
parent | 27d738e61454263bede5872111928f9b42b8bae6 (diff) | |
download | terraform-provider-statuscake-6f91d719dfbfc7ddc7fe37b449405d82685d38ac.tar.gz terraform-provider-statuscake-6f91d719dfbfc7ddc7fe37b449405d82685d38ac.tar.zst terraform-provider-statuscake-6f91d719dfbfc7ddc7fe37b449405d82685d38ac.zip |
Merge branch 'statuscake_adding_contact_group' of https://github.com/ldjohnson/terraform into ldjohnson-statuscake_adding_contact_group
Diffstat (limited to 'r/test.html.markdown')
-rw-r--r-- | r/test.html.markdown | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/r/test.html.markdown b/r/test.html.markdown index b3cf174..b566b0e 100644 --- a/r/test.html.markdown +++ b/r/test.html.markdown | |||
@@ -8,7 +8,7 @@ description: |- | |||
8 | 8 | ||
9 | # statuscake\_test | 9 | # statuscake\_test |
10 | 10 | ||
11 | The test resource allows StatusCake tests to be managed by Terraform. | 11 | The test resource allows StatusCake tests to be managed by Terraform. |
12 | 12 | ||
13 | ## Example Usage | 13 | ## Example Usage |
14 | 14 | ||
@@ -18,6 +18,7 @@ resource "statuscake_test" "google" { | |||
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 | } | 22 | } |
22 | ``` | 23 | ``` |
23 | 24 | ||
@@ -26,9 +27,10 @@ resource "statuscake_test" "google" { | |||
26 | The following arguments are supported: | 27 | The following arguments are supported: |
27 | 28 | ||
28 | * `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. |
29 | * `website_url` - (Required) The URL of the website to be monitored. | 30 | * `website_url` - (Required) The URL of the website to be monitored |
30 | * `check_rate` - (Optional) Test check rate in seconds. Defaults to 300. | 31 | * `check_rate` - (Optional) Test check rate in seconds. Defaults to 300 |
31 | * `test_type` - (Required) The type of Test. Either HTTP or TCP. | 32 | * `contact_id` - (Optional) The id of the contact group to be add to the test. Each test can have only one. |
33 | * `test_type` - (Required) The type of Test. Either HTTP or TCP | ||
32 | * `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. |
33 | * `timeout` - (Optional) The timeout of the test in seconds. | 35 | * `timeout` - (Optional) The timeout of the test in seconds. |
34 | * `contact_id` - (Optional) The ID of the contact group to associate with the test. | 36 | * `contact_id` - (Optional) The ID of the contact group to associate with the test. |
@@ -39,4 +41,4 @@ The following arguments are supported: | |||
39 | 41 | ||
40 | The following attribute is exported: | 42 | The following attribute is exported: |
41 | 43 | ||
42 | * `test_id` - A unique identifier for the test. \ No newline at end of file | 44 | * `test_id` - A unique identifier for the test. |