pulumi-aiven 6.13.0a1711361534__py3-none-any.whl → 6.14.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/_inputs.py +200 -262
- pulumi_aiven/account.py +2 -6
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +6 -10
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +18 -22
- pulumi_aiven/aws_vpc_peering_connection.py +8 -12
- pulumi_aiven/azure_privatelink.py +18 -22
- pulumi_aiven/azure_privatelink_connection_approval.py +112 -14
- pulumi_aiven/azure_vpc_peering_connection.py +6 -10
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +25 -57
- pulumi_aiven/cassandra_user.py +18 -22
- pulumi_aiven/clickhouse.py +25 -57
- pulumi_aiven/clickhouse_database.py +24 -26
- pulumi_aiven/clickhouse_grant.py +35 -37
- pulumi_aiven/clickhouse_role.py +16 -20
- pulumi_aiven/clickhouse_user.py +18 -22
- pulumi_aiven/connection_pool.py +24 -28
- pulumi_aiven/dragonfly.py +124 -263
- pulumi_aiven/flink.py +32 -36
- pulumi_aiven/flink_application.py +22 -24
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +96 -14
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +4 -8
- pulumi_aiven/get_account.py +0 -4
- pulumi_aiven/get_aws_privatelink.py +10 -14
- pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
- pulumi_aiven/get_azure_privatelink.py +10 -14
- pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +7 -24
- pulumi_aiven/get_cassandra.py +7 -24
- pulumi_aiven/get_cassandra_user.py +10 -14
- pulumi_aiven/get_clickhouse.py +7 -24
- pulumi_aiven/get_clickhouse_database.py +10 -14
- pulumi_aiven/get_clickhouse_user.py +10 -14
- pulumi_aiven/get_connection_pool.py +10 -14
- pulumi_aiven/get_dragonfly.py +27 -20
- pulumi_aiven/get_flink.py +6 -10
- pulumi_aiven/get_flink_application.py +8 -12
- pulumi_aiven/get_flink_application_version.py +8 -12
- pulumi_aiven/get_gcp_vpc_peering_connection.py +2 -6
- pulumi_aiven/get_grafana.py +7 -24
- pulumi_aiven/get_kafka.py +13 -17
- pulumi_aiven/get_kafka_acl.py +10 -14
- pulumi_aiven/get_kafka_connect.py +7 -24
- pulumi_aiven/get_kafka_connector.py +10 -14
- pulumi_aiven/get_kafka_mirror_maker.py +7 -24
- pulumi_aiven/get_kafka_schema.py +10 -14
- pulumi_aiven/get_kafka_schema_configuration.py +10 -14
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +16 -20
- pulumi_aiven/get_kafka_user.py +10 -14
- pulumi_aiven/get_m3_aggregator.py +7 -24
- pulumi_aiven/get_m3_db.py +7 -24
- pulumi_aiven/get_m3db_user.py +10 -14
- pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
- pulumi_aiven/get_my_sql.py +7 -24
- pulumi_aiven/get_mysql_database.py +10 -14
- pulumi_aiven/get_mysql_user.py +10 -14
- pulumi_aiven/get_open_search.py +6 -10
- pulumi_aiven/get_open_search_acl_config.py +10 -14
- pulumi_aiven/get_open_search_acl_rule.py +10 -14
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
- pulumi_aiven/get_opensearch_user.py +10 -14
- pulumi_aiven/get_organization.py +0 -4
- pulumi_aiven/get_organization_user_group.py +2 -6
- pulumi_aiven/get_pg.py +6 -10
- pulumi_aiven/get_pg_database.py +10 -14
- pulumi_aiven/get_pg_user.py +10 -14
- pulumi_aiven/get_project.py +17 -21
- pulumi_aiven/get_project_user.py +9 -13
- pulumi_aiven/get_project_vpc.py +2 -6
- pulumi_aiven/get_redis.py +7 -24
- pulumi_aiven/get_redis_user.py +10 -14
- pulumi_aiven/get_service_component.py +4 -8
- pulumi_aiven/get_service_integration.py +19 -33
- pulumi_aiven/get_service_integration_endpoint.py +2 -6
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
- pulumi_aiven/grafana.py +82 -267
- pulumi_aiven/influx_db.py +21 -21
- pulumi_aiven/influxdb_database.py +21 -21
- pulumi_aiven/influxdb_user.py +21 -21
- pulumi_aiven/kafka.py +50 -54
- pulumi_aiven/kafka_acl.py +20 -24
- pulumi_aiven/kafka_connect.py +80 -267
- pulumi_aiven/kafka_connector.py +26 -30
- pulumi_aiven/kafka_mirror_maker.py +80 -267
- pulumi_aiven/kafka_schema.py +18 -22
- pulumi_aiven/kafka_schema_configuration.py +20 -24
- pulumi_aiven/kafka_schema_registry_acl.py +54 -14
- pulumi_aiven/kafka_topic.py +84 -46
- pulumi_aiven/kafka_user.py +18 -22
- pulumi_aiven/m3_aggregator.py +80 -267
- pulumi_aiven/m3_db.py +80 -267
- pulumi_aiven/m3db_user.py +16 -20
- pulumi_aiven/mirror_maker_replication_flow.py +22 -26
- pulumi_aiven/my_sql.py +80 -267
- pulumi_aiven/mysql_database.py +20 -24
- pulumi_aiven/mysql_user.py +18 -22
- pulumi_aiven/open_search.py +27 -31
- pulumi_aiven/open_search_acl_config.py +28 -36
- pulumi_aiven/open_search_acl_rule.py +36 -40
- pulumi_aiven/opensearch_security_plugin_config.py +28 -32
- pulumi_aiven/opensearch_user.py +18 -22
- pulumi_aiven/organization.py +2 -6
- pulumi_aiven/organization_group_project.py +46 -0
- pulumi_aiven/organization_user.py +2 -20
- pulumi_aiven/organization_user_group.py +4 -6
- pulumi_aiven/organization_user_group_member.py +8 -10
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +271 -390
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +20 -24
- pulumi_aiven/pg_user.py +18 -22
- pulumi_aiven/project.py +75 -79
- pulumi_aiven/project_user.py +24 -28
- pulumi_aiven/project_vpc.py +31 -7
- pulumi_aiven/redis.py +80 -267
- pulumi_aiven/redis_user.py +18 -22
- pulumi_aiven/service_integration.py +54 -58
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +4 -8
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0.dist-info/RECORD +150 -0
- pulumi_aiven-6.13.0a1711361534.dist-info/RECORD +0 -150
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
|
@@ -124,15 +124,13 @@ def get_organization_user_group(name: Optional[str] = None,
|
|
|
124
124
|
|
|
125
125
|
## Example Usage
|
|
126
126
|
|
|
127
|
-
<!--Start PulumiCodeChooser -->
|
|
128
127
|
```python
|
|
129
128
|
import pulumi
|
|
130
129
|
import pulumi_aiven as aiven
|
|
131
130
|
|
|
132
131
|
example = aiven.get_organization_user_group(name="Example group",
|
|
133
|
-
organization_id=
|
|
132
|
+
organization_id=main["id"])
|
|
134
133
|
```
|
|
135
|
-
<!--End PulumiCodeChooser -->
|
|
136
134
|
|
|
137
135
|
|
|
138
136
|
:param str name: The name of the user group. Changing this property forces recreation of the resource.
|
|
@@ -163,15 +161,13 @@ def get_organization_user_group_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
163
161
|
|
|
164
162
|
## Example Usage
|
|
165
163
|
|
|
166
|
-
<!--Start PulumiCodeChooser -->
|
|
167
164
|
```python
|
|
168
165
|
import pulumi
|
|
169
166
|
import pulumi_aiven as aiven
|
|
170
167
|
|
|
171
168
|
example = aiven.get_organization_user_group(name="Example group",
|
|
172
|
-
organization_id=
|
|
169
|
+
organization_id=main["id"])
|
|
173
170
|
```
|
|
174
|
-
<!--End PulumiCodeChooser -->
|
|
175
171
|
|
|
176
172
|
|
|
177
173
|
:param str name: The name of the user group. Changing this property forces recreation of the resource.
|
pulumi_aiven/get_pg.py
CHANGED
|
@@ -227,7 +227,7 @@ class GetPgResult:
|
|
|
227
227
|
@pulumi.getter
|
|
228
228
|
def project(self) -> str:
|
|
229
229
|
"""
|
|
230
|
-
|
|
230
|
+
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.
|
|
231
231
|
"""
|
|
232
232
|
return pulumi.get(self, "project")
|
|
233
233
|
|
|
@@ -331,7 +331,7 @@ class GetPgResult:
|
|
|
331
331
|
@pulumi.getter(name="techEmails")
|
|
332
332
|
def tech_emails(self) -> Sequence['outputs.GetPgTechEmailResult']:
|
|
333
333
|
"""
|
|
334
|
-
|
|
334
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
335
335
|
"""
|
|
336
336
|
return pulumi.get(self, "tech_emails")
|
|
337
337
|
|
|
@@ -389,18 +389,16 @@ def get_pg(project: Optional[str] = None,
|
|
|
389
389
|
|
|
390
390
|
## Example Usage
|
|
391
391
|
|
|
392
|
-
<!--Start PulumiCodeChooser -->
|
|
393
392
|
```python
|
|
394
393
|
import pulumi
|
|
395
394
|
import pulumi_aiven as aiven
|
|
396
395
|
|
|
397
|
-
pg = aiven.get_pg(project=
|
|
396
|
+
pg = aiven.get_pg(project=pr1["project"],
|
|
398
397
|
service_name="my-pg1")
|
|
399
398
|
```
|
|
400
|
-
<!--End PulumiCodeChooser -->
|
|
401
399
|
|
|
402
400
|
|
|
403
|
-
:param str project:
|
|
401
|
+
:param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
404
402
|
:param str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
405
403
|
"""
|
|
406
404
|
__args__ = dict()
|
|
@@ -450,18 +448,16 @@ def get_pg_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
450
448
|
|
|
451
449
|
## Example Usage
|
|
452
450
|
|
|
453
|
-
<!--Start PulumiCodeChooser -->
|
|
454
451
|
```python
|
|
455
452
|
import pulumi
|
|
456
453
|
import pulumi_aiven as aiven
|
|
457
454
|
|
|
458
|
-
pg = aiven.get_pg(project=
|
|
455
|
+
pg = aiven.get_pg(project=pr1["project"],
|
|
459
456
|
service_name="my-pg1")
|
|
460
457
|
```
|
|
461
|
-
<!--End PulumiCodeChooser -->
|
|
462
458
|
|
|
463
459
|
|
|
464
|
-
:param str project:
|
|
460
|
+
:param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
465
461
|
:param str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
466
462
|
"""
|
|
467
463
|
...
|
pulumi_aiven/get_pg_database.py
CHANGED
|
@@ -80,7 +80,7 @@ class GetPgDatabaseResult:
|
|
|
80
80
|
@pulumi.getter
|
|
81
81
|
def project(self) -> str:
|
|
82
82
|
"""
|
|
83
|
-
|
|
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.
|
|
84
84
|
"""
|
|
85
85
|
return pulumi.get(self, "project")
|
|
86
86
|
|
|
@@ -88,7 +88,7 @@ class GetPgDatabaseResult:
|
|
|
88
88
|
@pulumi.getter(name="serviceName")
|
|
89
89
|
def service_name(self) -> str:
|
|
90
90
|
"""
|
|
91
|
-
|
|
91
|
+
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.
|
|
92
92
|
"""
|
|
93
93
|
return pulumi.get(self, "service_name")
|
|
94
94
|
|
|
@@ -122,21 +122,19 @@ def get_pg_database(database_name: Optional[str] = None,
|
|
|
122
122
|
|
|
123
123
|
## Example Usage
|
|
124
124
|
|
|
125
|
-
<!--Start PulumiCodeChooser -->
|
|
126
125
|
```python
|
|
127
126
|
import pulumi
|
|
128
127
|
import pulumi_aiven as aiven
|
|
129
128
|
|
|
130
|
-
mydatabase = aiven.get_pg_database(project=
|
|
131
|
-
service_name=
|
|
129
|
+
mydatabase = aiven.get_pg_database(project=myproject["project"],
|
|
130
|
+
service_name=mypg["serviceName"],
|
|
132
131
|
database_name="<DATABASE_NAME>")
|
|
133
132
|
```
|
|
134
|
-
<!--End PulumiCodeChooser -->
|
|
135
133
|
|
|
136
134
|
|
|
137
135
|
:param str database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
138
|
-
:param str project:
|
|
139
|
-
:param str service_name:
|
|
136
|
+
: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.
|
|
137
|
+
: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.
|
|
140
138
|
"""
|
|
141
139
|
__args__ = dict()
|
|
142
140
|
__args__['databaseName'] = database_name
|
|
@@ -165,20 +163,18 @@ def get_pg_database_output(database_name: Optional[pulumi.Input[str]] = None,
|
|
|
165
163
|
|
|
166
164
|
## Example Usage
|
|
167
165
|
|
|
168
|
-
<!--Start PulumiCodeChooser -->
|
|
169
166
|
```python
|
|
170
167
|
import pulumi
|
|
171
168
|
import pulumi_aiven as aiven
|
|
172
169
|
|
|
173
|
-
mydatabase = aiven.get_pg_database(project=
|
|
174
|
-
service_name=
|
|
170
|
+
mydatabase = aiven.get_pg_database(project=myproject["project"],
|
|
171
|
+
service_name=mypg["serviceName"],
|
|
175
172
|
database_name="<DATABASE_NAME>")
|
|
176
173
|
```
|
|
177
|
-
<!--End PulumiCodeChooser -->
|
|
178
174
|
|
|
179
175
|
|
|
180
176
|
:param str database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
181
|
-
:param str project:
|
|
182
|
-
:param str service_name:
|
|
177
|
+
: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.
|
|
178
|
+
: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.
|
|
183
179
|
"""
|
|
184
180
|
...
|
pulumi_aiven/get_pg_user.py
CHANGED
|
@@ -94,7 +94,7 @@ class GetPgUserResult:
|
|
|
94
94
|
@pulumi.getter
|
|
95
95
|
def project(self) -> str:
|
|
96
96
|
"""
|
|
97
|
-
|
|
97
|
+
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
98
|
"""
|
|
99
99
|
return pulumi.get(self, "project")
|
|
100
100
|
|
|
@@ -102,7 +102,7 @@ class GetPgUserResult:
|
|
|
102
102
|
@pulumi.getter(name="serviceName")
|
|
103
103
|
def service_name(self) -> str:
|
|
104
104
|
"""
|
|
105
|
-
|
|
105
|
+
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
106
|
"""
|
|
107
107
|
return pulumi.get(self, "service_name")
|
|
108
108
|
|
|
@@ -149,20 +149,18 @@ def get_pg_user(project: Optional[str] = None,
|
|
|
149
149
|
|
|
150
150
|
## Example Usage
|
|
151
151
|
|
|
152
|
-
<!--Start PulumiCodeChooser -->
|
|
153
152
|
```python
|
|
154
153
|
import pulumi
|
|
155
154
|
import pulumi_aiven as aiven
|
|
156
155
|
|
|
157
|
-
user = aiven.get_pg_user(
|
|
158
|
-
|
|
156
|
+
user = aiven.get_pg_user(service_name="my-service",
|
|
157
|
+
project="my-project",
|
|
159
158
|
username="user1")
|
|
160
159
|
```
|
|
161
|
-
<!--End PulumiCodeChooser -->
|
|
162
160
|
|
|
163
161
|
|
|
164
|
-
:param str project:
|
|
165
|
-
:param str service_name:
|
|
162
|
+
: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.
|
|
163
|
+
: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.
|
|
166
164
|
:param str username: The actual name of the PG User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
167
165
|
"""
|
|
168
166
|
__args__ = dict()
|
|
@@ -194,20 +192,18 @@ def get_pg_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
194
192
|
|
|
195
193
|
## Example Usage
|
|
196
194
|
|
|
197
|
-
<!--Start PulumiCodeChooser -->
|
|
198
195
|
```python
|
|
199
196
|
import pulumi
|
|
200
197
|
import pulumi_aiven as aiven
|
|
201
198
|
|
|
202
|
-
user = aiven.get_pg_user(
|
|
203
|
-
|
|
199
|
+
user = aiven.get_pg_user(service_name="my-service",
|
|
200
|
+
project="my-project",
|
|
204
201
|
username="user1")
|
|
205
202
|
```
|
|
206
|
-
<!--End PulumiCodeChooser -->
|
|
207
203
|
|
|
208
204
|
|
|
209
|
-
:param str project:
|
|
210
|
-
:param str service_name:
|
|
205
|
+
: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.
|
|
206
|
+
: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.
|
|
211
207
|
:param str username: The actual name of the PG User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
212
208
|
"""
|
|
213
209
|
...
|
pulumi_aiven/get_project.py
CHANGED
|
@@ -73,7 +73,7 @@ class GetProjectResult:
|
|
|
73
73
|
@pulumi.getter(name="accountId")
|
|
74
74
|
def account_id(self) -> str:
|
|
75
75
|
"""
|
|
76
|
-
|
|
76
|
+
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
77
|
"""
|
|
78
78
|
return pulumi.get(self, "account_id")
|
|
79
79
|
|
|
@@ -89,7 +89,7 @@ class GetProjectResult:
|
|
|
89
89
|
@pulumi.getter(name="availableCredits")
|
|
90
90
|
def available_credits(self) -> str:
|
|
91
91
|
"""
|
|
92
|
-
The
|
|
92
|
+
The number of trial or promotional credits remaining for this project.
|
|
93
93
|
"""
|
|
94
94
|
return pulumi.get(self, "available_credits")
|
|
95
95
|
|
|
@@ -97,7 +97,7 @@ class GetProjectResult:
|
|
|
97
97
|
@pulumi.getter(name="billingGroup")
|
|
98
98
|
def billing_group(self) -> str:
|
|
99
99
|
"""
|
|
100
|
-
The
|
|
100
|
+
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
101
|
"""
|
|
102
102
|
return pulumi.get(self, "billing_group")
|
|
103
103
|
|
|
@@ -105,7 +105,7 @@ class GetProjectResult:
|
|
|
105
105
|
@pulumi.getter(name="caCert")
|
|
106
106
|
def ca_cert(self) -> str:
|
|
107
107
|
"""
|
|
108
|
-
The CA certificate
|
|
108
|
+
The CA certificate for the project. This is required for configuring clients that connect to certain services like Kafka.
|
|
109
109
|
"""
|
|
110
110
|
return pulumi.get(self, "ca_cert")
|
|
111
111
|
|
|
@@ -113,7 +113,7 @@ class GetProjectResult:
|
|
|
113
113
|
@pulumi.getter(name="copyFromProject")
|
|
114
114
|
def copy_from_project(self) -> str:
|
|
115
115
|
"""
|
|
116
|
-
|
|
116
|
+
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
117
|
"""
|
|
118
118
|
return pulumi.get(self, "copy_from_project")
|
|
119
119
|
|
|
@@ -121,7 +121,7 @@ class GetProjectResult:
|
|
|
121
121
|
@pulumi.getter(name="defaultCloud")
|
|
122
122
|
def default_cloud(self) -> str:
|
|
123
123
|
"""
|
|
124
|
-
|
|
124
|
+
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
125
|
"""
|
|
126
126
|
return pulumi.get(self, "default_cloud")
|
|
127
127
|
|
|
@@ -129,7 +129,7 @@ class GetProjectResult:
|
|
|
129
129
|
@pulumi.getter(name="estimatedBalance")
|
|
130
130
|
def estimated_balance(self) -> str:
|
|
131
131
|
"""
|
|
132
|
-
The
|
|
132
|
+
The monthly running estimate for this project for the current billing period.
|
|
133
133
|
"""
|
|
134
134
|
return pulumi.get(self, "estimated_balance")
|
|
135
135
|
|
|
@@ -145,7 +145,7 @@ class GetProjectResult:
|
|
|
145
145
|
@pulumi.getter(name="parentId")
|
|
146
146
|
def parent_id(self) -> str:
|
|
147
147
|
"""
|
|
148
|
-
|
|
148
|
+
Link a project to an [organization, organizational unit,](https://aiven.io/docs/platform/concepts/projects_accounts_access) or account by using its ID. To set up proper dependencies please refer to this variable as a reference.
|
|
149
149
|
"""
|
|
150
150
|
return pulumi.get(self, "parent_id")
|
|
151
151
|
|
|
@@ -153,7 +153,7 @@ class GetProjectResult:
|
|
|
153
153
|
@pulumi.getter(name="paymentMethod")
|
|
154
154
|
def payment_method(self) -> str:
|
|
155
155
|
"""
|
|
156
|
-
The
|
|
156
|
+
The payment type used for this project. For example,`card`.
|
|
157
157
|
"""
|
|
158
158
|
return pulumi.get(self, "payment_method")
|
|
159
159
|
|
|
@@ -161,7 +161,7 @@ class GetProjectResult:
|
|
|
161
161
|
@pulumi.getter
|
|
162
162
|
def project(self) -> str:
|
|
163
163
|
"""
|
|
164
|
-
|
|
164
|
+
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
165
|
"""
|
|
166
166
|
return pulumi.get(self, "project")
|
|
167
167
|
|
|
@@ -177,7 +177,7 @@ class GetProjectResult:
|
|
|
177
177
|
@pulumi.getter(name="technicalEmails")
|
|
178
178
|
def technical_emails(self) -> Sequence[str]:
|
|
179
179
|
"""
|
|
180
|
-
|
|
180
|
+
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
181
|
"""
|
|
182
182
|
return pulumi.get(self, "technical_emails")
|
|
183
183
|
|
|
@@ -216,21 +216,19 @@ class AwaitableGetProjectResult(GetProjectResult):
|
|
|
216
216
|
def get_project(project: Optional[str] = None,
|
|
217
217
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectResult:
|
|
218
218
|
"""
|
|
219
|
-
|
|
219
|
+
Gets information about an Aiven project.
|
|
220
220
|
|
|
221
221
|
## Example Usage
|
|
222
222
|
|
|
223
|
-
<!--Start PulumiCodeChooser -->
|
|
224
223
|
```python
|
|
225
224
|
import pulumi
|
|
226
225
|
import pulumi_aiven as aiven
|
|
227
226
|
|
|
228
|
-
|
|
227
|
+
example_project = aiven.get_project(project="example-project")
|
|
229
228
|
```
|
|
230
|
-
<!--End PulumiCodeChooser -->
|
|
231
229
|
|
|
232
230
|
|
|
233
|
-
:param str project:
|
|
231
|
+
: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.
|
|
234
232
|
"""
|
|
235
233
|
__args__ = dict()
|
|
236
234
|
__args__['project'] = project
|
|
@@ -259,20 +257,18 @@ def get_project(project: Optional[str] = None,
|
|
|
259
257
|
def get_project_output(project: Optional[pulumi.Input[str]] = None,
|
|
260
258
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectResult]:
|
|
261
259
|
"""
|
|
262
|
-
|
|
260
|
+
Gets information about an Aiven project.
|
|
263
261
|
|
|
264
262
|
## Example Usage
|
|
265
263
|
|
|
266
|
-
<!--Start PulumiCodeChooser -->
|
|
267
264
|
```python
|
|
268
265
|
import pulumi
|
|
269
266
|
import pulumi_aiven as aiven
|
|
270
267
|
|
|
271
|
-
|
|
268
|
+
example_project = aiven.get_project(project="example-project")
|
|
272
269
|
```
|
|
273
|
-
<!--End PulumiCodeChooser -->
|
|
274
270
|
|
|
275
271
|
|
|
276
|
-
:param str project:
|
|
272
|
+
: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.
|
|
277
273
|
"""
|
|
278
274
|
...
|
pulumi_aiven/get_project_user.py
CHANGED
|
@@ -42,7 +42,7 @@ class GetProjectUserResult:
|
|
|
42
42
|
@pulumi.getter
|
|
43
43
|
def accepted(self) -> bool:
|
|
44
44
|
"""
|
|
45
|
-
Whether the user has accepted the request to join the project
|
|
45
|
+
Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite.
|
|
46
46
|
"""
|
|
47
47
|
return pulumi.get(self, "accepted")
|
|
48
48
|
|
|
@@ -50,7 +50,7 @@ class GetProjectUserResult:
|
|
|
50
50
|
@pulumi.getter
|
|
51
51
|
def email(self) -> str:
|
|
52
52
|
"""
|
|
53
|
-
Email address of the user
|
|
53
|
+
Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
54
54
|
"""
|
|
55
55
|
return pulumi.get(self, "email")
|
|
56
56
|
|
|
@@ -74,7 +74,7 @@ class GetProjectUserResult:
|
|
|
74
74
|
@pulumi.getter
|
|
75
75
|
def project(self) -> str:
|
|
76
76
|
"""
|
|
77
|
-
|
|
77
|
+
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
78
|
"""
|
|
79
79
|
return pulumi.get(self, "project")
|
|
80
80
|
|
|
@@ -100,19 +100,17 @@ def get_project_user(email: Optional[str] = None,
|
|
|
100
100
|
|
|
101
101
|
## Example Usage
|
|
102
102
|
|
|
103
|
-
<!--Start PulumiCodeChooser -->
|
|
104
103
|
```python
|
|
105
104
|
import pulumi
|
|
106
105
|
import pulumi_aiven as aiven
|
|
107
106
|
|
|
108
|
-
mytestuser = aiven.get_project_user(project=
|
|
107
|
+
mytestuser = aiven.get_project_user(project=myproject["project"],
|
|
109
108
|
email="john.doe@example.com")
|
|
110
109
|
```
|
|
111
|
-
<!--End PulumiCodeChooser -->
|
|
112
110
|
|
|
113
111
|
|
|
114
|
-
:param str email: Email address of the user
|
|
115
|
-
:param str project:
|
|
112
|
+
:param str email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
113
|
+
: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.
|
|
116
114
|
"""
|
|
117
115
|
__args__ = dict()
|
|
118
116
|
__args__['email'] = email
|
|
@@ -137,18 +135,16 @@ def get_project_user_output(email: Optional[pulumi.Input[str]] = None,
|
|
|
137
135
|
|
|
138
136
|
## Example Usage
|
|
139
137
|
|
|
140
|
-
<!--Start PulumiCodeChooser -->
|
|
141
138
|
```python
|
|
142
139
|
import pulumi
|
|
143
140
|
import pulumi_aiven as aiven
|
|
144
141
|
|
|
145
|
-
mytestuser = aiven.get_project_user(project=
|
|
142
|
+
mytestuser = aiven.get_project_user(project=myproject["project"],
|
|
146
143
|
email="john.doe@example.com")
|
|
147
144
|
```
|
|
148
|
-
<!--End PulumiCodeChooser -->
|
|
149
145
|
|
|
150
146
|
|
|
151
|
-
:param str email: Email address of the user
|
|
152
|
-
:param str project:
|
|
147
|
+
:param str email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
148
|
+
: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.
|
|
153
149
|
"""
|
|
154
150
|
...
|
pulumi_aiven/get_project_vpc.py
CHANGED
|
@@ -113,15 +113,13 @@ def get_project_vpc(cloud_name: Optional[str] = None,
|
|
|
113
113
|
|
|
114
114
|
## Example Usage
|
|
115
115
|
|
|
116
|
-
<!--Start PulumiCodeChooser -->
|
|
117
116
|
```python
|
|
118
117
|
import pulumi
|
|
119
118
|
import pulumi_aiven as aiven
|
|
120
119
|
|
|
121
|
-
example_vpc = aiven.get_project_vpc(project=
|
|
120
|
+
example_vpc = aiven.get_project_vpc(project=example_project["project"],
|
|
122
121
|
cloud_name="google-europe-west1")
|
|
123
122
|
```
|
|
124
|
-
<!--End PulumiCodeChooser -->
|
|
125
123
|
|
|
126
124
|
|
|
127
125
|
: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`.
|
|
@@ -154,15 +152,13 @@ def get_project_vpc_output(cloud_name: Optional[pulumi.Input[Optional[str]]] = N
|
|
|
154
152
|
|
|
155
153
|
## Example Usage
|
|
156
154
|
|
|
157
|
-
<!--Start PulumiCodeChooser -->
|
|
158
155
|
```python
|
|
159
156
|
import pulumi
|
|
160
157
|
import pulumi_aiven as aiven
|
|
161
158
|
|
|
162
|
-
example_vpc = aiven.get_project_vpc(project=
|
|
159
|
+
example_vpc = aiven.get_project_vpc(project=example_project["project"],
|
|
163
160
|
cloud_name="google-europe-west1")
|
|
164
161
|
```
|
|
165
|
-
<!--End PulumiCodeChooser -->
|
|
166
162
|
|
|
167
163
|
|
|
168
164
|
: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`.
|
pulumi_aiven/get_redis.py
CHANGED
|
@@ -22,7 +22,7 @@ class GetRedisResult:
|
|
|
22
22
|
"""
|
|
23
23
|
A collection of values returned by getRedis.
|
|
24
24
|
"""
|
|
25
|
-
def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None,
|
|
25
|
+
def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, redis_user_configs=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
|
|
26
26
|
if additional_disk_space and not isinstance(additional_disk_space, str):
|
|
27
27
|
raise TypeError("Expected argument 'additional_disk_space' to be a str")
|
|
28
28
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -65,9 +65,6 @@ class GetRedisResult:
|
|
|
65
65
|
if project_vpc_id and not isinstance(project_vpc_id, str):
|
|
66
66
|
raise TypeError("Expected argument 'project_vpc_id' to be a str")
|
|
67
67
|
pulumi.set(__self__, "project_vpc_id", project_vpc_id)
|
|
68
|
-
if redis and not isinstance(redis, list):
|
|
69
|
-
raise TypeError("Expected argument 'redis' to be a list")
|
|
70
|
-
pulumi.set(__self__, "redis", redis)
|
|
71
68
|
if redis_user_configs and not isinstance(redis_user_configs, list):
|
|
72
69
|
raise TypeError("Expected argument 'redis_user_configs' to be a list")
|
|
73
70
|
pulumi.set(__self__, "redis_user_configs", redis_user_configs)
|
|
@@ -211,7 +208,7 @@ class GetRedisResult:
|
|
|
211
208
|
@pulumi.getter
|
|
212
209
|
def project(self) -> str:
|
|
213
210
|
"""
|
|
214
|
-
|
|
211
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
215
212
|
"""
|
|
216
213
|
return pulumi.get(self, "project")
|
|
217
214
|
|
|
@@ -223,14 +220,6 @@ class GetRedisResult:
|
|
|
223
220
|
"""
|
|
224
221
|
return pulumi.get(self, "project_vpc_id")
|
|
225
222
|
|
|
226
|
-
@property
|
|
227
|
-
@pulumi.getter
|
|
228
|
-
def redis(self) -> Sequence['outputs.GetRedisRediResult']:
|
|
229
|
-
"""
|
|
230
|
-
Redis server provided values
|
|
231
|
-
"""
|
|
232
|
-
return pulumi.get(self, "redis")
|
|
233
|
-
|
|
234
223
|
@property
|
|
235
224
|
@pulumi.getter(name="redisUserConfigs")
|
|
236
225
|
def redis_user_configs(self) -> Sequence['outputs.GetRedisRedisUserConfigResult']:
|
|
@@ -331,7 +320,7 @@ class GetRedisResult:
|
|
|
331
320
|
@pulumi.getter(name="techEmails")
|
|
332
321
|
def tech_emails(self) -> Sequence['outputs.GetRedisTechEmailResult']:
|
|
333
322
|
"""
|
|
334
|
-
|
|
323
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
335
324
|
"""
|
|
336
325
|
return pulumi.get(self, "tech_emails")
|
|
337
326
|
|
|
@@ -364,7 +353,6 @@ class AwaitableGetRedisResult(GetRedisResult):
|
|
|
364
353
|
plan=self.plan,
|
|
365
354
|
project=self.project,
|
|
366
355
|
project_vpc_id=self.project_vpc_id,
|
|
367
|
-
redis=self.redis,
|
|
368
356
|
redis_user_configs=self.redis_user_configs,
|
|
369
357
|
service_host=self.service_host,
|
|
370
358
|
service_integrations=self.service_integrations,
|
|
@@ -389,18 +377,16 @@ def get_redis(project: Optional[str] = None,
|
|
|
389
377
|
|
|
390
378
|
## Example Usage
|
|
391
379
|
|
|
392
|
-
<!--Start PulumiCodeChooser -->
|
|
393
380
|
```python
|
|
394
381
|
import pulumi
|
|
395
382
|
import pulumi_aiven as aiven
|
|
396
383
|
|
|
397
|
-
redis1 = aiven.get_redis(project=
|
|
384
|
+
redis1 = aiven.get_redis(project=pr1["project"],
|
|
398
385
|
service_name="my-redis1")
|
|
399
386
|
```
|
|
400
|
-
<!--End PulumiCodeChooser -->
|
|
401
387
|
|
|
402
388
|
|
|
403
|
-
:param str project:
|
|
389
|
+
:param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
404
390
|
:param str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
405
391
|
"""
|
|
406
392
|
__args__ = dict()
|
|
@@ -424,7 +410,6 @@ def get_redis(project: Optional[str] = None,
|
|
|
424
410
|
plan=pulumi.get(__ret__, 'plan'),
|
|
425
411
|
project=pulumi.get(__ret__, 'project'),
|
|
426
412
|
project_vpc_id=pulumi.get(__ret__, 'project_vpc_id'),
|
|
427
|
-
redis=pulumi.get(__ret__, 'redis'),
|
|
428
413
|
redis_user_configs=pulumi.get(__ret__, 'redis_user_configs'),
|
|
429
414
|
service_host=pulumi.get(__ret__, 'service_host'),
|
|
430
415
|
service_integrations=pulumi.get(__ret__, 'service_integrations'),
|
|
@@ -450,18 +435,16 @@ def get_redis_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
450
435
|
|
|
451
436
|
## Example Usage
|
|
452
437
|
|
|
453
|
-
<!--Start PulumiCodeChooser -->
|
|
454
438
|
```python
|
|
455
439
|
import pulumi
|
|
456
440
|
import pulumi_aiven as aiven
|
|
457
441
|
|
|
458
|
-
redis1 = aiven.get_redis(project=
|
|
442
|
+
redis1 = aiven.get_redis(project=pr1["project"],
|
|
459
443
|
service_name="my-redis1")
|
|
460
444
|
```
|
|
461
|
-
<!--End PulumiCodeChooser -->
|
|
462
445
|
|
|
463
446
|
|
|
464
|
-
:param str project:
|
|
447
|
+
:param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
465
448
|
:param str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
466
449
|
"""
|
|
467
450
|
...
|