pulumi-aiven 6.7.0a1695928977__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.7.0a1695928977.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.7.0a1695928977.dist-info/RECORD +0 -145
- {pulumi_aiven-6.7.0a1695928977.dist-info → pulumi_aiven-6.8.0a1696359310.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.7.0a1695928977.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
|
from . import outputs
|
|
12
12
|
from ._inputs import *
|
|
@@ -49,34 +49,71 @@ class ServiceIntegrationArgs:
|
|
|
49
49
|
:param pulumi.Input[str] source_endpoint_id: Source endpoint for the integration (if any)
|
|
50
50
|
:param pulumi.Input[str] source_service_name: Source service for the integration (if any)
|
|
51
51
|
"""
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
ServiceIntegrationArgs._configure(
|
|
53
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
54
|
+
integration_type=integration_type,
|
|
55
|
+
project=project,
|
|
56
|
+
clickhouse_kafka_user_config=clickhouse_kafka_user_config,
|
|
57
|
+
clickhouse_postgresql_user_config=clickhouse_postgresql_user_config,
|
|
58
|
+
datadog_user_config=datadog_user_config,
|
|
59
|
+
destination_endpoint_id=destination_endpoint_id,
|
|
60
|
+
destination_service_name=destination_service_name,
|
|
61
|
+
external_aws_cloudwatch_metrics_user_config=external_aws_cloudwatch_metrics_user_config,
|
|
62
|
+
kafka_connect_user_config=kafka_connect_user_config,
|
|
63
|
+
kafka_logs_user_config=kafka_logs_user_config,
|
|
64
|
+
kafka_mirrormaker_user_config=kafka_mirrormaker_user_config,
|
|
65
|
+
logs_user_config=logs_user_config,
|
|
66
|
+
metrics_user_config=metrics_user_config,
|
|
67
|
+
source_endpoint_id=source_endpoint_id,
|
|
68
|
+
source_service_name=source_service_name,
|
|
69
|
+
)
|
|
70
|
+
@staticmethod
|
|
71
|
+
def _configure(
|
|
72
|
+
_setter: Callable[[Any, Any], None],
|
|
73
|
+
integration_type: pulumi.Input[str],
|
|
74
|
+
project: pulumi.Input[str],
|
|
75
|
+
clickhouse_kafka_user_config: Optional[pulumi.Input['ServiceIntegrationClickhouseKafkaUserConfigArgs']] = None,
|
|
76
|
+
clickhouse_postgresql_user_config: Optional[pulumi.Input['ServiceIntegrationClickhousePostgresqlUserConfigArgs']] = None,
|
|
77
|
+
datadog_user_config: Optional[pulumi.Input['ServiceIntegrationDatadogUserConfigArgs']] = None,
|
|
78
|
+
destination_endpoint_id: Optional[pulumi.Input[str]] = None,
|
|
79
|
+
destination_service_name: Optional[pulumi.Input[str]] = None,
|
|
80
|
+
external_aws_cloudwatch_metrics_user_config: Optional[pulumi.Input['ServiceIntegrationExternalAwsCloudwatchMetricsUserConfigArgs']] = None,
|
|
81
|
+
kafka_connect_user_config: Optional[pulumi.Input['ServiceIntegrationKafkaConnectUserConfigArgs']] = None,
|
|
82
|
+
kafka_logs_user_config: Optional[pulumi.Input['ServiceIntegrationKafkaLogsUserConfigArgs']] = None,
|
|
83
|
+
kafka_mirrormaker_user_config: Optional[pulumi.Input['ServiceIntegrationKafkaMirrormakerUserConfigArgs']] = None,
|
|
84
|
+
logs_user_config: Optional[pulumi.Input['ServiceIntegrationLogsUserConfigArgs']] = None,
|
|
85
|
+
metrics_user_config: Optional[pulumi.Input['ServiceIntegrationMetricsUserConfigArgs']] = None,
|
|
86
|
+
source_endpoint_id: Optional[pulumi.Input[str]] = None,
|
|
87
|
+
source_service_name: Optional[pulumi.Input[str]] = None,
|
|
88
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
89
|
+
_setter("integration_type", integration_type)
|
|
90
|
+
_setter("project", project)
|
|
54
91
|
if clickhouse_kafka_user_config is not None:
|
|
55
|
-
|
|
92
|
+
_setter("clickhouse_kafka_user_config", clickhouse_kafka_user_config)
|
|
56
93
|
if clickhouse_postgresql_user_config is not None:
|
|
57
|
-
|
|
94
|
+
_setter("clickhouse_postgresql_user_config", clickhouse_postgresql_user_config)
|
|
58
95
|
if datadog_user_config is not None:
|
|
59
|
-
|
|
96
|
+
_setter("datadog_user_config", datadog_user_config)
|
|
60
97
|
if destination_endpoint_id is not None:
|
|
61
|
-
|
|
98
|
+
_setter("destination_endpoint_id", destination_endpoint_id)
|
|
62
99
|
if destination_service_name is not None:
|
|
63
|
-
|
|
100
|
+
_setter("destination_service_name", destination_service_name)
|
|
64
101
|
if external_aws_cloudwatch_metrics_user_config is not None:
|
|
65
|
-
|
|
102
|
+
_setter("external_aws_cloudwatch_metrics_user_config", external_aws_cloudwatch_metrics_user_config)
|
|
66
103
|
if kafka_connect_user_config is not None:
|
|
67
|
-
|
|
104
|
+
_setter("kafka_connect_user_config", kafka_connect_user_config)
|
|
68
105
|
if kafka_logs_user_config is not None:
|
|
69
|
-
|
|
106
|
+
_setter("kafka_logs_user_config", kafka_logs_user_config)
|
|
70
107
|
if kafka_mirrormaker_user_config is not None:
|
|
71
|
-
|
|
108
|
+
_setter("kafka_mirrormaker_user_config", kafka_mirrormaker_user_config)
|
|
72
109
|
if logs_user_config is not None:
|
|
73
|
-
|
|
110
|
+
_setter("logs_user_config", logs_user_config)
|
|
74
111
|
if metrics_user_config is not None:
|
|
75
|
-
|
|
112
|
+
_setter("metrics_user_config", metrics_user_config)
|
|
76
113
|
if source_endpoint_id is not None:
|
|
77
|
-
|
|
114
|
+
_setter("source_endpoint_id", source_endpoint_id)
|
|
78
115
|
if source_service_name is not None:
|
|
79
|
-
|
|
116
|
+
_setter("source_service_name", source_service_name)
|
|
80
117
|
|
|
81
118
|
@property
|
|
82
119
|
@pulumi.getter(name="integrationType")
|
|
@@ -297,38 +334,77 @@ class _ServiceIntegrationState:
|
|
|
297
334
|
:param pulumi.Input[str] source_endpoint_id: Source endpoint for the integration (if any)
|
|
298
335
|
:param pulumi.Input[str] source_service_name: Source service for the integration (if any)
|
|
299
336
|
"""
|
|
337
|
+
_ServiceIntegrationState._configure(
|
|
338
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
339
|
+
clickhouse_kafka_user_config=clickhouse_kafka_user_config,
|
|
340
|
+
clickhouse_postgresql_user_config=clickhouse_postgresql_user_config,
|
|
341
|
+
datadog_user_config=datadog_user_config,
|
|
342
|
+
destination_endpoint_id=destination_endpoint_id,
|
|
343
|
+
destination_service_name=destination_service_name,
|
|
344
|
+
external_aws_cloudwatch_metrics_user_config=external_aws_cloudwatch_metrics_user_config,
|
|
345
|
+
integration_id=integration_id,
|
|
346
|
+
integration_type=integration_type,
|
|
347
|
+
kafka_connect_user_config=kafka_connect_user_config,
|
|
348
|
+
kafka_logs_user_config=kafka_logs_user_config,
|
|
349
|
+
kafka_mirrormaker_user_config=kafka_mirrormaker_user_config,
|
|
350
|
+
logs_user_config=logs_user_config,
|
|
351
|
+
metrics_user_config=metrics_user_config,
|
|
352
|
+
project=project,
|
|
353
|
+
source_endpoint_id=source_endpoint_id,
|
|
354
|
+
source_service_name=source_service_name,
|
|
355
|
+
)
|
|
356
|
+
@staticmethod
|
|
357
|
+
def _configure(
|
|
358
|
+
_setter: Callable[[Any, Any], None],
|
|
359
|
+
clickhouse_kafka_user_config: Optional[pulumi.Input['ServiceIntegrationClickhouseKafkaUserConfigArgs']] = None,
|
|
360
|
+
clickhouse_postgresql_user_config: Optional[pulumi.Input['ServiceIntegrationClickhousePostgresqlUserConfigArgs']] = None,
|
|
361
|
+
datadog_user_config: Optional[pulumi.Input['ServiceIntegrationDatadogUserConfigArgs']] = None,
|
|
362
|
+
destination_endpoint_id: Optional[pulumi.Input[str]] = None,
|
|
363
|
+
destination_service_name: Optional[pulumi.Input[str]] = None,
|
|
364
|
+
external_aws_cloudwatch_metrics_user_config: Optional[pulumi.Input['ServiceIntegrationExternalAwsCloudwatchMetricsUserConfigArgs']] = None,
|
|
365
|
+
integration_id: Optional[pulumi.Input[str]] = None,
|
|
366
|
+
integration_type: Optional[pulumi.Input[str]] = None,
|
|
367
|
+
kafka_connect_user_config: Optional[pulumi.Input['ServiceIntegrationKafkaConnectUserConfigArgs']] = None,
|
|
368
|
+
kafka_logs_user_config: Optional[pulumi.Input['ServiceIntegrationKafkaLogsUserConfigArgs']] = None,
|
|
369
|
+
kafka_mirrormaker_user_config: Optional[pulumi.Input['ServiceIntegrationKafkaMirrormakerUserConfigArgs']] = None,
|
|
370
|
+
logs_user_config: Optional[pulumi.Input['ServiceIntegrationLogsUserConfigArgs']] = None,
|
|
371
|
+
metrics_user_config: Optional[pulumi.Input['ServiceIntegrationMetricsUserConfigArgs']] = None,
|
|
372
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
373
|
+
source_endpoint_id: Optional[pulumi.Input[str]] = None,
|
|
374
|
+
source_service_name: Optional[pulumi.Input[str]] = None,
|
|
375
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
300
376
|
if clickhouse_kafka_user_config is not None:
|
|
301
|
-
|
|
377
|
+
_setter("clickhouse_kafka_user_config", clickhouse_kafka_user_config)
|
|
302
378
|
if clickhouse_postgresql_user_config is not None:
|
|
303
|
-
|
|
379
|
+
_setter("clickhouse_postgresql_user_config", clickhouse_postgresql_user_config)
|
|
304
380
|
if datadog_user_config is not None:
|
|
305
|
-
|
|
381
|
+
_setter("datadog_user_config", datadog_user_config)
|
|
306
382
|
if destination_endpoint_id is not None:
|
|
307
|
-
|
|
383
|
+
_setter("destination_endpoint_id", destination_endpoint_id)
|
|
308
384
|
if destination_service_name is not None:
|
|
309
|
-
|
|
385
|
+
_setter("destination_service_name", destination_service_name)
|
|
310
386
|
if external_aws_cloudwatch_metrics_user_config is not None:
|
|
311
|
-
|
|
387
|
+
_setter("external_aws_cloudwatch_metrics_user_config", external_aws_cloudwatch_metrics_user_config)
|
|
312
388
|
if integration_id is not None:
|
|
313
|
-
|
|
389
|
+
_setter("integration_id", integration_id)
|
|
314
390
|
if integration_type is not None:
|
|
315
|
-
|
|
391
|
+
_setter("integration_type", integration_type)
|
|
316
392
|
if kafka_connect_user_config is not None:
|
|
317
|
-
|
|
393
|
+
_setter("kafka_connect_user_config", kafka_connect_user_config)
|
|
318
394
|
if kafka_logs_user_config is not None:
|
|
319
|
-
|
|
395
|
+
_setter("kafka_logs_user_config", kafka_logs_user_config)
|
|
320
396
|
if kafka_mirrormaker_user_config is not None:
|
|
321
|
-
|
|
397
|
+
_setter("kafka_mirrormaker_user_config", kafka_mirrormaker_user_config)
|
|
322
398
|
if logs_user_config is not None:
|
|
323
|
-
|
|
399
|
+
_setter("logs_user_config", logs_user_config)
|
|
324
400
|
if metrics_user_config is not None:
|
|
325
|
-
|
|
401
|
+
_setter("metrics_user_config", metrics_user_config)
|
|
326
402
|
if project is not None:
|
|
327
|
-
|
|
403
|
+
_setter("project", project)
|
|
328
404
|
if source_endpoint_id is not None:
|
|
329
|
-
|
|
405
|
+
_setter("source_endpoint_id", source_endpoint_id)
|
|
330
406
|
if source_service_name is not None:
|
|
331
|
-
|
|
407
|
+
_setter("source_service_name", source_service_name)
|
|
332
408
|
|
|
333
409
|
@property
|
|
334
410
|
@pulumi.getter(name="clickhouseKafkaUserConfig")
|
|
@@ -636,6 +712,10 @@ class ServiceIntegration(pulumi.CustomResource):
|
|
|
636
712
|
if resource_args is not None:
|
|
637
713
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
638
714
|
else:
|
|
715
|
+
kwargs = kwargs or {}
|
|
716
|
+
def _setter(key, value):
|
|
717
|
+
kwargs[key] = value
|
|
718
|
+
ServiceIntegrationArgs._configure(_setter, **kwargs)
|
|
639
719
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
640
720
|
|
|
641
721
|
def _internal_init(__self__,
|
|
@@ -665,19 +745,64 @@ class ServiceIntegration(pulumi.CustomResource):
|
|
|
665
745
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
666
746
|
__props__ = ServiceIntegrationArgs.__new__(ServiceIntegrationArgs)
|
|
667
747
|
|
|
748
|
+
if clickhouse_kafka_user_config is not None and not isinstance(clickhouse_kafka_user_config, ServiceIntegrationClickhouseKafkaUserConfigArgs):
|
|
749
|
+
clickhouse_kafka_user_config = clickhouse_kafka_user_config or {}
|
|
750
|
+
def _setter(key, value):
|
|
751
|
+
clickhouse_kafka_user_config[key] = value
|
|
752
|
+
ServiceIntegrationClickhouseKafkaUserConfigArgs._configure(_setter, **clickhouse_kafka_user_config)
|
|
668
753
|
__props__.__dict__["clickhouse_kafka_user_config"] = clickhouse_kafka_user_config
|
|
754
|
+
if clickhouse_postgresql_user_config is not None and not isinstance(clickhouse_postgresql_user_config, ServiceIntegrationClickhousePostgresqlUserConfigArgs):
|
|
755
|
+
clickhouse_postgresql_user_config = clickhouse_postgresql_user_config or {}
|
|
756
|
+
def _setter(key, value):
|
|
757
|
+
clickhouse_postgresql_user_config[key] = value
|
|
758
|
+
ServiceIntegrationClickhousePostgresqlUserConfigArgs._configure(_setter, **clickhouse_postgresql_user_config)
|
|
669
759
|
__props__.__dict__["clickhouse_postgresql_user_config"] = clickhouse_postgresql_user_config
|
|
760
|
+
if datadog_user_config is not None and not isinstance(datadog_user_config, ServiceIntegrationDatadogUserConfigArgs):
|
|
761
|
+
datadog_user_config = datadog_user_config or {}
|
|
762
|
+
def _setter(key, value):
|
|
763
|
+
datadog_user_config[key] = value
|
|
764
|
+
ServiceIntegrationDatadogUserConfigArgs._configure(_setter, **datadog_user_config)
|
|
670
765
|
__props__.__dict__["datadog_user_config"] = datadog_user_config
|
|
671
766
|
__props__.__dict__["destination_endpoint_id"] = destination_endpoint_id
|
|
672
767
|
__props__.__dict__["destination_service_name"] = destination_service_name
|
|
768
|
+
if external_aws_cloudwatch_metrics_user_config is not None and not isinstance(external_aws_cloudwatch_metrics_user_config, ServiceIntegrationExternalAwsCloudwatchMetricsUserConfigArgs):
|
|
769
|
+
external_aws_cloudwatch_metrics_user_config = external_aws_cloudwatch_metrics_user_config or {}
|
|
770
|
+
def _setter(key, value):
|
|
771
|
+
external_aws_cloudwatch_metrics_user_config[key] = value
|
|
772
|
+
ServiceIntegrationExternalAwsCloudwatchMetricsUserConfigArgs._configure(_setter, **external_aws_cloudwatch_metrics_user_config)
|
|
673
773
|
__props__.__dict__["external_aws_cloudwatch_metrics_user_config"] = external_aws_cloudwatch_metrics_user_config
|
|
674
774
|
if integration_type is None and not opts.urn:
|
|
675
775
|
raise TypeError("Missing required property 'integration_type'")
|
|
676
776
|
__props__.__dict__["integration_type"] = integration_type
|
|
777
|
+
if kafka_connect_user_config is not None and not isinstance(kafka_connect_user_config, ServiceIntegrationKafkaConnectUserConfigArgs):
|
|
778
|
+
kafka_connect_user_config = kafka_connect_user_config or {}
|
|
779
|
+
def _setter(key, value):
|
|
780
|
+
kafka_connect_user_config[key] = value
|
|
781
|
+
ServiceIntegrationKafkaConnectUserConfigArgs._configure(_setter, **kafka_connect_user_config)
|
|
677
782
|
__props__.__dict__["kafka_connect_user_config"] = kafka_connect_user_config
|
|
783
|
+
if kafka_logs_user_config is not None and not isinstance(kafka_logs_user_config, ServiceIntegrationKafkaLogsUserConfigArgs):
|
|
784
|
+
kafka_logs_user_config = kafka_logs_user_config or {}
|
|
785
|
+
def _setter(key, value):
|
|
786
|
+
kafka_logs_user_config[key] = value
|
|
787
|
+
ServiceIntegrationKafkaLogsUserConfigArgs._configure(_setter, **kafka_logs_user_config)
|
|
678
788
|
__props__.__dict__["kafka_logs_user_config"] = kafka_logs_user_config
|
|
789
|
+
if kafka_mirrormaker_user_config is not None and not isinstance(kafka_mirrormaker_user_config, ServiceIntegrationKafkaMirrormakerUserConfigArgs):
|
|
790
|
+
kafka_mirrormaker_user_config = kafka_mirrormaker_user_config or {}
|
|
791
|
+
def _setter(key, value):
|
|
792
|
+
kafka_mirrormaker_user_config[key] = value
|
|
793
|
+
ServiceIntegrationKafkaMirrormakerUserConfigArgs._configure(_setter, **kafka_mirrormaker_user_config)
|
|
679
794
|
__props__.__dict__["kafka_mirrormaker_user_config"] = kafka_mirrormaker_user_config
|
|
795
|
+
if logs_user_config is not None and not isinstance(logs_user_config, ServiceIntegrationLogsUserConfigArgs):
|
|
796
|
+
logs_user_config = logs_user_config or {}
|
|
797
|
+
def _setter(key, value):
|
|
798
|
+
logs_user_config[key] = value
|
|
799
|
+
ServiceIntegrationLogsUserConfigArgs._configure(_setter, **logs_user_config)
|
|
680
800
|
__props__.__dict__["logs_user_config"] = logs_user_config
|
|
801
|
+
if metrics_user_config is not None and not isinstance(metrics_user_config, ServiceIntegrationMetricsUserConfigArgs):
|
|
802
|
+
metrics_user_config = metrics_user_config or {}
|
|
803
|
+
def _setter(key, value):
|
|
804
|
+
metrics_user_config[key] = value
|
|
805
|
+
ServiceIntegrationMetricsUserConfigArgs._configure(_setter, **metrics_user_config)
|
|
681
806
|
__props__.__dict__["metrics_user_config"] = metrics_user_config
|
|
682
807
|
if project is None and not opts.urn:
|
|
683
808
|
raise TypeError("Missing required property 'project'")
|
|
@@ -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,31 +47,66 @@ class ServiceIntegrationEndpointArgs:
|
|
|
47
47
|
:param pulumi.Input['ServiceIntegrationEndpointPrometheusUserConfigArgs'] prometheus_user_config: Prometheus user configurable settings
|
|
48
48
|
:param pulumi.Input['ServiceIntegrationEndpointRsyslogUserConfigArgs'] rsyslog_user_config: Rsyslog user configurable settings
|
|
49
49
|
"""
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
ServiceIntegrationEndpointArgs._configure(
|
|
51
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
52
|
+
endpoint_name=endpoint_name,
|
|
53
|
+
endpoint_type=endpoint_type,
|
|
54
|
+
project=project,
|
|
55
|
+
datadog_user_config=datadog_user_config,
|
|
56
|
+
external_aws_cloudwatch_logs_user_config=external_aws_cloudwatch_logs_user_config,
|
|
57
|
+
external_aws_cloudwatch_metrics_user_config=external_aws_cloudwatch_metrics_user_config,
|
|
58
|
+
external_elasticsearch_logs_user_config=external_elasticsearch_logs_user_config,
|
|
59
|
+
external_google_cloud_logging_user_config=external_google_cloud_logging_user_config,
|
|
60
|
+
external_kafka_user_config=external_kafka_user_config,
|
|
61
|
+
external_opensearch_logs_user_config=external_opensearch_logs_user_config,
|
|
62
|
+
external_schema_registry_user_config=external_schema_registry_user_config,
|
|
63
|
+
jolokia_user_config=jolokia_user_config,
|
|
64
|
+
prometheus_user_config=prometheus_user_config,
|
|
65
|
+
rsyslog_user_config=rsyslog_user_config,
|
|
66
|
+
)
|
|
67
|
+
@staticmethod
|
|
68
|
+
def _configure(
|
|
69
|
+
_setter: Callable[[Any, Any], None],
|
|
70
|
+
endpoint_name: pulumi.Input[str],
|
|
71
|
+
endpoint_type: pulumi.Input[str],
|
|
72
|
+
project: pulumi.Input[str],
|
|
73
|
+
datadog_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointDatadogUserConfigArgs']] = None,
|
|
74
|
+
external_aws_cloudwatch_logs_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointExternalAwsCloudwatchLogsUserConfigArgs']] = None,
|
|
75
|
+
external_aws_cloudwatch_metrics_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointExternalAwsCloudwatchMetricsUserConfigArgs']] = None,
|
|
76
|
+
external_elasticsearch_logs_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointExternalElasticsearchLogsUserConfigArgs']] = None,
|
|
77
|
+
external_google_cloud_logging_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointExternalGoogleCloudLoggingUserConfigArgs']] = None,
|
|
78
|
+
external_kafka_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointExternalKafkaUserConfigArgs']] = None,
|
|
79
|
+
external_opensearch_logs_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointExternalOpensearchLogsUserConfigArgs']] = None,
|
|
80
|
+
external_schema_registry_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointExternalSchemaRegistryUserConfigArgs']] = None,
|
|
81
|
+
jolokia_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointJolokiaUserConfigArgs']] = None,
|
|
82
|
+
prometheus_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointPrometheusUserConfigArgs']] = None,
|
|
83
|
+
rsyslog_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointRsyslogUserConfigArgs']] = None,
|
|
84
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
85
|
+
_setter("endpoint_name", endpoint_name)
|
|
86
|
+
_setter("endpoint_type", endpoint_type)
|
|
87
|
+
_setter("project", project)
|
|
53
88
|
if datadog_user_config is not None:
|
|
54
|
-
|
|
89
|
+
_setter("datadog_user_config", datadog_user_config)
|
|
55
90
|
if external_aws_cloudwatch_logs_user_config is not None:
|
|
56
|
-
|
|
91
|
+
_setter("external_aws_cloudwatch_logs_user_config", external_aws_cloudwatch_logs_user_config)
|
|
57
92
|
if external_aws_cloudwatch_metrics_user_config is not None:
|
|
58
|
-
|
|
93
|
+
_setter("external_aws_cloudwatch_metrics_user_config", external_aws_cloudwatch_metrics_user_config)
|
|
59
94
|
if external_elasticsearch_logs_user_config is not None:
|
|
60
|
-
|
|
95
|
+
_setter("external_elasticsearch_logs_user_config", external_elasticsearch_logs_user_config)
|
|
61
96
|
if external_google_cloud_logging_user_config is not None:
|
|
62
|
-
|
|
97
|
+
_setter("external_google_cloud_logging_user_config", external_google_cloud_logging_user_config)
|
|
63
98
|
if external_kafka_user_config is not None:
|
|
64
|
-
|
|
99
|
+
_setter("external_kafka_user_config", external_kafka_user_config)
|
|
65
100
|
if external_opensearch_logs_user_config is not None:
|
|
66
|
-
|
|
101
|
+
_setter("external_opensearch_logs_user_config", external_opensearch_logs_user_config)
|
|
67
102
|
if external_schema_registry_user_config is not None:
|
|
68
|
-
|
|
103
|
+
_setter("external_schema_registry_user_config", external_schema_registry_user_config)
|
|
69
104
|
if jolokia_user_config is not None:
|
|
70
|
-
|
|
105
|
+
_setter("jolokia_user_config", jolokia_user_config)
|
|
71
106
|
if prometheus_user_config is not None:
|
|
72
|
-
|
|
107
|
+
_setter("prometheus_user_config", prometheus_user_config)
|
|
73
108
|
if rsyslog_user_config is not None:
|
|
74
|
-
|
|
109
|
+
_setter("rsyslog_user_config", rsyslog_user_config)
|
|
75
110
|
|
|
76
111
|
@property
|
|
77
112
|
@pulumi.getter(name="endpointName")
|
|
@@ -278,36 +313,73 @@ class _ServiceIntegrationEndpointState:
|
|
|
278
313
|
:param pulumi.Input['ServiceIntegrationEndpointPrometheusUserConfigArgs'] prometheus_user_config: Prometheus user configurable settings
|
|
279
314
|
:param pulumi.Input['ServiceIntegrationEndpointRsyslogUserConfigArgs'] rsyslog_user_config: Rsyslog user configurable settings
|
|
280
315
|
"""
|
|
316
|
+
_ServiceIntegrationEndpointState._configure(
|
|
317
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
318
|
+
datadog_user_config=datadog_user_config,
|
|
319
|
+
endpoint_config=endpoint_config,
|
|
320
|
+
endpoint_name=endpoint_name,
|
|
321
|
+
endpoint_type=endpoint_type,
|
|
322
|
+
external_aws_cloudwatch_logs_user_config=external_aws_cloudwatch_logs_user_config,
|
|
323
|
+
external_aws_cloudwatch_metrics_user_config=external_aws_cloudwatch_metrics_user_config,
|
|
324
|
+
external_elasticsearch_logs_user_config=external_elasticsearch_logs_user_config,
|
|
325
|
+
external_google_cloud_logging_user_config=external_google_cloud_logging_user_config,
|
|
326
|
+
external_kafka_user_config=external_kafka_user_config,
|
|
327
|
+
external_opensearch_logs_user_config=external_opensearch_logs_user_config,
|
|
328
|
+
external_schema_registry_user_config=external_schema_registry_user_config,
|
|
329
|
+
jolokia_user_config=jolokia_user_config,
|
|
330
|
+
project=project,
|
|
331
|
+
prometheus_user_config=prometheus_user_config,
|
|
332
|
+
rsyslog_user_config=rsyslog_user_config,
|
|
333
|
+
)
|
|
334
|
+
@staticmethod
|
|
335
|
+
def _configure(
|
|
336
|
+
_setter: Callable[[Any, Any], None],
|
|
337
|
+
datadog_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointDatadogUserConfigArgs']] = None,
|
|
338
|
+
endpoint_config: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
339
|
+
endpoint_name: Optional[pulumi.Input[str]] = None,
|
|
340
|
+
endpoint_type: Optional[pulumi.Input[str]] = None,
|
|
341
|
+
external_aws_cloudwatch_logs_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointExternalAwsCloudwatchLogsUserConfigArgs']] = None,
|
|
342
|
+
external_aws_cloudwatch_metrics_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointExternalAwsCloudwatchMetricsUserConfigArgs']] = None,
|
|
343
|
+
external_elasticsearch_logs_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointExternalElasticsearchLogsUserConfigArgs']] = None,
|
|
344
|
+
external_google_cloud_logging_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointExternalGoogleCloudLoggingUserConfigArgs']] = None,
|
|
345
|
+
external_kafka_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointExternalKafkaUserConfigArgs']] = None,
|
|
346
|
+
external_opensearch_logs_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointExternalOpensearchLogsUserConfigArgs']] = None,
|
|
347
|
+
external_schema_registry_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointExternalSchemaRegistryUserConfigArgs']] = None,
|
|
348
|
+
jolokia_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointJolokiaUserConfigArgs']] = None,
|
|
349
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
350
|
+
prometheus_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointPrometheusUserConfigArgs']] = None,
|
|
351
|
+
rsyslog_user_config: Optional[pulumi.Input['ServiceIntegrationEndpointRsyslogUserConfigArgs']] = None,
|
|
352
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
281
353
|
if datadog_user_config is not None:
|
|
282
|
-
|
|
354
|
+
_setter("datadog_user_config", datadog_user_config)
|
|
283
355
|
if endpoint_config is not None:
|
|
284
|
-
|
|
356
|
+
_setter("endpoint_config", endpoint_config)
|
|
285
357
|
if endpoint_name is not None:
|
|
286
|
-
|
|
358
|
+
_setter("endpoint_name", endpoint_name)
|
|
287
359
|
if endpoint_type is not None:
|
|
288
|
-
|
|
360
|
+
_setter("endpoint_type", endpoint_type)
|
|
289
361
|
if external_aws_cloudwatch_logs_user_config is not None:
|
|
290
|
-
|
|
362
|
+
_setter("external_aws_cloudwatch_logs_user_config", external_aws_cloudwatch_logs_user_config)
|
|
291
363
|
if external_aws_cloudwatch_metrics_user_config is not None:
|
|
292
|
-
|
|
364
|
+
_setter("external_aws_cloudwatch_metrics_user_config", external_aws_cloudwatch_metrics_user_config)
|
|
293
365
|
if external_elasticsearch_logs_user_config is not None:
|
|
294
|
-
|
|
366
|
+
_setter("external_elasticsearch_logs_user_config", external_elasticsearch_logs_user_config)
|
|
295
367
|
if external_google_cloud_logging_user_config is not None:
|
|
296
|
-
|
|
368
|
+
_setter("external_google_cloud_logging_user_config", external_google_cloud_logging_user_config)
|
|
297
369
|
if external_kafka_user_config is not None:
|
|
298
|
-
|
|
370
|
+
_setter("external_kafka_user_config", external_kafka_user_config)
|
|
299
371
|
if external_opensearch_logs_user_config is not None:
|
|
300
|
-
|
|
372
|
+
_setter("external_opensearch_logs_user_config", external_opensearch_logs_user_config)
|
|
301
373
|
if external_schema_registry_user_config is not None:
|
|
302
|
-
|
|
374
|
+
_setter("external_schema_registry_user_config", external_schema_registry_user_config)
|
|
303
375
|
if jolokia_user_config is not None:
|
|
304
|
-
|
|
376
|
+
_setter("jolokia_user_config", jolokia_user_config)
|
|
305
377
|
if project is not None:
|
|
306
|
-
|
|
378
|
+
_setter("project", project)
|
|
307
379
|
if prometheus_user_config is not None:
|
|
308
|
-
|
|
380
|
+
_setter("prometheus_user_config", prometheus_user_config)
|
|
309
381
|
if rsyslog_user_config is not None:
|
|
310
|
-
|
|
382
|
+
_setter("rsyslog_user_config", rsyslog_user_config)
|
|
311
383
|
|
|
312
384
|
@property
|
|
313
385
|
@pulumi.getter(name="datadogUserConfig")
|
|
@@ -549,6 +621,10 @@ class ServiceIntegrationEndpoint(pulumi.CustomResource):
|
|
|
549
621
|
if resource_args is not None:
|
|
550
622
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
551
623
|
else:
|
|
624
|
+
kwargs = kwargs or {}
|
|
625
|
+
def _setter(key, value):
|
|
626
|
+
kwargs[key] = value
|
|
627
|
+
ServiceIntegrationEndpointArgs._configure(_setter, **kwargs)
|
|
552
628
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
553
629
|
|
|
554
630
|
def _internal_init(__self__,
|
|
@@ -577,6 +653,11 @@ class ServiceIntegrationEndpoint(pulumi.CustomResource):
|
|
|
577
653
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
578
654
|
__props__ = ServiceIntegrationEndpointArgs.__new__(ServiceIntegrationEndpointArgs)
|
|
579
655
|
|
|
656
|
+
if datadog_user_config is not None and not isinstance(datadog_user_config, ServiceIntegrationEndpointDatadogUserConfigArgs):
|
|
657
|
+
datadog_user_config = datadog_user_config or {}
|
|
658
|
+
def _setter(key, value):
|
|
659
|
+
datadog_user_config[key] = value
|
|
660
|
+
ServiceIntegrationEndpointDatadogUserConfigArgs._configure(_setter, **datadog_user_config)
|
|
580
661
|
__props__.__dict__["datadog_user_config"] = datadog_user_config
|
|
581
662
|
if endpoint_name is None and not opts.urn:
|
|
582
663
|
raise TypeError("Missing required property 'endpoint_name'")
|
|
@@ -584,18 +665,68 @@ class ServiceIntegrationEndpoint(pulumi.CustomResource):
|
|
|
584
665
|
if endpoint_type is None and not opts.urn:
|
|
585
666
|
raise TypeError("Missing required property 'endpoint_type'")
|
|
586
667
|
__props__.__dict__["endpoint_type"] = endpoint_type
|
|
668
|
+
if external_aws_cloudwatch_logs_user_config is not None and not isinstance(external_aws_cloudwatch_logs_user_config, ServiceIntegrationEndpointExternalAwsCloudwatchLogsUserConfigArgs):
|
|
669
|
+
external_aws_cloudwatch_logs_user_config = external_aws_cloudwatch_logs_user_config or {}
|
|
670
|
+
def _setter(key, value):
|
|
671
|
+
external_aws_cloudwatch_logs_user_config[key] = value
|
|
672
|
+
ServiceIntegrationEndpointExternalAwsCloudwatchLogsUserConfigArgs._configure(_setter, **external_aws_cloudwatch_logs_user_config)
|
|
587
673
|
__props__.__dict__["external_aws_cloudwatch_logs_user_config"] = external_aws_cloudwatch_logs_user_config
|
|
674
|
+
if external_aws_cloudwatch_metrics_user_config is not None and not isinstance(external_aws_cloudwatch_metrics_user_config, ServiceIntegrationEndpointExternalAwsCloudwatchMetricsUserConfigArgs):
|
|
675
|
+
external_aws_cloudwatch_metrics_user_config = external_aws_cloudwatch_metrics_user_config or {}
|
|
676
|
+
def _setter(key, value):
|
|
677
|
+
external_aws_cloudwatch_metrics_user_config[key] = value
|
|
678
|
+
ServiceIntegrationEndpointExternalAwsCloudwatchMetricsUserConfigArgs._configure(_setter, **external_aws_cloudwatch_metrics_user_config)
|
|
588
679
|
__props__.__dict__["external_aws_cloudwatch_metrics_user_config"] = external_aws_cloudwatch_metrics_user_config
|
|
680
|
+
if external_elasticsearch_logs_user_config is not None and not isinstance(external_elasticsearch_logs_user_config, ServiceIntegrationEndpointExternalElasticsearchLogsUserConfigArgs):
|
|
681
|
+
external_elasticsearch_logs_user_config = external_elasticsearch_logs_user_config or {}
|
|
682
|
+
def _setter(key, value):
|
|
683
|
+
external_elasticsearch_logs_user_config[key] = value
|
|
684
|
+
ServiceIntegrationEndpointExternalElasticsearchLogsUserConfigArgs._configure(_setter, **external_elasticsearch_logs_user_config)
|
|
589
685
|
__props__.__dict__["external_elasticsearch_logs_user_config"] = external_elasticsearch_logs_user_config
|
|
686
|
+
if external_google_cloud_logging_user_config is not None and not isinstance(external_google_cloud_logging_user_config, ServiceIntegrationEndpointExternalGoogleCloudLoggingUserConfigArgs):
|
|
687
|
+
external_google_cloud_logging_user_config = external_google_cloud_logging_user_config or {}
|
|
688
|
+
def _setter(key, value):
|
|
689
|
+
external_google_cloud_logging_user_config[key] = value
|
|
690
|
+
ServiceIntegrationEndpointExternalGoogleCloudLoggingUserConfigArgs._configure(_setter, **external_google_cloud_logging_user_config)
|
|
590
691
|
__props__.__dict__["external_google_cloud_logging_user_config"] = external_google_cloud_logging_user_config
|
|
692
|
+
if external_kafka_user_config is not None and not isinstance(external_kafka_user_config, ServiceIntegrationEndpointExternalKafkaUserConfigArgs):
|
|
693
|
+
external_kafka_user_config = external_kafka_user_config or {}
|
|
694
|
+
def _setter(key, value):
|
|
695
|
+
external_kafka_user_config[key] = value
|
|
696
|
+
ServiceIntegrationEndpointExternalKafkaUserConfigArgs._configure(_setter, **external_kafka_user_config)
|
|
591
697
|
__props__.__dict__["external_kafka_user_config"] = external_kafka_user_config
|
|
698
|
+
if external_opensearch_logs_user_config is not None and not isinstance(external_opensearch_logs_user_config, ServiceIntegrationEndpointExternalOpensearchLogsUserConfigArgs):
|
|
699
|
+
external_opensearch_logs_user_config = external_opensearch_logs_user_config or {}
|
|
700
|
+
def _setter(key, value):
|
|
701
|
+
external_opensearch_logs_user_config[key] = value
|
|
702
|
+
ServiceIntegrationEndpointExternalOpensearchLogsUserConfigArgs._configure(_setter, **external_opensearch_logs_user_config)
|
|
592
703
|
__props__.__dict__["external_opensearch_logs_user_config"] = external_opensearch_logs_user_config
|
|
704
|
+
if external_schema_registry_user_config is not None and not isinstance(external_schema_registry_user_config, ServiceIntegrationEndpointExternalSchemaRegistryUserConfigArgs):
|
|
705
|
+
external_schema_registry_user_config = external_schema_registry_user_config or {}
|
|
706
|
+
def _setter(key, value):
|
|
707
|
+
external_schema_registry_user_config[key] = value
|
|
708
|
+
ServiceIntegrationEndpointExternalSchemaRegistryUserConfigArgs._configure(_setter, **external_schema_registry_user_config)
|
|
593
709
|
__props__.__dict__["external_schema_registry_user_config"] = external_schema_registry_user_config
|
|
710
|
+
if jolokia_user_config is not None and not isinstance(jolokia_user_config, ServiceIntegrationEndpointJolokiaUserConfigArgs):
|
|
711
|
+
jolokia_user_config = jolokia_user_config or {}
|
|
712
|
+
def _setter(key, value):
|
|
713
|
+
jolokia_user_config[key] = value
|
|
714
|
+
ServiceIntegrationEndpointJolokiaUserConfigArgs._configure(_setter, **jolokia_user_config)
|
|
594
715
|
__props__.__dict__["jolokia_user_config"] = jolokia_user_config
|
|
595
716
|
if project is None and not opts.urn:
|
|
596
717
|
raise TypeError("Missing required property 'project'")
|
|
597
718
|
__props__.__dict__["project"] = project
|
|
719
|
+
if prometheus_user_config is not None and not isinstance(prometheus_user_config, ServiceIntegrationEndpointPrometheusUserConfigArgs):
|
|
720
|
+
prometheus_user_config = prometheus_user_config or {}
|
|
721
|
+
def _setter(key, value):
|
|
722
|
+
prometheus_user_config[key] = value
|
|
723
|
+
ServiceIntegrationEndpointPrometheusUserConfigArgs._configure(_setter, **prometheus_user_config)
|
|
598
724
|
__props__.__dict__["prometheus_user_config"] = prometheus_user_config
|
|
725
|
+
if rsyslog_user_config is not None and not isinstance(rsyslog_user_config, ServiceIntegrationEndpointRsyslogUserConfigArgs):
|
|
726
|
+
rsyslog_user_config = rsyslog_user_config or {}
|
|
727
|
+
def _setter(key, value):
|
|
728
|
+
rsyslog_user_config[key] = value
|
|
729
|
+
ServiceIntegrationEndpointRsyslogUserConfigArgs._configure(_setter, **rsyslog_user_config)
|
|
599
730
|
__props__.__dict__["rsyslog_user_config"] = rsyslog_user_config
|
|
600
731
|
__props__.__dict__["endpoint_config"] = None
|
|
601
732
|
super(ServiceIntegrationEndpoint, __self__).__init__(
|
pulumi_aiven/static_ip.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__ = ['StaticIpArgs', 'StaticIp']
|
|
@@ -21,8 +21,19 @@ class StaticIpArgs:
|
|
|
21
21
|
:param pulumi.Input[str] cloud_name: Specifies the cloud that the static ip belongs to. This property cannot be changed, doing so forces recreation of the resource.
|
|
22
22
|
:param pulumi.Input[str] project: Identifies the project this resource belongs to. 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.
|
|
23
23
|
"""
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
StaticIpArgs._configure(
|
|
25
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
26
|
+
cloud_name=cloud_name,
|
|
27
|
+
project=project,
|
|
28
|
+
)
|
|
29
|
+
@staticmethod
|
|
30
|
+
def _configure(
|
|
31
|
+
_setter: Callable[[Any, Any], None],
|
|
32
|
+
cloud_name: pulumi.Input[str],
|
|
33
|
+
project: pulumi.Input[str],
|
|
34
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
35
|
+
_setter("cloud_name", cloud_name)
|
|
36
|
+
_setter("project", project)
|
|
26
37
|
|
|
27
38
|
@property
|
|
28
39
|
@pulumi.getter(name="cloudName")
|
|
@@ -67,18 +78,37 @@ class _StaticIpState:
|
|
|
67
78
|
:param pulumi.Input[str] state: The state the static ip is in.
|
|
68
79
|
:param pulumi.Input[str] static_ip_address_id: The static ip id of the resource. Should be used as a reference elsewhere.
|
|
69
80
|
"""
|
|
81
|
+
_StaticIpState._configure(
|
|
82
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
83
|
+
cloud_name=cloud_name,
|
|
84
|
+
ip_address=ip_address,
|
|
85
|
+
project=project,
|
|
86
|
+
service_name=service_name,
|
|
87
|
+
state=state,
|
|
88
|
+
static_ip_address_id=static_ip_address_id,
|
|
89
|
+
)
|
|
90
|
+
@staticmethod
|
|
91
|
+
def _configure(
|
|
92
|
+
_setter: Callable[[Any, Any], None],
|
|
93
|
+
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
94
|
+
ip_address: Optional[pulumi.Input[str]] = None,
|
|
95
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
96
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
97
|
+
state: Optional[pulumi.Input[str]] = None,
|
|
98
|
+
static_ip_address_id: Optional[pulumi.Input[str]] = None,
|
|
99
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
70
100
|
if cloud_name is not None:
|
|
71
|
-
|
|
101
|
+
_setter("cloud_name", cloud_name)
|
|
72
102
|
if ip_address is not None:
|
|
73
|
-
|
|
103
|
+
_setter("ip_address", ip_address)
|
|
74
104
|
if project is not None:
|
|
75
|
-
|
|
105
|
+
_setter("project", project)
|
|
76
106
|
if service_name is not None:
|
|
77
|
-
|
|
107
|
+
_setter("service_name", service_name)
|
|
78
108
|
if state is not None:
|
|
79
|
-
|
|
109
|
+
_setter("state", state)
|
|
80
110
|
if static_ip_address_id is not None:
|
|
81
|
-
|
|
111
|
+
_setter("static_ip_address_id", static_ip_address_id)
|
|
82
112
|
|
|
83
113
|
@property
|
|
84
114
|
@pulumi.getter(name="cloudName")
|
|
@@ -188,6 +218,10 @@ class StaticIp(pulumi.CustomResource):
|
|
|
188
218
|
if resource_args is not None:
|
|
189
219
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
190
220
|
else:
|
|
221
|
+
kwargs = kwargs or {}
|
|
222
|
+
def _setter(key, value):
|
|
223
|
+
kwargs[key] = value
|
|
224
|
+
StaticIpArgs._configure(_setter, **kwargs)
|
|
191
225
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
192
226
|
|
|
193
227
|
def _internal_init(__self__,
|