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.

Files changed (136) hide show
  1. pulumi_aiven/__init__.py +28 -0
  2. pulumi_aiven/_inputs.py +2623 -1138
  3. pulumi_aiven/account.py +8 -8
  4. pulumi_aiven/account_authentication.py +8 -4
  5. pulumi_aiven/account_team.py +6 -6
  6. pulumi_aiven/account_team_member.py +27 -31
  7. pulumi_aiven/account_team_project.py +12 -12
  8. pulumi_aiven/aws_privatelink.py +39 -43
  9. pulumi_aiven/aws_vpc_peering_connection.py +62 -56
  10. pulumi_aiven/azure_privatelink.py +49 -53
  11. pulumi_aiven/azure_privatelink_connection_approval.py +131 -33
  12. pulumi_aiven/azure_vpc_peering_connection.py +76 -72
  13. pulumi_aiven/billing_group.py +18 -18
  14. pulumi_aiven/cassandra.py +25 -57
  15. pulumi_aiven/cassandra_user.py +25 -29
  16. pulumi_aiven/clickhouse.py +25 -57
  17. pulumi_aiven/clickhouse_database.py +31 -33
  18. pulumi_aiven/clickhouse_grant.py +56 -58
  19. pulumi_aiven/clickhouse_role.py +23 -27
  20. pulumi_aiven/clickhouse_user.py +25 -29
  21. pulumi_aiven/connection_pool.py +38 -42
  22. pulumi_aiven/dragonfly.py +1205 -0
  23. pulumi_aiven/flink.py +32 -36
  24. pulumi_aiven/flink_application.py +22 -24
  25. pulumi_aiven/flink_application_deployment.py +28 -28
  26. pulumi_aiven/flink_application_version.py +96 -14
  27. pulumi_aiven/gcp_privatelink.py +40 -40
  28. pulumi_aiven/gcp_privatelink_connection_approval.py +47 -47
  29. pulumi_aiven/gcp_vpc_peering_connection.py +39 -43
  30. pulumi_aiven/get_account.py +0 -4
  31. pulumi_aiven/get_account_team_member.py +9 -9
  32. pulumi_aiven/get_aws_privatelink.py +15 -19
  33. pulumi_aiven/get_aws_vpc_peering_connection.py +33 -27
  34. pulumi_aiven/get_azure_privatelink.py +17 -21
  35. pulumi_aiven/get_azure_vpc_peering_connection.py +50 -22
  36. pulumi_aiven/get_billing_group.py +2 -2
  37. pulumi_aiven/get_cassanda.py +7 -24
  38. pulumi_aiven/get_cassandra.py +7 -24
  39. pulumi_aiven/get_cassandra_user.py +13 -17
  40. pulumi_aiven/get_clickhouse.py +7 -24
  41. pulumi_aiven/get_clickhouse_database.py +13 -17
  42. pulumi_aiven/get_clickhouse_user.py +13 -17
  43. pulumi_aiven/get_connection_pool.py +14 -18
  44. pulumi_aiven/get_dragonfly.py +450 -0
  45. pulumi_aiven/get_flink.py +6 -10
  46. pulumi_aiven/get_flink_application.py +8 -12
  47. pulumi_aiven/get_flink_application_version.py +8 -12
  48. pulumi_aiven/get_gcp_vpc_peering_connection.py +18 -22
  49. pulumi_aiven/get_grafana.py +7 -24
  50. pulumi_aiven/get_kafka.py +13 -17
  51. pulumi_aiven/get_kafka_acl.py +19 -23
  52. pulumi_aiven/get_kafka_connect.py +7 -24
  53. pulumi_aiven/get_kafka_connector.py +13 -17
  54. pulumi_aiven/get_kafka_mirror_maker.py +7 -24
  55. pulumi_aiven/get_kafka_schema.py +13 -17
  56. pulumi_aiven/get_kafka_schema_configuration.py +11 -15
  57. pulumi_aiven/get_kafka_schema_registry_acl.py +15 -15
  58. pulumi_aiven/get_kafka_topic.py +19 -23
  59. pulumi_aiven/get_kafka_user.py +13 -17
  60. pulumi_aiven/get_m3_aggregator.py +7 -24
  61. pulumi_aiven/get_m3_db.py +7 -24
  62. pulumi_aiven/get_m3db_user.py +13 -17
  63. pulumi_aiven/get_mirror_maker_replication_flow.py +14 -18
  64. pulumi_aiven/get_my_sql.py +7 -24
  65. pulumi_aiven/get_mysql_database.py +13 -17
  66. pulumi_aiven/get_mysql_user.py +13 -17
  67. pulumi_aiven/get_open_search.py +6 -10
  68. pulumi_aiven/get_open_search_acl_config.py +10 -14
  69. pulumi_aiven/get_open_search_acl_rule.py +16 -20
  70. pulumi_aiven/get_opensearch_security_plugin_config.py +10 -14
  71. pulumi_aiven/get_opensearch_user.py +13 -17
  72. pulumi_aiven/get_organization.py +8 -12
  73. pulumi_aiven/get_organization_user_group.py +29 -9
  74. pulumi_aiven/get_organizational_unit.py +9 -9
  75. pulumi_aiven/get_pg.py +6 -10
  76. pulumi_aiven/get_pg_database.py +15 -19
  77. pulumi_aiven/get_pg_user.py +13 -17
  78. pulumi_aiven/get_project.py +17 -21
  79. pulumi_aiven/get_project_user.py +9 -13
  80. pulumi_aiven/get_project_vpc.py +11 -17
  81. pulumi_aiven/get_redis.py +7 -24
  82. pulumi_aiven/get_redis_user.py +17 -21
  83. pulumi_aiven/get_service_component.py +4 -8
  84. pulumi_aiven/get_service_integration.py +75 -37
  85. pulumi_aiven/get_service_integration_endpoint.py +3 -7
  86. pulumi_aiven/get_transit_gateway_vpc_attachment.py +11 -15
  87. pulumi_aiven/grafana.py +82 -267
  88. pulumi_aiven/influx_db.py +28 -28
  89. pulumi_aiven/influxdb_database.py +35 -35
  90. pulumi_aiven/influxdb_user.py +42 -42
  91. pulumi_aiven/kafka.py +50 -54
  92. pulumi_aiven/kafka_acl.py +41 -45
  93. pulumi_aiven/kafka_connect.py +80 -267
  94. pulumi_aiven/kafka_connector.py +33 -37
  95. pulumi_aiven/kafka_mirror_maker.py +80 -267
  96. pulumi_aiven/kafka_schema.py +51 -51
  97. pulumi_aiven/kafka_schema_configuration.py +20 -24
  98. pulumi_aiven/kafka_schema_registry_acl.py +75 -35
  99. pulumi_aiven/kafka_topic.py +91 -53
  100. pulumi_aiven/kafka_user.py +25 -29
  101. pulumi_aiven/m3_aggregator.py +80 -267
  102. pulumi_aiven/m3_db.py +80 -267
  103. pulumi_aiven/m3db_user.py +23 -27
  104. pulumi_aiven/mirror_maker_replication_flow.py +58 -60
  105. pulumi_aiven/my_sql.py +80 -267
  106. pulumi_aiven/mysql_database.py +27 -31
  107. pulumi_aiven/mysql_user.py +25 -29
  108. pulumi_aiven/open_search.py +27 -31
  109. pulumi_aiven/open_search_acl_config.py +28 -36
  110. pulumi_aiven/open_search_acl_rule.py +50 -54
  111. pulumi_aiven/opensearch_security_plugin_config.py +64 -16
  112. pulumi_aiven/opensearch_user.py +25 -29
  113. pulumi_aiven/organization.py +10 -14
  114. pulumi_aiven/organization_group_project.py +336 -0
  115. pulumi_aiven/organization_user.py +16 -34
  116. pulumi_aiven/organization_user_group.py +59 -23
  117. pulumi_aiven/organization_user_group_member.py +350 -0
  118. pulumi_aiven/organizational_unit.py +36 -36
  119. pulumi_aiven/outputs.py +3539 -1136
  120. pulumi_aiven/pg.py +30 -30
  121. pulumi_aiven/pg_database.py +41 -45
  122. pulumi_aiven/pg_user.py +25 -29
  123. pulumi_aiven/project.py +91 -69
  124. pulumi_aiven/project_user.py +24 -28
  125. pulumi_aiven/project_vpc.py +49 -25
  126. pulumi_aiven/redis.py +80 -267
  127. pulumi_aiven/redis_user.py +53 -57
  128. pulumi_aiven/service_integration.py +249 -65
  129. pulumi_aiven/service_integration_endpoint.py +7 -7
  130. pulumi_aiven/static_ip.py +14 -14
  131. pulumi_aiven/transit_gateway_vpc_attachment.py +25 -29
  132. {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/METADATA +1 -1
  133. pulumi_aiven-6.14.0.dist-info/RECORD +150 -0
  134. pulumi_aiven-6.13.0a1711027602.dist-info/RECORD +0 -146
  135. {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/WHEEL +0 -0
  136. {pulumi_aiven-6.13.0a1711027602.dist-info → pulumi_aiven-6.14.0.dist-info}/top_level.txt +0 -0
@@ -24,12 +24,12 @@ class ClickhouseGrantArgs:
24
24
  user: Optional[pulumi.Input[str]] = None):
25
25
  """
26
26
  The set of arguments for constructing a ClickhouseGrant resource.
27
- :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. This property cannot be changed, doing so forces recreation of the resource.
28
- :param pulumi.Input[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.
29
- :param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantPrivilegeGrantArgs']]] privilege_grants: Configuration to grant a privilege. This property cannot be changed, doing so forces recreation of the resource.
30
- :param pulumi.Input[str] role: The role that is to be granted. 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.
31
- :param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantRoleGrantArgs']]] role_grants: Configuration to grant a role. This property cannot be changed, doing so forces recreation of the resource.
32
- :param pulumi.Input[str] user: The user to grant privileges or roles 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.
27
+ :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.
28
+ :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.
29
+ :param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantPrivilegeGrantArgs']]] privilege_grants: Configuration to grant a privilege. Changing this property forces recreation of the resource.
30
+ :param pulumi.Input[str] role: The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
31
+ :param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantRoleGrantArgs']]] role_grants: Configuration to grant a role. Changing this property forces recreation of the resource.
32
+ :param pulumi.Input[str] user: The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
33
33
  """
34
34
  pulumi.set(__self__, "project", project)
35
35
  pulumi.set(__self__, "service_name", service_name)
@@ -46,7 +46,7 @@ class ClickhouseGrantArgs:
46
46
  @pulumi.getter
47
47
  def project(self) -> pulumi.Input[str]:
48
48
  """
49
- 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.
49
+ 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.
50
50
  """
51
51
  return pulumi.get(self, "project")
52
52
 
@@ -58,7 +58,7 @@ class ClickhouseGrantArgs:
58
58
  @pulumi.getter(name="serviceName")
59
59
  def service_name(self) -> pulumi.Input[str]:
60
60
  """
61
- 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.
61
+ 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.
62
62
  """
63
63
  return pulumi.get(self, "service_name")
64
64
 
@@ -70,7 +70,7 @@ class ClickhouseGrantArgs:
70
70
  @pulumi.getter(name="privilegeGrants")
71
71
  def privilege_grants(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantPrivilegeGrantArgs']]]]:
72
72
  """
73
- Configuration to grant a privilege. This property cannot be changed, doing so forces recreation of the resource.
73
+ Configuration to grant a privilege. Changing this property forces recreation of the resource.
74
74
  """
75
75
  return pulumi.get(self, "privilege_grants")
76
76
 
@@ -82,7 +82,7 @@ class ClickhouseGrantArgs:
82
82
  @pulumi.getter
83
83
  def role(self) -> Optional[pulumi.Input[str]]:
84
84
  """
85
- The role that is to be granted. 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.
85
+ The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
86
86
  """
87
87
  return pulumi.get(self, "role")
88
88
 
@@ -94,7 +94,7 @@ class ClickhouseGrantArgs:
94
94
  @pulumi.getter(name="roleGrants")
95
95
  def role_grants(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantRoleGrantArgs']]]]:
96
96
  """
97
- Configuration to grant a role. This property cannot be changed, doing so forces recreation of the resource.
97
+ Configuration to grant a role. Changing this property forces recreation of the resource.
98
98
  """
99
99
  return pulumi.get(self, "role_grants")
100
100
 
@@ -106,7 +106,7 @@ class ClickhouseGrantArgs:
106
106
  @pulumi.getter
107
107
  def user(self) -> Optional[pulumi.Input[str]]:
108
108
  """
109
- The user to grant privileges or roles 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.
109
+ The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
110
110
  """
111
111
  return pulumi.get(self, "user")
112
112
 
@@ -126,12 +126,12 @@ class _ClickhouseGrantState:
126
126
  user: Optional[pulumi.Input[str]] = None):
127
127
  """
128
128
  Input properties used for looking up and filtering ClickhouseGrant resources.
129
- :param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantPrivilegeGrantArgs']]] privilege_grants: Configuration to grant a privilege. This property cannot be changed, doing so forces recreation of the resource.
130
- :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. This property cannot be changed, doing so forces recreation of the resource.
131
- :param pulumi.Input[str] role: The role that is to be granted. 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.
132
- :param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantRoleGrantArgs']]] role_grants: Configuration to grant a role. This property cannot be changed, doing so forces recreation of the resource.
133
- :param pulumi.Input[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.
134
- :param pulumi.Input[str] user: The user to grant privileges or roles 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.
129
+ :param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantPrivilegeGrantArgs']]] privilege_grants: Configuration to grant a privilege. Changing this property forces recreation of the resource.
130
+ :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.
131
+ :param pulumi.Input[str] role: The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
132
+ :param pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantRoleGrantArgs']]] role_grants: Configuration to grant a role. Changing this property forces recreation of the resource.
133
+ :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.
134
+ :param pulumi.Input[str] user: The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
135
135
  """
136
136
  if privilege_grants is not None:
137
137
  pulumi.set(__self__, "privilege_grants", privilege_grants)
@@ -150,7 +150,7 @@ class _ClickhouseGrantState:
150
150
  @pulumi.getter(name="privilegeGrants")
151
151
  def privilege_grants(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantPrivilegeGrantArgs']]]]:
152
152
  """
153
- Configuration to grant a privilege. This property cannot be changed, doing so forces recreation of the resource.
153
+ Configuration to grant a privilege. Changing this property forces recreation of the resource.
154
154
  """
155
155
  return pulumi.get(self, "privilege_grants")
156
156
 
@@ -162,7 +162,7 @@ class _ClickhouseGrantState:
162
162
  @pulumi.getter
163
163
  def project(self) -> Optional[pulumi.Input[str]]:
164
164
  """
165
- 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.
165
+ 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.
166
166
  """
167
167
  return pulumi.get(self, "project")
168
168
 
@@ -174,7 +174,7 @@ class _ClickhouseGrantState:
174
174
  @pulumi.getter
175
175
  def role(self) -> Optional[pulumi.Input[str]]:
176
176
  """
177
- The role that is to be granted. 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.
177
+ The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
178
178
  """
179
179
  return pulumi.get(self, "role")
180
180
 
@@ -186,7 +186,7 @@ class _ClickhouseGrantState:
186
186
  @pulumi.getter(name="roleGrants")
187
187
  def role_grants(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ClickhouseGrantRoleGrantArgs']]]]:
188
188
  """
189
- Configuration to grant a role. This property cannot be changed, doing so forces recreation of the resource.
189
+ Configuration to grant a role. Changing this property forces recreation of the resource.
190
190
  """
191
191
  return pulumi.get(self, "role_grants")
192
192
 
@@ -198,7 +198,7 @@ class _ClickhouseGrantState:
198
198
  @pulumi.getter(name="serviceName")
199
199
  def service_name(self) -> Optional[pulumi.Input[str]]:
200
200
  """
201
- 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.
201
+ 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.
202
202
  """
203
203
  return pulumi.get(self, "service_name")
204
204
 
@@ -210,7 +210,7 @@ class _ClickhouseGrantState:
210
210
  @pulumi.getter
211
211
  def user(self) -> Optional[pulumi.Input[str]]:
212
212
  """
213
- The user to grant privileges or roles 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.
213
+ The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
214
214
  """
215
215
  return pulumi.get(self, "user")
216
216
 
@@ -241,27 +241,27 @@ class ClickhouseGrant(pulumi.CustomResource):
241
241
 
242
242
  ## Example Usage
243
243
 
244
- <!--Start PulumiCodeChooser -->
245
244
  ```python
246
245
  import pulumi
247
246
  import pulumi_aiven as aiven
248
247
 
249
248
  clickhouse = aiven.Clickhouse("clickhouse",
250
- project=var["aiven_project_name"],
249
+ project=aiven_project_name,
251
250
  cloud_name="google-europe-west1",
252
251
  plan="startup-8",
253
252
  service_name="exapmle-clickhouse")
254
253
  demodb = aiven.ClickhouseDatabase("demodb",
255
254
  project=clickhouse.project,
256
- service_name=clickhouse.service_name)
257
- demo_clickhouse_role = aiven.ClickhouseRole("demoClickhouseRole",
255
+ service_name=clickhouse.service_name,
256
+ name="demo")
257
+ demo = aiven.ClickhouseRole("demo",
258
258
  project=clickhouse.project,
259
259
  service_name=clickhouse.service_name,
260
260
  role="demo-role")
261
261
  demo_role_grant = aiven.ClickhouseGrant("demo-role-grant",
262
262
  project=clickhouse.project,
263
263
  service_name=clickhouse.service_name,
264
- role=demo_clickhouse_role.role,
264
+ role=demo.role,
265
265
  privilege_grants=[
266
266
  aiven.ClickhouseGrantPrivilegeGrantArgs(
267
267
  privilege="INSERT",
@@ -273,7 +273,7 @@ class ClickhouseGrant(pulumi.CustomResource):
273
273
  database=demodb.name,
274
274
  ),
275
275
  ])
276
- demo_clickhouse_user = aiven.ClickhouseUser("demoClickhouseUser",
276
+ demo_clickhouse_user = aiven.ClickhouseUser("demo",
277
277
  project=clickhouse.project,
278
278
  service_name=clickhouse.service_name,
279
279
  username="demo-user")
@@ -282,19 +282,18 @@ class ClickhouseGrant(pulumi.CustomResource):
282
282
  service_name=clickhouse.service_name,
283
283
  user=demo_clickhouse_user.username,
284
284
  role_grants=[aiven.ClickhouseGrantRoleGrantArgs(
285
- role=demo_clickhouse_role.role,
285
+ role=demo.role,
286
286
  )])
287
287
  ```
288
- <!--End PulumiCodeChooser -->
289
288
 
290
289
  :param str resource_name: The name of the resource.
291
290
  :param pulumi.ResourceOptions opts: Options for the resource.
292
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantPrivilegeGrantArgs']]]] privilege_grants: Configuration to grant a privilege. This property cannot be changed, doing so forces recreation of the resource.
293
- :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. This property cannot be changed, doing so forces recreation of the resource.
294
- :param pulumi.Input[str] role: The role that is to be granted. 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.
295
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantRoleGrantArgs']]]] role_grants: Configuration to grant a role. This property cannot be changed, doing so forces recreation of the resource.
296
- :param pulumi.Input[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.
297
- :param pulumi.Input[str] user: The user to grant privileges or roles 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.
291
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantPrivilegeGrantArgs']]]] privilege_grants: Configuration to grant a privilege. Changing this property forces recreation of the resource.
292
+ :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.
293
+ :param pulumi.Input[str] role: The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
294
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantRoleGrantArgs']]]] role_grants: Configuration to grant a role. Changing this property forces recreation of the resource.
295
+ :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.
296
+ :param pulumi.Input[str] user: The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
298
297
  """
299
298
  ...
300
299
  @overload
@@ -312,27 +311,27 @@ class ClickhouseGrant(pulumi.CustomResource):
312
311
 
313
312
  ## Example Usage
314
313
 
315
- <!--Start PulumiCodeChooser -->
316
314
  ```python
317
315
  import pulumi
318
316
  import pulumi_aiven as aiven
319
317
 
320
318
  clickhouse = aiven.Clickhouse("clickhouse",
321
- project=var["aiven_project_name"],
319
+ project=aiven_project_name,
322
320
  cloud_name="google-europe-west1",
323
321
  plan="startup-8",
324
322
  service_name="exapmle-clickhouse")
325
323
  demodb = aiven.ClickhouseDatabase("demodb",
326
324
  project=clickhouse.project,
327
- service_name=clickhouse.service_name)
328
- demo_clickhouse_role = aiven.ClickhouseRole("demoClickhouseRole",
325
+ service_name=clickhouse.service_name,
326
+ name="demo")
327
+ demo = aiven.ClickhouseRole("demo",
329
328
  project=clickhouse.project,
330
329
  service_name=clickhouse.service_name,
331
330
  role="demo-role")
332
331
  demo_role_grant = aiven.ClickhouseGrant("demo-role-grant",
333
332
  project=clickhouse.project,
334
333
  service_name=clickhouse.service_name,
335
- role=demo_clickhouse_role.role,
334
+ role=demo.role,
336
335
  privilege_grants=[
337
336
  aiven.ClickhouseGrantPrivilegeGrantArgs(
338
337
  privilege="INSERT",
@@ -344,7 +343,7 @@ class ClickhouseGrant(pulumi.CustomResource):
344
343
  database=demodb.name,
345
344
  ),
346
345
  ])
347
- demo_clickhouse_user = aiven.ClickhouseUser("demoClickhouseUser",
346
+ demo_clickhouse_user = aiven.ClickhouseUser("demo",
348
347
  project=clickhouse.project,
349
348
  service_name=clickhouse.service_name,
350
349
  username="demo-user")
@@ -353,10 +352,9 @@ class ClickhouseGrant(pulumi.CustomResource):
353
352
  service_name=clickhouse.service_name,
354
353
  user=demo_clickhouse_user.username,
355
354
  role_grants=[aiven.ClickhouseGrantRoleGrantArgs(
356
- role=demo_clickhouse_role.role,
355
+ role=demo.role,
357
356
  )])
358
357
  ```
359
- <!--End PulumiCodeChooser -->
360
358
 
361
359
  :param str resource_name: The name of the resource.
362
360
  :param ClickhouseGrantArgs args: The arguments to use to populate this resource's properties.
@@ -421,12 +419,12 @@ class ClickhouseGrant(pulumi.CustomResource):
421
419
  :param str resource_name: The unique name of the resulting resource.
422
420
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
423
421
  :param pulumi.ResourceOptions opts: Options for the resource.
424
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantPrivilegeGrantArgs']]]] privilege_grants: Configuration to grant a privilege. This property cannot be changed, doing so forces recreation of the resource.
425
- :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. This property cannot be changed, doing so forces recreation of the resource.
426
- :param pulumi.Input[str] role: The role that is to be granted. 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.
427
- :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantRoleGrantArgs']]]] role_grants: Configuration to grant a role. This property cannot be changed, doing so forces recreation of the resource.
428
- :param pulumi.Input[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.
429
- :param pulumi.Input[str] user: The user to grant privileges or roles 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.
422
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantPrivilegeGrantArgs']]]] privilege_grants: Configuration to grant a privilege. Changing this property forces recreation of the resource.
423
+ :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.
424
+ :param pulumi.Input[str] role: The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
425
+ :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ClickhouseGrantRoleGrantArgs']]]] role_grants: Configuration to grant a role. Changing this property forces recreation of the resource.
426
+ :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.
427
+ :param pulumi.Input[str] user: The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
430
428
  """
431
429
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
432
430
 
@@ -444,7 +442,7 @@ class ClickhouseGrant(pulumi.CustomResource):
444
442
  @pulumi.getter(name="privilegeGrants")
445
443
  def privilege_grants(self) -> pulumi.Output[Optional[Sequence['outputs.ClickhouseGrantPrivilegeGrant']]]:
446
444
  """
447
- Configuration to grant a privilege. This property cannot be changed, doing so forces recreation of the resource.
445
+ Configuration to grant a privilege. Changing this property forces recreation of the resource.
448
446
  """
449
447
  return pulumi.get(self, "privilege_grants")
450
448
 
@@ -452,7 +450,7 @@ class ClickhouseGrant(pulumi.CustomResource):
452
450
  @pulumi.getter
453
451
  def project(self) -> pulumi.Output[str]:
454
452
  """
455
- 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.
453
+ 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.
456
454
  """
457
455
  return pulumi.get(self, "project")
458
456
 
@@ -460,7 +458,7 @@ class ClickhouseGrant(pulumi.CustomResource):
460
458
  @pulumi.getter
461
459
  def role(self) -> pulumi.Output[Optional[str]]:
462
460
  """
463
- The role that is to be granted. 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
+ The role to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
464
462
  """
465
463
  return pulumi.get(self, "role")
466
464
 
@@ -468,7 +466,7 @@ class ClickhouseGrant(pulumi.CustomResource):
468
466
  @pulumi.getter(name="roleGrants")
469
467
  def role_grants(self) -> pulumi.Output[Optional[Sequence['outputs.ClickhouseGrantRoleGrant']]]:
470
468
  """
471
- Configuration to grant a role. This property cannot be changed, doing so forces recreation of the resource.
469
+ Configuration to grant a role. Changing this property forces recreation of the resource.
472
470
  """
473
471
  return pulumi.get(self, "role_grants")
474
472
 
@@ -476,7 +474,7 @@ class ClickhouseGrant(pulumi.CustomResource):
476
474
  @pulumi.getter(name="serviceName")
477
475
  def service_name(self) -> pulumi.Output[str]:
478
476
  """
479
- 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.
477
+ 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.
480
478
  """
481
479
  return pulumi.get(self, "service_name")
482
480
 
@@ -484,7 +482,7 @@ class ClickhouseGrant(pulumi.CustomResource):
484
482
  @pulumi.getter
485
483
  def user(self) -> pulumi.Output[Optional[str]]:
486
484
  """
487
- The user to grant privileges or roles 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.
485
+ The user to grant privileges or roles to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
488
486
  """
489
487
  return pulumi.get(self, "user")
490
488
 
@@ -19,9 +19,9 @@ class ClickhouseRoleArgs:
19
19
  service_name: pulumi.Input[str]):
20
20
  """
21
21
  The set of arguments for constructing a ClickhouseRole resource.
22
- :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. This property cannot be changed, doing so forces recreation of the resource.
23
- :param pulumi.Input[str] role: The role that is to be created. This property cannot be changed, doing so forces recreation of the resource.
24
- :param pulumi.Input[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.
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] role: The role that is to be created. Changing this property forces recreation of the resource.
24
+ :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.
25
25
  """
26
26
  pulumi.set(__self__, "project", project)
27
27
  pulumi.set(__self__, "role", role)
@@ -31,7 +31,7 @@ class ClickhouseRoleArgs:
31
31
  @pulumi.getter
32
32
  def project(self) -> pulumi.Input[str]:
33
33
  """
34
- 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.
34
+ 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.
35
35
  """
36
36
  return pulumi.get(self, "project")
37
37
 
@@ -43,7 +43,7 @@ class ClickhouseRoleArgs:
43
43
  @pulumi.getter
44
44
  def role(self) -> pulumi.Input[str]:
45
45
  """
46
- The role that is to be created. This property cannot be changed, doing so forces recreation of the resource.
46
+ The role that is to be created. Changing this property forces recreation of the resource.
47
47
  """
48
48
  return pulumi.get(self, "role")
49
49
 
@@ -55,7 +55,7 @@ class ClickhouseRoleArgs:
55
55
  @pulumi.getter(name="serviceName")
56
56
  def service_name(self) -> pulumi.Input[str]:
57
57
  """
58
- 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.
58
+ 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.
59
59
  """
60
60
  return pulumi.get(self, "service_name")
61
61
 
@@ -72,9 +72,9 @@ class _ClickhouseRoleState:
72
72
  service_name: Optional[pulumi.Input[str]] = None):
73
73
  """
74
74
  Input properties used for looking up and filtering ClickhouseRole resources.
75
- :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. This property cannot be changed, doing so forces recreation of the resource.
76
- :param pulumi.Input[str] role: The role that is to be created. This property cannot be changed, doing so forces recreation of the resource.
77
- :param pulumi.Input[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.
75
+ :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.
76
+ :param pulumi.Input[str] role: The role that is to be created. Changing this property forces recreation of the resource.
77
+ :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.
78
78
  """
79
79
  if project is not None:
80
80
  pulumi.set(__self__, "project", project)
@@ -87,7 +87,7 @@ class _ClickhouseRoleState:
87
87
  @pulumi.getter
88
88
  def project(self) -> Optional[pulumi.Input[str]]:
89
89
  """
90
- 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.
90
+ 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.
91
91
  """
92
92
  return pulumi.get(self, "project")
93
93
 
@@ -99,7 +99,7 @@ class _ClickhouseRoleState:
99
99
  @pulumi.getter
100
100
  def role(self) -> Optional[pulumi.Input[str]]:
101
101
  """
102
- The role that is to be created. This property cannot be changed, doing so forces recreation of the resource.
102
+ The role that is to be created. Changing this property forces recreation of the resource.
103
103
  """
104
104
  return pulumi.get(self, "role")
105
105
 
@@ -111,7 +111,7 @@ class _ClickhouseRoleState:
111
111
  @pulumi.getter(name="serviceName")
112
112
  def service_name(self) -> Optional[pulumi.Input[str]]:
113
113
  """
114
- 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.
114
+ 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.
115
115
  """
116
116
  return pulumi.get(self, "service_name")
117
117
 
@@ -134,7 +134,6 @@ class ClickhouseRole(pulumi.CustomResource):
134
134
 
135
135
  ## Example Usage
136
136
 
137
- <!--Start PulumiCodeChooser -->
138
137
  ```python
139
138
  import pulumi
140
139
  import pulumi_aiven as aiven
@@ -151,19 +150,18 @@ class ClickhouseRole(pulumi.CustomResource):
151
150
  project=bar.project,
152
151
  role="writer")
153
152
  ```
154
- <!--End PulumiCodeChooser -->
155
153
 
156
154
  ## Import
157
155
 
158
156
  ```sh
159
- $ pulumi import aiven:index/clickhouseRole:ClickhouseRole foo project/service_name/role
157
+ $ pulumi import aiven:index/clickhouseRole:ClickhouseRole foo PROJECT/SERVICE_NAME/ROLE
160
158
  ```
161
159
 
162
160
  :param str resource_name: The name of the resource.
163
161
  :param pulumi.ResourceOptions opts: Options for the resource.
164
- :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. This property cannot be changed, doing so forces recreation of the resource.
165
- :param pulumi.Input[str] role: The role that is to be created. This property cannot be changed, doing so forces recreation of the resource.
166
- :param pulumi.Input[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.
162
+ :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.
163
+ :param pulumi.Input[str] role: The role that is to be created. Changing this property forces recreation of the resource.
164
+ :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.
167
165
  """
168
166
  ...
169
167
  @overload
@@ -176,7 +174,6 @@ class ClickhouseRole(pulumi.CustomResource):
176
174
 
177
175
  ## Example Usage
178
176
 
179
- <!--Start PulumiCodeChooser -->
180
177
  ```python
181
178
  import pulumi
182
179
  import pulumi_aiven as aiven
@@ -193,12 +190,11 @@ class ClickhouseRole(pulumi.CustomResource):
193
190
  project=bar.project,
194
191
  role="writer")
195
192
  ```
196
- <!--End PulumiCodeChooser -->
197
193
 
198
194
  ## Import
199
195
 
200
196
  ```sh
201
- $ pulumi import aiven:index/clickhouseRole:ClickhouseRole foo project/service_name/role
197
+ $ pulumi import aiven:index/clickhouseRole:ClickhouseRole foo PROJECT/SERVICE_NAME/ROLE
202
198
  ```
203
199
 
204
200
  :param str resource_name: The name of the resource.
@@ -257,9 +253,9 @@ class ClickhouseRole(pulumi.CustomResource):
257
253
  :param str resource_name: The unique name of the resulting resource.
258
254
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
259
255
  :param pulumi.ResourceOptions opts: Options for the resource.
260
- :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. This property cannot be changed, doing so forces recreation of the resource.
261
- :param pulumi.Input[str] role: The role that is to be created. This property cannot be changed, doing so forces recreation of the resource.
262
- :param pulumi.Input[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.
256
+ :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.
257
+ :param pulumi.Input[str] role: The role that is to be created. Changing this property forces recreation of the resource.
258
+ :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.
263
259
  """
264
260
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
265
261
 
@@ -274,7 +270,7 @@ class ClickhouseRole(pulumi.CustomResource):
274
270
  @pulumi.getter
275
271
  def project(self) -> pulumi.Output[str]:
276
272
  """
277
- 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.
273
+ 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.
278
274
  """
279
275
  return pulumi.get(self, "project")
280
276
 
@@ -282,7 +278,7 @@ class ClickhouseRole(pulumi.CustomResource):
282
278
  @pulumi.getter
283
279
  def role(self) -> pulumi.Output[str]:
284
280
  """
285
- The role that is to be created. This property cannot be changed, doing so forces recreation of the resource.
281
+ The role that is to be created. Changing this property forces recreation of the resource.
286
282
  """
287
283
  return pulumi.get(self, "role")
288
284
 
@@ -290,7 +286,7 @@ class ClickhouseRole(pulumi.CustomResource):
290
286
  @pulumi.getter(name="serviceName")
291
287
  def service_name(self) -> pulumi.Output[str]:
292
288
  """
293
- 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.
289
+ 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.
294
290
  """
295
291
  return pulumi.get(self, "service_name")
296
292