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
pulumi_aiven/get_redis_user.py
CHANGED
|
@@ -73,7 +73,7 @@ class GetRedisUserResult:
|
|
|
73
73
|
@pulumi.getter
|
|
74
74
|
def project(self) -> str:
|
|
75
75
|
"""
|
|
76
|
-
|
|
76
|
+
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.
|
|
77
77
|
"""
|
|
78
78
|
return pulumi.get(self, "project")
|
|
79
79
|
|
|
@@ -113,7 +113,7 @@ class GetRedisUserResult:
|
|
|
113
113
|
@pulumi.getter(name="serviceName")
|
|
114
114
|
def service_name(self) -> str:
|
|
115
115
|
"""
|
|
116
|
-
|
|
116
|
+
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.
|
|
117
117
|
"""
|
|
118
118
|
return pulumi.get(self, "service_name")
|
|
119
119
|
|
|
@@ -161,18 +161,20 @@ def get_redis_user(project: Optional[str] = None,
|
|
|
161
161
|
|
|
162
162
|
## Example Usage
|
|
163
163
|
|
|
164
|
+
<!--Start PulumiCodeChooser -->
|
|
164
165
|
```python
|
|
165
166
|
import pulumi
|
|
166
167
|
import pulumi_aiven as aiven
|
|
167
168
|
|
|
168
|
-
user = aiven.get_redis_user(
|
|
169
|
-
|
|
169
|
+
user = aiven.get_redis_user(project="my-project",
|
|
170
|
+
service_name="my-service",
|
|
170
171
|
username="user1")
|
|
171
172
|
```
|
|
173
|
+
<!--End PulumiCodeChooser -->
|
|
172
174
|
|
|
173
175
|
|
|
174
|
-
:param str project:
|
|
175
|
-
:param str service_name:
|
|
176
|
+
: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.
|
|
177
|
+
: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.
|
|
176
178
|
:param str username: The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
177
179
|
"""
|
|
178
180
|
__args__ = dict()
|
|
@@ -205,18 +207,20 @@ def get_redis_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
205
207
|
|
|
206
208
|
## Example Usage
|
|
207
209
|
|
|
210
|
+
<!--Start PulumiCodeChooser -->
|
|
208
211
|
```python
|
|
209
212
|
import pulumi
|
|
210
213
|
import pulumi_aiven as aiven
|
|
211
214
|
|
|
212
|
-
user = aiven.get_redis_user(
|
|
213
|
-
|
|
215
|
+
user = aiven.get_redis_user(project="my-project",
|
|
216
|
+
service_name="my-service",
|
|
214
217
|
username="user1")
|
|
215
218
|
```
|
|
219
|
+
<!--End PulumiCodeChooser -->
|
|
216
220
|
|
|
217
221
|
|
|
218
|
-
:param str project:
|
|
219
|
-
:param str service_name:
|
|
222
|
+
: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.
|
|
223
|
+
: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.
|
|
220
224
|
:param str username: The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
221
225
|
"""
|
|
222
226
|
...
|
|
@@ -167,16 +167,18 @@ def get_service_component(component: Optional[str] = None,
|
|
|
167
167
|
|
|
168
168
|
## Example Usage
|
|
169
169
|
|
|
170
|
+
<!--Start PulumiCodeChooser -->
|
|
170
171
|
```python
|
|
171
172
|
import pulumi
|
|
172
173
|
import pulumi_aiven as aiven
|
|
173
174
|
|
|
174
|
-
sc1 = aiven.get_service_component(project=project1["project"],
|
|
175
|
-
service_name=service1["
|
|
175
|
+
sc1 = aiven.get_service_component(project=aiven_kafka["project1"]["project"],
|
|
176
|
+
service_name=aiven_kafka["service1"]["service_name"],
|
|
176
177
|
component="kafka",
|
|
177
178
|
route="dynamic",
|
|
178
179
|
kafka_authentication_method="certificate")
|
|
179
180
|
```
|
|
181
|
+
<!--End PulumiCodeChooser -->
|
|
180
182
|
|
|
181
183
|
|
|
182
184
|
:param str component: Service component name
|
|
@@ -227,16 +229,18 @@ def get_service_component_output(component: Optional[pulumi.Input[str]] = None,
|
|
|
227
229
|
|
|
228
230
|
## Example Usage
|
|
229
231
|
|
|
232
|
+
<!--Start PulumiCodeChooser -->
|
|
230
233
|
```python
|
|
231
234
|
import pulumi
|
|
232
235
|
import pulumi_aiven as aiven
|
|
233
236
|
|
|
234
|
-
sc1 = aiven.get_service_component(project=project1["project"],
|
|
235
|
-
service_name=service1["
|
|
237
|
+
sc1 = aiven.get_service_component(project=aiven_kafka["project1"]["project"],
|
|
238
|
+
service_name=aiven_kafka["service1"]["service_name"],
|
|
236
239
|
component="kafka",
|
|
237
240
|
route="dynamic",
|
|
238
241
|
kafka_authentication_method="certificate")
|
|
239
242
|
```
|
|
243
|
+
<!--End PulumiCodeChooser -->
|
|
240
244
|
|
|
241
245
|
|
|
242
246
|
:param str component: Service component name
|
|
@@ -115,7 +115,7 @@ class GetServiceIntegrationResult:
|
|
|
115
115
|
@pulumi.getter(name="destinationEndpointId")
|
|
116
116
|
def destination_endpoint_id(self) -> str:
|
|
117
117
|
"""
|
|
118
|
-
Destination endpoint for the integration
|
|
118
|
+
Destination endpoint for the integration (if any)
|
|
119
119
|
"""
|
|
120
120
|
return pulumi.get(self, "destination_endpoint_id")
|
|
121
121
|
|
|
@@ -123,7 +123,7 @@ class GetServiceIntegrationResult:
|
|
|
123
123
|
@pulumi.getter(name="destinationServiceName")
|
|
124
124
|
def destination_service_name(self) -> str:
|
|
125
125
|
"""
|
|
126
|
-
Destination service for the integration
|
|
126
|
+
Destination service for the integration (if any)
|
|
127
127
|
"""
|
|
128
128
|
return pulumi.get(self, "destination_service_name")
|
|
129
129
|
|
|
@@ -171,7 +171,7 @@ class GetServiceIntegrationResult:
|
|
|
171
171
|
@pulumi.getter(name="integrationId")
|
|
172
172
|
def integration_id(self) -> str:
|
|
173
173
|
"""
|
|
174
|
-
|
|
174
|
+
Service Integration Id at aiven
|
|
175
175
|
"""
|
|
176
176
|
return pulumi.get(self, "integration_id")
|
|
177
177
|
|
|
@@ -227,7 +227,7 @@ class GetServiceIntegrationResult:
|
|
|
227
227
|
@pulumi.getter
|
|
228
228
|
def project(self) -> str:
|
|
229
229
|
"""
|
|
230
|
-
Project the integration belongs to
|
|
230
|
+
Project the integration belongs to
|
|
231
231
|
"""
|
|
232
232
|
return pulumi.get(self, "project")
|
|
233
233
|
|
|
@@ -243,7 +243,7 @@ class GetServiceIntegrationResult:
|
|
|
243
243
|
@pulumi.getter(name="sourceEndpointId")
|
|
244
244
|
def source_endpoint_id(self) -> str:
|
|
245
245
|
"""
|
|
246
|
-
Source endpoint for the integration
|
|
246
|
+
Source endpoint for the integration (if any)
|
|
247
247
|
"""
|
|
248
248
|
return pulumi.get(self, "source_endpoint_id")
|
|
249
249
|
|
|
@@ -291,24 +291,31 @@ def get_service_integration(destination_service_name: Optional[str] = None,
|
|
|
291
291
|
source_service_name: Optional[str] = None,
|
|
292
292
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceIntegrationResult:
|
|
293
293
|
"""
|
|
294
|
-
|
|
294
|
+
The Service Integration data source provides information about the existing Aiven Service Integration.
|
|
295
|
+
|
|
296
|
+
Service Integration defines an integration between two Aiven services or between Aiven service and an external
|
|
297
|
+
integration endpoint. Integration could be for example sending metrics from Kafka service to an M3DB service,
|
|
298
|
+
getting metrics from an M3Db service to a Grafana service to show dashboards, sending logs from any service to
|
|
299
|
+
OpenSearch, etc.
|
|
295
300
|
|
|
296
301
|
## Example Usage
|
|
297
302
|
|
|
303
|
+
<!--Start PulumiCodeChooser -->
|
|
298
304
|
```python
|
|
299
305
|
import pulumi
|
|
300
306
|
import pulumi_aiven as aiven
|
|
301
307
|
|
|
302
|
-
|
|
303
|
-
destination_service_name=
|
|
304
|
-
integration_type="
|
|
305
|
-
source_service_name=
|
|
308
|
+
myintegration = aiven.get_service_integration(project=aiven_project["myproject"]["project"],
|
|
309
|
+
destination_service_name="<DESTINATION_SERVICE_NAME>",
|
|
310
|
+
integration_type="datadog",
|
|
311
|
+
source_service_name="<SOURCE_SERVICE_NAME>")
|
|
306
312
|
```
|
|
313
|
+
<!--End PulumiCodeChooser -->
|
|
307
314
|
|
|
308
315
|
|
|
309
|
-
:param str destination_service_name: Destination service for the integration
|
|
316
|
+
:param str destination_service_name: Destination service for the integration (if any)
|
|
310
317
|
:param str integration_type: Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanoscompactor`, `thanosquery`, `thanosstore`, `vector`, `vmalert`
|
|
311
|
-
:param str project: Project the integration belongs to
|
|
318
|
+
:param str project: Project the integration belongs to
|
|
312
319
|
:param str source_service_name: Source service for the integration (if any)
|
|
313
320
|
"""
|
|
314
321
|
__args__ = dict()
|
|
@@ -350,24 +357,31 @@ def get_service_integration_output(destination_service_name: Optional[pulumi.Inp
|
|
|
350
357
|
source_service_name: Optional[pulumi.Input[str]] = None,
|
|
351
358
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceIntegrationResult]:
|
|
352
359
|
"""
|
|
353
|
-
|
|
360
|
+
The Service Integration data source provides information about the existing Aiven Service Integration.
|
|
361
|
+
|
|
362
|
+
Service Integration defines an integration between two Aiven services or between Aiven service and an external
|
|
363
|
+
integration endpoint. Integration could be for example sending metrics from Kafka service to an M3DB service,
|
|
364
|
+
getting metrics from an M3Db service to a Grafana service to show dashboards, sending logs from any service to
|
|
365
|
+
OpenSearch, etc.
|
|
354
366
|
|
|
355
367
|
## Example Usage
|
|
356
368
|
|
|
369
|
+
<!--Start PulumiCodeChooser -->
|
|
357
370
|
```python
|
|
358
371
|
import pulumi
|
|
359
372
|
import pulumi_aiven as aiven
|
|
360
373
|
|
|
361
|
-
|
|
362
|
-
destination_service_name=
|
|
363
|
-
integration_type="
|
|
364
|
-
source_service_name=
|
|
374
|
+
myintegration = aiven.get_service_integration(project=aiven_project["myproject"]["project"],
|
|
375
|
+
destination_service_name="<DESTINATION_SERVICE_NAME>",
|
|
376
|
+
integration_type="datadog",
|
|
377
|
+
source_service_name="<SOURCE_SERVICE_NAME>")
|
|
365
378
|
```
|
|
379
|
+
<!--End PulumiCodeChooser -->
|
|
366
380
|
|
|
367
381
|
|
|
368
|
-
:param str destination_service_name: Destination service for the integration
|
|
382
|
+
:param str destination_service_name: Destination service for the integration (if any)
|
|
369
383
|
:param str integration_type: Type of the service integration. Possible values: `alertmanager`, `autoscaler`, `caching`, `cassandra_cross_service_cluster`, `clickhouse_credentials`, `clickhouse_kafka`, `clickhouse_postgresql`, `dashboard`, `datadog`, `datasource`, `external_aws_cloudwatch_logs`, `external_aws_cloudwatch_metrics`, `external_elasticsearch_logs`, `external_google_cloud_logging`, `external_opensearch_logs`, `flink`, `flink_external_bigquery`, `flink_external_kafka`, `internal_connectivity`, `jolokia`, `kafka_connect`, `kafka_connect_postgresql`, `kafka_logs`, `kafka_mirrormaker`, `logs`, `m3aggregator`, `m3coordinator`, `metrics`, `opensearch_cross_cluster_replication`, `opensearch_cross_cluster_search`, `prometheus`, `read_replica`, `rsyslog`, `schema_registry_proxy`, `stresstester`, `thanoscompactor`, `thanosquery`, `thanosstore`, `vector`, `vmalert`
|
|
370
|
-
:param str project: Project the integration belongs to
|
|
384
|
+
:param str project: Project the integration belongs to
|
|
371
385
|
:param str source_service_name: Source service for the integration (if any)
|
|
372
386
|
"""
|
|
373
387
|
...
|
|
@@ -257,13 +257,15 @@ def get_service_integration_endpoint(endpoint_name: Optional[str] = None,
|
|
|
257
257
|
|
|
258
258
|
## Example Usage
|
|
259
259
|
|
|
260
|
+
<!--Start PulumiCodeChooser -->
|
|
260
261
|
```python
|
|
261
262
|
import pulumi
|
|
262
263
|
import pulumi_aiven as aiven
|
|
263
264
|
|
|
264
|
-
myendpoint = aiven.get_service_integration_endpoint(project=myproject["project"],
|
|
265
|
+
myendpoint = aiven.get_service_integration_endpoint(project=aiven_project["myproject"]["project"],
|
|
265
266
|
endpoint_name="<ENDPOINT_NAME>")
|
|
266
267
|
```
|
|
268
|
+
<!--End PulumiCodeChooser -->
|
|
267
269
|
|
|
268
270
|
|
|
269
271
|
:param str endpoint_name: Name of the service integration endpoint
|
|
@@ -305,13 +307,15 @@ def get_service_integration_endpoint_output(endpoint_name: Optional[pulumi.Input
|
|
|
305
307
|
|
|
306
308
|
## Example Usage
|
|
307
309
|
|
|
310
|
+
<!--Start PulumiCodeChooser -->
|
|
308
311
|
```python
|
|
309
312
|
import pulumi
|
|
310
313
|
import pulumi_aiven as aiven
|
|
311
314
|
|
|
312
|
-
myendpoint = aiven.get_service_integration_endpoint(project=myproject["project"],
|
|
315
|
+
myendpoint = aiven.get_service_integration_endpoint(project=aiven_project["myproject"]["project"],
|
|
313
316
|
endpoint_name="<ENDPOINT_NAME>")
|
|
314
317
|
```
|
|
318
|
+
<!--End PulumiCodeChooser -->
|
|
315
319
|
|
|
316
320
|
|
|
317
321
|
:param str endpoint_name: Name of the service integration endpoint
|
|
@@ -149,14 +149,16 @@ def get_transit_gateway_vpc_attachment(peer_cloud_account: 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
|
-
attachment = aiven.get_transit_gateway_vpc_attachment(vpc_id=bar["id"],
|
|
157
|
+
attachment = aiven.get_transit_gateway_vpc_attachment(vpc_id=aiven_project_vpc["bar"]["id"],
|
|
157
158
|
peer_cloud_account="<PEER_ACCOUNT_ID>",
|
|
158
159
|
peer_vpc="google-project1")
|
|
159
160
|
```
|
|
161
|
+
<!--End PulumiCodeChooser -->
|
|
160
162
|
|
|
161
163
|
|
|
162
164
|
:param str peer_cloud_account: AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource.
|
|
@@ -192,14 +194,16 @@ def get_transit_gateway_vpc_attachment_output(peer_cloud_account: Optional[pulum
|
|
|
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
|
-
attachment = aiven.get_transit_gateway_vpc_attachment(vpc_id=bar["id"],
|
|
202
|
+
attachment = aiven.get_transit_gateway_vpc_attachment(vpc_id=aiven_project_vpc["bar"]["id"],
|
|
200
203
|
peer_cloud_account="<PEER_ACCOUNT_ID>",
|
|
201
204
|
peer_vpc="google-project1")
|
|
202
205
|
```
|
|
206
|
+
<!--End PulumiCodeChooser -->
|
|
203
207
|
|
|
204
208
|
|
|
205
209
|
:param str peer_cloud_account: AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource.
|