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.

Files changed (118) hide show
  1. pulumi_aiven/_inputs.py +100 -100
  2. pulumi_aiven/account.py +2 -6
  3. pulumi_aiven/account_team.py +6 -6
  4. pulumi_aiven/account_team_member.py +4 -8
  5. pulumi_aiven/account_team_project.py +12 -12
  6. pulumi_aiven/aws_privatelink.py +4 -8
  7. pulumi_aiven/aws_vpc_peering_connection.py +8 -12
  8. pulumi_aiven/azure_privatelink.py +4 -8
  9. pulumi_aiven/azure_privatelink_connection_approval.py +98 -0
  10. pulumi_aiven/azure_vpc_peering_connection.py +6 -10
  11. pulumi_aiven/billing_group.py +2 -4
  12. pulumi_aiven/cassandra.py +13 -17
  13. pulumi_aiven/cassandra_user.py +2 -6
  14. pulumi_aiven/clickhouse.py +13 -17
  15. pulumi_aiven/clickhouse_database.py +8 -10
  16. pulumi_aiven/clickhouse_grant.py +21 -23
  17. pulumi_aiven/clickhouse_role.py +0 -4
  18. pulumi_aiven/clickhouse_user.py +4 -8
  19. pulumi_aiven/connection_pool.py +8 -12
  20. pulumi_aiven/flink.py +16 -20
  21. pulumi_aiven/flink_application.py +6 -8
  22. pulumi_aiven/flink_application_version.py +82 -0
  23. pulumi_aiven/gcp_vpc_peering_connection.py +2 -6
  24. pulumi_aiven/get_account.py +0 -4
  25. pulumi_aiven/get_aws_privatelink.py +4 -8
  26. pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
  27. pulumi_aiven/get_azure_privatelink.py +4 -8
  28. pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
  29. pulumi_aiven/get_cassanda.py +2 -6
  30. pulumi_aiven/get_cassandra.py +2 -6
  31. pulumi_aiven/get_cassandra_user.py +4 -8
  32. pulumi_aiven/get_clickhouse.py +2 -6
  33. pulumi_aiven/get_clickhouse_database.py +4 -8
  34. pulumi_aiven/get_clickhouse_user.py +4 -8
  35. pulumi_aiven/get_connection_pool.py +4 -8
  36. pulumi_aiven/get_flink.py +2 -6
  37. pulumi_aiven/get_flink_application.py +2 -6
  38. pulumi_aiven/get_flink_application_version.py +2 -6
  39. pulumi_aiven/get_gcp_vpc_peering_connection.py +2 -6
  40. pulumi_aiven/get_grafana.py +2 -6
  41. pulumi_aiven/get_kafka.py +2 -6
  42. pulumi_aiven/get_kafka_acl.py +4 -8
  43. pulumi_aiven/get_kafka_connect.py +2 -6
  44. pulumi_aiven/get_kafka_connector.py +4 -8
  45. pulumi_aiven/get_kafka_mirror_maker.py +2 -6
  46. pulumi_aiven/get_kafka_schema.py +4 -8
  47. pulumi_aiven/get_kafka_schema_configuration.py +4 -8
  48. pulumi_aiven/get_kafka_topic.py +4 -8
  49. pulumi_aiven/get_kafka_user.py +4 -8
  50. pulumi_aiven/get_m3_aggregator.py +2 -6
  51. pulumi_aiven/get_m3_db.py +2 -6
  52. pulumi_aiven/get_m3db_user.py +4 -8
  53. pulumi_aiven/get_mirror_maker_replication_flow.py +8 -12
  54. pulumi_aiven/get_my_sql.py +2 -6
  55. pulumi_aiven/get_mysql_database.py +4 -8
  56. pulumi_aiven/get_mysql_user.py +4 -8
  57. pulumi_aiven/get_open_search.py +2 -6
  58. pulumi_aiven/get_open_search_acl_config.py +4 -8
  59. pulumi_aiven/get_open_search_acl_rule.py +4 -8
  60. pulumi_aiven/get_opensearch_security_plugin_config.py +4 -8
  61. pulumi_aiven/get_opensearch_user.py +4 -8
  62. pulumi_aiven/get_organization.py +0 -4
  63. pulumi_aiven/get_organization_user_group.py +2 -6
  64. pulumi_aiven/get_pg.py +2 -6
  65. pulumi_aiven/get_pg_database.py +4 -8
  66. pulumi_aiven/get_pg_user.py +4 -8
  67. pulumi_aiven/get_project.py +0 -4
  68. pulumi_aiven/get_project_user.py +2 -6
  69. pulumi_aiven/get_project_vpc.py +2 -6
  70. pulumi_aiven/get_redis.py +2 -6
  71. pulumi_aiven/get_redis_user.py +4 -8
  72. pulumi_aiven/get_service_component.py +4 -8
  73. pulumi_aiven/get_service_integration.py +2 -6
  74. pulumi_aiven/get_service_integration_endpoint.py +2 -6
  75. pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
  76. pulumi_aiven/grafana.py +4 -6
  77. pulumi_aiven/kafka.py +13 -17
  78. pulumi_aiven/kafka_acl.py +4 -8
  79. pulumi_aiven/kafka_connect.py +2 -6
  80. pulumi_aiven/kafka_connector.py +12 -16
  81. pulumi_aiven/kafka_mirror_maker.py +2 -6
  82. pulumi_aiven/kafka_schema.py +4 -8
  83. pulumi_aiven/kafka_schema_configuration.py +4 -8
  84. pulumi_aiven/kafka_topic.py +38 -0
  85. pulumi_aiven/kafka_user.py +2 -6
  86. pulumi_aiven/m3_aggregator.py +2 -6
  87. pulumi_aiven/m3_db.py +2 -6
  88. pulumi_aiven/m3db_user.py +2 -6
  89. pulumi_aiven/mirror_maker_replication_flow.py +8 -12
  90. pulumi_aiven/my_sql.py +2 -6
  91. pulumi_aiven/mysql_database.py +4 -8
  92. pulumi_aiven/mysql_user.py +2 -6
  93. pulumi_aiven/open_search.py +13 -17
  94. pulumi_aiven/open_search_acl_config.py +12 -16
  95. pulumi_aiven/open_search_acl_rule.py +20 -24
  96. pulumi_aiven/opensearch_security_plugin_config.py +12 -16
  97. pulumi_aiven/opensearch_user.py +2 -6
  98. pulumi_aiven/organization.py +2 -6
  99. pulumi_aiven/organization_group_project.py +32 -0
  100. pulumi_aiven/organization_user_group.py +4 -6
  101. pulumi_aiven/organization_user_group_member.py +8 -10
  102. pulumi_aiven/organizational_unit.py +6 -6
  103. pulumi_aiven/outputs.py +100 -100
  104. pulumi_aiven/pg.py +14 -14
  105. pulumi_aiven/pg_database.py +4 -8
  106. pulumi_aiven/pg_user.py +2 -6
  107. pulumi_aiven/project.py +4 -8
  108. pulumi_aiven/project_user.py +2 -6
  109. pulumi_aiven/project_vpc.py +24 -0
  110. pulumi_aiven/redis.py +2 -6
  111. pulumi_aiven/redis_user.py +2 -6
  112. pulumi_aiven/service_integration.py +8 -12
  113. pulumi_aiven/transit_gateway_vpc_attachment.py +2 -6
  114. {pulumi_aiven-6.14.0a1713330923.dist-info → pulumi_aiven-6.14.0a1713897878.dist-info}/METADATA +1 -1
  115. pulumi_aiven-6.14.0a1713897878.dist-info/RECORD +150 -0
  116. pulumi_aiven-6.14.0a1713330923.dist-info/RECORD +0 -150
  117. {pulumi_aiven-6.14.0a1713330923.dist-info → pulumi_aiven-6.14.0a1713897878.dist-info}/WHEEL +0 -0
  118. {pulumi_aiven-6.14.0a1713330923.dist-info → pulumi_aiven-6.14.0a1713897878.dist-info}/top_level.txt +0 -0
