Skip to content

Commit

Permalink
chore(userconfig): generate schema
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and byashimov committed Oct 7, 2024
1 parent 8b0ceb1 commit cd12c30
Show file tree
Hide file tree
Showing 22 changed files with 77 additions and 14 deletions.
2 changes: 1 addition & 1 deletion docs/data-sources/account_team_project.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ data "aiven_account_team_project" "account_team_project1" {
### Read-Only

- `id` (String) The ID of this resource.
- `team_type` (String) The Account team project type. The possible values are `admin`, `operator`, `developer` and `read_only`.
- `team_type` (String) The Account team project type. The possible values are `admin`, `operator`, `developer`, `read_only` and `project:read_permissions`.
1 change: 1 addition & 0 deletions docs/data-sources/clickhouse.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ Read-Only:
- `privatelink_access` (List of Object) (see [below for nested schema](#nestedobjatt--clickhouse_user_config--privatelink_access))
- `project_to_fork_from` (String)
- `public_access` (List of Object) (see [below for nested schema](#nestedobjatt--clickhouse_user_config--public_access))
- `recovery_basebackup_name` (String)
- `service_log` (Boolean)
- `service_to_fork_from` (String)
- `static_ips` (Boolean)
Expand Down
2 changes: 2 additions & 0 deletions docs/data-sources/flink.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ Read-Only:
- `ip_filter_object` (Set of Object) (see [below for nested schema](#nestedobjatt--flink_user_config--ip_filter_object))
- `ip_filter_string` (Set of String)
- `number_of_task_slots` (Number)
- `pekko_ask_timeout_s` (Number)
- `pekko_framesize_b` (Number)
- `privatelink_access` (List of Object) (see [below for nested schema](#nestedobjatt--flink_user_config--privatelink_access))
- `service_log` (Boolean)
- `static_ips` (Boolean)
Expand Down
9 changes: 9 additions & 0 deletions docs/data-sources/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ Read-Only:
- `schema_registry` (Boolean)
- `schema_registry_config` (List of Object) (see [below for nested schema](#nestedobjatt--kafka_user_config--schema_registry_config))
- `service_log` (Boolean)
- `single_zone` (List of Object) (see [below for nested schema](#nestedobjatt--kafka_user_config--single_zone))
- `static_ips` (Boolean)
- `tiered_storage` (List of Object) (see [below for nested schema](#nestedobjatt--kafka_user_config--tiered_storage))

Expand Down Expand Up @@ -329,6 +330,14 @@ Read-Only:
- `topic_name` (String)


<a id="nestedobjatt--kafka_user_config--single_zone"></a>
### Nested Schema for `kafka_user_config.single_zone`

Read-Only:

- `enabled` (Boolean)


<a id="nestedobjatt--kafka_user_config--tiered_storage"></a>
### Nested Schema for `kafka_user_config.tiered_storage`

Expand Down
2 changes: 1 addition & 1 deletion docs/data-sources/project_user.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ data "aiven_project_user" "mytestuser" {

- `accepted` (Boolean) Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite.
- `id` (String) The ID of this resource.
- `member_type` (String) Project membership type. The possible values are `admin`, `developer`, `operator` and `read_only`.
- `member_type` (String) Project membership type. The possible values are `admin`, `developer`, `operator`, `project:read_permissions` and `read_only`.
2 changes: 1 addition & 1 deletion docs/data-sources/service_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ data "aiven_service_integration" "example_integration" {
### Required

- `destination_service_name` (String) Destination service for the integration.
- `integration_type` (String) Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `flink_external_postgresql`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanos_distributed_query`, `thanos_migrate`, `thanoscompactor`, `thanosquery`, `thanosstore`, `vector`, `vmalert`
- `integration_type` (String) Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `disaster_recovery`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `flink_external_postgresql`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanos_distributed_query`, `thanos_migrate`, `thanoscompactor`, `thanosquery`, `thanosruler`, `thanosstore`, `vector`, `vmalert`
- `project` (String) Project the integration belongs to.
- `source_service_name` (String) Source service for the integration (if any)

Expand Down
1 change: 1 addition & 0 deletions docs/data-sources/thanos.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ Read-Only:
- `query_frontend` (Boolean)
- `receiver_ingesting` (Boolean)
- `receiver_routing` (Boolean)
- `ruler` (Boolean)
- `store` (Boolean)


Expand Down
2 changes: 1 addition & 1 deletion docs/resources/account_team_project.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ resource "aiven_account_team_project" "main" {
### Optional

- `project_name` (String) The name of an already existing project
- `team_type` (String) The Account team project type. The possible values are `admin`, `operator`, `developer` and `read_only`.
- `team_type` (String) The Account team project type. The possible values are `admin`, `operator`, `developer`, `read_only` and `project:read_permissions`.
- `timeouts` (Block, Optional) (see [below for nested schema](#nestedblock--timeouts))

### Read-Only
Expand Down
1 change: 1 addition & 0 deletions docs/resources/clickhouse.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ Optional:
- `privatelink_access` (Block List, Max: 1) Allow access to selected service components through Privatelink (see [below for nested schema](#nestedblock--clickhouse_user_config--privatelink_access))
- `project_to_fork_from` (String) Name of another project to fork a service from. This has effect only when a new service is being created. Example: `anotherprojectname`.
- `public_access` (Block List, Max: 1) Allow access to selected service ports from the public Internet (see [below for nested schema](#nestedblock--clickhouse_user_config--public_access))
- `recovery_basebackup_name` (String) Name of the basebackup to restore in forked service. Example: `backup-20191112t091354293891z`.
- `service_log` (Boolean) Store logs for the service so that they are available in the HTTP API and console.
- `service_to_fork_from` (String) Name of another service to fork from. This has effect only when a new service is being created. Example: `anotherservicename`.
- `static_ips` (Boolean) Use static public IP addresses.
Expand Down
2 changes: 2 additions & 0 deletions docs/resources/flink.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ 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--flink_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`.
- `number_of_task_slots` (Number) Task slots per node. For a 3 node plan, total number of task slots is 3x this value. Example: `1`.
- `pekko_ask_timeout_s` (Number) Timeout in seconds used for all futures and blocking Pekko requests. Example: `10`.
- `pekko_framesize_b` (Number) Maximum size in bytes for messages exchanged between the JobManager and the TaskManagers. Example: `10485760`.
- `privatelink_access` (Block List, Max: 1) Allow access to selected service components through Privatelink (see [below for nested schema](#nestedblock--flink_user_config--privatelink_access))
- `service_log` (Boolean) Store logs for the service so that they are available in the HTTP API and console.
- `static_ips` (Boolean) Use static public IP addresses.
Expand Down
9 changes: 9 additions & 0 deletions docs/resources/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ Optional:
- `schema_registry` (Boolean) Enable Schema-Registry service. Default: `false`.
- `schema_registry_config` (Block List, Max: 1) Schema Registry configuration (see [below for nested schema](#nestedblock--kafka_user_config--schema_registry_config))
- `service_log` (Boolean) Store logs for the service so that they are available in the HTTP API and console.
- `single_zone` (Block List, Max: 1) Single-zone configuration (see [below for nested schema](#nestedblock--kafka_user_config--single_zone))
- `static_ips` (Boolean) Use static public IP addresses.
- `tiered_storage` (Block List, Max: 1) Tiered storage configuration (see [below for nested schema](#nestedblock--kafka_user_config--tiered_storage))

Expand Down Expand Up @@ -354,6 +355,14 @@ Optional:
- `topic_name` (String) The durable single partition topic that acts as the durable log for the data. This topic must be compacted to avoid losing data due to retention policy. Please note that changing this configuration in an existing Schema Registry / Karapace setup leads to previous schemas being inaccessible, data encoded with them potentially unreadable and schema ID sequence put out of order. It's only possible to do the switch while Schema Registry / Karapace is disabled. Defaults to `_schemas`.


<a id="nestedblock--kafka_user_config--single_zone"></a>
### Nested Schema for `kafka_user_config.single_zone`

Optional:

- `enabled` (Boolean) Whether to allocate nodes on the same Availability Zone or spread across zones available.


<a id="nestedblock--kafka_user_config--tiered_storage"></a>
### Nested Schema for `kafka_user_config.tiered_storage`

Expand Down
12 changes: 6 additions & 6 deletions docs/resources/opensearch.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ Read-Only:
Optional:

- `additional_backup_regions` (List of String) Additional Cloud Regions for Backup Replication.
- `azure_migration` (Block List, Max: 1) (see [below for nested schema](#nestedblock--opensearch_user_config--azure_migration))
- `azure_migration` (Block List, Max: 1) Azure migration settings (see [below for nested schema](#nestedblock--opensearch_user_config--azure_migration))
- `custom_domain` (String) Serve the web frontend using a custom CNAME pointing to the Aiven DNS name. Example: `grafana.example.org`.
- `disable_replication_factor_adjustment` (Boolean) Disable automatic replication factor adjustment for multi-node services. By default, Aiven ensures all indexes are replicated at least to two nodes. Note: Due to potential data loss in case of losing a service node, this setting can no longer be activated.
- `gcs_migration` (Block List, Max: 1) (see [below for nested schema](#nestedblock--opensearch_user_config--gcs_migration))
- `gcs_migration` (Block List, Max: 1) Google Cloud Storage migration settings (see [below for nested schema](#nestedblock--opensearch_user_config--gcs_migration))
- `index_patterns` (Block List, Max: 512) Index patterns (see [below for nested schema](#nestedblock--opensearch_user_config--index_patterns))
- `index_rollup` (Block List, Max: 1) Index rollup settings (see [below for nested schema](#nestedblock--opensearch_user_config--index_rollup))
- `index_template` (Block List, Max: 1) Template settings for all new indexes (see [below for nested schema](#nestedblock--opensearch_user_config--index_template))
Expand All @@ -121,7 +121,7 @@ Optional:
- `project_to_fork_from` (String) Name of another project to fork a service from. This has effect only when a new service is being created. Example: `anotherprojectname`.
- `public_access` (Block List, Max: 1) Allow access to selected service ports from the public Internet (see [below for nested schema](#nestedblock--opensearch_user_config--public_access))
- `recovery_basebackup_name` (String) Name of the basebackup to restore in forked service. Example: `backup-20191112t091354293891z`.
- `s3_migration` (Block List, Max: 1) (see [below for nested schema](#nestedblock--opensearch_user_config--s3_migration))
- `s3_migration` (Block List, Max: 1) AWS S3 / AWS S3 compatible migration settings (see [below for nested schema](#nestedblock--opensearch_user_config--s3_migration))
- `saml` (Block List, Max: 1) OpenSearch SAML configuration (see [below for nested schema](#nestedblock--opensearch_user_config--saml))
- `service_log` (Boolean) Store logs for the service so that they are available in the HTTP API and console.
- `service_to_fork_from` (String) Name of another service to fork from. This has effect only when a new service is being created. Example: `anotherservicename`.
Expand All @@ -143,8 +143,8 @@ Optional:
- `compress` (Boolean) When set to true metadata files are stored in compressed format.
- `endpoint_suffix` (String) Defines the DNS suffix for Azure Storage endpoints.
- `indices` (String) A comma-delimited list of indices to restore from the snapshot. Multi-index syntax is supported. By default, a restore operation includes all data streams and indices in the snapshot. If this argument is provided, the restore operation only includes the data streams and indices that you specify. Example: `metrics*,logs*,data-20240823`.
- `key` (String) Azure account secret key. One of key or sas_token should be specified.
- `sas_token` (String) A shared access signatures (SAS) token. One of key or sas_token should be specified.
- `key` (String, Sensitive) Azure account secret key. One of key or sas_token should be specified.
- `sas_token` (String, Sensitive) A shared access signatures (SAS) token. One of key or sas_token should be specified.


<a id="nestedblock--opensearch_user_config--gcs_migration"></a>
Expand All @@ -154,7 +154,7 @@ Required:

- `base_path` (String) The path to the repository data within its container. The value of this setting should not start or end with a /.
- `bucket` (String) The path to the repository data within its container.
- `credentials` (String) Google Cloud Storage credentials file content.
- `credentials` (String, Sensitive) Google Cloud Storage credentials file content.
- `snapshot_name` (String) The snapshot name to restore from.

Optional:
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/organization_group_project.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ resource "aiven_organization_group_project" "example" {

- `group_id` (String) The ID of the user group.
- `project` (String) The project that the users in the group are members of.
- `role` (String) [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer` and `read_only`.
- `role` (String) [Project-level role](https://aiven.io/docs/platform/reference/project-member-privileges) assigned to all users in the group. The possible values are `admin`, `operator`, `developer`, `read_only` and `project:read_permissions`.

### Optional

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/organization_permission.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ resource "aiven_organization_permission" "developers" {

Required:

- `permissions` (Set of String) List of permissions. The possible values are `admin`, `developer`, `operator` and `read_only`.
- `permissions` (Set of String) List of permissions. The possible values are `admin`, `developer`, `operator`, `project:read_permissions` and `read_only`.
- `principal_id` (String) ID of the user or group.
- `principal_type` (String) The type of principal. The possible values are `user` and `user_group`.

Expand Down
2 changes: 1 addition & 1 deletion docs/resources/project_user.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ resource "aiven_project_user" "mytestuser" {
### Required

- `email` (String) Email address of the user in lowercase. Changing this property forces recreation of the resource.
- `member_type` (String) Project membership type. The possible values are `admin`, `developer`, `operator` and `read_only`.
- `member_type` (String) Project membership type. The possible values are `admin`, `developer`, `operator`, `project:read_permissions` and `read_only`.
- `project` (String) The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.

### Optional
Expand Down
2 changes: 1 addition & 1 deletion docs/resources/service_integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resource "aiven_service_integration" "example_integration" {

### Required

- `integration_type` (String) Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `flink_external_postgresql`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanos_distributed_query`, `thanos_migrate`, `thanoscompactor`, `thanosquery`, `thanosstore`, `vector`, `vmalert`
- `integration_type` (String) Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `disaster_recovery`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `flink_external_postgresql`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanos_distributed_query`, `thanos_migrate`, `thanoscompactor`, `thanosquery`, `thanosruler`, `thanosstore`, `vector`, `vmalert`
- `project` (String) Project the integration belongs to.

### Optional
Expand Down
1 change: 1 addition & 0 deletions docs/resources/thanos.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ Optional:
- `query_frontend` (Boolean) Allow clients to connect to query_frontend from the public internet for service nodes that are in a project VPC or another type of private network.
- `receiver_ingesting` (Boolean) Allow clients to connect to receiver_ingesting from the public internet for service nodes that are in a project VPC or another type of private network.
- `receiver_routing` (Boolean) Allow clients to connect to receiver_routing from the public internet for service nodes that are in a project VPC or another type of private network.
- `ruler` (Boolean) Allow clients to connect to ruler from the public internet for service nodes that are in a project VPC or another type of private network.
- `store` (Boolean) Allow clients to connect to store from the public internet for service nodes that are in a project VPC or another type of private network.


Expand Down
5 changes: 5 additions & 0 deletions internal/sdkprovider/userconfig/service/clickhouse.go

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

10 changes: 10 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.

Loading

0 comments on commit cd12c30

Please sign in to comment.