pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0a1736831339__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 (168) hide show
  1. pulumi_aiven/__init__.py +127 -0
  2. pulumi_aiven/_inputs.py +32615 -13711
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +32 -45
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +35 -14
  7. pulumi_aiven/account_team_member.py +48 -39
  8. pulumi_aiven/account_team_project.py +40 -27
  9. pulumi_aiven/alloydbomni.py +1335 -0
  10. pulumi_aiven/alloydbomni_database.py +347 -0
  11. pulumi_aiven/alloydbomni_user.py +433 -0
  12. pulumi_aiven/aws_privatelink.py +44 -43
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -61
  14. pulumi_aiven/azure_privatelink.py +54 -53
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -77
  17. pulumi_aiven/billing_group.py +33 -34
  18. pulumi_aiven/cassandra.py +145 -126
  19. pulumi_aiven/cassandra_user.py +59 -58
  20. pulumi_aiven/clickhouse.py +133 -114
  21. pulumi_aiven/clickhouse_database.py +58 -62
  22. pulumi_aiven/clickhouse_grant.py +135 -134
  23. pulumi_aiven/clickhouse_role.py +36 -49
  24. pulumi_aiven/clickhouse_user.py +50 -49
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -66
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -104
  30. pulumi_aiven/flink_application.py +58 -55
  31. pulumi_aiven/flink_application_deployment.py +178 -73
  32. pulumi_aiven/flink_application_version.py +179 -96
  33. pulumi_aiven/gcp_privatelink.py +69 -42
  34. pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
  35. pulumi_aiven/gcp_vpc_peering_connection.py +49 -48
  36. pulumi_aiven/get_account.py +20 -9
  37. pulumi_aiven/get_account_authentication.py +31 -5
  38. pulumi_aiven/get_account_team.py +18 -5
  39. pulumi_aiven/get_account_team_member.py +29 -14
  40. pulumi_aiven/get_account_team_project.py +19 -6
  41. pulumi_aiven/get_alloydbomni.py +499 -0
  42. pulumi_aiven/get_alloydbomni_database.py +168 -0
  43. pulumi_aiven/get_alloydbomni_user.py +210 -0
  44. pulumi_aiven/get_aws_privatelink.py +33 -24
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
  46. pulumi_aiven/get_azure_privatelink.py +37 -26
  47. pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
  48. pulumi_aiven/get_billing_group.py +31 -8
  49. pulumi_aiven/get_cassanda.py +55 -23
  50. pulumi_aiven/get_cassandra.py +55 -23
  51. pulumi_aiven/get_cassandra_user.py +42 -30
  52. pulumi_aiven/get_clickhouse.py +55 -23
  53. pulumi_aiven/get_clickhouse_database.py +35 -26
  54. pulumi_aiven/get_clickhouse_user.py +40 -29
  55. pulumi_aiven/get_connection_pool.py +43 -30
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -23
  59. pulumi_aiven/get_flink_application.py +44 -31
  60. pulumi_aiven/get_flink_application_version.py +55 -37
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
  63. pulumi_aiven/get_grafana.py +55 -23
  64. pulumi_aiven/get_influx_db.py +41 -5
  65. pulumi_aiven/get_influxdb_database.py +18 -5
  66. pulumi_aiven/get_influxdb_user.py +21 -5
  67. pulumi_aiven/get_kafka.py +59 -25
  68. pulumi_aiven/get_kafka_acl.py +50 -37
  69. pulumi_aiven/get_kafka_connect.py +54 -36
  70. pulumi_aiven/get_kafka_connector.py +44 -28
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -32
  72. pulumi_aiven/get_kafka_schema.py +35 -23
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -21
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -29
  76. pulumi_aiven/get_kafka_user.py +42 -30
  77. pulumi_aiven/get_m3_aggregator.py +51 -19
  78. pulumi_aiven/get_m3_db.py +55 -23
  79. pulumi_aiven/get_m3db_user.py +38 -28
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
  81. pulumi_aiven/get_my_sql.py +50 -18
  82. pulumi_aiven/get_mysql_database.py +31 -22
  83. pulumi_aiven/get_mysql_user.py +36 -23
  84. pulumi_aiven/get_open_search.py +50 -18
  85. pulumi_aiven/get_open_search_acl_config.py +27 -19
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -25
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
  88. pulumi_aiven/get_opensearch_user.py +32 -22
  89. pulumi_aiven/get_organization.py +25 -17
  90. pulumi_aiven/get_organization_application_user.py +176 -0
  91. pulumi_aiven/get_organization_user.py +18 -5
  92. pulumi_aiven/get_organization_user_group.py +48 -14
  93. pulumi_aiven/get_organization_user_list.py +121 -0
  94. pulumi_aiven/get_organizational_unit.py +26 -14
  95. pulumi_aiven/get_pg.py +55 -23
  96. pulumi_aiven/get_pg_database.py +39 -28
  97. pulumi_aiven/get_pg_user.py +44 -31
  98. pulumi_aiven/get_project.py +43 -26
  99. pulumi_aiven/get_project_user.py +27 -19
  100. pulumi_aiven/get_project_vpc.py +31 -23
  101. pulumi_aiven/get_redis.py +50 -18
  102. pulumi_aiven/get_redis_user.py +40 -26
  103. pulumi_aiven/get_service_component.py +40 -22
  104. pulumi_aiven/get_service_integration.py +163 -53
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -37
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -322
  111. pulumi_aiven/influx_db.py +127 -90
  112. pulumi_aiven/influxdb_database.py +40 -55
  113. pulumi_aiven/influxdb_user.py +47 -42
  114. pulumi_aiven/kafka.py +157 -144
  115. pulumi_aiven/kafka_acl.py +64 -57
  116. pulumi_aiven/kafka_connect.py +201 -332
  117. pulumi_aiven/kafka_connector.py +67 -60
  118. pulumi_aiven/kafka_mirror_maker.py +137 -320
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_schema.py +63 -58
  121. pulumi_aiven/kafka_schema_configuration.py +25 -24
  122. pulumi_aiven/kafka_schema_registry_acl.py +80 -35
  123. pulumi_aiven/kafka_topic.py +184 -65
  124. pulumi_aiven/kafka_user.py +59 -58
  125. pulumi_aiven/m3_aggregator.py +174 -310
  126. pulumi_aiven/m3_db.py +190 -326
  127. pulumi_aiven/m3db_user.py +51 -50
  128. pulumi_aiven/mirror_maker_replication_flow.py +215 -55
  129. pulumi_aiven/my_sql.py +188 -324
  130. pulumi_aiven/mysql_database.py +32 -51
  131. pulumi_aiven/mysql_user.py +37 -36
  132. pulumi_aiven/open_search.py +126 -107
  133. pulumi_aiven/open_search_acl_config.py +33 -36
  134. pulumi_aiven/open_search_acl_rule.py +55 -54
  135. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  136. pulumi_aiven/opensearch_user.py +30 -29
  137. pulumi_aiven/organization.py +18 -17
  138. pulumi_aiven/organization_application_user.py +345 -0
  139. pulumi_aiven/organization_application_user_token.py +711 -0
  140. pulumi_aiven/organization_group_project.py +349 -0
  141. pulumi_aiven/organization_permission.py +421 -0
  142. pulumi_aiven/organization_user.py +25 -46
  143. pulumi_aiven/organization_user_group.py +64 -23
  144. pulumi_aiven/organization_user_group_member.py +359 -0
  145. pulumi_aiven/organizational_unit.py +41 -36
  146. pulumi_aiven/outputs.py +38355 -21458
  147. pulumi_aiven/pg.py +92 -88
  148. pulumi_aiven/pg_database.py +52 -71
  149. pulumi_aiven/pg_user.py +80 -65
  150. pulumi_aiven/project.py +111 -102
  151. pulumi_aiven/project_user.py +44 -35
  152. pulumi_aiven/project_vpc.py +58 -29
  153. pulumi_aiven/provider.py +5 -0
  154. pulumi_aiven/pulumi-plugin.json +2 -1
  155. pulumi_aiven/redis.py +161 -297
  156. pulumi_aiven/redis_user.py +58 -57
  157. pulumi_aiven/service_integration.py +511 -165
  158. pulumi_aiven/service_integration_endpoint.py +466 -158
  159. pulumi_aiven/static_ip.py +21 -16
  160. pulumi_aiven/thanos.py +1262 -0
  161. pulumi_aiven/transit_gateway_vpc_attachment.py +44 -58
  162. pulumi_aiven/valkey.py +1256 -0
  163. pulumi_aiven/valkey_user.py +606 -0
  164. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
  165. pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
  166. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
  167. pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
  168. {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,499 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetDragonflyResult',
20
+ 'AwaitableGetDragonflyResult',
21
+ 'get_dragonfly',
22
+ 'get_dragonfly_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetDragonflyResult:
27
+ """
28
+ A collection of values returned by getDragonfly.
29
+ """
30
+ 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, dragonflies=None, dragonfly_user_configs=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=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):
31
+ if additional_disk_space and not isinstance(additional_disk_space, str):
32
+ raise TypeError("Expected argument 'additional_disk_space' to be a str")
33
+ pulumi.set(__self__, "additional_disk_space", additional_disk_space)
34
+ if cloud_name and not isinstance(cloud_name, str):
35
+ raise TypeError("Expected argument 'cloud_name' to be a str")
36
+ pulumi.set(__self__, "cloud_name", cloud_name)
37
+ if components and not isinstance(components, list):
38
+ raise TypeError("Expected argument 'components' to be a list")
39
+ pulumi.set(__self__, "components", components)
40
+ if disk_space and not isinstance(disk_space, str):
41
+ raise TypeError("Expected argument 'disk_space' to be a str")
42
+ pulumi.set(__self__, "disk_space", disk_space)
43
+ if disk_space_cap and not isinstance(disk_space_cap, str):
44
+ raise TypeError("Expected argument 'disk_space_cap' to be a str")
45
+ pulumi.set(__self__, "disk_space_cap", disk_space_cap)
46
+ if disk_space_default and not isinstance(disk_space_default, str):
47
+ raise TypeError("Expected argument 'disk_space_default' to be a str")
48
+ pulumi.set(__self__, "disk_space_default", disk_space_default)
49
+ if disk_space_step and not isinstance(disk_space_step, str):
50
+ raise TypeError("Expected argument 'disk_space_step' to be a str")
51
+ pulumi.set(__self__, "disk_space_step", disk_space_step)
52
+ if disk_space_used and not isinstance(disk_space_used, str):
53
+ raise TypeError("Expected argument 'disk_space_used' to be a str")
54
+ pulumi.set(__self__, "disk_space_used", disk_space_used)
55
+ if dragonflies and not isinstance(dragonflies, list):
56
+ raise TypeError("Expected argument 'dragonflies' to be a list")
57
+ pulumi.set(__self__, "dragonflies", dragonflies)
58
+ if dragonfly_user_configs and not isinstance(dragonfly_user_configs, list):
59
+ raise TypeError("Expected argument 'dragonfly_user_configs' to be a list")
60
+ pulumi.set(__self__, "dragonfly_user_configs", dragonfly_user_configs)
61
+ if id and not isinstance(id, str):
62
+ raise TypeError("Expected argument 'id' to be a str")
63
+ pulumi.set(__self__, "id", id)
64
+ if maintenance_window_dow and not isinstance(maintenance_window_dow, str):
65
+ raise TypeError("Expected argument 'maintenance_window_dow' to be a str")
66
+ pulumi.set(__self__, "maintenance_window_dow", maintenance_window_dow)
67
+ if maintenance_window_time and not isinstance(maintenance_window_time, str):
68
+ raise TypeError("Expected argument 'maintenance_window_time' to be a str")
69
+ pulumi.set(__self__, "maintenance_window_time", maintenance_window_time)
70
+ if plan and not isinstance(plan, str):
71
+ raise TypeError("Expected argument 'plan' to be a str")
72
+ pulumi.set(__self__, "plan", plan)
73
+ if project and not isinstance(project, str):
74
+ raise TypeError("Expected argument 'project' to be a str")
75
+ pulumi.set(__self__, "project", project)
76
+ if project_vpc_id and not isinstance(project_vpc_id, str):
77
+ raise TypeError("Expected argument 'project_vpc_id' to be a str")
78
+ pulumi.set(__self__, "project_vpc_id", project_vpc_id)
79
+ if service_host and not isinstance(service_host, str):
80
+ raise TypeError("Expected argument 'service_host' to be a str")
81
+ pulumi.set(__self__, "service_host", service_host)
82
+ if service_integrations and not isinstance(service_integrations, list):
83
+ raise TypeError("Expected argument 'service_integrations' to be a list")
84
+ pulumi.set(__self__, "service_integrations", service_integrations)
85
+ if service_name and not isinstance(service_name, str):
86
+ raise TypeError("Expected argument 'service_name' to be a str")
87
+ pulumi.set(__self__, "service_name", service_name)
88
+ if service_password and not isinstance(service_password, str):
89
+ raise TypeError("Expected argument 'service_password' to be a str")
90
+ pulumi.set(__self__, "service_password", service_password)
91
+ if service_port and not isinstance(service_port, int):
92
+ raise TypeError("Expected argument 'service_port' to be a int")
93
+ pulumi.set(__self__, "service_port", service_port)
94
+ if service_type and not isinstance(service_type, str):
95
+ raise TypeError("Expected argument 'service_type' to be a str")
96
+ pulumi.set(__self__, "service_type", service_type)
97
+ if service_uri and not isinstance(service_uri, str):
98
+ raise TypeError("Expected argument 'service_uri' to be a str")
99
+ pulumi.set(__self__, "service_uri", service_uri)
100
+ if service_username and not isinstance(service_username, str):
101
+ raise TypeError("Expected argument 'service_username' to be a str")
102
+ pulumi.set(__self__, "service_username", service_username)
103
+ if state and not isinstance(state, str):
104
+ raise TypeError("Expected argument 'state' to be a str")
105
+ pulumi.set(__self__, "state", state)
106
+ if static_ips and not isinstance(static_ips, list):
107
+ raise TypeError("Expected argument 'static_ips' to be a list")
108
+ pulumi.set(__self__, "static_ips", static_ips)
109
+ if tags and not isinstance(tags, list):
110
+ raise TypeError("Expected argument 'tags' to be a list")
111
+ pulumi.set(__self__, "tags", tags)
112
+ if tech_emails and not isinstance(tech_emails, list):
113
+ raise TypeError("Expected argument 'tech_emails' to be a list")
114
+ pulumi.set(__self__, "tech_emails", tech_emails)
115
+ if termination_protection and not isinstance(termination_protection, bool):
116
+ raise TypeError("Expected argument 'termination_protection' to be a bool")
117
+ pulumi.set(__self__, "termination_protection", termination_protection)
118
+
119
+ @property
120
+ @pulumi.getter(name="additionalDiskSpace")
121
+ def additional_disk_space(self) -> str:
122
+ """
123
+ Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
124
+ """
125
+ return pulumi.get(self, "additional_disk_space")
126
+
127
+ @property
128
+ @pulumi.getter(name="cloudName")
129
+ def cloud_name(self) -> str:
130
+ """
131
+ 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).
132
+ """
133
+ return pulumi.get(self, "cloud_name")
134
+
135
+ @property
136
+ @pulumi.getter
137
+ def components(self) -> Sequence['outputs.GetDragonflyComponentResult']:
138
+ """
139
+ Service component information objects
140
+ """
141
+ return pulumi.get(self, "components")
142
+
143
+ @property
144
+ @pulumi.getter(name="diskSpace")
145
+ def disk_space(self) -> str:
146
+ """
147
+ Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
148
+ """
149
+ return pulumi.get(self, "disk_space")
150
+
151
+ @property
152
+ @pulumi.getter(name="diskSpaceCap")
153
+ def disk_space_cap(self) -> str:
154
+ """
155
+ The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
156
+ """
157
+ return pulumi.get(self, "disk_space_cap")
158
+
159
+ @property
160
+ @pulumi.getter(name="diskSpaceDefault")
161
+ def disk_space_default(self) -> str:
162
+ """
163
+ 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`
164
+ """
165
+ return pulumi.get(self, "disk_space_default")
166
+
167
+ @property
168
+ @pulumi.getter(name="diskSpaceStep")
169
+ def disk_space_step(self) -> str:
170
+ """
171
+ 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.
172
+ """
173
+ return pulumi.get(self, "disk_space_step")
174
+
175
+ @property
176
+ @pulumi.getter(name="diskSpaceUsed")
177
+ def disk_space_used(self) -> str:
178
+ """
179
+ Disk space that service is currently using
180
+ """
181
+ return pulumi.get(self, "disk_space_used")
182
+
183
+ @property
184
+ @pulumi.getter
185
+ def dragonflies(self) -> Sequence['outputs.GetDragonflyDragonflyResult']:
186
+ """
187
+ Dragonfly server provided values
188
+ """
189
+ return pulumi.get(self, "dragonflies")
190
+
191
+ @property
192
+ @pulumi.getter(name="dragonflyUserConfigs")
193
+ def dragonfly_user_configs(self) -> Sequence['outputs.GetDragonflyDragonflyUserConfigResult']:
194
+ """
195
+ Dragonfly user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
196
+ """
197
+ return pulumi.get(self, "dragonfly_user_configs")
198
+
199
+ @property
200
+ @pulumi.getter
201
+ def id(self) -> str:
202
+ """
203
+ The provider-assigned unique ID for this managed resource.
204
+ """
205
+ return pulumi.get(self, "id")
206
+
207
+ @property
208
+ @pulumi.getter(name="maintenanceWindowDow")
209
+ def maintenance_window_dow(self) -> str:
210
+ """
211
+ Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
212
+ """
213
+ return pulumi.get(self, "maintenance_window_dow")
214
+
215
+ @property
216
+ @pulumi.getter(name="maintenanceWindowTime")
217
+ def maintenance_window_time(self) -> str:
218
+ """
219
+ Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
220
+ """
221
+ return pulumi.get(self, "maintenance_window_time")
222
+
223
+ @property
224
+ @pulumi.getter
225
+ def plan(self) -> str:
226
+ """
227
+ 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 seen from the [Aiven pricing page](https://aiven.io/pricing).
228
+ """
229
+ return pulumi.get(self, "plan")
230
+
231
+ @property
232
+ @pulumi.getter
233
+ def project(self) -> str:
234
+ """
235
+ 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.
236
+ """
237
+ return pulumi.get(self, "project")
238
+
239
+ @property
240
+ @pulumi.getter(name="projectVpcId")
241
+ def project_vpc_id(self) -> str:
242
+ """
243
+ 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.
244
+ """
245
+ return pulumi.get(self, "project_vpc_id")
246
+
247
+ @property
248
+ @pulumi.getter(name="serviceHost")
249
+ def service_host(self) -> str:
250
+ """
251
+ The hostname of the service.
252
+ """
253
+ return pulumi.get(self, "service_host")
254
+
255
+ @property
256
+ @pulumi.getter(name="serviceIntegrations")
257
+ def service_integrations(self) -> Sequence['outputs.GetDragonflyServiceIntegrationResult']:
258
+ """
259
+ Service integrations to specify when creating a service. Not applied after initial service creation
260
+ """
261
+ return pulumi.get(self, "service_integrations")
262
+
263
+ @property
264
+ @pulumi.getter(name="serviceName")
265
+ def service_name(self) -> str:
266
+ """
267
+ 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.
268
+ """
269
+ return pulumi.get(self, "service_name")
270
+
271
+ @property
272
+ @pulumi.getter(name="servicePassword")
273
+ def service_password(self) -> str:
274
+ """
275
+ Password used for connecting to the service, if applicable
276
+ """
277
+ return pulumi.get(self, "service_password")
278
+
279
+ @property
280
+ @pulumi.getter(name="servicePort")
281
+ def service_port(self) -> int:
282
+ """
283
+ The port of the service
284
+ """
285
+ return pulumi.get(self, "service_port")
286
+
287
+ @property
288
+ @pulumi.getter(name="serviceType")
289
+ def service_type(self) -> str:
290
+ """
291
+ Aiven internal service type code
292
+ """
293
+ return pulumi.get(self, "service_type")
294
+
295
+ @property
296
+ @pulumi.getter(name="serviceUri")
297
+ def service_uri(self) -> str:
298
+ """
299
+ URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
300
+ """
301
+ return pulumi.get(self, "service_uri")
302
+
303
+ @property
304
+ @pulumi.getter(name="serviceUsername")
305
+ def service_username(self) -> str:
306
+ """
307
+ Username used for connecting to the service, if applicable
308
+ """
309
+ return pulumi.get(self, "service_username")
310
+
311
+ @property
312
+ @pulumi.getter
313
+ def state(self) -> str:
314
+ """
315
+ Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
316
+ """
317
+ return pulumi.get(self, "state")
318
+
319
+ @property
320
+ @pulumi.getter(name="staticIps")
321
+ def static_ips(self) -> Sequence[str]:
322
+ """
323
+ 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
324
+ """
325
+ return pulumi.get(self, "static_ips")
326
+
327
+ @property
328
+ @pulumi.getter
329
+ def tags(self) -> Sequence['outputs.GetDragonflyTagResult']:
330
+ """
331
+ Tags are key-value pairs that allow you to categorize services.
332
+ """
333
+ return pulumi.get(self, "tags")
334
+
335
+ @property
336
+ @pulumi.getter(name="techEmails")
337
+ def tech_emails(self) -> Sequence['outputs.GetDragonflyTechEmailResult']:
338
+ """
339
+ 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.
340
+ """
341
+ return pulumi.get(self, "tech_emails")
342
+
343
+ @property
344
+ @pulumi.getter(name="terminationProtection")
345
+ def termination_protection(self) -> bool:
346
+ """
347
+ 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.
348
+ """
349
+ return pulumi.get(self, "termination_protection")
350
+
351
+
352
+ class AwaitableGetDragonflyResult(GetDragonflyResult):
353
+ # pylint: disable=using-constant-test
354
+ def __await__(self):
355
+ if False:
356
+ yield self
357
+ return GetDragonflyResult(
358
+ additional_disk_space=self.additional_disk_space,
359
+ cloud_name=self.cloud_name,
360
+ components=self.components,
361
+ disk_space=self.disk_space,
362
+ disk_space_cap=self.disk_space_cap,
363
+ disk_space_default=self.disk_space_default,
364
+ disk_space_step=self.disk_space_step,
365
+ disk_space_used=self.disk_space_used,
366
+ dragonflies=self.dragonflies,
367
+ dragonfly_user_configs=self.dragonfly_user_configs,
368
+ id=self.id,
369
+ maintenance_window_dow=self.maintenance_window_dow,
370
+ maintenance_window_time=self.maintenance_window_time,
371
+ plan=self.plan,
372
+ project=self.project,
373
+ project_vpc_id=self.project_vpc_id,
374
+ service_host=self.service_host,
375
+ service_integrations=self.service_integrations,
376
+ service_name=self.service_name,
377
+ service_password=self.service_password,
378
+ service_port=self.service_port,
379
+ service_type=self.service_type,
380
+ service_uri=self.service_uri,
381
+ service_username=self.service_username,
382
+ state=self.state,
383
+ static_ips=self.static_ips,
384
+ tags=self.tags,
385
+ tech_emails=self.tech_emails,
386
+ termination_protection=self.termination_protection)
387
+
388
+
389
+ def get_dragonfly(project: Optional[str] = None,
390
+ service_name: Optional[str] = None,
391
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDragonflyResult:
392
+ """
393
+ Gets information about an Aiven for Dragonfly® service.
394
+
395
+ ## Example Usage
396
+
397
+ ```python
398
+ import pulumi
399
+ import pulumi_aiven as aiven
400
+
401
+ example_dragonfly = aiven.get_dragonfly(project=example_project["project"],
402
+ service_name="example-dragonfly-service")
403
+ ```
404
+
405
+
406
+ :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.
407
+ :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.
408
+ """
409
+ __args__ = dict()
410
+ __args__['project'] = project
411
+ __args__['serviceName'] = service_name
412
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
413
+ __ret__ = pulumi.runtime.invoke('aiven:index/getDragonfly:getDragonfly', __args__, opts=opts, typ=GetDragonflyResult).value
414
+
415
+ return AwaitableGetDragonflyResult(
416
+ additional_disk_space=pulumi.get(__ret__, 'additional_disk_space'),
417
+ cloud_name=pulumi.get(__ret__, 'cloud_name'),
418
+ components=pulumi.get(__ret__, 'components'),
419
+ disk_space=pulumi.get(__ret__, 'disk_space'),
420
+ disk_space_cap=pulumi.get(__ret__, 'disk_space_cap'),
421
+ disk_space_default=pulumi.get(__ret__, 'disk_space_default'),
422
+ disk_space_step=pulumi.get(__ret__, 'disk_space_step'),
423
+ disk_space_used=pulumi.get(__ret__, 'disk_space_used'),
424
+ dragonflies=pulumi.get(__ret__, 'dragonflies'),
425
+ dragonfly_user_configs=pulumi.get(__ret__, 'dragonfly_user_configs'),
426
+ id=pulumi.get(__ret__, 'id'),
427
+ maintenance_window_dow=pulumi.get(__ret__, 'maintenance_window_dow'),
428
+ maintenance_window_time=pulumi.get(__ret__, 'maintenance_window_time'),
429
+ plan=pulumi.get(__ret__, 'plan'),
430
+ project=pulumi.get(__ret__, 'project'),
431
+ project_vpc_id=pulumi.get(__ret__, 'project_vpc_id'),
432
+ service_host=pulumi.get(__ret__, 'service_host'),
433
+ service_integrations=pulumi.get(__ret__, 'service_integrations'),
434
+ service_name=pulumi.get(__ret__, 'service_name'),
435
+ service_password=pulumi.get(__ret__, 'service_password'),
436
+ service_port=pulumi.get(__ret__, 'service_port'),
437
+ service_type=pulumi.get(__ret__, 'service_type'),
438
+ service_uri=pulumi.get(__ret__, 'service_uri'),
439
+ service_username=pulumi.get(__ret__, 'service_username'),
440
+ state=pulumi.get(__ret__, 'state'),
441
+ static_ips=pulumi.get(__ret__, 'static_ips'),
442
+ tags=pulumi.get(__ret__, 'tags'),
443
+ tech_emails=pulumi.get(__ret__, 'tech_emails'),
444
+ termination_protection=pulumi.get(__ret__, 'termination_protection'))
445
+ def get_dragonfly_output(project: Optional[pulumi.Input[str]] = None,
446
+ service_name: Optional[pulumi.Input[str]] = None,
447
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDragonflyResult]:
448
+ """
449
+ Gets information about an Aiven for Dragonfly® service.
450
+
451
+ ## Example Usage
452
+
453
+ ```python
454
+ import pulumi
455
+ import pulumi_aiven as aiven
456
+
457
+ example_dragonfly = aiven.get_dragonfly(project=example_project["project"],
458
+ service_name="example-dragonfly-service")
459
+ ```
460
+
461
+
462
+ :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.
463
+ :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.
464
+ """
465
+ __args__ = dict()
466
+ __args__['project'] = project
467
+ __args__['serviceName'] = service_name
468
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
469
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getDragonfly:getDragonfly', __args__, opts=opts, typ=GetDragonflyResult)
470
+ return __ret__.apply(lambda __response__: GetDragonflyResult(
471
+ additional_disk_space=pulumi.get(__response__, 'additional_disk_space'),
472
+ cloud_name=pulumi.get(__response__, 'cloud_name'),
473
+ components=pulumi.get(__response__, 'components'),
474
+ disk_space=pulumi.get(__response__, 'disk_space'),
475
+ disk_space_cap=pulumi.get(__response__, 'disk_space_cap'),
476
+ disk_space_default=pulumi.get(__response__, 'disk_space_default'),
477
+ disk_space_step=pulumi.get(__response__, 'disk_space_step'),
478
+ disk_space_used=pulumi.get(__response__, 'disk_space_used'),
479
+ dragonflies=pulumi.get(__response__, 'dragonflies'),
480
+ dragonfly_user_configs=pulumi.get(__response__, 'dragonfly_user_configs'),
481
+ id=pulumi.get(__response__, 'id'),
482
+ maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
483
+ maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
484
+ plan=pulumi.get(__response__, 'plan'),
485
+ project=pulumi.get(__response__, 'project'),
486
+ project_vpc_id=pulumi.get(__response__, 'project_vpc_id'),
487
+ service_host=pulumi.get(__response__, 'service_host'),
488
+ service_integrations=pulumi.get(__response__, 'service_integrations'),
489
+ service_name=pulumi.get(__response__, 'service_name'),
490
+ service_password=pulumi.get(__response__, 'service_password'),
491
+ service_port=pulumi.get(__response__, 'service_port'),
492
+ service_type=pulumi.get(__response__, 'service_type'),
493
+ service_uri=pulumi.get(__response__, 'service_uri'),
494
+ service_username=pulumi.get(__response__, 'service_username'),
495
+ state=pulumi.get(__response__, 'state'),
496
+ static_ips=pulumi.get(__response__, 'static_ips'),
497
+ tags=pulumi.get(__response__, 'tags'),
498
+ tech_emails=pulumi.get(__response__, 'tech_emails'),
499
+ termination_protection=pulumi.get(__response__, 'termination_protection')))
@@ -0,0 +1,160 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import copy
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+
17
+ __all__ = [
18
+ 'GetExternalIdentityResult',
19
+ 'AwaitableGetExternalIdentityResult',
20
+ 'get_external_identity',
21
+ 'get_external_identity_output',
22
+ ]
23
+
24
+ @pulumi.output_type
25
+ class GetExternalIdentityResult:
26
+ """
27
+ A collection of values returned by getExternalIdentity.
28
+ """
29
+ def __init__(__self__, external_service_name=None, external_user_id=None, id=None, internal_user_id=None, organization_id=None):
30
+ if external_service_name and not isinstance(external_service_name, str):
31
+ raise TypeError("Expected argument 'external_service_name' to be a str")
32
+ pulumi.set(__self__, "external_service_name", external_service_name)
33
+ if external_user_id and not isinstance(external_user_id, str):
34
+ raise TypeError("Expected argument 'external_user_id' to be a str")
35
+ pulumi.set(__self__, "external_user_id", external_user_id)
36
+ if id and not isinstance(id, str):
37
+ raise TypeError("Expected argument 'id' to be a str")
38
+ pulumi.set(__self__, "id", id)
39
+ if internal_user_id and not isinstance(internal_user_id, str):
40
+ raise TypeError("Expected argument 'internal_user_id' to be a str")
41
+ pulumi.set(__self__, "internal_user_id", internal_user_id)
42
+ if organization_id and not isinstance(organization_id, str):
43
+ raise TypeError("Expected argument 'organization_id' to be a str")
44
+ pulumi.set(__self__, "organization_id", organization_id)
45
+
46
+ @property
47
+ @pulumi.getter(name="externalServiceName")
48
+ def external_service_name(self) -> str:
49
+ """
50
+ The name of the external service. The possible value is `github`.
51
+ """
52
+ return pulumi.get(self, "external_service_name")
53
+
54
+ @property
55
+ @pulumi.getter(name="externalUserId")
56
+ def external_user_id(self) -> str:
57
+ """
58
+ The user's ID on the external service.
59
+ """
60
+ return pulumi.get(self, "external_user_id")
61
+
62
+ @property
63
+ @pulumi.getter
64
+ def id(self) -> str:
65
+ """
66
+ The provider-assigned unique ID for this managed resource.
67
+ """
68
+ return pulumi.get(self, "id")
69
+
70
+ @property
71
+ @pulumi.getter(name="internalUserId")
72
+ def internal_user_id(self) -> str:
73
+ """
74
+ The Aiven user ID.
75
+ """
76
+ return pulumi.get(self, "internal_user_id")
77
+
78
+ @property
79
+ @pulumi.getter(name="organizationId")
80
+ def organization_id(self) -> str:
81
+ """
82
+ The ID of the Aiven organization that the user is part of.
83
+ """
84
+ return pulumi.get(self, "organization_id")
85
+
86
+
87
+ class AwaitableGetExternalIdentityResult(GetExternalIdentityResult):
88
+ # pylint: disable=using-constant-test
89
+ def __await__(self):
90
+ if False:
91
+ yield self
92
+ return GetExternalIdentityResult(
93
+ external_service_name=self.external_service_name,
94
+ external_user_id=self.external_user_id,
95
+ id=self.id,
96
+ internal_user_id=self.internal_user_id,
97
+ organization_id=self.organization_id)
98
+
99
+
100
+ def get_external_identity(external_service_name: Optional[str] = None,
101
+ external_user_id: Optional[str] = None,
102
+ internal_user_id: Optional[str] = None,
103
+ organization_id: Optional[str] = None,
104
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExternalIdentityResult:
105
+ """
106
+ Maps an external service user to an Aiven user.
107
+
108
+ **This resource is in the beta stage and may change without notice.** Set
109
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
110
+
111
+
112
+ :param str external_service_name: The name of the external service. The possible value is `github`.
113
+ :param str external_user_id: The user's ID on the external service.
114
+ :param str internal_user_id: The Aiven user ID.
115
+ :param str organization_id: The ID of the Aiven organization that the user is part of.
116
+ """
117
+ __args__ = dict()
118
+ __args__['externalServiceName'] = external_service_name
119
+ __args__['externalUserId'] = external_user_id
120
+ __args__['internalUserId'] = internal_user_id
121
+ __args__['organizationId'] = organization_id
122
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
123
+ __ret__ = pulumi.runtime.invoke('aiven:index/getExternalIdentity:getExternalIdentity', __args__, opts=opts, typ=GetExternalIdentityResult).value
124
+
125
+ return AwaitableGetExternalIdentityResult(
126
+ external_service_name=pulumi.get(__ret__, 'external_service_name'),
127
+ external_user_id=pulumi.get(__ret__, 'external_user_id'),
128
+ id=pulumi.get(__ret__, 'id'),
129
+ internal_user_id=pulumi.get(__ret__, 'internal_user_id'),
130
+ organization_id=pulumi.get(__ret__, 'organization_id'))
131
+ def get_external_identity_output(external_service_name: Optional[pulumi.Input[str]] = None,
132
+ external_user_id: Optional[pulumi.Input[str]] = None,
133
+ internal_user_id: Optional[pulumi.Input[str]] = None,
134
+ organization_id: Optional[pulumi.Input[str]] = None,
135
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExternalIdentityResult]:
136
+ """
137
+ Maps an external service user to an Aiven user.
138
+
139
+ **This resource is in the beta stage and may change without notice.** Set
140
+ the `PROVIDER_AIVEN_ENABLE_BETA` environment variable to use the resource.
141
+
142
+
143
+ :param str external_service_name: The name of the external service. The possible value is `github`.
144
+ :param str external_user_id: The user's ID on the external service.
145
+ :param str internal_user_id: The Aiven user ID.
146
+ :param str organization_id: The ID of the Aiven organization that the user is part of.
147
+ """
148
+ __args__ = dict()
149
+ __args__['externalServiceName'] = external_service_name
150
+ __args__['externalUserId'] = external_user_id
151
+ __args__['internalUserId'] = internal_user_id
152
+ __args__['organizationId'] = organization_id
153
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
154
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getExternalIdentity:getExternalIdentity', __args__, opts=opts, typ=GetExternalIdentityResult)
155
+ return __ret__.apply(lambda __response__: GetExternalIdentityResult(
156
+ external_service_name=pulumi.get(__response__, 'external_service_name'),
157
+ external_user_id=pulumi.get(__response__, 'external_user_id'),
158
+ id=pulumi.get(__response__, 'id'),
159
+ internal_user_id=pulumi.get(__response__, 'internal_user_id'),
160
+ organization_id=pulumi.get(__response__, 'organization_id')))