Skip to content

Commit ec2990b

Browse files
authored
Chore/documentation DAITDS-103 MON-130 (#168)
* documentation DAITDS-103 * documentation MON-130
1 parent f5a9497 commit ec2990b

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

website/docs/r/monitoringjob.html.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ resource "ns1_monitoringjob" "uswest_monitor" {
2121
frequency = 60
2222
rapid_recheck = true
2323
policy = "quorum"
24+
mute = true
2425
2526
config = {
2627
ssl = 1
@@ -58,6 +59,7 @@ The following arguments are supported:
5859
* `notify_list` - (Optional) The Terraform ID (e.g. ns1_notifylist.my_slack_notifier.id) of the notification list to which monitoring notifications should be sent.
5960
* `notes` - (Optional) Freeform notes to be included in any notifications about this job.
6061
* `rules` - (Optional) A list of rules for determining failure conditions. Each rule acts on one of the outputs from the monitoring job. You must specify key (the output key); comparison (a comparison to perform on the the output); and value (the value to compare to). For example, {"key":"rtt", "comparison":"<", "value":100} is a rule requiring the rtt from a job to be under 100ms, or the job will be marked failed. Available output keys, comparators, and value types are are found by submitting a GET request to https://api.nsone.net/v1/monitoring/jobtypes.
62+
* `mute` - (Optional) turn off the notifications for the monitoring job.
6163

6264
## Attributes Reference
6365

website/docs/r/team.html.markdown

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,13 @@ resource "ns1_team" "example2" {
4242
dns_zones_allow_by_default = true
4343
dns_zones_allow = ["mytest.zone"]
4444
dns_zones_deny = ["myother.zone"]
45+
46+
dns_records_allow {
47+
domain = "terraform.example.io"
48+
include_subdomains = false
49+
zone = "example.io"
50+
type = "A"
51+
}
4552
4653
data_manage_datasources = true
4754
}
@@ -58,6 +65,8 @@ The following arguments are supported:
5865
* `dns_zones_allow_by_default` - (Optional) If true, enable the `dns_zones_allow` list, otherwise enable the `dns_zones_deny` list.
5966
* `dns_zones_allow` - (Optional) List of zones that the team may access.
6067
* `dns_zones_deny` - (Optional) List of zones that the team may not access.
68+
* `dns_record_allow` - (Optional) List of records that the team may access.
69+
* `dns_record_deny` - (Optional) List of records that the team may not access.
6170
* `data_push_to_datafeeds` - (Optional) Whether the team can publish to data feeds.
6271
* `data_manage_datasources` - (Optional) Whether the team can modify data sources.
6372
* `data_manage_datafeeds` - (Optional) Whether the team can modify data feeds.

0 commit comments

Comments
 (0)