Skip to content

Commit 4440ba8

Browse files
authored
Merge pull request #76 from drduke1/patch-1
Update monitors.html.markdown
2 parents 0a7a4b3 + 7746460 commit 4440ba8

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

website/docs/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
+ [sumologic_content][44]
3131
+ [sumologic_connection][45]
3232

33+
##### Monitors
34+
+ [sumologic_monitor][46]
35+
3336
#### Common Source Properties
3437

3538
The following properties are common to ALL sources and can be used to configure each source.
@@ -70,3 +73,4 @@ The following properties are common to ALL sources and can be used to configure
7073
[43]: r/folder.html.markdown
7174
[44]: r/content.html.markdown
7275
[45]: r/connection.html.markdown
76+
[46]: r/monitor.html.markdown

website/docs/r/monitors.html.markdown renamed to website/docs/r/monitor.html.markdown

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
layout: 'sumologic'
33
page_title: 'SumoLogic: sumologic_monitor'
44
description: |-
5-
Provides the ability to create, read, delete, update monitors.
5+
Provides the ability to create, read, delete, and update monitors.
66
---
77

88
# sumologic_monitor
99

10-
Provides the ability to create, read, delete, update [Monitors (New)][1].
10+
Provides the ability to create, read, delete, and update [Monitors][1].
1111

1212
## Example Logs Monitor
1313

@@ -94,7 +94,7 @@ resource "sumologic_monitor" "tf_metrics_monitor_1" {
9494

9595
## Example Monitor Folder
9696

97-
NOTE: Monitors folders are considered a different resource from other content folders.
97+
NOTE: Monitor folders are considered a different resource from Library content folders.
9898

9999
```hcl
100100
resource "sumologic_monitor_folder" "tf_monitor_folder_1" {
@@ -107,13 +107,13 @@ resource "sumologic_monitor_folder" "tf_monitor_folder_1" {
107107

108108
The following arguments are supported:
109109

110-
- `type` - (Optional) Type of the object model. Valid values:
110+
- `type` - (Optional) The type of object model. Valid value:
111111
- `MonitorsLibraryMonitor`
112-
- `name` - (Required) Name of monitor. Name should be a valid alphanumeric value.
113-
- `description` - (Required) Description of the monitor.
114-
- `is_disabled` - (Optional) Whether or not the monitor is disabled. Disabled monitors will not run, and will not generate or send notifications.
112+
- `name` - (Required) The name of the monitor. The name must be alphanumeric.
113+
- `description` - (Required) The description of the monitor.
114+
- `is_disabled` - (Optional) Whether or not the monitor is disabled. Disabled monitors will not run and will not generate or send notifications.
115115
- `parent_id` - (Optional) The ID of the Monitor Folder that contains this monitor. Defaults to the root folder.
116-
- `content_type` - (Optional) Type of the content object. Valid values:
116+
- `content_type` - (Optional) The type of the content object. Valid value:
117117
- `Monitor`
118118
- `monitor_type` - (Required) The type of monitor. Valid values:
119119
- `Logs`: A logs query monitor.
@@ -123,9 +123,9 @@ The following arguments are supported:
123123
- `notifications` - (Optional) The notifications the monitor will send when the respective trigger condition is met.
124124
- `group_notifications` - (Optional) Whether or not to group notifications for individual items that meet the trigger condition. Defaults to true.
125125

126-
Additional data provided in state
126+
Additional data provided in state:
127127

128-
- `id` - (Computed) The Id for this monitor.
128+
- `id` - (Computed) The ID for this monitor.
129129
- `status` - (Computed) The current status for this monitor. Values are:
130130
- `Critical`
131131
- `Warning`
@@ -135,7 +135,7 @@ Additional data provided in state
135135

136136
## Import
137137

138-
Monitors can be imported using the monitor ID, e.g.:
138+
Monitors can be imported using the monitor ID, such as:
139139

140140
```hcl
141141
terraform import sumologic_monitor.test 1234567890

0 commit comments

Comments
 (0)