Skip to content

Commit

Permalink
chore(update-schemas): 2025-01-15 (#1994)
Browse files Browse the repository at this point in the history
Co-authored-by: GitHub <[email protected]>
  • Loading branch information
github-actions[bot] and web-flow authored Jan 15, 2025
1 parent eb0795a commit 7df6fe0
Show file tree
Hide file tree
Showing 20 changed files with 221 additions and 5 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ nav_order: 1

## [MAJOR.MINOR.PATCH] - YYYY-MM-DD

- Add `aiven_flink` resource and datasource field `flink_user_config.custom_code`: Enable to upload Custom JARs for Flink applications.
- Add `aiven_grafana` resource and datasource field `grafana_user_config.dashboard_scenes_enabled`: Enable
use of the Grafana Scenes Library as the dashboard engine
- Add `aiven_kafka_connect` resource and datasource field `kafka_connect_user_config.plugin_versions`: The plugin selected by the user
- Add `aiven_opensearch` resource and datasource field `opensearch_user_config.opensearch.cluster_search_request_slowlog`
- Add `aiven_opensearch` resource and datasource field `opensearch_user_config.opensearch.enable_remote_backed_storage`:
Enable remote-backed storage.
- Add `aiven_service_integration_endpoint` resource and datasource field `external_azure_blob_storage_user_config`:
ExternalAzureBlobStorage user configurable settings

## [4.32.0] - 2025-01-14

- Add `aiven_kafka_quota` resource
Expand Down
1 change: 1 addition & 0 deletions docs/data-sources/flink.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ Read-Only:
Read-Only:

- `additional_backup_regions` (List of String)
- `custom_code` (Boolean)
- `flink_version` (String)
- `ip_filter` (Set of String)
- `ip_filter_object` (Set of Object) (see [below for nested schema](#nestedobjatt--flink_user_config--ip_filter_object))
Expand Down
1 change: 1 addition & 0 deletions docs/data-sources/grafana.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ Read-Only:
- `cookie_samesite` (String)
- `custom_domain` (String)
- `dashboard_previews_enabled` (Boolean)
- `dashboard_scenes_enabled` (Boolean)
- `dashboards_min_refresh_interval` (String)
- `dashboards_versions_to_keep` (Number)
- `dataproxy_send_user_header` (Boolean)
Expand Down
10 changes: 10 additions & 0 deletions docs/data-sources/kafka_connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ Read-Only:
- `ip_filter_object` (Set of Object) (see [below for nested schema](#nestedobjatt--kafka_connect_user_config--ip_filter_object))
- `ip_filter_string` (Set of String)
- `kafka_connect` (List of Object) (see [below for nested schema](#nestedobjatt--kafka_connect_user_config--kafka_connect))
- `plugin_versions` (List of Object) (see [below for nested schema](#nestedobjatt--kafka_connect_user_config--plugin_versions))
- `private_access` (List of Object) (see [below for nested schema](#nestedobjatt--kafka_connect_user_config--private_access))
- `privatelink_access` (List of Object) (see [below for nested schema](#nestedobjatt--kafka_connect_user_config--privatelink_access))
- `public_access` (List of Object) (see [below for nested schema](#nestedobjatt--kafka_connect_user_config--public_access))
Expand Down Expand Up @@ -120,6 +121,15 @@ Read-Only:
- `session_timeout_ms` (Number)


<a id="nestedobjatt--kafka_connect_user_config--plugin_versions"></a>
### Nested Schema for `kafka_connect_user_config.plugin_versions`

Read-Only:

- `plugin_name` (String)
- `version` (String)


<a id="nestedobjatt--kafka_connect_user_config--private_access"></a>
### Nested Schema for `kafka_connect_user_config.private_access`

Expand Down
22 changes: 22 additions & 0 deletions docs/data-sources/opensearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,11 @@ Read-Only:
- `cluster_max_shards_per_node` (Number)
- `cluster_routing_allocation_balance_prefer_primary` (Boolean)
- `cluster_routing_allocation_node_concurrent_recoveries` (Number)
- `cluster_search_request_slowlog` (List of Object) (see [below for nested schema](#nestedobjatt--opensearch_user_config--opensearch--cluster_search_request_slowlog))
- `email_sender_name` (String)
- `email_sender_password` (String)
- `email_sender_username` (String)
- `enable_remote_backed_storage` (Boolean)
- `enable_security_audit` (Boolean)
- `http_max_content_length` (Number)
- `http_max_header_size` (Number)
Expand Down Expand Up @@ -303,6 +305,26 @@ Read-Only:



<a id="nestedobjatt--opensearch_user_config--opensearch--cluster_search_request_slowlog"></a>
### Nested Schema for `opensearch_user_config.opensearch.cluster_search_request_slowlog`

Read-Only:

- `level` (String)
- `threshold` (List of Object) (see [below for nested schema](#nestedobjatt--opensearch_user_config--opensearch--cluster_search_request_slowlog--threshold))

<a id="nestedobjatt--opensearch_user_config--opensearch--cluster_search_request_slowlog--threshold"></a>
### Nested Schema for `opensearch_user_config.opensearch.cluster_search_request_slowlog.threshold`

Read-Only:

- `debug` (String)
- `info` (String)
- `trace` (String)
- `warn` (String)



<a id="nestedobjatt--opensearch_user_config--opensearch--search_backpressure"></a>
### Nested Schema for `opensearch_user_config.opensearch.search_backpressure`

Expand Down
11 changes: 11 additions & 0 deletions docs/data-sources/service_integration_endpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ data "aiven_service_integration_endpoint" "example_datadog_endpoint" {
- `external_aws_cloudwatch_logs_user_config` (List of Object) ExternalAwsCloudwatchLogs user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later (see [below for nested schema](#nestedatt--external_aws_cloudwatch_logs_user_config))
- `external_aws_cloudwatch_metrics_user_config` (List of Object) ExternalAwsCloudwatchMetrics user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later (see [below for nested schema](#nestedatt--external_aws_cloudwatch_metrics_user_config))
- `external_aws_s3_user_config` (List of Object) ExternalAwsS3 user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later (see [below for nested schema](#nestedatt--external_aws_s3_user_config))
- `external_azure_blob_storage_user_config` (List of Object) ExternalAzureBlobStorage user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later (see [below for nested schema](#nestedatt--external_azure_blob_storage_user_config))
- `external_clickhouse_user_config` (List of Object) ExternalClickhouse user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later (see [below for nested schema](#nestedatt--external_clickhouse_user_config))
- `external_elasticsearch_logs_user_config` (List of Object) ExternalElasticsearchLogs user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later (see [below for nested schema](#nestedatt--external_elasticsearch_logs_user_config))
- `external_google_cloud_bigquery` (List of Object) ExternalGoogleCloudBigquery user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later (see [below for nested schema](#nestedatt--external_google_cloud_bigquery))
Expand Down Expand Up @@ -124,6 +125,16 @@ Read-Only:
- `url` (String)


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

Read-Only:

- `blob_path` (String)
- `connection_string` (String)
- `container` (String)


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

Expand Down
1 change: 1 addition & 0 deletions docs/resources/flink.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ Optional:
Optional:

- `additional_backup_regions` (List of String, Deprecated) Additional Cloud Regions for Backup Replication.
- `custom_code` (Boolean) Enable to upload Custom JARs for Flink applications.
- `flink_version` (String) Enum: `1.16`, `1.19`, `1.20`, and newer. Flink major version.
- `ip_filter` (Set of String, Deprecated) Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`.
- `ip_filter_object` (Block Set, Max: 1024) Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16` (see [below for nested schema](#nestedblock--flink_user_config--ip_filter_object))
Expand Down
1 change: 1 addition & 0 deletions docs/resources/grafana.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ Optional:
- `cookie_samesite` (String) Enum: `lax`, `none`, `strict`. Cookie SameSite attribute: `strict` prevents sending cookie for cross-site requests, effectively disabling direct linking from other sites to Grafana. `lax` is the default value.
- `custom_domain` (String) Serve the web frontend using a custom CNAME pointing to the Aiven DNS name. Example: `grafana.example.org`.
- `dashboard_previews_enabled` (Boolean) Enable browsing of dashboards in grid (pictures) mode. This feature is new in Grafana 9 and is quite resource intensive. It may cause low-end plans to work more slowly while the dashboard previews are rendering.
- `dashboard_scenes_enabled` (Boolean) Enable use of the Grafana Scenes Library as the dashboard engine. i.e. the `dashboardScene` feature flag. Upstream blog post at https://grafana.com/blog/2024/10/31/grafana-dashboards-are-now-powered-by-scenes-big-changes-same-ui/.
- `dashboards_min_refresh_interval` (String) Signed sequence of decimal numbers, followed by a unit suffix (ms, s, m, h, d), e.g. 30s, 1h. Example: `5s`.
- `dashboards_versions_to_keep` (Number) Dashboard versions to keep per dashboard. Example: `20`.
- `dataproxy_send_user_header` (Boolean) Send `X-Grafana-User` header to data source.
Expand Down
10 changes: 10 additions & 0 deletions docs/resources/kafka_connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ Optional:
- `ip_filter_object` (Block Set, Max: 1024) Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16` (see [below for nested schema](#nestedblock--kafka_connect_user_config--ip_filter_object))
- `ip_filter_string` (Set of String) Allow incoming connections from CIDR address block, e.g. `10.20.0.0/16`.
- `kafka_connect` (Block List, Max: 1) Kafka Connect configuration values (see [below for nested schema](#nestedblock--kafka_connect_user_config--kafka_connect))
- `plugin_versions` (Block List) The plugin selected by the user (see [below for nested schema](#nestedblock--kafka_connect_user_config--plugin_versions))
- `private_access` (Block List, Max: 1) Allow access to selected service ports from private networks (see [below for nested schema](#nestedblock--kafka_connect_user_config--private_access))
- `privatelink_access` (Block List, Max: 1) Allow access to selected service components through Privatelink (see [below for nested schema](#nestedblock--kafka_connect_user_config--privatelink_access))
- `public_access` (Block List, Max: 1) Allow access to selected service ports from the public Internet (see [below for nested schema](#nestedblock--kafka_connect_user_config--public_access))
Expand Down Expand Up @@ -160,6 +161,15 @@ Optional:
- `session_timeout_ms` (Number) The timeout in milliseconds used to detect failures when using Kafka’s group management facilities (defaults to 10000).


<a id="nestedblock--kafka_connect_user_config--plugin_versions"></a>
### Nested Schema for `kafka_connect_user_config.plugin_versions`

Required:

- `plugin_name` (String) The name of the plugin. Example: `debezium-connector`.
- `version` (String) The version of the plugin. Example: `2.5.0`.


<a id="nestedblock--kafka_connect_user_config--private_access"></a>
### Nested Schema for `kafka_connect_user_config.private_access`

Expand Down
22 changes: 22 additions & 0 deletions docs/resources/opensearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,11 @@ Optional:
- `cluster_max_shards_per_node` (Number) Controls the number of shards allowed in the cluster per data node. Example: `1000`.
- `cluster_routing_allocation_balance_prefer_primary` (Boolean) When set to true, OpenSearch attempts to evenly distribute the primary shards between the cluster nodes. Enabling this setting does not always guarantee an equal number of primary shards on each node, especially in the event of a failover. Changing this setting to false after it was set to true does not invoke redistribution of primary shards. Default is false. Default: `false`.
- `cluster_routing_allocation_node_concurrent_recoveries` (Number) How many concurrent incoming/outgoing shard recoveries (normally replicas) are allowed to happen on a node. Defaults to node cpu count * 2.
- `cluster_search_request_slowlog` (Block List, Max: 1) (see [below for nested schema](#nestedblock--opensearch_user_config--opensearch--cluster_search_request_slowlog))
- `email_sender_name` (String) Sender name placeholder to be used in Opensearch Dashboards and Opensearch keystore. Example: `alert-sender`.
- `email_sender_password` (String, Sensitive) Sender password for Opensearch alerts to authenticate with SMTP server. Example: `very-secure-mail-password`.
- `email_sender_username` (String) Sender username for Opensearch alerts. Example: `[email protected]`.
- `enable_remote_backed_storage` (Boolean) Enable remote-backed storage.
- `enable_security_audit` (Boolean) Enable/Disable security audit.
- `http_max_content_length` (Number) Maximum content length for HTTP requests to the OpenSearch HTTP API, in bytes.
- `http_max_header_size` (Number) The max size of allowed headers, in bytes. Example: `8192`.
Expand Down Expand Up @@ -328,6 +330,26 @@ Optional:



<a id="nestedblock--opensearch_user_config--opensearch--cluster_search_request_slowlog"></a>
### Nested Schema for `opensearch_user_config.opensearch.cluster_search_request_slowlog`

Optional:

- `level` (String) Enum: `debug`, `info`, `trace`, `warn`. Log level. Default: `trace`.
- `threshold` (Block List, Max: 1) (see [below for nested schema](#nestedblock--opensearch_user_config--opensearch--cluster_search_request_slowlog--threshold))

<a id="nestedblock--opensearch_user_config--opensearch--cluster_search_request_slowlog--threshold"></a>
### Nested Schema for `opensearch_user_config.opensearch.cluster_search_request_slowlog.threshold`

Optional:

- `debug` (String) Debug threshold for total request took time. The value should be in the form count and unit, where unit one of (s,m,h,d,nanos,ms,micros) or -1. Default is -1.
- `info` (String) Info threshold for total request took time. The value should be in the form count and unit, where unit one of (s,m,h,d,nanos,ms,micros) or -1. Default is -1.
- `trace` (String) Trace threshold for total request took time. The value should be in the form count and unit, where unit one of (s,m,h,d,nanos,ms,micros) or -1. Default is -1.
- `warn` (String) Warning threshold for total request took time. The value should be in the form count and unit, where unit one of (s,m,h,d,nanos,ms,micros) or -1. Default is -1.



<a id="nestedblock--opensearch_user_config--opensearch--search_backpressure"></a>
### Nested Schema for `opensearch_user_config.opensearch.search_backpressure`

Expand Down
14 changes: 14 additions & 0 deletions docs/resources/service_integration_endpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ resource "aiven_service_integration_endpoint" "autoscaler_endpoint" {
- `external_aws_cloudwatch_logs_user_config` (Block List, Max: 1) ExternalAwsCloudwatchLogs user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later (see [below for nested schema](#nestedblock--external_aws_cloudwatch_logs_user_config))
- `external_aws_cloudwatch_metrics_user_config` (Block List, Max: 1) ExternalAwsCloudwatchMetrics user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later (see [below for nested schema](#nestedblock--external_aws_cloudwatch_metrics_user_config))
- `external_aws_s3_user_config` (Block List, Max: 1) ExternalAwsS3 user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later (see [below for nested schema](#nestedblock--external_aws_s3_user_config))
- `external_azure_blob_storage_user_config` (Block List, Max: 1) ExternalAzureBlobStorage user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later (see [below for nested schema](#nestedblock--external_azure_blob_storage_user_config))
- `external_clickhouse_user_config` (Block List, Max: 1) ExternalClickhouse user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later (see [below for nested schema](#nestedblock--external_clickhouse_user_config))
- `external_elasticsearch_logs_user_config` (Block List, Max: 1) ExternalElasticsearchLogs user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later (see [below for nested schema](#nestedblock--external_elasticsearch_logs_user_config))
- `external_google_cloud_bigquery` (Block List, Max: 1) ExternalGoogleCloudBigquery user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later (see [below for nested schema](#nestedblock--external_google_cloud_bigquery))
Expand Down Expand Up @@ -159,6 +160,19 @@ Required:
- `url` (String) S3-compatible bucket URL. Example: `https://mybucket.s3-myregion.amazonaws.com/mydataset/`.


<a id="nestedblock--external_azure_blob_storage_user_config"></a>
### Nested Schema for `external_azure_blob_storage_user_config`

Required:

- `connection_string` (String, Sensitive) Azure Blob Storage connection string. Example: `AccountName=IDENT;AccountKey=SECRET`.
- `container` (String) Container. Example: `container-dev`.

Optional:

- `blob_path` (String) Blob path. Example: `path/to/blob/file.csv`.


<a id="nestedblock--external_clickhouse_user_config"></a>
### Nested Schema for `external_clickhouse_user_config`

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ require (

require (
github.com/agext/levenshtein v1.2.3 // indirect
github.com/aiven/go-api-schemas v1.107.0
github.com/aiven/go-api-schemas v1.109.0
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/fatih/color v1.16.0 // indirect
Expand All @@ -56,7 +56,7 @@ require (
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/hashicorp/go-multierror v1.1.1
github.com/hashicorp/go-plugin v1.6.2 // indirect
github.com/hashicorp/go-safetemp v1.0.0 // indirect
github.com/hashicorp/go-uuid v1.0.3 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ github.com/agext/levenshtein v1.2.3 h1:YB2fHEn0UJagG8T1rrWknE3ZQzWM06O8AMAatNn7l
github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
github.com/aiven/aiven-go-client/v2 v2.33.0 h1:7hsM3/2lVog/P9ls/gLeba5feNVQjK8rIL+lbxD2GB4=
github.com/aiven/aiven-go-client/v2 v2.33.0/go.mod h1:qXBgER0dtjJa1V3l7kzpizuAGjFCkgahhHL5OpoM2ZM=
github.com/aiven/go-api-schemas v1.107.0 h1:+FKR5Ko70yv4Xto6S4TqX0eHzme/uB81Mp5bUcXXf6U=
github.com/aiven/go-api-schemas v1.107.0/go.mod h1:z7dGvufm6If4gOdVr7dWTuFZmll9FOZr5Z5CSxGpebA=
github.com/aiven/go-api-schemas v1.109.0 h1:6T0yk6aUpROlmk0xq4weot2kRnDFupf56UDPhcs/5sU=
github.com/aiven/go-api-schemas v1.109.0/go.mod h1:z7dGvufm6If4gOdVr7dWTuFZmll9FOZr5Z5CSxGpebA=
github.com/aiven/go-client-codegen v0.76.0 h1:4Od3FmkF9ApdQU+FBgxQLxFge9cmpnMziXpKddkeWow=
github.com/aiven/go-client-codegen v0.76.0/go.mod h1:QKN/GgLMGWd6+gPEucXlZPi5vC3C6RpD3UeBRQOLI1Y=
github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec=
Expand Down
6 changes: 6 additions & 0 deletions internal/sdkprovider/userconfig/service/flink.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions internal/sdkprovider/userconfig/service/grafana.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7df6fe0

Please sign in to comment.