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.

Files changed (132) hide show
  1. pulumi_aiven/_inputs.py +200 -262
  2. pulumi_aiven/account.py +2 -6
  3. pulumi_aiven/account_authentication.py +2 -2
  4. pulumi_aiven/account_team.py +6 -6
  5. pulumi_aiven/account_team_member.py +6 -10
  6. pulumi_aiven/account_team_project.py +12 -12
  7. pulumi_aiven/aws_privatelink.py +18 -22
  8. pulumi_aiven/aws_vpc_peering_connection.py +8 -12
  9. pulumi_aiven/azure_privatelink.py +18 -22
  10. pulumi_aiven/azure_privatelink_connection_approval.py +112 -14
  11. pulumi_aiven/azure_vpc_peering_connection.py +6 -10
  12. pulumi_aiven/billing_group.py +18 -18
  13. pulumi_aiven/cassandra.py +25 -57
  14. pulumi_aiven/cassandra_user.py +18 -22
  15. pulumi_aiven/clickhouse.py +25 -57
  16. pulumi_aiven/clickhouse_database.py +24 -26
  17. pulumi_aiven/clickhouse_grant.py +35 -37
  18. pulumi_aiven/clickhouse_role.py +16 -20
  19. pulumi_aiven/clickhouse_user.py +18 -22
  20. pulumi_aiven/connection_pool.py +24 -28
  21. pulumi_aiven/dragonfly.py +124 -263
  22. pulumi_aiven/flink.py +32 -36
  23. pulumi_aiven/flink_application.py +22 -24
  24. pulumi_aiven/flink_application_deployment.py +21 -21
  25. pulumi_aiven/flink_application_version.py +96 -14
  26. pulumi_aiven/gcp_privatelink.py +21 -21
  27. pulumi_aiven/gcp_privatelink_connection_approval.py +21 -21
  28. pulumi_aiven/gcp_vpc_peering_connection.py +4 -8
  29. pulumi_aiven/get_account.py +0 -4
  30. pulumi_aiven/get_aws_privatelink.py +10 -14
  31. pulumi_aiven/get_aws_vpc_peering_connection.py +6 -10
  32. pulumi_aiven/get_azure_privatelink.py +10 -14
  33. pulumi_aiven/get_azure_vpc_peering_connection.py +2 -6
  34. pulumi_aiven/get_billing_group.py +2 -2
  35. pulumi_aiven/get_cassanda.py +7 -24
  36. pulumi_aiven/get_cassandra.py +7 -24
  37. pulumi_aiven/get_cassandra_user.py +10 -14
  38. pulumi_aiven/get_clickhouse.py +7 -24
  39. pulumi_aiven/get_clickhouse_database.py +10 -14
  40. pulumi_aiven/get_clickhouse_user.py +10 -14
  41. pulumi_aiven/get_connection_pool.py +10 -14
  42. pulumi_aiven/get_dragonfly.py +27 -20
  43. pulumi_aiven/get_flink.py +6 -10
  44. pulumi_aiven/get_flink_application.py +8 -12
  45. pulumi_aiven/get_flink_application_version.py +8 -12
  46. pulumi_aiven/get_gcp_vpc_peering_connection.py +2 -6
  47. pulumi_aiven/get_grafana.py +7 -24
  48. pulumi_aiven/get_kafka.py +13 -17
  49. pulumi_aiven/get_kafka_acl.py +10 -14
  50. pulumi_aiven/get_kafka_connect.py +7 -24
  51. pulumi_aiven/get_kafka_connector.py +10 -14
  52. pulumi_aiven/get_kafka_mirror_maker.py +7 -24
  53. pulumi_aiven/get_kafka_schema.py +10 -14
  54. pulumi_aiven/get_kafka_schema_configuration.py +10 -14
  55. pulumi_aiven/get_kafka_schema_registry_acl.py +6 -6
  56. pulumi_aiven/get_kafka_topic.py +16 -20
  57. pulumi_aiven/get_kafka_user.py +10 -14
  58. pulumi_aiven/get_m3_aggregator.py +7 -24
  59. pulumi_aiven/get_m3_db.py +7 -24
  60. pulumi_aiven/get_m3db_user.py +10 -14
  61. pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
  62. pulumi_aiven/get_my_sql.py +7 -24
  63. pulumi_aiven/get_mysql_database.py +10 -14
  64. pulumi_aiven/get_mysql_user.py +10 -14
  65. pulumi_aiven/get_open_search.py +6 -10
  66. pulumi_aiven/get_open_search_acl_config.py +10 -14
  67. pulumi_aiven/get_open_search_acl_rule.py +10 -14
  68. pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
  69. pulumi_aiven/get_opensearch_user.py +10 -14
  70. pulumi_aiven/get_organization.py +0 -4
  71. pulumi_aiven/get_organization_user_group.py +2 -6
  72. pulumi_aiven/get_pg.py +6 -10
  73. pulumi_aiven/get_pg_database.py +10 -14
  74. pulumi_aiven/get_pg_user.py +10 -14
  75. pulumi_aiven/get_project.py +17 -21
  76. pulumi_aiven/get_project_user.py +9 -13
  77. pulumi_aiven/get_project_vpc.py +2 -6
  78. pulumi_aiven/get_redis.py +7 -24
  79. pulumi_aiven/get_redis_user.py +10 -14
  80. pulumi_aiven/get_service_component.py +4 -8
  81. pulumi_aiven/get_service_integration.py +19 -33
  82. pulumi_aiven/get_service_integration_endpoint.py +2 -6
  83. pulumi_aiven/get_transit_gateway_vpc_attachment.py +2 -6
  84. pulumi_aiven/grafana.py +82 -267
  85. pulumi_aiven/influx_db.py +21 -21
  86. pulumi_aiven/influxdb_database.py +21 -21
  87. pulumi_aiven/influxdb_user.py +21 -21
  88. pulumi_aiven/kafka.py +50 -54
  89. pulumi_aiven/kafka_acl.py +20 -24
  90. pulumi_aiven/kafka_connect.py +80 -267
  91. pulumi_aiven/kafka_connector.py +26 -30
  92. pulumi_aiven/kafka_mirror_maker.py +80 -267
  93. pulumi_aiven/kafka_schema.py +18 -22
  94. pulumi_aiven/kafka_schema_configuration.py +20 -24
  95. pulumi_aiven/kafka_schema_registry_acl.py +54 -14
  96. pulumi_aiven/kafka_topic.py +84 -46
  97. pulumi_aiven/kafka_user.py +18 -22
  98. pulumi_aiven/m3_aggregator.py +80 -267
  99. pulumi_aiven/m3_db.py +80 -267
  100. pulumi_aiven/m3db_user.py +16 -20
  101. pulumi_aiven/mirror_maker_replication_flow.py +22 -26
  102. pulumi_aiven/my_sql.py +80 -267
  103. pulumi_aiven/mysql_database.py +20 -24
  104. pulumi_aiven/mysql_user.py +18 -22
  105. pulumi_aiven/open_search.py +27 -31
  106. pulumi_aiven/open_search_acl_config.py +28 -36
  107. pulumi_aiven/open_search_acl_rule.py +36 -40
  108. pulumi_aiven/opensearch_security_plugin_config.py +28 -32
  109. pulumi_aiven/opensearch_user.py +18 -22
  110. pulumi_aiven/organization.py +2 -6
  111. pulumi_aiven/organization_group_project.py +46 -0
  112. pulumi_aiven/organization_user.py +2 -20
  113. pulumi_aiven/organization_user_group.py +4 -6
  114. pulumi_aiven/organization_user_group_member.py +8 -10
  115. pulumi_aiven/organizational_unit.py +6 -6
  116. pulumi_aiven/outputs.py +271 -390
  117. pulumi_aiven/pg.py +30 -30
  118. pulumi_aiven/pg_database.py +20 -24
  119. pulumi_aiven/pg_user.py +18 -22
  120. pulumi_aiven/project.py +75 -79
  121. pulumi_aiven/project_user.py +24 -28
  122. pulumi_aiven/project_vpc.py +31 -7
  123. pulumi_aiven/redis.py +80 -267
  124. pulumi_aiven/redis_user.py +18 -22
  125. pulumi_aiven/service_integration.py +54 -58
  126. pulumi_aiven/static_ip.py +7 -7
  127. pulumi_aiven/transit_gateway_vpc_attachment.py +4 -8
  128. {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/METADATA +1 -1
  129. pulumi_aiven-6.14.0.dist-info/RECORD +150 -0
  130. pulumi_aiven-6.13.0a1711361534.dist-info/RECORD +0 -150
  131. {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
  132. {pulumi_aiven-6.13.0a1711361534.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
@@ -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. Should be lowercase. Changing this property forces recreation of the resource.
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: 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.
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. Should be lowercase. Changing this property forces recreation of the resource.
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
- 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.
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; adding user to a project sends an invitation to the target user and the actual membership is only created once the user accepts the invitation.
77
- :param pulumi.Input[str] email: Email address of the user. Should be lowercase. Changing this property forces recreation of the resource.
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: 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.
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; adding user to a project sends an invitation to the target user and the actual membership is only created once the user accepts the invitation.
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. Should be lowercase. Changing this property forces recreation of the resource.
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
- 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.
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
- The Project User resource allows the creation and management of Aiven Project Users.
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=aiven_project["myproject"]["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 project/email
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. Should be lowercase. Changing this property forces recreation of the resource.
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: 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.
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
- The Project User resource allows the creation and management of Aiven Project Users.
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=aiven_project["myproject"]["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 project/email
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; adding user to a project sends an invitation to the target user and the actual membership is only created once the user accepts the invitation.
265
- :param pulumi.Input[str] email: Email address of the user. Should be lowercase. Changing this property forces recreation of the resource.
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: 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.
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; adding user to a project sends an invitation to the target user and the actual membership is only created once the user accepts the invitation.
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. Should be lowercase. Changing this property forces recreation of the resource.
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
- 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.
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
 
@@ -21,7 +21,7 @@ class ProjectVpcArgs:
21
21
  The set of arguments for constructing a ProjectVpc resource.
22
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
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: 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.
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)
@@ -55,7 +55,7 @@ class ProjectVpcArgs:
55
55
  @pulumi.getter
56
56
  def project(self) -> pulumi.Input[str]:
57
57
  """
58
- 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.
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
 
@@ -75,7 +75,7 @@ class _ProjectVpcState:
75
75
  Input properties used for looking up and filtering ProjectVpc resources.
76
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
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: 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.
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:
@@ -115,7 +115,7 @@ class _ProjectVpcState:
115
115
  @pulumi.getter
116
116
  def project(self) -> Optional[pulumi.Input[str]]:
117
117
  """
118
- 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.
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
 
@@ -148,6 +148,18 @@ class ProjectVpc(pulumi.CustomResource):
148
148
  """
149
149
  Creates and manages a VPC for an Aiven project.
150
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
+ ```
162
+
151
163
  ## Import
152
164
 
153
165
  ```sh
@@ -158,7 +170,7 @@ class ProjectVpc(pulumi.CustomResource):
158
170
  :param pulumi.ResourceOptions opts: Options for the resource.
159
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.
160
172
  :param pulumi.Input[str] network_cidr: Network address range used by the VPC. For example, `192.168.0.0/24`.
161
- :param pulumi.Input[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.
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
@@ -169,6 +181,18 @@ class ProjectVpc(pulumi.CustomResource):
169
181
  """
170
182
  Creates and manages a VPC for an Aiven project.
171
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
+ ```
195
+
172
196
  ## Import
173
197
 
174
198
  ```sh
@@ -235,7 +259,7 @@ class ProjectVpc(pulumi.CustomResource):
235
259
  :param pulumi.ResourceOptions opts: Options for the resource.
236
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.
237
261
  :param pulumi.Input[str] network_cidr: Network address range used by the VPC. For example, `192.168.0.0/24`.
238
- :param pulumi.Input[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.
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))
@@ -268,7 +292,7 @@ class ProjectVpc(pulumi.CustomResource):
268
292
  @pulumi.getter
269
293
  def project(self) -> pulumi.Output[str]:
270
294
  """
271
- 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.
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