pulumi-aiven 6.13.0a1710156545__py3-none-any.whl → 6.31.0a1736849214__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 +32615 -13711
- pulumi_aiven/_utilities.py +41 -5
- pulumi_aiven/account.py +32 -45
- pulumi_aiven/account_authentication.py +24 -9
- pulumi_aiven/account_team.py +35 -14
- pulumi_aiven/account_team_member.py +48 -39
- pulumi_aiven/account_team_project.py +40 -27
- 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 -43
- pulumi_aiven/aws_vpc_peering_connection.py +72 -61
- pulumi_aiven/azure_privatelink.py +54 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +136 -33
- pulumi_aiven/azure_vpc_peering_connection.py +86 -77
- pulumi_aiven/billing_group.py +33 -34
- pulumi_aiven/cassandra.py +145 -126
- pulumi_aiven/cassandra_user.py +59 -58
- pulumi_aiven/clickhouse.py +133 -114
- pulumi_aiven/clickhouse_database.py +58 -62
- pulumi_aiven/clickhouse_grant.py +135 -134
- pulumi_aiven/clickhouse_role.py +36 -49
- pulumi_aiven/clickhouse_user.py +50 -49
- pulumi_aiven/config/__init__.pyi +5 -0
- pulumi_aiven/config/vars.py +5 -0
- pulumi_aiven/connection_pool.py +67 -66
- pulumi_aiven/dragonfly.py +1256 -0
- pulumi_aiven/flink.py +104 -104
- pulumi_aiven/flink_application.py +58 -55
- 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 -48
- pulumi_aiven/get_account.py +20 -9
- 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 -24
- pulumi_aiven/get_aws_vpc_peering_connection.py +56 -33
- pulumi_aiven/get_azure_privatelink.py +37 -26
- pulumi_aiven/get_azure_vpc_peering_connection.py +77 -28
- pulumi_aiven/get_billing_group.py +31 -8
- pulumi_aiven/get_cassanda.py +55 -23
- pulumi_aiven/get_cassandra.py +55 -23
- pulumi_aiven/get_cassandra_user.py +42 -30
- pulumi_aiven/get_clickhouse.py +55 -23
- pulumi_aiven/get_clickhouse_database.py +35 -26
- pulumi_aiven/get_clickhouse_user.py +40 -29
- pulumi_aiven/get_connection_pool.py +43 -30
- pulumi_aiven/get_dragonfly.py +499 -0
- pulumi_aiven/get_external_identity.py +160 -0
- pulumi_aiven/get_flink.py +55 -23
- pulumi_aiven/get_flink_application.py +44 -31
- pulumi_aiven/get_flink_application_version.py +55 -37
- pulumi_aiven/get_gcp_privatelink.py +63 -7
- pulumi_aiven/get_gcp_vpc_peering_connection.py +39 -28
- pulumi_aiven/get_grafana.py +55 -23
- 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 -25
- pulumi_aiven/get_kafka_acl.py +50 -37
- pulumi_aiven/get_kafka_connect.py +54 -36
- pulumi_aiven/get_kafka_connector.py +44 -28
- pulumi_aiven/get_kafka_mirror_maker.py +50 -32
- pulumi_aiven/get_kafka_schema.py +35 -23
- pulumi_aiven/get_kafka_schema_configuration.py +32 -21
- pulumi_aiven/get_kafka_schema_registry_acl.py +37 -20
- pulumi_aiven/get_kafka_topic.py +70 -29
- pulumi_aiven/get_kafka_user.py +42 -30
- pulumi_aiven/get_m3_aggregator.py +51 -19
- pulumi_aiven/get_m3_db.py +55 -23
- pulumi_aiven/get_m3db_user.py +38 -28
- pulumi_aiven/get_mirror_maker_replication_flow.py +86 -25
- pulumi_aiven/get_my_sql.py +50 -18
- pulumi_aiven/get_mysql_database.py +31 -22
- pulumi_aiven/get_mysql_user.py +36 -23
- pulumi_aiven/get_open_search.py +50 -18
- pulumi_aiven/get_open_search_acl_config.py +27 -19
- pulumi_aiven/get_open_search_acl_rule.py +37 -25
- pulumi_aiven/get_opensearch_security_plugin_config.py +29 -19
- pulumi_aiven/get_opensearch_user.py +32 -22
- pulumi_aiven/get_organization.py +25 -17
- 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 -23
- pulumi_aiven/get_pg_database.py +39 -28
- pulumi_aiven/get_pg_user.py +44 -31
- pulumi_aiven/get_project.py +43 -26
- pulumi_aiven/get_project_user.py +27 -19
- pulumi_aiven/get_project_vpc.py +31 -23
- pulumi_aiven/get_redis.py +50 -18
- pulumi_aiven/get_redis_user.py +40 -26
- pulumi_aiven/get_service_component.py +40 -22
- pulumi_aiven/get_service_integration.py +163 -53
- pulumi_aiven/get_service_integration_endpoint.py +128 -37
- pulumi_aiven/get_thanos.py +499 -0
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +35 -22
- pulumi_aiven/get_valkey.py +499 -0
- pulumi_aiven/get_valkey_user.py +218 -0
- pulumi_aiven/grafana.py +188 -322
- 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 -144
- pulumi_aiven/kafka_acl.py +64 -57
- pulumi_aiven/kafka_connect.py +201 -332
- pulumi_aiven/kafka_connector.py +67 -60
- pulumi_aiven/kafka_mirror_maker.py +137 -320
- pulumi_aiven/kafka_native_acl.py +588 -0
- pulumi_aiven/kafka_schema.py +63 -58
- pulumi_aiven/kafka_schema_configuration.py +25 -24
- pulumi_aiven/kafka_schema_registry_acl.py +80 -35
- pulumi_aiven/kafka_topic.py +184 -65
- pulumi_aiven/kafka_user.py +59 -58
- pulumi_aiven/m3_aggregator.py +174 -310
- pulumi_aiven/m3_db.py +190 -326
- pulumi_aiven/m3db_user.py +51 -50
- pulumi_aiven/mirror_maker_replication_flow.py +215 -55
- pulumi_aiven/my_sql.py +188 -324
- pulumi_aiven/mysql_database.py +32 -51
- pulumi_aiven/mysql_user.py +37 -36
- pulumi_aiven/open_search.py +126 -107
- pulumi_aiven/open_search_acl_config.py +33 -36
- pulumi_aiven/open_search_acl_rule.py +55 -54
- pulumi_aiven/opensearch_security_plugin_config.py +69 -16
- pulumi_aiven/opensearch_user.py +30 -29
- pulumi_aiven/organization.py +18 -17
- 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 -36
- pulumi_aiven/outputs.py +38355 -21458
- pulumi_aiven/pg.py +92 -88
- pulumi_aiven/pg_database.py +52 -71
- pulumi_aiven/pg_user.py +80 -65
- pulumi_aiven/project.py +111 -102
- pulumi_aiven/project_user.py +44 -35
- pulumi_aiven/project_vpc.py +58 -29
- pulumi_aiven/provider.py +5 -0
- pulumi_aiven/pulumi-plugin.json +2 -1
- pulumi_aiven/redis.py +161 -297
- pulumi_aiven/redis_user.py +58 -57
- pulumi_aiven/service_integration.py +511 -165
- 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 -58
- pulumi_aiven/valkey.py +1256 -0
- pulumi_aiven/valkey_user.py +606 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736849214.dist-info}/METADATA +7 -6
- pulumi_aiven-6.31.0a1736849214.dist-info/RECORD +169 -0
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736849214.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.13.0a1710156545.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1710156545.dist-info → pulumi_aiven-6.31.0a1736849214.dist-info}/top_level.txt +0 -0
pulumi_aiven/get_redis_user.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
|
|
|
12
17
|
__all__ = [
|
|
@@ -73,7 +78,7 @@ class GetRedisUserResult:
|
|
|
73
78
|
@pulumi.getter
|
|
74
79
|
def project(self) -> str:
|
|
75
80
|
"""
|
|
76
|
-
|
|
81
|
+
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.
|
|
77
82
|
"""
|
|
78
83
|
return pulumi.get(self, "project")
|
|
79
84
|
|
|
@@ -81,7 +86,7 @@ class GetRedisUserResult:
|
|
|
81
86
|
@pulumi.getter(name="redisAclCategories")
|
|
82
87
|
def redis_acl_categories(self) -> Sequence[str]:
|
|
83
88
|
"""
|
|
84
|
-
Defines command category rules. The field is required with`redis_acl_commands` and `redis_acl_keys`.
|
|
89
|
+
Defines command category rules. The field is required with`redis_acl_commands` and `redis_acl_keys`. Changing this property forces recreation of the resource.
|
|
85
90
|
"""
|
|
86
91
|
return pulumi.get(self, "redis_acl_categories")
|
|
87
92
|
|
|
@@ -89,7 +94,7 @@ class GetRedisUserResult:
|
|
|
89
94
|
@pulumi.getter(name="redisAclChannels")
|
|
90
95
|
def redis_acl_channels(self) -> Sequence[str]:
|
|
91
96
|
"""
|
|
92
|
-
Defines the permitted pub/sub channel patterns.
|
|
97
|
+
Defines the permitted pub/sub channel patterns. Changing this property forces recreation of the resource.
|
|
93
98
|
"""
|
|
94
99
|
return pulumi.get(self, "redis_acl_channels")
|
|
95
100
|
|
|
@@ -97,7 +102,7 @@ class GetRedisUserResult:
|
|
|
97
102
|
@pulumi.getter(name="redisAclCommands")
|
|
98
103
|
def redis_acl_commands(self) -> Sequence[str]:
|
|
99
104
|
"""
|
|
100
|
-
Defines rules for individual commands. The field is required with`redis_acl_categories` and `redis_acl_keys`.
|
|
105
|
+
Defines rules for individual commands. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
|
|
101
106
|
"""
|
|
102
107
|
return pulumi.get(self, "redis_acl_commands")
|
|
103
108
|
|
|
@@ -105,7 +110,7 @@ class GetRedisUserResult:
|
|
|
105
110
|
@pulumi.getter(name="redisAclKeys")
|
|
106
111
|
def redis_acl_keys(self) -> Sequence[str]:
|
|
107
112
|
"""
|
|
108
|
-
Defines key access rules. The field is required with`redis_acl_categories` and `redis_acl_keys`.
|
|
113
|
+
Defines key access rules. The field is required with`redis_acl_categories` and `redis_acl_keys`. Changing this property forces recreation of the resource.
|
|
109
114
|
"""
|
|
110
115
|
return pulumi.get(self, "redis_acl_keys")
|
|
111
116
|
|
|
@@ -113,7 +118,7 @@ class GetRedisUserResult:
|
|
|
113
118
|
@pulumi.getter(name="serviceName")
|
|
114
119
|
def service_name(self) -> str:
|
|
115
120
|
"""
|
|
116
|
-
|
|
121
|
+
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
122
|
"""
|
|
118
123
|
return pulumi.get(self, "service_name")
|
|
119
124
|
|
|
@@ -129,7 +134,7 @@ class GetRedisUserResult:
|
|
|
129
134
|
@pulumi.getter
|
|
130
135
|
def username(self) -> str:
|
|
131
136
|
"""
|
|
132
|
-
The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference.
|
|
137
|
+
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.
|
|
133
138
|
"""
|
|
134
139
|
return pulumi.get(self, "username")
|
|
135
140
|
|
|
@@ -161,21 +166,19 @@ def get_redis_user(project: Optional[str] = None,
|
|
|
161
166
|
|
|
162
167
|
## Example Usage
|
|
163
168
|
|
|
164
|
-
<!--Start PulumiCodeChooser -->
|
|
165
169
|
```python
|
|
166
170
|
import pulumi
|
|
167
171
|
import pulumi_aiven as aiven
|
|
168
172
|
|
|
169
|
-
user = aiven.get_redis_user(
|
|
170
|
-
|
|
173
|
+
user = aiven.get_redis_user(service_name="my-service",
|
|
174
|
+
project="my-project",
|
|
171
175
|
username="user1")
|
|
172
176
|
```
|
|
173
|
-
<!--End PulumiCodeChooser -->
|
|
174
177
|
|
|
175
178
|
|
|
176
|
-
:param str project:
|
|
177
|
-
:param str service_name:
|
|
178
|
-
:param str username: The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference.
|
|
179
|
+
: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.
|
|
180
|
+
: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.
|
|
181
|
+
: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.
|
|
179
182
|
"""
|
|
180
183
|
__args__ = dict()
|
|
181
184
|
__args__['project'] = project
|
|
@@ -195,32 +198,43 @@ def get_redis_user(project: Optional[str] = None,
|
|
|
195
198
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
196
199
|
type=pulumi.get(__ret__, 'type'),
|
|
197
200
|
username=pulumi.get(__ret__, 'username'))
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
@_utilities.lift_output_func(get_redis_user)
|
|
201
201
|
def get_redis_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
202
202
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
203
203
|
username: Optional[pulumi.Input[str]] = None,
|
|
204
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRedisUserResult]:
|
|
204
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRedisUserResult]:
|
|
205
205
|
"""
|
|
206
206
|
The Redis User data source provides information about the existing Aiven Redis User.
|
|
207
207
|
|
|
208
208
|
## Example Usage
|
|
209
209
|
|
|
210
|
-
<!--Start PulumiCodeChooser -->
|
|
211
210
|
```python
|
|
212
211
|
import pulumi
|
|
213
212
|
import pulumi_aiven as aiven
|
|
214
213
|
|
|
215
|
-
user = aiven.get_redis_user(
|
|
216
|
-
|
|
214
|
+
user = aiven.get_redis_user(service_name="my-service",
|
|
215
|
+
project="my-project",
|
|
217
216
|
username="user1")
|
|
218
217
|
```
|
|
219
|
-
<!--End PulumiCodeChooser -->
|
|
220
218
|
|
|
221
219
|
|
|
222
|
-
:param str project:
|
|
223
|
-
:param str service_name:
|
|
224
|
-
:param str username: The actual name of the Redis User. To set up proper dependencies please refer to this variable as a reference.
|
|
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.
|
|
222
|
+
: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.
|
|
225
223
|
"""
|
|
226
|
-
|
|
224
|
+
__args__ = dict()
|
|
225
|
+
__args__['project'] = project
|
|
226
|
+
__args__['serviceName'] = service_name
|
|
227
|
+
__args__['username'] = username
|
|
228
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
229
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getRedisUser:getRedisUser', __args__, opts=opts, typ=GetRedisUserResult)
|
|
230
|
+
return __ret__.apply(lambda __response__: GetRedisUserResult(
|
|
231
|
+
id=pulumi.get(__response__, 'id'),
|
|
232
|
+
password=pulumi.get(__response__, 'password'),
|
|
233
|
+
project=pulumi.get(__response__, 'project'),
|
|
234
|
+
redis_acl_categories=pulumi.get(__response__, 'redis_acl_categories'),
|
|
235
|
+
redis_acl_channels=pulumi.get(__response__, 'redis_acl_channels'),
|
|
236
|
+
redis_acl_commands=pulumi.get(__response__, 'redis_acl_commands'),
|
|
237
|
+
redis_acl_keys=pulumi.get(__response__, 'redis_acl_keys'),
|
|
238
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
239
|
+
type=pulumi.get(__response__, 'type'),
|
|
240
|
+
username=pulumi.get(__response__, 'username')))
|
|
@@ -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__ = [
|
|
@@ -81,7 +86,7 @@ class GetServiceComponentResult:
|
|
|
81
86
|
@pulumi.getter(name="kafkaAuthenticationMethod")
|
|
82
87
|
def kafka_authentication_method(self) -> Optional[str]:
|
|
83
88
|
"""
|
|
84
|
-
Kafka authentication method. This is a value specific to the 'kafka' service component
|
|
89
|
+
Kafka authentication method. This is a value specific to the 'kafka' service component. The possible values are `certificate` and `sasl`.
|
|
85
90
|
"""
|
|
86
91
|
return pulumi.get(self, "kafka_authentication_method")
|
|
87
92
|
|
|
@@ -105,7 +110,7 @@ class GetServiceComponentResult:
|
|
|
105
110
|
@pulumi.getter
|
|
106
111
|
def route(self) -> Optional[str]:
|
|
107
112
|
"""
|
|
108
|
-
Network access route
|
|
113
|
+
Network access route. The possible values are `dynamic`, `public`, `private` and `privatelink`.
|
|
109
114
|
"""
|
|
110
115
|
return pulumi.get(self, "route")
|
|
111
116
|
|
|
@@ -129,7 +134,7 @@ class GetServiceComponentResult:
|
|
|
129
134
|
@pulumi.getter
|
|
130
135
|
def usage(self) -> Optional[str]:
|
|
131
136
|
"""
|
|
132
|
-
DNS usage name
|
|
137
|
+
DNS usage name. The possible values are `disaster_recovery`, `primary` and `replica`.
|
|
133
138
|
"""
|
|
134
139
|
return pulumi.get(self, "usage")
|
|
135
140
|
|
|
@@ -167,27 +172,25 @@ def get_service_component(component: Optional[str] = None,
|
|
|
167
172
|
|
|
168
173
|
## Example Usage
|
|
169
174
|
|
|
170
|
-
<!--Start PulumiCodeChooser -->
|
|
171
175
|
```python
|
|
172
176
|
import pulumi
|
|
173
177
|
import pulumi_aiven as aiven
|
|
174
178
|
|
|
175
|
-
sc1 = aiven.get_service_component(project=
|
|
176
|
-
service_name=
|
|
179
|
+
sc1 = aiven.get_service_component(project=project1["project"],
|
|
180
|
+
service_name=service1["serviceName"],
|
|
177
181
|
component="kafka",
|
|
178
182
|
route="dynamic",
|
|
179
183
|
kafka_authentication_method="certificate")
|
|
180
184
|
```
|
|
181
|
-
<!--End PulumiCodeChooser -->
|
|
182
185
|
|
|
183
186
|
|
|
184
187
|
:param str component: Service component name
|
|
185
|
-
:param str kafka_authentication_method: Kafka authentication method. This is a value specific to the 'kafka' service component
|
|
188
|
+
:param str kafka_authentication_method: Kafka authentication method. This is a value specific to the 'kafka' service component. The possible values are `certificate` and `sasl`.
|
|
186
189
|
:param str project: Project name
|
|
187
|
-
:param str route: Network access route
|
|
190
|
+
:param str route: Network access route. The possible values are `dynamic`, `public`, `private` and `privatelink`.
|
|
188
191
|
:param str service_name: Service name
|
|
189
192
|
:param bool ssl: Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components that may disable encryption
|
|
190
|
-
:param str usage: DNS usage name
|
|
193
|
+
:param str usage: DNS usage name. The possible values are `disaster_recovery`, `primary` and `replica`.
|
|
191
194
|
"""
|
|
192
195
|
__args__ = dict()
|
|
193
196
|
__args__['component'] = component
|
|
@@ -211,9 +214,6 @@ def get_service_component(component: Optional[str] = None,
|
|
|
211
214
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
212
215
|
ssl=pulumi.get(__ret__, 'ssl'),
|
|
213
216
|
usage=pulumi.get(__ret__, 'usage'))
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
@_utilities.lift_output_func(get_service_component)
|
|
217
217
|
def get_service_component_output(component: Optional[pulumi.Input[str]] = None,
|
|
218
218
|
kafka_authentication_method: Optional[pulumi.Input[Optional[str]]] = None,
|
|
219
219
|
project: Optional[pulumi.Input[str]] = None,
|
|
@@ -221,7 +221,7 @@ def get_service_component_output(component: Optional[pulumi.Input[str]] = None,
|
|
|
221
221
|
service_name: Optional[pulumi.Input[Optional[str]]] = None,
|
|
222
222
|
ssl: Optional[pulumi.Input[Optional[bool]]] = None,
|
|
223
223
|
usage: Optional[pulumi.Input[Optional[str]]] = None,
|
|
224
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceComponentResult]:
|
|
224
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServiceComponentResult]:
|
|
225
225
|
"""
|
|
226
226
|
The Service Component data source provides information about the existing Aiven service Component.
|
|
227
227
|
|
|
@@ -229,26 +229,44 @@ def get_service_component_output(component: Optional[pulumi.Input[str]] = None,
|
|
|
229
229
|
|
|
230
230
|
## Example Usage
|
|
231
231
|
|
|
232
|
-
<!--Start PulumiCodeChooser -->
|
|
233
232
|
```python
|
|
234
233
|
import pulumi
|
|
235
234
|
import pulumi_aiven as aiven
|
|
236
235
|
|
|
237
|
-
sc1 = aiven.get_service_component(project=
|
|
238
|
-
service_name=
|
|
236
|
+
sc1 = aiven.get_service_component(project=project1["project"],
|
|
237
|
+
service_name=service1["serviceName"],
|
|
239
238
|
component="kafka",
|
|
240
239
|
route="dynamic",
|
|
241
240
|
kafka_authentication_method="certificate")
|
|
242
241
|
```
|
|
243
|
-
<!--End PulumiCodeChooser -->
|
|
244
242
|
|
|
245
243
|
|
|
246
244
|
:param str component: Service component name
|
|
247
|
-
:param str kafka_authentication_method: Kafka authentication method. This is a value specific to the 'kafka' service component
|
|
245
|
+
:param str kafka_authentication_method: Kafka authentication method. This is a value specific to the 'kafka' service component. The possible values are `certificate` and `sasl`.
|
|
248
246
|
:param str project: Project name
|
|
249
|
-
:param str route: Network access route
|
|
247
|
+
:param str route: Network access route. The possible values are `dynamic`, `public`, `private` and `privatelink`.
|
|
250
248
|
:param str service_name: Service name
|
|
251
249
|
:param bool ssl: Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components that may disable encryption
|
|
252
|
-
:param str usage: DNS usage name
|
|
250
|
+
:param str usage: DNS usage name. The possible values are `disaster_recovery`, `primary` and `replica`.
|
|
253
251
|
"""
|
|
254
|
-
|
|
252
|
+
__args__ = dict()
|
|
253
|
+
__args__['component'] = component
|
|
254
|
+
__args__['kafkaAuthenticationMethod'] = kafka_authentication_method
|
|
255
|
+
__args__['project'] = project
|
|
256
|
+
__args__['route'] = route
|
|
257
|
+
__args__['serviceName'] = service_name
|
|
258
|
+
__args__['ssl'] = ssl
|
|
259
|
+
__args__['usage'] = usage
|
|
260
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
261
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getServiceComponent:getServiceComponent', __args__, opts=opts, typ=GetServiceComponentResult)
|
|
262
|
+
return __ret__.apply(lambda __response__: GetServiceComponentResult(
|
|
263
|
+
component=pulumi.get(__response__, 'component'),
|
|
264
|
+
host=pulumi.get(__response__, 'host'),
|
|
265
|
+
id=pulumi.get(__response__, 'id'),
|
|
266
|
+
kafka_authentication_method=pulumi.get(__response__, 'kafka_authentication_method'),
|
|
267
|
+
port=pulumi.get(__response__, 'port'),
|
|
268
|
+
project=pulumi.get(__response__, 'project'),
|
|
269
|
+
route=pulumi.get(__response__, 'route'),
|
|
270
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
271
|
+
ssl=pulumi.get(__response__, 'ssl'),
|
|
272
|
+
usage=pulumi.get(__response__, 'usage')))
|