pulumi-aiven 6.8.0a1696284100__py3-none-any.whl → 6.8.0a1696359310__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/_inputs.py +5916 -1115
- pulumi_aiven/account.py +49 -14
- pulumi_aiven/account_authentication.py +117 -32
- pulumi_aiven/account_team.py +40 -8
- pulumi_aiven/account_team_member.py +46 -10
- pulumi_aiven/account_team_project.py +43 -9
- pulumi_aiven/aws_privatelink.py +43 -9
- pulumi_aiven/aws_vpc_peering_connection.py +52 -12
- pulumi_aiven/azure_privatelink.py +49 -11
- pulumi_aiven/azure_privatelink_connection_approval.py +43 -9
- pulumi_aiven/azure_vpc_peering_connection.py +64 -16
- pulumi_aiven/billing_group.py +109 -34
- pulumi_aiven/cassandra.py +158 -56
- pulumi_aiven/cassandra_user.py +52 -12
- pulumi_aiven/clickhouse.py +158 -56
- pulumi_aiven/clickhouse_database.py +43 -9
- pulumi_aiven/clickhouse_grant.py +62 -20
- pulumi_aiven/clickhouse_role.py +37 -7
- pulumi_aiven/clickhouse_user.py +46 -10
- pulumi_aiven/config/vars.py +1 -1
- pulumi_aiven/connection_pool.py +64 -16
- pulumi_aiven/flink.py +162 -53
- pulumi_aiven/flink_application.py +52 -12
- pulumi_aiven/flink_application_deployment.py +67 -17
- pulumi_aiven/flink_application_version.py +79 -27
- pulumi_aiven/gcp_privatelink.py +40 -8
- pulumi_aiven/gcp_privatelink_connection_approval.py +46 -10
- pulumi_aiven/gcp_vpc_peering_connection.py +46 -10
- pulumi_aiven/get_account.py +1 -1
- pulumi_aiven/get_account_authentication.py +1 -1
- pulumi_aiven/get_account_team.py +1 -1
- pulumi_aiven/get_account_team_member.py +1 -1
- pulumi_aiven/get_account_team_project.py +1 -1
- pulumi_aiven/get_aws_privatelink.py +1 -1
- pulumi_aiven/get_aws_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_azure_privatelink.py +1 -1
- pulumi_aiven/get_azure_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_billing_group.py +1 -1
- pulumi_aiven/get_cassanda.py +1 -1
- pulumi_aiven/get_cassandra.py +1 -1
- pulumi_aiven/get_cassandra_user.py +1 -1
- pulumi_aiven/get_clickhouse.py +1 -1
- pulumi_aiven/get_clickhouse_database.py +1 -1
- pulumi_aiven/get_clickhouse_user.py +1 -1
- pulumi_aiven/get_connection_pool.py +1 -1
- pulumi_aiven/get_flink.py +1 -1
- pulumi_aiven/get_flink_application.py +1 -1
- pulumi_aiven/get_flink_application_version.py +1 -1
- pulumi_aiven/get_gcp_privatelink.py +1 -1
- pulumi_aiven/get_gcp_vpc_peering_connection.py +1 -1
- pulumi_aiven/get_grafana.py +1 -1
- pulumi_aiven/get_influx_db.py +1 -1
- pulumi_aiven/get_influxdb_database.py +1 -1
- pulumi_aiven/get_influxdb_user.py +1 -1
- pulumi_aiven/get_kafka.py +1 -1
- pulumi_aiven/get_kafka_acl.py +1 -1
- pulumi_aiven/get_kafka_connect.py +1 -1
- pulumi_aiven/get_kafka_connector.py +1 -1
- pulumi_aiven/get_kafka_mirror_maker.py +1 -1
- pulumi_aiven/get_kafka_schema.py +1 -1
- pulumi_aiven/get_kafka_schema_configuration.py +1 -1
- pulumi_aiven/get_kafka_schema_registry_acl.py +1 -1
- pulumi_aiven/get_kafka_topic.py +1 -1
- pulumi_aiven/get_kafka_user.py +1 -1
- pulumi_aiven/get_m3_aggregator.py +1 -1
- pulumi_aiven/get_m3_db.py +1 -1
- pulumi_aiven/get_m3db_user.py +1 -1
- pulumi_aiven/get_mirror_maker_replication_flow.py +1 -1
- pulumi_aiven/get_my_sql.py +1 -1
- pulumi_aiven/get_mysql_database.py +1 -1
- pulumi_aiven/get_mysql_user.py +1 -1
- pulumi_aiven/get_open_search.py +1 -1
- pulumi_aiven/get_open_search_acl_config.py +1 -1
- pulumi_aiven/get_open_search_acl_rule.py +1 -1
- pulumi_aiven/get_opensearch_security_plugin_config.py +1 -1
- pulumi_aiven/get_opensearch_user.py +1 -1
- pulumi_aiven/get_organization.py +1 -1
- pulumi_aiven/get_organization_user.py +1 -1
- pulumi_aiven/get_organization_user_group.py +1 -1
- pulumi_aiven/get_organizational_unit.py +1 -1
- pulumi_aiven/get_pg.py +1 -1
- pulumi_aiven/get_pg_database.py +1 -1
- pulumi_aiven/get_pg_user.py +1 -1
- pulumi_aiven/get_project.py +1 -1
- pulumi_aiven/get_project_user.py +1 -1
- pulumi_aiven/get_project_vpc.py +1 -1
- pulumi_aiven/get_redis.py +1 -1
- pulumi_aiven/get_redis_user.py +1 -1
- pulumi_aiven/get_service_component.py +1 -1
- pulumi_aiven/get_service_integration.py +1 -1
- pulumi_aiven/get_service_integration_endpoint.py +1 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +1 -1
- pulumi_aiven/grafana.py +147 -45
- pulumi_aiven/influx_db.py +158 -56
- pulumi_aiven/influxdb_database.py +43 -9
- pulumi_aiven/influxdb_user.py +52 -12
- pulumi_aiven/kafka.py +170 -63
- pulumi_aiven/kafka_acl.py +52 -12
- pulumi_aiven/kafka_connect.py +147 -45
- pulumi_aiven/kafka_connector.py +64 -16
- pulumi_aiven/kafka_mirror_maker.py +147 -45
- pulumi_aiven/kafka_schema.py +58 -14
- pulumi_aiven/kafka_schema_configuration.py +37 -7
- pulumi_aiven/kafka_schema_registry_acl.py +52 -12
- pulumi_aiven/kafka_topic.py +72 -17
- pulumi_aiven/kafka_user.py +52 -12
- pulumi_aiven/m3_aggregator.py +147 -45
- pulumi_aiven/m3_db.py +147 -45
- pulumi_aiven/m3db_user.py +46 -10
- pulumi_aiven/mirror_maker_replication_flow.py +91 -25
- pulumi_aiven/my_sql.py +147 -45
- pulumi_aiven/mysql_database.py +43 -9
- pulumi_aiven/mysql_user.py +58 -14
- pulumi_aiven/open_search.py +158 -56
- pulumi_aiven/open_search_acl_config.py +43 -9
- pulumi_aiven/open_search_acl_rule.py +49 -11
- pulumi_aiven/opensearch_security_plugin_config.py +46 -10
- pulumi_aiven/opensearch_user.py +46 -10
- pulumi_aiven/organization.py +45 -8
- pulumi_aiven/organization_user.py +40 -8
- pulumi_aiven/organization_user_group.py +43 -9
- pulumi_aiven/organizational_unit.py +40 -8
- pulumi_aiven/outputs.py +10584 -2482
- pulumi_aiven/pg.py +169 -60
- pulumi_aiven/pg_database.py +55 -13
- pulumi_aiven/pg_user.py +58 -14
- pulumi_aiven/project.py +91 -34
- pulumi_aiven/project_user.py +40 -8
- pulumi_aiven/project_vpc.py +40 -8
- pulumi_aiven/provider.py +15 -2
- pulumi_aiven/redis.py +147 -45
- pulumi_aiven/redis_user.py +70 -18
- pulumi_aiven/service_integration.py +157 -32
- pulumi_aiven/service_integration_endpoint.py +161 -30
- pulumi_aiven/static_ip.py +43 -9
- pulumi_aiven/transit_gateway_vpc_attachment.py +58 -17
- {pulumi_aiven-6.8.0a1696284100.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/METADATA +1 -1
- pulumi_aiven-6.8.0a1696359310.dist-info/RECORD +145 -0
- pulumi_aiven-6.8.0a1696284100.dist-info/RECORD +0 -145
- {pulumi_aiven-6.8.0a1696284100.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.8.0a1696284100.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/top_level.txt +0 -0
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = ['InfluxdbDatabaseArgs', 'InfluxdbDatabase']
|
|
@@ -26,11 +26,26 @@ class InfluxdbDatabaseArgs:
|
|
|
26
26
|
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
27
27
|
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
28
28
|
"""
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
InfluxdbDatabaseArgs._configure(
|
|
30
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
31
|
+
database_name=database_name,
|
|
32
|
+
project=project,
|
|
33
|
+
service_name=service_name,
|
|
34
|
+
termination_protection=termination_protection,
|
|
35
|
+
)
|
|
36
|
+
@staticmethod
|
|
37
|
+
def _configure(
|
|
38
|
+
_setter: Callable[[Any, Any], None],
|
|
39
|
+
database_name: pulumi.Input[str],
|
|
40
|
+
project: pulumi.Input[str],
|
|
41
|
+
service_name: pulumi.Input[str],
|
|
42
|
+
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
43
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
44
|
+
_setter("database_name", database_name)
|
|
45
|
+
_setter("project", project)
|
|
46
|
+
_setter("service_name", service_name)
|
|
32
47
|
if termination_protection is not None:
|
|
33
|
-
|
|
48
|
+
_setter("termination_protection", termination_protection)
|
|
34
49
|
|
|
35
50
|
@property
|
|
36
51
|
@pulumi.getter(name="databaseName")
|
|
@@ -97,14 +112,29 @@ class _InfluxdbDatabaseState:
|
|
|
97
112
|
:param pulumi.Input[bool] termination_protection: It is a Terraform client-side deletion protections, which prevents the database from being deleted by Terraform. It is
|
|
98
113
|
recommended to enable this for any production databases containing critical data. The default value is `false`.
|
|
99
114
|
"""
|
|
115
|
+
_InfluxdbDatabaseState._configure(
|
|
116
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
117
|
+
database_name=database_name,
|
|
118
|
+
project=project,
|
|
119
|
+
service_name=service_name,
|
|
120
|
+
termination_protection=termination_protection,
|
|
121
|
+
)
|
|
122
|
+
@staticmethod
|
|
123
|
+
def _configure(
|
|
124
|
+
_setter: Callable[[Any, Any], None],
|
|
125
|
+
database_name: Optional[pulumi.Input[str]] = None,
|
|
126
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
127
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
128
|
+
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
129
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
100
130
|
if database_name is not None:
|
|
101
|
-
|
|
131
|
+
_setter("database_name", database_name)
|
|
102
132
|
if project is not None:
|
|
103
|
-
|
|
133
|
+
_setter("project", project)
|
|
104
134
|
if service_name is not None:
|
|
105
|
-
|
|
135
|
+
_setter("service_name", service_name)
|
|
106
136
|
if termination_protection is not None:
|
|
107
|
-
|
|
137
|
+
_setter("termination_protection", termination_protection)
|
|
108
138
|
|
|
109
139
|
@property
|
|
110
140
|
@pulumi.getter(name="databaseName")
|
|
@@ -196,6 +226,10 @@ class InfluxdbDatabase(pulumi.CustomResource):
|
|
|
196
226
|
if resource_args is not None:
|
|
197
227
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
198
228
|
else:
|
|
229
|
+
kwargs = kwargs or {}
|
|
230
|
+
def _setter(key, value):
|
|
231
|
+
kwargs[key] = value
|
|
232
|
+
InfluxdbDatabaseArgs._configure(_setter, **kwargs)
|
|
199
233
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
200
234
|
|
|
201
235
|
def _internal_init(__self__,
|
pulumi_aiven/influxdb_user.py
CHANGED
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
|
|
12
12
|
__all__ = ['InfluxdbUserArgs', 'InfluxdbUser']
|
|
@@ -25,11 +25,26 @@ class InfluxdbUserArgs:
|
|
|
25
25
|
:param pulumi.Input[str] username: The actual name of the InfluxDB User. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
26
26
|
:param pulumi.Input[str] password: The password of the InfluxDB User.
|
|
27
27
|
"""
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
InfluxdbUserArgs._configure(
|
|
29
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
30
|
+
project=project,
|
|
31
|
+
service_name=service_name,
|
|
32
|
+
username=username,
|
|
33
|
+
password=password,
|
|
34
|
+
)
|
|
35
|
+
@staticmethod
|
|
36
|
+
def _configure(
|
|
37
|
+
_setter: Callable[[Any, Any], None],
|
|
38
|
+
project: pulumi.Input[str],
|
|
39
|
+
service_name: pulumi.Input[str],
|
|
40
|
+
username: pulumi.Input[str],
|
|
41
|
+
password: Optional[pulumi.Input[str]] = None,
|
|
42
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
43
|
+
_setter("project", project)
|
|
44
|
+
_setter("service_name", service_name)
|
|
45
|
+
_setter("username", username)
|
|
31
46
|
if password is not None:
|
|
32
|
-
|
|
47
|
+
_setter("password", password)
|
|
33
48
|
|
|
34
49
|
@property
|
|
35
50
|
@pulumi.getter
|
|
@@ -100,20 +115,41 @@ class _InfluxdbUserState:
|
|
|
100
115
|
:param pulumi.Input[str] type: Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
101
116
|
:param pulumi.Input[str] username: The actual name of the InfluxDB User. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
102
117
|
"""
|
|
118
|
+
_InfluxdbUserState._configure(
|
|
119
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
120
|
+
access_cert=access_cert,
|
|
121
|
+
access_key=access_key,
|
|
122
|
+
password=password,
|
|
123
|
+
project=project,
|
|
124
|
+
service_name=service_name,
|
|
125
|
+
type=type,
|
|
126
|
+
username=username,
|
|
127
|
+
)
|
|
128
|
+
@staticmethod
|
|
129
|
+
def _configure(
|
|
130
|
+
_setter: Callable[[Any, Any], None],
|
|
131
|
+
access_cert: Optional[pulumi.Input[str]] = None,
|
|
132
|
+
access_key: Optional[pulumi.Input[str]] = None,
|
|
133
|
+
password: Optional[pulumi.Input[str]] = None,
|
|
134
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
135
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
136
|
+
type: Optional[pulumi.Input[str]] = None,
|
|
137
|
+
username: Optional[pulumi.Input[str]] = None,
|
|
138
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
103
139
|
if access_cert is not None:
|
|
104
|
-
|
|
140
|
+
_setter("access_cert", access_cert)
|
|
105
141
|
if access_key is not None:
|
|
106
|
-
|
|
142
|
+
_setter("access_key", access_key)
|
|
107
143
|
if password is not None:
|
|
108
|
-
|
|
144
|
+
_setter("password", password)
|
|
109
145
|
if project is not None:
|
|
110
|
-
|
|
146
|
+
_setter("project", project)
|
|
111
147
|
if service_name is not None:
|
|
112
|
-
|
|
148
|
+
_setter("service_name", service_name)
|
|
113
149
|
if type is not None:
|
|
114
|
-
|
|
150
|
+
_setter("type", type)
|
|
115
151
|
if username is not None:
|
|
116
|
-
|
|
152
|
+
_setter("username", username)
|
|
117
153
|
|
|
118
154
|
@property
|
|
119
155
|
@pulumi.getter(name="accessCert")
|
|
@@ -277,6 +313,10 @@ class InfluxdbUser(pulumi.CustomResource):
|
|
|
277
313
|
if resource_args is not None:
|
|
278
314
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
279
315
|
else:
|
|
316
|
+
kwargs = kwargs or {}
|
|
317
|
+
def _setter(key, value):
|
|
318
|
+
kwargs[key] = value
|
|
319
|
+
InfluxdbUserArgs._configure(_setter, **kwargs)
|
|
280
320
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
281
321
|
|
|
282
322
|
def _internal_init(__self__,
|
pulumi_aiven/kafka.py
CHANGED
|
@@ -6,7 +6,7 @@ import copy
|
|
|
6
6
|
import warnings
|
|
7
7
|
import pulumi
|
|
8
8
|
import pulumi.runtime
|
|
9
|
-
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
9
|
+
from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload
|
|
10
10
|
from . import _utilities
|
|
11
11
|
from . import outputs
|
|
12
12
|
from ._inputs import *
|
|
@@ -47,45 +47,84 @@ class KafkaArgs:
|
|
|
47
47
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
48
48
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
49
49
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
50
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
50
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
|
|
51
51
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
52
52
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
53
53
|
"""
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
KafkaArgs._configure(
|
|
55
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
56
|
+
plan=plan,
|
|
57
|
+
project=project,
|
|
58
|
+
service_name=service_name,
|
|
59
|
+
additional_disk_space=additional_disk_space,
|
|
60
|
+
cloud_name=cloud_name,
|
|
61
|
+
default_acl=default_acl,
|
|
62
|
+
disk_space=disk_space,
|
|
63
|
+
kafka_user_config=kafka_user_config,
|
|
64
|
+
karapace=karapace,
|
|
65
|
+
maintenance_window_dow=maintenance_window_dow,
|
|
66
|
+
maintenance_window_time=maintenance_window_time,
|
|
67
|
+
project_vpc_id=project_vpc_id,
|
|
68
|
+
service_integrations=service_integrations,
|
|
69
|
+
static_ips=static_ips,
|
|
70
|
+
tags=tags,
|
|
71
|
+
termination_protection=termination_protection,
|
|
72
|
+
)
|
|
73
|
+
@staticmethod
|
|
74
|
+
def _configure(
|
|
75
|
+
_setter: Callable[[Any, Any], None],
|
|
76
|
+
plan: pulumi.Input[str],
|
|
77
|
+
project: pulumi.Input[str],
|
|
78
|
+
service_name: pulumi.Input[str],
|
|
79
|
+
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
80
|
+
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
81
|
+
default_acl: Optional[pulumi.Input[bool]] = None,
|
|
82
|
+
disk_space: Optional[pulumi.Input[str]] = None,
|
|
83
|
+
kafka_user_config: Optional[pulumi.Input['KafkaKafkaUserConfigArgs']] = None,
|
|
84
|
+
karapace: Optional[pulumi.Input[bool]] = None,
|
|
85
|
+
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
86
|
+
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
87
|
+
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
88
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaServiceIntegrationArgs']]]] = None,
|
|
89
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
90
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaTagArgs']]]] = None,
|
|
91
|
+
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
92
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
93
|
+
_setter("plan", plan)
|
|
94
|
+
_setter("project", project)
|
|
95
|
+
_setter("service_name", service_name)
|
|
57
96
|
if additional_disk_space is not None:
|
|
58
|
-
|
|
97
|
+
_setter("additional_disk_space", additional_disk_space)
|
|
59
98
|
if cloud_name is not None:
|
|
60
|
-
|
|
99
|
+
_setter("cloud_name", cloud_name)
|
|
61
100
|
if default_acl is not None:
|
|
62
|
-
|
|
101
|
+
_setter("default_acl", default_acl)
|
|
63
102
|
if disk_space is not None:
|
|
64
103
|
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
65
104
|
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
66
105
|
if disk_space is not None:
|
|
67
|
-
|
|
106
|
+
_setter("disk_space", disk_space)
|
|
68
107
|
if kafka_user_config is not None:
|
|
69
|
-
|
|
108
|
+
_setter("kafka_user_config", kafka_user_config)
|
|
70
109
|
if karapace is not None:
|
|
71
110
|
warnings.warn("""Usage of this field is discouraged.""", DeprecationWarning)
|
|
72
111
|
pulumi.log.warn("""karapace is deprecated: Usage of this field is discouraged.""")
|
|
73
112
|
if karapace is not None:
|
|
74
|
-
|
|
113
|
+
_setter("karapace", karapace)
|
|
75
114
|
if maintenance_window_dow is not None:
|
|
76
|
-
|
|
115
|
+
_setter("maintenance_window_dow", maintenance_window_dow)
|
|
77
116
|
if maintenance_window_time is not None:
|
|
78
|
-
|
|
117
|
+
_setter("maintenance_window_time", maintenance_window_time)
|
|
79
118
|
if project_vpc_id is not None:
|
|
80
|
-
|
|
119
|
+
_setter("project_vpc_id", project_vpc_id)
|
|
81
120
|
if service_integrations is not None:
|
|
82
|
-
|
|
121
|
+
_setter("service_integrations", service_integrations)
|
|
83
122
|
if static_ips is not None:
|
|
84
|
-
|
|
123
|
+
_setter("static_ips", static_ips)
|
|
85
124
|
if tags is not None:
|
|
86
|
-
|
|
125
|
+
_setter("tags", tags)
|
|
87
126
|
if termination_protection is not None:
|
|
88
|
-
|
|
127
|
+
_setter("termination_protection", termination_protection)
|
|
89
128
|
|
|
90
129
|
@property
|
|
91
130
|
@pulumi.getter
|
|
@@ -253,7 +292,7 @@ class KafkaArgs:
|
|
|
253
292
|
@pulumi.getter(name="staticIps")
|
|
254
293
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
255
294
|
"""
|
|
256
|
-
|
|
295
|
+
Use static public IP addresses.
|
|
257
296
|
"""
|
|
258
297
|
return pulumi.get(self, "static_ips")
|
|
259
298
|
|
|
@@ -330,7 +369,7 @@ class _KafkaState:
|
|
|
330
369
|
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
331
370
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
332
371
|
:param pulumi.Input['KafkaKafkaUserConfigArgs'] kafka_user_config: Kafka user configurable settings
|
|
333
|
-
:param pulumi.Input[Sequence[pulumi.Input['KafkaKafkaArgs']]] kafkas: Kafka
|
|
372
|
+
:param pulumi.Input[Sequence[pulumi.Input['KafkaKafkaArgs']]] kafkas: Kafka broker configuration values.
|
|
334
373
|
:param pulumi.Input[bool] karapace: Switch the service to use Karapace for schema registry and REST proxy
|
|
335
374
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
336
375
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -346,74 +385,139 @@ class _KafkaState:
|
|
|
346
385
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
347
386
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
348
387
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
349
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
388
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
|
|
350
389
|
:param pulumi.Input[Sequence[pulumi.Input['KafkaTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
351
390
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
352
391
|
"""
|
|
392
|
+
_KafkaState._configure(
|
|
393
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
394
|
+
additional_disk_space=additional_disk_space,
|
|
395
|
+
cloud_name=cloud_name,
|
|
396
|
+
components=components,
|
|
397
|
+
default_acl=default_acl,
|
|
398
|
+
disk_space=disk_space,
|
|
399
|
+
disk_space_cap=disk_space_cap,
|
|
400
|
+
disk_space_default=disk_space_default,
|
|
401
|
+
disk_space_step=disk_space_step,
|
|
402
|
+
disk_space_used=disk_space_used,
|
|
403
|
+
kafka_user_config=kafka_user_config,
|
|
404
|
+
kafkas=kafkas,
|
|
405
|
+
karapace=karapace,
|
|
406
|
+
maintenance_window_dow=maintenance_window_dow,
|
|
407
|
+
maintenance_window_time=maintenance_window_time,
|
|
408
|
+
plan=plan,
|
|
409
|
+
project=project,
|
|
410
|
+
project_vpc_id=project_vpc_id,
|
|
411
|
+
service_host=service_host,
|
|
412
|
+
service_integrations=service_integrations,
|
|
413
|
+
service_name=service_name,
|
|
414
|
+
service_password=service_password,
|
|
415
|
+
service_port=service_port,
|
|
416
|
+
service_type=service_type,
|
|
417
|
+
service_uri=service_uri,
|
|
418
|
+
service_username=service_username,
|
|
419
|
+
state=state,
|
|
420
|
+
static_ips=static_ips,
|
|
421
|
+
tags=tags,
|
|
422
|
+
termination_protection=termination_protection,
|
|
423
|
+
)
|
|
424
|
+
@staticmethod
|
|
425
|
+
def _configure(
|
|
426
|
+
_setter: Callable[[Any, Any], None],
|
|
427
|
+
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
428
|
+
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
429
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaComponentArgs']]]] = None,
|
|
430
|
+
default_acl: Optional[pulumi.Input[bool]] = None,
|
|
431
|
+
disk_space: Optional[pulumi.Input[str]] = None,
|
|
432
|
+
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
433
|
+
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
434
|
+
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
435
|
+
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
436
|
+
kafka_user_config: Optional[pulumi.Input['KafkaKafkaUserConfigArgs']] = None,
|
|
437
|
+
kafkas: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaKafkaArgs']]]] = None,
|
|
438
|
+
karapace: Optional[pulumi.Input[bool]] = None,
|
|
439
|
+
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
440
|
+
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
441
|
+
plan: Optional[pulumi.Input[str]] = None,
|
|
442
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
443
|
+
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
444
|
+
service_host: Optional[pulumi.Input[str]] = None,
|
|
445
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaServiceIntegrationArgs']]]] = None,
|
|
446
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
447
|
+
service_password: Optional[pulumi.Input[str]] = None,
|
|
448
|
+
service_port: Optional[pulumi.Input[int]] = None,
|
|
449
|
+
service_type: Optional[pulumi.Input[str]] = None,
|
|
450
|
+
service_uri: Optional[pulumi.Input[str]] = None,
|
|
451
|
+
service_username: Optional[pulumi.Input[str]] = None,
|
|
452
|
+
state: Optional[pulumi.Input[str]] = None,
|
|
453
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
454
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input['KafkaTagArgs']]]] = None,
|
|
455
|
+
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
456
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
353
457
|
if additional_disk_space is not None:
|
|
354
|
-
|
|
458
|
+
_setter("additional_disk_space", additional_disk_space)
|
|
355
459
|
if cloud_name is not None:
|
|
356
|
-
|
|
460
|
+
_setter("cloud_name", cloud_name)
|
|
357
461
|
if components is not None:
|
|
358
|
-
|
|
462
|
+
_setter("components", components)
|
|
359
463
|
if default_acl is not None:
|
|
360
|
-
|
|
464
|
+
_setter("default_acl", default_acl)
|
|
361
465
|
if disk_space is not None:
|
|
362
466
|
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
363
467
|
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
364
468
|
if disk_space is not None:
|
|
365
|
-
|
|
469
|
+
_setter("disk_space", disk_space)
|
|
366
470
|
if disk_space_cap is not None:
|
|
367
|
-
|
|
471
|
+
_setter("disk_space_cap", disk_space_cap)
|
|
368
472
|
if disk_space_default is not None:
|
|
369
|
-
|
|
473
|
+
_setter("disk_space_default", disk_space_default)
|
|
370
474
|
if disk_space_step is not None:
|
|
371
|
-
|
|
475
|
+
_setter("disk_space_step", disk_space_step)
|
|
372
476
|
if disk_space_used is not None:
|
|
373
|
-
|
|
477
|
+
_setter("disk_space_used", disk_space_used)
|
|
374
478
|
if kafka_user_config is not None:
|
|
375
|
-
|
|
479
|
+
_setter("kafka_user_config", kafka_user_config)
|
|
376
480
|
if kafkas is not None:
|
|
377
|
-
|
|
481
|
+
_setter("kafkas", kafkas)
|
|
378
482
|
if karapace is not None:
|
|
379
483
|
warnings.warn("""Usage of this field is discouraged.""", DeprecationWarning)
|
|
380
484
|
pulumi.log.warn("""karapace is deprecated: Usage of this field is discouraged.""")
|
|
381
485
|
if karapace is not None:
|
|
382
|
-
|
|
486
|
+
_setter("karapace", karapace)
|
|
383
487
|
if maintenance_window_dow is not None:
|
|
384
|
-
|
|
488
|
+
_setter("maintenance_window_dow", maintenance_window_dow)
|
|
385
489
|
if maintenance_window_time is not None:
|
|
386
|
-
|
|
490
|
+
_setter("maintenance_window_time", maintenance_window_time)
|
|
387
491
|
if plan is not None:
|
|
388
|
-
|
|
492
|
+
_setter("plan", plan)
|
|
389
493
|
if project is not None:
|
|
390
|
-
|
|
494
|
+
_setter("project", project)
|
|
391
495
|
if project_vpc_id is not None:
|
|
392
|
-
|
|
496
|
+
_setter("project_vpc_id", project_vpc_id)
|
|
393
497
|
if service_host is not None:
|
|
394
|
-
|
|
498
|
+
_setter("service_host", service_host)
|
|
395
499
|
if service_integrations is not None:
|
|
396
|
-
|
|
500
|
+
_setter("service_integrations", service_integrations)
|
|
397
501
|
if service_name is not None:
|
|
398
|
-
|
|
502
|
+
_setter("service_name", service_name)
|
|
399
503
|
if service_password is not None:
|
|
400
|
-
|
|
504
|
+
_setter("service_password", service_password)
|
|
401
505
|
if service_port is not None:
|
|
402
|
-
|
|
506
|
+
_setter("service_port", service_port)
|
|
403
507
|
if service_type is not None:
|
|
404
|
-
|
|
508
|
+
_setter("service_type", service_type)
|
|
405
509
|
if service_uri is not None:
|
|
406
|
-
|
|
510
|
+
_setter("service_uri", service_uri)
|
|
407
511
|
if service_username is not None:
|
|
408
|
-
|
|
512
|
+
_setter("service_username", service_username)
|
|
409
513
|
if state is not None:
|
|
410
|
-
|
|
514
|
+
_setter("state", state)
|
|
411
515
|
if static_ips is not None:
|
|
412
|
-
|
|
516
|
+
_setter("static_ips", static_ips)
|
|
413
517
|
if tags is not None:
|
|
414
|
-
|
|
518
|
+
_setter("tags", tags)
|
|
415
519
|
if termination_protection is not None:
|
|
416
|
-
|
|
520
|
+
_setter("termination_protection", termination_protection)
|
|
417
521
|
|
|
418
522
|
@property
|
|
419
523
|
@pulumi.getter(name="additionalDiskSpace")
|
|
@@ -542,7 +646,7 @@ class _KafkaState:
|
|
|
542
646
|
@pulumi.getter
|
|
543
647
|
def kafkas(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KafkaKafkaArgs']]]]:
|
|
544
648
|
"""
|
|
545
|
-
Kafka
|
|
649
|
+
Kafka broker configuration values.
|
|
546
650
|
"""
|
|
547
651
|
return pulumi.get(self, "kafkas")
|
|
548
652
|
|
|
@@ -737,7 +841,7 @@ class _KafkaState:
|
|
|
737
841
|
@pulumi.getter(name="staticIps")
|
|
738
842
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
739
843
|
"""
|
|
740
|
-
|
|
844
|
+
Use static public IP addresses.
|
|
741
845
|
"""
|
|
742
846
|
return pulumi.get(self, "static_ips")
|
|
743
847
|
|
|
@@ -845,7 +949,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
845
949
|
:param pulumi.Input[str] project_vpc_id: Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
846
950
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
847
951
|
:param pulumi.Input[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.
|
|
848
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
952
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
|
|
849
953
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
850
954
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
851
955
|
"""
|
|
@@ -903,6 +1007,10 @@ class Kafka(pulumi.CustomResource):
|
|
|
903
1007
|
if resource_args is not None:
|
|
904
1008
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
905
1009
|
else:
|
|
1010
|
+
kwargs = kwargs or {}
|
|
1011
|
+
def _setter(key, value):
|
|
1012
|
+
kwargs[key] = value
|
|
1013
|
+
KafkaArgs._configure(_setter, **kwargs)
|
|
906
1014
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
907
1015
|
|
|
908
1016
|
def _internal_init(__self__,
|
|
@@ -936,14 +1044,13 @@ class Kafka(pulumi.CustomResource):
|
|
|
936
1044
|
__props__.__dict__["additional_disk_space"] = additional_disk_space
|
|
937
1045
|
__props__.__dict__["cloud_name"] = cloud_name
|
|
938
1046
|
__props__.__dict__["default_acl"] = default_acl
|
|
939
|
-
if disk_space is not None and not opts.urn:
|
|
940
|
-
warnings.warn("""This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""", DeprecationWarning)
|
|
941
|
-
pulumi.log.warn("""disk_space is deprecated: This will be removed in v5.0.0. Please use `additional_disk_space` to specify the space to be added to the default `disk_space` defined by the plan.""")
|
|
942
1047
|
__props__.__dict__["disk_space"] = disk_space
|
|
1048
|
+
if kafka_user_config is not None and not isinstance(kafka_user_config, KafkaKafkaUserConfigArgs):
|
|
1049
|
+
kafka_user_config = kafka_user_config or {}
|
|
1050
|
+
def _setter(key, value):
|
|
1051
|
+
kafka_user_config[key] = value
|
|
1052
|
+
KafkaKafkaUserConfigArgs._configure(_setter, **kafka_user_config)
|
|
943
1053
|
__props__.__dict__["kafka_user_config"] = kafka_user_config
|
|
944
|
-
if karapace is not None and not opts.urn:
|
|
945
|
-
warnings.warn("""Usage of this field is discouraged.""", DeprecationWarning)
|
|
946
|
-
pulumi.log.warn("""karapace is deprecated: Usage of this field is discouraged.""")
|
|
947
1054
|
__props__.__dict__["karapace"] = karapace
|
|
948
1055
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
949
1056
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
@@ -1032,7 +1139,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1032
1139
|
:param pulumi.Input[str] disk_space_step: The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1033
1140
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
1034
1141
|
:param pulumi.Input[pulumi.InputType['KafkaKafkaUserConfigArgs']] kafka_user_config: Kafka user configurable settings
|
|
1035
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaKafkaArgs']]]] kafkas: Kafka
|
|
1142
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaKafkaArgs']]]] kafkas: Kafka broker configuration values.
|
|
1036
1143
|
:param pulumi.Input[bool] karapace: Switch the service to use Karapace for schema registry and REST proxy
|
|
1037
1144
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
1038
1145
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
@@ -1048,7 +1155,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1048
1155
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
1049
1156
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
1050
1157
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
1051
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
1158
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
|
|
1052
1159
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KafkaTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
1053
1160
|
:param pulumi.Input[bool] termination_protection: Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1054
1161
|
"""
|
|
@@ -1174,7 +1281,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1174
1281
|
@pulumi.getter
|
|
1175
1282
|
def kafkas(self) -> pulumi.Output[Sequence['outputs.KafkaKafka']]:
|
|
1176
1283
|
"""
|
|
1177
|
-
Kafka
|
|
1284
|
+
Kafka broker configuration values.
|
|
1178
1285
|
"""
|
|
1179
1286
|
return pulumi.get(self, "kafkas")
|
|
1180
1287
|
|
|
@@ -1305,7 +1412,7 @@ class Kafka(pulumi.CustomResource):
|
|
|
1305
1412
|
@pulumi.getter(name="staticIps")
|
|
1306
1413
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1307
1414
|
"""
|
|
1308
|
-
|
|
1415
|
+
Use static public IP addresses.
|
|
1309
1416
|
"""
|
|
1310
1417
|
return pulumi.get(self, "static_ips")
|
|
1311
1418
|
|