pulumi-aiven 6.13.0a1711361534__py3-none-any.whl → 6.14.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/_inputs.py +200 -262
- pulumi_aiven/account.py +2 -6
- pulumi_aiven/account_authentication.py +2 -2
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +6 -10
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +18 -22
- pulumi_aiven/aws_vpc_peering_connection.py +8 -12
- pulumi_aiven/azure_privatelink.py +18 -22
- pulumi_aiven/azure_privatelink_connection_approval.py +112 -14
- pulumi_aiven/azure_vpc_peering_connection.py +6 -10
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +25 -57
- pulumi_aiven/cassandra_user.py +18 -22
- pulumi_aiven/clickhouse.py +25 -57
- pulumi_aiven/clickhouse_database.py +24 -26
- pulumi_aiven/clickhouse_grant.py +35 -37
- pulumi_aiven/clickhouse_role.py +16 -20
- pulumi_aiven/clickhouse_user.py +18 -22
- pulumi_aiven/connection_pool.py +24 -28
- pulumi_aiven/dragonfly.py +124 -263
- pulumi_aiven/flink.py +32 -36
- pulumi_aiven/flink_application.py +22 -24
- pulumi_aiven/flink_application_deployment.py +21 -21
- pulumi_aiven/flink_application_version.py +96 -14
- pulumi_aiven/gcp_privatelink.py +21 -21
- pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
- pulumi_aiven/gcp_vpc_peering_connection.py +4 -8
- pulumi_aiven/get_account.py +0 -4
- pulumi_aiven/get_aws_privatelink.py +10 -14
- pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
- pulumi_aiven/get_azure_privatelink.py +10 -14
- pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
- pulumi_aiven/get_billing_group.py +2 -2
- pulumi_aiven/get_cassanda.py +7 -24
- pulumi_aiven/get_cassandra.py +7 -24
- pulumi_aiven/get_cassandra_user.py +10 -14
- pulumi_aiven/get_clickhouse.py +7 -24
- pulumi_aiven/get_clickhouse_database.py +10 -14
- pulumi_aiven/get_clickhouse_user.py +10 -14
- pulumi_aiven/get_connection_pool.py +10 -14
- pulumi_aiven/get_dragonfly.py +27 -20
- pulumi_aiven/get_flink.py +6 -10
- pulumi_aiven/get_flink_application.py +8 -12
- pulumi_aiven/get_flink_application_version.py +8 -12
- pulumi_aiven/get_gcp_vpc_peering_connection.py +2 -6
- pulumi_aiven/get_grafana.py +7 -24
- pulumi_aiven/get_kafka.py +13 -17
- pulumi_aiven/get_kafka_acl.py +10 -14
- pulumi_aiven/get_kafka_connect.py +7 -24
- pulumi_aiven/get_kafka_connector.py +10 -14
- pulumi_aiven/get_kafka_mirror_maker.py +7 -24
- pulumi_aiven/get_kafka_schema.py +10 -14
- pulumi_aiven/get_kafka_schema_configuration.py +10 -14
- pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
- pulumi_aiven/get_kafka_topic.py +16 -20
- pulumi_aiven/get_kafka_user.py +10 -14
- pulumi_aiven/get_m3_aggregator.py +7 -24
- pulumi_aiven/get_m3_db.py +7 -24
- pulumi_aiven/get_m3db_user.py +10 -14
- pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
- pulumi_aiven/get_my_sql.py +7 -24
- pulumi_aiven/get_mysql_database.py +10 -14
- pulumi_aiven/get_mysql_user.py +10 -14
- pulumi_aiven/get_open_search.py +6 -10
- pulumi_aiven/get_open_search_acl_config.py +10 -14
- pulumi_aiven/get_open_search_acl_rule.py +10 -14
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
- pulumi_aiven/get_opensearch_user.py +10 -14
- pulumi_aiven/get_organization.py +0 -4
- pulumi_aiven/get_organization_user_group.py +2 -6
- pulumi_aiven/get_pg.py +6 -10
- pulumi_aiven/get_pg_database.py +10 -14
- pulumi_aiven/get_pg_user.py +10 -14
- pulumi_aiven/get_project.py +17 -21
- pulumi_aiven/get_project_user.py +9 -13
- pulumi_aiven/get_project_vpc.py +2 -6
- pulumi_aiven/get_redis.py +7 -24
- pulumi_aiven/get_redis_user.py +10 -14
- pulumi_aiven/get_service_component.py +4 -8
- pulumi_aiven/get_service_integration.py +19 -33
- pulumi_aiven/get_service_integration_endpoint.py +2 -6
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
- pulumi_aiven/grafana.py +82 -267
- pulumi_aiven/influx_db.py +21 -21
- pulumi_aiven/influxdb_database.py +21 -21
- pulumi_aiven/influxdb_user.py +21 -21
- pulumi_aiven/kafka.py +50 -54
- pulumi_aiven/kafka_acl.py +20 -24
- pulumi_aiven/kafka_connect.py +80 -267
- pulumi_aiven/kafka_connector.py +26 -30
- pulumi_aiven/kafka_mirror_maker.py +80 -267
- pulumi_aiven/kafka_schema.py +18 -22
- pulumi_aiven/kafka_schema_configuration.py +20 -24
- pulumi_aiven/kafka_schema_registry_acl.py +54 -14
- pulumi_aiven/kafka_topic.py +84 -46
- pulumi_aiven/kafka_user.py +18 -22
- pulumi_aiven/m3_aggregator.py +80 -267
- pulumi_aiven/m3_db.py +80 -267
- pulumi_aiven/m3db_user.py +16 -20
- pulumi_aiven/mirror_maker_replication_flow.py +22 -26
- pulumi_aiven/my_sql.py +80 -267
- pulumi_aiven/mysql_database.py +20 -24
- pulumi_aiven/mysql_user.py +18 -22
- pulumi_aiven/open_search.py +27 -31
- pulumi_aiven/open_search_acl_config.py +28 -36
- pulumi_aiven/open_search_acl_rule.py +36 -40
- pulumi_aiven/opensearch_security_plugin_config.py +28 -32
- pulumi_aiven/opensearch_user.py +18 -22
- pulumi_aiven/organization.py +2 -6
- pulumi_aiven/organization_group_project.py +46 -0
- pulumi_aiven/organization_user.py +2 -20
- pulumi_aiven/organization_user_group.py +4 -6
- pulumi_aiven/organization_user_group_member.py +8 -10
- pulumi_aiven/organizational_unit.py +6 -6
- pulumi_aiven/outputs.py +271 -390
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +20 -24
- pulumi_aiven/pg_user.py +18 -22
- pulumi_aiven/project.py +75 -79
- pulumi_aiven/project_user.py +24 -28
- pulumi_aiven/project_vpc.py +31 -7
- pulumi_aiven/redis.py +80 -267
- pulumi_aiven/redis_user.py +18 -22
- pulumi_aiven/service_integration.py +54 -58
- pulumi_aiven/static_ip.py +7 -7
- pulumi_aiven/transit_gateway_vpc_attachment.py +4 -8
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/METADATA +1 -1
- pulumi_aiven-6.14.0.dist-info/RECORD +150 -0
- pulumi_aiven-6.13.0a1711361534.dist-info/RECORD +0 -150
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
|
@@ -19,8 +19,8 @@ class AzurePrivatelinkConnectionApprovalArgs:
|
|
|
19
19
|
endpoint_ip_address: Optional[pulumi.Input[str]] = None):
|
|
20
20
|
"""
|
|
21
21
|
The set of arguments for constructing a AzurePrivatelinkConnectionApproval resource.
|
|
22
|
-
:param pulumi.Input[str] project:
|
|
23
|
-
:param pulumi.Input[str] service_name:
|
|
22
|
+
:param pulumi.Input[str] project: The name of 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.
|
|
23
|
+
:param pulumi.Input[str] service_name: The name of the service that 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.
|
|
24
24
|
:param pulumi.Input[str] endpoint_ip_address: IP address of Azure private endpoint.
|
|
25
25
|
"""
|
|
26
26
|
pulumi.set(__self__, "project", project)
|
|
@@ -32,7 +32,7 @@ class AzurePrivatelinkConnectionApprovalArgs:
|
|
|
32
32
|
@pulumi.getter
|
|
33
33
|
def project(self) -> pulumi.Input[str]:
|
|
34
34
|
"""
|
|
35
|
-
|
|
35
|
+
The name of 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.
|
|
36
36
|
"""
|
|
37
37
|
return pulumi.get(self, "project")
|
|
38
38
|
|
|
@@ -44,7 +44,7 @@ class AzurePrivatelinkConnectionApprovalArgs:
|
|
|
44
44
|
@pulumi.getter(name="serviceName")
|
|
45
45
|
def service_name(self) -> pulumi.Input[str]:
|
|
46
46
|
"""
|
|
47
|
-
|
|
47
|
+
The name of the service that 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.
|
|
48
48
|
"""
|
|
49
49
|
return pulumi.get(self, "service_name")
|
|
50
50
|
|
|
@@ -77,8 +77,8 @@ class _AzurePrivatelinkConnectionApprovalState:
|
|
|
77
77
|
Input properties used for looking up and filtering AzurePrivatelinkConnectionApproval resources.
|
|
78
78
|
:param pulumi.Input[str] endpoint_ip_address: IP address of Azure private endpoint.
|
|
79
79
|
:param pulumi.Input[str] privatelink_connection_id: The ID of the Private Link connection.
|
|
80
|
-
:param pulumi.Input[str] project:
|
|
81
|
-
:param pulumi.Input[str] service_name:
|
|
80
|
+
:param pulumi.Input[str] project: The name of 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.
|
|
81
|
+
:param pulumi.Input[str] service_name: The name of the service that 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.
|
|
82
82
|
:param pulumi.Input[str] state: The state of the Private Link connection.
|
|
83
83
|
"""
|
|
84
84
|
if endpoint_ip_address is not None:
|
|
@@ -120,7 +120,7 @@ class _AzurePrivatelinkConnectionApprovalState:
|
|
|
120
120
|
@pulumi.getter
|
|
121
121
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
122
122
|
"""
|
|
123
|
-
|
|
123
|
+
The name of 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.
|
|
124
124
|
"""
|
|
125
125
|
return pulumi.get(self, "project")
|
|
126
126
|
|
|
@@ -132,7 +132,7 @@ class _AzurePrivatelinkConnectionApprovalState:
|
|
|
132
132
|
@pulumi.getter(name="serviceName")
|
|
133
133
|
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
134
134
|
"""
|
|
135
|
-
|
|
135
|
+
The name of the service that 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.
|
|
136
136
|
"""
|
|
137
137
|
return pulumi.get(self, "service_name")
|
|
138
138
|
|
|
@@ -165,6 +165,55 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
|
|
|
165
165
|
"""
|
|
166
166
|
Approves an Azure Private Link connection to an Aiven service with an associated endpoint IP.
|
|
167
167
|
|
|
168
|
+
## Example Usage
|
|
169
|
+
|
|
170
|
+
```python
|
|
171
|
+
import pulumi
|
|
172
|
+
import pulumi_aiven as aiven
|
|
173
|
+
import pulumi_azurerm as azurerm
|
|
174
|
+
|
|
175
|
+
static_ips = []
|
|
176
|
+
for range in [{"value": i} for i in range(0, 2)]:
|
|
177
|
+
static_ips.append(aiven.StaticIp(f"static_ips-{range['value']}",
|
|
178
|
+
project=project_id,
|
|
179
|
+
cloud_name=region))
|
|
180
|
+
default = aiven.Pg("default",
|
|
181
|
+
service_name="postgres",
|
|
182
|
+
project=aiven_project_id,
|
|
183
|
+
project_vpc_id=aiven_project_vpc_id,
|
|
184
|
+
cloud_name=region,
|
|
185
|
+
plan=plan,
|
|
186
|
+
static_ips=[sip.static_ip_address_id for sip in static_ips],
|
|
187
|
+
pg_user_config=aiven.PgPgUserConfigArgs(
|
|
188
|
+
pg_version="13",
|
|
189
|
+
static_ips=True,
|
|
190
|
+
privatelink_access=aiven.PgPgUserConfigPrivatelinkAccessArgs(
|
|
191
|
+
pg=True,
|
|
192
|
+
pgbouncer=True,
|
|
193
|
+
),
|
|
194
|
+
))
|
|
195
|
+
privatelink = aiven.AzurePrivatelink("privatelink",
|
|
196
|
+
project=aiven_project_id,
|
|
197
|
+
service_name=default.name,
|
|
198
|
+
user_subscription_ids=[azure_subscription_id])
|
|
199
|
+
endpoint = azurerm.index.PrivateEndpoint("endpoint",
|
|
200
|
+
name=postgres-endpoint,
|
|
201
|
+
location=region,
|
|
202
|
+
resource_group_name=azure_resource_group.name,
|
|
203
|
+
subnet_id=azure_subnet_id,
|
|
204
|
+
private_service_connection=[{
|
|
205
|
+
name: default.name,
|
|
206
|
+
privateConnectionResourceId: privatelink.azure_service_id,
|
|
207
|
+
isManualConnection: True,
|
|
208
|
+
requestMessage: default.name,
|
|
209
|
+
}],
|
|
210
|
+
opts=pulumi.ResourceOptions(depends_on=[privatelink]))
|
|
211
|
+
approval = aiven.AzurePrivatelinkConnectionApproval("approval",
|
|
212
|
+
project=aiven_project_id,
|
|
213
|
+
service_name=default.service_name,
|
|
214
|
+
endpoint_ip_address=endpoint["privateServiceConnection"][0]["privateIpAddress"])
|
|
215
|
+
```
|
|
216
|
+
|
|
168
217
|
## Import
|
|
169
218
|
|
|
170
219
|
```sh
|
|
@@ -174,8 +223,8 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
|
|
|
174
223
|
:param str resource_name: The name of the resource.
|
|
175
224
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
176
225
|
:param pulumi.Input[str] endpoint_ip_address: IP address of Azure private endpoint.
|
|
177
|
-
:param pulumi.Input[str] project:
|
|
178
|
-
:param pulumi.Input[str] service_name:
|
|
226
|
+
:param pulumi.Input[str] project: The name of 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.
|
|
227
|
+
:param pulumi.Input[str] service_name: The name of the service that 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.
|
|
179
228
|
"""
|
|
180
229
|
...
|
|
181
230
|
@overload
|
|
@@ -186,6 +235,55 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
|
|
|
186
235
|
"""
|
|
187
236
|
Approves an Azure Private Link connection to an Aiven service with an associated endpoint IP.
|
|
188
237
|
|
|
238
|
+
## Example Usage
|
|
239
|
+
|
|
240
|
+
```python
|
|
241
|
+
import pulumi
|
|
242
|
+
import pulumi_aiven as aiven
|
|
243
|
+
import pulumi_azurerm as azurerm
|
|
244
|
+
|
|
245
|
+
static_ips = []
|
|
246
|
+
for range in [{"value": i} for i in range(0, 2)]:
|
|
247
|
+
static_ips.append(aiven.StaticIp(f"static_ips-{range['value']}",
|
|
248
|
+
project=project_id,
|
|
249
|
+
cloud_name=region))
|
|
250
|
+
default = aiven.Pg("default",
|
|
251
|
+
service_name="postgres",
|
|
252
|
+
project=aiven_project_id,
|
|
253
|
+
project_vpc_id=aiven_project_vpc_id,
|
|
254
|
+
cloud_name=region,
|
|
255
|
+
plan=plan,
|
|
256
|
+
static_ips=[sip.static_ip_address_id for sip in static_ips],
|
|
257
|
+
pg_user_config=aiven.PgPgUserConfigArgs(
|
|
258
|
+
pg_version="13",
|
|
259
|
+
static_ips=True,
|
|
260
|
+
privatelink_access=aiven.PgPgUserConfigPrivatelinkAccessArgs(
|
|
261
|
+
pg=True,
|
|
262
|
+
pgbouncer=True,
|
|
263
|
+
),
|
|
264
|
+
))
|
|
265
|
+
privatelink = aiven.AzurePrivatelink("privatelink",
|
|
266
|
+
project=aiven_project_id,
|
|
267
|
+
service_name=default.name,
|
|
268
|
+
user_subscription_ids=[azure_subscription_id])
|
|
269
|
+
endpoint = azurerm.index.PrivateEndpoint("endpoint",
|
|
270
|
+
name=postgres-endpoint,
|
|
271
|
+
location=region,
|
|
272
|
+
resource_group_name=azure_resource_group.name,
|
|
273
|
+
subnet_id=azure_subnet_id,
|
|
274
|
+
private_service_connection=[{
|
|
275
|
+
name: default.name,
|
|
276
|
+
privateConnectionResourceId: privatelink.azure_service_id,
|
|
277
|
+
isManualConnection: True,
|
|
278
|
+
requestMessage: default.name,
|
|
279
|
+
}],
|
|
280
|
+
opts=pulumi.ResourceOptions(depends_on=[privatelink]))
|
|
281
|
+
approval = aiven.AzurePrivatelinkConnectionApproval("approval",
|
|
282
|
+
project=aiven_project_id,
|
|
283
|
+
service_name=default.service_name,
|
|
284
|
+
endpoint_ip_address=endpoint["privateServiceConnection"][0]["privateIpAddress"])
|
|
285
|
+
```
|
|
286
|
+
|
|
189
287
|
## Import
|
|
190
288
|
|
|
191
289
|
```sh
|
|
@@ -252,8 +350,8 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
|
|
|
252
350
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
253
351
|
:param pulumi.Input[str] endpoint_ip_address: IP address of Azure private endpoint.
|
|
254
352
|
:param pulumi.Input[str] privatelink_connection_id: The ID of the Private Link connection.
|
|
255
|
-
:param pulumi.Input[str] project:
|
|
256
|
-
:param pulumi.Input[str] service_name:
|
|
353
|
+
:param pulumi.Input[str] project: The name of 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.
|
|
354
|
+
:param pulumi.Input[str] service_name: The name of the service that 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.
|
|
257
355
|
:param pulumi.Input[str] state: The state of the Private Link connection.
|
|
258
356
|
"""
|
|
259
357
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -287,7 +385,7 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
|
|
|
287
385
|
@pulumi.getter
|
|
288
386
|
def project(self) -> pulumi.Output[str]:
|
|
289
387
|
"""
|
|
290
|
-
|
|
388
|
+
The name of 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.
|
|
291
389
|
"""
|
|
292
390
|
return pulumi.get(self, "project")
|
|
293
391
|
|
|
@@ -295,7 +393,7 @@ class AzurePrivatelinkConnectionApproval(pulumi.CustomResource):
|
|
|
295
393
|
@pulumi.getter(name="serviceName")
|
|
296
394
|
def service_name(self) -> pulumi.Output[str]:
|
|
297
395
|
"""
|
|
298
|
-
|
|
396
|
+
The name of the service that 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.
|
|
299
397
|
"""
|
|
300
398
|
return pulumi.get(self, "service_name")
|
|
301
399
|
|
|
@@ -278,16 +278,15 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
|
|
|
278
278
|
|
|
279
279
|
## Example Usage
|
|
280
280
|
|
|
281
|
-
<!--Start PulumiCodeChooser -->
|
|
282
281
|
```python
|
|
283
282
|
import pulumi
|
|
284
283
|
import pulumi_aiven as aiven
|
|
285
284
|
|
|
286
|
-
example_vpc = aiven.ProjectVpc("
|
|
287
|
-
project=
|
|
285
|
+
example_vpc = aiven.ProjectVpc("example_vpc",
|
|
286
|
+
project=example_project["project"],
|
|
288
287
|
cloud_name="google-europe-west1",
|
|
289
288
|
network_cidr="192.168.1.0/24")
|
|
290
|
-
azure_to_aiven_peering = aiven.AzureVpcPeeringConnection("
|
|
289
|
+
azure_to_aiven_peering = aiven.AzureVpcPeeringConnection("azure_to_aiven_peering",
|
|
291
290
|
vpc_id=example_vpc.id,
|
|
292
291
|
azure_subscription_id="00000000-0000-0000-0000-000000000000",
|
|
293
292
|
peer_resource_group="example-resource-group",
|
|
@@ -295,7 +294,6 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
|
|
|
295
294
|
peer_azure_app_id="00000000-0000-0000-0000-000000000000",
|
|
296
295
|
peer_azure_tenant_id="00000000-0000-0000-0000-000000000000")
|
|
297
296
|
```
|
|
298
|
-
<!--End PulumiCodeChooser -->
|
|
299
297
|
|
|
300
298
|
## Import
|
|
301
299
|
|
|
@@ -323,16 +321,15 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
|
|
|
323
321
|
|
|
324
322
|
## Example Usage
|
|
325
323
|
|
|
326
|
-
<!--Start PulumiCodeChooser -->
|
|
327
324
|
```python
|
|
328
325
|
import pulumi
|
|
329
326
|
import pulumi_aiven as aiven
|
|
330
327
|
|
|
331
|
-
example_vpc = aiven.ProjectVpc("
|
|
332
|
-
project=
|
|
328
|
+
example_vpc = aiven.ProjectVpc("example_vpc",
|
|
329
|
+
project=example_project["project"],
|
|
333
330
|
cloud_name="google-europe-west1",
|
|
334
331
|
network_cidr="192.168.1.0/24")
|
|
335
|
-
azure_to_aiven_peering = aiven.AzureVpcPeeringConnection("
|
|
332
|
+
azure_to_aiven_peering = aiven.AzureVpcPeeringConnection("azure_to_aiven_peering",
|
|
336
333
|
vpc_id=example_vpc.id,
|
|
337
334
|
azure_subscription_id="00000000-0000-0000-0000-000000000000",
|
|
338
335
|
peer_resource_group="example-resource-group",
|
|
@@ -340,7 +337,6 @@ class AzureVpcPeeringConnection(pulumi.CustomResource):
|
|
|
340
337
|
peer_azure_app_id="00000000-0000-0000-0000-000000000000",
|
|
341
338
|
peer_azure_tenant_id="00000000-0000-0000-0000-000000000000")
|
|
342
339
|
```
|
|
343
|
-
<!--End PulumiCodeChooser -->
|
|
344
340
|
|
|
345
341
|
## Import
|
|
346
342
|
|
pulumi_aiven/billing_group.py
CHANGED
|
@@ -541,28 +541,28 @@ class BillingGroup(pulumi.CustomResource):
|
|
|
541
541
|
zip_code: Optional[pulumi.Input[str]] = None,
|
|
542
542
|
__props__=None):
|
|
543
543
|
"""
|
|
544
|
-
Creates and manages billing groups and assigns them to projects.
|
|
544
|
+
Creates and manages [billing groups](https://aiven.io/docs/platform/concepts/billing-groups) and assigns them to projects.
|
|
545
545
|
|
|
546
546
|
## Example Usage
|
|
547
547
|
|
|
548
|
-
<!--Start PulumiCodeChooser -->
|
|
549
548
|
```python
|
|
550
549
|
import pulumi
|
|
551
550
|
import pulumi_aiven as aiven
|
|
552
551
|
|
|
553
|
-
|
|
552
|
+
example_billing_group = aiven.BillingGroup("example_billing_group",
|
|
553
|
+
name="example-billing-group",
|
|
554
554
|
billing_currency="USD",
|
|
555
|
-
vat_id="123ABC"
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
555
|
+
vat_id="123ABC",
|
|
556
|
+
parent_id=main["id"])
|
|
557
|
+
example_project = aiven.Project("example_project",
|
|
558
|
+
project="example-project",
|
|
559
|
+
billing_group=example_billing_group.id)
|
|
559
560
|
```
|
|
560
|
-
<!--End PulumiCodeChooser -->
|
|
561
561
|
|
|
562
562
|
## Import
|
|
563
563
|
|
|
564
564
|
```sh
|
|
565
|
-
$ pulumi import aiven:index/billingGroup:BillingGroup
|
|
565
|
+
$ pulumi import aiven:index/billingGroup:BillingGroup example_billing_group ID
|
|
566
566
|
```
|
|
567
567
|
|
|
568
568
|
:param str resource_name: The name of the resource.
|
|
@@ -590,28 +590,28 @@ class BillingGroup(pulumi.CustomResource):
|
|
|
590
590
|
args: Optional[BillingGroupArgs] = None,
|
|
591
591
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
592
592
|
"""
|
|
593
|
-
Creates and manages billing groups and assigns them to projects.
|
|
593
|
+
Creates and manages [billing groups](https://aiven.io/docs/platform/concepts/billing-groups) and assigns them to projects.
|
|
594
594
|
|
|
595
595
|
## Example Usage
|
|
596
596
|
|
|
597
|
-
<!--Start PulumiCodeChooser -->
|
|
598
597
|
```python
|
|
599
598
|
import pulumi
|
|
600
599
|
import pulumi_aiven as aiven
|
|
601
600
|
|
|
602
|
-
|
|
601
|
+
example_billing_group = aiven.BillingGroup("example_billing_group",
|
|
602
|
+
name="example-billing-group",
|
|
603
603
|
billing_currency="USD",
|
|
604
|
-
vat_id="123ABC"
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
604
|
+
vat_id="123ABC",
|
|
605
|
+
parent_id=main["id"])
|
|
606
|
+
example_project = aiven.Project("example_project",
|
|
607
|
+
project="example-project",
|
|
608
|
+
billing_group=example_billing_group.id)
|
|
608
609
|
```
|
|
609
|
-
<!--End PulumiCodeChooser -->
|
|
610
610
|
|
|
611
611
|
## Import
|
|
612
612
|
|
|
613
613
|
```sh
|
|
614
|
-
$ pulumi import aiven:index/billingGroup:BillingGroup
|
|
614
|
+
$ pulumi import aiven:index/billingGroup:BillingGroup example_billing_group ID
|
|
615
615
|
```
|
|
616
616
|
|
|
617
617
|
:param str resource_name: The name of the resource.
|