pulumi-aiven 6.14.0__py3-none-any.whl → 6.14.0a1711602990__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.0a1711602990.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0a1711602990.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.0a1711602990.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.14.0.dist-info → pulumi_aiven-6.14.0a1711602990.dist-info}/top_level.txt +0 -0
|
@@ -64,7 +64,7 @@ class GetClickhouseUserResult:
|
|
|
64
64
|
@pulumi.getter
|
|
65
65
|
def project(self) -> str:
|
|
66
66
|
"""
|
|
67
|
-
|
|
67
|
+
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.
|
|
68
68
|
"""
|
|
69
69
|
return pulumi.get(self, "project")
|
|
70
70
|
|
|
@@ -80,7 +80,7 @@ class GetClickhouseUserResult:
|
|
|
80
80
|
@pulumi.getter(name="serviceName")
|
|
81
81
|
def service_name(self) -> str:
|
|
82
82
|
"""
|
|
83
|
-
|
|
83
|
+
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.
|
|
84
84
|
"""
|
|
85
85
|
return pulumi.get(self, "service_name")
|
|
86
86
|
|
|
@@ -125,18 +125,20 @@ def get_clickhouse_user(project: Optional[str] = None,
|
|
|
125
125
|
|
|
126
126
|
## Example Usage
|
|
127
127
|
|
|
128
|
+
<!--Start PulumiCodeChooser -->
|
|
128
129
|
```python
|
|
129
130
|
import pulumi
|
|
130
131
|
import pulumi_aiven as aiven
|
|
131
132
|
|
|
132
|
-
ch_user = aiven.get_clickhouse_user(project=myproject["project"],
|
|
133
|
-
service_name=myservice["
|
|
133
|
+
ch_user = aiven.get_clickhouse_user(project=aiven_project["myproject"]["project"],
|
|
134
|
+
service_name=aiven_clickhouse["myservice"]["service_name"],
|
|
134
135
|
username="<USERNAME>")
|
|
135
136
|
```
|
|
137
|
+
<!--End PulumiCodeChooser -->
|
|
136
138
|
|
|
137
139
|
|
|
138
|
-
:param str project:
|
|
139
|
-
:param str service_name:
|
|
140
|
+
: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.
|
|
141
|
+
: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.
|
|
140
142
|
:param str username: The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
141
143
|
"""
|
|
142
144
|
__args__ = dict()
|
|
@@ -166,18 +168,20 @@ def get_clickhouse_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
166
168
|
|
|
167
169
|
## Example Usage
|
|
168
170
|
|
|
171
|
+
<!--Start PulumiCodeChooser -->
|
|
169
172
|
```python
|
|
170
173
|
import pulumi
|
|
171
174
|
import pulumi_aiven as aiven
|
|
172
175
|
|
|
173
|
-
ch_user = aiven.get_clickhouse_user(project=myproject["project"],
|
|
174
|
-
service_name=myservice["
|
|
176
|
+
ch_user = aiven.get_clickhouse_user(project=aiven_project["myproject"]["project"],
|
|
177
|
+
service_name=aiven_clickhouse["myservice"]["service_name"],
|
|
175
178
|
username="<USERNAME>")
|
|
176
179
|
```
|
|
180
|
+
<!--End PulumiCodeChooser -->
|
|
177
181
|
|
|
178
182
|
|
|
179
|
-
:param str project:
|
|
180
|
-
:param str service_name:
|
|
183
|
+
: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.
|
|
184
|
+
: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.
|
|
181
185
|
:param str username: The actual name of the Clickhouse user. Changing this property forces recreation of the resource.
|
|
182
186
|
"""
|
|
183
187
|
...
|
|
@@ -102,7 +102,7 @@ class GetConnectionPoolResult:
|
|
|
102
102
|
@pulumi.getter
|
|
103
103
|
def project(self) -> str:
|
|
104
104
|
"""
|
|
105
|
-
|
|
105
|
+
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.
|
|
106
106
|
"""
|
|
107
107
|
return pulumi.get(self, "project")
|
|
108
108
|
|
|
@@ -110,7 +110,7 @@ class GetConnectionPoolResult:
|
|
|
110
110
|
@pulumi.getter(name="serviceName")
|
|
111
111
|
def service_name(self) -> str:
|
|
112
112
|
"""
|
|
113
|
-
|
|
113
|
+
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.
|
|
114
114
|
"""
|
|
115
115
|
return pulumi.get(self, "service_name")
|
|
116
116
|
|
|
@@ -149,19 +149,21 @@ def get_connection_pool(pool_name: 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
|
-
mytestpool = aiven.get_connection_pool(project=myproject["project"],
|
|
157
|
-
service_name=mypg["
|
|
157
|
+
mytestpool = aiven.get_connection_pool(project=aiven_project["myproject"]["project"],
|
|
158
|
+
service_name=aiven_pg["mypg"]["service_name"],
|
|
158
159
|
pool_name="mypool")
|
|
159
160
|
```
|
|
161
|
+
<!--End PulumiCodeChooser -->
|
|
160
162
|
|
|
161
163
|
|
|
162
164
|
:param str pool_name: The name of the created pool. Changing this property forces recreation of the resource.
|
|
163
|
-
:param str project:
|
|
164
|
-
:param str service_name:
|
|
165
|
+
: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.
|
|
166
|
+
: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.
|
|
165
167
|
"""
|
|
166
168
|
__args__ = dict()
|
|
167
169
|
__args__['poolName'] = pool_name
|
|
@@ -192,18 +194,20 @@ def get_connection_pool_output(pool_name: 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
|
-
mytestpool = aiven.get_connection_pool(project=myproject["project"],
|
|
200
|
-
service_name=mypg["
|
|
202
|
+
mytestpool = aiven.get_connection_pool(project=aiven_project["myproject"]["project"],
|
|
203
|
+
service_name=aiven_pg["mypg"]["service_name"],
|
|
201
204
|
pool_name="mypool")
|
|
202
205
|
```
|
|
206
|
+
<!--End PulumiCodeChooser -->
|
|
203
207
|
|
|
204
208
|
|
|
205
209
|
:param str pool_name: The name of the created pool. Changing this property forces recreation of the resource.
|
|
206
|
-
:param str project:
|
|
207
|
-
:param str service_name:
|
|
210
|
+
: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.
|
|
211
|
+
: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.
|
|
208
212
|
"""
|
|
209
213
|
...
|
pulumi_aiven/get_dragonfly.py
CHANGED
|
@@ -22,7 +22,7 @@ class GetDragonflyResult:
|
|
|
22
22
|
"""
|
|
23
23
|
A collection of values returned by getDragonfly.
|
|
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, dragonfly_user_configs=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
|
|
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, dragonflies=None, dragonfly_user_configs=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
|
|
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)
|
|
@@ -47,6 +47,9 @@ class GetDragonflyResult:
|
|
|
47
47
|
if disk_space_used and not isinstance(disk_space_used, str):
|
|
48
48
|
raise TypeError("Expected argument 'disk_space_used' to be a str")
|
|
49
49
|
pulumi.set(__self__, "disk_space_used", disk_space_used)
|
|
50
|
+
if dragonflies and not isinstance(dragonflies, list):
|
|
51
|
+
raise TypeError("Expected argument 'dragonflies' to be a list")
|
|
52
|
+
pulumi.set(__self__, "dragonflies", dragonflies)
|
|
50
53
|
if dragonfly_user_configs and not isinstance(dragonfly_user_configs, list):
|
|
51
54
|
raise TypeError("Expected argument 'dragonfly_user_configs' to be a list")
|
|
52
55
|
pulumi.set(__self__, "dragonfly_user_configs", dragonfly_user_configs)
|
|
@@ -172,6 +175,14 @@ class GetDragonflyResult:
|
|
|
172
175
|
"""
|
|
173
176
|
return pulumi.get(self, "disk_space_used")
|
|
174
177
|
|
|
178
|
+
@property
|
|
179
|
+
@pulumi.getter
|
|
180
|
+
def dragonflies(self) -> Sequence['outputs.GetDragonflyDragonflyResult']:
|
|
181
|
+
"""
|
|
182
|
+
Dragonfly server provided values
|
|
183
|
+
"""
|
|
184
|
+
return pulumi.get(self, "dragonflies")
|
|
185
|
+
|
|
175
186
|
@property
|
|
176
187
|
@pulumi.getter(name="dragonflyUserConfigs")
|
|
177
188
|
def dragonfly_user_configs(self) -> Sequence['outputs.GetDragonflyDragonflyUserConfigResult']:
|
|
@@ -216,7 +227,7 @@ class GetDragonflyResult:
|
|
|
216
227
|
@pulumi.getter
|
|
217
228
|
def project(self) -> str:
|
|
218
229
|
"""
|
|
219
|
-
|
|
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.
|
|
220
231
|
"""
|
|
221
232
|
return pulumi.get(self, "project")
|
|
222
233
|
|
|
@@ -320,7 +331,7 @@ class GetDragonflyResult:
|
|
|
320
331
|
@pulumi.getter(name="techEmails")
|
|
321
332
|
def tech_emails(self) -> Sequence['outputs.GetDragonflyTechEmailResult']:
|
|
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
|
|
|
@@ -347,6 +358,7 @@ class AwaitableGetDragonflyResult(GetDragonflyResult):
|
|
|
347
358
|
disk_space_default=self.disk_space_default,
|
|
348
359
|
disk_space_step=self.disk_space_step,
|
|
349
360
|
disk_space_used=self.disk_space_used,
|
|
361
|
+
dragonflies=self.dragonflies,
|
|
350
362
|
dragonfly_user_configs=self.dragonfly_user_configs,
|
|
351
363
|
id=self.id,
|
|
352
364
|
maintenance_window_dow=self.maintenance_window_dow,
|
|
@@ -373,20 +385,10 @@ def get_dragonfly(project: Optional[str] = None,
|
|
|
373
385
|
service_name: Optional[str] = None,
|
|
374
386
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDragonflyResult:
|
|
375
387
|
"""
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
## Example Usage
|
|
388
|
+
The Dragonfly data source provides information about the existing Aiven Dragonfly service.
|
|
379
389
|
|
|
380
|
-
```python
|
|
381
|
-
import pulumi
|
|
382
|
-
import pulumi_aiven as aiven
|
|
383
390
|
|
|
384
|
-
|
|
385
|
-
service_name="example-dragonfly-service")
|
|
386
|
-
```
|
|
387
|
-
|
|
388
|
-
|
|
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.
|
|
391
|
+
: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
392
|
: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
393
|
"""
|
|
392
394
|
__args__ = dict()
|
|
@@ -404,6 +406,7 @@ def get_dragonfly(project: Optional[str] = None,
|
|
|
404
406
|
disk_space_default=pulumi.get(__ret__, 'disk_space_default'),
|
|
405
407
|
disk_space_step=pulumi.get(__ret__, 'disk_space_step'),
|
|
406
408
|
disk_space_used=pulumi.get(__ret__, 'disk_space_used'),
|
|
409
|
+
dragonflies=pulumi.get(__ret__, 'dragonflies'),
|
|
407
410
|
dragonfly_user_configs=pulumi.get(__ret__, 'dragonfly_user_configs'),
|
|
408
411
|
id=pulumi.get(__ret__, 'id'),
|
|
409
412
|
maintenance_window_dow=pulumi.get(__ret__, 'maintenance_window_dow'),
|
|
@@ -431,20 +434,10 @@ def get_dragonfly_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
431
434
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
432
435
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDragonflyResult]:
|
|
433
436
|
"""
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
## Example Usage
|
|
437
|
-
|
|
438
|
-
```python
|
|
439
|
-
import pulumi
|
|
440
|
-
import pulumi_aiven as aiven
|
|
441
|
-
|
|
442
|
-
example_dragonfly = aiven.get_dragonfly(project=example_project["project"],
|
|
443
|
-
service_name="example-dragonfly-service")
|
|
444
|
-
```
|
|
437
|
+
The Dragonfly data source provides information about the existing Aiven Dragonfly service.
|
|
445
438
|
|
|
446
439
|
|
|
447
|
-
:param str project:
|
|
440
|
+
: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
441
|
: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
442
|
"""
|
|
450
443
|
...
|
pulumi_aiven/get_flink.py
CHANGED
|
@@ -227,7 +227,7 @@ class GetFlinkResult:
|
|
|
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 GetFlinkResult:
|
|
|
331
331
|
@pulumi.getter(name="techEmails")
|
|
332
332
|
def tech_emails(self) -> Sequence['outputs.GetFlinkTechEmailResult']:
|
|
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_flink(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
|
-
flink = aiven.get_flink(project=pr1["project"],
|
|
397
|
+
flink = aiven.get_flink(project=data["aiven_project"]["pr1"]["project"],
|
|
397
398
|
service_name="<SERVICE_NAME>")
|
|
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_flink_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
|
-
flink = aiven.get_flink(project=pr1["project"],
|
|
458
|
+
flink = aiven.get_flink(project=data["aiven_project"]["pr1"]["project"],
|
|
456
459
|
service_name="<SERVICE_NAME>")
|
|
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
|
...
|
|
@@ -94,7 +94,7 @@ class GetFlinkApplicationResult:
|
|
|
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 GetFlinkApplicationResult:
|
|
|
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,19 +149,21 @@ def get_flink_application(name: 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
|
-
app1 = aiven.get_flink_application(project=pr1["project"],
|
|
157
|
+
app1 = aiven.get_flink_application(project=data["aiven_project"]["pr1"]["project"],
|
|
157
158
|
service_name="<SERVICE_NAME>",
|
|
158
159
|
name="<APPLICATION_NAME>")
|
|
159
160
|
```
|
|
161
|
+
<!--End PulumiCodeChooser -->
|
|
160
162
|
|
|
161
163
|
|
|
162
164
|
:param str name: Application name
|
|
163
|
-
:param str project:
|
|
164
|
-
:param str service_name:
|
|
165
|
+
: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.
|
|
166
|
+
: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.
|
|
165
167
|
"""
|
|
166
168
|
__args__ = dict()
|
|
167
169
|
__args__['name'] = name
|
|
@@ -192,18 +194,20 @@ def get_flink_application_output(name: 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
|
-
app1 = aiven.get_flink_application(project=pr1["project"],
|
|
202
|
+
app1 = aiven.get_flink_application(project=data["aiven_project"]["pr1"]["project"],
|
|
200
203
|
service_name="<SERVICE_NAME>",
|
|
201
204
|
name="<APPLICATION_NAME>")
|
|
202
205
|
```
|
|
206
|
+
<!--End PulumiCodeChooser -->
|
|
203
207
|
|
|
204
208
|
|
|
205
209
|
:param str name: Application name
|
|
206
|
-
:param str project:
|
|
207
|
-
:param str service_name:
|
|
210
|
+
: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.
|
|
211
|
+
: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.
|
|
208
212
|
"""
|
|
209
213
|
...
|
|
@@ -107,7 +107,7 @@ class GetFlinkApplicationVersionResult:
|
|
|
107
107
|
@pulumi.getter
|
|
108
108
|
def project(self) -> str:
|
|
109
109
|
"""
|
|
110
|
-
|
|
110
|
+
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.
|
|
111
111
|
"""
|
|
112
112
|
return pulumi.get(self, "project")
|
|
113
113
|
|
|
@@ -115,7 +115,7 @@ class GetFlinkApplicationVersionResult:
|
|
|
115
115
|
@pulumi.getter(name="serviceName")
|
|
116
116
|
def service_name(self) -> str:
|
|
117
117
|
"""
|
|
118
|
-
|
|
118
|
+
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.
|
|
119
119
|
"""
|
|
120
120
|
return pulumi.get(self, "service_name")
|
|
121
121
|
|
|
@@ -199,21 +199,23 @@ def get_flink_application_version(application_id: Optional[str] = None,
|
|
|
199
199
|
|
|
200
200
|
## Example Usage
|
|
201
201
|
|
|
202
|
+
<!--Start PulumiCodeChooser -->
|
|
202
203
|
```python
|
|
203
204
|
import pulumi
|
|
204
205
|
import pulumi_aiven as aiven
|
|
205
206
|
|
|
206
|
-
app1 = aiven.get_flink_application_version(project=pr1["project"],
|
|
207
|
+
app1 = aiven.get_flink_application_version(project=data["aiven_project"]["pr1"]["project"],
|
|
207
208
|
service_name="<SERVICE_NAME>",
|
|
208
209
|
application_id="<APPLICATION_ID>",
|
|
209
210
|
application_version_id="<APPLICATION_VERSION_ID>")
|
|
210
211
|
```
|
|
212
|
+
<!--End PulumiCodeChooser -->
|
|
211
213
|
|
|
212
214
|
|
|
213
215
|
:param str application_id: Application ID
|
|
214
216
|
:param str application_version_id: Application version ID
|
|
215
|
-
:param str project:
|
|
216
|
-
:param str service_name:
|
|
217
|
+
: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.
|
|
218
|
+
: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.
|
|
217
219
|
"""
|
|
218
220
|
__args__ = dict()
|
|
219
221
|
__args__['applicationId'] = application_id
|
|
@@ -250,20 +252,22 @@ def get_flink_application_version_output(application_id: Optional[pulumi.Input[s
|
|
|
250
252
|
|
|
251
253
|
## Example Usage
|
|
252
254
|
|
|
255
|
+
<!--Start PulumiCodeChooser -->
|
|
253
256
|
```python
|
|
254
257
|
import pulumi
|
|
255
258
|
import pulumi_aiven as aiven
|
|
256
259
|
|
|
257
|
-
app1 = aiven.get_flink_application_version(project=pr1["project"],
|
|
260
|
+
app1 = aiven.get_flink_application_version(project=data["aiven_project"]["pr1"]["project"],
|
|
258
261
|
service_name="<SERVICE_NAME>",
|
|
259
262
|
application_id="<APPLICATION_ID>",
|
|
260
263
|
application_version_id="<APPLICATION_VERSION_ID>")
|
|
261
264
|
```
|
|
265
|
+
<!--End PulumiCodeChooser -->
|
|
262
266
|
|
|
263
267
|
|
|
264
268
|
:param str application_id: Application ID
|
|
265
269
|
:param str application_version_id: Application version ID
|
|
266
|
-
:param str project:
|
|
267
|
-
:param str service_name:
|
|
270
|
+
: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.
|
|
271
|
+
: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.
|
|
268
272
|
"""
|
|
269
273
|
...
|
|
@@ -125,14 +125,16 @@ def get_gcp_vpc_peering_connection(gcp_project_id: Optional[str] = None,
|
|
|
125
125
|
|
|
126
126
|
## Example Usage
|
|
127
127
|
|
|
128
|
+
<!--Start PulumiCodeChooser -->
|
|
128
129
|
```python
|
|
129
130
|
import pulumi
|
|
130
131
|
import pulumi_aiven as aiven
|
|
131
132
|
|
|
132
|
-
main = aiven.get_gcp_vpc_peering_connection(vpc_id=vpc["id"],
|
|
133
|
+
main = aiven.get_gcp_vpc_peering_connection(vpc_id=data["aiven_project_vpc"]["vpc"]["id"],
|
|
133
134
|
gcp_project_id="example-project",
|
|
134
135
|
peer_vpc="example-network")
|
|
135
136
|
```
|
|
137
|
+
<!--End PulumiCodeChooser -->
|
|
136
138
|
|
|
137
139
|
|
|
138
140
|
:param str gcp_project_id: Google Cloud project ID. Changing this property forces recreation of the resource.
|
|
@@ -166,14 +168,16 @@ def get_gcp_vpc_peering_connection_output(gcp_project_id: Optional[pulumi.Input[
|
|
|
166
168
|
|
|
167
169
|
## Example Usage
|
|
168
170
|
|
|
171
|
+
<!--Start PulumiCodeChooser -->
|
|
169
172
|
```python
|
|
170
173
|
import pulumi
|
|
171
174
|
import pulumi_aiven as aiven
|
|
172
175
|
|
|
173
|
-
main = aiven.get_gcp_vpc_peering_connection(vpc_id=vpc["id"],
|
|
176
|
+
main = aiven.get_gcp_vpc_peering_connection(vpc_id=data["aiven_project_vpc"]["vpc"]["id"],
|
|
174
177
|
gcp_project_id="example-project",
|
|
175
178
|
peer_vpc="example-network")
|
|
176
179
|
```
|
|
180
|
+
<!--End PulumiCodeChooser -->
|
|
177
181
|
|
|
178
182
|
|
|
179
183
|
:param str gcp_project_id: Google Cloud project ID. Changing this property forces recreation of the resource.
|
pulumi_aiven/get_grafana.py
CHANGED
|
@@ -22,7 +22,7 @@ class GetGrafanaResult:
|
|
|
22
22
|
"""
|
|
23
23
|
A collection of values returned by getGrafana.
|
|
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, grafana_user_configs=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
|
|
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, grafana_user_configs=None, grafanas=None, id=None, maintenance_window_dow=None, maintenance_window_time=None, plan=None, project=None, project_vpc_id=None, service_host=None, service_integrations=None, service_name=None, service_password=None, service_port=None, service_type=None, service_uri=None, service_username=None, state=None, static_ips=None, tags=None, tech_emails=None, termination_protection=None):
|
|
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)
|
|
@@ -50,6 +50,9 @@ class GetGrafanaResult:
|
|
|
50
50
|
if grafana_user_configs and not isinstance(grafana_user_configs, list):
|
|
51
51
|
raise TypeError("Expected argument 'grafana_user_configs' to be a list")
|
|
52
52
|
pulumi.set(__self__, "grafana_user_configs", grafana_user_configs)
|
|
53
|
+
if grafanas and not isinstance(grafanas, list):
|
|
54
|
+
raise TypeError("Expected argument 'grafanas' to be a list")
|
|
55
|
+
pulumi.set(__self__, "grafanas", grafanas)
|
|
53
56
|
if id and not isinstance(id, str):
|
|
54
57
|
raise TypeError("Expected argument 'id' to be a str")
|
|
55
58
|
pulumi.set(__self__, "id", id)
|
|
@@ -180,6 +183,14 @@ class GetGrafanaResult:
|
|
|
180
183
|
"""
|
|
181
184
|
return pulumi.get(self, "grafana_user_configs")
|
|
182
185
|
|
|
186
|
+
@property
|
|
187
|
+
@pulumi.getter
|
|
188
|
+
def grafanas(self) -> Sequence['outputs.GetGrafanaGrafanaResult']:
|
|
189
|
+
"""
|
|
190
|
+
Grafana server provided values
|
|
191
|
+
"""
|
|
192
|
+
return pulumi.get(self, "grafanas")
|
|
193
|
+
|
|
183
194
|
@property
|
|
184
195
|
@pulumi.getter
|
|
185
196
|
def id(self) -> str:
|
|
@@ -216,7 +227,7 @@ class GetGrafanaResult:
|
|
|
216
227
|
@pulumi.getter
|
|
217
228
|
def project(self) -> str:
|
|
218
229
|
"""
|
|
219
|
-
|
|
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.
|
|
220
231
|
"""
|
|
221
232
|
return pulumi.get(self, "project")
|
|
222
233
|
|
|
@@ -320,7 +331,7 @@ class GetGrafanaResult:
|
|
|
320
331
|
@pulumi.getter(name="techEmails")
|
|
321
332
|
def tech_emails(self) -> Sequence['outputs.GetGrafanaTechEmailResult']:
|
|
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
|
|
|
@@ -348,6 +359,7 @@ class AwaitableGetGrafanaResult(GetGrafanaResult):
|
|
|
348
359
|
disk_space_step=self.disk_space_step,
|
|
349
360
|
disk_space_used=self.disk_space_used,
|
|
350
361
|
grafana_user_configs=self.grafana_user_configs,
|
|
362
|
+
grafanas=self.grafanas,
|
|
351
363
|
id=self.id,
|
|
352
364
|
maintenance_window_dow=self.maintenance_window_dow,
|
|
353
365
|
maintenance_window_time=self.maintenance_window_time,
|
|
@@ -377,16 +389,18 @@ def get_grafana(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
|
-
gr1 = aiven.get_grafana(project=ps1["project"],
|
|
397
|
+
gr1 = aiven.get_grafana(project=data["aiven_project"]["ps1"]["project"],
|
|
385
398
|
service_name="my-gr1")
|
|
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()
|
|
@@ -405,6 +419,7 @@ def get_grafana(project: Optional[str] = None,
|
|
|
405
419
|
disk_space_step=pulumi.get(__ret__, 'disk_space_step'),
|
|
406
420
|
disk_space_used=pulumi.get(__ret__, 'disk_space_used'),
|
|
407
421
|
grafana_user_configs=pulumi.get(__ret__, 'grafana_user_configs'),
|
|
422
|
+
grafanas=pulumi.get(__ret__, 'grafanas'),
|
|
408
423
|
id=pulumi.get(__ret__, 'id'),
|
|
409
424
|
maintenance_window_dow=pulumi.get(__ret__, 'maintenance_window_dow'),
|
|
410
425
|
maintenance_window_time=pulumi.get(__ret__, 'maintenance_window_time'),
|
|
@@ -435,16 +450,18 @@ def get_grafana_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
|
-
gr1 = aiven.get_grafana(project=ps1["project"],
|
|
458
|
+
gr1 = aiven.get_grafana(project=data["aiven_project"]["ps1"]["project"],
|
|
443
459
|
service_name="my-gr1")
|
|
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
|
...
|