pulumi-aiven 6.14.0a1713330923__py3-none-any.whl → 6.14.0a1713897878__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/_inputs.py +100 -100
- pulumi_aiven/account.py +2 -6
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +4 -8
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +4 -8
- pulumi_aiven/aws_vpc_peering_connection.py +8 -12
- pulumi_aiven/azure_privatelink.py +4 -8
- pulumi_aiven/azure_privatelink_connection_approval.py +98 -0
- pulumi_aiven/azure_vpc_peering_connection.py +6 -10
- pulumi_aiven/billing_group.py +2 -4
- pulumi_aiven/cassandra.py +13 -17
- pulumi_aiven/cassandra_user.py +2 -6
- pulumi_aiven/clickhouse.py +13 -17
- pulumi_aiven/clickhouse_database.py +8 -10
- pulumi_aiven/clickhouse_grant.py +21 -23
- pulumi_aiven/clickhouse_role.py +0 -4
- pulumi_aiven/clickhouse_user.py +4 -8
- pulumi_aiven/connection_pool.py +8 -12
- pulumi_aiven/flink.py +16 -20
- pulumi_aiven/flink_application.py +6 -8
- pulumi_aiven/flink_application_version.py +82 -0
- pulumi_aiven/gcp_vpc_peering_connection.py +2 -6
- pulumi_aiven/get_account.py +0 -4
- pulumi_aiven/get_aws_privatelink.py +4 -8
- pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
- pulumi_aiven/get_azure_privatelink.py +4 -8
- pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
- pulumi_aiven/get_cassanda.py +2 -6
- pulumi_aiven/get_cassandra.py +2 -6
- pulumi_aiven/get_cassandra_user.py +4 -8
- pulumi_aiven/get_clickhouse.py +2 -6
- pulumi_aiven/get_clickhouse_database.py +4 -8
- pulumi_aiven/get_clickhouse_user.py +4 -8
- pulumi_aiven/get_connection_pool.py +4 -8
- pulumi_aiven/get_flink.py +2 -6
- pulumi_aiven/get_flink_application.py +2 -6
- pulumi_aiven/get_flink_application_version.py +2 -6
- pulumi_aiven/get_gcp_vpc_peering_connection.py +2 -6
- pulumi_aiven/get_grafana.py +2 -6
- pulumi_aiven/get_kafka.py +2 -6
- pulumi_aiven/get_kafka_acl.py +4 -8
- pulumi_aiven/get_kafka_connect.py +2 -6
- pulumi_aiven/get_kafka_connector.py +4 -8
- pulumi_aiven/get_kafka_mirror_maker.py +2 -6
- pulumi_aiven/get_kafka_schema.py +4 -8
- pulumi_aiven/get_kafka_schema_configuration.py +4 -8
- pulumi_aiven/get_kafka_topic.py +4 -8
- pulumi_aiven/get_kafka_user.py +4 -8
- pulumi_aiven/get_m3_aggregator.py +2 -6
- pulumi_aiven/get_m3_db.py +2 -6
- pulumi_aiven/get_m3db_user.py +4 -8
- pulumi_aiven/get_mirror_maker_replication_flow.py +8 -12
- pulumi_aiven/get_my_sql.py +2 -6
- pulumi_aiven/get_mysql_database.py +4 -8
- pulumi_aiven/get_mysql_user.py +4 -8
- pulumi_aiven/get_open_search.py +2 -6
- pulumi_aiven/get_open_search_acl_config.py +4 -8
- pulumi_aiven/get_open_search_acl_rule.py +4 -8
- pulumi_aiven/get_opensearch_security_plugin_config.py +4 -8
- pulumi_aiven/get_opensearch_user.py +4 -8
- pulumi_aiven/get_organization.py +0 -4
- pulumi_aiven/get_organization_user_group.py +2 -6
- pulumi_aiven/get_pg.py +2 -6
- pulumi_aiven/get_pg_database.py +4 -8
- pulumi_aiven/get_pg_user.py +4 -8
- pulumi_aiven/get_project.py +0 -4
- pulumi_aiven/get_project_user.py +2 -6
- pulumi_aiven/get_project_vpc.py +2 -6
- pulumi_aiven/get_redis.py +2 -6
- pulumi_aiven/get_redis_user.py +4 -8
- pulumi_aiven/get_service_component.py +4 -8
- pulumi_aiven/get_service_integration.py +2 -6
- pulumi_aiven/get_service_integration_endpoint.py +2 -6
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
- pulumi_aiven/grafana.py +4 -6
- pulumi_aiven/kafka.py +13 -17
- pulumi_aiven/kafka_acl.py +4 -8
- pulumi_aiven/kafka_connect.py +2 -6
- pulumi_aiven/kafka_connector.py +12 -16
- pulumi_aiven/kafka_mirror_maker.py +2 -6
- pulumi_aiven/kafka_schema.py +4 -8
- pulumi_aiven/kafka_schema_configuration.py +4 -8
- pulumi_aiven/kafka_topic.py +38 -0
- pulumi_aiven/kafka_user.py +2 -6
- pulumi_aiven/m3_aggregator.py +2 -6
- pulumi_aiven/m3_db.py +2 -6
- pulumi_aiven/m3db_user.py +2 -6
- pulumi_aiven/mirror_maker_replication_flow.py +8 -12
- pulumi_aiven/my_sql.py +2 -6
- pulumi_aiven/mysql_database.py +4 -8
- pulumi_aiven/mysql_user.py +2 -6
- pulumi_aiven/open_search.py +13 -17
- pulumi_aiven/open_search_acl_config.py +12 -16
- pulumi_aiven/open_search_acl_rule.py +20 -24
- pulumi_aiven/opensearch_security_plugin_config.py +12 -16
- pulumi_aiven/opensearch_user.py +2 -6
- pulumi_aiven/organization.py +2 -6
- pulumi_aiven/organization_group_project.py +32 -0
- pulumi_aiven/organization_user_group.py +4 -6
- pulumi_aiven/organization_user_group_member.py +8 -10
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +100 -100
- pulumi_aiven/pg.py +14 -14
- pulumi_aiven/pg_database.py +4 -8
- pulumi_aiven/pg_user.py +2 -6
- pulumi_aiven/project.py +4 -8
- pulumi_aiven/project_user.py +2 -6
- pulumi_aiven/project_vpc.py +24 -0
- pulumi_aiven/redis.py +2 -6
- pulumi_aiven/redis_user.py +2 -6
- pulumi_aiven/service_integration.py +8 -12
- pulumi_aiven/transit_gateway_vpc_attachment.py +2 -6
- {pulumi_aiven-6.14.0a1713330923.dist-info → pulumi_aiven-6.14.0a1713897878.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0a1713897878.dist-info/RECORD +150 -0
- pulumi_aiven-6.14.0a1713330923.dist-info/RECORD +0 -150
- {pulumi_aiven-6.14.0a1713330923.dist-info → pulumi_aiven-6.14.0a1713897878.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.14.0a1713330923.dist-info → pulumi_aiven-6.14.0a1713897878.dist-info}/top_level.txt +0 -0
pulumi_aiven/pg.py
CHANGED
|
@@ -41,12 +41,12 @@ class PgArgs:
|
|
|
41
41
|
: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.
|
|
42
42
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
43
43
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
44
|
-
:param pulumi.Input['PgPgArgs'] pg:
|
|
44
|
+
:param pulumi.Input['PgPgArgs'] pg: PostgreSQL specific server provided values
|
|
45
45
|
:param pulumi.Input['PgPgUserConfigArgs'] pg_user_config: Pg user configurable settings
|
|
46
46
|
: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.
|
|
47
47
|
:param pulumi.Input[Sequence[pulumi.Input['PgServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
48
48
|
: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.
|
|
49
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
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['PgTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
51
51
|
:param pulumi.Input[Sequence[pulumi.Input['PgTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
52
52
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
@@ -176,7 +176,7 @@ class PgArgs:
|
|
|
176
176
|
@pulumi.getter
|
|
177
177
|
def pg(self) -> Optional[pulumi.Input['PgPgArgs']]:
|
|
178
178
|
"""
|
|
179
|
-
|
|
179
|
+
PostgreSQL specific server provided values
|
|
180
180
|
"""
|
|
181
181
|
return pulumi.get(self, "pg")
|
|
182
182
|
|
|
@@ -236,7 +236,7 @@ class PgArgs:
|
|
|
236
236
|
@pulumi.getter(name="staticIps")
|
|
237
237
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
238
238
|
"""
|
|
239
|
-
|
|
239
|
+
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
|
|
240
240
|
"""
|
|
241
241
|
return pulumi.get(self, "static_ips")
|
|
242
242
|
|
|
@@ -324,7 +324,7 @@ class _PgState:
|
|
|
324
324
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
325
325
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
326
326
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
327
|
-
:param pulumi.Input['PgPgArgs'] pg:
|
|
327
|
+
:param pulumi.Input['PgPgArgs'] pg: PostgreSQL specific server provided values
|
|
328
328
|
:param pulumi.Input['PgPgUserConfigArgs'] pg_user_config: Pg user configurable settings
|
|
329
329
|
: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).
|
|
330
330
|
:param pulumi.Input[str] project: Identifies 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.
|
|
@@ -338,7 +338,7 @@ class _PgState:
|
|
|
338
338
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
339
339
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
340
340
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
341
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
341
|
+
: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
|
|
342
342
|
:param pulumi.Input[Sequence[pulumi.Input['PgTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
343
343
|
:param pulumi.Input[Sequence[pulumi.Input['PgTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
344
344
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
@@ -530,7 +530,7 @@ class _PgState:
|
|
|
530
530
|
@pulumi.getter
|
|
531
531
|
def pg(self) -> Optional[pulumi.Input['PgPgArgs']]:
|
|
532
532
|
"""
|
|
533
|
-
|
|
533
|
+
PostgreSQL specific server provided values
|
|
534
534
|
"""
|
|
535
535
|
return pulumi.get(self, "pg")
|
|
536
536
|
|
|
@@ -698,7 +698,7 @@ class _PgState:
|
|
|
698
698
|
@pulumi.getter(name="staticIps")
|
|
699
699
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
700
700
|
"""
|
|
701
|
-
|
|
701
|
+
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
|
|
702
702
|
"""
|
|
703
703
|
return pulumi.get(self, "static_ips")
|
|
704
704
|
|
|
@@ -781,14 +781,14 @@ class Pg(pulumi.CustomResource):
|
|
|
781
781
|
: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.
|
|
782
782
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
783
783
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
784
|
-
:param pulumi.Input[pulumi.InputType['PgPgArgs']] pg:
|
|
784
|
+
:param pulumi.Input[pulumi.InputType['PgPgArgs']] pg: PostgreSQL specific server provided values
|
|
785
785
|
:param pulumi.Input[pulumi.InputType['PgPgUserConfigArgs']] pg_user_config: Pg user configurable settings
|
|
786
786
|
: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).
|
|
787
787
|
:param pulumi.Input[str] project: Identifies 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.
|
|
788
788
|
: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.
|
|
789
789
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PgServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
790
790
|
: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.
|
|
791
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
791
|
+
: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
|
|
792
792
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PgTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
793
793
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PgTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
794
794
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
@@ -937,7 +937,7 @@ class Pg(pulumi.CustomResource):
|
|
|
937
937
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
938
938
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
939
939
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
940
|
-
:param pulumi.Input[pulumi.InputType['PgPgArgs']] pg:
|
|
940
|
+
:param pulumi.Input[pulumi.InputType['PgPgArgs']] pg: PostgreSQL specific server provided values
|
|
941
941
|
:param pulumi.Input[pulumi.InputType['PgPgUserConfigArgs']] pg_user_config: Pg user configurable settings
|
|
942
942
|
: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).
|
|
943
943
|
:param pulumi.Input[str] project: Identifies 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.
|
|
@@ -951,7 +951,7 @@ class Pg(pulumi.CustomResource):
|
|
|
951
951
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
952
952
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
953
953
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
954
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
954
|
+
: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
|
|
955
955
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PgTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
956
956
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PgTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
957
957
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
@@ -1077,7 +1077,7 @@ class Pg(pulumi.CustomResource):
|
|
|
1077
1077
|
@pulumi.getter
|
|
1078
1078
|
def pg(self) -> pulumi.Output['outputs.PgPg']:
|
|
1079
1079
|
"""
|
|
1080
|
-
|
|
1080
|
+
PostgreSQL specific server provided values
|
|
1081
1081
|
"""
|
|
1082
1082
|
return pulumi.get(self, "pg")
|
|
1083
1083
|
|
|
@@ -1189,7 +1189,7 @@ class Pg(pulumi.CustomResource):
|
|
|
1189
1189
|
@pulumi.getter(name="staticIps")
|
|
1190
1190
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1191
1191
|
"""
|
|
1192
|
-
|
|
1192
|
+
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
|
|
1193
1193
|
"""
|
|
1194
1194
|
return pulumi.get(self, "static_ips")
|
|
1195
1195
|
|
pulumi_aiven/pg_database.py
CHANGED
|
@@ -237,17 +237,15 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
237
237
|
|
|
238
238
|
## Example Usage
|
|
239
239
|
|
|
240
|
-
<!--Start PulumiCodeChooser -->
|
|
241
240
|
```python
|
|
242
241
|
import pulumi
|
|
243
242
|
import pulumi_aiven as aiven
|
|
244
243
|
|
|
245
244
|
mydatabase = aiven.PgDatabase("mydatabase",
|
|
246
|
-
project=
|
|
247
|
-
service_name=
|
|
245
|
+
project=myproject["project"],
|
|
246
|
+
service_name=mypg["serviceName"],
|
|
248
247
|
database_name="<DATABASE_NAME>")
|
|
249
248
|
```
|
|
250
|
-
<!--End PulumiCodeChooser -->
|
|
251
249
|
|
|
252
250
|
## Import
|
|
253
251
|
|
|
@@ -276,17 +274,15 @@ class PgDatabase(pulumi.CustomResource):
|
|
|
276
274
|
|
|
277
275
|
## Example Usage
|
|
278
276
|
|
|
279
|
-
<!--Start PulumiCodeChooser -->
|
|
280
277
|
```python
|
|
281
278
|
import pulumi
|
|
282
279
|
import pulumi_aiven as aiven
|
|
283
280
|
|
|
284
281
|
mydatabase = aiven.PgDatabase("mydatabase",
|
|
285
|
-
project=
|
|
286
|
-
service_name=
|
|
282
|
+
project=myproject["project"],
|
|
283
|
+
service_name=mypg["serviceName"],
|
|
287
284
|
database_name="<DATABASE_NAME>")
|
|
288
285
|
```
|
|
289
|
-
<!--End PulumiCodeChooser -->
|
|
290
286
|
|
|
291
287
|
## Import
|
|
292
288
|
|
pulumi_aiven/pg_user.py
CHANGED
|
@@ -248,18 +248,16 @@ class PgUser(pulumi.CustomResource):
|
|
|
248
248
|
|
|
249
249
|
## Example Usage
|
|
250
250
|
|
|
251
|
-
<!--Start PulumiCodeChooser -->
|
|
252
251
|
```python
|
|
253
252
|
import pulumi
|
|
254
253
|
import pulumi_aiven as aiven
|
|
255
254
|
|
|
256
255
|
foo = aiven.PgUser("foo",
|
|
257
|
-
service_name=
|
|
256
|
+
service_name=bar["serviceName"],
|
|
258
257
|
project="my-project",
|
|
259
258
|
username="user-1",
|
|
260
259
|
password="Test$1234")
|
|
261
260
|
```
|
|
262
|
-
<!--End PulumiCodeChooser -->
|
|
263
261
|
|
|
264
262
|
## Import
|
|
265
263
|
|
|
@@ -286,18 +284,16 @@ class PgUser(pulumi.CustomResource):
|
|
|
286
284
|
|
|
287
285
|
## Example Usage
|
|
288
286
|
|
|
289
|
-
<!--Start PulumiCodeChooser -->
|
|
290
287
|
```python
|
|
291
288
|
import pulumi
|
|
292
289
|
import pulumi_aiven as aiven
|
|
293
290
|
|
|
294
291
|
foo = aiven.PgUser("foo",
|
|
295
|
-
service_name=
|
|
292
|
+
service_name=bar["serviceName"],
|
|
296
293
|
project="my-project",
|
|
297
294
|
username="user-1",
|
|
298
295
|
password="Test$1234")
|
|
299
296
|
```
|
|
300
|
-
<!--End PulumiCodeChooser -->
|
|
301
297
|
|
|
302
298
|
## Import
|
|
303
299
|
|
pulumi_aiven/project.py
CHANGED
|
@@ -469,16 +469,14 @@ class Project(pulumi.CustomResource):
|
|
|
469
469
|
|
|
470
470
|
## Example Usage
|
|
471
471
|
|
|
472
|
-
<!--Start PulumiCodeChooser -->
|
|
473
472
|
```python
|
|
474
473
|
import pulumi
|
|
475
474
|
import pulumi_aiven as aiven
|
|
476
475
|
|
|
477
|
-
example_project = aiven.Project("
|
|
476
|
+
example_project = aiven.Project("example_project",
|
|
478
477
|
project="Example project",
|
|
479
|
-
parent_id=
|
|
478
|
+
parent_id=main["id"])
|
|
480
479
|
```
|
|
481
|
-
<!--End PulumiCodeChooser -->
|
|
482
480
|
|
|
483
481
|
## Import
|
|
484
482
|
|
|
@@ -510,16 +508,14 @@ class Project(pulumi.CustomResource):
|
|
|
510
508
|
|
|
511
509
|
## Example Usage
|
|
512
510
|
|
|
513
|
-
<!--Start PulumiCodeChooser -->
|
|
514
511
|
```python
|
|
515
512
|
import pulumi
|
|
516
513
|
import pulumi_aiven as aiven
|
|
517
514
|
|
|
518
|
-
example_project = aiven.Project("
|
|
515
|
+
example_project = aiven.Project("example_project",
|
|
519
516
|
project="Example project",
|
|
520
|
-
parent_id=
|
|
517
|
+
parent_id=main["id"])
|
|
521
518
|
```
|
|
522
|
-
<!--End PulumiCodeChooser -->
|
|
523
519
|
|
|
524
520
|
## Import
|
|
525
521
|
|
pulumi_aiven/project_user.py
CHANGED
|
@@ -150,17 +150,15 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
150
150
|
|
|
151
151
|
## Example Usage
|
|
152
152
|
|
|
153
|
-
<!--Start PulumiCodeChooser -->
|
|
154
153
|
```python
|
|
155
154
|
import pulumi
|
|
156
155
|
import pulumi_aiven as aiven
|
|
157
156
|
|
|
158
157
|
mytestuser = aiven.ProjectUser("mytestuser",
|
|
159
|
-
project=
|
|
158
|
+
project=myproject["project"],
|
|
160
159
|
email="john.doe@example.com",
|
|
161
160
|
member_type="admin")
|
|
162
161
|
```
|
|
163
|
-
<!--End PulumiCodeChooser -->
|
|
164
162
|
|
|
165
163
|
## Import
|
|
166
164
|
|
|
@@ -185,17 +183,15 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
185
183
|
|
|
186
184
|
## Example Usage
|
|
187
185
|
|
|
188
|
-
<!--Start PulumiCodeChooser -->
|
|
189
186
|
```python
|
|
190
187
|
import pulumi
|
|
191
188
|
import pulumi_aiven as aiven
|
|
192
189
|
|
|
193
190
|
mytestuser = aiven.ProjectUser("mytestuser",
|
|
194
|
-
project=
|
|
191
|
+
project=myproject["project"],
|
|
195
192
|
email="john.doe@example.com",
|
|
196
193
|
member_type="admin")
|
|
197
194
|
```
|
|
198
|
-
<!--End PulumiCodeChooser -->
|
|
199
195
|
|
|
200
196
|
## Import
|
|
201
197
|
|
pulumi_aiven/project_vpc.py
CHANGED
|
@@ -148,6 +148,18 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
148
148
|
"""
|
|
149
149
|
Creates and manages a VPC for an Aiven project.
|
|
150
150
|
|
|
151
|
+
## Example Usage
|
|
152
|
+
|
|
153
|
+
```python
|
|
154
|
+
import pulumi
|
|
155
|
+
import pulumi_aiven as aiven
|
|
156
|
+
|
|
157
|
+
example_vpc = aiven.ProjectVpc("example_vpc",
|
|
158
|
+
project=example_project["project"],
|
|
159
|
+
cloud_name="google-europe-west1",
|
|
160
|
+
network_cidr="192.168.1.0/24")
|
|
161
|
+
```
|
|
162
|
+
|
|
151
163
|
## Import
|
|
152
164
|
|
|
153
165
|
```sh
|
|
@@ -169,6 +181,18 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
169
181
|
"""
|
|
170
182
|
Creates and manages a VPC for an Aiven project.
|
|
171
183
|
|
|
184
|
+
## Example Usage
|
|
185
|
+
|
|
186
|
+
```python
|
|
187
|
+
import pulumi
|
|
188
|
+
import pulumi_aiven as aiven
|
|
189
|
+
|
|
190
|
+
example_vpc = aiven.ProjectVpc("example_vpc",
|
|
191
|
+
project=example_project["project"],
|
|
192
|
+
cloud_name="google-europe-west1",
|
|
193
|
+
network_cidr="192.168.1.0/24")
|
|
194
|
+
```
|
|
195
|
+
|
|
172
196
|
## Import
|
|
173
197
|
|
|
174
198
|
```sh
|
pulumi_aiven/redis.py
CHANGED
|
@@ -840,13 +840,12 @@ class Redis(pulumi.CustomResource):
|
|
|
840
840
|
|
|
841
841
|
## Example Usage
|
|
842
842
|
|
|
843
|
-
<!--Start PulumiCodeChooser -->
|
|
844
843
|
```python
|
|
845
844
|
import pulumi
|
|
846
845
|
import pulumi_aiven as aiven
|
|
847
846
|
|
|
848
847
|
redis1 = aiven.Redis("redis1",
|
|
849
|
-
project=
|
|
848
|
+
project=pr1["project"],
|
|
850
849
|
cloud_name="google-europe-west1",
|
|
851
850
|
plan="business-4",
|
|
852
851
|
service_name="my-redis1",
|
|
@@ -859,7 +858,6 @@ class Redis(pulumi.CustomResource):
|
|
|
859
858
|
),
|
|
860
859
|
))
|
|
861
860
|
```
|
|
862
|
-
<!--End PulumiCodeChooser -->
|
|
863
861
|
|
|
864
862
|
## Import
|
|
865
863
|
|
|
@@ -917,13 +915,12 @@ class Redis(pulumi.CustomResource):
|
|
|
917
915
|
|
|
918
916
|
## Example Usage
|
|
919
917
|
|
|
920
|
-
<!--Start PulumiCodeChooser -->
|
|
921
918
|
```python
|
|
922
919
|
import pulumi
|
|
923
920
|
import pulumi_aiven as aiven
|
|
924
921
|
|
|
925
922
|
redis1 = aiven.Redis("redis1",
|
|
926
|
-
project=
|
|
923
|
+
project=pr1["project"],
|
|
927
924
|
cloud_name="google-europe-west1",
|
|
928
925
|
plan="business-4",
|
|
929
926
|
service_name="my-redis1",
|
|
@@ -936,7 +933,6 @@ class Redis(pulumi.CustomResource):
|
|
|
936
933
|
),
|
|
937
934
|
))
|
|
938
935
|
```
|
|
939
|
-
<!--End PulumiCodeChooser -->
|
|
940
936
|
|
|
941
937
|
## Import
|
|
942
938
|
|
pulumi_aiven/redis_user.py
CHANGED
|
@@ -315,18 +315,16 @@ class RedisUser(pulumi.CustomResource):
|
|
|
315
315
|
|
|
316
316
|
## Example Usage
|
|
317
317
|
|
|
318
|
-
<!--Start PulumiCodeChooser -->
|
|
319
318
|
```python
|
|
320
319
|
import pulumi
|
|
321
320
|
import pulumi_aiven as aiven
|
|
322
321
|
|
|
323
322
|
foo = aiven.RedisUser("foo",
|
|
324
|
-
service_name=
|
|
323
|
+
service_name=bar["serviceName"],
|
|
325
324
|
project="my-project",
|
|
326
325
|
username="user-1",
|
|
327
326
|
password="Test$1234")
|
|
328
327
|
```
|
|
329
|
-
<!--End PulumiCodeChooser -->
|
|
330
328
|
|
|
331
329
|
## Import
|
|
332
330
|
|
|
@@ -356,18 +354,16 @@ class RedisUser(pulumi.CustomResource):
|
|
|
356
354
|
|
|
357
355
|
## Example Usage
|
|
358
356
|
|
|
359
|
-
<!--Start PulumiCodeChooser -->
|
|
360
357
|
```python
|
|
361
358
|
import pulumi
|
|
362
359
|
import pulumi_aiven as aiven
|
|
363
360
|
|
|
364
361
|
foo = aiven.RedisUser("foo",
|
|
365
|
-
service_name=
|
|
362
|
+
service_name=bar["serviceName"],
|
|
366
363
|
project="my-project",
|
|
367
364
|
username="user-1",
|
|
368
365
|
password="Test$1234")
|
|
369
366
|
```
|
|
370
|
-
<!--End PulumiCodeChooser -->
|
|
371
367
|
|
|
372
368
|
## Import
|
|
373
369
|
|
|
@@ -688,18 +688,16 @@ class ServiceIntegration(pulumi.CustomResource):
|
|
|
688
688
|
|
|
689
689
|
## Example Usage
|
|
690
690
|
|
|
691
|
-
<!--Start PulumiCodeChooser -->
|
|
692
691
|
```python
|
|
693
692
|
import pulumi
|
|
694
693
|
import pulumi_aiven as aiven
|
|
695
694
|
|
|
696
|
-
my_integration_metrics = aiven.ServiceIntegration("
|
|
697
|
-
project=
|
|
695
|
+
my_integration_metrics = aiven.ServiceIntegration("my_integration_metrics",
|
|
696
|
+
project=myproject["project"],
|
|
698
697
|
integration_type="metrics",
|
|
699
|
-
source_service_name=
|
|
700
|
-
destination_service_name=
|
|
698
|
+
source_service_name=kfk1["serviceName"],
|
|
699
|
+
destination_service_name=m3db["serviceName"])
|
|
701
700
|
```
|
|
702
|
-
<!--End PulumiCodeChooser -->
|
|
703
701
|
|
|
704
702
|
## Import
|
|
705
703
|
|
|
@@ -747,18 +745,16 @@ class ServiceIntegration(pulumi.CustomResource):
|
|
|
747
745
|
|
|
748
746
|
## Example Usage
|
|
749
747
|
|
|
750
|
-
<!--Start PulumiCodeChooser -->
|
|
751
748
|
```python
|
|
752
749
|
import pulumi
|
|
753
750
|
import pulumi_aiven as aiven
|
|
754
751
|
|
|
755
|
-
my_integration_metrics = aiven.ServiceIntegration("
|
|
756
|
-
project=
|
|
752
|
+
my_integration_metrics = aiven.ServiceIntegration("my_integration_metrics",
|
|
753
|
+
project=myproject["project"],
|
|
757
754
|
integration_type="metrics",
|
|
758
|
-
source_service_name=
|
|
759
|
-
destination_service_name=
|
|
755
|
+
source_service_name=kfk1["serviceName"],
|
|
756
|
+
destination_service_name=m3db["serviceName"])
|
|
760
757
|
```
|
|
761
|
-
<!--End PulumiCodeChooser -->
|
|
762
758
|
|
|
763
759
|
## Import
|
|
764
760
|
|
|
@@ -259,19 +259,17 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
259
259
|
|
|
260
260
|
## Example Usage
|
|
261
261
|
|
|
262
|
-
<!--Start PulumiCodeChooser -->
|
|
263
262
|
```python
|
|
264
263
|
import pulumi
|
|
265
264
|
import pulumi_aiven as aiven
|
|
266
265
|
|
|
267
266
|
attachment = aiven.TransitGatewayVpcAttachment("attachment",
|
|
268
|
-
vpc_id=
|
|
267
|
+
vpc_id=bar["id"],
|
|
269
268
|
peer_cloud_account="<PEER_ACCOUNT_ID>",
|
|
270
269
|
peer_vpc="google-project1",
|
|
271
270
|
peer_region="aws-eu-west-1",
|
|
272
271
|
user_peer_network_cidrs=["10.0.0.0/24"])
|
|
273
272
|
```
|
|
274
|
-
<!--End PulumiCodeChooser -->
|
|
275
273
|
|
|
276
274
|
## Import
|
|
277
275
|
|
|
@@ -298,19 +296,17 @@ class TransitGatewayVpcAttachment(pulumi.CustomResource):
|
|
|
298
296
|
|
|
299
297
|
## Example Usage
|
|
300
298
|
|
|
301
|
-
<!--Start PulumiCodeChooser -->
|
|
302
299
|
```python
|
|
303
300
|
import pulumi
|
|
304
301
|
import pulumi_aiven as aiven
|
|
305
302
|
|
|
306
303
|
attachment = aiven.TransitGatewayVpcAttachment("attachment",
|
|
307
|
-
vpc_id=
|
|
304
|
+
vpc_id=bar["id"],
|
|
308
305
|
peer_cloud_account="<PEER_ACCOUNT_ID>",
|
|
309
306
|
peer_vpc="google-project1",
|
|
310
307
|
peer_region="aws-eu-west-1",
|
|
311
308
|
user_peer_network_cidrs=["10.0.0.0/24"])
|
|
312
309
|
```
|
|
313
|
-
<!--End PulumiCodeChooser -->
|
|
314
310
|
|
|
315
311
|
## Import
|
|
316
312
|
|