pulumi-aiven 6.13.0a1711027602__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/__init__.py +28 -0
- pulumi_aiven/_inputs.py +2623 -1138
- pulumi_aiven/account.py +8 -8
- pulumi_aiven/account_authentication.py +8 -4
- pulumi_aiven/account_team.py +6 -6
- pulumi_aiven/account_team_member.py +27 -31
- pulumi_aiven/account_team_project.py +12 -12
- pulumi_aiven/aws_privatelink.py +39 -43
- pulumi_aiven/aws_vpc_peering_connection.py +62 -56
- pulumi_aiven/azure_privatelink.py +49 -53
- pulumi_aiven/azure_privatelink_connection_approval.py +131 -33
- pulumi_aiven/azure_vpc_peering_connection.py +76 -72
- pulumi_aiven/billing_group.py +18 -18
- pulumi_aiven/cassandra.py +25 -57
- pulumi_aiven/cassandra_user.py +25 -29
- pulumi_aiven/clickhouse.py +25 -57
- pulumi_aiven/clickhouse_database.py +31 -33
- pulumi_aiven/clickhouse_grant.py +56 -58
- pulumi_aiven/clickhouse_role.py +23 -27
- pulumi_aiven/clickhouse_user.py +25 -29
- pulumi_aiven/connection_pool.py +38 -42
- pulumi_aiven/dragonfly.py +1205 -0
- pulumi_aiven/flink.py +32 -36
- pulumi_aiven/flink_application.py +22 -24
- pulumi_aiven/flink_application_deployment.py +28 -28
- pulumi_aiven/flink_application_version.py +96 -14
- pulumi_aiven/gcp_privatelink.py +40 -40
- pulumi_aiven/gcp_privatelink_connection_approval.py +47 -47
- pulumi_aiven/gcp_vpc_peering_connection.py +39 -43
- pulumi_aiven/get_account.py +0 -4
- pulumi_aiven/get_account_team_member.py +9 -9
- pulumi_aiven/get_aws_privatelink.py +15 -19
- pulumi_aiven/get_aws_vpc_peering_connection.py +33 -27
- pulumi_aiven/get_azure_privatelink.py +17 -21
- pulumi_aiven/get_azure_vpc_peering_connection.py +50 -22
- 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 +13 -17
- pulumi_aiven/get_clickhouse.py +7 -24
- pulumi_aiven/get_clickhouse_database.py +13 -17
- pulumi_aiven/get_clickhouse_user.py +13 -17
- pulumi_aiven/get_connection_pool.py +14 -18
- pulumi_aiven/get_dragonfly.py +450 -0
- 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 +18 -22
- pulumi_aiven/get_grafana.py +7 -24
- pulumi_aiven/get_kafka.py +13 -17
- pulumi_aiven/get_kafka_acl.py +19 -23
- pulumi_aiven/get_kafka_connect.py +7 -24
- pulumi_aiven/get_kafka_connector.py +13 -17
- pulumi_aiven/get_kafka_mirror_maker.py +7 -24
- pulumi_aiven/get_kafka_schema.py +13 -17
- pulumi_aiven/get_kafka_schema_configuration.py +11 -15
- pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
- pulumi_aiven/get_kafka_topic.py +19 -23
- pulumi_aiven/get_kafka_user.py +13 -17
- pulumi_aiven/get_m3_aggregator.py +7 -24
- pulumi_aiven/get_m3_db.py +7 -24
- pulumi_aiven/get_m3db_user.py +13 -17
- pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
- pulumi_aiven/get_my_sql.py +7 -24
- pulumi_aiven/get_mysql_database.py +13 -17
- pulumi_aiven/get_mysql_user.py +13 -17
- 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 +16 -20
- pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
- pulumi_aiven/get_opensearch_user.py +13 -17
- pulumi_aiven/get_organization.py +8 -12
- pulumi_aiven/get_organization_user_group.py +29 -9
- pulumi_aiven/get_organizational_unit.py +9 -9
- pulumi_aiven/get_pg.py +6 -10
- pulumi_aiven/get_pg_database.py +15 -19
- pulumi_aiven/get_pg_user.py +13 -17
- pulumi_aiven/get_project.py +17 -21
- pulumi_aiven/get_project_user.py +9 -13
- pulumi_aiven/get_project_vpc.py +11 -17
- pulumi_aiven/get_redis.py +7 -24
- pulumi_aiven/get_redis_user.py +17 -21
- pulumi_aiven/get_service_component.py +4 -8
- pulumi_aiven/get_service_integration.py +75 -37
- pulumi_aiven/get_service_integration_endpoint.py +3 -7
- pulumi_aiven/get_transit_gateway_vpc_attachment.py +11 -15
- pulumi_aiven/grafana.py +82 -267
- pulumi_aiven/influx_db.py +28 -28
- pulumi_aiven/influxdb_database.py +35 -35
- pulumi_aiven/influxdb_user.py +42 -42
- pulumi_aiven/kafka.py +50 -54
- pulumi_aiven/kafka_acl.py +41 -45
- pulumi_aiven/kafka_connect.py +80 -267
- pulumi_aiven/kafka_connector.py +33 -37
- pulumi_aiven/kafka_mirror_maker.py +80 -267
- pulumi_aiven/kafka_schema.py +51 -51
- pulumi_aiven/kafka_schema_configuration.py +20 -24
- pulumi_aiven/kafka_schema_registry_acl.py +75 -35
- pulumi_aiven/kafka_topic.py +91 -53
- pulumi_aiven/kafka_user.py +25 -29
- pulumi_aiven/m3_aggregator.py +80 -267
- pulumi_aiven/m3_db.py +80 -267
- pulumi_aiven/m3db_user.py +23 -27
- pulumi_aiven/mirror_maker_replication_flow.py +58 -60
- pulumi_aiven/my_sql.py +80 -267
- pulumi_aiven/mysql_database.py +27 -31
- pulumi_aiven/mysql_user.py +25 -29
- pulumi_aiven/open_search.py +27 -31
- pulumi_aiven/open_search_acl_config.py +28 -36
- pulumi_aiven/open_search_acl_rule.py +50 -54
- pulumi_aiven/opensearch_security_plugin_config.py +64 -16
- pulumi_aiven/opensearch_user.py +25 -29
- pulumi_aiven/organization.py +10 -14
- pulumi_aiven/organization_group_project.py +336 -0
- pulumi_aiven/organization_user.py +16 -34
- pulumi_aiven/organization_user_group.py +59 -23
- pulumi_aiven/organization_user_group_member.py +350 -0
- pulumi_aiven/organizational_unit.py +36 -36
- pulumi_aiven/outputs.py +3539 -1136
- pulumi_aiven/pg.py +30 -30
- pulumi_aiven/pg_database.py +41 -45
- pulumi_aiven/pg_user.py +25 -29
- pulumi_aiven/project.py +91 -69
- pulumi_aiven/project_user.py +24 -28
- pulumi_aiven/project_vpc.py +49 -25
- pulumi_aiven/redis.py +80 -267
- pulumi_aiven/redis_user.py +53 -57
- pulumi_aiven/service_integration.py +249 -65
- pulumi_aiven/service_integration_endpoint.py +7 -7
- pulumi_aiven/static_ip.py +14 -14
- pulumi_aiven/transit_gateway_vpc_attachment.py +25 -29
- {pulumi_aiven-6.13.0a1711027602.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.0a1711027602.dist-info/RECORD +0 -146
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
- {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
pulumi_aiven/project_user.py
CHANGED
|
@@ -19,9 +19,9 @@ class ProjectUserArgs:
|
|
|
19
19
|
project: pulumi.Input[str]):
|
|
20
20
|
"""
|
|
21
21
|
The set of arguments for constructing a ProjectUser resource.
|
|
22
|
-
:param pulumi.Input[str] email: Email address of the user
|
|
22
|
+
:param pulumi.Input[str] email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
23
23
|
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `operator`.
|
|
24
|
-
:param pulumi.Input[str] project:
|
|
24
|
+
: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.
|
|
25
25
|
"""
|
|
26
26
|
pulumi.set(__self__, "email", email)
|
|
27
27
|
pulumi.set(__self__, "member_type", member_type)
|
|
@@ -31,7 +31,7 @@ class ProjectUserArgs:
|
|
|
31
31
|
@pulumi.getter
|
|
32
32
|
def email(self) -> pulumi.Input[str]:
|
|
33
33
|
"""
|
|
34
|
-
Email address of the user
|
|
34
|
+
Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
35
35
|
"""
|
|
36
36
|
return pulumi.get(self, "email")
|
|
37
37
|
|
|
@@ -55,7 +55,7 @@ class ProjectUserArgs:
|
|
|
55
55
|
@pulumi.getter
|
|
56
56
|
def project(self) -> pulumi.Input[str]:
|
|
57
57
|
"""
|
|
58
|
-
|
|
58
|
+
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.
|
|
59
59
|
"""
|
|
60
60
|
return pulumi.get(self, "project")
|
|
61
61
|
|
|
@@ -73,10 +73,10 @@ class _ProjectUserState:
|
|
|
73
73
|
project: Optional[pulumi.Input[str]] = None):
|
|
74
74
|
"""
|
|
75
75
|
Input properties used for looking up and filtering ProjectUser resources.
|
|
76
|
-
:param pulumi.Input[bool] accepted: Whether the user has accepted the request to join the project
|
|
77
|
-
:param pulumi.Input[str] email: Email address of the user
|
|
76
|
+
:param pulumi.Input[bool] accepted: Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite.
|
|
77
|
+
:param pulumi.Input[str] email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
78
78
|
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `operator`.
|
|
79
|
-
:param pulumi.Input[str] project:
|
|
79
|
+
: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.
|
|
80
80
|
"""
|
|
81
81
|
if accepted is not None:
|
|
82
82
|
pulumi.set(__self__, "accepted", accepted)
|
|
@@ -91,7 +91,7 @@ class _ProjectUserState:
|
|
|
91
91
|
@pulumi.getter
|
|
92
92
|
def accepted(self) -> Optional[pulumi.Input[bool]]:
|
|
93
93
|
"""
|
|
94
|
-
Whether the user has accepted the request to join the project
|
|
94
|
+
Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite.
|
|
95
95
|
"""
|
|
96
96
|
return pulumi.get(self, "accepted")
|
|
97
97
|
|
|
@@ -103,7 +103,7 @@ class _ProjectUserState:
|
|
|
103
103
|
@pulumi.getter
|
|
104
104
|
def email(self) -> Optional[pulumi.Input[str]]:
|
|
105
105
|
"""
|
|
106
|
-
Email address of the user
|
|
106
|
+
Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
107
107
|
"""
|
|
108
108
|
return pulumi.get(self, "email")
|
|
109
109
|
|
|
@@ -127,7 +127,7 @@ class _ProjectUserState:
|
|
|
127
127
|
@pulumi.getter
|
|
128
128
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
129
129
|
"""
|
|
130
|
-
|
|
130
|
+
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.
|
|
131
131
|
"""
|
|
132
132
|
return pulumi.get(self, "project")
|
|
133
133
|
|
|
@@ -146,33 +146,31 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
146
146
|
project: Optional[pulumi.Input[str]] = None,
|
|
147
147
|
__props__=None):
|
|
148
148
|
"""
|
|
149
|
-
|
|
149
|
+
Creates and manages an Aiven project member.
|
|
150
150
|
|
|
151
151
|
## Example Usage
|
|
152
152
|
|
|
153
|
-
<!--Start PulumiCodeChooser -->
|
|
154
153
|
```python
|
|
155
154
|
import pulumi
|
|
156
155
|
import pulumi_aiven as aiven
|
|
157
156
|
|
|
158
157
|
mytestuser = aiven.ProjectUser("mytestuser",
|
|
159
|
-
project=
|
|
158
|
+
project=myproject["project"],
|
|
160
159
|
email="john.doe@example.com",
|
|
161
160
|
member_type="admin")
|
|
162
161
|
```
|
|
163
|
-
<!--End PulumiCodeChooser -->
|
|
164
162
|
|
|
165
163
|
## Import
|
|
166
164
|
|
|
167
165
|
```sh
|
|
168
|
-
$ pulumi import aiven:index/projectUser:ProjectUser mytestuser
|
|
166
|
+
$ pulumi import aiven:index/projectUser:ProjectUser mytestuser PROJECT/EMAIL
|
|
169
167
|
```
|
|
170
168
|
|
|
171
169
|
:param str resource_name: The name of the resource.
|
|
172
170
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
173
|
-
:param pulumi.Input[str] email: Email address of the user
|
|
171
|
+
:param pulumi.Input[str] email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
174
172
|
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `operator`.
|
|
175
|
-
:param pulumi.Input[str] project:
|
|
173
|
+
: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.
|
|
176
174
|
"""
|
|
177
175
|
...
|
|
178
176
|
@overload
|
|
@@ -181,26 +179,24 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
181
179
|
args: ProjectUserArgs,
|
|
182
180
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
183
181
|
"""
|
|
184
|
-
|
|
182
|
+
Creates and manages an Aiven project member.
|
|
185
183
|
|
|
186
184
|
## Example Usage
|
|
187
185
|
|
|
188
|
-
<!--Start PulumiCodeChooser -->
|
|
189
186
|
```python
|
|
190
187
|
import pulumi
|
|
191
188
|
import pulumi_aiven as aiven
|
|
192
189
|
|
|
193
190
|
mytestuser = aiven.ProjectUser("mytestuser",
|
|
194
|
-
project=
|
|
191
|
+
project=myproject["project"],
|
|
195
192
|
email="john.doe@example.com",
|
|
196
193
|
member_type="admin")
|
|
197
194
|
```
|
|
198
|
-
<!--End PulumiCodeChooser -->
|
|
199
195
|
|
|
200
196
|
## Import
|
|
201
197
|
|
|
202
198
|
```sh
|
|
203
|
-
$ pulumi import aiven:index/projectUser:ProjectUser mytestuser
|
|
199
|
+
$ pulumi import aiven:index/projectUser:ProjectUser mytestuser PROJECT/EMAIL
|
|
204
200
|
```
|
|
205
201
|
|
|
206
202
|
:param str resource_name: The name of the resource.
|
|
@@ -261,10 +257,10 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
261
257
|
:param str resource_name: The unique name of the resulting resource.
|
|
262
258
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
263
259
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
264
|
-
:param pulumi.Input[bool] accepted: Whether the user has accepted the request to join the project
|
|
265
|
-
:param pulumi.Input[str] email: Email address of the user
|
|
260
|
+
:param pulumi.Input[bool] accepted: Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite.
|
|
261
|
+
:param pulumi.Input[str] email: Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
266
262
|
:param pulumi.Input[str] member_type: Project membership type. The possible values are `admin`, `developer` and `operator`.
|
|
267
|
-
:param pulumi.Input[str] project:
|
|
263
|
+
: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.
|
|
268
264
|
"""
|
|
269
265
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
270
266
|
|
|
@@ -280,7 +276,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
280
276
|
@pulumi.getter
|
|
281
277
|
def accepted(self) -> pulumi.Output[bool]:
|
|
282
278
|
"""
|
|
283
|
-
Whether the user has accepted the request to join the project
|
|
279
|
+
Whether the user has accepted the request to join the project. Users get an invite and become project members after accepting the invite.
|
|
284
280
|
"""
|
|
285
281
|
return pulumi.get(self, "accepted")
|
|
286
282
|
|
|
@@ -288,7 +284,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
288
284
|
@pulumi.getter
|
|
289
285
|
def email(self) -> pulumi.Output[str]:
|
|
290
286
|
"""
|
|
291
|
-
Email address of the user
|
|
287
|
+
Email address of the user in lowercase. Changing this property forces recreation of the resource.
|
|
292
288
|
"""
|
|
293
289
|
return pulumi.get(self, "email")
|
|
294
290
|
|
|
@@ -304,7 +300,7 @@ class ProjectUser(pulumi.CustomResource):
|
|
|
304
300
|
@pulumi.getter
|
|
305
301
|
def project(self) -> pulumi.Output[str]:
|
|
306
302
|
"""
|
|
307
|
-
|
|
303
|
+
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.
|
|
308
304
|
"""
|
|
309
305
|
return pulumi.get(self, "project")
|
|
310
306
|
|
pulumi_aiven/project_vpc.py
CHANGED
|
@@ -19,9 +19,9 @@ class ProjectVpcArgs:
|
|
|
19
19
|
project: pulumi.Input[str]):
|
|
20
20
|
"""
|
|
21
21
|
The set of arguments for constructing a ProjectVpc resource.
|
|
22
|
-
:param pulumi.Input[str] cloud_name:
|
|
23
|
-
:param pulumi.Input[str] network_cidr: Network address range used by the VPC
|
|
24
|
-
:param pulumi.Input[str] project:
|
|
22
|
+
:param pulumi.Input[str] cloud_name: The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource.
|
|
23
|
+
:param pulumi.Input[str] network_cidr: Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
24
|
+
: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.
|
|
25
25
|
"""
|
|
26
26
|
pulumi.set(__self__, "cloud_name", cloud_name)
|
|
27
27
|
pulumi.set(__self__, "network_cidr", network_cidr)
|
|
@@ -31,7 +31,7 @@ class ProjectVpcArgs:
|
|
|
31
31
|
@pulumi.getter(name="cloudName")
|
|
32
32
|
def cloud_name(self) -> pulumi.Input[str]:
|
|
33
33
|
"""
|
|
34
|
-
|
|
34
|
+
The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource.
|
|
35
35
|
"""
|
|
36
36
|
return pulumi.get(self, "cloud_name")
|
|
37
37
|
|
|
@@ -43,7 +43,7 @@ class ProjectVpcArgs:
|
|
|
43
43
|
@pulumi.getter(name="networkCidr")
|
|
44
44
|
def network_cidr(self) -> pulumi.Input[str]:
|
|
45
45
|
"""
|
|
46
|
-
Network address range used by the VPC
|
|
46
|
+
Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
47
47
|
"""
|
|
48
48
|
return pulumi.get(self, "network_cidr")
|
|
49
49
|
|
|
@@ -55,7 +55,7 @@ class ProjectVpcArgs:
|
|
|
55
55
|
@pulumi.getter
|
|
56
56
|
def project(self) -> pulumi.Input[str]:
|
|
57
57
|
"""
|
|
58
|
-
|
|
58
|
+
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.
|
|
59
59
|
"""
|
|
60
60
|
return pulumi.get(self, "project")
|
|
61
61
|
|
|
@@ -73,9 +73,9 @@ class _ProjectVpcState:
|
|
|
73
73
|
state: Optional[pulumi.Input[str]] = None):
|
|
74
74
|
"""
|
|
75
75
|
Input properties used for looking up and filtering ProjectVpc resources.
|
|
76
|
-
:param pulumi.Input[str] cloud_name:
|
|
77
|
-
:param pulumi.Input[str] network_cidr: Network address range used by the VPC
|
|
78
|
-
:param pulumi.Input[str] project:
|
|
76
|
+
:param pulumi.Input[str] cloud_name: The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource.
|
|
77
|
+
:param pulumi.Input[str] network_cidr: Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
78
|
+
: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.
|
|
79
79
|
:param pulumi.Input[str] state: State of the VPC. The possible values are `APPROVED`, `ACTIVE`, `DELETING` and `DELETED`.
|
|
80
80
|
"""
|
|
81
81
|
if cloud_name is not None:
|
|
@@ -91,7 +91,7 @@ class _ProjectVpcState:
|
|
|
91
91
|
@pulumi.getter(name="cloudName")
|
|
92
92
|
def cloud_name(self) -> Optional[pulumi.Input[str]]:
|
|
93
93
|
"""
|
|
94
|
-
|
|
94
|
+
The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource.
|
|
95
95
|
"""
|
|
96
96
|
return pulumi.get(self, "cloud_name")
|
|
97
97
|
|
|
@@ -103,7 +103,7 @@ class _ProjectVpcState:
|
|
|
103
103
|
@pulumi.getter(name="networkCidr")
|
|
104
104
|
def network_cidr(self) -> Optional[pulumi.Input[str]]:
|
|
105
105
|
"""
|
|
106
|
-
Network address range used by the VPC
|
|
106
|
+
Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
107
107
|
"""
|
|
108
108
|
return pulumi.get(self, "network_cidr")
|
|
109
109
|
|
|
@@ -115,7 +115,7 @@ class _ProjectVpcState:
|
|
|
115
115
|
@pulumi.getter
|
|
116
116
|
def project(self) -> Optional[pulumi.Input[str]]:
|
|
117
117
|
"""
|
|
118
|
-
|
|
118
|
+
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.
|
|
119
119
|
"""
|
|
120
120
|
return pulumi.get(self, "project")
|
|
121
121
|
|
|
@@ -146,19 +146,31 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
146
146
|
project: Optional[pulumi.Input[str]] = None,
|
|
147
147
|
__props__=None):
|
|
148
148
|
"""
|
|
149
|
-
|
|
149
|
+
Creates and manages a VPC for an Aiven project.
|
|
150
|
+
|
|
151
|
+
## Example Usage
|
|
152
|
+
|
|
153
|
+
```python
|
|
154
|
+
import pulumi
|
|
155
|
+
import pulumi_aiven as aiven
|
|
156
|
+
|
|
157
|
+
example_vpc = aiven.ProjectVpc("example_vpc",
|
|
158
|
+
project=example_project["project"],
|
|
159
|
+
cloud_name="google-europe-west1",
|
|
160
|
+
network_cidr="192.168.1.0/24")
|
|
161
|
+
```
|
|
150
162
|
|
|
151
163
|
## Import
|
|
152
164
|
|
|
153
165
|
```sh
|
|
154
|
-
$ pulumi import aiven:index/projectVpc:ProjectVpc
|
|
166
|
+
$ pulumi import aiven:index/projectVpc:ProjectVpc example_vpc PROJECT/ID
|
|
155
167
|
```
|
|
156
168
|
|
|
157
169
|
:param str resource_name: The name of the resource.
|
|
158
170
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
159
|
-
:param pulumi.Input[str] cloud_name:
|
|
160
|
-
:param pulumi.Input[str] network_cidr: Network address range used by the VPC
|
|
161
|
-
:param pulumi.Input[str] project:
|
|
171
|
+
:param pulumi.Input[str] cloud_name: The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource.
|
|
172
|
+
:param pulumi.Input[str] network_cidr: Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
173
|
+
: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.
|
|
162
174
|
"""
|
|
163
175
|
...
|
|
164
176
|
@overload
|
|
@@ -167,12 +179,24 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
167
179
|
args: ProjectVpcArgs,
|
|
168
180
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
169
181
|
"""
|
|
170
|
-
|
|
182
|
+
Creates and manages a VPC for an Aiven project.
|
|
183
|
+
|
|
184
|
+
## Example Usage
|
|
185
|
+
|
|
186
|
+
```python
|
|
187
|
+
import pulumi
|
|
188
|
+
import pulumi_aiven as aiven
|
|
189
|
+
|
|
190
|
+
example_vpc = aiven.ProjectVpc("example_vpc",
|
|
191
|
+
project=example_project["project"],
|
|
192
|
+
cloud_name="google-europe-west1",
|
|
193
|
+
network_cidr="192.168.1.0/24")
|
|
194
|
+
```
|
|
171
195
|
|
|
172
196
|
## Import
|
|
173
197
|
|
|
174
198
|
```sh
|
|
175
|
-
$ pulumi import aiven:index/projectVpc:ProjectVpc
|
|
199
|
+
$ pulumi import aiven:index/projectVpc:ProjectVpc example_vpc PROJECT/ID
|
|
176
200
|
```
|
|
177
201
|
|
|
178
202
|
:param str resource_name: The name of the resource.
|
|
@@ -233,9 +257,9 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
233
257
|
:param str resource_name: The unique name of the resulting resource.
|
|
234
258
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
235
259
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
236
|
-
:param pulumi.Input[str] cloud_name:
|
|
237
|
-
:param pulumi.Input[str] network_cidr: Network address range used by the VPC
|
|
238
|
-
:param pulumi.Input[str] project:
|
|
260
|
+
:param pulumi.Input[str] cloud_name: The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource.
|
|
261
|
+
:param pulumi.Input[str] network_cidr: Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
262
|
+
: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.
|
|
239
263
|
:param pulumi.Input[str] state: State of the VPC. The possible values are `APPROVED`, `ACTIVE`, `DELETING` and `DELETED`.
|
|
240
264
|
"""
|
|
241
265
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -252,7 +276,7 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
252
276
|
@pulumi.getter(name="cloudName")
|
|
253
277
|
def cloud_name(self) -> pulumi.Output[str]:
|
|
254
278
|
"""
|
|
255
|
-
|
|
279
|
+
The cloud provider and region where the service is hosted in the format `CLOUD_PROVIDER-REGION_NAME`. For example, `google-europe-west1` or `aws-us-east-2`. Changing this property forces recreation of the resource.
|
|
256
280
|
"""
|
|
257
281
|
return pulumi.get(self, "cloud_name")
|
|
258
282
|
|
|
@@ -260,7 +284,7 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
260
284
|
@pulumi.getter(name="networkCidr")
|
|
261
285
|
def network_cidr(self) -> pulumi.Output[str]:
|
|
262
286
|
"""
|
|
263
|
-
Network address range used by the VPC
|
|
287
|
+
Network address range used by the VPC. For example, `192.168.0.0/24`.
|
|
264
288
|
"""
|
|
265
289
|
return pulumi.get(self, "network_cidr")
|
|
266
290
|
|
|
@@ -268,7 +292,7 @@ class ProjectVpc(pulumi.CustomResource):
|
|
|
268
292
|
@pulumi.getter
|
|
269
293
|
def project(self) -> pulumi.Output[str]:
|
|
270
294
|
"""
|
|
271
|
-
|
|
295
|
+
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.
|
|
272
296
|
"""
|
|
273
297
|
return pulumi.get(self, "project")
|
|
274
298
|
|