Skip to content

Commit f45ebfd

Browse files
committed
fix: Fix typo in description of operating_system field in dynatrace_process_availability resource
1 parent b8c16db commit f45ebfd

File tree

1 file changed

+2
-2
lines changed
  • dynatrace/api/builtin/processavailability/settings

1 file changed

+2
-2
lines changed

dynatrace/api/builtin/processavailability/settings/settings.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type Settings struct {
2727
Metadata MetadataItems `json:"metadata,omitempty"` // Set of additional key-value properties to be attached to the triggered event. You can retrieve the available property keys using the [Events API v2](https://dt-url.net/9622g1w). Additionally any Host resource attribute can be dynamically substituted (agent 1.325+).
2828
MinimumProcesses int `json:"minimumProcesses"` // Specify a minimum number of processes matching the monitoring rule. An alert is triggered if any host falls below this threshold.
2929
Name string `json:"name"` // Monitoring rule name
30-
OperatingSystem []OperatingSystem `json:"operatingSystem"` // Select the operating systems on which the monitoring rule should be applied.. Possible Values: `AIX`, `LINUX`, `WINDOWS`
30+
OperatingSystem []OperatingSystem `json:"operatingSystem"` // Select the operating systems on which the monitoring rule should be applied. Possible Values: `AIX`, `LINUX`, `WINDOWS`
3131
Rules DetectionConditions `json:"rules,omitempty"` // Define process detection rules by selecting a process property and a condition. Each monitoring rule can have multiple detection rules associated with it.
3232
Scope *string `json:"-" scope:"scope"` // The scope of this setting (HOST, HOST_GROUP). Omit this property if you want to cover the whole environment.
3333
InsertAfter string `json:"-"`
@@ -65,7 +65,7 @@ func (me *Settings) Schema() map[string]*schema.Schema {
6565
},
6666
"operating_system": {
6767
Type: schema.TypeSet,
68-
Description: "Select the operating systems on which the monitoring rule should be applied.. Possible Values: `AIX`, `LINUX`, `WINDOWS`",
68+
Description: "Select the operating systems on which the monitoring rule should be applied. Possible Values: `AIX`, `LINUX`, `WINDOWS`",
6969
Optional: true,
7070
DiffSuppressFunc: func(k, oldValue, newValue string, d *schema.ResourceData) bool {
7171
// operating_system was introduced in v286 as a required field, added code below to have successful results for old/new tenants.

0 commit comments

Comments
 (0)