pulumi-aiven 6.13.0a1709702245__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 +32826 -13922
  3. pulumi_aiven/_utilities.py +41 -5
  4. pulumi_aiven/account.py +34 -43
  5. pulumi_aiven/account_authentication.py +24 -9
  6. pulumi_aiven/account_team.py +37 -12
  7. pulumi_aiven/account_team_member.py +48 -35
  8. pulumi_aiven/account_team_project.py +42 -25
  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 -39
  13. pulumi_aiven/aws_vpc_peering_connection.py +72 -57
  14. pulumi_aiven/azure_privatelink.py +54 -49
  15. pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
  16. pulumi_aiven/azure_vpc_peering_connection.py +86 -73
  17. pulumi_aiven/billing_group.py +33 -30
  18. pulumi_aiven/cassandra.py +145 -122
  19. pulumi_aiven/cassandra_user.py +59 -54
  20. pulumi_aiven/clickhouse.py +133 -110
  21. pulumi_aiven/clickhouse_database.py +58 -58
  22. pulumi_aiven/clickhouse_grant.py +135 -130
  23. pulumi_aiven/clickhouse_role.py +36 -45
  24. pulumi_aiven/clickhouse_user.py +50 -45
  25. pulumi_aiven/config/__init__.pyi +5 -0
  26. pulumi_aiven/config/vars.py +5 -0
  27. pulumi_aiven/connection_pool.py +67 -62
  28. pulumi_aiven/dragonfly.py +1256 -0
  29. pulumi_aiven/flink.py +104 -100
  30. pulumi_aiven/flink_application.py +58 -51
  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 -44
  36. pulumi_aiven/get_account.py +20 -5
  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 -20
  45. pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
  46. pulumi_aiven/get_azure_privatelink.py +37 -22
  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 -19
  50. pulumi_aiven/get_cassandra.py +55 -19
  51. pulumi_aiven/get_cassandra_user.py +42 -26
  52. pulumi_aiven/get_clickhouse.py +55 -19
  53. pulumi_aiven/get_clickhouse_database.py +35 -22
  54. pulumi_aiven/get_clickhouse_user.py +40 -25
  55. pulumi_aiven/get_connection_pool.py +43 -26
  56. pulumi_aiven/get_dragonfly.py +499 -0
  57. pulumi_aiven/get_external_identity.py +160 -0
  58. pulumi_aiven/get_flink.py +55 -19
  59. pulumi_aiven/get_flink_application.py +44 -27
  60. pulumi_aiven/get_flink_application_version.py +55 -33
  61. pulumi_aiven/get_gcp_privatelink.py +63 -7
  62. pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
  63. pulumi_aiven/get_grafana.py +55 -19
  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 -21
  68. pulumi_aiven/get_kafka_acl.py +50 -33
  69. pulumi_aiven/get_kafka_connect.py +54 -32
  70. pulumi_aiven/get_kafka_connector.py +44 -24
  71. pulumi_aiven/get_kafka_mirror_maker.py +50 -28
  72. pulumi_aiven/get_kafka_schema.py +35 -19
  73. pulumi_aiven/get_kafka_schema_configuration.py +32 -17
  74. pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
  75. pulumi_aiven/get_kafka_topic.py +70 -25
  76. pulumi_aiven/get_kafka_user.py +42 -26
  77. pulumi_aiven/get_m3_aggregator.py +51 -15
  78. pulumi_aiven/get_m3_db.py +55 -19
  79. pulumi_aiven/get_m3db_user.py +38 -24
  80. pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
  81. pulumi_aiven/get_my_sql.py +50 -14
  82. pulumi_aiven/get_mysql_database.py +31 -18
  83. pulumi_aiven/get_mysql_user.py +36 -19
  84. pulumi_aiven/get_open_search.py +50 -14
  85. pulumi_aiven/get_open_search_acl_config.py +27 -15
  86. pulumi_aiven/get_open_search_acl_rule.py +37 -21
  87. pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
  88. pulumi_aiven/get_opensearch_user.py +32 -18
  89. pulumi_aiven/get_organization.py +25 -13
  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 -19
  96. pulumi_aiven/get_pg_database.py +39 -24
  97. pulumi_aiven/get_pg_user.py +44 -27
  98. pulumi_aiven/get_project.py +43 -22
  99. pulumi_aiven/get_project_user.py +27 -15
  100. pulumi_aiven/get_project_vpc.py +31 -19
  101. pulumi_aiven/get_redis.py +50 -14
  102. pulumi_aiven/get_redis_user.py +40 -22
  103. pulumi_aiven/get_service_component.py +40 -18
  104. pulumi_aiven/get_service_integration.py +163 -49
  105. pulumi_aiven/get_service_integration_endpoint.py +128 -33
  106. pulumi_aiven/get_thanos.py +499 -0
  107. pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
  108. pulumi_aiven/get_valkey.py +499 -0
  109. pulumi_aiven/get_valkey_user.py +218 -0
  110. pulumi_aiven/grafana.py +188 -318
  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 -140
  115. pulumi_aiven/kafka_acl.py +64 -53
  116. pulumi_aiven/kafka_connect.py +201 -328
  117. pulumi_aiven/kafka_connector.py +67 -56
  118. pulumi_aiven/kafka_mirror_maker.py +139 -318
  119. pulumi_aiven/kafka_native_acl.py +588 -0
  120. pulumi_aiven/kafka_schema.py +65 -56
  121. pulumi_aiven/kafka_schema_configuration.py +25 -20
  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 -54
  125. pulumi_aiven/m3_aggregator.py +176 -308
  126. pulumi_aiven/m3_db.py +190 -322
  127. pulumi_aiven/m3db_user.py +51 -46
  128. pulumi_aiven/mirror_maker_replication_flow.py +217 -53
  129. pulumi_aiven/my_sql.py +190 -322
  130. pulumi_aiven/mysql_database.py +32 -47
  131. pulumi_aiven/mysql_user.py +37 -32
  132. pulumi_aiven/open_search.py +128 -105
  133. pulumi_aiven/open_search_acl_config.py +33 -32
  134. pulumi_aiven/open_search_acl_rule.py +55 -50
  135. pulumi_aiven/opensearch_security_plugin_config.py +69 -16
  136. pulumi_aiven/opensearch_user.py +30 -25
  137. pulumi_aiven/organization.py +18 -13
  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 -32
  146. pulumi_aiven/outputs.py +38509 -21612
  147. pulumi_aiven/pg.py +92 -88
  148. pulumi_aiven/pg_database.py +52 -67
  149. pulumi_aiven/pg_user.py +80 -61
  150. pulumi_aiven/project.py +111 -102
  151. pulumi_aiven/project_user.py +44 -31
  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 +163 -295
  156. pulumi_aiven/redis_user.py +58 -53
  157. pulumi_aiven/service_integration.py +511 -161
  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 -54
  162. pulumi_aiven/valkey.py +1256 -0
  163. pulumi_aiven/valkey_user.py +606 -0
  164. {pulumi_aiven-6.13.0a1709702245.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.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
  167. pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
  168. {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = [
@@ -54,7 +59,7 @@ class GetPgUserResult:
54
59
  @pulumi.getter(name="accessCert")
55
60
  def access_cert(self) -> str:
56
61
  """
57
- Access certificate for the user
62
+ The access certificate for the servie user.
58
63
  """
59
64
  return pulumi.get(self, "access_cert")
60
65
 
@@ -62,7 +67,7 @@ class GetPgUserResult:
62
67
  @pulumi.getter(name="accessKey")
63
68
  def access_key(self) -> str:
64
69
  """
65
- Access certificate key for the user
70
+ The access certificate key for the service user.
66
71
  """
67
72
  return pulumi.get(self, "access_key")
68
73
 
@@ -78,7 +83,7 @@ class GetPgUserResult:
78
83
  @pulumi.getter
79
84
  def password(self) -> str:
80
85
  """
81
- The password of the PG User (not applicable for all services).
86
+ The password of the service user.
82
87
  """
83
88
  return pulumi.get(self, "password")
84
89
 
@@ -86,7 +91,7 @@ class GetPgUserResult:
86
91
  @pulumi.getter(name="pgAllowReplication")
87
92
  def pg_allow_replication(self) -> bool:
88
93
  """
89
- Defines whether replication is allowed.
94
+ Allows replication. For the default avnadmin user this attribute is required and is always `true`.
90
95
  """
91
96
  return pulumi.get(self, "pg_allow_replication")
92
97
 
@@ -94,7 +99,7 @@ class GetPgUserResult:
94
99
  @pulumi.getter
95
100
  def project(self) -> str:
96
101
  """
97
- 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.
102
+ 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.
98
103
  """
99
104
  return pulumi.get(self, "project")
100
105
 
@@ -102,7 +107,7 @@ class GetPgUserResult:
102
107
  @pulumi.getter(name="serviceName")
103
108
  def service_name(self) -> str:
104
109
  """
105
- 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.
110
+ 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.
106
111
  """
107
112
  return pulumi.get(self, "service_name")
108
113
 
@@ -110,7 +115,7 @@ class GetPgUserResult:
110
115
  @pulumi.getter
111
116
  def type(self) -> str:
112
117
  """
113
- Type of the user account. Tells whether the user is the primary account or a regular account.
118
+ The service user account type, either primary or regular.
114
119
  """
115
120
  return pulumi.get(self, "type")
116
121
 
@@ -118,7 +123,7 @@ class GetPgUserResult:
118
123
  @pulumi.getter
119
124
  def username(self) -> str:
120
125
  """
121
- The actual name of the PG 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.
126
+ The name of the service user for this service. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
122
127
  """
123
128
  return pulumi.get(self, "username")
124
129
 
@@ -145,7 +150,7 @@ def get_pg_user(project: Optional[str] = None,
145
150
  username: Optional[str] = None,
146
151
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPgUserResult:
147
152
  """
148
- The PG User data source provides information about the existing Aiven PG User.
153
+ Gets information about an Aiven for PostgreSQL® service user.
149
154
 
150
155
  ## Example Usage
151
156
 
@@ -153,15 +158,15 @@ def get_pg_user(project: Optional[str] = None,
153
158
  import pulumi
154
159
  import pulumi_aiven as aiven
155
160
 
156
- user = aiven.get_pg_user(project="my-project",
157
- service_name="my-service",
158
- username="user1")
161
+ example_user = aiven.get_pg_user(service_name=example_postgres["serviceName"],
162
+ project=example_project["project"],
163
+ username="example-service-user")
159
164
  ```
160
165
 
161
166
 
162
- :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.
163
- :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.
164
- :param str username: The actual name of the PG 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.
167
+ :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.
168
+ :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.
169
+ :param str username: The name of the service user for this service. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
165
170
  """
166
171
  __args__ = dict()
167
172
  __args__['project'] = project
@@ -180,15 +185,12 @@ def get_pg_user(project: Optional[str] = None,
180
185
  service_name=pulumi.get(__ret__, 'service_name'),
181
186
  type=pulumi.get(__ret__, 'type'),
182
187
  username=pulumi.get(__ret__, 'username'))
183
-
184
-
185
- @_utilities.lift_output_func(get_pg_user)
186
188
  def get_pg_user_output(project: Optional[pulumi.Input[str]] = None,
187
189
  service_name: Optional[pulumi.Input[str]] = None,
188
190
  username: Optional[pulumi.Input[str]] = None,
189
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPgUserResult]:
191
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPgUserResult]:
190
192
  """
191
- The PG User data source provides information about the existing Aiven PG User.
193
+ Gets information about an Aiven for PostgreSQL® service user.
192
194
 
193
195
  ## Example Usage
194
196
 
@@ -196,14 +198,29 @@ def get_pg_user_output(project: Optional[pulumi.Input[str]] = None,
196
198
  import pulumi
197
199
  import pulumi_aiven as aiven
198
200
 
199
- user = aiven.get_pg_user(project="my-project",
200
- service_name="my-service",
201
- username="user1")
201
+ example_user = aiven.get_pg_user(service_name=example_postgres["serviceName"],
202
+ project=example_project["project"],
203
+ username="example-service-user")
202
204
  ```
203
205
 
204
206
 
205
- :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.
206
- :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.
207
- :param str username: The actual name of the PG 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.
207
+ :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.
208
+ :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.
209
+ :param str username: The name of the service user for this service. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
208
210
  """
209
- ...
211
+ __args__ = dict()
212
+ __args__['project'] = project
213
+ __args__['serviceName'] = service_name
214
+ __args__['username'] = username
215
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
216
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getPgUser:getPgUser', __args__, opts=opts, typ=GetPgUserResult)
217
+ return __ret__.apply(lambda __response__: GetPgUserResult(
218
+ access_cert=pulumi.get(__response__, 'access_cert'),
219
+ access_key=pulumi.get(__response__, 'access_key'),
220
+ id=pulumi.get(__response__, 'id'),
221
+ password=pulumi.get(__response__, 'password'),
222
+ pg_allow_replication=pulumi.get(__response__, 'pg_allow_replication'),
223
+ project=pulumi.get(__response__, 'project'),
224
+ service_name=pulumi.get(__response__, 'service_name'),
225
+ type=pulumi.get(__response__, 'type'),
226
+ username=pulumi.get(__response__, 'username')))
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from . import _utilities
11
16
  from . import outputs
12
17
 
@@ -73,7 +78,7 @@ class GetProjectResult:
73
78
  @pulumi.getter(name="accountId")
74
79
  def account_id(self) -> str:
75
80
  """
76
- An optional property to link a project to an already existing account by using account ID. To set up proper dependencies please refer to this variable as a reference.
81
+ Link a project to an existing account using its account ID. This field is deprecated. Use `parent_id` instead. To set up proper dependencies please refer to this variable as a reference.
77
82
  """
78
83
  return pulumi.get(self, "account_id")
79
84
 
@@ -89,7 +94,7 @@ class GetProjectResult:
89
94
  @pulumi.getter(name="availableCredits")
90
95
  def available_credits(self) -> str:
91
96
  """
92
- The amount of platform credits available to the project. This could be your free trial or other promotional credits.
97
+ The number of trial or promotional credits remaining for this project.
93
98
  """
94
99
  return pulumi.get(self, "available_credits")
95
100
 
@@ -97,7 +102,7 @@ class GetProjectResult:
97
102
  @pulumi.getter(name="billingGroup")
98
103
  def billing_group(self) -> str:
99
104
  """
100
- The id of the billing group that is linked to this project. To set up proper dependencies please refer to this variable as a reference.
105
+ The ID of the billing group this project is assigned to. To set up proper dependencies please refer to this variable as a reference.
101
106
  """
102
107
  return pulumi.get(self, "billing_group")
103
108
 
@@ -105,7 +110,7 @@ class GetProjectResult:
105
110
  @pulumi.getter(name="caCert")
106
111
  def ca_cert(self) -> str:
107
112
  """
108
- The CA certificate of the project. This is required for configuring clients that connect to certain services like Kafka.
113
+ The CA certificate for the project. This is required for configuring clients that connect to certain services like Kafka.
109
114
  """
110
115
  return pulumi.get(self, "ca_cert")
111
116
 
@@ -113,7 +118,7 @@ class GetProjectResult:
113
118
  @pulumi.getter(name="copyFromProject")
114
119
  def copy_from_project(self) -> str:
115
120
  """
116
- is the name of another project used to copy billing information and some other project attributes like technical contacts from. This is mostly relevant when an existing project has billing type set to invoice and that needs to be copied over to a new project. (Setting billing is otherwise not allowed over the API.) This only has effect when the project is created. To set up proper dependencies please refer to this variable as a reference.
121
+ The name of the project to copy billing information, technical contacts, and some other project attributes from. This is most useful to set up the same billing method when you use bank transfers to pay invoices for other projects. You can only do this when creating a project. You can't set the billing over the API for an existing. To set up proper dependencies please refer to this variable as a reference.
117
122
  """
118
123
  return pulumi.get(self, "copy_from_project")
119
124
 
@@ -121,7 +126,7 @@ class GetProjectResult:
121
126
  @pulumi.getter(name="defaultCloud")
122
127
  def default_cloud(self) -> str:
123
128
  """
124
- Defines the default cloud provider and region where services are hosted. This can be changed freely after the project is created. This will not affect existing services.
129
+ Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services.
125
130
  """
126
131
  return pulumi.get(self, "default_cloud")
127
132
 
@@ -129,7 +134,7 @@ class GetProjectResult:
129
134
  @pulumi.getter(name="estimatedBalance")
130
135
  def estimated_balance(self) -> str:
131
136
  """
132
- The current accumulated bill for this project in the current billing period.
137
+ The monthly running estimate for this project for the current billing period.
133
138
  """
134
139
  return pulumi.get(self, "estimated_balance")
135
140
 
@@ -145,7 +150,7 @@ class GetProjectResult:
145
150
  @pulumi.getter(name="parentId")
146
151
  def parent_id(self) -> str:
147
152
  """
148
- An optional property to link a project to an already existing organization or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
153
+ Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/orgs-units-projects) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
149
154
  """
150
155
  return pulumi.get(self, "parent_id")
151
156
 
@@ -153,7 +158,7 @@ class GetProjectResult:
153
158
  @pulumi.getter(name="paymentMethod")
154
159
  def payment_method(self) -> str:
155
160
  """
156
- The method of invoicing used for payments for this project, e.g. `card`.
161
+ The payment type used for this project. For example,`card`.
157
162
  """
158
163
  return pulumi.get(self, "payment_method")
159
164
 
@@ -161,7 +166,7 @@ class GetProjectResult:
161
166
  @pulumi.getter
162
167
  def project(self) -> str:
163
168
  """
164
- Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
169
+ The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
165
170
  """
166
171
  return pulumi.get(self, "project")
167
172
 
@@ -177,7 +182,7 @@ class GetProjectResult:
177
182
  @pulumi.getter(name="technicalEmails")
178
183
  def technical_emails(self) -> Sequence[str]:
179
184
  """
180
- Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability. It is a good practice to keep this up-to-date to be aware of any potential issues with your project.
185
+ The email addresses for [project contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this project and its services. You can also set email contacts at the service level. It's good practice to keep these up-to-date to be aware of any potential issues with your project.
181
186
  """
182
187
  return pulumi.get(self, "technical_emails")
183
188
 
@@ -216,7 +221,7 @@ class AwaitableGetProjectResult(GetProjectResult):
216
221
  def get_project(project: Optional[str] = None,
217
222
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectResult:
218
223
  """
219
- The Project data source provides information about the existing Aiven Project.
224
+ Gets information about an Aiven project.
220
225
 
221
226
  ## Example Usage
222
227
 
@@ -224,11 +229,11 @@ def get_project(project: Optional[str] = None,
224
229
  import pulumi
225
230
  import pulumi_aiven as aiven
226
231
 
227
- myproject = aiven.get_project(project="<PROJECT_NAME>")
232
+ example_project = aiven.get_project(project="example-project")
228
233
  ```
229
234
 
230
235
 
231
- :param str project: Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
236
+ :param str project: The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
232
237
  """
233
238
  __args__ = dict()
234
239
  __args__['project'] = project
@@ -251,13 +256,10 @@ def get_project(project: Optional[str] = None,
251
256
  tags=pulumi.get(__ret__, 'tags'),
252
257
  technical_emails=pulumi.get(__ret__, 'technical_emails'),
253
258
  use_source_project_billing_group=pulumi.get(__ret__, 'use_source_project_billing_group'))
254
-
255
-
256
- @_utilities.lift_output_func(get_project)
257
259
  def get_project_output(project: Optional[pulumi.Input[str]] = None,
258
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectResult]:
260
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectResult]:
259
261
  """
260
- The Project data source provides information about the existing Aiven Project.
262
+ Gets information about an Aiven project.
261
263
 
262
264
  ## Example Usage
263
265
 
@@ -265,10 +267,29 @@ def get_project_output(project: Optional[pulumi.Input[str]] = None,
265
267
  import pulumi
266
268
  import pulumi_aiven as aiven
267
269
 
268
- myproject = aiven.get_project(project="<PROJECT_NAME>")
270
+ example_project = aiven.get_project(project="example-project")
269
271
  ```
270
272
 
271
273
 
272
- :param str project: Defines the name of the project. Name must be globally unique (between all Aiven customers) and cannot be changed later without destroying and re-creating the project, including all sub-resources.
274
+ :param str project: The name of the project. Names must be globally unique among all Aiven customers and cannot be changed later without destroying and re-creating the project, including all sub-resources.
273
275
  """
274
- ...
276
+ __args__ = dict()
277
+ __args__['project'] = project
278
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
279
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getProject:getProject', __args__, opts=opts, typ=GetProjectResult)
280
+ return __ret__.apply(lambda __response__: GetProjectResult(
281
+ account_id=pulumi.get(__response__, 'account_id'),
282
+ add_account_owners_admin_access=pulumi.get(__response__, 'add_account_owners_admin_access'),
283
+ available_credits=pulumi.get(__response__, 'available_credits'),
284
+ billing_group=pulumi.get(__response__, 'billing_group'),
285
+ ca_cert=pulumi.get(__response__, 'ca_cert'),
286
+ copy_from_project=pulumi.get(__response__, 'copy_from_project'),
287
+ default_cloud=pulumi.get(__response__, 'default_cloud'),
288
+ estimated_balance=pulumi.get(__response__, 'estimated_balance'),
289
+ id=pulumi.get(__response__, 'id'),
290
+ parent_id=pulumi.get(__response__, 'parent_id'),
291
+ payment_method=pulumi.get(__response__, 'payment_method'),
292
+ project=pulumi.get(__response__, 'project'),
293
+ tags=pulumi.get(__response__, 'tags'),
294
+ technical_emails=pulumi.get(__response__, 'technical_emails'),
295
+ use_source_project_billing_group=pulumi.get(__response__, 'use_source_project_billing_group')))
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = [
@@ -42,7 +47,7 @@ class GetProjectUserResult:
42
47
  @pulumi.getter
43
48
  def accepted(self) -> bool:
44
49
  """
45
- Whether the user has accepted the request to join the project; adding user to a project sends an invitation to the target user and the actual membership is only created once the user accepts the invitation.
50
+ Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite.
46
51
  """
47
52
  return pulumi.get(self, "accepted")
48
53
 
@@ -50,7 +55,7 @@ class GetProjectUserResult:
50
55
  @pulumi.getter
51
56
  def email(self) -> str:
52
57
  """
53
- Email address of the user. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
58
+ Email address of the user in lowercase. Changing this property forces recreation of the resource.
54
59
  """
55
60
  return pulumi.get(self, "email")
56
61
 
@@ -66,7 +71,7 @@ class GetProjectUserResult:
66
71
  @pulumi.getter(name="memberType")
67
72
  def member_type(self) -> str:
68
73
  """
69
- Project membership type. The possible values are `admin`, `developer` and `operator`.
74
+ Project membership type. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:users:write`, `project:audit_logs:read`, `project:integrations:read`, `project:integrations:write`, `project:networking:read`, `project:networking:write`, `project:permissions:read`, `project:services:read`, `project:services:write`, `read_only`, `role:organization:admin`, `role:services:maintenance`, `role:services:recover`, `service:configuration:write`, `service:data:write`, `service:logs:read`, `service:secrets:read` and `service:users:write`.
70
75
  """
71
76
  return pulumi.get(self, "member_type")
72
77
 
@@ -74,7 +79,7 @@ class GetProjectUserResult:
74
79
  @pulumi.getter
75
80
  def project(self) -> str:
76
81
  """
77
- 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.
82
+ 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.
78
83
  """
79
84
  return pulumi.get(self, "project")
80
85
 
@@ -104,13 +109,13 @@ def get_project_user(email: Optional[str] = None,
104
109
  import pulumi
105
110
  import pulumi_aiven as aiven
106
111
 
107
- mytestuser = aiven.get_project_user(project=aiven_project["myproject"]["project"],
112
+ mytestuser = aiven.get_project_user(project=myproject["project"],
108
113
  email="john.doe@example.com")
109
114
  ```
110
115
 
111
116
 
112
- :param str email: Email address of the user. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
113
- :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.
117
+ :param str email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
118
+ :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.
114
119
  """
115
120
  __args__ = dict()
116
121
  __args__['email'] = email
@@ -124,12 +129,9 @@ def get_project_user(email: Optional[str] = None,
124
129
  id=pulumi.get(__ret__, 'id'),
125
130
  member_type=pulumi.get(__ret__, 'member_type'),
126
131
  project=pulumi.get(__ret__, 'project'))
127
-
128
-
129
- @_utilities.lift_output_func(get_project_user)
130
132
  def get_project_user_output(email: Optional[pulumi.Input[str]] = None,
131
133
  project: Optional[pulumi.Input[str]] = None,
132
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectUserResult]:
134
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectUserResult]:
133
135
  """
134
136
  The Project User data source provides information about the existing Aiven Project User.
135
137
 
@@ -139,12 +141,22 @@ def get_project_user_output(email: Optional[pulumi.Input[str]] = None,
139
141
  import pulumi
140
142
  import pulumi_aiven as aiven
141
143
 
142
- mytestuser = aiven.get_project_user(project=aiven_project["myproject"]["project"],
144
+ mytestuser = aiven.get_project_user(project=myproject["project"],
143
145
  email="john.doe@example.com")
144
146
  ```
145
147
 
146
148
 
147
- :param str email: Email address of the user. Should be lowercase. This property cannot be changed, doing so forces recreation of the resource.
148
- :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.
149
+ :param str email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
150
+ :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.
149
151
  """
150
- ...
152
+ __args__ = dict()
153
+ __args__['email'] = email
154
+ __args__['project'] = project
155
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
156
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getProjectUser:getProjectUser', __args__, opts=opts, typ=GetProjectUserResult)
157
+ return __ret__.apply(lambda __response__: GetProjectUserResult(
158
+ accepted=pulumi.get(__response__, 'accepted'),
159
+ email=pulumi.get(__response__, 'email'),
160
+ id=pulumi.get(__response__, 'id'),
161
+ member_type=pulumi.get(__response__, 'member_type'),
162
+ project=pulumi.get(__response__, 'project')))
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
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
10
15
  from . import _utilities
11
16
 
12
17
  __all__ = [
@@ -45,7 +50,7 @@ class GetProjectVpcResult:
45
50
  @pulumi.getter(name="cloudName")
46
51
  def cloud_name(self) -> Optional[str]:
47
52
  """
48
- Defines where the cloud provider and region where the service is hosted in. See the Service resource for additional information.
53
+ The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`.
49
54
  """
50
55
  return pulumi.get(self, "cloud_name")
51
56
 
@@ -61,7 +66,7 @@ class GetProjectVpcResult:
61
66
  @pulumi.getter(name="networkCidr")
62
67
  def network_cidr(self) -> str:
63
68
  """
64
- Network address range used by the VPC like 192.168.0.0/24
69
+ Network address range used by the VPC. For example, `192.168.0.0/24`.
65
70
  """
66
71
  return pulumi.get(self, "network_cidr")
67
72
 
@@ -77,7 +82,7 @@ class GetProjectVpcResult:
77
82
  @pulumi.getter
78
83
  def state(self) -> str:
79
84
  """
80
- State of the VPC. The possible values are `APPROVED`, `ACTIVE`, `DELETING` and `DELETED`.
85
+ State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`.
81
86
  """
82
87
  return pulumi.get(self, "state")
83
88
 
@@ -85,7 +90,7 @@ class GetProjectVpcResult:
85
90
  @pulumi.getter(name="vpcId")
86
91
  def vpc_id(self) -> Optional[str]:
87
92
  """
88
- ID of the VPC. This can be used to filter out the specific VPC if there are more than one datasource returned.
93
+ The ID of the VPC. This can be used to filter out the other VPCs if there are more than one for the project and cloud.
89
94
  """
90
95
  return pulumi.get(self, "vpc_id")
91
96
 
@@ -109,7 +114,7 @@ def get_project_vpc(cloud_name: Optional[str] = None,
109
114
  vpc_id: Optional[str] = None,
110
115
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectVpcResult:
111
116
  """
112
- The Project VPC data source provides information about the existing Aiven Project VPC.
117
+ Gets information about the VPC for an Aiven project.
113
118
 
114
119
  ## Example Usage
115
120
 
@@ -117,15 +122,14 @@ def get_project_vpc(cloud_name: Optional[str] = None,
117
122
  import pulumi
118
123
  import pulumi_aiven as aiven
119
124
 
120
- myvpc = aiven.get_project_vpc(project=aiven_project["myproject"]["project"],
125
+ example_vpc = aiven.get_project_vpc(project=example_project["project"],
121
126
  cloud_name="google-europe-west1")
122
- myvpc_id = aiven.get_project_vpc(vpc_id=aiven_project_vpc["vpc"]["id"])
123
127
  ```
124
128
 
125
129
 
126
- :param str cloud_name: Defines where the cloud provider and region where the service is hosted in. See the Service resource for additional information.
130
+ :param str cloud_name: The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`.
127
131
  :param str project: Identifies the project this resource belongs to.
128
- :param str vpc_id: ID of the VPC. This can be used to filter out the specific VPC if there are more than one datasource returned.
132
+ :param str vpc_id: The ID of the VPC. This can be used to filter out the other VPCs if there are more than one for the project and cloud.
129
133
  """
130
134
  __args__ = dict()
131
135
  __args__['cloudName'] = cloud_name
@@ -141,15 +145,12 @@ def get_project_vpc(cloud_name: Optional[str] = None,
141
145
  project=pulumi.get(__ret__, 'project'),
142
146
  state=pulumi.get(__ret__, 'state'),
143
147
  vpc_id=pulumi.get(__ret__, 'vpc_id'))
144
-
145
-
146
- @_utilities.lift_output_func(get_project_vpc)
147
148
  def get_project_vpc_output(cloud_name: Optional[pulumi.Input[Optional[str]]] = None,
148
149
  project: Optional[pulumi.Input[Optional[str]]] = None,
149
150
  vpc_id: Optional[pulumi.Input[Optional[str]]] = None,
150
- opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectVpcResult]:
151
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectVpcResult]:
151
152
  """
152
- The Project VPC data source provides information about the existing Aiven Project VPC.
153
+ Gets information about the VPC for an Aiven project.
153
154
 
154
155
  ## Example Usage
155
156
 
@@ -157,14 +158,25 @@ def get_project_vpc_output(cloud_name: Optional[pulumi.Input[Optional[str]]] = N
157
158
  import pulumi
158
159
  import pulumi_aiven as aiven
159
160
 
160
- myvpc = aiven.get_project_vpc(project=aiven_project["myproject"]["project"],
161
+ example_vpc = aiven.get_project_vpc(project=example_project["project"],
161
162
  cloud_name="google-europe-west1")
162
- myvpc_id = aiven.get_project_vpc(vpc_id=aiven_project_vpc["vpc"]["id"])
163
163
  ```
164
164
 
165
165
 
166
- :param str cloud_name: Defines where the cloud provider and region where the service is hosted in. See the Service resource for additional information.
166
+ :param str cloud_name: The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`.
167
167
  :param str project: Identifies the project this resource belongs to.
168
- :param str vpc_id: ID of the VPC. This can be used to filter out the specific VPC if there are more than one datasource returned.
168
+ :param str vpc_id: The ID of the VPC. This can be used to filter out the other VPCs if there are more than one for the project and cloud.
169
169
  """
170
- ...
170
+ __args__ = dict()
171
+ __args__['cloudName'] = cloud_name
172
+ __args__['project'] = project
173
+ __args__['vpcId'] = vpc_id
174
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
175
+ __ret__ = pulumi.runtime.invoke_output('aiven:index/getProjectVpc:getProjectVpc', __args__, opts=opts, typ=GetProjectVpcResult)
176
+ return __ret__.apply(lambda __response__: GetProjectVpcResult(
177
+ cloud_name=pulumi.get(__response__, 'cloud_name'),
178
+ id=pulumi.get(__response__, 'id'),
179
+ network_cidr=pulumi.get(__response__, 'network_cidr'),
180
+ project=pulumi.get(__response__, 'project'),
181
+ state=pulumi.get(__response__, 'state'),
182
+ vpc_id=pulumi.get(__response__, 'vpc_id')))