pulumi-aiven 6.14.0__py3-none-any.whl → 6.14.0a1711516617__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 +262 -200
- pulumi_aiven/account.py +6 -2
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +10 -6
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +22 -18
- pulumi_aiven/aws_vpc_peering_connection.py +12 -8
- pulumi_aiven/azure_privatelink.py +22 -18
- pulumi_aiven/azure_privatelink_connection_approval.py +14 -112
- pulumi_aiven/azure_vpc_peering_connection.py +10 -6
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +57 -25
- pulumi_aiven/cassandra_user.py +22 -18
- pulumi_aiven/clickhouse.py +57 -25
- pulumi_aiven/clickhouse_database.py +26 -24
- pulumi_aiven/clickhouse_grant.py +37 -35
- pulumi_aiven/clickhouse_role.py +20 -16
- pulumi_aiven/clickhouse_user.py +22 -18
- pulumi_aiven/connection_pool.py +28 -24
- pulumi_aiven/dragonfly.py +263 -124
- pulumi_aiven/flink.py +36 -32
- pulumi_aiven/flink_application.py +24 -22
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +14 -96
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +8 -4
- pulumi_aiven/get_account.py +4 -0
- pulumi_aiven/get_aws_privatelink.py +14 -10
- pulumi_aiven/get_aws_vpc_peering_connection.py +10 -6
- pulumi_aiven/get_azure_privatelink.py +14 -10
- pulumi_aiven/get_azure_vpc_peering_connection.py +6 -2
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +24 -7
- pulumi_aiven/get_cassandra.py +24 -7
- pulumi_aiven/get_cassandra_user.py +14 -10
- pulumi_aiven/get_clickhouse.py +24 -7
- pulumi_aiven/get_clickhouse_database.py +14 -10
- pulumi_aiven/get_clickhouse_user.py +14 -10
- pulumi_aiven/get_connection_pool.py +14 -10
- pulumi_aiven/get_dragonfly.py +20 -27
- pulumi_aiven/get_flink.py +10 -6
- pulumi_aiven/get_flink_application.py +12 -8
- pulumi_aiven/get_flink_application_version.py +12 -8
- pulumi_aiven/get_gcp_vpc_peering_connection.py +6 -2
- pulumi_aiven/get_grafana.py +24 -7
- pulumi_aiven/get_kafka.py +17 -13
- pulumi_aiven/get_kafka_acl.py +14 -10
- pulumi_aiven/get_kafka_connect.py +24 -7
- pulumi_aiven/get_kafka_connector.py +14 -10
- pulumi_aiven/get_kafka_mirror_maker.py +24 -7
- pulumi_aiven/get_kafka_schema.py +14 -10
- pulumi_aiven/get_kafka_schema_configuration.py +14 -10
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +20 -16
- pulumi_aiven/get_kafka_user.py +14 -10
- pulumi_aiven/get_m3_aggregator.py +24 -7
- pulumi_aiven/get_m3_db.py +24 -7
- pulumi_aiven/get_m3db_user.py +14 -10
- pulumi_aiven/get_mirror_maker_replication_flow.py +18 -14
- pulumi_aiven/get_my_sql.py +24 -7
- pulumi_aiven/get_mysql_database.py +14 -10
- pulumi_aiven/get_mysql_user.py +14 -10
- pulumi_aiven/get_open_search.py +10 -6
- pulumi_aiven/get_open_search_acl_config.py +14 -10
- pulumi_aiven/get_open_search_acl_rule.py +14 -10
- pulumi_aiven/get_opensearch_security_plugin_config.py +14 -10
- pulumi_aiven/get_opensearch_user.py +14 -10
- pulumi_aiven/get_organization.py +4 -0
- pulumi_aiven/get_organization_user_group.py +6 -2
- pulumi_aiven/get_pg.py +10 -6
- pulumi_aiven/get_pg_database.py +14 -10
- pulumi_aiven/get_pg_user.py +14 -10
- pulumi_aiven/get_project.py +21 -17
- pulumi_aiven/get_project_user.py +13 -9
- pulumi_aiven/get_project_vpc.py +6 -2
- pulumi_aiven/get_redis.py +24 -7
- pulumi_aiven/get_redis_user.py +14 -10
- pulumi_aiven/get_service_component.py +8 -4
- pulumi_aiven/get_service_integration.py +33 -19
- pulumi_aiven/get_service_integration_endpoint.py +6 -2
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +6 -2
- pulumi_aiven/grafana.py +267 -82
- 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 +54 -50
- pulumi_aiven/kafka_acl.py +24 -20
- pulumi_aiven/kafka_connect.py +267 -80
- pulumi_aiven/kafka_connector.py +30 -26
- pulumi_aiven/kafka_mirror_maker.py +267 -80
- pulumi_aiven/kafka_schema.py +22 -18
- pulumi_aiven/kafka_schema_configuration.py +24 -20
- pulumi_aiven/kafka_schema_registry_acl.py +14 -54
- pulumi_aiven/kafka_topic.py +46 -84
- pulumi_aiven/kafka_user.py +22 -18
- pulumi_aiven/m3_aggregator.py +267 -80
- pulumi_aiven/m3_db.py +267 -80
- pulumi_aiven/m3db_user.py +20 -16
- pulumi_aiven/mirror_maker_replication_flow.py +26 -22
- pulumi_aiven/my_sql.py +267 -80
- pulumi_aiven/mysql_database.py +24 -20
- pulumi_aiven/mysql_user.py +22 -18
- pulumi_aiven/open_search.py +31 -27
- pulumi_aiven/open_search_acl_config.py +36 -28
- pulumi_aiven/open_search_acl_rule.py +40 -36
- pulumi_aiven/opensearch_security_plugin_config.py +32 -28
- pulumi_aiven/opensearch_user.py +22 -18
- pulumi_aiven/organization.py +6 -2
- pulumi_aiven/organization_group_project.py +0 -46
- pulumi_aiven/organization_user.py +20 -2
- pulumi_aiven/organization_user_group.py +6 -4
- pulumi_aiven/organization_user_group_member.py +10 -8
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +390 -271
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +24 -20
- pulumi_aiven/pg_user.py +22 -18
- pulumi_aiven/project.py +79 -75
- pulumi_aiven/project_user.py +28 -24
- pulumi_aiven/project_vpc.py +7 -31
- pulumi_aiven/redis.py +267 -80
- pulumi_aiven/redis_user.py +22 -18
- pulumi_aiven/service_integration.py +58 -54
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +8 -4
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0a1711516617.dist-info/RECORD +150 -0
- pulumi_aiven-6.14.0.dist-info/RECORD +0 -150
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711516617.dist-info}/top_level.txt +0 -0
|
@@ -124,13 +124,15 @@ def get_organization_user_group(name: Optional[str] = None,
|
|
|
124
124
|
|
|
125
125
|
## Example Usage
|
|
126
126
|
|
|
127
|
+
<!--Start PulumiCodeChooser -->
|
|
127
128
|
```python
|
|
128
129
|
import pulumi
|
|
129
130
|
import pulumi_aiven as aiven
|
|
130
131
|
|
|
131
132
|
example = aiven.get_organization_user_group(name="Example group",
|
|
132
|
-
organization_id=main["id"])
|
|
133
|
+
organization_id=aiven_organization["main"]["id"])
|
|
133
134
|
```
|
|
135
|
+
<!--End PulumiCodeChooser -->
|
|
134
136
|
|
|
135
137
|
|
|
136
138
|
:param str name: The name of the user group. Changing this property forces recreation of the resource.
|
|
@@ -161,13 +163,15 @@ def get_organization_user_group_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
161
163
|
|
|
162
164
|
## Example Usage
|
|
163
165
|
|
|
166
|
+
<!--Start PulumiCodeChooser -->
|
|
164
167
|
```python
|
|
165
168
|
import pulumi
|
|
166
169
|
import pulumi_aiven as aiven
|
|
167
170
|
|
|
168
171
|
example = aiven.get_organization_user_group(name="Example group",
|
|
169
|
-
organization_id=main["id"])
|
|
172
|
+
organization_id=aiven_organization["main"]["id"])
|
|
170
173
|
```
|
|
174
|
+
<!--End PulumiCodeChooser -->
|
|
171
175
|
|
|
172
176
|
|
|
173
177
|
: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
|
+
Identifies 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
|
+
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
335
335
|
"""
|
|
336
336
|
return pulumi.get(self, "tech_emails")
|
|
337
337
|
|
|
@@ -389,16 +389,18 @@ def get_pg(project: Optional[str] = None,
|
|
|
389
389
|
|
|
390
390
|
## Example Usage
|
|
391
391
|
|
|
392
|
+
<!--Start PulumiCodeChooser -->
|
|
392
393
|
```python
|
|
393
394
|
import pulumi
|
|
394
395
|
import pulumi_aiven as aiven
|
|
395
396
|
|
|
396
|
-
pg = aiven.get_pg(project=pr1["project"],
|
|
397
|
+
pg = aiven.get_pg(project=data["aiven_project"]["pr1"]["project"],
|
|
397
398
|
service_name="my-pg1")
|
|
398
399
|
```
|
|
400
|
+
<!--End PulumiCodeChooser -->
|
|
399
401
|
|
|
400
402
|
|
|
401
|
-
:param str project:
|
|
403
|
+
:param str project: Identifies 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.
|
|
402
404
|
: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.
|
|
403
405
|
"""
|
|
404
406
|
__args__ = dict()
|
|
@@ -448,16 +450,18 @@ def get_pg_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
448
450
|
|
|
449
451
|
## Example Usage
|
|
450
452
|
|
|
453
|
+
<!--Start PulumiCodeChooser -->
|
|
451
454
|
```python
|
|
452
455
|
import pulumi
|
|
453
456
|
import pulumi_aiven as aiven
|
|
454
457
|
|
|
455
|
-
pg = aiven.get_pg(project=pr1["project"],
|
|
458
|
+
pg = aiven.get_pg(project=data["aiven_project"]["pr1"]["project"],
|
|
456
459
|
service_name="my-pg1")
|
|
457
460
|
```
|
|
461
|
+
<!--End PulumiCodeChooser -->
|
|
458
462
|
|
|
459
463
|
|
|
460
|
-
:param str project:
|
|
464
|
+
:param str project: Identifies 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.
|
|
461
465
|
: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.
|
|
462
466
|
"""
|
|
463
467
|
...
|
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
|
+
Identifies 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
|
+
Specifies 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,19 +122,21 @@ def get_pg_database(database_name: Optional[str] = None,
|
|
|
122
122
|
|
|
123
123
|
## Example Usage
|
|
124
124
|
|
|
125
|
+
<!--Start PulumiCodeChooser -->
|
|
125
126
|
```python
|
|
126
127
|
import pulumi
|
|
127
128
|
import pulumi_aiven as aiven
|
|
128
129
|
|
|
129
|
-
mydatabase = aiven.get_pg_database(project=myproject["project"],
|
|
130
|
-
service_name=mypg["
|
|
130
|
+
mydatabase = aiven.get_pg_database(project=aiven_project["myproject"]["project"],
|
|
131
|
+
service_name=aiven_pg["mypg"]["service_name"],
|
|
131
132
|
database_name="<DATABASE_NAME>")
|
|
132
133
|
```
|
|
134
|
+
<!--End PulumiCodeChooser -->
|
|
133
135
|
|
|
134
136
|
|
|
135
137
|
:param str database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
136
|
-
:param str project:
|
|
137
|
-
:param str service_name:
|
|
138
|
+
:param str project: Identifies 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.
|
|
139
|
+
: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. Changing this property forces recreation of the resource.
|
|
138
140
|
"""
|
|
139
141
|
__args__ = dict()
|
|
140
142
|
__args__['databaseName'] = database_name
|
|
@@ -163,18 +165,20 @@ def get_pg_database_output(database_name: Optional[pulumi.Input[str]] = None,
|
|
|
163
165
|
|
|
164
166
|
## Example Usage
|
|
165
167
|
|
|
168
|
+
<!--Start PulumiCodeChooser -->
|
|
166
169
|
```python
|
|
167
170
|
import pulumi
|
|
168
171
|
import pulumi_aiven as aiven
|
|
169
172
|
|
|
170
|
-
mydatabase = aiven.get_pg_database(project=myproject["project"],
|
|
171
|
-
service_name=mypg["
|
|
173
|
+
mydatabase = aiven.get_pg_database(project=aiven_project["myproject"]["project"],
|
|
174
|
+
service_name=aiven_pg["mypg"]["service_name"],
|
|
172
175
|
database_name="<DATABASE_NAME>")
|
|
173
176
|
```
|
|
177
|
+
<!--End PulumiCodeChooser -->
|
|
174
178
|
|
|
175
179
|
|
|
176
180
|
:param str database_name: The name of the service database. Changing this property forces recreation of the resource.
|
|
177
|
-
:param str project:
|
|
178
|
-
:param str service_name:
|
|
181
|
+
:param str project: Identifies 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.
|
|
182
|
+
: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. Changing this property forces recreation of the resource.
|
|
179
183
|
"""
|
|
180
184
|
...
|
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
|
+
Identifies 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
|
+
Specifies 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,18 +149,20 @@ def get_pg_user(project: Optional[str] = None,
|
|
|
149
149
|
|
|
150
150
|
## Example Usage
|
|
151
151
|
|
|
152
|
+
<!--Start PulumiCodeChooser -->
|
|
152
153
|
```python
|
|
153
154
|
import pulumi
|
|
154
155
|
import pulumi_aiven as aiven
|
|
155
156
|
|
|
156
|
-
user = aiven.get_pg_user(
|
|
157
|
-
|
|
157
|
+
user = aiven.get_pg_user(project="my-project",
|
|
158
|
+
service_name="my-service",
|
|
158
159
|
username="user1")
|
|
159
160
|
```
|
|
161
|
+
<!--End PulumiCodeChooser -->
|
|
160
162
|
|
|
161
163
|
|
|
162
|
-
:param str project:
|
|
163
|
-
:param str service_name:
|
|
164
|
+
:param str project: Identifies 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.
|
|
165
|
+
: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. Changing this property forces recreation of the resource.
|
|
164
166
|
: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.
|
|
165
167
|
"""
|
|
166
168
|
__args__ = dict()
|
|
@@ -192,18 +194,20 @@ def get_pg_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
192
194
|
|
|
193
195
|
## Example Usage
|
|
194
196
|
|
|
197
|
+
<!--Start PulumiCodeChooser -->
|
|
195
198
|
```python
|
|
196
199
|
import pulumi
|
|
197
200
|
import pulumi_aiven as aiven
|
|
198
201
|
|
|
199
|
-
user = aiven.get_pg_user(
|
|
200
|
-
|
|
202
|
+
user = aiven.get_pg_user(project="my-project",
|
|
203
|
+
service_name="my-service",
|
|
201
204
|
username="user1")
|
|
202
205
|
```
|
|
206
|
+
<!--End PulumiCodeChooser -->
|
|
203
207
|
|
|
204
208
|
|
|
205
|
-
:param str project:
|
|
206
|
-
:param str service_name:
|
|
209
|
+
:param str project: Identifies 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.
|
|
210
|
+
: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. Changing this property forces recreation of the resource.
|
|
207
211
|
: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.
|
|
208
212
|
"""
|
|
209
213
|
...
|
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
|
+
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.
|
|
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 amount of platform credits available to the project. This could be your free trial or other promotional credits.
|
|
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 that is linked to this project. 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 of 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
|
+
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.
|
|
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
|
+
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.
|
|
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 current accumulated bill for this project in 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
|
+
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.
|
|
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 method of invoicing used for payments for this project, e.g. `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
|
+
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.
|
|
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
|
+
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.
|
|
181
181
|
"""
|
|
182
182
|
return pulumi.get(self, "technical_emails")
|
|
183
183
|
|
|
@@ -216,19 +216,21 @@ class AwaitableGetProjectResult(GetProjectResult):
|
|
|
216
216
|
def get_project(project: Optional[str] = None,
|
|
217
217
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetProjectResult:
|
|
218
218
|
"""
|
|
219
|
-
|
|
219
|
+
The Project data source provides information about the existing Aiven Project.
|
|
220
220
|
|
|
221
221
|
## Example Usage
|
|
222
222
|
|
|
223
|
+
<!--Start PulumiCodeChooser -->
|
|
223
224
|
```python
|
|
224
225
|
import pulumi
|
|
225
226
|
import pulumi_aiven as aiven
|
|
226
227
|
|
|
227
|
-
|
|
228
|
+
myproject = aiven.get_project(project="<PROJECT_NAME>")
|
|
228
229
|
```
|
|
230
|
+
<!--End PulumiCodeChooser -->
|
|
229
231
|
|
|
230
232
|
|
|
231
|
-
:param str project:
|
|
233
|
+
: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.
|
|
232
234
|
"""
|
|
233
235
|
__args__ = dict()
|
|
234
236
|
__args__['project'] = project
|
|
@@ -257,18 +259,20 @@ def get_project(project: Optional[str] = None,
|
|
|
257
259
|
def get_project_output(project: Optional[pulumi.Input[str]] = None,
|
|
258
260
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProjectResult]:
|
|
259
261
|
"""
|
|
260
|
-
|
|
262
|
+
The Project data source provides information about the existing Aiven Project.
|
|
261
263
|
|
|
262
264
|
## Example Usage
|
|
263
265
|
|
|
266
|
+
<!--Start PulumiCodeChooser -->
|
|
264
267
|
```python
|
|
265
268
|
import pulumi
|
|
266
269
|
import pulumi_aiven as aiven
|
|
267
270
|
|
|
268
|
-
|
|
271
|
+
myproject = aiven.get_project(project="<PROJECT_NAME>")
|
|
269
272
|
```
|
|
273
|
+
<!--End PulumiCodeChooser -->
|
|
270
274
|
|
|
271
275
|
|
|
272
|
-
:param str project:
|
|
276
|
+
: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.
|
|
273
277
|
"""
|
|
274
278
|
...
|
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; 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.
|
|
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. Should be 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
|
+
Identifies 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,17 +100,19 @@ def get_project_user(email: Optional[str] = None,
|
|
|
100
100
|
|
|
101
101
|
## Example Usage
|
|
102
102
|
|
|
103
|
+
<!--Start PulumiCodeChooser -->
|
|
103
104
|
```python
|
|
104
105
|
import pulumi
|
|
105
106
|
import pulumi_aiven as aiven
|
|
106
107
|
|
|
107
|
-
mytestuser = aiven.get_project_user(project=myproject["project"],
|
|
108
|
+
mytestuser = aiven.get_project_user(project=aiven_project["myproject"]["project"],
|
|
108
109
|
email="john.doe@example.com")
|
|
109
110
|
```
|
|
111
|
+
<!--End PulumiCodeChooser -->
|
|
110
112
|
|
|
111
113
|
|
|
112
|
-
:param str email: Email address of the user
|
|
113
|
-
:param str project:
|
|
114
|
+
:param str email: Email address of the user. Should be lowercase. Changing this property forces recreation of the resource.
|
|
115
|
+
:param str project: Identifies 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
116
|
"""
|
|
115
117
|
__args__ = dict()
|
|
116
118
|
__args__['email'] = email
|
|
@@ -135,16 +137,18 @@ def get_project_user_output(email: Optional[pulumi.Input[str]] = None,
|
|
|
135
137
|
|
|
136
138
|
## Example Usage
|
|
137
139
|
|
|
140
|
+
<!--Start PulumiCodeChooser -->
|
|
138
141
|
```python
|
|
139
142
|
import pulumi
|
|
140
143
|
import pulumi_aiven as aiven
|
|
141
144
|
|
|
142
|
-
mytestuser = aiven.get_project_user(project=myproject["project"],
|
|
145
|
+
mytestuser = aiven.get_project_user(project=aiven_project["myproject"]["project"],
|
|
143
146
|
email="john.doe@example.com")
|
|
144
147
|
```
|
|
148
|
+
<!--End PulumiCodeChooser -->
|
|
145
149
|
|
|
146
150
|
|
|
147
|
-
:param str email: Email address of the user
|
|
148
|
-
:param str project:
|
|
151
|
+
:param str email: Email address of the user. Should be lowercase. Changing this property forces recreation of the resource.
|
|
152
|
+
:param str project: Identifies 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
153
|
"""
|
|
150
154
|
...
|
pulumi_aiven/get_project_vpc.py
CHANGED
|
@@ -113,13 +113,15 @@ def get_project_vpc(cloud_name: Optional[str] = None,
|
|
|
113
113
|
|
|
114
114
|
## Example Usage
|
|
115
115
|
|
|
116
|
+
<!--Start PulumiCodeChooser -->
|
|
116
117
|
```python
|
|
117
118
|
import pulumi
|
|
118
119
|
import pulumi_aiven as aiven
|
|
119
120
|
|
|
120
|
-
example_vpc = aiven.get_project_vpc(project=example_project["project"],
|
|
121
|
+
example_vpc = aiven.get_project_vpc(project=data["aiven_project"]["example_project"]["project"],
|
|
121
122
|
cloud_name="google-europe-west1")
|
|
122
123
|
```
|
|
124
|
+
<!--End PulumiCodeChooser -->
|
|
123
125
|
|
|
124
126
|
|
|
125
127
|
: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`.
|
|
@@ -152,13 +154,15 @@ def get_project_vpc_output(cloud_name: Optional[pulumi.Input[Optional[str]]] = N
|
|
|
152
154
|
|
|
153
155
|
## Example Usage
|
|
154
156
|
|
|
157
|
+
<!--Start PulumiCodeChooser -->
|
|
155
158
|
```python
|
|
156
159
|
import pulumi
|
|
157
160
|
import pulumi_aiven as aiven
|
|
158
161
|
|
|
159
|
-
example_vpc = aiven.get_project_vpc(project=example_project["project"],
|
|
162
|
+
example_vpc = aiven.get_project_vpc(project=data["aiven_project"]["example_project"]["project"],
|
|
160
163
|
cloud_name="google-europe-west1")
|
|
161
164
|
```
|
|
165
|
+
<!--End PulumiCodeChooser -->
|
|
162
166
|
|
|
163
167
|
|
|
164
168
|
: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, redis_user_configs=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
|
|
25
|
+
def __init__(__self__, additional_disk_space=None, cloud_name=None, components=None, disk_space=None, disk_space_cap=None, disk_space_default=None, disk_space_step=None, disk_space_used=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, redis=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,6 +65,9 @@ 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)
|
|
68
71
|
if redis_user_configs and not isinstance(redis_user_configs, list):
|
|
69
72
|
raise TypeError("Expected argument 'redis_user_configs' to be a list")
|
|
70
73
|
pulumi.set(__self__, "redis_user_configs", redis_user_configs)
|
|
@@ -208,7 +211,7 @@ class GetRedisResult:
|
|
|
208
211
|
@pulumi.getter
|
|
209
212
|
def project(self) -> str:
|
|
210
213
|
"""
|
|
211
|
-
|
|
214
|
+
Identifies 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.
|
|
212
215
|
"""
|
|
213
216
|
return pulumi.get(self, "project")
|
|
214
217
|
|
|
@@ -220,6 +223,14 @@ class GetRedisResult:
|
|
|
220
223
|
"""
|
|
221
224
|
return pulumi.get(self, "project_vpc_id")
|
|
222
225
|
|
|
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
|
+
|
|
223
234
|
@property
|
|
224
235
|
@pulumi.getter(name="redisUserConfigs")
|
|
225
236
|
def redis_user_configs(self) -> Sequence['outputs.GetRedisRedisUserConfigResult']:
|
|
@@ -320,7 +331,7 @@ class GetRedisResult:
|
|
|
320
331
|
@pulumi.getter(name="techEmails")
|
|
321
332
|
def tech_emails(self) -> Sequence['outputs.GetRedisTechEmailResult']:
|
|
322
333
|
"""
|
|
323
|
-
|
|
334
|
+
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
324
335
|
"""
|
|
325
336
|
return pulumi.get(self, "tech_emails")
|
|
326
337
|
|
|
@@ -353,6 +364,7 @@ class AwaitableGetRedisResult(GetRedisResult):
|
|
|
353
364
|
plan=self.plan,
|
|
354
365
|
project=self.project,
|
|
355
366
|
project_vpc_id=self.project_vpc_id,
|
|
367
|
+
redis=self.redis,
|
|
356
368
|
redis_user_configs=self.redis_user_configs,
|
|
357
369
|
service_host=self.service_host,
|
|
358
370
|
service_integrations=self.service_integrations,
|
|
@@ -377,16 +389,18 @@ def get_redis(project: Optional[str] = None,
|
|
|
377
389
|
|
|
378
390
|
## Example Usage
|
|
379
391
|
|
|
392
|
+
<!--Start PulumiCodeChooser -->
|
|
380
393
|
```python
|
|
381
394
|
import pulumi
|
|
382
395
|
import pulumi_aiven as aiven
|
|
383
396
|
|
|
384
|
-
redis1 = aiven.get_redis(project=pr1["project"],
|
|
397
|
+
redis1 = aiven.get_redis(project=data["aiven_project"]["pr1"]["project"],
|
|
385
398
|
service_name="my-redis1")
|
|
386
399
|
```
|
|
400
|
+
<!--End PulumiCodeChooser -->
|
|
387
401
|
|
|
388
402
|
|
|
389
|
-
:param str project:
|
|
403
|
+
:param str project: Identifies 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.
|
|
390
404
|
: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.
|
|
391
405
|
"""
|
|
392
406
|
__args__ = dict()
|
|
@@ -410,6 +424,7 @@ def get_redis(project: Optional[str] = None,
|
|
|
410
424
|
plan=pulumi.get(__ret__, 'plan'),
|
|
411
425
|
project=pulumi.get(__ret__, 'project'),
|
|
412
426
|
project_vpc_id=pulumi.get(__ret__, 'project_vpc_id'),
|
|
427
|
+
redis=pulumi.get(__ret__, 'redis'),
|
|
413
428
|
redis_user_configs=pulumi.get(__ret__, 'redis_user_configs'),
|
|
414
429
|
service_host=pulumi.get(__ret__, 'service_host'),
|
|
415
430
|
service_integrations=pulumi.get(__ret__, 'service_integrations'),
|
|
@@ -435,16 +450,18 @@ def get_redis_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
435
450
|
|
|
436
451
|
## Example Usage
|
|
437
452
|
|
|
453
|
+
<!--Start PulumiCodeChooser -->
|
|
438
454
|
```python
|
|
439
455
|
import pulumi
|
|
440
456
|
import pulumi_aiven as aiven
|
|
441
457
|
|
|
442
|
-
redis1 = aiven.get_redis(project=pr1["project"],
|
|
458
|
+
redis1 = aiven.get_redis(project=data["aiven_project"]["pr1"]["project"],
|
|
443
459
|
service_name="my-redis1")
|
|
444
460
|
```
|
|
461
|
+
<!--End PulumiCodeChooser -->
|
|
445
462
|
|
|
446
463
|
|
|
447
|
-
:param str project:
|
|
464
|
+
:param str project: Identifies 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.
|
|
448
465
|
: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.
|
|
449
466
|
"""
|
|
450
467
|
...
|