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
|
@@ -48,7 +48,7 @@ class GetGcpVpcPeeringConnectionResult:
|
|
|
48
48
|
@pulumi.getter(name="gcpProjectId")
|
|
49
49
|
def gcp_project_id(self) -> str:
|
|
50
50
|
"""
|
|
51
|
-
|
|
51
|
+
Google Cloud project ID. Changing this property forces recreation of the resource.
|
|
52
52
|
"""
|
|
53
53
|
return pulumi.get(self, "gcp_project_id")
|
|
54
54
|
|
|
@@ -64,7 +64,7 @@ class GetGcpVpcPeeringConnectionResult:
|
|
|
64
64
|
@pulumi.getter(name="peerVpc")
|
|
65
65
|
def peer_vpc(self) -> str:
|
|
66
66
|
"""
|
|
67
|
-
|
|
67
|
+
Google Cloud VPC network name. Changing this property forces recreation of the resource.
|
|
68
68
|
"""
|
|
69
69
|
return pulumi.get(self, "peer_vpc")
|
|
70
70
|
|
|
@@ -72,7 +72,7 @@ class GetGcpVpcPeeringConnectionResult:
|
|
|
72
72
|
@pulumi.getter(name="selfLink")
|
|
73
73
|
def self_link(self) -> str:
|
|
74
74
|
"""
|
|
75
|
-
Computed
|
|
75
|
+
Computed Google Cloud network peering link.
|
|
76
76
|
"""
|
|
77
77
|
return pulumi.get(self, "self_link")
|
|
78
78
|
|
|
@@ -80,7 +80,7 @@ class GetGcpVpcPeeringConnectionResult:
|
|
|
80
80
|
@pulumi.getter
|
|
81
81
|
def state(self) -> str:
|
|
82
82
|
"""
|
|
83
|
-
State of the peering connection
|
|
83
|
+
State of the peering connection.
|
|
84
84
|
"""
|
|
85
85
|
return pulumi.get(self, "state")
|
|
86
86
|
|
|
@@ -88,7 +88,7 @@ class GetGcpVpcPeeringConnectionResult:
|
|
|
88
88
|
@pulumi.getter(name="stateInfo")
|
|
89
89
|
def state_info(self) -> Mapping[str, Any]:
|
|
90
90
|
"""
|
|
91
|
-
State-specific help or error information
|
|
91
|
+
State-specific help or error information.
|
|
92
92
|
"""
|
|
93
93
|
return pulumi.get(self, "state_info")
|
|
94
94
|
|
|
@@ -96,7 +96,7 @@ class GetGcpVpcPeeringConnectionResult:
|
|
|
96
96
|
@pulumi.getter(name="vpcId")
|
|
97
97
|
def vpc_id(self) -> str:
|
|
98
98
|
"""
|
|
99
|
-
The VPC the peering connection belongs to.
|
|
99
|
+
The VPC the peering connection belongs to. Changing this property forces recreation of the resource.
|
|
100
100
|
"""
|
|
101
101
|
return pulumi.get(self, "vpc_id")
|
|
102
102
|
|
|
@@ -125,19 +125,21 @@ def get_gcp_vpc_peering_connection(gcp_project_id: Optional[str] = None,
|
|
|
125
125
|
|
|
126
126
|
## Example Usage
|
|
127
127
|
|
|
128
|
+
<!--Start PulumiCodeChooser -->
|
|
128
129
|
```python
|
|
129
130
|
import pulumi
|
|
130
131
|
import pulumi_aiven as aiven
|
|
131
132
|
|
|
132
|
-
|
|
133
|
-
gcp_project_id="
|
|
134
|
-
peer_vpc="
|
|
133
|
+
main = aiven.get_gcp_vpc_peering_connection(vpc_id=data["aiven_project_vpc"]["vpc"]["id"],
|
|
134
|
+
gcp_project_id="example-project",
|
|
135
|
+
peer_vpc="example-network")
|
|
135
136
|
```
|
|
137
|
+
<!--End PulumiCodeChooser -->
|
|
136
138
|
|
|
137
139
|
|
|
138
|
-
:param str gcp_project_id:
|
|
139
|
-
:param str peer_vpc:
|
|
140
|
-
:param str vpc_id: The VPC the peering connection belongs to.
|
|
140
|
+
:param str gcp_project_id: Google Cloud project ID. Changing this property forces recreation of the resource.
|
|
141
|
+
:param str peer_vpc: Google Cloud VPC network name. Changing this property forces recreation of the resource.
|
|
142
|
+
:param str vpc_id: The VPC the peering connection belongs to. Changing this property forces recreation of the resource.
|
|
141
143
|
"""
|
|
142
144
|
__args__ = dict()
|
|
143
145
|
__args__['gcpProjectId'] = gcp_project_id
|
|
@@ -166,18 +168,20 @@ def get_gcp_vpc_peering_connection_output(gcp_project_id: Optional[pulumi.Input[
|
|
|
166
168
|
|
|
167
169
|
## Example Usage
|
|
168
170
|
|
|
171
|
+
<!--Start PulumiCodeChooser -->
|
|
169
172
|
```python
|
|
170
173
|
import pulumi
|
|
171
174
|
import pulumi_aiven as aiven
|
|
172
175
|
|
|
173
|
-
|
|
174
|
-
gcp_project_id="
|
|
175
|
-
peer_vpc="
|
|
176
|
+
main = aiven.get_gcp_vpc_peering_connection(vpc_id=data["aiven_project_vpc"]["vpc"]["id"],
|
|
177
|
+
gcp_project_id="example-project",
|
|
178
|
+
peer_vpc="example-network")
|
|
176
179
|
```
|
|
180
|
+
<!--End PulumiCodeChooser -->
|
|
177
181
|
|
|
178
182
|
|
|
179
|
-
:param str gcp_project_id:
|
|
180
|
-
:param str peer_vpc:
|
|
181
|
-
:param str vpc_id: The VPC the peering connection belongs to.
|
|
183
|
+
:param str gcp_project_id: Google Cloud project ID. Changing this property forces recreation of the resource.
|
|
184
|
+
:param str peer_vpc: Google Cloud VPC network name. Changing this property forces recreation of the resource.
|
|
185
|
+
:param str vpc_id: The VPC the peering connection belongs to. Changing this property forces recreation of the resource.
|
|
182
186
|
"""
|
|
183
187
|
...
|
pulumi_aiven/get_grafana.py
CHANGED
|
@@ -227,7 +227,7 @@ class GetGrafanaResult:
|
|
|
227
227
|
@pulumi.getter
|
|
228
228
|
def project(self) -> str:
|
|
229
229
|
"""
|
|
230
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
230
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
231
231
|
"""
|
|
232
232
|
return pulumi.get(self, "project")
|
|
233
233
|
|
|
@@ -389,6 +389,7 @@ def get_grafana(project: Optional[str] = None,
|
|
|
389
389
|
|
|
390
390
|
## Example Usage
|
|
391
391
|
|
|
392
|
+
<!--Start PulumiCodeChooser -->
|
|
392
393
|
```python
|
|
393
394
|
import pulumi
|
|
394
395
|
import pulumi_aiven as aiven
|
|
@@ -396,9 +397,10 @@ def get_grafana(project: Optional[str] = None,
|
|
|
396
397
|
gr1 = aiven.get_grafana(project=data["aiven_project"]["ps1"]["project"],
|
|
397
398
|
service_name="my-gr1")
|
|
398
399
|
```
|
|
400
|
+
<!--End PulumiCodeChooser -->
|
|
399
401
|
|
|
400
402
|
|
|
401
|
-
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
403
|
+
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
402
404
|
:param str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
403
405
|
"""
|
|
404
406
|
__args__ = dict()
|
|
@@ -448,6 +450,7 @@ def get_grafana_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
448
450
|
|
|
449
451
|
## Example Usage
|
|
450
452
|
|
|
453
|
+
<!--Start PulumiCodeChooser -->
|
|
451
454
|
```python
|
|
452
455
|
import pulumi
|
|
453
456
|
import pulumi_aiven as aiven
|
|
@@ -455,9 +458,10 @@ def get_grafana_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
455
458
|
gr1 = aiven.get_grafana(project=data["aiven_project"]["ps1"]["project"],
|
|
456
459
|
service_name="my-gr1")
|
|
457
460
|
```
|
|
461
|
+
<!--End PulumiCodeChooser -->
|
|
458
462
|
|
|
459
463
|
|
|
460
|
-
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
464
|
+
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
461
465
|
:param str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
462
466
|
"""
|
|
463
467
|
...
|
pulumi_aiven/get_influx_db.py
CHANGED
|
@@ -114,65 +114,41 @@ class GetInfluxDbResult:
|
|
|
114
114
|
@property
|
|
115
115
|
@pulumi.getter(name="additionalDiskSpace")
|
|
116
116
|
def additional_disk_space(self) -> str:
|
|
117
|
-
"""
|
|
118
|
-
Additional disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
119
|
-
"""
|
|
120
117
|
return pulumi.get(self, "additional_disk_space")
|
|
121
118
|
|
|
122
119
|
@property
|
|
123
120
|
@pulumi.getter(name="cloudName")
|
|
124
121
|
def cloud_name(self) -> str:
|
|
125
|
-
"""
|
|
126
|
-
Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
|
|
127
|
-
"""
|
|
128
122
|
return pulumi.get(self, "cloud_name")
|
|
129
123
|
|
|
130
124
|
@property
|
|
131
125
|
@pulumi.getter
|
|
132
126
|
def components(self) -> Sequence['outputs.GetInfluxDbComponentResult']:
|
|
133
|
-
"""
|
|
134
|
-
Service component information objects
|
|
135
|
-
"""
|
|
136
127
|
return pulumi.get(self, "components")
|
|
137
128
|
|
|
138
129
|
@property
|
|
139
130
|
@pulumi.getter(name="diskSpace")
|
|
140
131
|
def disk_space(self) -> str:
|
|
141
|
-
"""
|
|
142
|
-
Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
|
|
143
|
-
"""
|
|
144
132
|
return pulumi.get(self, "disk_space")
|
|
145
133
|
|
|
146
134
|
@property
|
|
147
135
|
@pulumi.getter(name="diskSpaceCap")
|
|
148
136
|
def disk_space_cap(self) -> str:
|
|
149
|
-
"""
|
|
150
|
-
The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
|
|
151
|
-
"""
|
|
152
137
|
return pulumi.get(self, "disk_space_cap")
|
|
153
138
|
|
|
154
139
|
@property
|
|
155
140
|
@pulumi.getter(name="diskSpaceDefault")
|
|
156
141
|
def disk_space_default(self) -> str:
|
|
157
|
-
"""
|
|
158
|
-
The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `disk_space`
|
|
159
|
-
"""
|
|
160
142
|
return pulumi.get(self, "disk_space_default")
|
|
161
143
|
|
|
162
144
|
@property
|
|
163
145
|
@pulumi.getter(name="diskSpaceStep")
|
|
164
146
|
def disk_space_step(self) -> str:
|
|
165
|
-
"""
|
|
166
|
-
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.
|
|
167
|
-
"""
|
|
168
147
|
return pulumi.get(self, "disk_space_step")
|
|
169
148
|
|
|
170
149
|
@property
|
|
171
150
|
@pulumi.getter(name="diskSpaceUsed")
|
|
172
151
|
def disk_space_used(self) -> str:
|
|
173
|
-
"""
|
|
174
|
-
Disk space that service is currently using
|
|
175
|
-
"""
|
|
176
152
|
return pulumi.get(self, "disk_space_used")
|
|
177
153
|
|
|
178
154
|
@property
|
|
@@ -186,161 +162,101 @@ class GetInfluxDbResult:
|
|
|
186
162
|
@property
|
|
187
163
|
@pulumi.getter(name="influxdbUserConfigs")
|
|
188
164
|
def influxdb_user_configs(self) -> Sequence['outputs.GetInfluxDbInfluxdbUserConfigResult']:
|
|
189
|
-
"""
|
|
190
|
-
Influxdb user configurable settings
|
|
191
|
-
"""
|
|
192
165
|
return pulumi.get(self, "influxdb_user_configs")
|
|
193
166
|
|
|
194
167
|
@property
|
|
195
168
|
@pulumi.getter
|
|
196
169
|
def influxdbs(self) -> Sequence['outputs.GetInfluxDbInfluxdbResult']:
|
|
197
|
-
"""
|
|
198
|
-
InfluxDB server provided values
|
|
199
|
-
"""
|
|
200
170
|
return pulumi.get(self, "influxdbs")
|
|
201
171
|
|
|
202
172
|
@property
|
|
203
173
|
@pulumi.getter(name="maintenanceWindowDow")
|
|
204
174
|
def maintenance_window_dow(self) -> str:
|
|
205
|
-
"""
|
|
206
|
-
Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
|
|
207
|
-
"""
|
|
208
175
|
return pulumi.get(self, "maintenance_window_dow")
|
|
209
176
|
|
|
210
177
|
@property
|
|
211
178
|
@pulumi.getter(name="maintenanceWindowTime")
|
|
212
179
|
def maintenance_window_time(self) -> str:
|
|
213
|
-
"""
|
|
214
|
-
Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
|
|
215
|
-
"""
|
|
216
180
|
return pulumi.get(self, "maintenance_window_time")
|
|
217
181
|
|
|
218
182
|
@property
|
|
219
183
|
@pulumi.getter
|
|
220
184
|
def plan(self) -> str:
|
|
221
|
-
"""
|
|
222
|
-
Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
|
|
223
|
-
"""
|
|
224
185
|
return pulumi.get(self, "plan")
|
|
225
186
|
|
|
226
187
|
@property
|
|
227
188
|
@pulumi.getter
|
|
228
189
|
def project(self) -> str:
|
|
229
|
-
"""
|
|
230
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
231
|
-
"""
|
|
232
190
|
return pulumi.get(self, "project")
|
|
233
191
|
|
|
234
192
|
@property
|
|
235
193
|
@pulumi.getter(name="projectVpcId")
|
|
236
194
|
def project_vpc_id(self) -> str:
|
|
237
|
-
"""
|
|
238
|
-
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.
|
|
239
|
-
"""
|
|
240
195
|
return pulumi.get(self, "project_vpc_id")
|
|
241
196
|
|
|
242
197
|
@property
|
|
243
198
|
@pulumi.getter(name="serviceHost")
|
|
244
199
|
def service_host(self) -> str:
|
|
245
|
-
"""
|
|
246
|
-
The hostname of the service.
|
|
247
|
-
"""
|
|
248
200
|
return pulumi.get(self, "service_host")
|
|
249
201
|
|
|
250
202
|
@property
|
|
251
203
|
@pulumi.getter(name="serviceIntegrations")
|
|
252
204
|
def service_integrations(self) -> Sequence['outputs.GetInfluxDbServiceIntegrationResult']:
|
|
253
|
-
"""
|
|
254
|
-
Service integrations to specify when creating a service. Not applied after initial service creation
|
|
255
|
-
"""
|
|
256
205
|
return pulumi.get(self, "service_integrations")
|
|
257
206
|
|
|
258
207
|
@property
|
|
259
208
|
@pulumi.getter(name="serviceName")
|
|
260
209
|
def service_name(self) -> str:
|
|
261
|
-
"""
|
|
262
|
-
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.
|
|
263
|
-
"""
|
|
264
210
|
return pulumi.get(self, "service_name")
|
|
265
211
|
|
|
266
212
|
@property
|
|
267
213
|
@pulumi.getter(name="servicePassword")
|
|
268
214
|
def service_password(self) -> str:
|
|
269
|
-
"""
|
|
270
|
-
Password used for connecting to the service, if applicable
|
|
271
|
-
"""
|
|
272
215
|
return pulumi.get(self, "service_password")
|
|
273
216
|
|
|
274
217
|
@property
|
|
275
218
|
@pulumi.getter(name="servicePort")
|
|
276
219
|
def service_port(self) -> int:
|
|
277
|
-
"""
|
|
278
|
-
The port of the service
|
|
279
|
-
"""
|
|
280
220
|
return pulumi.get(self, "service_port")
|
|
281
221
|
|
|
282
222
|
@property
|
|
283
223
|
@pulumi.getter(name="serviceType")
|
|
284
224
|
def service_type(self) -> str:
|
|
285
|
-
"""
|
|
286
|
-
Aiven internal service type code
|
|
287
|
-
"""
|
|
288
225
|
return pulumi.get(self, "service_type")
|
|
289
226
|
|
|
290
227
|
@property
|
|
291
228
|
@pulumi.getter(name="serviceUri")
|
|
292
229
|
def service_uri(self) -> str:
|
|
293
|
-
"""
|
|
294
|
-
URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
|
|
295
|
-
"""
|
|
296
230
|
return pulumi.get(self, "service_uri")
|
|
297
231
|
|
|
298
232
|
@property
|
|
299
233
|
@pulumi.getter(name="serviceUsername")
|
|
300
234
|
def service_username(self) -> str:
|
|
301
|
-
"""
|
|
302
|
-
Username used for connecting to the service, if applicable
|
|
303
|
-
"""
|
|
304
235
|
return pulumi.get(self, "service_username")
|
|
305
236
|
|
|
306
237
|
@property
|
|
307
238
|
@pulumi.getter
|
|
308
239
|
def state(self) -> str:
|
|
309
|
-
"""
|
|
310
|
-
Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
|
|
311
|
-
"""
|
|
312
240
|
return pulumi.get(self, "state")
|
|
313
241
|
|
|
314
242
|
@property
|
|
315
243
|
@pulumi.getter(name="staticIps")
|
|
316
244
|
def static_ips(self) -> Sequence[str]:
|
|
317
|
-
"""
|
|
318
|
-
Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
|
|
319
|
-
"""
|
|
320
245
|
return pulumi.get(self, "static_ips")
|
|
321
246
|
|
|
322
247
|
@property
|
|
323
248
|
@pulumi.getter
|
|
324
249
|
def tags(self) -> Sequence['outputs.GetInfluxDbTagResult']:
|
|
325
|
-
"""
|
|
326
|
-
Tags are key-value pairs that allow you to categorize services.
|
|
327
|
-
"""
|
|
328
250
|
return pulumi.get(self, "tags")
|
|
329
251
|
|
|
330
252
|
@property
|
|
331
253
|
@pulumi.getter(name="techEmails")
|
|
332
254
|
def tech_emails(self) -> Sequence['outputs.GetInfluxDbTechEmailResult']:
|
|
333
|
-
"""
|
|
334
|
-
Defines the email addresses that will receive alerts about upcoming maintenance updates or warnings about service instability.
|
|
335
|
-
"""
|
|
336
255
|
return pulumi.get(self, "tech_emails")
|
|
337
256
|
|
|
338
257
|
@property
|
|
339
258
|
@pulumi.getter(name="terminationProtection")
|
|
340
259
|
def termination_protection(self) -> bool:
|
|
341
|
-
"""
|
|
342
|
-
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.
|
|
343
|
-
"""
|
|
344
260
|
return pulumi.get(self, "termination_protection")
|
|
345
261
|
|
|
346
262
|
|
|
@@ -385,21 +301,7 @@ def get_influx_db(project: Optional[str] = None,
|
|
|
385
301
|
service_name: Optional[str] = None,
|
|
386
302
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInfluxDbResult:
|
|
387
303
|
"""
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
## Example Usage
|
|
391
|
-
|
|
392
|
-
```python
|
|
393
|
-
import pulumi
|
|
394
|
-
import pulumi_aiven as aiven
|
|
395
|
-
|
|
396
|
-
inf1 = aiven.get_influx_db(project=data["aiven_project"]["pr1"]["project"],
|
|
397
|
-
service_name="my-inf1")
|
|
398
|
-
```
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
402
|
-
:param str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
304
|
+
Use this data source to access information about an existing resource.
|
|
403
305
|
"""
|
|
404
306
|
__args__ = dict()
|
|
405
307
|
__args__['project'] = project
|
|
@@ -444,20 +346,6 @@ def get_influx_db_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
444
346
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
445
347
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInfluxDbResult]:
|
|
446
348
|
"""
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
## Example Usage
|
|
450
|
-
|
|
451
|
-
```python
|
|
452
|
-
import pulumi
|
|
453
|
-
import pulumi_aiven as aiven
|
|
454
|
-
|
|
455
|
-
inf1 = aiven.get_influx_db(project=data["aiven_project"]["pr1"]["project"],
|
|
456
|
-
service_name="my-inf1")
|
|
457
|
-
```
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
461
|
-
:param str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
349
|
+
Use this data source to access information about an existing resource.
|
|
462
350
|
"""
|
|
463
351
|
...
|
|
@@ -41,9 +41,6 @@ class GetInfluxdbDatabaseResult:
|
|
|
41
41
|
@property
|
|
42
42
|
@pulumi.getter(name="databaseName")
|
|
43
43
|
def database_name(self) -> str:
|
|
44
|
-
"""
|
|
45
|
-
The name of the service database. This property cannot be changed, doing so forces recreation of the resource.
|
|
46
|
-
"""
|
|
47
44
|
return pulumi.get(self, "database_name")
|
|
48
45
|
|
|
49
46
|
@property
|
|
@@ -57,17 +54,11 @@ class GetInfluxdbDatabaseResult:
|
|
|
57
54
|
@property
|
|
58
55
|
@pulumi.getter
|
|
59
56
|
def project(self) -> str:
|
|
60
|
-
"""
|
|
61
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
62
|
-
"""
|
|
63
57
|
return pulumi.get(self, "project")
|
|
64
58
|
|
|
65
59
|
@property
|
|
66
60
|
@pulumi.getter(name="serviceName")
|
|
67
61
|
def service_name(self) -> str:
|
|
68
|
-
"""
|
|
69
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
70
|
-
"""
|
|
71
62
|
return pulumi.get(self, "service_name")
|
|
72
63
|
|
|
73
64
|
@property
|
|
@@ -94,12 +85,7 @@ def get_influxdb_database(database_name: Optional[str] = None,
|
|
|
94
85
|
service_name: Optional[str] = None,
|
|
95
86
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInfluxdbDatabaseResult:
|
|
96
87
|
"""
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
:param str database_name: The name of the service database. This property cannot be changed, doing so forces recreation of the resource.
|
|
101
|
-
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
102
|
-
:param str service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
88
|
+
Use this data source to access information about an existing resource.
|
|
103
89
|
"""
|
|
104
90
|
__args__ = dict()
|
|
105
91
|
__args__['databaseName'] = database_name
|
|
@@ -122,11 +108,6 @@ def get_influxdb_database_output(database_name: Optional[pulumi.Input[str]] = No
|
|
|
122
108
|
service_name: Optional[pulumi.Input[str]] = None,
|
|
123
109
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInfluxdbDatabaseResult]:
|
|
124
110
|
"""
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
:param str database_name: The name of the service database. This property cannot be changed, doing so forces recreation of the resource.
|
|
129
|
-
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
130
|
-
:param str service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
111
|
+
Use this data source to access information about an existing resource.
|
|
131
112
|
"""
|
|
132
113
|
...
|
|
@@ -50,17 +50,11 @@ class GetInfluxdbUserResult:
|
|
|
50
50
|
@property
|
|
51
51
|
@pulumi.getter(name="accessCert")
|
|
52
52
|
def access_cert(self) -> str:
|
|
53
|
-
"""
|
|
54
|
-
Access certificate for the user if applicable for the service in question
|
|
55
|
-
"""
|
|
56
53
|
return pulumi.get(self, "access_cert")
|
|
57
54
|
|
|
58
55
|
@property
|
|
59
56
|
@pulumi.getter(name="accessKey")
|
|
60
57
|
def access_key(self) -> str:
|
|
61
|
-
"""
|
|
62
|
-
Access certificate key for the user if applicable for the service in question
|
|
63
|
-
"""
|
|
64
58
|
return pulumi.get(self, "access_key")
|
|
65
59
|
|
|
66
60
|
@property
|
|
@@ -74,41 +68,26 @@ class GetInfluxdbUserResult:
|
|
|
74
68
|
@property
|
|
75
69
|
@pulumi.getter
|
|
76
70
|
def password(self) -> str:
|
|
77
|
-
"""
|
|
78
|
-
The password of the InfluxDB User.
|
|
79
|
-
"""
|
|
80
71
|
return pulumi.get(self, "password")
|
|
81
72
|
|
|
82
73
|
@property
|
|
83
74
|
@pulumi.getter
|
|
84
75
|
def project(self) -> str:
|
|
85
|
-
"""
|
|
86
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
87
|
-
"""
|
|
88
76
|
return pulumi.get(self, "project")
|
|
89
77
|
|
|
90
78
|
@property
|
|
91
79
|
@pulumi.getter(name="serviceName")
|
|
92
80
|
def service_name(self) -> str:
|
|
93
|
-
"""
|
|
94
|
-
Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
95
|
-
"""
|
|
96
81
|
return pulumi.get(self, "service_name")
|
|
97
82
|
|
|
98
83
|
@property
|
|
99
84
|
@pulumi.getter
|
|
100
85
|
def type(self) -> str:
|
|
101
|
-
"""
|
|
102
|
-
Type of the user account. Tells whether the user is the primary account or a regular account.
|
|
103
|
-
"""
|
|
104
86
|
return pulumi.get(self, "type")
|
|
105
87
|
|
|
106
88
|
@property
|
|
107
89
|
@pulumi.getter
|
|
108
90
|
def username(self) -> str:
|
|
109
|
-
"""
|
|
110
|
-
The actual name of the InfluxDB User. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
111
|
-
"""
|
|
112
91
|
return pulumi.get(self, "username")
|
|
113
92
|
|
|
114
93
|
|
|
@@ -133,23 +112,7 @@ def get_influxdb_user(project: Optional[str] = None,
|
|
|
133
112
|
username: Optional[str] = None,
|
|
134
113
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetInfluxdbUserResult:
|
|
135
114
|
"""
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
## Example Usage
|
|
139
|
-
|
|
140
|
-
```python
|
|
141
|
-
import pulumi
|
|
142
|
-
import pulumi_aiven as aiven
|
|
143
|
-
|
|
144
|
-
user = aiven.get_influxdb_user(project="my-project",
|
|
145
|
-
service_name="my-service",
|
|
146
|
-
username="user1")
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
151
|
-
:param str service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
152
|
-
:param str username: The actual name of the InfluxDB User. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
115
|
+
Use this data source to access information about an existing resource.
|
|
153
116
|
"""
|
|
154
117
|
__args__ = dict()
|
|
155
118
|
__args__['project'] = project
|
|
@@ -175,22 +138,6 @@ def get_influxdb_user_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
175
138
|
username: Optional[pulumi.Input[str]] = None,
|
|
176
139
|
opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetInfluxdbUserResult]:
|
|
177
140
|
"""
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
## Example Usage
|
|
181
|
-
|
|
182
|
-
```python
|
|
183
|
-
import pulumi
|
|
184
|
-
import pulumi_aiven as aiven
|
|
185
|
-
|
|
186
|
-
user = aiven.get_influxdb_user(project="my-project",
|
|
187
|
-
service_name="my-service",
|
|
188
|
-
username="user1")
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
193
|
-
:param str service_name: Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
194
|
-
:param str username: The actual name of the InfluxDB User. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
|
|
141
|
+
Use this data source to access information about an existing resource.
|
|
195
142
|
"""
|
|
196
143
|
...
|
pulumi_aiven/get_kafka.py
CHANGED
|
@@ -249,7 +249,7 @@ class GetKafkaResult:
|
|
|
249
249
|
@pulumi.getter
|
|
250
250
|
def project(self) -> str:
|
|
251
251
|
"""
|
|
252
|
-
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
252
|
+
Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
253
253
|
"""
|
|
254
254
|
return pulumi.get(self, "project")
|
|
255
255
|
|
|
@@ -413,6 +413,7 @@ def get_kafka(project: Optional[str] = None,
|
|
|
413
413
|
|
|
414
414
|
## Example Usage
|
|
415
415
|
|
|
416
|
+
<!--Start PulumiCodeChooser -->
|
|
416
417
|
```python
|
|
417
418
|
import pulumi
|
|
418
419
|
import pulumi_aiven as aiven
|
|
@@ -420,9 +421,10 @@ def get_kafka(project: Optional[str] = None,
|
|
|
420
421
|
kafka1 = aiven.get_kafka(project=data["aiven_project"]["pr1"]["project"],
|
|
421
422
|
service_name="my-kafka1")
|
|
422
423
|
```
|
|
424
|
+
<!--End PulumiCodeChooser -->
|
|
423
425
|
|
|
424
426
|
|
|
425
|
-
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
427
|
+
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
426
428
|
:param str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
427
429
|
"""
|
|
428
430
|
__args__ = dict()
|
|
@@ -474,6 +476,7 @@ def get_kafka_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
474
476
|
|
|
475
477
|
## Example Usage
|
|
476
478
|
|
|
479
|
+
<!--Start PulumiCodeChooser -->
|
|
477
480
|
```python
|
|
478
481
|
import pulumi
|
|
479
482
|
import pulumi_aiven as aiven
|
|
@@ -481,9 +484,10 @@ def get_kafka_output(project: Optional[pulumi.Input[str]] = None,
|
|
|
481
484
|
kafka1 = aiven.get_kafka(project=data["aiven_project"]["pr1"]["project"],
|
|
482
485
|
service_name="my-kafka1")
|
|
483
486
|
```
|
|
487
|
+
<!--End PulumiCodeChooser -->
|
|
484
488
|
|
|
485
489
|
|
|
486
|
-
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference.
|
|
490
|
+
:param str project: Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
|
|
487
491
|
:param str service_name: Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
|
|
488
492
|
"""
|
|
489
493
|
...
|