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
pulumi_aiven/grafana.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 *
|
|
@@ -67,35 +67,70 @@ class GrafanaArgs:
|
|
|
67
67
|
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
68
68
|
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
69
69
|
"""
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
GrafanaArgs._configure(
|
|
71
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
72
|
+
plan=plan,
|
|
73
|
+
project=project,
|
|
74
|
+
additional_disk_space=additional_disk_space,
|
|
75
|
+
cloud_name=cloud_name,
|
|
76
|
+
disk_space=disk_space,
|
|
77
|
+
grafana_user_config=grafana_user_config,
|
|
78
|
+
maintenance_window_dow=maintenance_window_dow,
|
|
79
|
+
maintenance_window_time=maintenance_window_time,
|
|
80
|
+
project_vpc_id=project_vpc_id,
|
|
81
|
+
service_integrations=service_integrations,
|
|
82
|
+
service_name=service_name,
|
|
83
|
+
static_ips=static_ips,
|
|
84
|
+
tags=tags,
|
|
85
|
+
termination_protection=termination_protection,
|
|
86
|
+
)
|
|
87
|
+
@staticmethod
|
|
88
|
+
def _configure(
|
|
89
|
+
_setter: Callable[[Any, Any], None],
|
|
90
|
+
plan: pulumi.Input[str],
|
|
91
|
+
project: pulumi.Input[str],
|
|
92
|
+
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
93
|
+
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
94
|
+
disk_space: Optional[pulumi.Input[str]] = None,
|
|
95
|
+
grafana_user_config: Optional[pulumi.Input['GrafanaGrafanaUserConfigArgs']] = None,
|
|
96
|
+
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
97
|
+
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
98
|
+
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
99
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['GrafanaServiceIntegrationArgs']]]] = None,
|
|
100
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
101
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
102
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input['GrafanaTagArgs']]]] = None,
|
|
103
|
+
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
104
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
105
|
+
_setter("plan", plan)
|
|
106
|
+
_setter("project", project)
|
|
72
107
|
if additional_disk_space is not None:
|
|
73
|
-
|
|
108
|
+
_setter("additional_disk_space", additional_disk_space)
|
|
74
109
|
if cloud_name is not None:
|
|
75
|
-
|
|
110
|
+
_setter("cloud_name", cloud_name)
|
|
76
111
|
if disk_space is not None:
|
|
77
112
|
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)
|
|
78
113
|
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.""")
|
|
79
114
|
if disk_space is not None:
|
|
80
|
-
|
|
115
|
+
_setter("disk_space", disk_space)
|
|
81
116
|
if grafana_user_config is not None:
|
|
82
|
-
|
|
117
|
+
_setter("grafana_user_config", grafana_user_config)
|
|
83
118
|
if maintenance_window_dow is not None:
|
|
84
|
-
|
|
119
|
+
_setter("maintenance_window_dow", maintenance_window_dow)
|
|
85
120
|
if maintenance_window_time is not None:
|
|
86
|
-
|
|
121
|
+
_setter("maintenance_window_time", maintenance_window_time)
|
|
87
122
|
if project_vpc_id is not None:
|
|
88
|
-
|
|
123
|
+
_setter("project_vpc_id", project_vpc_id)
|
|
89
124
|
if service_integrations is not None:
|
|
90
|
-
|
|
125
|
+
_setter("service_integrations", service_integrations)
|
|
91
126
|
if service_name is not None:
|
|
92
|
-
|
|
127
|
+
_setter("service_name", service_name)
|
|
93
128
|
if static_ips is not None:
|
|
94
|
-
|
|
129
|
+
_setter("static_ips", static_ips)
|
|
95
130
|
if tags is not None:
|
|
96
|
-
|
|
131
|
+
_setter("tags", tags)
|
|
97
132
|
if termination_protection is not None:
|
|
98
|
-
|
|
133
|
+
_setter("termination_protection", termination_protection)
|
|
99
134
|
|
|
100
135
|
@property
|
|
101
136
|
@pulumi.getter
|
|
@@ -371,63 +406,124 @@ class _GrafanaState:
|
|
|
371
406
|
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
372
407
|
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
373
408
|
"""
|
|
409
|
+
_GrafanaState._configure(
|
|
410
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
411
|
+
additional_disk_space=additional_disk_space,
|
|
412
|
+
cloud_name=cloud_name,
|
|
413
|
+
components=components,
|
|
414
|
+
disk_space=disk_space,
|
|
415
|
+
disk_space_cap=disk_space_cap,
|
|
416
|
+
disk_space_default=disk_space_default,
|
|
417
|
+
disk_space_step=disk_space_step,
|
|
418
|
+
disk_space_used=disk_space_used,
|
|
419
|
+
grafana_user_config=grafana_user_config,
|
|
420
|
+
grafanas=grafanas,
|
|
421
|
+
maintenance_window_dow=maintenance_window_dow,
|
|
422
|
+
maintenance_window_time=maintenance_window_time,
|
|
423
|
+
plan=plan,
|
|
424
|
+
project=project,
|
|
425
|
+
project_vpc_id=project_vpc_id,
|
|
426
|
+
service_host=service_host,
|
|
427
|
+
service_integrations=service_integrations,
|
|
428
|
+
service_name=service_name,
|
|
429
|
+
service_password=service_password,
|
|
430
|
+
service_port=service_port,
|
|
431
|
+
service_type=service_type,
|
|
432
|
+
service_uri=service_uri,
|
|
433
|
+
service_username=service_username,
|
|
434
|
+
state=state,
|
|
435
|
+
static_ips=static_ips,
|
|
436
|
+
tags=tags,
|
|
437
|
+
termination_protection=termination_protection,
|
|
438
|
+
)
|
|
439
|
+
@staticmethod
|
|
440
|
+
def _configure(
|
|
441
|
+
_setter: Callable[[Any, Any], None],
|
|
442
|
+
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
443
|
+
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
444
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input['GrafanaComponentArgs']]]] = None,
|
|
445
|
+
disk_space: Optional[pulumi.Input[str]] = None,
|
|
446
|
+
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
447
|
+
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
448
|
+
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
449
|
+
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
450
|
+
grafana_user_config: Optional[pulumi.Input['GrafanaGrafanaUserConfigArgs']] = None,
|
|
451
|
+
grafanas: Optional[pulumi.Input[Sequence[pulumi.Input['GrafanaGrafanaArgs']]]] = None,
|
|
452
|
+
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
453
|
+
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
454
|
+
plan: Optional[pulumi.Input[str]] = None,
|
|
455
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
456
|
+
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
457
|
+
service_host: Optional[pulumi.Input[str]] = None,
|
|
458
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['GrafanaServiceIntegrationArgs']]]] = None,
|
|
459
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
460
|
+
service_password: Optional[pulumi.Input[str]] = None,
|
|
461
|
+
service_port: Optional[pulumi.Input[int]] = None,
|
|
462
|
+
service_type: Optional[pulumi.Input[str]] = None,
|
|
463
|
+
service_uri: Optional[pulumi.Input[str]] = None,
|
|
464
|
+
service_username: Optional[pulumi.Input[str]] = None,
|
|
465
|
+
state: Optional[pulumi.Input[str]] = None,
|
|
466
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
467
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input['GrafanaTagArgs']]]] = None,
|
|
468
|
+
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
469
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
374
470
|
if additional_disk_space is not None:
|
|
375
|
-
|
|
471
|
+
_setter("additional_disk_space", additional_disk_space)
|
|
376
472
|
if cloud_name is not None:
|
|
377
|
-
|
|
473
|
+
_setter("cloud_name", cloud_name)
|
|
378
474
|
if components is not None:
|
|
379
|
-
|
|
475
|
+
_setter("components", components)
|
|
380
476
|
if disk_space is not None:
|
|
381
477
|
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)
|
|
382
478
|
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.""")
|
|
383
479
|
if disk_space is not None:
|
|
384
|
-
|
|
480
|
+
_setter("disk_space", disk_space)
|
|
385
481
|
if disk_space_cap is not None:
|
|
386
|
-
|
|
482
|
+
_setter("disk_space_cap", disk_space_cap)
|
|
387
483
|
if disk_space_default is not None:
|
|
388
|
-
|
|
484
|
+
_setter("disk_space_default", disk_space_default)
|
|
389
485
|
if disk_space_step is not None:
|
|
390
|
-
|
|
486
|
+
_setter("disk_space_step", disk_space_step)
|
|
391
487
|
if disk_space_used is not None:
|
|
392
|
-
|
|
488
|
+
_setter("disk_space_used", disk_space_used)
|
|
393
489
|
if grafana_user_config is not None:
|
|
394
|
-
|
|
490
|
+
_setter("grafana_user_config", grafana_user_config)
|
|
395
491
|
if grafanas is not None:
|
|
396
|
-
|
|
492
|
+
_setter("grafanas", grafanas)
|
|
397
493
|
if maintenance_window_dow is not None:
|
|
398
|
-
|
|
494
|
+
_setter("maintenance_window_dow", maintenance_window_dow)
|
|
399
495
|
if maintenance_window_time is not None:
|
|
400
|
-
|
|
496
|
+
_setter("maintenance_window_time", maintenance_window_time)
|
|
401
497
|
if plan is not None:
|
|
402
|
-
|
|
498
|
+
_setter("plan", plan)
|
|
403
499
|
if project is not None:
|
|
404
|
-
|
|
500
|
+
_setter("project", project)
|
|
405
501
|
if project_vpc_id is not None:
|
|
406
|
-
|
|
502
|
+
_setter("project_vpc_id", project_vpc_id)
|
|
407
503
|
if service_host is not None:
|
|
408
|
-
|
|
504
|
+
_setter("service_host", service_host)
|
|
409
505
|
if service_integrations is not None:
|
|
410
|
-
|
|
506
|
+
_setter("service_integrations", service_integrations)
|
|
411
507
|
if service_name is not None:
|
|
412
|
-
|
|
508
|
+
_setter("service_name", service_name)
|
|
413
509
|
if service_password is not None:
|
|
414
|
-
|
|
510
|
+
_setter("service_password", service_password)
|
|
415
511
|
if service_port is not None:
|
|
416
|
-
|
|
512
|
+
_setter("service_port", service_port)
|
|
417
513
|
if service_type is not None:
|
|
418
|
-
|
|
514
|
+
_setter("service_type", service_type)
|
|
419
515
|
if service_uri is not None:
|
|
420
|
-
|
|
516
|
+
_setter("service_uri", service_uri)
|
|
421
517
|
if service_username is not None:
|
|
422
|
-
|
|
518
|
+
_setter("service_username", service_username)
|
|
423
519
|
if state is not None:
|
|
424
|
-
|
|
520
|
+
_setter("state", state)
|
|
425
521
|
if static_ips is not None:
|
|
426
|
-
|
|
522
|
+
_setter("static_ips", static_ips)
|
|
427
523
|
if tags is not None:
|
|
428
|
-
|
|
524
|
+
_setter("tags", tags)
|
|
429
525
|
if termination_protection is not None:
|
|
430
|
-
|
|
526
|
+
_setter("termination_protection", termination_protection)
|
|
431
527
|
|
|
432
528
|
@property
|
|
433
529
|
@pulumi.getter(name="additionalDiskSpace")
|
|
@@ -910,6 +1006,10 @@ class Grafana(pulumi.CustomResource):
|
|
|
910
1006
|
if resource_args is not None:
|
|
911
1007
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
912
1008
|
else:
|
|
1009
|
+
kwargs = kwargs or {}
|
|
1010
|
+
def _setter(key, value):
|
|
1011
|
+
kwargs[key] = value
|
|
1012
|
+
GrafanaArgs._configure(_setter, **kwargs)
|
|
913
1013
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
914
1014
|
|
|
915
1015
|
def _internal_init(__self__,
|
|
@@ -940,10 +1040,12 @@ class Grafana(pulumi.CustomResource):
|
|
|
940
1040
|
|
|
941
1041
|
__props__.__dict__["additional_disk_space"] = additional_disk_space
|
|
942
1042
|
__props__.__dict__["cloud_name"] = cloud_name
|
|
943
|
-
if disk_space is not None and not opts.urn:
|
|
944
|
-
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)
|
|
945
|
-
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.""")
|
|
946
1043
|
__props__.__dict__["disk_space"] = disk_space
|
|
1044
|
+
if grafana_user_config is not None and not isinstance(grafana_user_config, GrafanaGrafanaUserConfigArgs):
|
|
1045
|
+
grafana_user_config = grafana_user_config or {}
|
|
1046
|
+
def _setter(key, value):
|
|
1047
|
+
grafana_user_config[key] = value
|
|
1048
|
+
GrafanaGrafanaUserConfigArgs._configure(_setter, **grafana_user_config)
|
|
947
1049
|
__props__.__dict__["grafana_user_config"] = grafana_user_config
|
|
948
1050
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
949
1051
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
pulumi_aiven/influx_db.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 *
|
|
@@ -43,38 +43,73 @@ class InfluxDbArgs:
|
|
|
43
43
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
44
44
|
: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.
|
|
45
45
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
46
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
46
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
|
|
47
47
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
48
48
|
: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.
|
|
49
49
|
"""
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
InfluxDbArgs._configure(
|
|
51
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
52
|
+
plan=plan,
|
|
53
|
+
project=project,
|
|
54
|
+
service_name=service_name,
|
|
55
|
+
additional_disk_space=additional_disk_space,
|
|
56
|
+
cloud_name=cloud_name,
|
|
57
|
+
disk_space=disk_space,
|
|
58
|
+
influxdb_user_config=influxdb_user_config,
|
|
59
|
+
maintenance_window_dow=maintenance_window_dow,
|
|
60
|
+
maintenance_window_time=maintenance_window_time,
|
|
61
|
+
project_vpc_id=project_vpc_id,
|
|
62
|
+
service_integrations=service_integrations,
|
|
63
|
+
static_ips=static_ips,
|
|
64
|
+
tags=tags,
|
|
65
|
+
termination_protection=termination_protection,
|
|
66
|
+
)
|
|
67
|
+
@staticmethod
|
|
68
|
+
def _configure(
|
|
69
|
+
_setter: Callable[[Any, Any], None],
|
|
70
|
+
plan: pulumi.Input[str],
|
|
71
|
+
project: pulumi.Input[str],
|
|
72
|
+
service_name: pulumi.Input[str],
|
|
73
|
+
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
74
|
+
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
75
|
+
disk_space: Optional[pulumi.Input[str]] = None,
|
|
76
|
+
influxdb_user_config: Optional[pulumi.Input['InfluxDbInfluxdbUserConfigArgs']] = None,
|
|
77
|
+
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
78
|
+
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
79
|
+
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
80
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbServiceIntegrationArgs']]]] = None,
|
|
81
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
82
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]]] = None,
|
|
83
|
+
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
84
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
85
|
+
_setter("plan", plan)
|
|
86
|
+
_setter("project", project)
|
|
87
|
+
_setter("service_name", service_name)
|
|
53
88
|
if additional_disk_space is not None:
|
|
54
|
-
|
|
89
|
+
_setter("additional_disk_space", additional_disk_space)
|
|
55
90
|
if cloud_name is not None:
|
|
56
|
-
|
|
91
|
+
_setter("cloud_name", cloud_name)
|
|
57
92
|
if disk_space is not None:
|
|
58
93
|
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)
|
|
59
94
|
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.""")
|
|
60
95
|
if disk_space is not None:
|
|
61
|
-
|
|
96
|
+
_setter("disk_space", disk_space)
|
|
62
97
|
if influxdb_user_config is not None:
|
|
63
|
-
|
|
98
|
+
_setter("influxdb_user_config", influxdb_user_config)
|
|
64
99
|
if maintenance_window_dow is not None:
|
|
65
|
-
|
|
100
|
+
_setter("maintenance_window_dow", maintenance_window_dow)
|
|
66
101
|
if maintenance_window_time is not None:
|
|
67
|
-
|
|
102
|
+
_setter("maintenance_window_time", maintenance_window_time)
|
|
68
103
|
if project_vpc_id is not None:
|
|
69
|
-
|
|
104
|
+
_setter("project_vpc_id", project_vpc_id)
|
|
70
105
|
if service_integrations is not None:
|
|
71
|
-
|
|
106
|
+
_setter("service_integrations", service_integrations)
|
|
72
107
|
if static_ips is not None:
|
|
73
|
-
|
|
108
|
+
_setter("static_ips", static_ips)
|
|
74
109
|
if tags is not None:
|
|
75
|
-
|
|
110
|
+
_setter("tags", tags)
|
|
76
111
|
if termination_protection is not None:
|
|
77
|
-
|
|
112
|
+
_setter("termination_protection", termination_protection)
|
|
78
113
|
|
|
79
114
|
@property
|
|
80
115
|
@pulumi.getter
|
|
@@ -215,7 +250,7 @@ class InfluxDbArgs:
|
|
|
215
250
|
@pulumi.getter(name="staticIps")
|
|
216
251
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
217
252
|
"""
|
|
218
|
-
|
|
253
|
+
Use static public IP addresses.
|
|
219
254
|
"""
|
|
220
255
|
return pulumi.get(self, "static_ips")
|
|
221
256
|
|
|
@@ -289,7 +324,7 @@ class _InfluxDbState:
|
|
|
289
324
|
: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.
|
|
290
325
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
291
326
|
:param pulumi.Input['InfluxDbInfluxdbUserConfigArgs'] influxdb_user_config: Influxdb user configurable settings
|
|
292
|
-
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]] influxdbs:
|
|
327
|
+
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]] influxdbs: influxdb.conf configuration values.
|
|
293
328
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
294
329
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
295
330
|
:param pulumi.Input[str] plan: 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 seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
@@ -304,67 +339,128 @@ class _InfluxDbState:
|
|
|
304
339
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
305
340
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
306
341
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
307
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
342
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
|
|
308
343
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
309
344
|
: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.
|
|
310
345
|
"""
|
|
346
|
+
_InfluxDbState._configure(
|
|
347
|
+
lambda key, value: pulumi.set(__self__, key, value),
|
|
348
|
+
additional_disk_space=additional_disk_space,
|
|
349
|
+
cloud_name=cloud_name,
|
|
350
|
+
components=components,
|
|
351
|
+
disk_space=disk_space,
|
|
352
|
+
disk_space_cap=disk_space_cap,
|
|
353
|
+
disk_space_default=disk_space_default,
|
|
354
|
+
disk_space_step=disk_space_step,
|
|
355
|
+
disk_space_used=disk_space_used,
|
|
356
|
+
influxdb_user_config=influxdb_user_config,
|
|
357
|
+
influxdbs=influxdbs,
|
|
358
|
+
maintenance_window_dow=maintenance_window_dow,
|
|
359
|
+
maintenance_window_time=maintenance_window_time,
|
|
360
|
+
plan=plan,
|
|
361
|
+
project=project,
|
|
362
|
+
project_vpc_id=project_vpc_id,
|
|
363
|
+
service_host=service_host,
|
|
364
|
+
service_integrations=service_integrations,
|
|
365
|
+
service_name=service_name,
|
|
366
|
+
service_password=service_password,
|
|
367
|
+
service_port=service_port,
|
|
368
|
+
service_type=service_type,
|
|
369
|
+
service_uri=service_uri,
|
|
370
|
+
service_username=service_username,
|
|
371
|
+
state=state,
|
|
372
|
+
static_ips=static_ips,
|
|
373
|
+
tags=tags,
|
|
374
|
+
termination_protection=termination_protection,
|
|
375
|
+
)
|
|
376
|
+
@staticmethod
|
|
377
|
+
def _configure(
|
|
378
|
+
_setter: Callable[[Any, Any], None],
|
|
379
|
+
additional_disk_space: Optional[pulumi.Input[str]] = None,
|
|
380
|
+
cloud_name: Optional[pulumi.Input[str]] = None,
|
|
381
|
+
components: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbComponentArgs']]]] = None,
|
|
382
|
+
disk_space: Optional[pulumi.Input[str]] = None,
|
|
383
|
+
disk_space_cap: Optional[pulumi.Input[str]] = None,
|
|
384
|
+
disk_space_default: Optional[pulumi.Input[str]] = None,
|
|
385
|
+
disk_space_step: Optional[pulumi.Input[str]] = None,
|
|
386
|
+
disk_space_used: Optional[pulumi.Input[str]] = None,
|
|
387
|
+
influxdb_user_config: Optional[pulumi.Input['InfluxDbInfluxdbUserConfigArgs']] = None,
|
|
388
|
+
influxdbs: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]]] = None,
|
|
389
|
+
maintenance_window_dow: Optional[pulumi.Input[str]] = None,
|
|
390
|
+
maintenance_window_time: Optional[pulumi.Input[str]] = None,
|
|
391
|
+
plan: Optional[pulumi.Input[str]] = None,
|
|
392
|
+
project: Optional[pulumi.Input[str]] = None,
|
|
393
|
+
project_vpc_id: Optional[pulumi.Input[str]] = None,
|
|
394
|
+
service_host: Optional[pulumi.Input[str]] = None,
|
|
395
|
+
service_integrations: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbServiceIntegrationArgs']]]] = None,
|
|
396
|
+
service_name: Optional[pulumi.Input[str]] = None,
|
|
397
|
+
service_password: Optional[pulumi.Input[str]] = None,
|
|
398
|
+
service_port: Optional[pulumi.Input[int]] = None,
|
|
399
|
+
service_type: Optional[pulumi.Input[str]] = None,
|
|
400
|
+
service_uri: Optional[pulumi.Input[str]] = None,
|
|
401
|
+
service_username: Optional[pulumi.Input[str]] = None,
|
|
402
|
+
state: Optional[pulumi.Input[str]] = None,
|
|
403
|
+
static_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
404
|
+
tags: Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]]] = None,
|
|
405
|
+
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
406
|
+
opts: Optional[pulumi.ResourceOptions]=None):
|
|
311
407
|
if additional_disk_space is not None:
|
|
312
|
-
|
|
408
|
+
_setter("additional_disk_space", additional_disk_space)
|
|
313
409
|
if cloud_name is not None:
|
|
314
|
-
|
|
410
|
+
_setter("cloud_name", cloud_name)
|
|
315
411
|
if components is not None:
|
|
316
|
-
|
|
412
|
+
_setter("components", components)
|
|
317
413
|
if disk_space is not None:
|
|
318
414
|
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)
|
|
319
415
|
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.""")
|
|
320
416
|
if disk_space is not None:
|
|
321
|
-
|
|
417
|
+
_setter("disk_space", disk_space)
|
|
322
418
|
if disk_space_cap is not None:
|
|
323
|
-
|
|
419
|
+
_setter("disk_space_cap", disk_space_cap)
|
|
324
420
|
if disk_space_default is not None:
|
|
325
|
-
|
|
421
|
+
_setter("disk_space_default", disk_space_default)
|
|
326
422
|
if disk_space_step is not None:
|
|
327
|
-
|
|
423
|
+
_setter("disk_space_step", disk_space_step)
|
|
328
424
|
if disk_space_used is not None:
|
|
329
|
-
|
|
425
|
+
_setter("disk_space_used", disk_space_used)
|
|
330
426
|
if influxdb_user_config is not None:
|
|
331
|
-
|
|
427
|
+
_setter("influxdb_user_config", influxdb_user_config)
|
|
332
428
|
if influxdbs is not None:
|
|
333
|
-
|
|
429
|
+
_setter("influxdbs", influxdbs)
|
|
334
430
|
if maintenance_window_dow is not None:
|
|
335
|
-
|
|
431
|
+
_setter("maintenance_window_dow", maintenance_window_dow)
|
|
336
432
|
if maintenance_window_time is not None:
|
|
337
|
-
|
|
433
|
+
_setter("maintenance_window_time", maintenance_window_time)
|
|
338
434
|
if plan is not None:
|
|
339
|
-
|
|
435
|
+
_setter("plan", plan)
|
|
340
436
|
if project is not None:
|
|
341
|
-
|
|
437
|
+
_setter("project", project)
|
|
342
438
|
if project_vpc_id is not None:
|
|
343
|
-
|
|
439
|
+
_setter("project_vpc_id", project_vpc_id)
|
|
344
440
|
if service_host is not None:
|
|
345
|
-
|
|
441
|
+
_setter("service_host", service_host)
|
|
346
442
|
if service_integrations is not None:
|
|
347
|
-
|
|
443
|
+
_setter("service_integrations", service_integrations)
|
|
348
444
|
if service_name is not None:
|
|
349
|
-
|
|
445
|
+
_setter("service_name", service_name)
|
|
350
446
|
if service_password is not None:
|
|
351
|
-
|
|
447
|
+
_setter("service_password", service_password)
|
|
352
448
|
if service_port is not None:
|
|
353
|
-
|
|
449
|
+
_setter("service_port", service_port)
|
|
354
450
|
if service_type is not None:
|
|
355
|
-
|
|
451
|
+
_setter("service_type", service_type)
|
|
356
452
|
if service_uri is not None:
|
|
357
|
-
|
|
453
|
+
_setter("service_uri", service_uri)
|
|
358
454
|
if service_username is not None:
|
|
359
|
-
|
|
455
|
+
_setter("service_username", service_username)
|
|
360
456
|
if state is not None:
|
|
361
|
-
|
|
457
|
+
_setter("state", state)
|
|
362
458
|
if static_ips is not None:
|
|
363
|
-
|
|
459
|
+
_setter("static_ips", static_ips)
|
|
364
460
|
if tags is not None:
|
|
365
|
-
|
|
461
|
+
_setter("tags", tags)
|
|
366
462
|
if termination_protection is not None:
|
|
367
|
-
|
|
463
|
+
_setter("termination_protection", termination_protection)
|
|
368
464
|
|
|
369
465
|
@property
|
|
370
466
|
@pulumi.getter(name="additionalDiskSpace")
|
|
@@ -481,7 +577,7 @@ class _InfluxDbState:
|
|
|
481
577
|
@pulumi.getter
|
|
482
578
|
def influxdbs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]]]:
|
|
483
579
|
"""
|
|
484
|
-
|
|
580
|
+
influxdb.conf configuration values.
|
|
485
581
|
"""
|
|
486
582
|
return pulumi.get(self, "influxdbs")
|
|
487
583
|
|
|
@@ -661,7 +757,7 @@ class _InfluxDbState:
|
|
|
661
757
|
@pulumi.getter(name="staticIps")
|
|
662
758
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
663
759
|
"""
|
|
664
|
-
|
|
760
|
+
Use static public IP addresses.
|
|
665
761
|
"""
|
|
666
762
|
return pulumi.get(self, "static_ips")
|
|
667
763
|
|
|
@@ -756,7 +852,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
756
852
|
: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.
|
|
757
853
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InfluxDbServiceIntegrationArgs']]]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
758
854
|
: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.
|
|
759
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
855
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
|
|
760
856
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InfluxDbTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
761
857
|
: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.
|
|
762
858
|
"""
|
|
@@ -805,6 +901,10 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
805
901
|
if resource_args is not None:
|
|
806
902
|
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
807
903
|
else:
|
|
904
|
+
kwargs = kwargs or {}
|
|
905
|
+
def _setter(key, value):
|
|
906
|
+
kwargs[key] = value
|
|
907
|
+
InfluxDbArgs._configure(_setter, **kwargs)
|
|
808
908
|
__self__._internal_init(resource_name, *args, **kwargs)
|
|
809
909
|
|
|
810
910
|
def _internal_init(__self__,
|
|
@@ -835,10 +935,12 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
835
935
|
|
|
836
936
|
__props__.__dict__["additional_disk_space"] = additional_disk_space
|
|
837
937
|
__props__.__dict__["cloud_name"] = cloud_name
|
|
838
|
-
if disk_space is not None and not opts.urn:
|
|
839
|
-
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)
|
|
840
|
-
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.""")
|
|
841
938
|
__props__.__dict__["disk_space"] = disk_space
|
|
939
|
+
if influxdb_user_config is not None and not isinstance(influxdb_user_config, InfluxDbInfluxdbUserConfigArgs):
|
|
940
|
+
influxdb_user_config = influxdb_user_config or {}
|
|
941
|
+
def _setter(key, value):
|
|
942
|
+
influxdb_user_config[key] = value
|
|
943
|
+
InfluxDbInfluxdbUserConfigArgs._configure(_setter, **influxdb_user_config)
|
|
842
944
|
__props__.__dict__["influxdb_user_config"] = influxdb_user_config
|
|
843
945
|
__props__.__dict__["maintenance_window_dow"] = maintenance_window_dow
|
|
844
946
|
__props__.__dict__["maintenance_window_time"] = maintenance_window_time
|
|
@@ -924,7 +1026,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
924
1026
|
: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.
|
|
925
1027
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
926
1028
|
:param pulumi.Input[pulumi.InputType['InfluxDbInfluxdbUserConfigArgs']] influxdb_user_config: Influxdb user configurable settings
|
|
927
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InfluxDbInfluxdbArgs']]]] influxdbs:
|
|
1029
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InfluxDbInfluxdbArgs']]]] influxdbs: influxdb.conf configuration values.
|
|
928
1030
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
929
1031
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
930
1032
|
:param pulumi.Input[str] plan: 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 seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
@@ -939,7 +1041,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
939
1041
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
940
1042
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
941
1043
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
942
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
1044
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Use static public IP addresses.
|
|
943
1045
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InfluxDbTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
944
1046
|
: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.
|
|
945
1047
|
"""
|
|
@@ -1055,7 +1157,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1055
1157
|
@pulumi.getter
|
|
1056
1158
|
def influxdbs(self) -> pulumi.Output[Sequence['outputs.InfluxDbInfluxdb']]:
|
|
1057
1159
|
"""
|
|
1058
|
-
|
|
1160
|
+
influxdb.conf configuration values.
|
|
1059
1161
|
"""
|
|
1060
1162
|
return pulumi.get(self, "influxdbs")
|
|
1061
1163
|
|
|
@@ -1175,7 +1277,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1175
1277
|
@pulumi.getter(name="staticIps")
|
|
1176
1278
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1177
1279
|
"""
|
|
1178
|
-
|
|
1280
|
+
Use static public IP addresses.
|
|
1179
1281
|
"""
|
|
1180
1282
|
return pulumi.get(self, "static_ips")
|
|
1181
1283
|
|