pulumi-aiven 6.37.0a1743570488__py3-none-any.whl → 6.37.0a1744255932__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 (187) hide show
  1. pulumi_aiven/__init__.py +22 -0
  2. pulumi_aiven/_inputs.py +8877 -8288
  3. pulumi_aiven/account.py +71 -70
  4. pulumi_aiven/account_authentication.py +204 -203
  5. pulumi_aiven/account_team.py +50 -49
  6. pulumi_aiven/account_team_member.py +64 -63
  7. pulumi_aiven/account_team_project.py +57 -56
  8. pulumi_aiven/alloydbomni.py +247 -254
  9. pulumi_aiven/alloydbomni_database.py +71 -70
  10. pulumi_aiven/alloydbomni_user.py +92 -91
  11. pulumi_aiven/aws_org_vpc_peering_connection.py +92 -91
  12. pulumi_aiven/aws_privatelink.py +57 -56
  13. pulumi_aiven/aws_vpc_peering_connection.py +78 -77
  14. pulumi_aiven/azure_org_vpc_peering_connection.py +113 -112
  15. pulumi_aiven/azure_privatelink.py +71 -70
  16. pulumi_aiven/azure_privatelink_connection_approval.py +57 -56
  17. pulumi_aiven/azure_vpc_peering_connection.py +106 -105
  18. pulumi_aiven/billing_group.py +211 -210
  19. pulumi_aiven/cassandra.py +233 -240
  20. pulumi_aiven/cassandra_user.py +78 -77
  21. pulumi_aiven/clickhouse.py +233 -240
  22. pulumi_aiven/clickhouse_database.py +53 -52
  23. pulumi_aiven/clickhouse_grant.py +57 -56
  24. pulumi_aiven/clickhouse_role.py +43 -42
  25. pulumi_aiven/clickhouse_user.py +64 -63
  26. pulumi_aiven/config/__init__.py +1 -0
  27. pulumi_aiven/config/__init__.pyi +1 -0
  28. pulumi_aiven/config/vars.py +1 -0
  29. pulumi_aiven/connection_pool.py +106 -105
  30. pulumi_aiven/dragonfly.py +233 -240
  31. pulumi_aiven/flink.py +233 -240
  32. pulumi_aiven/flink_application.py +78 -77
  33. pulumi_aiven/flink_application_deployment.py +113 -112
  34. pulumi_aiven/flink_application_version.py +85 -84
  35. pulumi_aiven/flink_jar_application.py +78 -77
  36. pulumi_aiven/flink_jar_application_deployment.py +176 -175
  37. pulumi_aiven/flink_jar_application_version.py +92 -91
  38. pulumi_aiven/gcp_org_vpc_peering_connection.py +71 -70
  39. pulumi_aiven/gcp_privatelink.py +50 -49
  40. pulumi_aiven/gcp_privatelink_connection_approval.py +64 -63
  41. pulumi_aiven/gcp_vpc_peering_connection.py +64 -63
  42. pulumi_aiven/get_account.py +14 -13
  43. pulumi_aiven/get_account_authentication.py +27 -26
  44. pulumi_aiven/get_account_team.py +15 -14
  45. pulumi_aiven/get_account_team_member.py +20 -19
  46. pulumi_aiven/get_account_team_project.py +18 -17
  47. pulumi_aiven/get_alloydbomni.py +34 -36
  48. pulumi_aiven/get_alloydbomni_database.py +19 -18
  49. pulumi_aiven/get_alloydbomni_user.py +22 -21
  50. pulumi_aiven/get_aws_org_vpc_peering_connection.py +30 -29
  51. pulumi_aiven/get_aws_privatelink.py +15 -14
  52. pulumi_aiven/get_aws_vpc_peering_connection.py +25 -24
  53. pulumi_aiven/get_azure_org_vpc_peering_connection.py +31 -30
  54. pulumi_aiven/get_azure_privatelink.py +17 -16
  55. pulumi_aiven/get_azure_vpc_peering_connection.py +35 -34
  56. pulumi_aiven/get_billing_group.py +22 -21
  57. pulumi_aiven/get_cassanda.py +33 -35
  58. pulumi_aiven/get_cassandra.py +33 -35
  59. pulumi_aiven/get_cassandra_user.py +21 -20
  60. pulumi_aiven/get_clickhouse.py +33 -35
  61. pulumi_aiven/get_clickhouse_database.py +18 -17
  62. pulumi_aiven/get_clickhouse_user.py +20 -19
  63. pulumi_aiven/get_connection_pool.py +22 -21
  64. pulumi_aiven/get_dragonfly.py +33 -35
  65. pulumi_aiven/get_external_identity.py +22 -21
  66. pulumi_aiven/get_flink.py +33 -35
  67. pulumi_aiven/get_flink_application.py +22 -21
  68. pulumi_aiven/get_flink_application_version.py +26 -25
  69. pulumi_aiven/get_gcp_org_vpc_peering_connection.py +24 -23
  70. pulumi_aiven/get_gcp_privatelink.py +15 -14
  71. pulumi_aiven/get_gcp_vpc_peering_connection.py +20 -19
  72. pulumi_aiven/get_grafana.py +33 -35
  73. pulumi_aiven/get_influx_db.py +28 -27
  74. pulumi_aiven/get_influxdb_database.py +12 -11
  75. pulumi_aiven/get_influxdb_user.py +15 -14
  76. pulumi_aiven/get_kafka.py +35 -37
  77. pulumi_aiven/get_kafka_acl.py +28 -27
  78. pulumi_aiven/get_kafka_connect.py +33 -35
  79. pulumi_aiven/get_kafka_connector.py +24 -23
  80. pulumi_aiven/get_kafka_mirror_maker.py +33 -35
  81. pulumi_aiven/get_kafka_schema.py +21 -20
  82. pulumi_aiven/get_kafka_schema_configuration.py +17 -16
  83. pulumi_aiven/get_kafka_schema_registry_acl.py +28 -27
  84. pulumi_aiven/get_kafka_topic.py +22 -21
  85. pulumi_aiven/get_kafka_user.py +21 -20
  86. pulumi_aiven/get_m3_aggregator.py +33 -35
  87. pulumi_aiven/get_m3_db.py +33 -35
  88. pulumi_aiven/get_m3db_user.py +19 -18
  89. pulumi_aiven/get_mirror_maker_replication_flow.py +34 -33
  90. pulumi_aiven/get_my_sql.py +33 -35
  91. pulumi_aiven/get_mysql_database.py +18 -17
  92. pulumi_aiven/get_mysql_user.py +22 -21
  93. pulumi_aiven/get_open_search.py +33 -35
  94. pulumi_aiven/get_open_search_acl_config.py +14 -13
  95. pulumi_aiven/get_open_search_acl_rule.py +27 -26
  96. pulumi_aiven/get_opensearch_security_plugin_config.py +16 -15
  97. pulumi_aiven/get_opensearch_user.py +19 -18
  98. pulumi_aiven/get_organization.py +14 -13
  99. pulumi_aiven/get_organization_address.py +227 -0
  100. pulumi_aiven/get_organization_application_user.py +15 -34
  101. pulumi_aiven/get_organization_billing_group.py +241 -0
  102. pulumi_aiven/get_organization_billing_group_list.py +110 -0
  103. pulumi_aiven/get_organization_project.py +30 -15
  104. pulumi_aiven/get_organization_user.py +18 -17
  105. pulumi_aiven/get_organization_user_group.py +16 -15
  106. pulumi_aiven/get_organization_user_list.py +32 -19
  107. pulumi_aiven/get_organization_vpc.py +17 -16
  108. pulumi_aiven/get_organizational_unit.py +11 -10
  109. pulumi_aiven/get_pg.py +33 -35
  110. pulumi_aiven/get_pg_database.py +20 -19
  111. pulumi_aiven/get_pg_user.py +22 -21
  112. pulumi_aiven/get_project.py +19 -18
  113. pulumi_aiven/get_project_user.py +14 -13
  114. pulumi_aiven/get_project_vpc.py +19 -18
  115. pulumi_aiven/get_redis.py +33 -35
  116. pulumi_aiven/get_redis_user.py +23 -22
  117. pulumi_aiven/get_service_component.py +54 -39
  118. pulumi_aiven/get_service_integration.py +29 -28
  119. pulumi_aiven/get_service_integration_endpoint.py +14 -13
  120. pulumi_aiven/get_thanos.py +33 -35
  121. pulumi_aiven/get_transit_gateway_vpc_attachment.py +22 -21
  122. pulumi_aiven/get_valkey.py +33 -35
  123. pulumi_aiven/get_valkey_user.py +23 -22
  124. pulumi_aiven/grafana.py +233 -240
  125. pulumi_aiven/influx_db.py +251 -244
  126. pulumi_aiven/influxdb_database.py +53 -52
  127. pulumi_aiven/influxdb_user.py +78 -77
  128. pulumi_aiven/kafka.py +261 -268
  129. pulumi_aiven/kafka_acl.py +78 -77
  130. pulumi_aiven/kafka_connect.py +233 -240
  131. pulumi_aiven/kafka_connector.py +99 -98
  132. pulumi_aiven/kafka_mirror_maker.py +233 -240
  133. pulumi_aiven/kafka_native_acl.py +127 -126
  134. pulumi_aiven/kafka_quota.py +99 -98
  135. pulumi_aiven/kafka_schema.py +92 -91
  136. pulumi_aiven/kafka_schema_configuration.py +43 -42
  137. pulumi_aiven/kafka_schema_registry_acl.py +78 -77
  138. pulumi_aiven/kafka_topic.py +109 -108
  139. pulumi_aiven/kafka_user.py +78 -77
  140. pulumi_aiven/m3_aggregator.py +233 -240
  141. pulumi_aiven/m3_db.py +233 -240
  142. pulumi_aiven/m3db_user.py +64 -63
  143. pulumi_aiven/mirror_maker_replication_flow.py +225 -224
  144. pulumi_aiven/my_sql.py +233 -240
  145. pulumi_aiven/mysql_database.py +53 -52
  146. pulumi_aiven/mysql_user.py +92 -91
  147. pulumi_aiven/open_search.py +233 -240
  148. pulumi_aiven/open_search_acl_config.py +57 -56
  149. pulumi_aiven/open_search_acl_rule.py +75 -74
  150. pulumi_aiven/opensearch_security_plugin_config.py +64 -63
  151. pulumi_aiven/opensearch_user.py +64 -63
  152. pulumi_aiven/organization.py +38 -37
  153. pulumi_aiven/organization_address.py +557 -0
  154. pulumi_aiven/organization_application_user.py +61 -60
  155. pulumi_aiven/organization_application_user_token.py +169 -168
  156. pulumi_aiven/organization_billing_group.py +645 -0
  157. pulumi_aiven/organization_group_project.py +43 -42
  158. pulumi_aiven/organization_permission.py +45 -44
  159. pulumi_aiven/organization_project.py +114 -82
  160. pulumi_aiven/organization_user.py +57 -56
  161. pulumi_aiven/organization_user_group.py +64 -63
  162. pulumi_aiven/organization_user_group_member.py +50 -81
  163. pulumi_aiven/organization_vpc.py +71 -70
  164. pulumi_aiven/organizational_unit.py +50 -49
  165. pulumi_aiven/outputs.py +10770 -10004
  166. pulumi_aiven/pg.py +233 -240
  167. pulumi_aiven/pg_database.py +81 -80
  168. pulumi_aiven/pg_user.py +92 -91
  169. pulumi_aiven/project.py +155 -154
  170. pulumi_aiven/project_user.py +50 -49
  171. pulumi_aiven/project_vpc.py +50 -49
  172. pulumi_aiven/provider.py +9 -8
  173. pulumi_aiven/pulumi-plugin.json +1 -1
  174. pulumi_aiven/redis.py +233 -240
  175. pulumi_aiven/redis_user.py +120 -119
  176. pulumi_aiven/service_integration.py +124 -123
  177. pulumi_aiven/service_integration_endpoint.py +50 -49
  178. pulumi_aiven/static_ip.py +57 -56
  179. pulumi_aiven/thanos.py +233 -240
  180. pulumi_aiven/transit_gateway_vpc_attachment.py +92 -91
  181. pulumi_aiven/valkey.py +233 -240
  182. pulumi_aiven/valkey_user.py +120 -119
  183. {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/METADATA +1 -1
  184. pulumi_aiven-6.37.0a1744255932.dist-info/RECORD +188 -0
  185. pulumi_aiven-6.37.0a1743570488.dist-info/RECORD +0 -183
  186. {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/WHEEL +0 -0
  187. {pulumi_aiven-6.37.0a1743570488.dist-info → pulumi_aiven-6.37.0a1744255932.dist-info}/top_level.txt +0 -0
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -76,7 +77,7 @@ class GetProjectResult:
76
77
 
77
78
  @property
78
79
  @pulumi.getter(name="accountId")
79
- def account_id(self) -> str:
80
+ def account_id(self) -> builtins.str:
80
81
  """
81
82
  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.
82
83
  """
@@ -84,7 +85,7 @@ class GetProjectResult:
84
85
 
85
86
  @property
86
87
  @pulumi.getter(name="addAccountOwnersAdminAccess")
87
- def add_account_owners_admin_access(self) -> bool:
88
+ def add_account_owners_admin_access(self) -> builtins.bool:
88
89
  """
89
90
  If parent_id is set, grant account owner team admin access to the new project. The default value is `true`.
90
91
  """
@@ -92,7 +93,7 @@ class GetProjectResult:
92
93
 
93
94
  @property
94
95
  @pulumi.getter(name="availableCredits")
95
- def available_credits(self) -> str:
96
+ def available_credits(self) -> builtins.str:
96
97
  """
97
98
  The number of trial or promotional credits remaining for this project.
98
99
  """
@@ -100,7 +101,7 @@ class GetProjectResult:
100
101
 
101
102
  @property
102
103
  @pulumi.getter(name="billingGroup")
103
- def billing_group(self) -> str:
104
+ def billing_group(self) -> builtins.str:
104
105
  """
105
106
  The ID of the billing group this project is assigned to. To set up proper dependencies please refer to this variable as a reference.
106
107
  """
@@ -108,7 +109,7 @@ class GetProjectResult:
108
109
 
109
110
  @property
110
111
  @pulumi.getter(name="caCert")
111
- def ca_cert(self) -> str:
112
+ def ca_cert(self) -> builtins.str:
112
113
  """
113
114
  The CA certificate for the project. This is required for configuring clients that connect to certain services like Kafka.
114
115
  """
@@ -116,7 +117,7 @@ class GetProjectResult:
116
117
 
117
118
  @property
118
119
  @pulumi.getter(name="copyFromProject")
119
- def copy_from_project(self) -> str:
120
+ def copy_from_project(self) -> builtins.str:
120
121
  """
121
122
  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.
122
123
  """
@@ -124,7 +125,7 @@ class GetProjectResult:
124
125
 
125
126
  @property
126
127
  @pulumi.getter(name="defaultCloud")
127
- def default_cloud(self) -> str:
128
+ def default_cloud(self) -> builtins.str:
128
129
  """
129
130
  Default cloud provider and region where services are hosted. This can be changed after the project is created and will not affect existing services.
130
131
  """
@@ -132,7 +133,7 @@ class GetProjectResult:
132
133
 
133
134
  @property
134
135
  @pulumi.getter(name="estimatedBalance")
135
- def estimated_balance(self) -> str:
136
+ def estimated_balance(self) -> builtins.str:
136
137
  """
137
138
  The monthly running estimate for this project for the current billing period.
138
139
  """
@@ -140,7 +141,7 @@ class GetProjectResult:
140
141
 
141
142
  @property
142
143
  @pulumi.getter
143
- def id(self) -> str:
144
+ def id(self) -> builtins.str:
144
145
  """
145
146
  The provider-assigned unique ID for this managed resource.
146
147
  """
@@ -148,7 +149,7 @@ class GetProjectResult:
148
149
 
149
150
  @property
150
151
  @pulumi.getter(name="parentId")
151
- def parent_id(self) -> str:
152
+ def parent_id(self) -> builtins.str:
152
153
  """
153
154
  Link a project to an [organization or organizational unit](https://aiven.io/docs/platform/concepts/orgs-units-projects) by using its ID. To set up proper dependencies please refer to this variable as a reference.
154
155
  """
@@ -156,7 +157,7 @@ class GetProjectResult:
156
157
 
157
158
  @property
158
159
  @pulumi.getter(name="paymentMethod")
159
- def payment_method(self) -> str:
160
+ def payment_method(self) -> builtins.str:
160
161
  """
161
162
  The payment type used for this project. For example,`card`.
162
163
  """
@@ -164,7 +165,7 @@ class GetProjectResult:
164
165
 
165
166
  @property
166
167
  @pulumi.getter
167
- def project(self) -> str:
168
+ def project(self) -> builtins.str:
168
169
  """
169
170
  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.
170
171
  """
@@ -180,7 +181,7 @@ class GetProjectResult:
180
181
 
181
182
  @property
182
183
  @pulumi.getter(name="technicalEmails")
183
- def technical_emails(self) -> Sequence[str]:
184
+ def technical_emails(self) -> Sequence[builtins.str]:
184
185
  """
185
186
  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.
186
187
  """
@@ -188,7 +189,7 @@ class GetProjectResult:
188
189
 
189
190
  @property
190
191
  @pulumi.getter(name="useSourceProjectBillingGroup")
191
- def use_source_project_billing_group(self) -> bool:
192
+ def use_source_project_billing_group(self) -> builtins.bool:
192
193
  """
193
194
  Use the same billing group that is used in source project.
194
195
  """
@@ -218,7 +219,7 @@ class AwaitableGetProjectResult(GetProjectResult):
218
219
  use_source_project_billing_group=self.use_source_project_billing_group)
219
220
 
220
221
 
221
- def get_project(project: Optional[str] = None,
222
+ def get_project(project: Optional[builtins.str] = None,
222
223
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectResult:
223
224
  """
224
225
  Gets information about an Aiven project.
@@ -233,7 +234,7 @@ def get_project(project: Optional[str] = None,
233
234
  ```
234
235
 
235
236
 
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.
237
+ :param builtins.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.
237
238
  """
238
239
  __args__ = dict()
239
240
  __args__['project'] = project
@@ -256,7 +257,7 @@ def get_project(project: Optional[str] = None,
256
257
  tags=pulumi.get(__ret__, 'tags'),
257
258
  technical_emails=pulumi.get(__ret__, 'technical_emails'),
258
259
  use_source_project_billing_group=pulumi.get(__ret__, 'use_source_project_billing_group'))
259
- def get_project_output(project: Optional[pulumi.Input[str]] = None,
260
+ def get_project_output(project: Optional[pulumi.Input[builtins.str]] = None,
260
261
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectResult]:
261
262
  """
262
263
  Gets information about an Aiven project.
@@ -271,7 +272,7 @@ def get_project_output(project: Optional[pulumi.Input[str]] = None,
271
272
  ```
272
273
 
273
274
 
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.
275
+ :param builtins.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.
275
276
  """
276
277
  __args__ = dict()
277
278
  __args__['project'] = project
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -45,7 +46,7 @@ class GetProjectUserResult:
45
46
 
46
47
  @property
47
48
  @pulumi.getter
48
- def accepted(self) -> bool:
49
+ def accepted(self) -> builtins.bool:
49
50
  """
50
51
  Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite.
51
52
  """
@@ -53,7 +54,7 @@ class GetProjectUserResult:
53
54
 
54
55
  @property
55
56
  @pulumi.getter
56
- def email(self) -> str:
57
+ def email(self) -> builtins.str:
57
58
  """
58
59
  Email address of the user in lowercase. Changing this property forces recreation of the resource.
59
60
  """
@@ -61,7 +62,7 @@ class GetProjectUserResult:
61
62
 
62
63
  @property
63
64
  @pulumi.getter
64
- def id(self) -> str:
65
+ def id(self) -> builtins.str:
65
66
  """
66
67
  The provider-assigned unique ID for this managed resource.
67
68
  """
@@ -69,7 +70,7 @@ class GetProjectUserResult:
69
70
 
70
71
  @property
71
72
  @pulumi.getter(name="memberType")
72
- def member_type(self) -> str:
73
+ def member_type(self) -> builtins.str:
73
74
  """
74
75
  Project membership type. The possible values are `admin`, `developer`, `operator`, `organization:app_users:write`, `organization:audit_logs:read`, `organization:billing:read`, `organization:billing:write`, `organization:domains:write`, `organization:groups:write`, `organization:idps:write`, `organization:networking:read`, `organization:networking:write`, `organization:projects: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`.
75
76
  """
@@ -77,7 +78,7 @@ class GetProjectUserResult:
77
78
 
78
79
  @property
79
80
  @pulumi.getter
80
- def project(self) -> str:
81
+ def project(self) -> builtins.str:
81
82
  """
82
83
  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.
83
84
  """
@@ -97,8 +98,8 @@ class AwaitableGetProjectUserResult(GetProjectUserResult):
97
98
  project=self.project)
98
99
 
99
100
 
100
- def get_project_user(email: Optional[str] = None,
101
- project: Optional[str] = None,
101
+ def get_project_user(email: Optional[builtins.str] = None,
102
+ project: Optional[builtins.str] = None,
102
103
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectUserResult:
103
104
  """
104
105
  The Project User data source provides information about the existing Aiven Project User.
@@ -119,8 +120,8 @@ def get_project_user(email: Optional[str] = None,
119
120
  ```
120
121
 
121
122
 
122
- :param str email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
123
- :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.
123
+ :param builtins.str email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
124
+ :param builtins.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.
124
125
  """
125
126
  __args__ = dict()
126
127
  __args__['email'] = email
@@ -134,8 +135,8 @@ def get_project_user(email: Optional[str] = None,
134
135
  id=pulumi.get(__ret__, 'id'),
135
136
  member_type=pulumi.get(__ret__, 'member_type'),
136
137
  project=pulumi.get(__ret__, 'project'))
137
- def get_project_user_output(email: Optional[pulumi.Input[str]] = None,
138
- project: Optional[pulumi.Input[str]] = None,
138
+ def get_project_user_output(email: Optional[pulumi.Input[builtins.str]] = None,
139
+ project: Optional[pulumi.Input[builtins.str]] = None,
139
140
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectUserResult]:
140
141
  """
141
142
  The Project User data source provides information about the existing Aiven Project User.
@@ -156,8 +157,8 @@ def get_project_user_output(email: Optional[pulumi.Input[str]] = None,
156
157
  ```
157
158
 
158
159
 
159
- :param str email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
160
- :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.
160
+ :param builtins.str email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
161
+ :param builtins.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.
161
162
  """
162
163
  __args__ = dict()
163
164
  __args__['email'] = email
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -48,7 +49,7 @@ class GetProjectVpcResult:
48
49
 
49
50
  @property
50
51
  @pulumi.getter(name="cloudName")
51
- def cloud_name(self) -> Optional[str]:
52
+ def cloud_name(self) -> Optional[builtins.str]:
52
53
  """
53
54
  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`.
54
55
  """
@@ -56,7 +57,7 @@ class GetProjectVpcResult:
56
57
 
57
58
  @property
58
59
  @pulumi.getter
59
- def id(self) -> str:
60
+ def id(self) -> builtins.str:
60
61
  """
61
62
  The provider-assigned unique ID for this managed resource.
62
63
  """
@@ -64,7 +65,7 @@ class GetProjectVpcResult:
64
65
 
65
66
  @property
66
67
  @pulumi.getter(name="networkCidr")
67
- def network_cidr(self) -> str:
68
+ def network_cidr(self) -> builtins.str:
68
69
  """
69
70
  Network address range used by the VPC. For example, `192.168.0.0/24`.
70
71
  """
@@ -72,7 +73,7 @@ class GetProjectVpcResult:
72
73
 
73
74
  @property
74
75
  @pulumi.getter
75
- def project(self) -> Optional[str]:
76
+ def project(self) -> Optional[builtins.str]:
76
77
  """
77
78
  Identifies the project this resource belongs to.
78
79
  """
@@ -80,7 +81,7 @@ class GetProjectVpcResult:
80
81
 
81
82
  @property
82
83
  @pulumi.getter
83
- def state(self) -> str:
84
+ def state(self) -> builtins.str:
84
85
  """
85
86
  State of the VPC. The possible values are `ACTIVE`, `APPROVED`, `DELETED` and `DELETING`.
86
87
  """
@@ -88,7 +89,7 @@ class GetProjectVpcResult:
88
89
 
89
90
  @property
90
91
  @pulumi.getter(name="vpcId")
91
- def vpc_id(self) -> Optional[str]:
92
+ def vpc_id(self) -> Optional[builtins.str]:
92
93
  """
93
94
  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.
94
95
  """
@@ -109,9 +110,9 @@ class AwaitableGetProjectVpcResult(GetProjectVpcResult):
109
110
  vpc_id=self.vpc_id)
110
111
 
111
112
 
112
- def get_project_vpc(cloud_name: Optional[str] = None,
113
- project: Optional[str] = None,
114
- vpc_id: Optional[str] = None,
113
+ def get_project_vpc(cloud_name: Optional[builtins.str] = None,
114
+ project: Optional[builtins.str] = None,
115
+ vpc_id: Optional[builtins.str] = None,
115
116
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectVpcResult:
116
117
  """
117
118
  Gets information about the VPC for an Aiven project.
@@ -127,9 +128,9 @@ def get_project_vpc(cloud_name: Optional[str] = None,
127
128
  ```
128
129
 
129
130
 
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`.
131
- :param str project: Identifies the project this resource belongs to.
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.
131
+ :param builtins.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`.
132
+ :param builtins.str project: Identifies the project this resource belongs to.
133
+ :param builtins.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.
133
134
  """
134
135
  __args__ = dict()
135
136
  __args__['cloudName'] = cloud_name
@@ -145,9 +146,9 @@ def get_project_vpc(cloud_name: Optional[str] = None,
145
146
  project=pulumi.get(__ret__, 'project'),
146
147
  state=pulumi.get(__ret__, 'state'),
147
148
  vpc_id=pulumi.get(__ret__, 'vpc_id'))
148
- def get_project_vpc_output(cloud_name: Optional[pulumi.Input[Optional[str]]] = None,
149
- project: Optional[pulumi.Input[Optional[str]]] = None,
150
- vpc_id: Optional[pulumi.Input[Optional[str]]] = None,
149
+ def get_project_vpc_output(cloud_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
150
+ project: Optional[pulumi.Input[Optional[builtins.str]]] = None,
151
+ vpc_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
151
152
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetProjectVpcResult]:
152
153
  """
153
154
  Gets information about the VPC for an Aiven project.
@@ -163,9 +164,9 @@ def get_project_vpc_output(cloud_name: Optional[pulumi.Input[Optional[str]]] = N
163
164
  ```
164
165
 
165
166
 
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
- :param str project: Identifies the project this resource belongs to.
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.
167
+ :param builtins.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`.
168
+ :param builtins.str project: Identifies the project this resource belongs to.
169
+ :param builtins.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
170
  """
170
171
  __args__ = dict()
171
172
  __args__['cloudName'] = cloud_name
pulumi_aiven/get_redis.py CHANGED
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -118,15 +119,15 @@ class GetRedisResult:
118
119
 
119
120
  @property
120
121
  @pulumi.getter(name="additionalDiskSpace")
121
- def additional_disk_space(self) -> str:
122
+ def additional_disk_space(self) -> builtins.str:
122
123
  """
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
+ 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 without an autoscaler integration or high availability capabilities. The field can be safely removed when autoscaler is enabled without causing any changes.
124
125
  """
125
126
  return pulumi.get(self, "additional_disk_space")
126
127
 
127
128
  @property
128
129
  @pulumi.getter(name="cloudName")
129
- def cloud_name(self) -> str:
130
+ def cloud_name(self) -> builtins.str:
130
131
  """
131
132
  The cloud provider and region the service is hosted in. The format is `provider-region`, for example: `google-europe-west1`. The [available cloud regions](https://aiven.io/docs/platform/reference/list_of_clouds) can differ per project and service. Changing this value [migrates the service to another cloud provider or region](https://aiven.io/docs/platform/howto/migrate-services-cloud-region). The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
132
133
  """
@@ -142,7 +143,7 @@ class GetRedisResult:
142
143
 
143
144
  @property
144
145
  @pulumi.getter(name="diskSpace")
145
- def disk_space(self) -> str:
146
+ def disk_space(self) -> builtins.str:
146
147
  """
147
148
  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
  """
@@ -150,7 +151,7 @@ class GetRedisResult:
150
151
 
151
152
  @property
152
153
  @pulumi.getter(name="diskSpaceCap")
153
- def disk_space_cap(self) -> str:
154
+ def disk_space_cap(self) -> builtins.str:
154
155
  """
155
156
  The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
156
157
  """
@@ -158,7 +159,7 @@ class GetRedisResult:
158
159
 
159
160
  @property
160
161
  @pulumi.getter(name="diskSpaceDefault")
161
- def disk_space_default(self) -> str:
162
+ def disk_space_default(self) -> builtins.str:
162
163
  """
163
164
  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
  """
@@ -166,7 +167,7 @@ class GetRedisResult:
166
167
 
167
168
  @property
168
169
  @pulumi.getter(name="diskSpaceStep")
169
- def disk_space_step(self) -> str:
170
+ def disk_space_step(self) -> builtins.str:
170
171
  """
171
172
  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
  """
@@ -174,7 +175,7 @@ class GetRedisResult:
174
175
 
175
176
  @property
176
177
  @pulumi.getter(name="diskSpaceUsed")
177
- def disk_space_used(self) -> str:
178
+ def disk_space_used(self) -> builtins.str:
178
179
  """
179
180
  Disk space that service is currently using
180
181
  """
@@ -182,7 +183,7 @@ class GetRedisResult:
182
183
 
183
184
  @property
184
185
  @pulumi.getter
185
- def id(self) -> str:
186
+ def id(self) -> builtins.str:
186
187
  """
187
188
  The provider-assigned unique ID for this managed resource.
188
189
  """
@@ -190,7 +191,7 @@ class GetRedisResult:
190
191
 
191
192
  @property
192
193
  @pulumi.getter(name="maintenanceWindowDow")
193
- def maintenance_window_dow(self) -> str:
194
+ def maintenance_window_dow(self) -> builtins.str:
194
195
  """
195
196
  Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
196
197
  """
@@ -198,7 +199,7 @@ class GetRedisResult:
198
199
 
199
200
  @property
200
201
  @pulumi.getter(name="maintenanceWindowTime")
201
- def maintenance_window_time(self) -> str:
202
+ def maintenance_window_time(self) -> builtins.str:
202
203
  """
203
204
  Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
204
205
  """
@@ -206,7 +207,7 @@ class GetRedisResult:
206
207
 
207
208
  @property
208
209
  @pulumi.getter
209
- def plan(self) -> str:
210
+ def plan(self) -> builtins.str:
210
211
  """
211
212
  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).
212
213
  """
@@ -214,7 +215,7 @@ class GetRedisResult:
214
215
 
215
216
  @property
216
217
  @pulumi.getter
217
- def project(self) -> str:
218
+ def project(self) -> builtins.str:
218
219
  """
219
220
  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.
220
221
  """
@@ -222,7 +223,7 @@ class GetRedisResult:
222
223
 
223
224
  @property
224
225
  @pulumi.getter(name="projectVpcId")
225
- def project_vpc_id(self) -> str:
226
+ def project_vpc_id(self) -> builtins.str:
226
227
  """
227
228
  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.
228
229
  """
@@ -246,7 +247,7 @@ class GetRedisResult:
246
247
 
247
248
  @property
248
249
  @pulumi.getter(name="serviceHost")
249
- def service_host(self) -> str:
250
+ def service_host(self) -> builtins.str:
250
251
  """
251
252
  The hostname of the service.
252
253
  """
@@ -262,7 +263,7 @@ class GetRedisResult:
262
263
 
263
264
  @property
264
265
  @pulumi.getter(name="serviceName")
265
- def service_name(self) -> str:
266
+ def service_name(self) -> builtins.str:
266
267
  """
267
268
  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
  """
@@ -270,7 +271,7 @@ class GetRedisResult:
270
271
 
271
272
  @property
272
273
  @pulumi.getter(name="servicePassword")
273
- def service_password(self) -> str:
274
+ def service_password(self) -> builtins.str:
274
275
  """
275
276
  Password used for connecting to the service, if applicable
276
277
  """
@@ -278,7 +279,7 @@ class GetRedisResult:
278
279
 
279
280
  @property
280
281
  @pulumi.getter(name="servicePort")
281
- def service_port(self) -> int:
282
+ def service_port(self) -> builtins.int:
282
283
  """
283
284
  The port of the service
284
285
  """
@@ -286,7 +287,7 @@ class GetRedisResult:
286
287
 
287
288
  @property
288
289
  @pulumi.getter(name="serviceType")
289
- def service_type(self) -> str:
290
+ def service_type(self) -> builtins.str:
290
291
  """
291
292
  Aiven internal service type code
292
293
  """
@@ -294,7 +295,7 @@ class GetRedisResult:
294
295
 
295
296
  @property
296
297
  @pulumi.getter(name="serviceUri")
297
- def service_uri(self) -> str:
298
+ def service_uri(self) -> builtins.str:
298
299
  """
299
300
  URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
300
301
  """
@@ -302,7 +303,7 @@ class GetRedisResult:
302
303
 
303
304
  @property
304
305
  @pulumi.getter(name="serviceUsername")
305
- def service_username(self) -> str:
306
+ def service_username(self) -> builtins.str:
306
307
  """
307
308
  Username used for connecting to the service, if applicable
308
309
  """
@@ -310,15 +311,12 @@ class GetRedisResult:
310
311
 
311
312
  @property
312
313
  @pulumi.getter
313
- def state(self) -> str:
314
- """
315
- Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
316
- """
314
+ def state(self) -> builtins.str:
317
315
  return pulumi.get(self, "state")
318
316
 
319
317
  @property
320
318
  @pulumi.getter(name="staticIps")
321
- def static_ips(self) -> Sequence[str]:
319
+ def static_ips(self) -> Sequence[builtins.str]:
322
320
  """
323
321
  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
322
  """
@@ -342,7 +340,7 @@ class GetRedisResult:
342
340
 
343
341
  @property
344
342
  @pulumi.getter(name="terminationProtection")
345
- def termination_protection(self) -> bool:
343
+ def termination_protection(self) -> builtins.bool:
346
344
  """
347
345
  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
346
  """
@@ -386,8 +384,8 @@ class AwaitableGetRedisResult(GetRedisResult):
386
384
  termination_protection=self.termination_protection)
387
385
 
388
386
 
389
- def get_redis(project: Optional[str] = None,
390
- service_name: Optional[str] = None,
387
+ def get_redis(project: Optional[builtins.str] = None,
388
+ service_name: Optional[builtins.str] = None,
391
389
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRedisResult:
392
390
  """
393
391
  The Redis data source provides information about the existing Aiven Redis service.
@@ -411,8 +409,8 @@ def get_redis(project: Optional[str] = None,
411
409
  ```
412
410
 
413
411
 
414
- :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.
415
- :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.
412
+ :param builtins.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.
413
+ :param builtins.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.
416
414
  """
417
415
  __args__ = dict()
418
416
  __args__['project'] = project
@@ -450,8 +448,8 @@ def get_redis(project: Optional[str] = None,
450
448
  tags=pulumi.get(__ret__, 'tags'),
451
449
  tech_emails=pulumi.get(__ret__, 'tech_emails'),
452
450
  termination_protection=pulumi.get(__ret__, 'termination_protection'))
453
- def get_redis_output(project: Optional[pulumi.Input[str]] = None,
454
- service_name: Optional[pulumi.Input[str]] = None,
451
+ def get_redis_output(project: Optional[pulumi.Input[builtins.str]] = None,
452
+ service_name: Optional[pulumi.Input[builtins.str]] = None,
455
453
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRedisResult]:
456
454
  """
457
455
  The Redis data source provides information about the existing Aiven Redis service.
@@ -475,8 +473,8 @@ def get_redis_output(project: Optional[pulumi.Input[str]] = None,
475
473
  ```
476
474
 
477
475
 
478
- :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.
479
- :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.
476
+ :param builtins.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.
477
+ :param builtins.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.
480
478
  """
481
479
  __args__ = dict()
482
480
  __args__['project'] = project