Skip to content

Commit

Permalink
chore: regenerated docs, fixed examples
Browse files Browse the repository at this point in the history
  • Loading branch information
celaus committed Jan 8, 2025
1 parent 8edb981 commit ed152a1
Show file tree
Hide file tree
Showing 69 changed files with 3,091 additions and 1,845 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -729,6 +729,11 @@ Fix:

* SLO issue when using variables

# Release 1.18.16

Feature:

* Add analytics header to requests

# Release 2.0.0

Expand Down
2 changes: 1 addition & 1 deletion coralogix/clientset/clientset.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ func (c *ClientSet) Integrations() *cxsdk.IntegrationsClient {
}

func NewClientSet(region string, apiKey string, targetUrl string) *ClientSet {
apiKeySdk := cxsdk.NewCallPropertiesCreatorTerraformOperator(strings.ToLower(region), cxsdk.NewAuthContext(apiKey, apiKey), TF_PROVIDER_VERSION)
apiKeySdk := cxsdk.NewCallPropertiesCreatorTerraform(strings.ToLower(region), cxsdk.NewAuthContext(apiKey, apiKey), TF_PROVIDER_VERSION)
apikeyCPC := NewCallPropertiesCreator(targetUrl, apiKey)

return &ClientSet{
Expand Down
1,073 changes: 816 additions & 257 deletions docs/data-sources/alert.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/data-sources/api_key.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ data "coralogix_api_key" "same_key_by_id" {
- `active` (Boolean) Api Key Is Active.
- `hashed` (Boolean) Api Key Is Hashed.
- `name` (String) Api Key name.
- `owner` (Attributes) Api Key Owner.It can either be a team_id or a user_id (see [below for nested schema](#nestedatt--owner))
- `owner` (Attributes) Api Key Owner. It can either be a team_id or a user_id (see [below for nested schema](#nestedatt--owner))
- `permissions` (Set of String) Api Key Permissions
- `presets` (Set of String) Api Key Presets
- `value` (String) Api Key value.
Expand Down
4 changes: 2 additions & 2 deletions docs/data-sources/custom_role.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
page_title: "coralogix_custom_role Data Source - terraform-provider-coralogix"
subcategory: ""
description: |-
Coralogix Custom roles.
Coralogix Custom cxsdk.
---

# coralogix_custom_role (Data Source)

Coralogix Custom roles.
Coralogix Custom cxsdk.



Expand Down
100 changes: 50 additions & 50 deletions docs/data-sources/dashboard.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/data-sources/events2metric.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Read-Only:

- `applications` (Set of String) An array that contains log’s application names that we want to be alerted on. Applications can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx
- `lucene` (String) The search_query that we wanted to be notified on.
- `severities` (Set of String) An array of severities that we interested in. Can be one of ["Critical" "Unspecified" "Debug" "Verbose" "Info" "Warning" "Error"]
- `severities` (Set of String) An array of severities that we interested in. Can be one of ["Critical" "Debug" "Error" "Info" "Unspecified" "Verbose" "Warning"]
- `subsystems` (Set of String) An array that contains log’s subsystem names that we want to be notified on. Subsystems can be filtered by prefix, suffix, and contains using the next patterns - filter:startsWith:xxx, filter:endsWith:xxx, filter:contains:xxx


Expand Down Expand Up @@ -117,7 +117,7 @@ Read-Only:

- `enable` (Boolean)
- `target_metric_name` (String)
- `type` (String) Can be one of ["Min" "Max"].
- `type` (String) Can be one of ["Max" "Min"].


<a id="nestedatt--metric_fields--aggregations--sum"></a>
Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/rules_group.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ data "coralogix_rules_group" "imported_rules_group_example" {
- `name` (String) Rule-group name
- `order` (Number) Determines the index of the rule-group between the other rule-groups. By default, will be added last. (1 based indexing).
- `rule_subgroups` (List of Object) List of rule-subgroups. Every rule-subgroup is list of rules with 'or' (||) operation between. (see [below for nested schema](#nestedatt--rule_subgroups))
- `severities` (Set of String) Rules will execute on logs that match the following severities. Can be one of ["Debug" "Verbose" "Info" "Warning" "Error" "Critical"]
- `severities` (Set of String) Rules will execute on logs that match the following severities. Can be one of ["Critical" "Debug" "Error" "Info" "Verbose" "Warning"]
- `subsystems` (Set of String) Rules will execute on logs that match the following subsystems.

<a id="nestedatt--rule_subgroups"></a>
Expand Down
6 changes: 3 additions & 3 deletions docs/data-sources/slo.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ Coralogix SLO.
- `description` (String) Optional SLO description.
- `filters` (Attributes Set) (see [below for nested schema](#nestedatt--filters))
- `name` (String) SLO name.
- `period` (String) Period. This is the period of the SLO. Valid values are: ["unspecified" "7_days" "14_days" "30_days"]
- `period` (String) Period. This is the period of the SLO. Valid values are: ["14_days" "30_days" "7_days" "unspecified"]
- `remaining_error_budget_percentage` (Number)
- `service_name` (String) Service name. This is the name of the service that the SLO is associated with.
- `status` (String)
- `target_percentage` (Number) Target percentage. This is the target percentage of the SLO.
- `threshold_microseconds` (Number) Threshold in microseconds. Required when `type` is `latency`.
- `threshold_symbol_type` (String) Threshold symbol type. Required when `type` is `latency`. Valid values are: ["greater" "greater_or_equal" "less" "less_or_equal" "equal"]
- `threshold_symbol_type` (String) Threshold symbol type. Required when `type` is `latency`. Valid values are: ["equal" "greater" "greater_or_equal" "less" "less_or_equal"]
- `type` (String) Type. This is the type of the SLO. Valid values are: "error", "latency".

<a id="nestedatt--filters"></a>
### Nested Schema for `filters`

Read-Only:

- `compare_type` (String) Compare type. This is the compare type of the SLO. Valid values are: ["starts_with" "ends_with" "includes" "unspecified" "is"]
- `compare_type` (String) Compare type. This is the compare type of the SLO. Valid values are: ["ends_with" "includes" "is" "starts_with" "unspecified"]
- `field` (String)
- `field_values` (Set of String)
4 changes: 2 additions & 2 deletions docs/data-sources/tco_policies_logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Read-Only:
- `name` (String) tco-policy name.
- `order` (Number) The policy's order between the other policies.
- `priority` (String) The policy priority. Can be one of ["block" "high" "low" "medium"].
- `severities` (Set of String) The severities to apply the policy on. Can be few of ["debug" "verbose" "info" "warning" "error" "critical"].
- `severities` (Set of String) The severities to apply the policy on. Can be few of ["critical" "debug" "error" "info" "verbose" "warning"].
- `subsystems` (Attributes) The subsystems to apply the policy on. Applies the policy on all the subsystems by default. (see [below for nested schema](#nestedatt--policies--subsystems))

<a id="nestedatt--policies--applications"></a>
Expand All @@ -48,7 +48,7 @@ Read-Only:
Read-Only:

- `names` (Set of String)
- `rule_type` (String) The rule type. Can be one of ["is" "is_not" "starts_with" "includes"].
- `rule_type` (String) The rule type. Can be one of ["includes" "is" "is_not" "starts_with" "unspecified"].


<a id="nestedatt--policies--subsystems"></a>
Expand Down
6 changes: 3 additions & 3 deletions docs/data-sources/webhook.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Read-Only:

Read-Only:

- `detail` (String)
- `detail` (String) Event bridge message. JSON string. More details about the token ["here"](https://coralogix.com/docs/user-guides/alerting/outbound-webhooks/generic-outbound-webhooks-alert-webhooks/#placeholders)
- `detail_type` (String) Free text to be included in the event.
- `event_bus_arn` (String) Corresponds to the event bus, which will receive notifications. The policy attached must contain permission to publish.
- `role_name` (String) Corresponds to the AWS IAM role that will be created in your account.
Expand Down Expand Up @@ -146,7 +146,7 @@ Read-Only:
Read-Only:

- `attachments` (Attributes List) Slack attachments. (see [below for nested schema](#nestedatt--slack--attachments))
- `notify_on` (Set of String) Slack notifications. can be one of: error_and_critical_logs, flow_anomalies, spike_anomalies, data_usage
- `notify_on` (Set of String) Slack notifications. can be one of: data_usage, error_and_critical_logs, flow_anomalies, spike_anomalies
- `url` (String) Slack URL.

<a id="nestedatt--slack--attachments"></a>
Expand All @@ -155,4 +155,4 @@ Read-Only:
Read-Only:

- `active` (Boolean) Determines if the attachment is active. Default is true.
- `type` (String) Slack attachment type. can be one of: logs, empty, metric_snapshot
- `type` (String) Slack attachment type. can be one of: empty, logs, metric_snapshot
Loading

0 comments on commit ed152a1

Please sign in to comment.