diff options
author | stack72 <public@paulstack.co.uk> | 2015-11-28 01:03:15 +0000 |
---|---|---|
committer | stack72 <public@paulstack.co.uk> | 2015-11-30 10:44:21 +0000 |
commit | d3491090f8b1844d84b8d09394f11f28545b8355 (patch) | |
tree | 791cd241f065a8a8bd70b01714ffc347adcfe5d0 /r | |
download | terraform-provider-statuscake-d3491090f8b1844d84b8d09394f11f28545b8355.tar.gz terraform-provider-statuscake-d3491090f8b1844d84b8d09394f11f28545b8355.tar.zst terraform-provider-statuscake-d3491090f8b1844d84b8d09394f11f28545b8355.zip |
Adding some documentation for the StatusCake provider
Diffstat (limited to 'r')
-rw-r--r-- | r/test.html.markdown | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/r/test.html.markdown b/r/test.html.markdown new file mode 100644 index 0000000..d2d1572 --- /dev/null +++ b/r/test.html.markdown | |||
@@ -0,0 +1,40 @@ | |||
1 | --- | ||
2 | layout: "statuscake" | ||
3 | page_title: "StatusCake: statuscake_test" | ||
4 | sidebar_current: "docs-statuscake-test" | ||
5 | description: |- | ||
6 | The statuscake_test resource allows StatusCake tests to be managed by Terraform. | ||
7 | --- | ||
8 | |||
9 | # statuscake\_test | ||
10 | |||
11 | The test resource allows StatusCake tests to be managed by Terraform. | ||
12 | |||
13 | ## Example Usage | ||
14 | |||
15 | ``` | ||
16 | resource "statuscake_test" "google" { | ||
17 | website_name = "google.com" | ||
18 | website_url = "www.google.com" | ||
19 | test_type = "HTTP" | ||
20 | check_rate = 300 | ||
21 | } | ||
22 | ``` | ||
23 | |||
24 | ## Argument Reference | ||
25 | |||
26 | The following arguments are supported: | ||
27 | |||
28 | * `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 | * `check_rate` - (Optional) Test check rate in seconds. Defaults to 300 | ||
31 | * `test_type` - (Required) The type of Test. Either HTTP or TCP | ||
32 | * `paused` - (Optional) Whether or not the test is paused. Defaults to false. | ||
33 | * `timeout` - (Optional) The timeout of the test in seconds. | ||
34 | |||
35 | |||
36 | ## Attributes Reference | ||
37 | |||
38 | The following attribute is exported: | ||
39 | |||
40 | * `test_id` - A unique identifier for the test. \ No newline at end of file | ||