pulumi-aiven 6.13.0a1709702245__py3-none-any.whl → 6.31.0a1736831339__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/__init__.py +127 -0
- pulumi_aiven/_inputs.py +32826 -13922
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +34 -43
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +37 -12
- pulumi_aiven/account_team_member.py +48 -35
- pulumi_aiven/account_team_project.py +42 -25
- pulumi_aiven/alloydbomni.py +1335 -0
- pulumi_aiven/alloydbomni_database.py +347 -0
- pulumi_aiven/alloydbomni_user.py +433 -0
- pulumi_aiven/aws_privatelink.py +44 -39
- pulumi_aiven/aws_vpc_peering_connection.py +72 -57
- pulumi_aiven/azure_privatelink.py +54 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -73
- pulumi_aiven/billing_group.py +33 -30
- pulumi_aiven/cassandra.py +145 -122
- pulumi_aiven/cassandra_user.py +59 -54
- pulumi_aiven/clickhouse.py +133 -110
- pulumi_aiven/clickhouse_database.py +58 -58
- pulumi_aiven/clickhouse_grant.py +135 -130
- pulumi_aiven/clickhouse_role.py +36 -45
- pulumi_aiven/clickhouse_user.py +50 -45
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -62
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -100
- pulumi_aiven/flink_application.py +58 -51
- pulumi_aiven/flink_application_deployment.py +178 -73
- pulumi_aiven/flink_application_version.py +179 -96
- pulumi_aiven/gcp_privatelink.py +69 -42
- pulumi_aiven/gcp_privatelink_connection_approval.py +78 -49
- pulumi_aiven/gcp_vpc_peering_connection.py +49 -44
- pulumi_aiven/get_account.py +20 -5
- pulumi_aiven/get_account_authentication.py +31 -5
- pulumi_aiven/get_account_team.py +18 -5
- pulumi_aiven/get_account_team_member.py +29 -14
- pulumi_aiven/get_account_team_project.py +19 -6
- pulumi_aiven/get_alloydbomni.py +499 -0
- pulumi_aiven/get_alloydbomni_database.py +168 -0
- pulumi_aiven/get_alloydbomni_user.py +210 -0
- pulumi_aiven/get_aws_privatelink.py +33 -20
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -29
- pulumi_aiven/get_azure_privatelink.py +37 -22
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -19
- pulumi_aiven/get_cassandra.py +55 -19
- pulumi_aiven/get_cassandra_user.py +42 -26
- pulumi_aiven/get_clickhouse.py +55 -19
- pulumi_aiven/get_clickhouse_database.py +35 -22
- pulumi_aiven/get_clickhouse_user.py +40 -25
- pulumi_aiven/get_connection_pool.py +43 -26
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -19
- pulumi_aiven/get_flink_application.py +44 -27
- pulumi_aiven/get_flink_application_version.py +55 -33
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -24
- pulumi_aiven/get_grafana.py +55 -19
- pulumi_aiven/get_influx_db.py +41 -5
- pulumi_aiven/get_influxdb_database.py +18 -5
- pulumi_aiven/get_influxdb_user.py +21 -5
- pulumi_aiven/get_kafka.py +59 -21
- pulumi_aiven/get_kafka_acl.py +50 -33
- pulumi_aiven/get_kafka_connect.py +54 -32
- pulumi_aiven/get_kafka_connector.py +44 -24
- pulumi_aiven/get_kafka_mirror_maker.py +50 -28
- pulumi_aiven/get_kafka_schema.py +35 -19
- pulumi_aiven/get_kafka_schema_configuration.py +32 -17
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -25
- pulumi_aiven/get_kafka_user.py +42 -26
- pulumi_aiven/get_m3_aggregator.py +51 -15
- pulumi_aiven/get_m3_db.py +55 -19
- pulumi_aiven/get_m3db_user.py +38 -24
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -21
- pulumi_aiven/get_my_sql.py +50 -14
- pulumi_aiven/get_mysql_database.py +31 -18
- pulumi_aiven/get_mysql_user.py +36 -19
- pulumi_aiven/get_open_search.py +50 -14
- pulumi_aiven/get_open_search_acl_config.py +27 -15
- pulumi_aiven/get_open_search_acl_rule.py +37 -21
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -15
- pulumi_aiven/get_opensearch_user.py +32 -18
- pulumi_aiven/get_organization.py +25 -13
- pulumi_aiven/get_organization_application_user.py +176 -0
- pulumi_aiven/get_organization_user.py +18 -5
- pulumi_aiven/get_organization_user_group.py +48 -14
- pulumi_aiven/get_organization_user_list.py +121 -0
- pulumi_aiven/get_organizational_unit.py +26 -14
- pulumi_aiven/get_pg.py +55 -19
- pulumi_aiven/get_pg_database.py +39 -24
- pulumi_aiven/get_pg_user.py +44 -27
- pulumi_aiven/get_project.py +43 -22
- pulumi_aiven/get_project_user.py +27 -15
- pulumi_aiven/get_project_vpc.py +31 -19
- pulumi_aiven/get_redis.py +50 -14
- pulumi_aiven/get_redis_user.py +40 -22
- pulumi_aiven/get_service_component.py +40 -18
- pulumi_aiven/get_service_integration.py +163 -49
- pulumi_aiven/get_service_integration_endpoint.py +128 -33
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -18
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -318
- pulumi_aiven/influx_db.py +127 -90
- pulumi_aiven/influxdb_database.py +40 -55
- pulumi_aiven/influxdb_user.py +47 -42
- pulumi_aiven/kafka.py +157 -140
- pulumi_aiven/kafka_acl.py +64 -53
- pulumi_aiven/kafka_connect.py +201 -328
- pulumi_aiven/kafka_connector.py +67 -56
- pulumi_aiven/kafka_mirror_maker.py +139 -318
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_schema.py +65 -56
- pulumi_aiven/kafka_schema_configuration.py +25 -20
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -54
- pulumi_aiven/m3_aggregator.py +176 -308
- pulumi_aiven/m3_db.py +190 -322
- pulumi_aiven/m3db_user.py +51 -46
- pulumi_aiven/mirror_maker_replication_flow.py +217 -53
- pulumi_aiven/my_sql.py +190 -322
- pulumi_aiven/mysql_database.py +32 -47
- pulumi_aiven/mysql_user.py +37 -32
- pulumi_aiven/open_search.py +128 -105
- pulumi_aiven/open_search_acl_config.py +33 -32
- pulumi_aiven/open_search_acl_rule.py +55 -50
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -25
- pulumi_aiven/organization.py +18 -13
- pulumi_aiven/organization_application_user.py +345 -0
- pulumi_aiven/organization_application_user_token.py +711 -0
- pulumi_aiven/organization_group_project.py +349 -0
- pulumi_aiven/organization_permission.py +421 -0
- pulumi_aiven/organization_user.py +25 -46
- pulumi_aiven/organization_user_group.py +64 -23
- pulumi_aiven/organization_user_group_member.py +359 -0
- pulumi_aiven/organizational_unit.py +41 -32
- pulumi_aiven/outputs.py +38509 -21612
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -67
- pulumi_aiven/pg_user.py +80 -61
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -31
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +163 -295
- pulumi_aiven/redis_user.py +58 -53
- pulumi_aiven/service_integration.py +511 -161
- pulumi_aiven/service_integration_endpoint.py +466 -158
- pulumi_aiven/static_ip.py +21 -16
- pulumi_aiven/thanos.py +1262 -0
- pulumi_aiven/transit_gateway_vpc_attachment.py +44 -54
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0a1736831339.dist-info/RECORD +169 -0
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1709702245.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1709702245.dist-info → pulumi_aiven-6.31.0a1736831339.dist-info}/top_level.txt +0 -0
pulumi_aiven/get_flink.py
CHANGED
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -115,7 +120,7 @@ class GetFlinkResult:
|
|
|
115
120
|
@pulumi.getter(name="additionalDiskSpace")
|
|
116
121
|
def additional_disk_space(self) -> str:
|
|
117
122
|
"""
|
|
118
|
-
|
|
123
|
+
Add [disk storage](https://aiven.io/docs/platform/howto/add-storage-space) in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
|
|
119
124
|
"""
|
|
120
125
|
return pulumi.get(self, "additional_disk_space")
|
|
121
126
|
|
|
@@ -179,7 +184,7 @@ class GetFlinkResult:
|
|
|
179
184
|
@pulumi.getter(name="flinkUserConfigs")
|
|
180
185
|
def flink_user_configs(self) -> Sequence['outputs.GetFlinkFlinkUserConfigResult']:
|
|
181
186
|
"""
|
|
182
|
-
Flink user configurable settings
|
|
187
|
+
Flink user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
183
188
|
"""
|
|
184
189
|
return pulumi.get(self, "flink_user_configs")
|
|
185
190
|
|
|
@@ -187,7 +192,7 @@ class GetFlinkResult:
|
|
|
187
192
|
@pulumi.getter
|
|
188
193
|
def flinks(self) -> Sequence['outputs.GetFlinkFlinkResult']:
|
|
189
194
|
"""
|
|
190
|
-
Flink server
|
|
195
|
+
Values provided by the Flink server.
|
|
191
196
|
"""
|
|
192
197
|
return pulumi.get(self, "flinks")
|
|
193
198
|
|
|
@@ -219,7 +224,7 @@ class GetFlinkResult:
|
|
|
219
224
|
@pulumi.getter
|
|
220
225
|
def plan(self) -> str:
|
|
221
226
|
"""
|
|
222
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be
|
|
227
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the [Aiven pricing page](https://aiven.io/pricing).
|
|
223
228
|
"""
|
|
224
229
|
return pulumi.get(self, "plan")
|
|
225
230
|
|
|
@@ -227,7 +232,7 @@ class GetFlinkResult:
|
|
|
227
232
|
@pulumi.getter
|
|
228
233
|
def project(self) -> str:
|
|
229
234
|
"""
|
|
230
|
-
|
|
235
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
231
236
|
"""
|
|
232
237
|
return pulumi.get(self, "project")
|
|
233
238
|
|
|
@@ -331,7 +336,7 @@ class GetFlinkResult:
|
|
|
331
336
|
@pulumi.getter(name="techEmails")
|
|
332
337
|
def tech_emails(self) -> Sequence['outputs.GetFlinkTechEmailResult']:
|
|
333
338
|
"""
|
|
334
|
-
|
|
339
|
+
The email addresses for [service contacts](https://aiven.io/docs/platform/howto/technical-emails), who will receive important alerts and updates about this service. You can also set email contacts at the project level.
|
|
335
340
|
"""
|
|
336
341
|
return pulumi.get(self, "tech_emails")
|
|
337
342
|
|
|
@@ -385,7 +390,7 @@ def get_flink(project: Optional[str] = None,
|
|
|
385
390
|
service_name: Optional[str] = None,
|
|
386
391
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFlinkResult:
|
|
387
392
|
"""
|
|
388
|
-
|
|
393
|
+
Gets information about an Aiven for Apache Flink® service.
|
|
389
394
|
|
|
390
395
|
## Example Usage
|
|
391
396
|
|
|
@@ -393,12 +398,12 @@ def get_flink(project: Optional[str] = None,
|
|
|
393
398
|
import pulumi
|
|
394
399
|
import pulumi_aiven as aiven
|
|
395
400
|
|
|
396
|
-
|
|
397
|
-
service_name="
|
|
401
|
+
example_flink = aiven.get_flink(project=example_project["project"],
|
|
402
|
+
service_name="example-flink-service")
|
|
398
403
|
```
|
|
399
404
|
|
|
400
405
|
|
|
401
|
-
:param str project:
|
|
406
|
+
: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.
|
|
402
407
|
: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
408
|
"""
|
|
404
409
|
__args__ = dict()
|
|
@@ -437,14 +442,11 @@ def get_flink(project: Optional[str] = None,
|
|
|
437
442
|
tags=pulumi.get(__ret__, 'tags'),
|
|
438
443
|
tech_emails=pulumi.get(__ret__, 'tech_emails'),
|
|
439
444
|
termination_protection=pulumi.get(__ret__, 'termination_protection'))
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
@_utilities.lift_output_func(get_flink)
|
|
443
445
|
def get_flink_output(project: Optional[pulumi.Input[str]] = None,
|
|
444
446
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
445
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlinkResult]:
|
|
447
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFlinkResult]:
|
|
446
448
|
"""
|
|
447
|
-
|
|
449
|
+
Gets information about an Aiven for Apache Flink® service.
|
|
448
450
|
|
|
449
451
|
## Example Usage
|
|
450
452
|
|
|
@@ -452,12 +454,46 @@ def get_flink_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
452
454
|
import pulumi
|
|
453
455
|
import pulumi_aiven as aiven
|
|
454
456
|
|
|
455
|
-
|
|
456
|
-
service_name="
|
|
457
|
+
example_flink = aiven.get_flink(project=example_project["project"],
|
|
458
|
+
service_name="example-flink-service")
|
|
457
459
|
```
|
|
458
460
|
|
|
459
461
|
|
|
460
|
-
:param str project:
|
|
462
|
+
: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.
|
|
461
463
|
: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
464
|
"""
|
|
463
|
-
|
|
465
|
+
__args__ = dict()
|
|
466
|
+
__args__['project'] = project
|
|
467
|
+
__args__['serviceName'] = service_name
|
|
468
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
469
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getFlink:getFlink', __args__, opts=opts, typ=GetFlinkResult)
|
|
470
|
+
return __ret__.apply(lambda __response__: GetFlinkResult(
|
|
471
|
+
additional_disk_space=pulumi.get(__response__, 'additional_disk_space'),
|
|
472
|
+
cloud_name=pulumi.get(__response__, 'cloud_name'),
|
|
473
|
+
components=pulumi.get(__response__, 'components'),
|
|
474
|
+
disk_space=pulumi.get(__response__, 'disk_space'),
|
|
475
|
+
disk_space_cap=pulumi.get(__response__, 'disk_space_cap'),
|
|
476
|
+
disk_space_default=pulumi.get(__response__, 'disk_space_default'),
|
|
477
|
+
disk_space_step=pulumi.get(__response__, 'disk_space_step'),
|
|
478
|
+
disk_space_used=pulumi.get(__response__, 'disk_space_used'),
|
|
479
|
+
flink_user_configs=pulumi.get(__response__, 'flink_user_configs'),
|
|
480
|
+
flinks=pulumi.get(__response__, 'flinks'),
|
|
481
|
+
id=pulumi.get(__response__, 'id'),
|
|
482
|
+
maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
|
|
483
|
+
maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
|
|
484
|
+
plan=pulumi.get(__response__, 'plan'),
|
|
485
|
+
project=pulumi.get(__response__, 'project'),
|
|
486
|
+
project_vpc_id=pulumi.get(__response__, 'project_vpc_id'),
|
|
487
|
+
service_host=pulumi.get(__response__, 'service_host'),
|
|
488
|
+
service_integrations=pulumi.get(__response__, 'service_integrations'),
|
|
489
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
490
|
+
service_password=pulumi.get(__response__, 'service_password'),
|
|
491
|
+
service_port=pulumi.get(__response__, 'service_port'),
|
|
492
|
+
service_type=pulumi.get(__response__, 'service_type'),
|
|
493
|
+
service_uri=pulumi.get(__response__, 'service_uri'),
|
|
494
|
+
service_username=pulumi.get(__response__, 'service_username'),
|
|
495
|
+
state=pulumi.get(__response__, 'state'),
|
|
496
|
+
static_ips=pulumi.get(__response__, 'static_ips'),
|
|
497
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
498
|
+
tech_emails=pulumi.get(__response__, 'tech_emails'),
|
|
499
|
+
termination_protection=pulumi.get(__response__, 'termination_protection')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -54,7 +59,7 @@ class GetFlinkApplicationResult:
|
|
|
54
59
|
@pulumi.getter(name="applicationId")
|
|
55
60
|
def application_id(self) -> str:
|
|
56
61
|
"""
|
|
57
|
-
Application ID
|
|
62
|
+
Application ID.
|
|
58
63
|
"""
|
|
59
64
|
return pulumi.get(self, "application_id")
|
|
60
65
|
|
|
@@ -62,7 +67,7 @@ class GetFlinkApplicationResult:
|
|
|
62
67
|
@pulumi.getter(name="createdAt")
|
|
63
68
|
def created_at(self) -> str:
|
|
64
69
|
"""
|
|
65
|
-
Application creation time
|
|
70
|
+
Application creation time.
|
|
66
71
|
"""
|
|
67
72
|
return pulumi.get(self, "created_at")
|
|
68
73
|
|
|
@@ -70,7 +75,7 @@ class GetFlinkApplicationResult:
|
|
|
70
75
|
@pulumi.getter(name="createdBy")
|
|
71
76
|
def created_by(self) -> str:
|
|
72
77
|
"""
|
|
73
|
-
|
|
78
|
+
The user who created the application.
|
|
74
79
|
"""
|
|
75
80
|
return pulumi.get(self, "created_by")
|
|
76
81
|
|
|
@@ -86,7 +91,7 @@ class GetFlinkApplicationResult:
|
|
|
86
91
|
@pulumi.getter
|
|
87
92
|
def name(self) -> str:
|
|
88
93
|
"""
|
|
89
|
-
|
|
94
|
+
The name of the application.
|
|
90
95
|
"""
|
|
91
96
|
return pulumi.get(self, "name")
|
|
92
97
|
|
|
@@ -94,7 +99,7 @@ class GetFlinkApplicationResult:
|
|
|
94
99
|
@pulumi.getter
|
|
95
100
|
def project(self) -> str:
|
|
96
101
|
"""
|
|
97
|
-
|
|
102
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
98
103
|
"""
|
|
99
104
|
return pulumi.get(self, "project")
|
|
100
105
|
|
|
@@ -102,7 +107,7 @@ class GetFlinkApplicationResult:
|
|
|
102
107
|
@pulumi.getter(name="serviceName")
|
|
103
108
|
def service_name(self) -> str:
|
|
104
109
|
"""
|
|
105
|
-
|
|
110
|
+
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
111
|
"""
|
|
107
112
|
return pulumi.get(self, "service_name")
|
|
108
113
|
|
|
@@ -110,7 +115,7 @@ class GetFlinkApplicationResult:
|
|
|
110
115
|
@pulumi.getter(name="updatedAt")
|
|
111
116
|
def updated_at(self) -> str:
|
|
112
117
|
"""
|
|
113
|
-
|
|
118
|
+
When the application was updated.
|
|
114
119
|
"""
|
|
115
120
|
return pulumi.get(self, "updated_at")
|
|
116
121
|
|
|
@@ -118,7 +123,7 @@ class GetFlinkApplicationResult:
|
|
|
118
123
|
@pulumi.getter(name="updatedBy")
|
|
119
124
|
def updated_by(self) -> str:
|
|
120
125
|
"""
|
|
121
|
-
|
|
126
|
+
The user who updated the application.
|
|
122
127
|
"""
|
|
123
128
|
return pulumi.get(self, "updated_by")
|
|
124
129
|
|
|
@@ -145,7 +150,7 @@ def get_flink_application(name: Optional[str] = None,
|
|
|
145
150
|
service_name: Optional[str] = None,
|
|
146
151
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFlinkApplicationResult:
|
|
147
152
|
"""
|
|
148
|
-
|
|
153
|
+
Gets information about an Aiven for Apache Flink® application.
|
|
149
154
|
|
|
150
155
|
## Example Usage
|
|
151
156
|
|
|
@@ -153,15 +158,15 @@ def get_flink_application(name: Optional[str] = None,
|
|
|
153
158
|
import pulumi
|
|
154
159
|
import pulumi_aiven as aiven
|
|
155
160
|
|
|
156
|
-
|
|
157
|
-
service_name="
|
|
158
|
-
name="
|
|
161
|
+
example_app = aiven.get_flink_application(project=example_project["project"],
|
|
162
|
+
service_name="example-flink-service",
|
|
163
|
+
name="example-app")
|
|
159
164
|
```
|
|
160
165
|
|
|
161
166
|
|
|
162
|
-
:param str name:
|
|
163
|
-
:param str project:
|
|
164
|
-
:param str service_name:
|
|
167
|
+
:param str name: The name of the application.
|
|
168
|
+
: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.
|
|
169
|
+
:param str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
165
170
|
"""
|
|
166
171
|
__args__ = dict()
|
|
167
172
|
__args__['name'] = name
|
|
@@ -180,15 +185,12 @@ def get_flink_application(name: Optional[str] = None,
|
|
|
180
185
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
181
186
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
182
187
|
updated_by=pulumi.get(__ret__, 'updated_by'))
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
@_utilities.lift_output_func(get_flink_application)
|
|
186
188
|
def get_flink_application_output(name: Optional[pulumi.Input[str]] = None,
|
|
187
189
|
project: Optional[pulumi.Input[str]] = None,
|
|
188
190
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
189
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlinkApplicationResult]:
|
|
191
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFlinkApplicationResult]:
|
|
190
192
|
"""
|
|
191
|
-
|
|
193
|
+
Gets information about an Aiven for Apache Flink® application.
|
|
192
194
|
|
|
193
195
|
## Example Usage
|
|
194
196
|
|
|
@@ -196,14 +198,29 @@ def get_flink_application_output(name: Optional[pulumi.Input[str]] = None,
|
|
|
196
198
|
import pulumi
|
|
197
199
|
import pulumi_aiven as aiven
|
|
198
200
|
|
|
199
|
-
|
|
200
|
-
service_name="
|
|
201
|
-
name="
|
|
201
|
+
example_app = aiven.get_flink_application(project=example_project["project"],
|
|
202
|
+
service_name="example-flink-service",
|
|
203
|
+
name="example-app")
|
|
202
204
|
```
|
|
203
205
|
|
|
204
206
|
|
|
205
|
-
:param str name:
|
|
206
|
-
:param str project:
|
|
207
|
-
:param str service_name:
|
|
207
|
+
:param str name: The name of the application.
|
|
208
|
+
: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.
|
|
209
|
+
:param str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
208
210
|
"""
|
|
209
|
-
|
|
211
|
+
__args__ = dict()
|
|
212
|
+
__args__['name'] = name
|
|
213
|
+
__args__['project'] = project
|
|
214
|
+
__args__['serviceName'] = service_name
|
|
215
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
216
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getFlinkApplication:getFlinkApplication', __args__, opts=opts, typ=GetFlinkApplicationResult)
|
|
217
|
+
return __ret__.apply(lambda __response__: GetFlinkApplicationResult(
|
|
218
|
+
application_id=pulumi.get(__response__, 'application_id'),
|
|
219
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
220
|
+
created_by=pulumi.get(__response__, 'created_by'),
|
|
221
|
+
id=pulumi.get(__response__, 'id'),
|
|
222
|
+
name=pulumi.get(__response__, 'name'),
|
|
223
|
+
project=pulumi.get(__response__, 'project'),
|
|
224
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
225
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
226
|
+
updated_by=pulumi.get(__response__, 'updated_by')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
|
|
@@ -67,7 +72,7 @@ class GetFlinkApplicationVersionResult:
|
|
|
67
72
|
@pulumi.getter(name="applicationId")
|
|
68
73
|
def application_id(self) -> str:
|
|
69
74
|
"""
|
|
70
|
-
Application ID
|
|
75
|
+
Application ID.
|
|
71
76
|
"""
|
|
72
77
|
return pulumi.get(self, "application_id")
|
|
73
78
|
|
|
@@ -75,7 +80,7 @@ class GetFlinkApplicationVersionResult:
|
|
|
75
80
|
@pulumi.getter(name="applicationVersionId")
|
|
76
81
|
def application_version_id(self) -> str:
|
|
77
82
|
"""
|
|
78
|
-
Application version ID
|
|
83
|
+
Application version ID.
|
|
79
84
|
"""
|
|
80
85
|
return pulumi.get(self, "application_version_id")
|
|
81
86
|
|
|
@@ -83,7 +88,7 @@ class GetFlinkApplicationVersionResult:
|
|
|
83
88
|
@pulumi.getter(name="createdAt")
|
|
84
89
|
def created_at(self) -> str:
|
|
85
90
|
"""
|
|
86
|
-
Application version creation time
|
|
91
|
+
Application version creation time.
|
|
87
92
|
"""
|
|
88
93
|
return pulumi.get(self, "created_at")
|
|
89
94
|
|
|
@@ -91,7 +96,7 @@ class GetFlinkApplicationVersionResult:
|
|
|
91
96
|
@pulumi.getter(name="createdBy")
|
|
92
97
|
def created_by(self) -> str:
|
|
93
98
|
"""
|
|
94
|
-
|
|
99
|
+
The user who created the application.
|
|
95
100
|
"""
|
|
96
101
|
return pulumi.get(self, "created_by")
|
|
97
102
|
|
|
@@ -107,7 +112,7 @@ class GetFlinkApplicationVersionResult:
|
|
|
107
112
|
@pulumi.getter
|
|
108
113
|
def project(self) -> str:
|
|
109
114
|
"""
|
|
110
|
-
|
|
115
|
+
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.
|
|
111
116
|
"""
|
|
112
117
|
return pulumi.get(self, "project")
|
|
113
118
|
|
|
@@ -115,7 +120,7 @@ class GetFlinkApplicationVersionResult:
|
|
|
115
120
|
@pulumi.getter(name="serviceName")
|
|
116
121
|
def service_name(self) -> str:
|
|
117
122
|
"""
|
|
118
|
-
|
|
123
|
+
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
124
|
"""
|
|
120
125
|
return pulumi.get(self, "service_name")
|
|
121
126
|
|
|
@@ -123,7 +128,7 @@ class GetFlinkApplicationVersionResult:
|
|
|
123
128
|
@pulumi.getter
|
|
124
129
|
def sink(self) -> Sequence['outputs.GetFlinkApplicationVersionSinkResult']:
|
|
125
130
|
"""
|
|
126
|
-
|
|
131
|
+
The sink table for the application.
|
|
127
132
|
"""
|
|
128
133
|
return pulumi.get(self, "sink")
|
|
129
134
|
|
|
@@ -139,7 +144,7 @@ class GetFlinkApplicationVersionResult:
|
|
|
139
144
|
@pulumi.getter
|
|
140
145
|
def source(self) -> Sequence['outputs.GetFlinkApplicationVersionSourceResult']:
|
|
141
146
|
"""
|
|
142
|
-
|
|
147
|
+
The source table for the application.
|
|
143
148
|
"""
|
|
144
149
|
return pulumi.get(self, "source")
|
|
145
150
|
|
|
@@ -155,7 +160,7 @@ class GetFlinkApplicationVersionResult:
|
|
|
155
160
|
@pulumi.getter
|
|
156
161
|
def statement(self) -> str:
|
|
157
162
|
"""
|
|
158
|
-
Job SQL statement
|
|
163
|
+
Job SQL statement.
|
|
159
164
|
"""
|
|
160
165
|
return pulumi.get(self, "statement")
|
|
161
166
|
|
|
@@ -163,7 +168,7 @@ class GetFlinkApplicationVersionResult:
|
|
|
163
168
|
@pulumi.getter
|
|
164
169
|
def version(self) -> int:
|
|
165
170
|
"""
|
|
166
|
-
Application version number
|
|
171
|
+
Application version number.
|
|
167
172
|
"""
|
|
168
173
|
return pulumi.get(self, "version")
|
|
169
174
|
|
|
@@ -195,7 +200,7 @@ def get_flink_application_version(application_id: Optional[str] = None,
|
|
|
195
200
|
service_name: Optional[str] = None,
|
|
196
201
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFlinkApplicationVersionResult:
|
|
197
202
|
"""
|
|
198
|
-
|
|
203
|
+
Gets information about an Aiven for Apache Flink® application version.
|
|
199
204
|
|
|
200
205
|
## Example Usage
|
|
201
206
|
|
|
@@ -203,17 +208,17 @@ def get_flink_application_version(application_id: Optional[str] = None,
|
|
|
203
208
|
import pulumi
|
|
204
209
|
import pulumi_aiven as aiven
|
|
205
210
|
|
|
206
|
-
|
|
207
|
-
service_name="
|
|
208
|
-
application_id="
|
|
209
|
-
application_version_id="
|
|
211
|
+
main = aiven.get_flink_application_version(project=example_project["project"],
|
|
212
|
+
service_name=example_flink["serviceName"],
|
|
213
|
+
application_id=example_app["applicationId"],
|
|
214
|
+
application_version_id="d6e7f71c-cadf-49b5-a4ad-126c805fe684")
|
|
210
215
|
```
|
|
211
216
|
|
|
212
217
|
|
|
213
|
-
:param str application_id: Application ID
|
|
214
|
-
:param str application_version_id: Application version ID
|
|
215
|
-
:param str project:
|
|
216
|
-
:param str service_name:
|
|
218
|
+
:param str application_id: Application ID.
|
|
219
|
+
:param str application_version_id: Application version ID.
|
|
220
|
+
: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.
|
|
221
|
+
:param str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
217
222
|
"""
|
|
218
223
|
__args__ = dict()
|
|
219
224
|
__args__['applicationId'] = application_id
|
|
@@ -237,16 +242,13 @@ def get_flink_application_version(application_id: Optional[str] = None,
|
|
|
237
242
|
sources=pulumi.get(__ret__, 'sources'),
|
|
238
243
|
statement=pulumi.get(__ret__, 'statement'),
|
|
239
244
|
version=pulumi.get(__ret__, 'version'))
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
@_utilities.lift_output_func(get_flink_application_version)
|
|
243
245
|
def get_flink_application_version_output(application_id: Optional[pulumi.Input[str]] = None,
|
|
244
246
|
application_version_id: Optional[pulumi.Input[str]] = None,
|
|
245
247
|
project: Optional[pulumi.Input[str]] = None,
|
|
246
248
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
247
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFlinkApplicationVersionResult]:
|
|
249
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFlinkApplicationVersionResult]:
|
|
248
250
|
"""
|
|
249
|
-
|
|
251
|
+
Gets information about an Aiven for Apache Flink® application version.
|
|
250
252
|
|
|
251
253
|
## Example Usage
|
|
252
254
|
|
|
@@ -254,16 +256,36 @@ def get_flink_application_version_output(application_id: Optional[pulumi.Input[s
|
|
|
254
256
|
import pulumi
|
|
255
257
|
import pulumi_aiven as aiven
|
|
256
258
|
|
|
257
|
-
|
|
258
|
-
service_name="
|
|
259
|
-
application_id="
|
|
260
|
-
application_version_id="
|
|
259
|
+
main = aiven.get_flink_application_version(project=example_project["project"],
|
|
260
|
+
service_name=example_flink["serviceName"],
|
|
261
|
+
application_id=example_app["applicationId"],
|
|
262
|
+
application_version_id="d6e7f71c-cadf-49b5-a4ad-126c805fe684")
|
|
261
263
|
```
|
|
262
264
|
|
|
263
265
|
|
|
264
|
-
:param str application_id: Application ID
|
|
265
|
-
:param str application_version_id: Application version ID
|
|
266
|
-
:param str project:
|
|
267
|
-
:param str service_name:
|
|
266
|
+
:param str application_id: Application ID.
|
|
267
|
+
:param str application_version_id: Application version ID.
|
|
268
|
+
: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.
|
|
269
|
+
:param str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
268
270
|
"""
|
|
269
|
-
|
|
271
|
+
__args__ = dict()
|
|
272
|
+
__args__['applicationId'] = application_id
|
|
273
|
+
__args__['applicationVersionId'] = application_version_id
|
|
274
|
+
__args__['project'] = project
|
|
275
|
+
__args__['serviceName'] = service_name
|
|
276
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
277
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getFlinkApplicationVersion:getFlinkApplicationVersion', __args__, opts=opts, typ=GetFlinkApplicationVersionResult)
|
|
278
|
+
return __ret__.apply(lambda __response__: GetFlinkApplicationVersionResult(
|
|
279
|
+
application_id=pulumi.get(__response__, 'application_id'),
|
|
280
|
+
application_version_id=pulumi.get(__response__, 'application_version_id'),
|
|
281
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
282
|
+
created_by=pulumi.get(__response__, 'created_by'),
|
|
283
|
+
id=pulumi.get(__response__, 'id'),
|
|
284
|
+
project=pulumi.get(__response__, 'project'),
|
|
285
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
286
|
+
sink=pulumi.get(__response__, 'sink'),
|
|
287
|
+
sinks=pulumi.get(__response__, 'sinks'),
|
|
288
|
+
source=pulumi.get(__response__, 'source'),
|
|
289
|
+
sources=pulumi.get(__response__, 'sources'),
|
|
290
|
+
statement=pulumi.get(__response__, 'statement'),
|
|
291
|
+
version=pulumi.get(__response__, 'version')))
|
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from . import _utilities
|
|
11
16
|
|
|
12
17
|
__all__ = [
|
|
@@ -44,6 +49,9 @@ class GetGcpPrivatelinkResult:
|
|
|
44
49
|
@property
|
|
45
50
|
@pulumi.getter(name="googleServiceAttachment")
|
|
46
51
|
def google_service_attachment(self) -> str:
|
|
52
|
+
"""
|
|
53
|
+
Google Private Service Connect service attachment.
|
|
54
|
+
"""
|
|
47
55
|
return pulumi.get(self, "google_service_attachment")
|
|
48
56
|
|
|
49
57
|
@property
|
|
@@ -57,21 +65,33 @@ class GetGcpPrivatelinkResult:
|
|
|
57
65
|
@property
|
|
58
66
|
@pulumi.getter
|
|
59
67
|
def message(self) -> str:
|
|
68
|
+
"""
|
|
69
|
+
Printable result of the Google Cloud Private Service Connect request.
|
|
70
|
+
"""
|
|
60
71
|
return pulumi.get(self, "message")
|
|
61
72
|
|
|
62
73
|
@property
|
|
63
74
|
@pulumi.getter
|
|
64
75
|
def project(self) -> str:
|
|
76
|
+
"""
|
|
77
|
+
The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
78
|
+
"""
|
|
65
79
|
return pulumi.get(self, "project")
|
|
66
80
|
|
|
67
81
|
@property
|
|
68
82
|
@pulumi.getter(name="serviceName")
|
|
69
83
|
def service_name(self) -> str:
|
|
84
|
+
"""
|
|
85
|
+
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.
|
|
86
|
+
"""
|
|
70
87
|
return pulumi.get(self, "service_name")
|
|
71
88
|
|
|
72
89
|
@property
|
|
73
90
|
@pulumi.getter
|
|
74
91
|
def state(self) -> str:
|
|
92
|
+
"""
|
|
93
|
+
The state of the Private Service Connect resource.
|
|
94
|
+
"""
|
|
75
95
|
return pulumi.get(self, "state")
|
|
76
96
|
|
|
77
97
|
|
|
@@ -93,7 +113,21 @@ def get_gcp_privatelink(project: Optional[str] = None,
|
|
|
93
113
|
service_name: Optional[str] = None,
|
|
94
114
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGcpPrivatelinkResult:
|
|
95
115
|
"""
|
|
96
|
-
|
|
116
|
+
Gets information about a Google Private Service Connect connection for an Aiven service.
|
|
117
|
+
|
|
118
|
+
## Example Usage
|
|
119
|
+
|
|
120
|
+
```python
|
|
121
|
+
import pulumi
|
|
122
|
+
import pulumi_aiven as aiven
|
|
123
|
+
|
|
124
|
+
main = aiven.get_gcp_privatelink(project=example_project["project"],
|
|
125
|
+
service_name=example_kafka["serviceName"])
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
: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.
|
|
130
|
+
:param str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
97
131
|
"""
|
|
98
132
|
__args__ = dict()
|
|
99
133
|
__args__['project'] = project
|
|
@@ -108,13 +142,35 @@ def get_gcp_privatelink(project: Optional[str] = None,
|
|
|
108
142
|
project=pulumi.get(__ret__, 'project'),
|
|
109
143
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
110
144
|
state=pulumi.get(__ret__, 'state'))
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
@_utilities.lift_output_func(get_gcp_privatelink)
|
|
114
145
|
def get_gcp_privatelink_output(project: Optional[pulumi.Input[str]] = None,
|
|
115
146
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
116
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGcpPrivatelinkResult]:
|
|
147
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGcpPrivatelinkResult]:
|
|
117
148
|
"""
|
|
118
|
-
|
|
149
|
+
Gets information about a Google Private Service Connect connection for an Aiven service.
|
|
150
|
+
|
|
151
|
+
## Example Usage
|
|
152
|
+
|
|
153
|
+
```python
|
|
154
|
+
import pulumi
|
|
155
|
+
import pulumi_aiven as aiven
|
|
156
|
+
|
|
157
|
+
main = aiven.get_gcp_privatelink(project=example_project["project"],
|
|
158
|
+
service_name=example_kafka["serviceName"])
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
:param str project: The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
163
|
+
:param str service_name: The name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
119
164
|
"""
|
|
120
|
-
|
|
165
|
+
__args__ = dict()
|
|
166
|
+
__args__['project'] = project
|
|
167
|
+
__args__['serviceName'] = service_name
|
|
168
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
169
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getGcpPrivatelink:getGcpPrivatelink', __args__, opts=opts, typ=GetGcpPrivatelinkResult)
|
|
170
|
+
return __ret__.apply(lambda __response__: GetGcpPrivatelinkResult(
|
|
171
|
+
google_service_attachment=pulumi.get(__response__, 'google_service_attachment'),
|
|
172
|
+
id=pulumi.get(__response__, 'id'),
|
|
173
|
+
message=pulumi.get(__response__, 'message'),
|
|
174
|
+
project=pulumi.get(__response__, 'project'),
|
|
175
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
176
|
+
state=pulumi.get(__response__, 'state')))
|