Skip to content

Commit 5c4e944

Browse files
committed
Fixes to fields provider
1 parent 3275ce0 commit 5c4e944

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

website/docs/r/field.html.markdown

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
layout: "sumologic"
3+
page_title: "SumoLogic: sumologic_field"
4+
description: |-
5+
Provides a Sumologic Field
6+
---
7+
8+
# sumologic_field
9+
Provides a [Sumologic Field][1].
10+
11+
## Example Usage
12+
```hcl
13+
resource "sumologic_field" "field" {
14+
field_name = "string_field_1"
15+
data_type = "String"
16+
}
17+
18+
resource "sumologic_field" "field" {
19+
field_name = "int_field_1"
20+
data_type = "Int"
21+
}
22+
```
23+
24+
## Argument reference
25+
26+
The following arguments are supported:
27+
28+
- `field_name` - (Required) Name of the field.
29+
- `field_id` - (Required) Field identifier.
30+
- `data_type` - (Optional) Field type. Possible values are `String`, `Long`, `Int`, `Double`, and `Boolean`.
31+
- `state` - (Optional) State of the field (either `Enabled` or `Disabled`).
32+
33+
## Import
34+
Fields can be imported using the field id, e.g.:
35+
36+
```hcl
37+
terraform import sumologic_field.field 000000000ABC1234
38+
```
39+
40+
[1]: https://help.sumologic.com/Manage/Fields
41+

0 commit comments

Comments
 (0)