pulumi_aiven/flink.py CHANGED
@@ -40,13 +40,13 @@ class FlinkArgs:
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
41
  :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).
42
42
  :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.
43
- :param pulumi.Input['FlinkFlinkArgs'] flink: Enable flink.
43
+ :param pulumi.Input['FlinkFlinkArgs'] flink: Flink server provided values
44
44
  :param pulumi.Input['FlinkFlinkUserConfigArgs'] flink_user_config: Flink user configurable settings
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
48
  :param pulumi.Input[Sequence[pulumi.Input['FlinkServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
49
- :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
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['FlinkTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
51
51
  :param pulumi.Input[Sequence[pulumi.Input['FlinkTechEmailArgs']]] 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.
@@ -163,7 +163,7 @@ class FlinkArgs:
163
163
  @pulumi.getter
164
164
  def flink(self) -> Optional[pulumi.Input['FlinkFlinkArgs']]:
165
165
  """
166
- Enable flink.
166
+ Flink server provided values
167
167
  """
168
168
  return pulumi.get(self, "flink")
169
169
 
@@ -235,7 +235,7 @@ class FlinkArgs:
235
235
  @pulumi.getter(name="staticIps")
236
236
  def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
237
237
  """
238
- Use static public IP addresses.
238
+ 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
239
239
  """
240
240
  return pulumi.get(self, "static_ips")
241
241
 
@@ -321,7 +321,7 @@ class _FlinkState:
321
321
  :param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
322
322
  :param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
323
323
  :param pulumi.Input[str] disk_space_used: Disk space that service is currently using
324
- :param pulumi.Input['FlinkFlinkArgs'] flink: Enable flink.
324
+ :param pulumi.Input['FlinkFlinkArgs'] flink: Flink server provided values
325
325
  :param pulumi.Input['FlinkFlinkUserConfigArgs'] flink_user_config: Flink user configurable settings
326
326
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
327
327
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
@@ -337,7 +337,7 @@ class _FlinkState:
337
337
  :param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
338
338
  :param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
339
339
  :param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
340
- :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
340
+ :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
341
341
  :param pulumi.Input[Sequence[pulumi.Input['FlinkTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
342
342
  :param pulumi.Input[Sequence[pulumi.Input['FlinkTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
343
343
  :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.
@@ -505,7 +505,7 @@ class _FlinkState:
505
505
  @pulumi.getter
506
506
  def flink(self) -> Optional[pulumi.Input['FlinkFlinkArgs']]:
507
507
  """
508
- Enable flink.
508
+ Flink server provided values
509
509
  """
510
510
  return pulumi.get(self, "flink")
511
511
 
@@ -697,7 +697,7 @@ class _FlinkState:
697
697
  @pulumi.getter(name="staticIps")
698
698
  def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
699
699
  """
700
- Use static public IP addresses.
700
+ 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
701
701
  """
702
702
  return pulumi.get(self, "static_ips")
703
703
 
@@ -769,13 +769,12 @@ class Flink(pulumi.CustomResource):
769
769
 
770
770
  ## Example Usage
771
771
 
772
- <!--Start PulumiCodeChooser -->
773
772
  ```python
774
773
  import pulumi
775
774
  import pulumi_aiven as aiven
776
775
 
777
776
  flink = aiven.Flink("flink",
778
- project=data["aiven_project"]["pr1"]["project"],
777
+ project=pr1["project"],
779
778
  cloud_name="google-europe-west1",
780
779
  plan="business-4",
781
780
  service_name="my-flink",
@@ -785,7 +784,6 @@ class Flink(pulumi.CustomResource):
785
784
  flink_version="1.16",
786
785
  ))
787
786
  ```
788
- <!--End PulumiCodeChooser -->
789
787
 
790
788
  ## Import
791
789
 
@@ -798,7 +796,7 @@ class Flink(pulumi.CustomResource):
798
796
  :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.
799
797
  :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).
800
798
  :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.
801
- :param pulumi.Input[pulumi.InputType['FlinkFlinkArgs']] flink: Enable flink.
799
+ :param pulumi.Input[pulumi.InputType['FlinkFlinkArgs']] flink: Flink server provided values
802
800
  :param pulumi.Input[pulumi.InputType['FlinkFlinkUserConfigArgs']] flink_user_config: Flink user configurable settings
803
801
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
804
802
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
@@ -807,7 +805,7 @@ class Flink(pulumi.CustomResource):
807
805
  :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.
808
806
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
809
807
  :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.
810
- :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
808
+ :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
811
809
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
812
810
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
813
811
  :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.
@@ -823,13 +821,12 @@ class Flink(pulumi.CustomResource):
823
821
 
824
822
  ## Example Usage
825
823
 
826
- <!--Start PulumiCodeChooser -->
827
824
  ```python
828
825
  import pulumi
829
826
  import pulumi_aiven as aiven
830
827
 
831
828
  flink = aiven.Flink("flink",
832
- project=data["aiven_project"]["pr1"]["project"],
829
+ project=pr1["project"],
833
830
  cloud_name="google-europe-west1",
834
831
  plan="business-4",
835
832
  service_name="my-flink",
@@ -839,7 +836,6 @@ class Flink(pulumi.CustomResource):
839
836
  flink_version="1.16",
840
837
  ))
841
838
  ```
842
- <!--End PulumiCodeChooser -->
843
839
 
844
840
  ## Import
845
841
 
@@ -976,7 +972,7 @@ class Flink(pulumi.CustomResource):
976
972
  :param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
977
973
  :param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
978
974
  :param pulumi.Input[str] disk_space_used: Disk space that service is currently using
979
- :param pulumi.Input[pulumi.InputType['FlinkFlinkArgs']] flink: Enable flink.
975
+ :param pulumi.Input[pulumi.InputType['FlinkFlinkArgs']] flink: Flink server provided values
980
976
  :param pulumi.Input[pulumi.InputType['FlinkFlinkUserConfigArgs']] flink_user_config: Flink user configurable settings
981
977
  :param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
982
978
  :param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
@@ -992,7 +988,7 @@ class Flink(pulumi.CustomResource):
992
988
  :param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
993
989
  :param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
994
990
  :param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
995
- :param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
991
+ :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
996
992
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
997
993
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['FlinkTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
998
994
  :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.
@@ -1102,7 +1098,7 @@ class Flink(pulumi.CustomResource):
1102
1098
  @pulumi.getter
1103
1099
  def flink(self) -> pulumi.Output['outputs.FlinkFlink']:
1104
1100
  """
1105
- Enable flink.
1101
+ Flink server provided values
1106
1102
  """
1107
1103
  return pulumi.get(self, "flink")
1108
1104
 
@@ -1230,7 +1226,7 @@ class Flink(pulumi.CustomResource):
1230
1226
  @pulumi.getter(name="staticIps")
1231
1227
  def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
1232
1228
  """
1233
- Use static public IP addresses.
1229
+ 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
1234
1230
  """
1235
1231
  return pulumi.get(self, "static_ips")
1236
1232
 
@@ -215,16 +215,15 @@ class FlinkApplication(pulumi.CustomResource):
215
215
 
216
216
  ## Example Usage
217
217
 
218
- <!--Start PulumiCodeChooser -->
219
218
  ```python
220
219
  import pulumi
221
220
  import pulumi_aiven as aiven
222
221
 
223
222
  foo = aiven.FlinkApplication("foo",
224
- project=aiven_project["foo"]["project"],
225
- service_name="flink-service-1")
223
+ project=foo_aiven_project["project"],
224
+ service_name="flink-service-1",
225
+ name="my-flink-app")
226
226
  ```
227
- <!--End PulumiCodeChooser -->
228
227
 
229
228
  ## Import
230
229
 
@@ -249,16 +248,15 @@ class FlinkApplication(pulumi.CustomResource):
249
248
 
250
249
  ## Example Usage
251
250
 
252
- <!--Start PulumiCodeChooser -->
253
251
  ```python
254
252
  import pulumi
255
253
  import pulumi_aiven as aiven
256
254
 
257
255
  foo = aiven.FlinkApplication("foo",
258
- project=aiven_project["foo"]["project"],
259
- service_name="flink-service-1")
256
+ project=foo_aiven_project["project"],
257
+ service_name="flink-service-1",
258
+ name="my-flink-app")
260
259
  ```
261
- <!--End PulumiCodeChooser -->
262
260
 
263
261
  ## Import
264
262
 
@@ -386,6 +386,47 @@ class FlinkApplicationVersion(pulumi.CustomResource):
386
386
  """
387
387
  The Flink Application Version resource allows the creation and management of Aiven Flink Application Versions.
388
388
 
389
+ ## Example Usage
390
+
391
+ ```python
392
+ import pulumi
393
+ import pulumi_aiven as aiven
394
+
395
+ foo = aiven.FlinkApplicationVersion("foo",
396
+ project=foo_aiven_project["project"],
397
+ service_name=foo_aiven_flink["serviceName"],
398
+ application_id=foo_aiven_flink_application["applicationId"],
399
+ statement=" INSERT INTO kafka_known_pizza SELECT * FROM kafka_pizza WHERE shop LIKE '%Luigis Pizza%'\\n",
400
+ sinks=[aiven.FlinkApplicationVersionSinkArgs(
401
+ create_table=\"\"\" CREATE TABLE kafka_known_pizza (
402
+ shop STRING,
403
+ name STRING
404
+ ) WITH (
405
+ 'connector' = 'kafka',
406
+ 'properties.bootstrap.servers' = '',
407
+ 'scan.startup.mode' = 'earliest-offset',
408
+ 'topic' = 'sink_topic',
409
+ 'value.format' = 'json'
410
+ )
411
+ \"\"\",
412
+ integration_id=flink_to_kafka["integrationId"],
413
+ )],
414
+ sources=[aiven.FlinkApplicationVersionSourceArgs(
415
+ create_table=\"\"\" CREATE TABLE kafka_pizza (
416
+ shop STRING,
417
+ name STRING
418
+ ) WITH (
419
+ 'connector' = 'kafka',
420
+ 'properties.bootstrap.servers' = '',
421
+ 'scan.startup.mode' = 'earliest-offset',
422
+ 'topic' = 'source_topic',
423
+ 'value.format' = 'json'
424
+ )
425
+ \"\"\",
426
+ integration_id=flink_to_kafka["integrationId"],
427
+ )])
428
+ ```
429
+
389
430
  ## Import
390
431
 
391
432
  ```sh
@@ -412,6 +453,47 @@ class FlinkApplicationVersion(pulumi.CustomResource):
412
453
  """
413
454
  The Flink Application Version resource allows the creation and management of Aiven Flink Application Versions.
414
455
 
456
+ ## Example Usage
457
+
458
+ ```python
459
+ import pulumi
460
+ import pulumi_aiven as aiven
461
+
462
+ foo = aiven.FlinkApplicationVersion("foo",
463
+ project=foo_aiven_project["project"],
464
+ service_name=foo_aiven_flink["serviceName"],
465
+ application_id=foo_aiven_flink_application["applicationId"],
466
+ statement=" INSERT INTO kafka_known_pizza SELECT * FROM kafka_pizza WHERE shop LIKE '%Luigis Pizza%'\\n",
467
+ sinks=[aiven.FlinkApplicationVersionSinkArgs(
468
+ create_table=\"\"\" CREATE TABLE kafka_known_pizza (
469
+ shop STRING,
470
+ name STRING
471
+ ) WITH (
472
+ 'connector' = 'kafka',
473
+ 'properties.bootstrap.servers' = '',
474
+ 'scan.startup.mode' = 'earliest-offset',
475
+ 'topic' = 'sink_topic',
476
+ 'value.format' = 'json'
477
+ )
478
+ \"\"\",
479
+ integration_id=flink_to_kafka["integrationId"],
480
+ )],
481
+ sources=[aiven.FlinkApplicationVersionSourceArgs(
482
+ create_table=\"\"\" CREATE TABLE kafka_pizza (
483
+ shop STRING,
484
+ name STRING
485
+ ) WITH (
486
+ 'connector' = 'kafka',
487
+ 'properties.bootstrap.servers' = '',
488
+ 'scan.startup.mode' = 'earliest-offset',
489
+ 'topic' = 'source_topic',
490
+ 'value.format' = 'json'
491
+ )
492
+ \"\"\",
493
+ integration_id=flink_to_kafka["integrationId"],
494
+ )])
495
+ ```
496
+
415
497
  ## Import
416
498
 
417
499
  ```sh
@@ -182,17 +182,15 @@ class GcpVpcPeeringConnection(pulumi.CustomResource):
182
182
 
183
183
  ## Example Usage
184
184
 
185
- <!--Start PulumiCodeChooser -->
186
185
  ```python
187
186
  import pulumi
188
187
  import pulumi_aiven as aiven
189
188
 
190
189
  foo = aiven.GcpVpcPeeringConnection("foo",
191
- vpc_id=data["aiven_project_vpc"]["vpc"]["id"],
190
+ vpc_id=vpc["id"],
192
191
  gcp_project_id="xxxx",
193
192
  peer_vpc="xxxx")
194
193
  ```
195
- <!--End PulumiCodeChooser -->
196
194
 
197
195
  ## Import
198
196
 
@@ -217,17 +215,15 @@ class GcpVpcPeeringConnection(pulumi.CustomResource):
217
215
 
218
216
  ## Example Usage
219
217
 
220
- <!--Start PulumiCodeChooser -->
221
218
  ```python
222
219
  import pulumi
223
220
  import pulumi_aiven as aiven
224
221
 
225
222
  foo = aiven.GcpVpcPeeringConnection("foo",
226
- vpc_id=data["aiven_project_vpc"]["vpc"]["id"],
223
+ vpc_id=vpc["id"],
227
224
  gcp_project_id="xxxx",
228
225
  peer_vpc="xxxx")
229
226
  ```
230
- <!--End PulumiCodeChooser -->
231
227
 
232
228
  ## Import
233
229
 
@@ -147,14 +147,12 @@ def get_account(name: Optional[str] = None,
147
147
 
148
148
  ## Example Usage
149
149
 
150
- <!--Start PulumiCodeChooser -->
151
150
  ```python
152
151
  import pulumi
153
152
  import pulumi_aiven as aiven
154
153
 
155
154
  account1 = aiven.get_account(name="<ACCOUNT_NAME>")
156
155
  ```
157
- <!--End PulumiCodeChooser -->
158
156
 
159
157
 
160
158
  :param str name: Account name
@@ -184,14 +182,12 @@ def get_account_output(name: Optional[pulumi.Input[str]] = None,
184
182
 
185
183
  ## Example Usage
186
184
 
187
- <!--Start PulumiCodeChooser -->
188
185
  ```python
189
186
  import pulumi
190
187
  import pulumi_aiven as aiven
191
188
 
192
189
  account1 = aiven.get_account(name="<ACCOUNT_NAME>")
193
190
  ```
194
- <!--End PulumiCodeChooser -->
195
191
 
196
192
 
197
193
  :param str name: Account name
@@ -112,15 +112,13 @@ def get_aws_privatelink(project: Optional[str] = None,
112
112
 
113
113
  ## Example Usage
114
114
 
115
- <!--Start PulumiCodeChooser -->
116
115
  ```python
117
116
  import pulumi
118
117
  import pulumi_aiven as aiven
119
118
 
120
- main = aiven.get_aws_privatelink(project=data["aiven_project"]["example_project"]["project"],
121
- service_name=aiven_kafka["example_kafka"]["service_name"])
119
+ main = aiven.get_aws_privatelink(project=example_project["project"],
120
+ service_name=example_kafka["serviceName"])
122
121
  ```
123
- <!--End PulumiCodeChooser -->
124
122
 
125
123
 
126
124
  :param 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.
@@ -150,15 +148,13 @@ def get_aws_privatelink_output(project: Optional[pulumi.Input[str]] = None,
150
148
 
151
149
  ## Example Usage
152
150
 
153
- <!--Start PulumiCodeChooser -->
154
151
  ```python
155
152
  import pulumi
156
153
  import pulumi_aiven as aiven
157
154
 
158
- main = aiven.get_aws_privatelink(project=data["aiven_project"]["example_project"]["project"],
159
- service_name=aiven_kafka["example_kafka"]["service_name"])
155
+ main = aiven.get_aws_privatelink(project=example_project["project"],
156
+ service_name=example_kafka["serviceName"])
160
157
  ```
161
- <!--End PulumiCodeChooser -->
162
158
 
163
159
 
164
160
  :param 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.
@@ -138,21 +138,19 @@ def get_aws_vpc_peering_connection(aws_account_id: Optional[str] = None,
138
138
 
139
139
  ## Example Usage
140
140
 
141
- <!--Start PulumiCodeChooser -->
142
141
  ```python
143
142
  import pulumi
144
143
  import pulumi_aiven as aiven
145
144
 
146
- example_vpc = aiven.ProjectVpc("exampleVpc",
147
- project=data["aiven_project"]["example_project"]["project"],
145
+ example_vpc = aiven.ProjectVpc("example_vpc",
146
+ project=example_project["project"],
148
147
  cloud_name="google-europe-west1",
149
148
  network_cidr="192.168.1.0/24")
150
149
  aws_to_aiven_peering = example_vpc.id.apply(lambda id: aiven.get_aws_vpc_peering_connection_output(vpc_id=id,
151
- aws_account_id=var["aws_id"],
150
+ aws_account_id=aws_id,
152
151
  aws_vpc_id="vpc-1a2b3c4d5e6f7g8h9",
153
152
  aws_vpc_region="aws-us-east-2"))
154
153
  ```
155
- <!--End PulumiCodeChooser -->
156
154
 
157
155
 
158
156
  :param str aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
@@ -190,21 +188,19 @@ def get_aws_vpc_peering_connection_output(aws_account_id: Optional[pulumi.Input[
190
188
 
191
189
  ## Example Usage
192
190
 
193
- <!--Start PulumiCodeChooser -->
194
191
  ```python
195
192
  import pulumi
196
193
  import pulumi_aiven as aiven
197
194
 
198
- example_vpc = aiven.ProjectVpc("exampleVpc",
199
- project=data["aiven_project"]["example_project"]["project"],
195
+ example_vpc = aiven.ProjectVpc("example_vpc",
196
+ project=example_project["project"],
200
197
  cloud_name="google-europe-west1",
201
198
  network_cidr="192.168.1.0/24")
202
199
  aws_to_aiven_peering = example_vpc.id.apply(lambda id: aiven.get_aws_vpc_peering_connection_output(vpc_id=id,
203
- aws_account_id=var["aws_id"],
200
+ aws_account_id=aws_id,
204
201
  aws_vpc_id="vpc-1a2b3c4d5e6f7g8h9",
205
202
  aws_vpc_region="aws-us-east-2"))
206
203
  ```
207
- <!--End PulumiCodeChooser -->
208
204
 
209
205
 
210
206
  :param str aws_account_id: AWS account ID. Changing this property forces recreation of the resource.
@@ -136,15 +136,13 @@ def get_azure_privatelink(project: Optional[str] = None,
136
136
 
137
137
  ## Example Usage
138
138
 
139
- <!--Start PulumiCodeChooser -->
140
139
  ```python
141
140
  import pulumi
142
141
  import pulumi_aiven as aiven
143
142
 
144
- main = aiven.get_azure_privatelink(project=data["aiven_project"]["example_project"]["project"],
145
- service_name=aiven_kafka["example_kafka"]["service_name"])
143
+ main = aiven.get_azure_privatelink(project=example_project["project"],
144
+ service_name=example_kafka["serviceName"])
146
145
  ```
147
- <!--End PulumiCodeChooser -->
148
146
 
149
147
 
150
148
  :param 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.
@@ -176,15 +174,13 @@ def get_azure_privatelink_output(project: Optional[pulumi.Input[str]] = None,
176
174
 
177
175
  ## Example Usage
178
176
 
179
- <!--Start PulumiCodeChooser -->
180
177
  ```python
181
178
  import pulumi
182
179
  import pulumi_aiven as aiven
183
180
 
184
- main = aiven.get_azure_privatelink(project=data["aiven_project"]["example_project"]["project"],
185
- service_name=aiven_kafka["example_kafka"]["service_name"])
181
+ main = aiven.get_azure_privatelink(project=example_project["project"],
182
+ service_name=example_kafka["serviceName"])
186
183
  ```
187
- <!--End PulumiCodeChooser -->
188
184
 
189
185
 
190
186
  :param 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.
@@ -164,19 +164,17 @@ def get_azure_vpc_peering_connection(azure_subscription_id: Optional[str] = None
164
164
 
165
165
  ## Example Usage
166
166
 
167
- <!--Start PulumiCodeChooser -->
168
167
  ```python
169
168
  import pulumi
170
169
  import pulumi_aiven as aiven
171
170
 
172
- azure_to_aiven_peering = aiven.get_azure_vpc_peering_connection(vpc_id=data["aiven_project_vpc"]["example_vpc"]["id"],
171
+ azure_to_aiven_peering = aiven.get_azure_vpc_peering_connection(vpc_id=example_vpc["id"],
173
172
  azure_subscription_id="00000000-0000-0000-0000-000000000000",
174
173
  peer_resource_group="example-resource-group",
175
174
  vnet_name="example-vnet",
176
175
  peer_azure_app_id="00000000-0000-0000-0000-000000000000",
177
176
  peer_azure_tenant_id="00000000-0000-0000-0000-000000000000")
178
177
  ```
179
- <!--End PulumiCodeChooser -->
180
178
 
181
179
 
182
180
  :param str azure_subscription_id: The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
@@ -222,19 +220,17 @@ def get_azure_vpc_peering_connection_output(azure_subscription_id: Optional[pulu
222
220
 
223
221
  ## Example Usage
224
222
 
225
- <!--Start PulumiCodeChooser -->
226
223
  ```python
227
224
  import pulumi
228
225
  import pulumi_aiven as aiven
229
226
 
230
- azure_to_aiven_peering = aiven.get_azure_vpc_peering_connection(vpc_id=data["aiven_project_vpc"]["example_vpc"]["id"],
227
+ azure_to_aiven_peering = aiven.get_azure_vpc_peering_connection(vpc_id=example_vpc["id"],
231
228
  azure_subscription_id="00000000-0000-0000-0000-000000000000",
232
229
  peer_resource_group="example-resource-group",
233
230
  vnet_name="example-vnet",
234
231
  peer_azure_app_id="00000000-0000-0000-0000-000000000000",
235
232
  peer_azure_tenant_id="00000000-0000-0000-0000-000000000000")
236
233
  ```
237
- <!--End PulumiCodeChooser -->
238
234
 
239
235
 
240
236
  :param str azure_subscription_id: The ID of the Azure subscription in UUID4 format. Changing this property forces recreation of the resource.
@@ -391,15 +391,13 @@ def get_cassanda(project: Optional[str] = None,
391
391
 
392
392
  ## Example Usage
393
393
 
394
- <!--Start PulumiCodeChooser -->
395
394
  ```python
396
395
  import pulumi
397
396
  import pulumi_aiven as aiven
398
397
 
399
- bar = aiven.get_cassandra(project=data["aiven_project"]["foo"]["project"],
398
+ bar = aiven.get_cassandra(project=foo["project"],
400
399
  service_name="<SERVICE_NAME>")
401
400
  ```
402
- <!--End PulumiCodeChooser -->
403
401
 
404
402
 
405
403
  :param 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.
@@ -453,15 +451,13 @@ def get_cassanda_output(project: Optional[pulumi.Input[str]] = None,
453
451
 
454
452
  ## Example Usage
455
453
 
456
- <!--Start PulumiCodeChooser -->
457
454
  ```python
458
455
  import pulumi
459
456
  import pulumi_aiven as aiven
460
457
 
461
- bar = aiven.get_cassandra(project=data["aiven_project"]["foo"]["project"],
458
+ bar = aiven.get_cassandra(project=foo["project"],
462
459
  service_name="<SERVICE_NAME>")
463
460
  ```
464
- <!--End PulumiCodeChooser -->
465
461
 
466
462
 
467
463
  :param 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.
@@ -389,15 +389,13 @@ def get_cassandra(project: Optional[str] = None,
389
389
 
390
390
  ## Example Usage
391
391
 
392
- <!--Start PulumiCodeChooser -->
393
392
  ```python
394
393
  import pulumi
395
394
  import pulumi_aiven as aiven
396
395
 
397
- bar = aiven.get_cassandra(project=data["aiven_project"]["foo"]["project"],
396
+ bar = aiven.get_cassandra(project=foo["project"],
398
397
  service_name="<SERVICE_NAME>")
399
398
  ```
400
- <!--End PulumiCodeChooser -->
401
399
 
402
400
 
403
401
  :param 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.
@@ -450,15 +448,13 @@ def get_cassandra_output(project: Optional[pulumi.Input[str]] = None,
450
448
 
451
449
  ## Example Usage
452
450
 
453
- <!--Start PulumiCodeChooser -->
454
451
  ```python
455
452
  import pulumi
456
453
  import pulumi_aiven as aiven
457
454
 
458
- bar = aiven.get_cassandra(project=data["aiven_project"]["foo"]["project"],
455
+ bar = aiven.get_cassandra(project=foo["project"],
459
456
  service_name="<SERVICE_NAME>")
460
457
  ```
461
- <!--End PulumiCodeChooser -->
462
458
 
463
459
 
464
460
  :param 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.
@@ -137,16 +137,14 @@ def get_cassandra_user(project: Optional[str] = None,
137
137
 
138
138
  ## Example Usage
139
139
 
140
- <!--Start PulumiCodeChooser -->
141
140
  ```python
142
141
  import pulumi
143
142
  import pulumi_aiven as aiven
144
143
 
145
- user = aiven.get_cassandra_user(project="my-project",
146
- service_name="my-service",
144
+ user = aiven.get_cassandra_user(service_name="my-service",
145
+ project="my-project",
147
146
  username="user1")
148
147
  ```
149
- <!--End PulumiCodeChooser -->
150
148
 
151
149
 
152
150
  :param 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.
@@ -181,16 +179,14 @@ def get_cassandra_user_output(project: Optional[pulumi.Input[str]] = None,
181
179
 
182
180
  ## Example Usage
183
181
 
184
- <!--Start PulumiCodeChooser -->
185
182
  ```python
186
183
  import pulumi
187
184
  import pulumi_aiven as aiven
188
185
 
189
- user = aiven.get_cassandra_user(project="my-project",
190
- service_name="my-service",
186
+ user = aiven.get_cassandra_user(service_name="my-service",
187
+ project="my-project",
191
188
  username="user1")
192
189
  ```
193
- <!--End PulumiCodeChooser -->
194
190
 
195
191
 
196
192
  :param 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.