pulumi-aiven 6.13.0a1711027602__py3-none-any.whl → 6.14.0__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 (136) hide show
  1. pulumi_aiven/__init__.py +28 -0
  2. pulumi_aiven/_inputs.py +2623 -1138
  3. pulumi_aiven/account.py +8 -8
  4. pulumi_aiven/account_authentication.py +8 -4
  5. pulumi_aiven/account_team.py +6 -6
  6. pulumi_aiven/account_team_member.py +27 -31
  7. pulumi_aiven/account_team_project.py +12 -12
  8. pulumi_aiven/aws_privatelink.py +39 -43
  9. pulumi_aiven/aws_vpc_peering_connection.py +62 -56
  10. pulumi_aiven/azure_privatelink.py +49 -53
  11. pulumi_aiven/azure_privatelink_connection_approval.py +131 -33
  12. pulumi_aiven/azure_vpc_peering_connection.py +76 -72
  13. pulumi_aiven/billing_group.py +18 -18
  14. pulumi_aiven/cassandra.py +25 -57
  15. pulumi_aiven/cassandra_user.py +25 -29
  16. pulumi_aiven/clickhouse.py +25 -57
  17. pulumi_aiven/clickhouse_database.py +31 -33
  18. pulumi_aiven/clickhouse_grant.py +56 -58
  19. pulumi_aiven/clickhouse_role.py +23 -27
  20. pulumi_aiven/clickhouse_user.py +25 -29
  21. pulumi_aiven/connection_pool.py +38 -42
  22. pulumi_aiven/dragonfly.py +1205 -0
  23. pulumi_aiven/flink.py +32 -36
  24. pulumi_aiven/flink_application.py +22 -24
  25. pulumi_aiven/flink_application_deployment.py +28 -28
  26. pulumi_aiven/flink_application_version.py +96 -14
  27. pulumi_aiven/gcp_privatelink.py +40 -40
  28. pulumi_aiven/gcp_privatelink_connection_approval.py +47 -47
  29. pulumi_aiven/gcp_vpc_peering_connection.py +39 -43
  30. pulumi_aiven/get_account.py +0 -4
  31. pulumi_aiven/get_account_team_member.py +9 -9
  32. pulumi_aiven/get_aws_privatelink.py +15 -19
  33. pulumi_aiven/get_aws_vpc_peering_connection.py +33 -27
  34. pulumi_aiven/get_azure_privatelink.py +17 -21
  35. pulumi_aiven/get_azure_vpc_peering_connection.py +50 -22
  36. pulumi_aiven/get_billing_group.py +2 -2
  37. pulumi_aiven/get_cassanda.py +7 -24
  38. pulumi_aiven/get_cassandra.py +7 -24
  39. pulumi_aiven/get_cassandra_user.py +13 -17
  40. pulumi_aiven/get_clickhouse.py +7 -24
  41. pulumi_aiven/get_clickhouse_database.py +13 -17
  42. pulumi_aiven/get_clickhouse_user.py +13 -17
  43. pulumi_aiven/get_connection_pool.py +14 -18
  44. pulumi_aiven/get_dragonfly.py +450 -0
  45. pulumi_aiven/get_flink.py +6 -10
  46. pulumi_aiven/get_flink_application.py +8 -12
  47. pulumi_aiven/get_flink_application_version.py +8 -12
  48. pulumi_aiven/get_gcp_vpc_peering_connection.py +18 -22
  49. pulumi_aiven/get_grafana.py +7 -24
  50. pulumi_aiven/get_kafka.py +13 -17
  51. pulumi_aiven/get_kafka_acl.py +19 -23
  52. pulumi_aiven/get_kafka_connect.py +7 -24
  53. pulumi_aiven/get_kafka_connector.py +13 -17
  54. pulumi_aiven/get_kafka_mirror_maker.py +7 -24
  55. pulumi_aiven/get_kafka_schema.py +13 -17
  56. pulumi_aiven/get_kafka_schema_configuration.py +11 -15
  57. pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
  58. pulumi_aiven/get_kafka_topic.py +19 -23
  59. pulumi_aiven/get_kafka_user.py +13 -17
  60. pulumi_aiven/get_m3_aggregator.py +7 -24
  61. pulumi_aiven/get_m3_db.py +7 -24
  62. pulumi_aiven/get_m3db_user.py +13 -17
  63. pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
  64. pulumi_aiven/get_my_sql.py +7 -24
  65. pulumi_aiven/get_mysql_database.py +13 -17
  66. pulumi_aiven/get_mysql_user.py +13 -17
  67. pulumi_aiven/get_open_search.py +6 -10
  68. pulumi_aiven/get_open_search_acl_config.py +10 -14
  69. pulumi_aiven/get_open_search_acl_rule.py +16 -20
  70. pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
  71. pulumi_aiven/get_opensearch_user.py +13 -17
  72. pulumi_aiven/get_organization.py +8 -12
  73. pulumi_aiven/get_organization_user_group.py +29 -9
  74. pulumi_aiven/get_organizational_unit.py +9 -9
  75. pulumi_aiven/get_pg.py +6 -10
  76. pulumi_aiven/get_pg_database.py +15 -19
  77. pulumi_aiven/get_pg_user.py +13 -17
  78. pulumi_aiven/get_project.py +17 -21
  79. pulumi_aiven/get_project_user.py +9 -13
  80. pulumi_aiven/get_project_vpc.py +11 -17
  81. pulumi_aiven/get_redis.py +7 -24
  82. pulumi_aiven/get_redis_user.py +17 -21
  83. pulumi_aiven/get_service_component.py +4 -8
  84. pulumi_aiven/get_service_integration.py +75 -37
  85. pulumi_aiven/get_service_integration_endpoint.py +3 -7
  86. pulumi_aiven/get_transit_gateway_vpc_attachment.py +11 -15
  87. pulumi_aiven/grafana.py +82 -267
  88. pulumi_aiven/influx_db.py +28 -28
  89. pulumi_aiven/influxdb_database.py +35 -35
  90. pulumi_aiven/influxdb_user.py +42 -42
  91. pulumi_aiven/kafka.py +50 -54
  92. pulumi_aiven/kafka_acl.py +41 -45
  93. pulumi_aiven/kafka_connect.py +80 -267
  94. pulumi_aiven/kafka_connector.py +33 -37
  95. pulumi_aiven/kafka_mirror_maker.py +80 -267
  96. pulumi_aiven/kafka_schema.py +51 -51
  97. pulumi_aiven/kafka_schema_configuration.py +20 -24
  98. pulumi_aiven/kafka_schema_registry_acl.py +75 -35
  99. pulumi_aiven/kafka_topic.py +91 -53
  100. pulumi_aiven/kafka_user.py +25 -29
  101. pulumi_aiven/m3_aggregator.py +80 -267
  102. pulumi_aiven/m3_db.py +80 -267
  103. pulumi_aiven/m3db_user.py +23 -27
  104. pulumi_aiven/mirror_maker_replication_flow.py +58 -60
  105. pulumi_aiven/my_sql.py +80 -267
  106. pulumi_aiven/mysql_database.py +27 -31
  107. pulumi_aiven/mysql_user.py +25 -29
  108. pulumi_aiven/open_search.py +27 -31
  109. pulumi_aiven/open_search_acl_config.py +28 -36
  110. pulumi_aiven/open_search_acl_rule.py +50 -54
  111. pulumi_aiven/opensearch_security_plugin_config.py +64 -16
  112. pulumi_aiven/opensearch_user.py +25 -29
  113. pulumi_aiven/organization.py +10 -14
  114. pulumi_aiven/organization_group_project.py +336 -0
  115. pulumi_aiven/organization_user.py +16 -34
  116. pulumi_aiven/organization_user_group.py +59 -23
  117. pulumi_aiven/organization_user_group_member.py +350 -0
  118. pulumi_aiven/organizational_unit.py +36 -36
  119. pulumi_aiven/outputs.py +3539 -1136
  120. pulumi_aiven/pg.py +30 -30
  121. pulumi_aiven/pg_database.py +41 -45
  122. pulumi_aiven/pg_user.py +25 -29
  123. pulumi_aiven/project.py +91 -69
  124. pulumi_aiven/project_user.py +24 -28
  125. pulumi_aiven/project_vpc.py +49 -25
  126. pulumi_aiven/redis.py +80 -267
  127. pulumi_aiven/redis_user.py +53 -57
  128. pulumi_aiven/service_integration.py +249 -65
  129. pulumi_aiven/service_integration_endpoint.py +7 -7
  130. pulumi_aiven/static_ip.py +14 -14
  131. pulumi_aiven/transit_gateway_vpc_attachment.py +25 -29
  132. {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/METADATA +1 -1
  133. pulumi_aiven-6.14.0.dist-info/RECORD +150 -0
  134. pulumi_aiven-6.13.0a1711027602.dist-info/RECORD +0 -146
  135. {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
  136. {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/get_redis.py CHANGED
@@ -22,7 +22,7 @@ class GetRedisResult:
22
22
  """
23
23
  A collection of values returned by getRedis.
24
24
  """
25
- def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, redis=None, redis_user_configs=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
25
+ def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, redis_user_configs=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
26
26
  if additional_disk_space and not isinstance(additional_disk_space, str):
27
27
  raise TypeError("Expected argument 'additional_disk_space' to be a str")
28
28
  pulumi.set(__self__, "additional_disk_space", additional_disk_space)
@@ -65,9 +65,6 @@ class GetRedisResult:
65
65
  if project_vpc_id and not isinstance(project_vpc_id, str):
66
66
  raise TypeError("Expected argument 'project_vpc_id' to be a str")
67
67
  pulumi.set(__self__, "project_vpc_id", project_vpc_id)
68
- if redis and not isinstance(redis, list):
69
- raise TypeError("Expected argument 'redis' to be a list")
70
- pulumi.set(__self__, "redis", redis)
71
68
  if redis_user_configs and not isinstance(redis_user_configs, list):
72
69
  raise TypeError("Expected argument 'redis_user_configs' to be a list")
73
70
  pulumi.set(__self__, "redis_user_configs", redis_user_configs)
@@ -211,7 +208,7 @@ class GetRedisResult:
211
208
  @pulumi.getter
212
209
  def project(self) -> str:
213
210
  """
214
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
211
+ 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.
215
212
  """
216
213
  return pulumi.get(self, "project")
217
214
 
@@ -223,14 +220,6 @@ class GetRedisResult:
223
220
  """
224
221
  return pulumi.get(self, "project_vpc_id")
225
222
 
226
- @property
227
- @pulumi.getter
228
- def redis(self) -> Sequence['outputs.GetRedisRediResult']:
229
- """
230
- Redis server provided values
231
- """
232
- return pulumi.get(self, "redis")
233
-
234
223
  @property
235
224
  @pulumi.getter(name="redisUserConfigs")
236
225
  def redis_user_configs(self) -> Sequence['outputs.GetRedisRedisUserConfigResult']:
@@ -331,7 +320,7 @@ class GetRedisResult:
331
320
  @pulumi.getter(name="techEmails")
332
321
  def tech_emails(self) -> Sequence['outputs.GetRedisTechEmailResult']:
333
322
  """
334
- Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
323
+ 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.
335
324
  """
336
325
  return pulumi.get(self, "tech_emails")
337
326
 
@@ -364,7 +353,6 @@ class AwaitableGetRedisResult(GetRedisResult):
364
353
  plan=self.plan,
365
354
  project=self.project,
366
355
  project_vpc_id=self.project_vpc_id,
367
- redis=self.redis,
368
356
  redis_user_configs=self.redis_user_configs,
369
357
  service_host=self.service_host,
370
358
  service_integrations=self.service_integrations,
@@ -389,18 +377,16 @@ def get_redis(project: Optional[str] = None,
389
377
 
390
378
  ## Example Usage
391
379
 
392
- <!--Start PulumiCodeChooser -->
393
380
  ```python
394
381
  import pulumi
395
382
  import pulumi_aiven as aiven
396
383
 
397
- redis1 = aiven.get_redis(project=data["aiven_project"]["pr1"]["project"],
384
+ redis1 = aiven.get_redis(project=pr1["project"],
398
385
  service_name="my-redis1")
399
386
  ```
400
- <!--End PulumiCodeChooser -->
401
387
 
402
388
 
403
- :param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
389
+ :param 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.
404
390
  :param 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.
405
391
  """
406
392
  __args__ = dict()
@@ -424,7 +410,6 @@ def get_redis(project: Optional[str] = None,
424
410
  plan=pulumi.get(__ret__, 'plan'),
425
411
  project=pulumi.get(__ret__, 'project'),
426
412
  project_vpc_id=pulumi.get(__ret__, 'project_vpc_id'),
427
- redis=pulumi.get(__ret__, 'redis'),
428
413
  redis_user_configs=pulumi.get(__ret__, 'redis_user_configs'),
429
414
  service_host=pulumi.get(__ret__, 'service_host'),
430
415
  service_integrations=pulumi.get(__ret__, 'service_integrations'),
@@ -450,18 +435,16 @@ def get_redis_output(project: Optional[pulumi.Input[str]] = None,
450
435
 
451
436
  ## Example Usage
452
437
 
453
- <!--Start PulumiCodeChooser -->
454
438
  ```python
455
439
  import pulumi
456
440
  import pulumi_aiven as aiven
457
441
 
458
- redis1 = aiven.get_redis(project=data["aiven_project"]["pr1"]["project"],
442
+ redis1 = aiven.get_redis(project=pr1["project"],
459
443
  service_name="my-redis1")
460
444
  ```
461
- <!--End PulumiCodeChooser -->
462
445
 
463
446
 
464
- :param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
447
+ :param 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.
465
448
  :param 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.
466
449
  """
467
450
  ...
@@ -73,7 +73,7 @@ class GetRedisUserResult:
73
73
  @pulumi.getter
74
74
  def project(self) -> str:
75
75
  """
76
- Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
76
+ 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.
77
77
  """
78
78
  return pulumi.get(self, "project")
79
79
 
@@ -81,7 +81,7 @@ class GetRedisUserResult:
81
81
  @pulumi.getter(name="redisAclCategories")
82
82
  def redis_acl_categories(self) -> Sequence[str]:
83
83
  """
84
- Defines command category rules. The field is required with`redis_acl_commands` and `redis_acl_keys`. This property cannot be changed, doing so forces recreation of the resource.
84
+ Defines command category rules. The field is required with`redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
85
85
  """
86
86
  return pulumi.get(self, "redis_acl_categories")
87
87
 
@@ -89,7 +89,7 @@ class GetRedisUserResult:
89
89
  @pulumi.getter(name="redisAclChannels")
90
90
  def redis_acl_channels(self) -> Sequence[str]:
91
91
  """
92
- Defines the permitted pub/sub channel patterns. This property cannot be changed, doing so forces recreation of the resource.
92
+ Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
93
93
  """
94
94
  return pulumi.get(self, "redis_acl_channels")
95
95
 
@@ -97,7 +97,7 @@ class GetRedisUserResult:
97
97
  @pulumi.getter(name="redisAclCommands")
98
98
  def redis_acl_commands(self) -> Sequence[str]:
99
99
  """
100
- Defines rules for individual commands. The field is required with`redis_acl_categories` and `redis_acl_keys`. This property cannot be changed, doing so forces recreation of the resource.
100
+ Defines rules for individual commands. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
101
101
  """
102
102
  return pulumi.get(self, "redis_acl_commands")
103
103
 
@@ -105,7 +105,7 @@ class GetRedisUserResult:
105
105
  @pulumi.getter(name="redisAclKeys")
106
106
  def redis_acl_keys(self) -> Sequence[str]:
107
107
  """
108
- Defines key access rules. The field is required with`redis_acl_categories` and `redis_acl_keys`. This property cannot be changed, doing so forces recreation of the resource.
108
+ Defines key access rules. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
109
109
  """
110
110
  return pulumi.get(self, "redis_acl_keys")
111
111
 
@@ -113,7 +113,7 @@ class GetRedisUserResult:
113
113
  @pulumi.getter(name="serviceName")
114
114
  def service_name(self) -> str:
115
115
  """
116
- Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
116
+ 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.
117
117
  """
118
118
  return pulumi.get(self, "service_name")
119
119
 
@@ -129,7 +129,7 @@ class GetRedisUserResult:
129
129
  @pulumi.getter
130
130
  def username(self) -> str:
131
131
  """
132
- The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
132
+ The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
133
133
  """
134
134
  return pulumi.get(self, "username")
135
135
 
@@ -161,21 +161,19 @@ def get_redis_user(project: Optional[str] = None,
161
161
 
162
162
  ## Example Usage
163
163
 
164
- <!--Start PulumiCodeChooser -->
165
164
  ```python
166
165
  import pulumi
167
166
  import pulumi_aiven as aiven
168
167
 
169
- user = aiven.get_redis_user(project="my-project",
170
- service_name="my-service",
168
+ user = aiven.get_redis_user(service_name="my-service",
169
+ project="my-project",
171
170
  username="user1")
172
171
  ```
173
- <!--End PulumiCodeChooser -->
174
172
 
175
173
 
176
- :param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
177
- :param str service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
178
- :param str username: The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
174
+ :param 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.
175
+ :param 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.
176
+ :param str username: The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
179
177
  """
180
178
  __args__ = dict()
181
179
  __args__['project'] = project
@@ -207,20 +205,18 @@ def get_redis_user_output(project: Optional[pulumi.Input[str]] = None,
207
205
 
208
206
  ## Example Usage
209
207
 
210
- <!--Start PulumiCodeChooser -->
211
208
  ```python
212
209
  import pulumi
213
210
  import pulumi_aiven as aiven
214
211
 
215
- user = aiven.get_redis_user(project="my-project",
216
- service_name="my-service",
212
+ user = aiven.get_redis_user(service_name="my-service",
213
+ project="my-project",
217
214
  username="user1")
218
215
  ```
219
- <!--End PulumiCodeChooser -->
220
216
 
221
217
 
222
- :param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
223
- :param str service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
224
- :param str username: The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
218
+ :param 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.
219
+ :param 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.
220
+ :param str username: The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
225
221
  """
226
222
  ...
@@ -167,18 +167,16 @@ def get_service_component(component: Optional[str] = None,
167
167
 
168
168
  ## Example Usage
169
169
 
170
- <!--Start PulumiCodeChooser -->
171
170
  ```python
172
171
  import pulumi
173
172
  import pulumi_aiven as aiven
174
173
 
175
- sc1 = aiven.get_service_component(project=aiven_kafka["project1"]["project"],
176
- service_name=aiven_kafka["service1"]["service_name"],
174
+ sc1 = aiven.get_service_component(project=project1["project"],
175
+ service_name=service1["serviceName"],
177
176
  component="kafka",
178
177
  route="dynamic",
179
178
  kafka_authentication_method="certificate")
180
179
  ```
181
- <!--End PulumiCodeChooser -->
182
180
 
183
181
 
184
182
  :param str component: Service component name
@@ -229,18 +227,16 @@ def get_service_component_output(component: Optional[pulumi.Input[str]] = None,
229
227
 
230
228
  ## Example Usage
231
229
 
232
- <!--Start PulumiCodeChooser -->
233
230
  ```python
234
231
  import pulumi
235
232
  import pulumi_aiven as aiven
236
233
 
237
- sc1 = aiven.get_service_component(project=aiven_kafka["project1"]["project"],
238
- service_name=aiven_kafka["service1"]["service_name"],
234
+ sc1 = aiven.get_service_component(project=project1["project"],
235
+ service_name=service1["serviceName"],
239
236
  component="kafka",
240
237
  route="dynamic",
241
238
  kafka_authentication_method="certificate")
242
239
  ```
243
- <!--End PulumiCodeChooser -->
244
240
 
245
241
 
246
242
  :param str component: Service component name
@@ -22,7 +22,7 @@ class GetServiceIntegrationResult:
22
22
  """
23
23
  A collection of values returned by getServiceIntegration.
24
24
  """
25
- def __init__(__self__, clickhouse_kafka_user_configs=None, clickhouse_postgresql_user_configs=None, datadog_user_configs=None, destination_endpoint_id=None, destination_service_name=None, external_aws_cloudwatch_metrics_user_configs=None, id=None, integration_id=None, integration_type=None, kafka_connect_user_configs=None, kafka_logs_user_configs=None, kafka_mirrormaker_user_configs=None, logs_user_configs=None, metrics_user_configs=None, project=None, source_endpoint_id=None, source_service_name=None):
25
+ def __init__(__self__, clickhouse_kafka_user_configs=None, clickhouse_postgresql_user_configs=None, datadog_user_configs=None, destination_endpoint_id=None, destination_service_name=None, external_aws_cloudwatch_logs_user_configs=None, external_aws_cloudwatch_metrics_user_configs=None, external_elasticsearch_logs_user_configs=None, external_opensearch_logs_user_configs=None, id=None, integration_id=None, integration_type=None, kafka_connect_user_configs=None, kafka_logs_user_configs=None, kafka_mirrormaker_user_configs=None, logs_user_configs=None, metrics_user_configs=None, project=None, prometheus_user_configs=None, source_endpoint_id=None, source_service_name=None):
26
26
  if clickhouse_kafka_user_configs and not isinstance(clickhouse_kafka_user_configs, list):
27
27
  raise TypeError("Expected argument 'clickhouse_kafka_user_configs' to be a list")
28
28
  pulumi.set(__self__, "clickhouse_kafka_user_configs", clickhouse_kafka_user_configs)
@@ -38,9 +38,18 @@ class GetServiceIntegrationResult:
38
38
  if destination_service_name and not isinstance(destination_service_name, str):
39
39
  raise TypeError("Expected argument 'destination_service_name' to be a str")
40
40
  pulumi.set(__self__, "destination_service_name", destination_service_name)
41
+ if external_aws_cloudwatch_logs_user_configs and not isinstance(external_aws_cloudwatch_logs_user_configs, list):
42
+ raise TypeError("Expected argument 'external_aws_cloudwatch_logs_user_configs' to be a list")
43
+ pulumi.set(__self__, "external_aws_cloudwatch_logs_user_configs", external_aws_cloudwatch_logs_user_configs)
41
44
  if external_aws_cloudwatch_metrics_user_configs and not isinstance(external_aws_cloudwatch_metrics_user_configs, list):
42
45
  raise TypeError("Expected argument 'external_aws_cloudwatch_metrics_user_configs' to be a list")
43
46
  pulumi.set(__self__, "external_aws_cloudwatch_metrics_user_configs", external_aws_cloudwatch_metrics_user_configs)
47
+ if external_elasticsearch_logs_user_configs and not isinstance(external_elasticsearch_logs_user_configs, list):
48
+ raise TypeError("Expected argument 'external_elasticsearch_logs_user_configs' to be a list")
49
+ pulumi.set(__self__, "external_elasticsearch_logs_user_configs", external_elasticsearch_logs_user_configs)
50
+ if external_opensearch_logs_user_configs and not isinstance(external_opensearch_logs_user_configs, list):
51
+ raise TypeError("Expected argument 'external_opensearch_logs_user_configs' to be a list")
52
+ pulumi.set(__self__, "external_opensearch_logs_user_configs", external_opensearch_logs_user_configs)
44
53
  if id and not isinstance(id, str):
45
54
  raise TypeError("Expected argument 'id' to be a str")
46
55
  pulumi.set(__self__, "id", id)
@@ -68,6 +77,9 @@ class GetServiceIntegrationResult:
68
77
  if project and not isinstance(project, str):
69
78
  raise TypeError("Expected argument 'project' to be a str")
70
79
  pulumi.set(__self__, "project", project)
80
+ if prometheus_user_configs and not isinstance(prometheus_user_configs, list):
81
+ raise TypeError("Expected argument 'prometheus_user_configs' to be a list")
82
+ pulumi.set(__self__, "prometheus_user_configs", prometheus_user_configs)
71
83
  if source_endpoint_id and not isinstance(source_endpoint_id, str):
72
84
  raise TypeError("Expected argument 'source_endpoint_id' to be a str")
73
85
  pulumi.set(__self__, "source_endpoint_id", source_endpoint_id)
@@ -103,7 +115,7 @@ class GetServiceIntegrationResult:
103
115
  @pulumi.getter(name="destinationEndpointId")
104
116
  def destination_endpoint_id(self) -> str:
105
117
  """
106
- Destination endpoint for the integration (if any)
118
+ Destination endpoint for the integration.
107
119
  """
108
120
  return pulumi.get(self, "destination_endpoint_id")
109
121
 
@@ -111,10 +123,18 @@ class GetServiceIntegrationResult:
111
123
  @pulumi.getter(name="destinationServiceName")
112
124
  def destination_service_name(self) -> str:
113
125
  """
114
- Destination service for the integration (if any)
126
+ Destination service for the integration.
115
127
  """
116
128
  return pulumi.get(self, "destination_service_name")
117
129
 
130
+ @property
131
+ @pulumi.getter(name="externalAwsCloudwatchLogsUserConfigs")
132
+ def external_aws_cloudwatch_logs_user_configs(self) -> Sequence['outputs.GetServiceIntegrationExternalAwsCloudwatchLogsUserConfigResult']:
133
+ """
134
+ ExternalAwsCloudwatchLogs user configurable settings
135
+ """
136
+ return pulumi.get(self, "external_aws_cloudwatch_logs_user_configs")
137
+
118
138
  @property
119
139
  @pulumi.getter(name="externalAwsCloudwatchMetricsUserConfigs")
120
140
  def external_aws_cloudwatch_metrics_user_configs(self) -> Sequence['outputs.GetServiceIntegrationExternalAwsCloudwatchMetricsUserConfigResult']:
@@ -123,6 +143,22 @@ class GetServiceIntegrationResult:
123
143
  """
124
144
  return pulumi.get(self, "external_aws_cloudwatch_metrics_user_configs")
125
145
 
146
+ @property
147
+ @pulumi.getter(name="externalElasticsearchLogsUserConfigs")
148
+ def external_elasticsearch_logs_user_configs(self) -> Sequence['outputs.GetServiceIntegrationExternalElasticsearchLogsUserConfigResult']:
149
+ """
150
+ ExternalElasticsearchLogs user configurable settings
151
+ """
152
+ return pulumi.get(self, "external_elasticsearch_logs_user_configs")
153
+
154
+ @property
155
+ @pulumi.getter(name="externalOpensearchLogsUserConfigs")
156
+ def external_opensearch_logs_user_configs(self) -> Sequence['outputs.GetServiceIntegrationExternalOpensearchLogsUserConfigResult']:
157
+ """
158
+ ExternalOpensearchLogs user configurable settings
159
+ """
160
+ return pulumi.get(self, "external_opensearch_logs_user_configs")
161
+
126
162
  @property
127
163
  @pulumi.getter
128
164
  def id(self) -> str:
@@ -135,7 +171,7 @@ class GetServiceIntegrationResult:
135
171
  @pulumi.getter(name="integrationId")
136
172
  def integration_id(self) -> str:
137
173
  """
138
- Service Integration Id at aiven
174
+ The ID of the Aiven service integration.
139
175
  """
140
176
  return pulumi.get(self, "integration_id")
141
177
 
@@ -143,7 +179,7 @@ class GetServiceIntegrationResult:
143
179
  @pulumi.getter(name="integrationType")
144
180
  def integration_type(self) -> str:
145
181
  """
146
- Type of the service integration. Possible values: `alertmanager`, `cassandra_cross_service_cluster`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`
182
+ Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanoscompactor`, `thanosquery`, `thanosstore`, `vector`, `vmalert`
147
183
  """
148
184
  return pulumi.get(self, "integration_type")
149
185
 
@@ -191,15 +227,23 @@ class GetServiceIntegrationResult:
191
227
  @pulumi.getter
192
228
  def project(self) -> str:
193
229
  """
194
- Project the integration belongs to
230
+ Project the integration belongs to.
195
231
  """
196
232
  return pulumi.get(self, "project")
197
233
 
234
+ @property
235
+ @pulumi.getter(name="prometheusUserConfigs")
236
+ def prometheus_user_configs(self) -> Sequence['outputs.GetServiceIntegrationPrometheusUserConfigResult']:
237
+ """
238
+ Prometheus user configurable settings
239
+ """
240
+ return pulumi.get(self, "prometheus_user_configs")
241
+
198
242
  @property
199
243
  @pulumi.getter(name="sourceEndpointId")
200
244
  def source_endpoint_id(self) -> str:
201
245
  """
202
- Source endpoint for the integration (if any)
246
+ Source endpoint for the integration.
203
247
  """
204
248
  return pulumi.get(self, "source_endpoint_id")
205
249
 
@@ -223,7 +267,10 @@ class AwaitableGetServiceIntegrationResult(GetServiceIntegrationResult):
223
267
  datadog_user_configs=self.datadog_user_configs,
224
268
  destination_endpoint_id=self.destination_endpoint_id,
225
269
  destination_service_name=self.destination_service_name,
270
+ external_aws_cloudwatch_logs_user_configs=self.external_aws_cloudwatch_logs_user_configs,
226
271
  external_aws_cloudwatch_metrics_user_configs=self.external_aws_cloudwatch_metrics_user_configs,
272
+ external_elasticsearch_logs_user_configs=self.external_elasticsearch_logs_user_configs,
273
+ external_opensearch_logs_user_configs=self.external_opensearch_logs_user_configs,
227
274
  id=self.id,
228
275
  integration_id=self.integration_id,
229
276
  integration_type=self.integration_type,
@@ -233,6 +280,7 @@ class AwaitableGetServiceIntegrationResult(GetServiceIntegrationResult):
233
280
  logs_user_configs=self.logs_user_configs,
234
281
  metrics_user_configs=self.metrics_user_configs,
235
282
  project=self.project,
283
+ prometheus_user_configs=self.prometheus_user_configs,
236
284
  source_endpoint_id=self.source_endpoint_id,
237
285
  source_service_name=self.source_service_name)
238
286
 
@@ -243,31 +291,24 @@ def get_service_integration(destination_service_name: Optional[str] = None,
243
291
  source_service_name: Optional[str] = None,
244
292
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceIntegrationResult:
245
293
  """
246
- The Service Integration data source provides information about the existing Aiven Service Integration.
247
-
248
- Service Integration defines an integration between two Aiven services or between Aiven service and an external
249
- integration endpoint. Integration could be for example sending metrics from Kafka service to an M3DB service,
250
- getting metrics from an M3Db service to a Grafana service to show dashboards, sending logs from any service to
251
- OpenSearch, etc.
294
+ Gets information about an Aiven service integration.
252
295
 
253
296
  ## Example Usage
254
297
 
255
- <!--Start PulumiCodeChooser -->
256
298
  ```python
257
299
  import pulumi
258
300
  import pulumi_aiven as aiven
259
301
 
260
- myintegration = aiven.get_service_integration(project=aiven_project["myproject"]["project"],
261
- destination_service_name="<DESTINATION_SERVICE_NAME>",
262
- integration_type="datadog",
263
- source_service_name="<SOURCE_SERVICE_NAME>")
302
+ example_integration = aiven.get_service_integration(project=example_project["project"],
303
+ destination_service_name=example_m3db["serviceName"],
304
+ integration_type="metrics",
305
+ source_service_name=example_kafka["serviceName"])
264
306
  ```
265
- <!--End PulumiCodeChooser -->
266
307
 
267
308
 
268
- :param str destination_service_name: Destination service for the integration (if any)
269
- :param str integration_type: Type of the service integration. Possible values: `alertmanager`, `cassandra_cross_service_cluster`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`
270
- :param str project: Project the integration belongs to
309
+ :param str destination_service_name: Destination service for the integration.
310
+ :param str integration_type: Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanoscompactor`, `thanosquery`, `thanosstore`, `vector`, `vmalert`
311
+ :param str project: Project the integration belongs to.
271
312
  :param str source_service_name: Source service for the integration (if any)
272
313
  """
273
314
  __args__ = dict()
@@ -284,7 +325,10 @@ def get_service_integration(destination_service_name: Optional[str] = None,
284
325
  datadog_user_configs=pulumi.get(__ret__, 'datadog_user_configs'),
285
326
  destination_endpoint_id=pulumi.get(__ret__, 'destination_endpoint_id'),
286
327
  destination_service_name=pulumi.get(__ret__, 'destination_service_name'),
328
+ external_aws_cloudwatch_logs_user_configs=pulumi.get(__ret__, 'external_aws_cloudwatch_logs_user_configs'),
287
329
  external_aws_cloudwatch_metrics_user_configs=pulumi.get(__ret__, 'external_aws_cloudwatch_metrics_user_configs'),
330
+ external_elasticsearch_logs_user_configs=pulumi.get(__ret__, 'external_elasticsearch_logs_user_configs'),
331
+ external_opensearch_logs_user_configs=pulumi.get(__ret__, 'external_opensearch_logs_user_configs'),
288
332
  id=pulumi.get(__ret__, 'id'),
289
333
  integration_id=pulumi.get(__ret__, 'integration_id'),
290
334
  integration_type=pulumi.get(__ret__, 'integration_type'),
@@ -294,6 +338,7 @@ def get_service_integration(destination_service_name: Optional[str] = None,
294
338
  logs_user_configs=pulumi.get(__ret__, 'logs_user_configs'),
295
339
  metrics_user_configs=pulumi.get(__ret__, 'metrics_user_configs'),
296
340
  project=pulumi.get(__ret__, 'project'),
341
+ prometheus_user_configs=pulumi.get(__ret__, 'prometheus_user_configs'),
297
342
  source_endpoint_id=pulumi.get(__ret__, 'source_endpoint_id'),
298
343
  source_service_name=pulumi.get(__ret__, 'source_service_name'))
299
344
 
@@ -305,31 +350,24 @@ def get_service_integration_output(destination_service_name: Optional[pulumi.Inp
305
350
  source_service_name: Optional[pulumi.Input[str]] = None,
306
351
  opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceIntegrationResult]:
307
352
  """
308
- The Service Integration data source provides information about the existing Aiven Service Integration.
309
-
310
- Service Integration defines an integration between two Aiven services or between Aiven service and an external
311
- integration endpoint. Integration could be for example sending metrics from Kafka service to an M3DB service,
312
- getting metrics from an M3Db service to a Grafana service to show dashboards, sending logs from any service to
313
- OpenSearch, etc.
353
+ Gets information about an Aiven service integration.
314
354
 
315
355
  ## Example Usage
316
356
 
317
- <!--Start PulumiCodeChooser -->
318
357
  ```python
319
358
  import pulumi
320
359
  import pulumi_aiven as aiven
321
360
 
322
- myintegration = aiven.get_service_integration(project=aiven_project["myproject"]["project"],
323
- destination_service_name="<DESTINATION_SERVICE_NAME>",
324
- integration_type="datadog",
325
- source_service_name="<SOURCE_SERVICE_NAME>")
361
+ example_integration = aiven.get_service_integration(project=example_project["project"],
362
+ destination_service_name=example_m3db["serviceName"],
363
+ integration_type="metrics",
364
+ source_service_name=example_kafka["serviceName"])
326
365
  ```
327
- <!--End PulumiCodeChooser -->
328
366
 
329
367
 
330
- :param str destination_service_name: Destination service for the integration (if any)
331
- :param str integration_type: Type of the service integration. Possible values: `alertmanager`, `cassandra_cross_service_cluster`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`
332
- :param str project: Project the integration belongs to
368
+ :param str destination_service_name: Destination service for the integration.
369
+ :param str integration_type: Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanoscompactor`, `thanosquery`, `thanosstore`, `vector`, `vmalert`
370
+ :param str project: Project the integration belongs to.
333
371
  :param str source_service_name: Source service for the integration (if any)
334
372
  """
335
373
  ...
@@ -106,7 +106,7 @@ class GetServiceIntegrationEndpointResult:
106
106
  @pulumi.getter(name="endpointType")
107
107
  def endpoint_type(self) -> str:
108
108
  """
109
- Type of the service integration endpoint. Possible values: `datadog`, `prometheus`, `rsyslog`, `external_elasticsearch_logs`, `external_opensearch_logs`, `external_aws_cloudwatch_logs`, `external_google_cloud_logging`, `external_kafka`, `jolokia`, `external_schema_registry`, `external_aws_cloudwatch_metrics`, `external_google_cloud_bigquery`, `external_postgresql`
109
+ Type of the service integration endpoint. Possible values: `autoscaler`, `datadog`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_aws_s3`, `external_clickhouse`, `external_elasticsearch_logs`, `external_google_cloud_bigquery`, `external_google_cloud_logging`, `external_kafka`, `external_mysql`, `external_opensearch_logs`, `external_postgresql`, `external_redis`, `external_schema_registry`, `jolokia`, `prometheus`, `rsyslog`
110
110
  """
111
111
  return pulumi.get(self, "endpoint_type")
112
112
 
@@ -257,15 +257,13 @@ def get_service_integration_endpoint(endpoint_name: Optional[str] = None,
257
257
 
258
258
  ## Example Usage
259
259
 
260
- <!--Start PulumiCodeChooser -->
261
260
  ```python
262
261
  import pulumi
263
262
  import pulumi_aiven as aiven
264
263
 
265
- myendpoint = aiven.get_service_integration_endpoint(project=aiven_project["myproject"]["project"],
264
+ myendpoint = aiven.get_service_integration_endpoint(project=myproject["project"],
266
265
  endpoint_name="<ENDPOINT_NAME>")
267
266
  ```
268
- <!--End PulumiCodeChooser -->
269
267
 
270
268
 
271
269
  :param str endpoint_name: Name of the service integration endpoint
@@ -307,15 +305,13 @@ def get_service_integration_endpoint_output(endpoint_name: Optional[pulumi.Input
307
305
 
308
306
  ## Example Usage
309
307
 
310
- <!--Start PulumiCodeChooser -->
311
308
  ```python
312
309
  import pulumi
313
310
  import pulumi_aiven as aiven
314
311
 
315
- myendpoint = aiven.get_service_integration_endpoint(project=aiven_project["myproject"]["project"],
312
+ myendpoint = aiven.get_service_integration_endpoint(project=myproject["project"],
316
313
  endpoint_name="<ENDPOINT_NAME>")
317
314
  ```
318
- <!--End PulumiCodeChooser -->
319
315
 
320
316
 
321
317
  :param str endpoint_name: Name of the service integration endpoint