Skip to content

Commit

Permalink
Merge pull request #82 from logicmonitor/DEV-160154-DatasourcesDocUpdate
Browse files Browse the repository at this point in the history
Datasources documentation update
  • Loading branch information
lm-madhvi authored Mar 21, 2024
2 parents 7c3ac3e + d99929d commit b85b9cc
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion website/docs/d/alert_rule.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This can be used to get information on a LogicMonitor alert rule resource given
## Example Usage
### AlertRule
```hcl
# create a new LogicMonitor alert rule
# Datasource to get information of LogicMonitor alert rule
data "logicmonitor_AlertRule" "my_AlertRule" {
filter = "name~\"Alert Rule Testing\""
depends_on = [
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/collector.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This can be used to get information on a LogicMonitor collector resource given a
## Example Usage
### Collector
```hcl
# create a new LogicMonitor collector
# Datasource to get information of LogicMonitor collector
data "logicmonitor_Collector" "my_Collector" {
filter = "description~\"Linux Collector\""
depends_on = [
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/collector_group.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This can be used to get information on a LogicMonitor collector group resource g
## Example Usage
### CollectorGroup
```hcl
# create a new LogicMonitor collector group
# Datasource to get information of LogicMonitor collector group
data "logicmonitor_CollectorGroup" "my_CollectorGroup" {
filter = "description~\"Group for collectors dedicated to testing purpose\""
depends_on = [
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/dashboard.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This can be used to get information on a LogicMonitor dashboard resource given a
## Example Usage
### Dashboard
```hcl
# create a new LogicMonitor dashboard
# Datasource to get information of LogicMonitor dashboard
data "logicmonitor_Dashboard" "my_Dashboard" {
filter = "description~\"my dashboard\""
depends_on = [
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/dashboard_group.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This can be used to get information on a LogicMonitor dashboard group resource g
## Example Usage
### DashboardGroup
```hcl
# create a new LogicMonitor dashboard group
# Datasource to get information of LogicMonitor dashboard group
data "logicmonitor_DashboardGroup" "my_DashboardGroup" {
filter = "description~\"LM dashboard group testing\""
depends_on = [
Expand Down
4 changes: 2 additions & 2 deletions website/docs/d/datasource.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This can be used to get information on a LogicMonitor datasource resource given
## Example Usage
### Datasource
```hcl
# create a new LogicMonitor datasource
# Datasource to get information of LogicMonitor datasource
data "logicmonitor_Datasource" "my_Datasource" {
filter = "description~\"datasource test\""
depends_on = [
Expand All @@ -25,7 +25,7 @@ data "logicmonitor_Datasource" "my_Datasource" {
## Argument Reference

The following arguments are supported:
* `filter` - (Optional) Filters the response according to the operator and value specified.More Info: https://www.logicmonitor.com/support/logicmodules/datasources/creating-managing-datasources/creating-datasources. Please refer the filter arguments from resources tab.

* `filter` - (Optional) Filters the response according to the operator and value specified.More Info: https://www.logicmonitor.com/support/rest-api-developers-guide/v1/device-groups/. Please refer the filter arguments from resources tab.
* `depends_on` - (Optional) meta-argument within data blocks defers reading of the data source until after all changes to the dependencies have been applied.

2 changes: 1 addition & 1 deletion website/docs/d/device.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This can be used to get information on a LogicMonitor device resource given a fi
## Example Usage
### Device
```hcl
# create a new LogicMonitor device
# Datasource to get information of LogicMonitor device
data "logicmonitor_Device" "my_Device" {
filter = "displayName~\"Cisco Router Test\""
depends_on = [
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/device_group.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This can be used to get information on a LogicMonitor device group resource give
## Example Usage
### DeviceGroup
```hcl
# create a new LogicMonitor device group
# Datasource to get information of LogicMonitor device group
data "logicmonitor_DeviceGroup" "my_DeviceGroup" {
filter = "description~\"normal device group test\""
depends_on = [
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/escalation_chain.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This can be used to get information on a LogicMonitor escalation chain resource
## Example Usage
### EscalationChain
```hcl
# create a new LogicMonitor escalation chain
# Datasource to get information of LogicMonitor escalation chain
data "logicmonitor_EscalationChain" "my_EscalationChain" {
filter = "description~\"LM Escalation Chain testing\""
depends_on = [
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/website.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This can be used to get information on a LogicMonitor website resource given a f
## Example Usage
### Website
```hcl
# create a new LogicMonitor website
# Datasource to get information of LogicMonitor website
data "logicmonitor_Website" "my_Website" {
filter = "description~\"website test\""
depends_on = [
Expand Down
2 changes: 1 addition & 1 deletion website/docs/d/website_group.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This can be used to get information on a LogicMonitor website group resource giv
## Example Usage
### WebsiteGroup
```hcl
# create a new LogicMonitor website group
# Datasource to get information of LogicMonitor website group
data "logicmonitor_WebsiteGroup" "my_WebsiteGroup" {
filter = "description~\"website group test\""
depends_on = [
Expand Down

0 comments on commit b85b9cc

Please sign in to comment.