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
|
@@ -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__ = [
|
|
@@ -48,7 +53,7 @@ class GetGcpVpcPeeringConnectionResult:
|
|
|
48
53
|
@pulumi.getter(name="gcpProjectId")
|
|
49
54
|
def gcp_project_id(self) -> str:
|
|
50
55
|
"""
|
|
51
|
-
|
|
56
|
+
Google Cloud project ID. Changing this property forces recreation of the resource.
|
|
52
57
|
"""
|
|
53
58
|
return pulumi.get(self, "gcp_project_id")
|
|
54
59
|
|
|
@@ -64,7 +69,7 @@ class GetGcpVpcPeeringConnectionResult:
|
|
|
64
69
|
@pulumi.getter(name="peerVpc")
|
|
65
70
|
def peer_vpc(self) -> str:
|
|
66
71
|
"""
|
|
67
|
-
|
|
72
|
+
Google Cloud VPC network name. Changing this property forces recreation of the resource.
|
|
68
73
|
"""
|
|
69
74
|
return pulumi.get(self, "peer_vpc")
|
|
70
75
|
|
|
@@ -72,7 +77,7 @@ class GetGcpVpcPeeringConnectionResult:
|
|
|
72
77
|
@pulumi.getter(name="selfLink")
|
|
73
78
|
def self_link(self) -> str:
|
|
74
79
|
"""
|
|
75
|
-
Computed
|
|
80
|
+
Computed Google Cloud network peering link.
|
|
76
81
|
"""
|
|
77
82
|
return pulumi.get(self, "self_link")
|
|
78
83
|
|
|
@@ -80,15 +85,15 @@ class GetGcpVpcPeeringConnectionResult:
|
|
|
80
85
|
@pulumi.getter
|
|
81
86
|
def state(self) -> str:
|
|
82
87
|
"""
|
|
83
|
-
State of the peering connection
|
|
88
|
+
State of the peering connection.
|
|
84
89
|
"""
|
|
85
90
|
return pulumi.get(self, "state")
|
|
86
91
|
|
|
87
92
|
@property
|
|
88
93
|
@pulumi.getter(name="stateInfo")
|
|
89
|
-
def state_info(self) -> Mapping[str,
|
|
94
|
+
def state_info(self) -> Mapping[str, str]:
|
|
90
95
|
"""
|
|
91
|
-
State-specific help or error information
|
|
96
|
+
State-specific help or error information.
|
|
92
97
|
"""
|
|
93
98
|
return pulumi.get(self, "state_info")
|
|
94
99
|
|
|
@@ -96,7 +101,7 @@ class GetGcpVpcPeeringConnectionResult:
|
|
|
96
101
|
@pulumi.getter(name="vpcId")
|
|
97
102
|
def vpc_id(self) -> str:
|
|
98
103
|
"""
|
|
99
|
-
The VPC the peering connection belongs to.
|
|
104
|
+
The VPC the peering connection belongs to. Changing this property forces recreation of the resource.
|
|
100
105
|
"""
|
|
101
106
|
return pulumi.get(self, "vpc_id")
|
|
102
107
|
|
|
@@ -129,15 +134,15 @@ def get_gcp_vpc_peering_connection(gcp_project_id: Optional[str] = None,
|
|
|
129
134
|
import pulumi
|
|
130
135
|
import pulumi_aiven as aiven
|
|
131
136
|
|
|
132
|
-
|
|
133
|
-
gcp_project_id="
|
|
134
|
-
peer_vpc="
|
|
137
|
+
main = aiven.get_gcp_vpc_peering_connection(vpc_id=vpc["id"],
|
|
138
|
+
gcp_project_id="example-project",
|
|
139
|
+
peer_vpc="example-network")
|
|
135
140
|
```
|
|
136
141
|
|
|
137
142
|
|
|
138
|
-
:param str gcp_project_id:
|
|
139
|
-
:param str peer_vpc:
|
|
140
|
-
:param str vpc_id: The VPC the peering connection belongs to.
|
|
143
|
+
:param str gcp_project_id: Google Cloud project ID. Changing this property forces recreation of the resource.
|
|
144
|
+
:param str peer_vpc: Google Cloud VPC network name. Changing this property forces recreation of the resource.
|
|
145
|
+
:param str vpc_id: The VPC the peering connection belongs to. Changing this property forces recreation of the resource.
|
|
141
146
|
"""
|
|
142
147
|
__args__ = dict()
|
|
143
148
|
__args__['gcpProjectId'] = gcp_project_id
|
|
@@ -154,13 +159,10 @@ def get_gcp_vpc_peering_connection(gcp_project_id: Optional[str] = None,
|
|
|
154
159
|
state=pulumi.get(__ret__, 'state'),
|
|
155
160
|
state_info=pulumi.get(__ret__, 'state_info'),
|
|
156
161
|
vpc_id=pulumi.get(__ret__, 'vpc_id'))
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
@_utilities.lift_output_func(get_gcp_vpc_peering_connection)
|
|
160
162
|
def get_gcp_vpc_peering_connection_output(gcp_project_id: Optional[pulumi.Input[str]] = None,
|
|
161
163
|
peer_vpc: Optional[pulumi.Input[str]] = None,
|
|
162
164
|
vpc_id: Optional[pulumi.Input[str]] = None,
|
|
163
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGcpVpcPeeringConnectionResult]:
|
|
165
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGcpVpcPeeringConnectionResult]:
|
|
164
166
|
"""
|
|
165
167
|
The GCP VPC Peering Connection data source provides information about the existing Aiven VPC Peering Connection.
|
|
166
168
|
|
|
@@ -170,14 +172,27 @@ def get_gcp_vpc_peering_connection_output(gcp_project_id: Optional[pulumi.Input[
|
|
|
170
172
|
import pulumi
|
|
171
173
|
import pulumi_aiven as aiven
|
|
172
174
|
|
|
173
|
-
|
|
174
|
-
gcp_project_id="
|
|
175
|
-
peer_vpc="
|
|
175
|
+
main = aiven.get_gcp_vpc_peering_connection(vpc_id=vpc["id"],
|
|
176
|
+
gcp_project_id="example-project",
|
|
177
|
+
peer_vpc="example-network")
|
|
176
178
|
```
|
|
177
179
|
|
|
178
180
|
|
|
179
|
-
:param str gcp_project_id:
|
|
180
|
-
:param str peer_vpc:
|
|
181
|
-
:param str vpc_id: The VPC the peering connection belongs to.
|
|
181
|
+
:param str gcp_project_id: Google Cloud project ID. Changing this property forces recreation of the resource.
|
|
182
|
+
:param str peer_vpc: Google Cloud VPC network name. Changing this property forces recreation of the resource.
|
|
183
|
+
:param str vpc_id: The VPC the peering connection belongs to. Changing this property forces recreation of the resource.
|
|
182
184
|
"""
|
|
183
|
-
|
|
185
|
+
__args__ = dict()
|
|
186
|
+
__args__['gcpProjectId'] = gcp_project_id
|
|
187
|
+
__args__['peerVpc'] = peer_vpc
|
|
188
|
+
__args__['vpcId'] = vpc_id
|
|
189
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
190
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getGcpVpcPeeringConnection:getGcpVpcPeeringConnection', __args__, opts=opts, typ=GetGcpVpcPeeringConnectionResult)
|
|
191
|
+
return __ret__.apply(lambda __response__: GetGcpVpcPeeringConnectionResult(
|
|
192
|
+
gcp_project_id=pulumi.get(__response__, 'gcp_project_id'),
|
|
193
|
+
id=pulumi.get(__response__, 'id'),
|
|
194
|
+
peer_vpc=pulumi.get(__response__, 'peer_vpc'),
|
|
195
|
+
self_link=pulumi.get(__response__, 'self_link'),
|
|
196
|
+
state=pulumi.get(__response__, 'state'),
|
|
197
|
+
state_info=pulumi.get(__response__, 'state_info'),
|
|
198
|
+
vpc_id=pulumi.get(__response__, 'vpc_id')))
|
pulumi_aiven/get_grafana.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 GetGrafanaResult:
|
|
|
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 GetGrafanaResult:
|
|
|
179
184
|
@pulumi.getter(name="grafanaUserConfigs")
|
|
180
185
|
def grafana_user_configs(self) -> Sequence['outputs.GetGrafanaGrafanaUserConfigResult']:
|
|
181
186
|
"""
|
|
182
|
-
Grafana user configurable settings
|
|
187
|
+
Grafana 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, "grafana_user_configs")
|
|
185
190
|
|
|
@@ -187,7 +192,7 @@ class GetGrafanaResult:
|
|
|
187
192
|
@pulumi.getter
|
|
188
193
|
def grafanas(self) -> Sequence['outputs.GetGrafanaGrafanaResult']:
|
|
189
194
|
"""
|
|
190
|
-
Grafana server
|
|
195
|
+
Values provided by the Grafana server.
|
|
191
196
|
"""
|
|
192
197
|
return pulumi.get(self, "grafanas")
|
|
193
198
|
|
|
@@ -219,7 +224,7 @@ class GetGrafanaResult:
|
|
|
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 GetGrafanaResult:
|
|
|
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 GetGrafanaResult:
|
|
|
331
336
|
@pulumi.getter(name="techEmails")
|
|
332
337
|
def tech_emails(self) -> Sequence['outputs.GetGrafanaTechEmailResult']:
|
|
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_grafana(project: Optional[str] = None,
|
|
|
385
390
|
service_name: Optional[str] = None,
|
|
386
391
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetGrafanaResult:
|
|
387
392
|
"""
|
|
388
|
-
|
|
393
|
+
Gets information about an Aiven for Grafana® service.
|
|
389
394
|
|
|
390
395
|
## Example Usage
|
|
391
396
|
|
|
@@ -393,12 +398,12 @@ def get_grafana(project: Optional[str] = None,
|
|
|
393
398
|
import pulumi
|
|
394
399
|
import pulumi_aiven as aiven
|
|
395
400
|
|
|
396
|
-
|
|
397
|
-
service_name="
|
|
401
|
+
example_grafana = aiven.get_grafana(project=example_project["project"],
|
|
402
|
+
service_name="example-grafana-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_grafana(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_grafana)
|
|
443
445
|
def get_grafana_output(project: Optional[pulumi.Input[str]] = None,
|
|
444
446
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
445
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGrafanaResult]:
|
|
447
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGrafanaResult]:
|
|
446
448
|
"""
|
|
447
|
-
|
|
449
|
+
Gets information about an Aiven for Grafana® service.
|
|
448
450
|
|
|
449
451
|
## Example Usage
|
|
450
452
|
|
|
@@ -452,12 +454,46 @@ def get_grafana_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_grafana = aiven.get_grafana(project=example_project["project"],
|
|
458
|
+
service_name="example-grafana-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/getGrafana:getGrafana', __args__, opts=opts, typ=GetGrafanaResult)
|
|
470
|
+
return __ret__.apply(lambda __response__: GetGrafanaResult(
|
|
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
|
+
grafana_user_configs=pulumi.get(__response__, 'grafana_user_configs'),
|
|
480
|
+
grafanas=pulumi.get(__response__, 'grafanas'),
|
|
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')))
|
pulumi_aiven/get_influx_db.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
|
|
|
@@ -339,13 +344,44 @@ def get_influx_db(project: Optional[str] = None,
|
|
|
339
344
|
tags=pulumi.get(__ret__, 'tags'),
|
|
340
345
|
tech_emails=pulumi.get(__ret__, 'tech_emails'),
|
|
341
346
|
termination_protection=pulumi.get(__ret__, 'termination_protection'))
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
@_utilities.lift_output_func(get_influx_db)
|
|
345
347
|
def get_influx_db_output(project: Optional[pulumi.Input[str]] = None,
|
|
346
348
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
347
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInfluxDbResult]:
|
|
349
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInfluxDbResult]:
|
|
348
350
|
"""
|
|
349
351
|
Use this data source to access information about an existing resource.
|
|
350
352
|
"""
|
|
351
|
-
|
|
353
|
+
__args__ = dict()
|
|
354
|
+
__args__['project'] = project
|
|
355
|
+
__args__['serviceName'] = service_name
|
|
356
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
357
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getInfluxDb:getInfluxDb', __args__, opts=opts, typ=GetInfluxDbResult)
|
|
358
|
+
return __ret__.apply(lambda __response__: GetInfluxDbResult(
|
|
359
|
+
additional_disk_space=pulumi.get(__response__, 'additional_disk_space'),
|
|
360
|
+
cloud_name=pulumi.get(__response__, 'cloud_name'),
|
|
361
|
+
components=pulumi.get(__response__, 'components'),
|
|
362
|
+
disk_space=pulumi.get(__response__, 'disk_space'),
|
|
363
|
+
disk_space_cap=pulumi.get(__response__, 'disk_space_cap'),
|
|
364
|
+
disk_space_default=pulumi.get(__response__, 'disk_space_default'),
|
|
365
|
+
disk_space_step=pulumi.get(__response__, 'disk_space_step'),
|
|
366
|
+
disk_space_used=pulumi.get(__response__, 'disk_space_used'),
|
|
367
|
+
id=pulumi.get(__response__, 'id'),
|
|
368
|
+
influxdb_user_configs=pulumi.get(__response__, 'influxdb_user_configs'),
|
|
369
|
+
influxdbs=pulumi.get(__response__, 'influxdbs'),
|
|
370
|
+
maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
|
|
371
|
+
maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
|
|
372
|
+
plan=pulumi.get(__response__, 'plan'),
|
|
373
|
+
project=pulumi.get(__response__, 'project'),
|
|
374
|
+
project_vpc_id=pulumi.get(__response__, 'project_vpc_id'),
|
|
375
|
+
service_host=pulumi.get(__response__, 'service_host'),
|
|
376
|
+
service_integrations=pulumi.get(__response__, 'service_integrations'),
|
|
377
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
378
|
+
service_password=pulumi.get(__response__, 'service_password'),
|
|
379
|
+
service_port=pulumi.get(__response__, 'service_port'),
|
|
380
|
+
service_type=pulumi.get(__response__, 'service_type'),
|
|
381
|
+
service_uri=pulumi.get(__response__, 'service_uri'),
|
|
382
|
+
service_username=pulumi.get(__response__, 'service_username'),
|
|
383
|
+
state=pulumi.get(__response__, 'state'),
|
|
384
|
+
static_ips=pulumi.get(__response__, 'static_ips'),
|
|
385
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
386
|
+
tech_emails=pulumi.get(__response__, 'tech_emails'),
|
|
387
|
+
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__ = [
|
|
@@ -100,14 +105,22 @@ def get_influxdb_database(database_name: Optional[str] = None,
|
|
|
100
105
|
project=pulumi.get(__ret__, 'project'),
|
|
101
106
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
102
107
|
termination_protection=pulumi.get(__ret__, 'termination_protection'))
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
@_utilities.lift_output_func(get_influxdb_database)
|
|
106
108
|
def get_influxdb_database_output(database_name: Optional[pulumi.Input[str]] = None,
|
|
107
109
|
project: Optional[pulumi.Input[str]] = None,
|
|
108
110
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
109
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInfluxdbDatabaseResult]:
|
|
111
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInfluxdbDatabaseResult]:
|
|
110
112
|
"""
|
|
111
113
|
Use this data source to access information about an existing resource.
|
|
112
114
|
"""
|
|
113
|
-
|
|
115
|
+
__args__ = dict()
|
|
116
|
+
__args__['databaseName'] = database_name
|
|
117
|
+
__args__['project'] = project
|
|
118
|
+
__args__['serviceName'] = service_name
|
|
119
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
120
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getInfluxdbDatabase:getInfluxdbDatabase', __args__, opts=opts, typ=GetInfluxdbDatabaseResult)
|
|
121
|
+
return __ret__.apply(lambda __response__: GetInfluxdbDatabaseResult(
|
|
122
|
+
database_name=pulumi.get(__response__, 'database_name'),
|
|
123
|
+
id=pulumi.get(__response__, 'id'),
|
|
124
|
+
project=pulumi.get(__response__, 'project'),
|
|
125
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
126
|
+
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__ = [
|
|
@@ -130,14 +135,25 @@ def get_influxdb_user(project: Optional[str] = None,
|
|
|
130
135
|
service_name=pulumi.get(__ret__, 'service_name'),
|
|
131
136
|
type=pulumi.get(__ret__, 'type'),
|
|
132
137
|
username=pulumi.get(__ret__, 'username'))
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
@_utilities.lift_output_func(get_influxdb_user)
|
|
136
138
|
def get_influxdb_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
137
139
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
138
140
|
username: Optional[pulumi.Input[str]] = None,
|
|
139
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInfluxdbUserResult]:
|
|
141
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetInfluxdbUserResult]:
|
|
140
142
|
"""
|
|
141
143
|
Use this data source to access information about an existing resource.
|
|
142
144
|
"""
|
|
143
|
-
|
|
145
|
+
__args__ = dict()
|
|
146
|
+
__args__['project'] = project
|
|
147
|
+
__args__['serviceName'] = service_name
|
|
148
|
+
__args__['username'] = username
|
|
149
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
150
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getInfluxdbUser:getInfluxdbUser', __args__, opts=opts, typ=GetInfluxdbUserResult)
|
|
151
|
+
return __ret__.apply(lambda __response__: GetInfluxdbUserResult(
|
|
152
|
+
access_cert=pulumi.get(__response__, 'access_cert'),
|
|
153
|
+
access_key=pulumi.get(__response__, 'access_key'),
|
|
154
|
+
id=pulumi.get(__response__, 'id'),
|
|
155
|
+
password=pulumi.get(__response__, 'password'),
|
|
156
|
+
project=pulumi.get(__response__, 'project'),
|
|
157
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
158
|
+
type=pulumi.get(__response__, 'type'),
|
|
159
|
+
username=pulumi.get(__response__, 'username')))
|
pulumi_aiven/get_kafka.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
|
|
|
@@ -121,7 +126,7 @@ class GetKafkaResult:
|
|
|
121
126
|
@pulumi.getter(name="additionalDiskSpace")
|
|
122
127
|
def additional_disk_space(self) -> str:
|
|
123
128
|
"""
|
|
124
|
-
|
|
129
|
+
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.
|
|
125
130
|
"""
|
|
126
131
|
return pulumi.get(self, "additional_disk_space")
|
|
127
132
|
|
|
@@ -145,7 +150,7 @@ class GetKafkaResult:
|
|
|
145
150
|
@pulumi.getter(name="defaultAcl")
|
|
146
151
|
def default_acl(self) -> bool:
|
|
147
152
|
"""
|
|
148
|
-
Create default wildcard Kafka ACL
|
|
153
|
+
Create a default wildcard Kafka ACL.
|
|
149
154
|
"""
|
|
150
155
|
return pulumi.get(self, "default_acl")
|
|
151
156
|
|
|
@@ -201,7 +206,7 @@ class GetKafkaResult:
|
|
|
201
206
|
@pulumi.getter(name="kafkaUserConfigs")
|
|
202
207
|
def kafka_user_configs(self) -> Sequence['outputs.GetKafkaKafkaUserConfigResult']:
|
|
203
208
|
"""
|
|
204
|
-
Kafka user configurable settings
|
|
209
|
+
Kafka user configurable settings. **Warning:** There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
|
|
205
210
|
"""
|
|
206
211
|
return pulumi.get(self, "kafka_user_configs")
|
|
207
212
|
|
|
@@ -209,7 +214,7 @@ class GetKafkaResult:
|
|
|
209
214
|
@pulumi.getter
|
|
210
215
|
def kafkas(self) -> Sequence['outputs.GetKafkaKafkaResult']:
|
|
211
216
|
"""
|
|
212
|
-
Kafka server
|
|
217
|
+
Kafka server connection details.
|
|
213
218
|
"""
|
|
214
219
|
return pulumi.get(self, "kafkas")
|
|
215
220
|
|
|
@@ -217,7 +222,7 @@ class GetKafkaResult:
|
|
|
217
222
|
@pulumi.getter
|
|
218
223
|
def karapace(self) -> bool:
|
|
219
224
|
"""
|
|
220
|
-
Switch the service to use Karapace for schema registry and REST proxy
|
|
225
|
+
Switch the service to use [Karapace](https://aiven.io/docs/products/kafka/karapace) for schema registry and REST proxy.
|
|
221
226
|
"""
|
|
222
227
|
return pulumi.get(self, "karapace")
|
|
223
228
|
|
|
@@ -241,7 +246,7 @@ class GetKafkaResult:
|
|
|
241
246
|
@pulumi.getter
|
|
242
247
|
def plan(self) -> str:
|
|
243
248
|
"""
|
|
244
|
-
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
|
|
249
|
+
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).
|
|
245
250
|
"""
|
|
246
251
|
return pulumi.get(self, "plan")
|
|
247
252
|
|
|
@@ -249,7 +254,7 @@ class GetKafkaResult:
|
|
|
249
254
|
@pulumi.getter
|
|
250
255
|
def project(self) -> str:
|
|
251
256
|
"""
|
|
252
|
-
|
|
257
|
+
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.
|
|
253
258
|
"""
|
|
254
259
|
return pulumi.get(self, "project")
|
|
255
260
|
|
|
@@ -353,7 +358,7 @@ class GetKafkaResult:
|
|
|
353
358
|
@pulumi.getter(name="techEmails")
|
|
354
359
|
def tech_emails(self) -> Sequence['outputs.GetKafkaTechEmailResult']:
|
|
355
360
|
"""
|
|
356
|
-
|
|
361
|
+
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.
|
|
357
362
|
"""
|
|
358
363
|
return pulumi.get(self, "tech_emails")
|
|
359
364
|
|
|
@@ -409,7 +414,7 @@ def get_kafka(project: Optional[str] = None,
|
|
|
409
414
|
service_name: Optional[str] = None,
|
|
410
415
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetKafkaResult:
|
|
411
416
|
"""
|
|
412
|
-
|
|
417
|
+
Gets information about an Aiven for Apache Kafka® service.
|
|
413
418
|
|
|
414
419
|
## Example Usage
|
|
415
420
|
|
|
@@ -417,12 +422,12 @@ def get_kafka(project: Optional[str] = None,
|
|
|
417
422
|
import pulumi
|
|
418
423
|
import pulumi_aiven as aiven
|
|
419
424
|
|
|
420
|
-
|
|
421
|
-
service_name="
|
|
425
|
+
example_kafka = aiven.get_kafka(project=example_project["project"],
|
|
426
|
+
service_name="example-kafka")
|
|
422
427
|
```
|
|
423
428
|
|
|
424
429
|
|
|
425
|
-
:param str project:
|
|
430
|
+
: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.
|
|
426
431
|
: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.
|
|
427
432
|
"""
|
|
428
433
|
__args__ = dict()
|
|
@@ -463,14 +468,11 @@ def get_kafka(project: Optional[str] = None,
|
|
|
463
468
|
tags=pulumi.get(__ret__, 'tags'),
|
|
464
469
|
tech_emails=pulumi.get(__ret__, 'tech_emails'),
|
|
465
470
|
termination_protection=pulumi.get(__ret__, 'termination_protection'))
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
@_utilities.lift_output_func(get_kafka)
|
|
469
471
|
def get_kafka_output(project: Optional[pulumi.Input[str]] = None,
|
|
470
472
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
471
|
-
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetKafkaResult]:
|
|
473
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetKafkaResult]:
|
|
472
474
|
"""
|
|
473
|
-
|
|
475
|
+
Gets information about an Aiven for Apache Kafka® service.
|
|
474
476
|
|
|
475
477
|
## Example Usage
|
|
476
478
|
|
|
@@ -478,12 +480,48 @@ def get_kafka_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
478
480
|
import pulumi
|
|
479
481
|
import pulumi_aiven as aiven
|
|
480
482
|
|
|
481
|
-
|
|
482
|
-
service_name="
|
|
483
|
+
example_kafka = aiven.get_kafka(project=example_project["project"],
|
|
484
|
+
service_name="example-kafka")
|
|
483
485
|
```
|
|
484
486
|
|
|
485
487
|
|
|
486
|
-
:param str project:
|
|
488
|
+
: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.
|
|
487
489
|
: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.
|
|
488
490
|
"""
|
|
489
|
-
|
|
491
|
+
__args__ = dict()
|
|
492
|
+
__args__['project'] = project
|
|
493
|
+
__args__['serviceName'] = service_name
|
|
494
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
495
|
+
__ret__ = pulumi.runtime.invoke_output('aiven:index/getKafka:getKafka', __args__, opts=opts, typ=GetKafkaResult)
|
|
496
|
+
return __ret__.apply(lambda __response__: GetKafkaResult(
|
|
497
|
+
additional_disk_space=pulumi.get(__response__, 'additional_disk_space'),
|
|
498
|
+
cloud_name=pulumi.get(__response__, 'cloud_name'),
|
|
499
|
+
components=pulumi.get(__response__, 'components'),
|
|
500
|
+
default_acl=pulumi.get(__response__, 'default_acl'),
|
|
501
|
+
disk_space=pulumi.get(__response__, 'disk_space'),
|
|
502
|
+
disk_space_cap=pulumi.get(__response__, 'disk_space_cap'),
|
|
503
|
+
disk_space_default=pulumi.get(__response__, 'disk_space_default'),
|
|
504
|
+
disk_space_step=pulumi.get(__response__, 'disk_space_step'),
|
|
505
|
+
disk_space_used=pulumi.get(__response__, 'disk_space_used'),
|
|
506
|
+
id=pulumi.get(__response__, 'id'),
|
|
507
|
+
kafka_user_configs=pulumi.get(__response__, 'kafka_user_configs'),
|
|
508
|
+
kafkas=pulumi.get(__response__, 'kafkas'),
|
|
509
|
+
karapace=pulumi.get(__response__, 'karapace'),
|
|
510
|
+
maintenance_window_dow=pulumi.get(__response__, 'maintenance_window_dow'),
|
|
511
|
+
maintenance_window_time=pulumi.get(__response__, 'maintenance_window_time'),
|
|
512
|
+
plan=pulumi.get(__response__, 'plan'),
|
|
513
|
+
project=pulumi.get(__response__, 'project'),
|
|
514
|
+
project_vpc_id=pulumi.get(__response__, 'project_vpc_id'),
|
|
515
|
+
service_host=pulumi.get(__response__, 'service_host'),
|
|
516
|
+
service_integrations=pulumi.get(__response__, 'service_integrations'),
|
|
517
|
+
service_name=pulumi.get(__response__, 'service_name'),
|
|
518
|
+
service_password=pulumi.get(__response__, 'service_password'),
|
|
519
|
+
service_port=pulumi.get(__response__, 'service_port'),
|
|
520
|
+
service_type=pulumi.get(__response__, 'service_type'),
|
|
521
|
+
service_uri=pulumi.get(__response__, 'service_uri'),
|
|
522
|
+
service_username=pulumi.get(__response__, 'service_username'),
|
|
523
|
+
state=pulumi.get(__response__, 'state'),
|
|
524
|
+
static_ips=pulumi.get(__response__, 'static_ips'),
|
|
525
|
+
tags=pulumi.get(__response__, 'tags'),
|
|
526
|
+
tech_emails=pulumi.get(__response__, 'tech_emails'),
|
|
527
|
+
termination_protection=pulumi.get(__response__, 'termination_protection')))
|