pulumi-aiven 6.12.0a1708492523__py3-none-any.whl → 6.13.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-aiven might be problematic. Click here for more details.
- pulumi_aiven/__init__.py +28 -0
- pulumi_aiven/_inputs.py +2973 -1323
- pulumi_aiven/account.py +40 -32
- pulumi_aiven/account_authentication.py +8 -4
- pulumi_aiven/account_team.py +36 -4
- pulumi_aiven/account_team_member.py +69 -35
- pulumi_aiven/account_team_project.py +52 -12
- pulumi_aiven/aws_privatelink.py +43 -39
- pulumi_aiven/aws_vpc_peering_connection.py +66 -52
- pulumi_aiven/azure_privatelink.py +53 -49
- pulumi_aiven/azure_privatelink_connection_approval.py +33 -33
- pulumi_aiven/azure_vpc_peering_connection.py +80 -68
- pulumi_aiven/billing_group.py +6 -2
- pulumi_aiven/cassandra.py +17 -13
- pulumi_aiven/cassandra_user.py +27 -23
- pulumi_aiven/clickhouse.py +13 -9
- pulumi_aiven/clickhouse_database.py +27 -23
- pulumi_aiven/clickhouse_grant.py +46 -42
- pulumi_aiven/clickhouse_role.py +27 -23
- pulumi_aiven/clickhouse_user.py +27 -23
- pulumi_aiven/connection_pool.py +34 -30
- pulumi_aiven/dragonfly.py +1344 -0
- pulumi_aiven/flink.py +13 -9
- pulumi_aiven/flink_application.py +20 -16
- pulumi_aiven/flink_application_deployment.py +14 -14
- pulumi_aiven/flink_application_version.py +16 -16
- pulumi_aiven/gcp_privatelink.py +26 -26
- pulumi_aiven/gcp_privatelink_connection_approval.py +33 -33
- pulumi_aiven/gcp_vpc_peering_connection.py +41 -37
- pulumi_aiven/get_account.py +4 -0
- pulumi_aiven/get_account_team_member.py +9 -9
- pulumi_aiven/get_aws_privatelink.py +19 -15
- pulumi_aiven/get_aws_vpc_peering_connection.py +37 -23
- pulumi_aiven/get_azure_privatelink.py +21 -17
- pulumi_aiven/get_azure_vpc_peering_connection.py +58 -26
- pulumi_aiven/get_cassanda.py +7 -3
- pulumi_aiven/get_cassandra.py +7 -3
- pulumi_aiven/get_cassandra_user.py +13 -9
- pulumi_aiven/get_clickhouse.py +7 -3
- pulumi_aiven/get_clickhouse_database.py +13 -9
- pulumi_aiven/get_clickhouse_user.py +13 -9
- pulumi_aiven/get_connection_pool.py +14 -10
- pulumi_aiven/get_dragonfly.py +443 -0
- pulumi_aiven/get_flink.py +7 -3
- pulumi_aiven/get_flink_application.py +10 -6
- pulumi_aiven/get_flink_application_version.py +10 -6
- pulumi_aiven/get_gcp_vpc_peering_connection.py +22 -18
- pulumi_aiven/get_grafana.py +7 -3
- pulumi_aiven/get_influx_db.py +2 -114
- pulumi_aiven/get_influxdb_database.py +2 -21
- pulumi_aiven/get_influxdb_user.py +2 -55
- pulumi_aiven/get_kafka.py +7 -3
- pulumi_aiven/get_kafka_acl.py +19 -15
- pulumi_aiven/get_kafka_connect.py +7 -3
- pulumi_aiven/get_kafka_connector.py +13 -9
- pulumi_aiven/get_kafka_mirror_maker.py +7 -3
- pulumi_aiven/get_kafka_schema.py +13 -9
- pulumi_aiven/get_kafka_schema_configuration.py +11 -7
- pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
- pulumi_aiven/get_kafka_topic.py +13 -9
- pulumi_aiven/get_kafka_user.py +13 -9
- pulumi_aiven/get_m3_aggregator.py +7 -3
- pulumi_aiven/get_m3_db.py +7 -3
- pulumi_aiven/get_m3db_user.py +13 -9
- pulumi_aiven/get_mirror_maker_replication_flow.py +10 -6
- pulumi_aiven/get_my_sql.py +7 -3
- pulumi_aiven/get_mysql_database.py +13 -9
- pulumi_aiven/get_mysql_user.py +13 -9
- pulumi_aiven/get_open_search.py +7 -3
- pulumi_aiven/get_open_search_acl_config.py +10 -6
- pulumi_aiven/get_open_search_acl_rule.py +16 -12
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -6
- pulumi_aiven/get_opensearch_user.py +13 -9
- pulumi_aiven/get_organization.py +12 -8
- pulumi_aiven/get_organization_user_group.py +33 -9
- pulumi_aiven/get_organizational_unit.py +9 -9
- pulumi_aiven/get_pg.py +7 -3
- pulumi_aiven/get_pg_database.py +15 -11
- pulumi_aiven/get_pg_user.py +13 -9
- pulumi_aiven/get_project.py +4 -0
- pulumi_aiven/get_project_user.py +10 -6
- pulumi_aiven/get_project_vpc.py +15 -13
- pulumi_aiven/get_redis.py +7 -3
- pulumi_aiven/get_redis_user.py +17 -13
- pulumi_aiven/get_service_component.py +4 -0
- pulumi_aiven/get_service_integration.py +68 -6
- pulumi_aiven/get_service_integration_endpoint.py +5 -1
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +13 -9
- pulumi_aiven/grafana.py +13 -9
- pulumi_aiven/influx_db.py +239 -138
- pulumi_aiven/influxdb_database.py +37 -25
- pulumi_aiven/influxdb_user.py +44 -63
- pulumi_aiven/kafka.py +19 -15
- pulumi_aiven/kafka_acl.py +41 -37
- pulumi_aiven/kafka_connect.py +13 -9
- pulumi_aiven/kafka_connector.py +29 -25
- pulumi_aiven/kafka_mirror_maker.py +13 -9
- pulumi_aiven/kafka_schema.py +53 -45
- pulumi_aiven/kafka_schema_configuration.py +20 -16
- pulumi_aiven/kafka_schema_registry_acl.py +35 -35
- pulumi_aiven/kafka_topic.py +23 -23
- pulumi_aiven/kafka_user.py +27 -23
- pulumi_aiven/m3_aggregator.py +13 -9
- pulumi_aiven/m3_db.py +13 -9
- pulumi_aiven/m3db_user.py +27 -23
- pulumi_aiven/mirror_maker_replication_flow.py +56 -50
- pulumi_aiven/my_sql.py +13 -9
- pulumi_aiven/mysql_database.py +27 -23
- pulumi_aiven/mysql_user.py +27 -23
- pulumi_aiven/open_search.py +17 -13
- pulumi_aiven/open_search_acl_config.py +20 -16
- pulumi_aiven/open_search_acl_rule.py +34 -30
- pulumi_aiven/opensearch_security_plugin_config.py +68 -16
- pulumi_aiven/opensearch_user.py +27 -23
- pulumi_aiven/organization.py +14 -10
- pulumi_aiven/organization_group_project.py +290 -0
- pulumi_aiven/organization_user.py +20 -18
- pulumi_aiven/organization_user_group.py +77 -38
- pulumi_aiven/organization_user_group_member.py +352 -0
- pulumi_aiven/organizational_unit.py +36 -32
- pulumi_aiven/outputs.py +4004 -1363
- pulumi_aiven/pg.py +16 -16
- pulumi_aiven/pg_database.py +41 -37
- pulumi_aiven/pg_user.py +27 -23
- pulumi_aiven/project.py +28 -2
- pulumi_aiven/project_user.py +20 -16
- pulumi_aiven/project_vpc.py +25 -25
- pulumi_aiven/redis.py +13 -9
- pulumi_aiven/redis_user.py +55 -51
- pulumi_aiven/service_integration.py +207 -15
- pulumi_aiven/service_integration_endpoint.py +7 -7
- pulumi_aiven/static_ip.py +14 -14
- pulumi_aiven/transit_gateway_vpc_attachment.py +27 -23
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.13.0.dist-info/RECORD +150 -0
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/WHEEL +1 -1
- pulumi_aiven-6.12.0a1708492523.dist-info/RECORD +0 -146
- {pulumi_aiven-6.12.0a1708492523.dist-info → pulumi_aiven-6.13.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/influx_db.py
CHANGED
|
@@ -33,21 +33,42 @@ class InfluxDbArgs:
|
|
|
33
33
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
34
34
|
"""
|
|
35
35
|
The set of arguments for constructing a InfluxDb resource.
|
|
36
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
37
|
+
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
38
|
+
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
39
|
+
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
40
|
+
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
41
|
+
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
42
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
43
|
+
reference. Changing this property forces recreation of the resource.
|
|
44
|
+
: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
|
|
45
|
+
service so name should be picked based on intended service usage rather than current attributes.
|
|
46
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
47
|
+
reducing will result in the service rebalancing.
|
|
48
|
+
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
49
|
+
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
50
|
+
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
51
|
+
are documented on each Cloud provider's own support articles, like [here for
|
|
52
|
+
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
53
|
+
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
54
|
+
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
55
|
+
will result in the service rebalancing.
|
|
42
56
|
:param pulumi.Input['InfluxDbInfluxdbUserConfigArgs'] influxdb_user_config: Influxdb user configurable settings
|
|
43
57
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
44
58
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
45
|
-
: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
|
|
59
|
+
: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
|
|
60
|
+
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
61
|
+
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
62
|
+
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
46
63
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
47
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
64
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
65
|
+
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
48
66
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
49
|
-
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
50
|
-
|
|
67
|
+
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
68
|
+
instability.
|
|
69
|
+
: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
|
|
70
|
+
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
71
|
+
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
51
72
|
"""
|
|
52
73
|
pulumi.set(__self__, "plan", plan)
|
|
53
74
|
pulumi.set(__self__, "project", project)
|
|
@@ -84,7 +105,12 @@ class InfluxDbArgs:
|
|
|
84
105
|
@pulumi.getter
|
|
85
106
|
def plan(self) -> pulumi.Input[str]:
|
|
86
107
|
"""
|
|
87
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
108
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
109
|
+
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
110
|
+
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
111
|
+
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
112
|
+
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
113
|
+
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
88
114
|
"""
|
|
89
115
|
return pulumi.get(self, "plan")
|
|
90
116
|
|
|
@@ -96,7 +122,8 @@ class InfluxDbArgs:
|
|
|
96
122
|
@pulumi.getter
|
|
97
123
|
def project(self) -> pulumi.Input[str]:
|
|
98
124
|
"""
|
|
99
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
125
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
126
|
+
reference. Changing this property forces recreation of the resource.
|
|
100
127
|
"""
|
|
101
128
|
return pulumi.get(self, "project")
|
|
102
129
|
|
|
@@ -108,7 +135,8 @@ class InfluxDbArgs:
|
|
|
108
135
|
@pulumi.getter(name="serviceName")
|
|
109
136
|
def service_name(self) -> pulumi.Input[str]:
|
|
110
137
|
"""
|
|
111
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
138
|
+
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
139
|
+
service so name should be picked based on intended service usage rather than current attributes.
|
|
112
140
|
"""
|
|
113
141
|
return pulumi.get(self, "service_name")
|
|
114
142
|
|
|
@@ -120,7 +148,8 @@ class InfluxDbArgs:
|
|
|
120
148
|
@pulumi.getter(name="additionalDiskSpace")
|
|
121
149
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
122
150
|
"""
|
|
123
|
-
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
151
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
152
|
+
reducing will result in the service rebalancing.
|
|
124
153
|
"""
|
|
125
154
|
return pulumi.get(self, "additional_disk_space")
|
|
126
155
|
|
|
@@ -132,7 +161,12 @@ class InfluxDbArgs:
|
|
|
132
161
|
@pulumi.getter(name="cloudName")
|
|
133
162
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
134
163
|
"""
|
|
135
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
164
|
+
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
165
|
+
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
166
|
+
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
167
|
+
are documented on each Cloud provider's own support articles, like [here for
|
|
168
|
+
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
169
|
+
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
136
170
|
"""
|
|
137
171
|
return pulumi.get(self, "cloud_name")
|
|
138
172
|
|
|
@@ -144,7 +178,8 @@ class InfluxDbArgs:
|
|
|
144
178
|
@pulumi.getter(name="diskSpace")
|
|
145
179
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
146
180
|
"""
|
|
147
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
181
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
182
|
+
will result in the service rebalancing.
|
|
148
183
|
"""
|
|
149
184
|
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)
|
|
150
185
|
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.""")
|
|
@@ -195,7 +230,10 @@ class InfluxDbArgs:
|
|
|
195
230
|
@pulumi.getter(name="projectVpcId")
|
|
196
231
|
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
197
232
|
"""
|
|
198
|
-
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
|
|
233
|
+
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
|
|
234
|
+
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
235
|
+
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
236
|
+
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
199
237
|
"""
|
|
200
238
|
return pulumi.get(self, "project_vpc_id")
|
|
201
239
|
|
|
@@ -219,7 +257,8 @@ class InfluxDbArgs:
|
|
|
219
257
|
@pulumi.getter(name="staticIps")
|
|
220
258
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
221
259
|
"""
|
|
222
|
-
|
|
260
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
261
|
+
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
223
262
|
"""
|
|
224
263
|
return pulumi.get(self, "static_ips")
|
|
225
264
|
|
|
@@ -243,7 +282,8 @@ class InfluxDbArgs:
|
|
|
243
282
|
@pulumi.getter(name="techEmails")
|
|
244
283
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]]]:
|
|
245
284
|
"""
|
|
246
|
-
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
285
|
+
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
286
|
+
instability.
|
|
247
287
|
"""
|
|
248
288
|
return pulumi.get(self, "tech_emails")
|
|
249
289
|
|
|
@@ -255,7 +295,9 @@ class InfluxDbArgs:
|
|
|
255
295
|
@pulumi.getter(name="terminationProtection")
|
|
256
296
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
257
297
|
"""
|
|
258
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
298
|
+
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
299
|
+
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
300
|
+
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
259
301
|
"""
|
|
260
302
|
return pulumi.get(self, "termination_protection")
|
|
261
303
|
|
|
@@ -297,34 +339,57 @@ class _InfluxDbState:
|
|
|
297
339
|
termination_protection: Optional[pulumi.Input[bool]] = None):
|
|
298
340
|
"""
|
|
299
341
|
Input properties used for looking up and filtering InfluxDb resources.
|
|
300
|
-
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
301
|
-
|
|
342
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
343
|
+
reducing will result in the service rebalancing.
|
|
344
|
+
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
345
|
+
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
346
|
+
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
347
|
+
are documented on each Cloud provider's own support articles, like [here for
|
|
348
|
+
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
349
|
+
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
302
350
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbComponentArgs']]] components: Service component information objects
|
|
303
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
351
|
+
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
352
|
+
will result in the service rebalancing.
|
|
304
353
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
305
|
-
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
306
|
-
|
|
354
|
+
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
355
|
+
Its also the minimum value for `disk_space`
|
|
356
|
+
: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
|
|
357
|
+
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
307
358
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
308
359
|
:param pulumi.Input['InfluxDbInfluxdbUserConfigArgs'] influxdb_user_config: Influxdb user configurable settings
|
|
309
|
-
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]] influxdbs:
|
|
360
|
+
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]] influxdbs: InfluxDB server provided values
|
|
310
361
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
311
362
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
312
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
313
|
-
|
|
314
|
-
|
|
363
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
364
|
+
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
365
|
+
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
366
|
+
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
367
|
+
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
368
|
+
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
369
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
370
|
+
reference. Changing this property forces recreation of the resource.
|
|
371
|
+
: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
|
|
372
|
+
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
373
|
+
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
374
|
+
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
315
375
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
316
376
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbServiceIntegrationArgs']]] service_integrations: Service integrations to specify when creating a service. Not applied after initial service creation
|
|
317
|
-
: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
|
|
377
|
+
: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
|
|
378
|
+
service so name should be picked based on intended service usage rather than current attributes.
|
|
318
379
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
319
380
|
:param pulumi.Input[int] service_port: The port of the service
|
|
320
381
|
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
321
382
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
322
383
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
323
384
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
324
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
385
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
386
|
+
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
325
387
|
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTagArgs']]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
326
|
-
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
327
|
-
|
|
388
|
+
:param pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
389
|
+
instability.
|
|
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
|
|
391
|
+
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
392
|
+
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
328
393
|
"""
|
|
329
394
|
if additional_disk_space is not None:
|
|
330
395
|
pulumi.set(__self__, "additional_disk_space", additional_disk_space)
|
|
@@ -390,7 +455,8 @@ class _InfluxDbState:
|
|
|
390
455
|
@pulumi.getter(name="additionalDiskSpace")
|
|
391
456
|
def additional_disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
392
457
|
"""
|
|
393
|
-
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
458
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
459
|
+
reducing will result in the service rebalancing.
|
|
394
460
|
"""
|
|
395
461
|
return pulumi.get(self, "additional_disk_space")
|
|
396
462
|
|
|
@@ -402,7 +468,12 @@ class _InfluxDbState:
|
|
|
402
468
|
@pulumi.getter(name="cloudName")
|
|
403
469
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
404
470
|
"""
|
|
405
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
471
|
+
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
472
|
+
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
473
|
+
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
474
|
+
are documented on each Cloud provider's own support articles, like [here for
|
|
475
|
+
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
476
|
+
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
406
477
|
"""
|
|
407
478
|
return pulumi.get(self, "cloud_name")
|
|
408
479
|
|
|
@@ -426,7 +497,8 @@ class _InfluxDbState:
|
|
|
426
497
|
@pulumi.getter(name="diskSpace")
|
|
427
498
|
def disk_space(self) -> Optional[pulumi.Input[str]]:
|
|
428
499
|
"""
|
|
429
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
500
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
501
|
+
will result in the service rebalancing.
|
|
430
502
|
"""
|
|
431
503
|
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)
|
|
432
504
|
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.""")
|
|
@@ -453,7 +525,8 @@ class _InfluxDbState:
|
|
|
453
525
|
@pulumi.getter(name="diskSpaceDefault")
|
|
454
526
|
def disk_space_default(self) -> Optional[pulumi.Input[str]]:
|
|
455
527
|
"""
|
|
456
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
528
|
+
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
529
|
+
Its also the minimum value for `disk_space`
|
|
457
530
|
"""
|
|
458
531
|
return pulumi.get(self, "disk_space_default")
|
|
459
532
|
|
|
@@ -465,7 +538,8 @@ class _InfluxDbState:
|
|
|
465
538
|
@pulumi.getter(name="diskSpaceStep")
|
|
466
539
|
def disk_space_step(self) -> Optional[pulumi.Input[str]]:
|
|
467
540
|
"""
|
|
468
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
541
|
+
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
542
|
+
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
469
543
|
"""
|
|
470
544
|
return pulumi.get(self, "disk_space_step")
|
|
471
545
|
|
|
@@ -501,7 +575,7 @@ class _InfluxDbState:
|
|
|
501
575
|
@pulumi.getter
|
|
502
576
|
def influxdbs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbInfluxdbArgs']]]]:
|
|
503
577
|
"""
|
|
504
|
-
|
|
578
|
+
InfluxDB server provided values
|
|
505
579
|
"""
|
|
506
580
|
return pulumi.get(self, "influxdbs")
|
|
507
581
|
|
|
@@ -537,7 +611,12 @@ class _InfluxDbState:
|
|
|
537
611
|
@pulumi.getter
|
|
538
612
|
def plan(self) -> Optional[pulumi.Input[str]]:
|
|
539
613
|
"""
|
|
540
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
614
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
615
|
+
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
616
|
+
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
617
|
+
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
618
|
+
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
619
|
+
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
541
620
|
"""
|
|
542
621
|
return pulumi.get(self, "plan")
|
|
543
622
|
|
|
@@ -549,7 +628,8 @@ class _InfluxDbState:
|
|
|
549
628
|
@pulumi.getter
|
|
550
629
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
551
630
|
"""
|
|
552
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
631
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
632
|
+
reference. Changing this property forces recreation of the resource.
|
|
553
633
|
"""
|
|
554
634
|
return pulumi.get(self, "project")
|
|
555
635
|
|
|
@@ -561,7 +641,10 @@ class _InfluxDbState:
|
|
|
561
641
|
@pulumi.getter(name="projectVpcId")
|
|
562
642
|
def project_vpc_id(self) -> Optional[pulumi.Input[str]]:
|
|
563
643
|
"""
|
|
564
|
-
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
|
|
644
|
+
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
|
|
645
|
+
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
646
|
+
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
647
|
+
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
565
648
|
"""
|
|
566
649
|
return pulumi.get(self, "project_vpc_id")
|
|
567
650
|
|
|
@@ -597,7 +680,8 @@ class _InfluxDbState:
|
|
|
597
680
|
@pulumi.getter(name="serviceName")
|
|
598
681
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
599
682
|
"""
|
|
600
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
683
|
+
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
684
|
+
service so name should be picked based on intended service usage rather than current attributes.
|
|
601
685
|
"""
|
|
602
686
|
return pulumi.get(self, "service_name")
|
|
603
687
|
|
|
@@ -681,7 +765,8 @@ class _InfluxDbState:
|
|
|
681
765
|
@pulumi.getter(name="staticIps")
|
|
682
766
|
def static_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
683
767
|
"""
|
|
684
|
-
|
|
768
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
769
|
+
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
685
770
|
"""
|
|
686
771
|
return pulumi.get(self, "static_ips")
|
|
687
772
|
|
|
@@ -705,7 +790,8 @@ class _InfluxDbState:
|
|
|
705
790
|
@pulumi.getter(name="techEmails")
|
|
706
791
|
def tech_emails(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InfluxDbTechEmailArgs']]]]:
|
|
707
792
|
"""
|
|
708
|
-
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
793
|
+
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
794
|
+
instability.
|
|
709
795
|
"""
|
|
710
796
|
return pulumi.get(self, "tech_emails")
|
|
711
797
|
|
|
@@ -717,7 +803,9 @@ class _InfluxDbState:
|
|
|
717
803
|
@pulumi.getter(name="terminationProtection")
|
|
718
804
|
def termination_protection(self) -> Optional[pulumi.Input[bool]]:
|
|
719
805
|
"""
|
|
720
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
806
|
+
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
807
|
+
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
808
|
+
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
721
809
|
"""
|
|
722
810
|
return pulumi.get(self, "termination_protection")
|
|
723
811
|
|
|
@@ -748,51 +836,45 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
748
836
|
termination_protection: Optional[pulumi.Input[bool]] = None,
|
|
749
837
|
__props__=None):
|
|
750
838
|
"""
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
## Example Usage
|
|
754
|
-
|
|
755
|
-
```python
|
|
756
|
-
import pulumi
|
|
757
|
-
import pulumi_aiven as aiven
|
|
758
|
-
|
|
759
|
-
inf1 = aiven.InfluxDb("inf1",
|
|
760
|
-
project=data["aiven_project"]["pr1"]["project"],
|
|
761
|
-
cloud_name="google-europe-west1",
|
|
762
|
-
plan="startup-4",
|
|
763
|
-
service_name="my-inf1",
|
|
764
|
-
maintenance_window_dow="monday",
|
|
765
|
-
maintenance_window_time="10:00:00",
|
|
766
|
-
influxdb_user_config=aiven.InfluxDbInfluxdbUserConfigArgs(
|
|
767
|
-
public_access=aiven.InfluxDbInfluxdbUserConfigPublicAccessArgs(
|
|
768
|
-
influxdb=True,
|
|
769
|
-
),
|
|
770
|
-
))
|
|
771
|
-
```
|
|
772
|
-
|
|
773
|
-
## Import
|
|
774
|
-
|
|
775
|
-
```sh
|
|
776
|
-
$ pulumi import aiven:index/influxDb:InfluxDb inf1 project/service_name
|
|
777
|
-
```
|
|
778
|
-
|
|
839
|
+
Create a InfluxDb resource with the given unique name, props, and options.
|
|
779
840
|
:param str resource_name: The name of the resource.
|
|
780
841
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
781
|
-
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
782
|
-
|
|
783
|
-
:param pulumi.Input[str]
|
|
842
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
843
|
+
reducing will result in the service rebalancing.
|
|
844
|
+
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
845
|
+
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
846
|
+
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
847
|
+
are documented on each Cloud provider's own support articles, like [here for
|
|
848
|
+
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
849
|
+
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
850
|
+
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
851
|
+
will result in the service rebalancing.
|
|
784
852
|
:param pulumi.Input[pulumi.InputType['InfluxDbInfluxdbUserConfigArgs']] influxdb_user_config: Influxdb user configurable settings
|
|
785
853
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
786
854
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
787
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
788
|
-
|
|
789
|
-
|
|
855
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
856
|
+
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
857
|
+
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
858
|
+
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
859
|
+
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
860
|
+
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
861
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
862
|
+
reference. Changing this property forces recreation of the resource.
|
|
863
|
+
: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
|
|
864
|
+
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
865
|
+
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
866
|
+
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
790
867
|
: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
|
|
791
|
-
: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
|
|
792
|
-
|
|
868
|
+
: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
|
|
869
|
+
service so name should be picked based on intended service usage rather than current attributes.
|
|
870
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
871
|
+
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
793
872
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InfluxDbTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
794
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InfluxDbTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
795
|
-
|
|
873
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InfluxDbTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
874
|
+
instability.
|
|
875
|
+
: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
|
|
876
|
+
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
877
|
+
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
796
878
|
"""
|
|
797
879
|
...
|
|
798
880
|
@overload
|
|
@@ -801,34 +883,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
801
883
|
args: InfluxDbArgs,
|
|
802
884
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
803
885
|
"""
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
## Example Usage
|
|
807
|
-
|
|
808
|
-
```python
|
|
809
|
-
import pulumi
|
|
810
|
-
import pulumi_aiven as aiven
|
|
811
|
-
|
|
812
|
-
inf1 = aiven.InfluxDb("inf1",
|
|
813
|
-
project=data["aiven_project"]["pr1"]["project"],
|
|
814
|
-
cloud_name="google-europe-west1",
|
|
815
|
-
plan="startup-4",
|
|
816
|
-
service_name="my-inf1",
|
|
817
|
-
maintenance_window_dow="monday",
|
|
818
|
-
maintenance_window_time="10:00:00",
|
|
819
|
-
influxdb_user_config=aiven.InfluxDbInfluxdbUserConfigArgs(
|
|
820
|
-
public_access=aiven.InfluxDbInfluxdbUserConfigPublicAccessArgs(
|
|
821
|
-
influxdb=True,
|
|
822
|
-
),
|
|
823
|
-
))
|
|
824
|
-
```
|
|
825
|
-
|
|
826
|
-
## Import
|
|
827
|
-
|
|
828
|
-
```sh
|
|
829
|
-
$ pulumi import aiven:index/influxDb:InfluxDb inf1 project/service_name
|
|
830
|
-
```
|
|
831
|
-
|
|
886
|
+
Create a InfluxDb resource with the given unique name, props, and options.
|
|
832
887
|
:param str resource_name: The name of the resource.
|
|
833
888
|
:param InfluxDbArgs args: The arguments to use to populate this resource's properties.
|
|
834
889
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
@@ -949,34 +1004,57 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
949
1004
|
:param str resource_name: The unique name of the resulting resource.
|
|
950
1005
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
951
1006
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
952
|
-
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
953
|
-
|
|
1007
|
+
:param pulumi.Input[str] additional_disk_space: Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
1008
|
+
reducing will result in the service rebalancing.
|
|
1009
|
+
:param pulumi.Input[str] cloud_name: Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
1010
|
+
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
1011
|
+
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
1012
|
+
are documented on each Cloud provider's own support articles, like [here for
|
|
1013
|
+
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
1014
|
+
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
954
1015
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InfluxDbComponentArgs']]]] components: Service component information objects
|
|
955
|
-
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1016
|
+
:param pulumi.Input[str] disk_space: Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1017
|
+
will result in the service rebalancing.
|
|
956
1018
|
:param pulumi.Input[str] disk_space_cap: The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
957
|
-
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
958
|
-
|
|
1019
|
+
:param pulumi.Input[str] disk_space_default: The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1020
|
+
Its also the minimum value for `disk_space`
|
|
1021
|
+
: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
|
|
1022
|
+
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
959
1023
|
:param pulumi.Input[str] disk_space_used: Disk space that service is currently using
|
|
960
1024
|
:param pulumi.Input[pulumi.InputType['InfluxDbInfluxdbUserConfigArgs']] influxdb_user_config: Influxdb user configurable settings
|
|
961
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InfluxDbInfluxdbArgs']]]] influxdbs:
|
|
1025
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InfluxDbInfluxdbArgs']]]] influxdbs: InfluxDB server provided values
|
|
962
1026
|
:param pulumi.Input[str] maintenance_window_dow: Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
963
1027
|
:param pulumi.Input[str] maintenance_window_time: Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
964
|
-
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
965
|
-
|
|
966
|
-
|
|
1028
|
+
:param pulumi.Input[str] plan: Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1029
|
+
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
1030
|
+
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
1031
|
+
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1032
|
+
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1033
|
+
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1034
|
+
:param pulumi.Input[str] project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1035
|
+
reference. Changing this property forces recreation of the resource.
|
|
1036
|
+
: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
|
|
1037
|
+
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
1038
|
+
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
1039
|
+
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
967
1040
|
:param pulumi.Input[str] service_host: The hostname of the service.
|
|
968
1041
|
: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
|
|
969
|
-
: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
|
|
1042
|
+
: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
|
|
1043
|
+
service so name should be picked based on intended service usage rather than current attributes.
|
|
970
1044
|
:param pulumi.Input[str] service_password: Password used for connecting to the service, if applicable
|
|
971
1045
|
:param pulumi.Input[int] service_port: The port of the service
|
|
972
1046
|
:param pulumi.Input[str] service_type: Aiven internal service type code
|
|
973
1047
|
:param pulumi.Input[str] service_uri: URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
974
1048
|
:param pulumi.Input[str] service_username: Username used for connecting to the service, if applicable
|
|
975
1049
|
:param pulumi.Input[str] state: Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
976
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips:
|
|
1050
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] static_ips: Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
1051
|
+
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
977
1052
|
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InfluxDbTagArgs']]]] tags: Tags are key-value pairs that allow you to categorize services.
|
|
978
|
-
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InfluxDbTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
979
|
-
|
|
1053
|
+
:param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['InfluxDbTechEmailArgs']]]] tech_emails: Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
1054
|
+
instability.
|
|
1055
|
+
: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
|
|
1056
|
+
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1057
|
+
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
980
1058
|
"""
|
|
981
1059
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
982
1060
|
|
|
@@ -1016,7 +1094,8 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1016
1094
|
@pulumi.getter(name="additionalDiskSpace")
|
|
1017
1095
|
def additional_disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1018
1096
|
"""
|
|
1019
|
-
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
1097
|
+
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore,
|
|
1098
|
+
reducing will result in the service rebalancing.
|
|
1020
1099
|
"""
|
|
1021
1100
|
return pulumi.get(self, "additional_disk_space")
|
|
1022
1101
|
|
|
@@ -1024,7 +1103,12 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1024
1103
|
@pulumi.getter(name="cloudName")
|
|
1025
1104
|
def cloud_name(self) -> pulumi.Output[Optional[str]]:
|
|
1026
1105
|
"""
|
|
1027
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
1106
|
+
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is
|
|
1107
|
+
created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud
|
|
1108
|
+
provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These
|
|
1109
|
+
are documented on each Cloud provider's own support articles, like [here for
|
|
1110
|
+
Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for
|
|
1111
|
+
AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
1028
1112
|
"""
|
|
1029
1113
|
return pulumi.get(self, "cloud_name")
|
|
1030
1114
|
|
|
@@ -1040,7 +1124,8 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1040
1124
|
@pulumi.getter(name="diskSpace")
|
|
1041
1125
|
def disk_space(self) -> pulumi.Output[Optional[str]]:
|
|
1042
1126
|
"""
|
|
1043
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1127
|
+
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing
|
|
1128
|
+
will result in the service rebalancing.
|
|
1044
1129
|
"""
|
|
1045
1130
|
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)
|
|
1046
1131
|
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.""")
|
|
@@ -1059,7 +1144,8 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1059
1144
|
@pulumi.getter(name="diskSpaceDefault")
|
|
1060
1145
|
def disk_space_default(self) -> pulumi.Output[str]:
|
|
1061
1146
|
"""
|
|
1062
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1147
|
+
The default disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
1148
|
+
Its also the minimum value for `disk_space`
|
|
1063
1149
|
"""
|
|
1064
1150
|
return pulumi.get(self, "disk_space_default")
|
|
1065
1151
|
|
|
@@ -1067,7 +1153,8 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1067
1153
|
@pulumi.getter(name="diskSpaceStep")
|
|
1068
1154
|
def disk_space_step(self) -> pulumi.Output[str]:
|
|
1069
1155
|
"""
|
|
1070
|
-
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
1156
|
+
The default disk space step of the service, possible values depend on the service type, the cloud provider and the
|
|
1157
|
+
project. `disk_space` needs to increment from `disk_space_default` by increments of this size.
|
|
1071
1158
|
"""
|
|
1072
1159
|
return pulumi.get(self, "disk_space_step")
|
|
1073
1160
|
|
|
@@ -1091,7 +1178,7 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1091
1178
|
@pulumi.getter
|
|
1092
1179
|
def influxdbs(self) -> pulumi.Output[Sequence['outputs.InfluxDbInfluxdb']]:
|
|
1093
1180
|
"""
|
|
1094
|
-
|
|
1181
|
+
InfluxDB server provided values
|
|
1095
1182
|
"""
|
|
1096
1183
|
return pulumi.get(self, "influxdbs")
|
|
1097
1184
|
|
|
@@ -1115,7 +1202,12 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1115
1202
|
@pulumi.getter
|
|
1116
1203
|
def plan(self) -> pulumi.Output[str]:
|
|
1117
1204
|
"""
|
|
1118
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1205
|
+
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there
|
|
1206
|
+
are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to
|
|
1207
|
+
store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
|
|
1208
|
+
`hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also
|
|
1209
|
+
other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available
|
|
1210
|
+
options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
1119
1211
|
"""
|
|
1120
1212
|
return pulumi.get(self, "plan")
|
|
1121
1213
|
|
|
@@ -1123,7 +1215,8 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1123
1215
|
@pulumi.getter
|
|
1124
1216
|
def project(self) -> pulumi.Output[str]:
|
|
1125
1217
|
"""
|
|
1126
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1218
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a
|
|
1219
|
+
reference. Changing this property forces recreation of the resource.
|
|
1127
1220
|
"""
|
|
1128
1221
|
return pulumi.get(self, "project")
|
|
1129
1222
|
|
|
@@ -1131,7 +1224,10 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1131
1224
|
@pulumi.getter(name="projectVpcId")
|
|
1132
1225
|
def project_vpc_id(self) -> pulumi.Output[Optional[str]]:
|
|
1133
1226
|
"""
|
|
1134
|
-
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
|
|
1227
|
+
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
|
|
1228
|
+
value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region
|
|
1229
|
+
as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new
|
|
1230
|
+
servers so the operation can take significant amount of time to complete if the service has a lot of data.
|
|
1135
1231
|
"""
|
|
1136
1232
|
return pulumi.get(self, "project_vpc_id")
|
|
1137
1233
|
|
|
@@ -1155,7 +1251,8 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1155
1251
|
@pulumi.getter(name="serviceName")
|
|
1156
1252
|
def service_name(self) -> pulumi.Output[str]:
|
|
1157
1253
|
"""
|
|
1158
|
-
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
1254
|
+
Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the
|
|
1255
|
+
service so name should be picked based on intended service usage rather than current attributes.
|
|
1159
1256
|
"""
|
|
1160
1257
|
return pulumi.get(self, "service_name")
|
|
1161
1258
|
|
|
@@ -1211,7 +1308,8 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1211
1308
|
@pulumi.getter(name="staticIps")
|
|
1212
1309
|
def static_ips(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
|
1213
1310
|
"""
|
|
1214
|
-
|
|
1311
|
+
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a
|
|
1312
|
+
static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
1215
1313
|
"""
|
|
1216
1314
|
return pulumi.get(self, "static_ips")
|
|
1217
1315
|
|
|
@@ -1227,7 +1325,8 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1227
1325
|
@pulumi.getter(name="techEmails")
|
|
1228
1326
|
def tech_emails(self) -> pulumi.Output[Optional[Sequence['outputs.InfluxDbTechEmail']]]:
|
|
1229
1327
|
"""
|
|
1230
|
-
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
1328
|
+
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service
|
|
1329
|
+
instability.
|
|
1231
1330
|
"""
|
|
1232
1331
|
return pulumi.get(self, "tech_emails")
|
|
1233
1332
|
|
|
@@ -1235,7 +1334,9 @@ class InfluxDb(pulumi.CustomResource):
|
|
|
1235
1334
|
@pulumi.getter(name="terminationProtection")
|
|
1236
1335
|
def termination_protection(self) -> pulumi.Output[Optional[bool]]:
|
|
1237
1336
|
"""
|
|
1238
|
-
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
1337
|
+
Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent
|
|
1338
|
+
unintentional service deletion. This does not shield against deleting databases or topics but for services with backups
|
|
1339
|
+
much of the content can at least be restored from backup in case accidental deletion is done.
|
|
1239
1340
|
"""
|
|
1240
1341
|
return pulumi.get(self, "termination_protection")
|
|
1241
1342
|
|