pulumi-aiven 6.19.0a1721845827__py3-none-any.whl → 6.19.0a1721847551__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +20 -0
- pulumi_aiven/_inputs.py +1089 -29
- pulumi_aiven/account_team.py +12 -4
- pulumi_aiven/account_team_member.py +4 -4
- pulumi_aiven/account_team_project.py +4 -4
- pulumi_aiven/clickhouse.py +22 -22
- pulumi_aiven/clickhouse_database.py +39 -19
- pulumi_aiven/clickhouse_grant.py +80 -82
- pulumi_aiven/clickhouse_role.py +17 -31
- pulumi_aiven/clickhouse_user.py +31 -31
- pulumi_aiven/flink.py +19 -19
- pulumi_aiven/flink_application.py +39 -39
- pulumi_aiven/flink_application_deployment.py +131 -57
- pulumi_aiven/flink_application_version.py +64 -56
- pulumi_aiven/get_clickhouse.py +8 -8
- pulumi_aiven/get_clickhouse_database.py +11 -11
- pulumi_aiven/get_clickhouse_user.py +14 -14
- pulumi_aiven/get_flink.py +7 -7
- pulumi_aiven/get_flink_application.py +16 -16
- pulumi_aiven/get_flink_application_version.py +22 -22
- pulumi_aiven/get_kafka_acl.py +22 -22
- pulumi_aiven/get_kafka_connect.py +6 -6
- pulumi_aiven/get_kafka_connector.py +13 -13
- pulumi_aiven/get_kafka_topic.py +2 -2
- pulumi_aiven/get_kafka_user.py +15 -15
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +1 -1
- pulumi_aiven/get_valkey.py +469 -0
- pulumi_aiven/get_valkey_user.py +206 -0
- pulumi_aiven/kafka_acl.py +43 -39
- pulumi_aiven/kafka_connect.py +66 -14
- pulumi_aiven/kafka_connector.py +46 -40
- pulumi_aiven/kafka_schema_registry_acl.py +2 -2
- pulumi_aiven/kafka_topic.py +16 -16
- pulumi_aiven/kafka_user.py +40 -40
- pulumi_aiven/organization_application_user.py +12 -2
- pulumi_aiven/organization_application_user_token.py +7 -7
- pulumi_aiven/organization_group_project.py +9 -9
- pulumi_aiven/organization_user_group_member.py +13 -9
- pulumi_aiven/outputs.py +2113 -332
- pulumi_aiven/pulumi-plugin.json +1 -1
- pulumi_aiven/transit_gateway_vpc_attachment.py +7 -16
- pulumi_aiven/valkey.py +1252 -0
- pulumi_aiven/valkey_user.py +513 -0
- {pulumi_aiven-6.19.0a1721845827.dist-info → pulumi_aiven-6.19.0a1721847551.dist-info}/METADATA +1 -1
- {pulumi_aiven-6.19.0a1721845827.dist-info → pulumi_aiven-6.19.0a1721847551.dist-info}/RECORD +47 -43
- {pulumi_aiven-6.19.0a1721845827.dist-info → pulumi_aiven-6.19.0a1721847551.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.19.0a1721845827.dist-info → pulumi_aiven-6.19.0a1721847551.dist-info}/top_level.txt +0 -0
pulumi_aiven/account_team.py
CHANGED
|
@@ -152,12 +152,16 @@ class AccountTeam(pulumi.CustomResource):
|
|
|
152
152
|
Creates and manages a team.
|
|
153
153
|
|
|
154
154
|
> **Teams have been deprecated and are being migrated to groups**
|
|
155
|
-
**On
|
|
156
|
-
The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on
|
|
155
|
+
**On 30 September 2024** the Account Owners team will transition to super admin. Super admin have full access to the organization.
|
|
156
|
+
The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on existing permissions.
|
|
157
157
|
**From 4 November 2024** you won't be able to create new teams or update existing ones. Existing teams will be migrated to groups after
|
|
158
158
|
this date. **On 2 December 2024** all teams will be deleted and the teams feature will be completely removed. View the
|
|
159
159
|
migration guide for more information on the changes and migrating to groups.
|
|
160
160
|
|
|
161
|
+
> **Important**
|
|
162
|
+
You can't delete the Account Owners team. **Deleting all other teams in your organization will disable the teams feature.**
|
|
163
|
+
You won't be able to create new teams or access your Account Owners team.
|
|
164
|
+
|
|
161
165
|
## Example Usage
|
|
162
166
|
|
|
163
167
|
```python
|
|
@@ -192,12 +196,16 @@ class AccountTeam(pulumi.CustomResource):
|
|
|
192
196
|
Creates and manages a team.
|
|
193
197
|
|
|
194
198
|
> **Teams have been deprecated and are being migrated to groups**
|
|
195
|
-
**On
|
|
196
|
-
The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on
|
|
199
|
+
**On 30 September 2024** the Account Owners team will transition to super admin. Super admin have full access to the organization.
|
|
200
|
+
The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on existing permissions.
|
|
197
201
|
**From 4 November 2024** you won't be able to create new teams or update existing ones. Existing teams will be migrated to groups after
|
|
198
202
|
this date. **On 2 December 2024** all teams will be deleted and the teams feature will be completely removed. View the
|
|
199
203
|
migration guide for more information on the changes and migrating to groups.
|
|
200
204
|
|
|
205
|
+
> **Important**
|
|
206
|
+
You can't delete the Account Owners team. **Deleting all other teams in your organization will disable the teams feature.**
|
|
207
|
+
You won't be able to create new teams or access your Account Owners team.
|
|
208
|
+
|
|
201
209
|
## Example Usage
|
|
202
210
|
|
|
203
211
|
```python
|
|
@@ -187,8 +187,8 @@ class AccountTeamMember(pulumi.CustomResource):
|
|
|
187
187
|
deletes the pending invite if not accepted or removes the user from the team if they already accepted the invite.
|
|
188
188
|
|
|
189
189
|
> **Teams have been deprecated and are being migrated to groups**
|
|
190
|
-
**On
|
|
191
|
-
The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on
|
|
190
|
+
**On 30 September 2024** the Account Owners team will transition to super admin. Super admin have full access to the organization.
|
|
191
|
+
The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on existing permissions.
|
|
192
192
|
**From 4 November 2024** you won't be able to create new teams or update existing ones. Existing teams will be migrated to groups after
|
|
193
193
|
this date. **On 2 December 2024** all teams will be deleted and the teams feature will be completely removed. View the
|
|
194
194
|
migration guide for more information on the changes and migrating to groups.
|
|
@@ -233,8 +233,8 @@ class AccountTeamMember(pulumi.CustomResource):
|
|
|
233
233
|
deletes the pending invite if not accepted or removes the user from the team if they already accepted the invite.
|
|
234
234
|
|
|
235
235
|
> **Teams have been deprecated and are being migrated to groups**
|
|
236
|
-
**On
|
|
237
|
-
The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on
|
|
236
|
+
**On 30 September 2024** the Account Owners team will transition to super admin. Super admin have full access to the organization.
|
|
237
|
+
The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on existing permissions.
|
|
238
238
|
**From 4 November 2024** you won't be able to create new teams or update existing ones. Existing teams will be migrated to groups after
|
|
239
239
|
this date. **On 2 December 2024** all teams will be deleted and the teams feature will be completely removed. View the
|
|
240
240
|
migration guide for more information on the changes and migrating to groups.
|
|
@@ -169,8 +169,8 @@ class AccountTeamProject(pulumi.CustomResource):
|
|
|
169
169
|
Links an existing project to an existing team. Both the project and team should have the same `account_id`.
|
|
170
170
|
|
|
171
171
|
> **Teams have been deprecated and are being migrated to groups**
|
|
172
|
-
**On
|
|
173
|
-
The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on
|
|
172
|
+
**On 30 September 2024** the Account Owners team will transition to super admin. Super admin have full access to the organization.
|
|
173
|
+
The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on existing permissions.
|
|
174
174
|
**From 4 November 2024** you won't be able to create new teams or update existing ones. Existing teams will be migrated to groups after
|
|
175
175
|
this date. **On 2 December 2024** all teams will be deleted and the teams feature will be completely removed. View the
|
|
176
176
|
migration guide for more information on the changes and migrating to groups.
|
|
@@ -219,8 +219,8 @@ class AccountTeamProject(pulumi.CustomResource):
|
|
|
219
219
|
Links an existing project to an existing team. Both the project and team should have the same `account_id`.
|
|
220
220
|
|
|
221
221
|
> **Teams have been deprecated and are being migrated to groups**
|
|
222
|
-
**On
|
|
223
|
-
The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on
|
|
222
|
+
**On 30 September 2024** the Account Owners team will transition to super admin. Super admin have full access to the organization.
|
|
223
|
+
The Account Owners and super admin are synced, so the removal of the Account Owners team will have no impact on existing permissions.
|
|
224
224
|
**From 4 November 2024** you won't be able to create new teams or update existing ones. Existing teams will be migrated to groups after
|
|
225
225
|
this date. **On 2 December 2024** all teams will be deleted and the teams feature will be completely removed. View the
|
|
226
226
|
migration guide for more information on the changes and migrating to groups.
|
pulumi_aiven/clickhouse.py
CHANGED
|
@@ -38,14 +38,14 @@ class ClickhouseArgs:
|
|
|
38
38
|
:param pulumi.Input[str] project: 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.
|
|
39
39
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
40
40
|
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
41
|
-
:param pulumi.Input['ClickhouseClickhouseArgs'] clickhouse:
|
|
41
|
+
:param pulumi.Input['ClickhouseClickhouseArgs'] clickhouse: Values provided by the ClickHouse server.
|
|
42
42
|
:param pulumi.Input['ClickhouseClickhouseUserConfigArgs'] clickhouse_user_config: Clickhouse user configurable settings
|
|
43
43
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
44
44
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
45
45
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
46
46
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
47
47
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
48
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseServiceIntegrationArgs']]] service_integrations:
|
|
48
|
+
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseServiceIntegrationArgs']]] service_integrations: Integrations with other services. Service integrations are only applied at service creation.
|
|
49
49
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
50
50
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
51
51
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseTechEmailArgs']]] tech_emails: The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
@@ -136,7 +136,7 @@ class ClickhouseArgs:
|
|
|
136
136
|
@pulumi.getter
|
|
137
137
|
def clickhouse(self) -> Optional[pulumi.Input['ClickhouseClickhouseArgs']]:
|
|
138
138
|
"""
|
|
139
|
-
|
|
139
|
+
Values provided by the ClickHouse server.
|
|
140
140
|
"""
|
|
141
141
|
return pulumi.get(self, "clickhouse")
|
|
142
142
|
|
|
@@ -221,7 +221,7 @@ class ClickhouseArgs:
|
|
|
221
221
|
@pulumi.getter(name="serviceIntegrations")
|
|
222
222
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseServiceIntegrationArgs']]]]:
|
|
223
223
|
"""
|
|
224
|
-
|
|
224
|
+
Integrations with other services. Service integrations are only applied at service creation.
|
|
225
225
|
"""
|
|
226
226
|
return pulumi.get(self, "service_integrations")
|
|
227
227
|
|
|
@@ -312,7 +312,7 @@ class _ClickhouseState:
|
|
|
312
312
|
"""
|
|
313
313
|
Input properties used for looking up and filtering Clickhouse resources.
|
|
314
314
|
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
315
|
-
:param pulumi.Input['ClickhouseClickhouseArgs'] clickhouse:
|
|
315
|
+
:param pulumi.Input['ClickhouseClickhouseArgs'] clickhouse: Values provided by the ClickHouse server.
|
|
316
316
|
:param pulumi.Input['ClickhouseClickhouseUserConfigArgs'] clickhouse_user_config: Clickhouse user configurable settings
|
|
317
317
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
318
318
|
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseComponentArgs']]] components: Service component information objects
|
|
@@ -327,7 +327,7 @@ class _ClickhouseState:
|
|
|
327
327
|
:param pulumi.Input[str] project: 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.
|
|
328
328
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
329
329
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
330
|
-
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseServiceIntegrationArgs']]] service_integrations:
|
|
330
|
+
:param pulumi.Input[Sequence[pulumi.Input['ClickhouseServiceIntegrationArgs']]] service_integrations: Integrations with other services. Service integrations are only applied at service creation.
|
|
331
331
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
332
332
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
333
333
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -416,7 +416,7 @@ class _ClickhouseState:
|
|
|
416
416
|
@pulumi.getter
|
|
417
417
|
def clickhouse(self) -> Optional[pulumi.Input['ClickhouseClickhouseArgs']]:
|
|
418
418
|
"""
|
|
419
|
-
|
|
419
|
+
Values provided by the ClickHouse server.
|
|
420
420
|
"""
|
|
421
421
|
return pulumi.get(self, "clickhouse")
|
|
422
422
|
|
|
@@ -597,7 +597,7 @@ class _ClickhouseState:
|
|
|
597
597
|
@pulumi.getter(name="serviceIntegrations")
|
|
598
598
|
def service_integrations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseServiceIntegrationArgs']]]]:
|
|
599
599
|
"""
|
|
600
|
-
|
|
600
|
+
Integrations with other services. Service integrations are only applied at service creation.
|
|
601
601
|
"""
|
|
602
602
|
return pulumi.get(self, "service_integrations")
|
|
603
603
|
|
|
@@ -761,7 +761,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
761
761
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
762
762
|
__props__=None):
|
|
763
763
|
"""
|
|
764
|
-
|
|
764
|
+
Creates and manages an [Aiven for ClickHouse®](https://aiven.io/docs/products/clickhouse/concepts/features-overview) service.
|
|
765
765
|
|
|
766
766
|
## Example Usage
|
|
767
767
|
|
|
@@ -769,11 +769,11 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
769
769
|
import pulumi
|
|
770
770
|
import pulumi_aiven as aiven
|
|
771
771
|
|
|
772
|
-
|
|
773
|
-
project=
|
|
772
|
+
example_clickhouse = aiven.Clickhouse("example_clickhouse",
|
|
773
|
+
project=example_project["project"],
|
|
774
774
|
cloud_name="google-europe-west1",
|
|
775
775
|
plan="business-4",
|
|
776
|
-
service_name="
|
|
776
|
+
service_name="example-clickhouse-service",
|
|
777
777
|
maintenance_window_dow="monday",
|
|
778
778
|
maintenance_window_time="10:00:00")
|
|
779
779
|
```
|
|
@@ -787,7 +787,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
787
787
|
:param str resource_name: The name of the resource.
|
|
788
788
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
789
789
|
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
790
|
-
:param pulumi.Input[pulumi.InputType['ClickhouseClickhouseArgs']] clickhouse:
|
|
790
|
+
:param pulumi.Input[pulumi.InputType['ClickhouseClickhouseArgs']] clickhouse: Values provided by the ClickHouse server.
|
|
791
791
|
:param pulumi.Input[pulumi.InputType['ClickhouseClickhouseUserConfigArgs']] clickhouse_user_config: Clickhouse user configurable settings
|
|
792
792
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
793
793
|
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
@@ -796,7 +796,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
796
796
|
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
797
797
|
:param pulumi.Input[str] project: 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.
|
|
798
798
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
799
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseServiceIntegrationArgs']]]] service_integrations:
|
|
799
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseServiceIntegrationArgs']]]] service_integrations: Integrations with other services. Service integrations are only applied at service creation.
|
|
800
800
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
801
801
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
802
802
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
@@ -810,7 +810,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
810
810
|
args: ClickhouseArgs,
|
|
811
811
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
812
812
|
"""
|
|
813
|
-
|
|
813
|
+
Creates and manages an [Aiven for ClickHouse®](https://aiven.io/docs/products/clickhouse/concepts/features-overview) service.
|
|
814
814
|
|
|
815
815
|
## Example Usage
|
|
816
816
|
|
|
@@ -818,11 +818,11 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
818
818
|
import pulumi
|
|
819
819
|
import pulumi_aiven as aiven
|
|
820
820
|
|
|
821
|
-
|
|
822
|
-
project=
|
|
821
|
+
example_clickhouse = aiven.Clickhouse("example_clickhouse",
|
|
822
|
+
project=example_project["project"],
|
|
823
823
|
cloud_name="google-europe-west1",
|
|
824
824
|
plan="business-4",
|
|
825
|
-
service_name="
|
|
825
|
+
service_name="example-clickhouse-service",
|
|
826
826
|
maintenance_window_dow="monday",
|
|
827
827
|
maintenance_window_time="10:00:00")
|
|
828
828
|
```
|
|
@@ -955,7 +955,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
955
955
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
956
956
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
957
957
|
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
958
|
-
:param pulumi.Input[pulumi.InputType['ClickhouseClickhouseArgs']] clickhouse:
|
|
958
|
+
:param pulumi.Input[pulumi.InputType['ClickhouseClickhouseArgs']] clickhouse: Values provided by the ClickHouse server.
|
|
959
959
|
:param pulumi.Input[pulumi.InputType['ClickhouseClickhouseUserConfigArgs']] clickhouse_user_config: Clickhouse user configurable settings
|
|
960
960
|
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
961
961
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseComponentArgs']]]] components: Service component information objects
|
|
@@ -970,7 +970,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
970
970
|
:param pulumi.Input[str] project: 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.
|
|
971
971
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
972
972
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
973
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseServiceIntegrationArgs']]]] service_integrations:
|
|
973
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseServiceIntegrationArgs']]]] service_integrations: Integrations with other services. Service integrations are only applied at service creation.
|
|
974
974
|
:param pulumi.Input[str] service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
975
975
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
976
976
|
:param pulumi.Input[int] service_port: The port of the service
|
|
@@ -1029,7 +1029,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1029
1029
|
@pulumi.getter
|
|
1030
1030
|
def clickhouse(self) -> pulumi.Output['outputs.ClickhouseClickhouse']:
|
|
1031
1031
|
"""
|
|
1032
|
-
|
|
1032
|
+
Values provided by the ClickHouse server.
|
|
1033
1033
|
"""
|
|
1034
1034
|
return pulumi.get(self, "clickhouse")
|
|
1035
1035
|
|
|
@@ -1150,7 +1150,7 @@ class Clickhouse(pulumi.CustomResource):
|
|
|
1150
1150
|
@pulumi.getter(name="serviceIntegrations")
|
|
1151
1151
|
def service_integrations(self) -> pulumi.Output[Optional[Sequence['outputs.ClickhouseServiceIntegration']]]:
|
|
1152
1152
|
"""
|
|
1153
|
-
|
|
1153
|
+
Integrations with other services. Service integrations are only applied at service creation.
|
|
1154
1154
|
"""
|
|
1155
1155
|
return pulumi.get(self, "service_integrations")
|
|
1156
1156
|
|
|
@@ -22,7 +22,7 @@ class ClickhouseDatabaseArgs:
|
|
|
22
22
|
The set of arguments for constructing a ClickhouseDatabase resource.
|
|
23
23
|
:param pulumi.Input[str] project: 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.
|
|
24
24
|
:param pulumi.Input[str] service_name: The name of the service that 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.
|
|
25
|
-
:param pulumi.Input[str] name: The name of the
|
|
25
|
+
:param pulumi.Input[str] name: The name of the ClickHouse database. Changing this property forces recreation of the resource.
|
|
26
26
|
"""
|
|
27
27
|
pulumi.set(__self__, "project", project)
|
|
28
28
|
pulumi.set(__self__, "service_name", service_name)
|
|
@@ -59,7 +59,7 @@ class ClickhouseDatabaseArgs:
|
|
|
59
59
|
@pulumi.getter
|
|
60
60
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
61
61
|
"""
|
|
62
|
-
The name of the
|
|
62
|
+
The name of the ClickHouse database. Changing this property forces recreation of the resource.
|
|
63
63
|
"""
|
|
64
64
|
return pulumi.get(self, "name")
|
|
65
65
|
|
|
@@ -86,7 +86,7 @@ class _ClickhouseDatabaseState:
|
|
|
86
86
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
87
87
|
"""
|
|
88
88
|
Input properties used for looking up and filtering ClickhouseDatabase resources.
|
|
89
|
-
:param pulumi.Input[str] name: The name of the
|
|
89
|
+
:param pulumi.Input[str] name: The name of the ClickHouse database. Changing this property forces recreation of the resource.
|
|
90
90
|
:param pulumi.Input[str] project: 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.
|
|
91
91
|
:param pulumi.Input[str] service_name: The name of the service that 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.
|
|
92
92
|
"""
|
|
@@ -103,7 +103,7 @@ class _ClickhouseDatabaseState:
|
|
|
103
103
|
@pulumi.getter
|
|
104
104
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
105
105
|
"""
|
|
106
|
-
The name of the
|
|
106
|
+
The name of the ClickHouse database. Changing this property forces recreation of the resource.
|
|
107
107
|
"""
|
|
108
108
|
return pulumi.get(self, "name")
|
|
109
109
|
|
|
@@ -156,7 +156,10 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
156
156
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
157
157
|
__props__=None):
|
|
158
158
|
"""
|
|
159
|
-
|
|
159
|
+
Creates and manages an Aiven for ClickHouse® database.
|
|
160
|
+
|
|
161
|
+
> Tables cannot be created using Aiven Operator. To create a table,
|
|
162
|
+
use the [Aiven Console or CLI](https://aiven.io/docs/products/clickhouse/howto/manage-databases-tables#create-a-table).
|
|
160
163
|
|
|
161
164
|
## Example Usage
|
|
162
165
|
|
|
@@ -164,21 +167,28 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
164
167
|
import pulumi
|
|
165
168
|
import pulumi_aiven as aiven
|
|
166
169
|
|
|
167
|
-
|
|
168
|
-
project=
|
|
169
|
-
|
|
170
|
-
|
|
170
|
+
example_clickhouse = aiven.Clickhouse("example_clickhouse",
|
|
171
|
+
project=example_project["project"],
|
|
172
|
+
cloud_name="google-europe-west1",
|
|
173
|
+
plan="business-4",
|
|
174
|
+
service_name="example-clickhouse-service",
|
|
175
|
+
maintenance_window_dow="monday",
|
|
176
|
+
maintenance_window_time="10:00:00")
|
|
177
|
+
example_db = aiven.ClickhouseDatabase("example_db",
|
|
178
|
+
project=example_project["project"],
|
|
179
|
+
service_name=example_clickhouse.service_name,
|
|
180
|
+
name="example-database")
|
|
171
181
|
```
|
|
172
182
|
|
|
173
183
|
## Import
|
|
174
184
|
|
|
175
185
|
```sh
|
|
176
|
-
$ pulumi import aiven:index/clickhouseDatabase:ClickhouseDatabase
|
|
186
|
+
$ pulumi import aiven:index/clickhouseDatabase:ClickhouseDatabase example_db PROJECT/SERVICE_NAME/DATABASE_NAME
|
|
177
187
|
```
|
|
178
188
|
|
|
179
189
|
:param str resource_name: The name of the resource.
|
|
180
190
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
181
|
-
:param pulumi.Input[str] name: The name of the
|
|
191
|
+
:param pulumi.Input[str] name: The name of the ClickHouse database. Changing this property forces recreation of the resource.
|
|
182
192
|
:param pulumi.Input[str] project: 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.
|
|
183
193
|
:param pulumi.Input[str] service_name: The name of the service that 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.
|
|
184
194
|
"""
|
|
@@ -189,7 +199,10 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
189
199
|
args: ClickhouseDatabaseArgs,
|
|
190
200
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
191
201
|
"""
|
|
192
|
-
|
|
202
|
+
Creates and manages an Aiven for ClickHouse® database.
|
|
203
|
+
|
|
204
|
+
> Tables cannot be created using Aiven Operator. To create a table,
|
|
205
|
+
use the [Aiven Console or CLI](https://aiven.io/docs/products/clickhouse/howto/manage-databases-tables#create-a-table).
|
|
193
206
|
|
|
194
207
|
## Example Usage
|
|
195
208
|
|
|
@@ -197,16 +210,23 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
197
210
|
import pulumi
|
|
198
211
|
import pulumi_aiven as aiven
|
|
199
212
|
|
|
200
|
-
|
|
201
|
-
project=
|
|
202
|
-
|
|
203
|
-
|
|
213
|
+
example_clickhouse = aiven.Clickhouse("example_clickhouse",
|
|
214
|
+
project=example_project["project"],
|
|
215
|
+
cloud_name="google-europe-west1",
|
|
216
|
+
plan="business-4",
|
|
217
|
+
service_name="example-clickhouse-service",
|
|
218
|
+
maintenance_window_dow="monday",
|
|
219
|
+
maintenance_window_time="10:00:00")
|
|
220
|
+
example_db = aiven.ClickhouseDatabase("example_db",
|
|
221
|
+
project=example_project["project"],
|
|
222
|
+
service_name=example_clickhouse.service_name,
|
|
223
|
+
name="example-database")
|
|
204
224
|
```
|
|
205
225
|
|
|
206
226
|
## Import
|
|
207
227
|
|
|
208
228
|
```sh
|
|
209
|
-
$ pulumi import aiven:index/clickhouseDatabase:ClickhouseDatabase
|
|
229
|
+
$ pulumi import aiven:index/clickhouseDatabase:ClickhouseDatabase example_db PROJECT/SERVICE_NAME/DATABASE_NAME
|
|
210
230
|
```
|
|
211
231
|
|
|
212
232
|
:param str resource_name: The name of the resource.
|
|
@@ -266,7 +286,7 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
266
286
|
:param str resource_name: The unique name of the resulting resource.
|
|
267
287
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
268
288
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
269
|
-
:param pulumi.Input[str] name: The name of the
|
|
289
|
+
:param pulumi.Input[str] name: The name of the ClickHouse database. Changing this property forces recreation of the resource.
|
|
270
290
|
:param pulumi.Input[str] project: 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.
|
|
271
291
|
:param pulumi.Input[str] service_name: The name of the service that 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.
|
|
272
292
|
"""
|
|
@@ -284,7 +304,7 @@ class ClickhouseDatabase(pulumi.CustomResource):
|
|
|
284
304
|
@pulumi.getter
|
|
285
305
|
def name(self) -> pulumi.Output[str]:
|
|
286
306
|
"""
|
|
287
|
-
The name of the
|
|
307
|
+
The name of the ClickHouse database. Changing this property forces recreation of the resource.
|
|
288
308
|
"""
|
|
289
309
|
return pulumi.get(self, "name")
|
|
290
310
|
|