@pulumi/aiven 4.4.0 → 4.5.1

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.
Files changed (313) hide show
  1. package/account.d.ts +13 -31
  2. package/account.js +4 -6
  3. package/account.js.map +1 -1
  4. package/accountAuthentication.d.ts +31 -53
  5. package/accountAuthentication.js +5 -7
  6. package/accountAuthentication.js.map +1 -1
  7. package/accountTeam.d.ts +12 -22
  8. package/accountTeam.js +2 -4
  9. package/accountTeam.js.map +1 -1
  10. package/accountTeamMember.d.ts +16 -39
  11. package/accountTeamMember.js +4 -6
  12. package/accountTeamMember.js.map +1 -1
  13. package/accountTeamProject.d.ts +12 -17
  14. package/accountTeamProject.js +0 -2
  15. package/accountTeamProject.js.map +1 -1
  16. package/awsPrivatelink.d.ts +13 -27
  17. package/awsPrivatelink.js +0 -2
  18. package/awsPrivatelink.js.map +1 -1
  19. package/azurePrivatelink.d.ts +120 -0
  20. package/azurePrivatelink.js +86 -0
  21. package/azurePrivatelink.js.map +1 -0
  22. package/azurePrivatelinkConnectionApproval.d.ts +91 -0
  23. package/azurePrivatelinkConnectionApproval.js +66 -0
  24. package/azurePrivatelinkConnectionApproval.js.map +1 -0
  25. package/billingGroup.d.ts +0 -2
  26. package/billingGroup.js +0 -2
  27. package/billingGroup.js.map +1 -1
  28. package/cassandra.d.ts +101 -135
  29. package/cassandra.js +14 -4
  30. package/cassandra.js.map +1 -1
  31. package/clickhouse.d.ts +304 -0
  32. package/clickhouse.js +122 -0
  33. package/clickhouse.js.map +1 -0
  34. package/clickhouseDatabase.d.ts +105 -0
  35. package/clickhouseDatabase.js +76 -0
  36. package/clickhouseDatabase.js.map +1 -0
  37. package/clickhouseGrant.d.ts +169 -0
  38. package/clickhouseGrant.js +125 -0
  39. package/clickhouseGrant.js.map +1 -0
  40. package/clickhouseRole.d.ts +75 -0
  41. package/clickhouseRole.js +65 -0
  42. package/clickhouseRole.js.map +1 -0
  43. package/clickhouseUser.d.ts +112 -0
  44. package/clickhouseUser.js +84 -0
  45. package/clickhouseUser.js.map +1 -0
  46. package/connectionPool.d.ts +23 -53
  47. package/connectionPool.js +0 -4
  48. package/connectionPool.js.map +1 -1
  49. package/database.d.ts +18 -23
  50. package/database.js +0 -2
  51. package/database.js.map +1 -1
  52. package/elasticSearch.d.ts +97 -134
  53. package/elasticSearch.js +14 -4
  54. package/elasticSearch.js.map +1 -1
  55. package/elasticSearchAcl.d.ts +14 -26
  56. package/elasticSearchAcl.js +2 -5
  57. package/elasticSearchAcl.js.map +1 -1
  58. package/elasticSearchAclConfig.d.ts +12 -23
  59. package/elasticSearchAclConfig.js +0 -2
  60. package/elasticSearchAclConfig.js.map +1 -1
  61. package/elasticSearchAclRule.d.ts +15 -20
  62. package/elasticSearchAclRule.js +0 -2
  63. package/elasticSearchAclRule.js.map +1 -1
  64. package/flink.d.ts +311 -0
  65. package/flink.js +125 -0
  66. package/flink.js.map +1 -0
  67. package/flinkJob.d.ts +136 -0
  68. package/flinkJob.js +100 -0
  69. package/flinkJob.js.map +1 -0
  70. package/flinkJobTable.d.ts +224 -0
  71. package/flinkJobTable.js +114 -0
  72. package/flinkJobTable.js.map +1 -0
  73. package/getAccount.d.ts +10 -49
  74. package/getAccount.js +0 -7
  75. package/getAccount.js.map +1 -1
  76. package/getAccountAuthentication.d.ts +21 -103
  77. package/getAccountAuthentication.js +0 -12
  78. package/getAccountAuthentication.js.map +1 -1
  79. package/getAccountTeam.d.ts +13 -33
  80. package/getAccountTeam.js +0 -5
  81. package/getAccountTeam.js.map +1 -1
  82. package/getAccountTeamMember.d.ts +18 -43
  83. package/getAccountTeamMember.js +0 -5
  84. package/getAccountTeamMember.js.map +1 -1
  85. package/getAccountTeamProject.d.ts +17 -21
  86. package/getAccountTeamProject.js +0 -3
  87. package/getAccountTeamProject.js.map +1 -1
  88. package/getAwsPrivatelink.d.ts +14 -42
  89. package/getAwsPrivatelink.js +0 -5
  90. package/getAwsPrivatelink.js.map +1 -1
  91. package/getAzurePrivatelink.d.ts +81 -0
  92. package/getAzurePrivatelink.js +38 -0
  93. package/getAzurePrivatelink.js.map +1 -0
  94. package/getBillingGroup.d.ts +96 -0
  95. package/getBillingGroup.js +36 -0
  96. package/getBillingGroup.js.map +1 -0
  97. package/getCassanda.d.ts +118 -44
  98. package/getCassanda.js +15 -17
  99. package/getCassanda.js.map +1 -1
  100. package/getCassandra.d.ts +62 -223
  101. package/getCassandra.js +1 -20
  102. package/getCassandra.js.map +1 -1
  103. package/getClickhouse.d.ts +154 -0
  104. package/getClickhouse.js +38 -0
  105. package/getClickhouse.js.map +1 -0
  106. package/getClickhouseDatabase.d.ts +75 -0
  107. package/getClickhouseDatabase.js +40 -0
  108. package/getClickhouseDatabase.js.map +1 -0
  109. package/getClickhouseUser.d.ts +86 -0
  110. package/getClickhouseUser.js +40 -0
  111. package/getClickhouseUser.js.map +1 -0
  112. package/getConnectionPool.d.ts +26 -74
  113. package/getConnectionPool.js +0 -7
  114. package/getConnectionPool.js.map +1 -1
  115. package/getDatabase.d.ts +22 -29
  116. package/getDatabase.js +0 -5
  117. package/getDatabase.js.map +1 -1
  118. package/getElasticSearch.d.ts +61 -222
  119. package/getElasticSearch.js +0 -19
  120. package/getElasticSearch.js.map +1 -1
  121. package/getElasticSearchAcl.d.ts +22 -36
  122. package/getElasticSearchAcl.js +1 -7
  123. package/getElasticSearchAcl.js.map +1 -1
  124. package/getElasticSearchAclConfig.d.ts +41 -6
  125. package/getElasticSearchAclConfig.js +15 -2
  126. package/getElasticSearchAclConfig.js.map +1 -1
  127. package/getElasticSearchAclRule.d.ts +56 -2
  128. package/getElasticSearchAclRule.js +17 -1
  129. package/getElasticSearchAclRule.js.map +1 -1
  130. package/getFlink.d.ts +154 -0
  131. package/getFlink.js +38 -0
  132. package/getFlink.js.map +1 -0
  133. package/getGrafana.d.ts +61 -222
  134. package/getGrafana.js +0 -19
  135. package/getGrafana.js.map +1 -1
  136. package/getInfluxDb.d.ts +61 -222
  137. package/getInfluxDb.js +0 -19
  138. package/getInfluxDb.js.map +1 -1
  139. package/getKafka.d.ts +65 -221
  140. package/getKafka.js +0 -20
  141. package/getKafka.js.map +1 -1
  142. package/getKafkaAcl.d.ts +31 -21
  143. package/getKafkaAcl.js +2 -5
  144. package/getKafkaAcl.js.map +1 -1
  145. package/getKafkaConnect.d.ts +61 -222
  146. package/getKafkaConnect.js +0 -19
  147. package/getKafkaConnect.js.map +1 -1
  148. package/getKafkaConnector.d.ts +31 -73
  149. package/getKafkaConnector.js +0 -15
  150. package/getKafkaConnector.js.map +1 -1
  151. package/getKafkaMirrorMaker.d.ts +61 -222
  152. package/getKafkaMirrorMaker.js +0 -19
  153. package/getKafkaMirrorMaker.js.map +1 -1
  154. package/getKafkaSchema.d.ts +23 -37
  155. package/getKafkaSchema.js +1 -7
  156. package/getKafkaSchema.js.map +1 -1
  157. package/getKafkaSchemaConfiguration.d.ts +29 -41
  158. package/getKafkaSchemaConfiguration.js +4 -10
  159. package/getKafkaSchemaConfiguration.js.map +1 -1
  160. package/getKafkaTopic.d.ts +34 -95
  161. package/getKafkaTopic.js +0 -18
  162. package/getKafkaTopic.js.map +1 -1
  163. package/getM3Aggregator.d.ts +62 -223
  164. package/getM3Aggregator.js +1 -20
  165. package/getM3Aggregator.js.map +1 -1
  166. package/getM3Db.d.ts +61 -222
  167. package/getM3Db.js +0 -19
  168. package/getM3Db.js.map +1 -1
  169. package/getMirrorMakerReplicationFlow.d.ts +45 -52
  170. package/getMirrorMakerReplicationFlow.js +1 -11
  171. package/getMirrorMakerReplicationFlow.js.map +1 -1
  172. package/getMySql.d.ts +61 -222
  173. package/getMySql.js +0 -19
  174. package/getMySql.js.map +1 -1
  175. package/getOpenSearch.d.ts +61 -216
  176. package/getOpenSearch.js +0 -19
  177. package/getOpenSearch.js.map +1 -1
  178. package/getOpenSearchAclConfig.d.ts +41 -6
  179. package/getOpenSearchAclConfig.js +15 -2
  180. package/getOpenSearchAclConfig.js.map +1 -1
  181. package/getOpenSearchAclRule.d.ts +62 -0
  182. package/getOpenSearchAclRule.js +17 -0
  183. package/getOpenSearchAclRule.js.map +1 -1
  184. package/getPg.d.ts +61 -222
  185. package/getPg.js +0 -19
  186. package/getPg.js.map +1 -1
  187. package/getProject.d.ts +49 -166
  188. package/getProject.js +0 -20
  189. package/getProject.js.map +1 -1
  190. package/getProjectUser.d.ts +13 -34
  191. package/getProjectUser.js +0 -4
  192. package/getProjectUser.js.map +1 -1
  193. package/getProjectVpc.d.ts +13 -30
  194. package/getProjectVpc.js +0 -4
  195. package/getProjectVpc.js.map +1 -1
  196. package/getRedis.d.ts +60 -221
  197. package/getRedis.js +0 -19
  198. package/getRedis.js.map +1 -1
  199. package/getService.d.ts +203 -105
  200. package/getService.js +3 -37
  201. package/getService.js.map +1 -1
  202. package/getServiceComponent.d.ts +38 -90
  203. package/getServiceComponent.js +1 -22
  204. package/getServiceComponent.js.map +1 -1
  205. package/getServiceIntegration.d.ts +67 -95
  206. package/getServiceIntegration.js +1 -41
  207. package/getServiceIntegration.js.map +1 -1
  208. package/getServiceIntegrationEndpoint.d.ts +61 -63
  209. package/getServiceIntegrationEndpoint.js +1 -17
  210. package/getServiceIntegrationEndpoint.js.map +1 -1
  211. package/getServiceUser.d.ts +37 -78
  212. package/getServiceUser.js +0 -13
  213. package/getServiceUser.js.map +1 -1
  214. package/getTransitGatewayVpcAttachment.d.ts +29 -40
  215. package/getTransitGatewayVpcAttachment.js +1 -9
  216. package/getTransitGatewayVpcAttachment.js.map +1 -1
  217. package/getVpcPeeringConnection.d.ts +27 -92
  218. package/getVpcPeeringConnection.js +1 -11
  219. package/getVpcPeeringConnection.js.map +1 -1
  220. package/grafana.d.ts +97 -134
  221. package/grafana.js +14 -4
  222. package/grafana.js.map +1 -1
  223. package/index.d.ts +17 -0
  224. package/index.js +61 -0
  225. package/index.js.map +1 -1
  226. package/influxDb.d.ts +97 -131
  227. package/influxDb.js +14 -4
  228. package/influxDb.js.map +1 -1
  229. package/kafka.d.ts +110 -128
  230. package/kafka.js +14 -2
  231. package/kafka.js.map +1 -1
  232. package/kafkaAcl.d.ts +15 -29
  233. package/kafkaAcl.js +0 -2
  234. package/kafkaAcl.js.map +1 -1
  235. package/kafkaConnect.d.ts +97 -134
  236. package/kafkaConnect.js +14 -4
  237. package/kafkaConnect.js.map +1 -1
  238. package/kafkaConnector.d.ts +34 -44
  239. package/kafkaConnector.js +8 -16
  240. package/kafkaConnector.js.map +1 -1
  241. package/kafkaMirrorMaker.d.ts +97 -131
  242. package/kafkaMirrorMaker.js +14 -4
  243. package/kafkaMirrorMaker.js.map +1 -1
  244. package/kafkaSchema.d.ts +45 -31
  245. package/kafkaSchema.js +28 -2
  246. package/kafkaSchema.js.map +1 -1
  247. package/kafkaSchemaConfiguration.d.ts +11 -31
  248. package/kafkaSchemaConfiguration.js +0 -5
  249. package/kafkaSchemaConfiguration.js.map +1 -1
  250. package/kafkaTopic.d.ts +58 -48
  251. package/kafkaTopic.js +28 -0
  252. package/kafkaTopic.js.map +1 -1
  253. package/m3aggregator.d.ts +97 -131
  254. package/m3aggregator.js +14 -4
  255. package/m3aggregator.js.map +1 -1
  256. package/m3db.d.ts +97 -131
  257. package/m3db.js +14 -4
  258. package/m3db.js.map +1 -1
  259. package/mirrorMakerReplicationFlow.d.ts +34 -40
  260. package/mirrorMakerReplicationFlow.js +1 -4
  261. package/mirrorMakerReplicationFlow.js.map +1 -1
  262. package/mySql.d.ts +104 -150
  263. package/mySql.js +14 -4
  264. package/mySql.js.map +1 -1
  265. package/openSearch.d.ts +101 -132
  266. package/openSearch.js +14 -4
  267. package/openSearch.js.map +1 -1
  268. package/openSearchAclConfig.d.ts +31 -29
  269. package/openSearchAclConfig.js +19 -8
  270. package/openSearchAclConfig.js.map +1 -1
  271. package/openSearchAclRule.d.ts +30 -35
  272. package/openSearchAclRule.js +15 -17
  273. package/openSearchAclRule.js.map +1 -1
  274. package/package.json +2 -2
  275. package/package.json.dev +2 -2
  276. package/pg.d.ts +101 -126
  277. package/pg.js +15 -0
  278. package/pg.js.map +1 -1
  279. package/project.d.ts +60 -121
  280. package/project.js +3 -5
  281. package/project.js.map +1 -1
  282. package/projectUser.d.ts +11 -19
  283. package/projectUser.js +0 -2
  284. package/projectUser.js.map +1 -1
  285. package/projectVpc.d.ts +11 -18
  286. package/projectVpc.js +0 -2
  287. package/projectVpc.js.map +1 -1
  288. package/redis.d.ts +99 -136
  289. package/redis.js +13 -3
  290. package/redis.js.map +1 -1
  291. package/service.d.ts +184 -121
  292. package/service.js +44 -21
  293. package/service.js.map +1 -1
  294. package/serviceIntegration.d.ts +18 -185
  295. package/serviceIntegration.js +4 -40
  296. package/serviceIntegration.js.map +1 -1
  297. package/serviceIntegrationEndpoint.d.ts +9 -49
  298. package/serviceIntegrationEndpoint.js +0 -34
  299. package/serviceIntegrationEndpoint.js.map +1 -1
  300. package/serviceUser.d.ts +45 -40
  301. package/serviceUser.js +2 -4
  302. package/serviceUser.js.map +1 -1
  303. package/staticIp.d.ts +95 -0
  304. package/staticIp.js +68 -0
  305. package/staticIp.js.map +1 -0
  306. package/transitGatewayVpcAttachment.d.ts +16 -19
  307. package/transitGatewayVpcAttachment.js +1 -4
  308. package/transitGatewayVpcAttachment.js.map +1 -1
  309. package/types/input.d.ts +1440 -9809
  310. package/types/output.d.ts +1744 -3691
  311. package/vpcPeeringConnection.d.ts +27 -58
  312. package/vpcPeeringConnection.js +0 -22
  313. package/vpcPeeringConnection.js.map +1 -1
package/mySql.d.ts CHANGED
@@ -1,8 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "./types";
3
3
  /**
4
- * ## # MySQL Resource
5
- *
6
4
  * The MySQL resource allows the creation and management of Aiven MySQL services.
7
5
  *
8
6
  * ## Example Usage
@@ -48,13 +46,7 @@ export declare class MySql extends pulumi.CustomResource {
48
46
  */
49
47
  static isInstance(obj: any): obj is MySql;
50
48
  /**
51
- * defines where the cloud provider and region where the service is hosted
52
- * in. This can be changed freely after service is created. Changing the value will trigger
53
- * a potentially lengthy migration process for the service. Format is cloud provider name
54
- * (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
55
- * specific region name. These are documented on each Cloud provider's own support articles,
56
- * like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
57
- * [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
49
+ * Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
58
50
  */
59
51
  readonly cloudName: pulumi.Output<string | undefined>;
60
52
  /**
@@ -62,73 +54,71 @@ export declare class MySql extends pulumi.CustomResource {
62
54
  */
63
55
  readonly components: pulumi.Output<outputs.MySqlComponent[]>;
64
56
  /**
65
- * day of week when maintenance operations should be performed.
66
- * On monday, tuesday, wednesday, etc.
57
+ * The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
58
+ */
59
+ readonly diskSpace: pulumi.Output<string | undefined>;
60
+ /**
61
+ * The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
62
+ */
63
+ readonly diskSpaceCap: pulumi.Output<string>;
64
+ /**
65
+ * The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `diskSpace`
66
+ */
67
+ readonly diskSpaceDefault: pulumi.Output<string>;
68
+ /**
69
+ * The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `diskSpace` needs to increment from `diskSpaceDefault` by increments of this size.
70
+ */
71
+ readonly diskSpaceStep: pulumi.Output<string>;
72
+ /**
73
+ * Disk space that service is currently using
74
+ */
75
+ readonly diskSpaceUsed: pulumi.Output<string>;
76
+ /**
77
+ * Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
67
78
  */
68
79
  readonly maintenanceWindowDow: pulumi.Output<string | undefined>;
69
80
  /**
70
- * time of day when maintenance operations should be performed.
71
- * UTC time in HH:mm:ss format.
81
+ * Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
72
82
  */
73
83
  readonly maintenanceWindowTime: pulumi.Output<string | undefined>;
74
84
  /**
75
- * Allow clients to connect to mysql from the public internet for service
76
- * nodes that are in a project VPC or another type of private network
85
+ * Mysql user configurable settings
77
86
  */
78
- readonly mysql: pulumi.Output<outputs.MySqlMysql>;
87
+ readonly mysqlUserConfig: pulumi.Output<outputs.MySqlMysqlUserConfig | undefined>;
79
88
  /**
80
- * defines MySQL specific additional configuration options. The following
81
- * configuration options available:
89
+ * MySQL specific server provided values
82
90
  */
83
- readonly mysqlUserConfig: pulumi.Output<outputs.MySqlMysqlUserConfig | undefined>;
91
+ readonly mysqls: pulumi.Output<outputs.MySqlMysql[]>;
84
92
  /**
85
- * defines what kind of computing resources are allocated for the service. It can
86
- * be changed after creation, though there are some restrictions when going to a smaller
87
- * plan such as the new plan must have sufficient amount of disk space to store all current
88
- * data and switching to a plan with fewer nodes might not be supported. The basic plan
89
- * names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
90
- * (roughly) the amount of memory on each node (also other attributes like number of CPUs
91
- * and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
93
+ * Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
92
94
  */
93
95
  readonly plan: pulumi.Output<string | undefined>;
94
96
  /**
95
- * identifies the project the service belongs to. To set up proper dependency
96
- * between the project and the service, refer to the project as shown in the above example.
97
- * Project cannot be changed later without destroying and re-creating the service.
97
+ * 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.
98
98
  */
99
99
  readonly project: pulumi.Output<string>;
100
100
  /**
101
- * optionally specifies the VPC the service should run in. If the value
102
- * is not set the service is not run inside a VPC. When set, the value should be given as a
103
- * reference as shown above to set up dependencies correctly and the VPC must be in the same
104
- * cloud and region as the service itself. Project can be freely moved to and from VPC after
105
- * creation but doing so triggers migration to new servers so the operation can take
106
- * significant amount of time to complete if the service has a lot of data.
101
+ * Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
107
102
  */
108
103
  readonly projectVpcId: pulumi.Output<string | undefined>;
109
104
  /**
110
- * MySQL hostname.
105
+ * The hostname of the service.
111
106
  */
112
107
  readonly serviceHost: pulumi.Output<string>;
113
108
  /**
114
- * can be used to define service integrations that must exist
115
- * immediately upon service creation. By the time of writing the only such integration is
116
- * defining that MySQL service is a read-replica of another service. To define a read-
117
- * replica the following configuration needs to be added:
109
+ * Service integrations to specify when creating a service. Not applied after initial service creation
118
110
  */
119
111
  readonly serviceIntegrations: pulumi.Output<outputs.MySqlServiceIntegration[] | undefined>;
120
112
  /**
121
- * specifies the actual name of the service. The name cannot be changed
122
- * later without destroying and re-creating the service so name should be picked based on
123
- * intended service usage rather than current attributes.
113
+ * Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
124
114
  */
125
115
  readonly serviceName: pulumi.Output<string>;
126
116
  /**
127
- * Password used for connecting to the MySQL service, if applicable.
117
+ * Password used for connecting to the service, if applicable
128
118
  */
129
119
  readonly servicePassword: pulumi.Output<string>;
130
120
  /**
131
- * MySQL port.
121
+ * The port of the service
132
122
  */
133
123
  readonly servicePort: pulumi.Output<number>;
134
124
  /**
@@ -136,23 +126,23 @@ export declare class MySql extends pulumi.CustomResource {
136
126
  */
137
127
  readonly serviceType: pulumi.Output<string>;
138
128
  /**
139
- * URI for connecting to the MySQL service.
129
+ * URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
140
130
  */
141
131
  readonly serviceUri: pulumi.Output<string>;
142
132
  /**
143
- * Username used for connecting to the MySQL service, if applicable.
133
+ * Username used for connecting to the service, if applicable
144
134
  */
145
135
  readonly serviceUsername: pulumi.Output<string>;
146
136
  /**
147
- * Service state.
137
+ * Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
148
138
  */
149
139
  readonly state: pulumi.Output<string>;
150
140
  /**
151
- * prevents the service from being deleted. It is recommended to
152
- * set this to `true` for all production services to prevent unintentional service
153
- * deletion. This does not shield against deleting databases or topics but for services
154
- * with backups much of the content can at least be restored from backup in case accidental
155
- * deletion is done.
141
+ * Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
142
+ */
143
+ readonly staticIps: pulumi.Output<string[] | undefined>;
144
+ /**
145
+ * Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
156
146
  */
157
147
  readonly terminationProtection: pulumi.Output<boolean | undefined>;
158
148
  /**
@@ -169,13 +159,7 @@ export declare class MySql extends pulumi.CustomResource {
169
159
  */
170
160
  export interface MySqlState {
171
161
  /**
172
- * defines where the cloud provider and region where the service is hosted
173
- * in. This can be changed freely after service is created. Changing the value will trigger
174
- * a potentially lengthy migration process for the service. Format is cloud provider name
175
- * (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
176
- * specific region name. These are documented on each Cloud provider's own support articles,
177
- * like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
178
- * [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
162
+ * Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
179
163
  */
180
164
  cloudName?: pulumi.Input<string>;
181
165
  /**
@@ -183,73 +167,71 @@ export interface MySqlState {
183
167
  */
184
168
  components?: pulumi.Input<pulumi.Input<inputs.MySqlComponent>[]>;
185
169
  /**
186
- * day of week when maintenance operations should be performed.
187
- * On monday, tuesday, wednesday, etc.
170
+ * The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
171
+ */
172
+ diskSpace?: pulumi.Input<string>;
173
+ /**
174
+ * The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
175
+ */
176
+ diskSpaceCap?: pulumi.Input<string>;
177
+ /**
178
+ * The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for `diskSpace`
179
+ */
180
+ diskSpaceDefault?: pulumi.Input<string>;
181
+ /**
182
+ * The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. `diskSpace` needs to increment from `diskSpaceDefault` by increments of this size.
183
+ */
184
+ diskSpaceStep?: pulumi.Input<string>;
185
+ /**
186
+ * Disk space that service is currently using
187
+ */
188
+ diskSpaceUsed?: pulumi.Input<string>;
189
+ /**
190
+ * Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
188
191
  */
189
192
  maintenanceWindowDow?: pulumi.Input<string>;
190
193
  /**
191
- * time of day when maintenance operations should be performed.
192
- * UTC time in HH:mm:ss format.
194
+ * Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
193
195
  */
194
196
  maintenanceWindowTime?: pulumi.Input<string>;
195
197
  /**
196
- * Allow clients to connect to mysql from the public internet for service
197
- * nodes that are in a project VPC or another type of private network
198
+ * Mysql user configurable settings
198
199
  */
199
- mysql?: pulumi.Input<inputs.MySqlMysql>;
200
+ mysqlUserConfig?: pulumi.Input<inputs.MySqlMysqlUserConfig>;
200
201
  /**
201
- * defines MySQL specific additional configuration options. The following
202
- * configuration options available:
202
+ * MySQL specific server provided values
203
203
  */
204
- mysqlUserConfig?: pulumi.Input<inputs.MySqlMysqlUserConfig>;
204
+ mysqls?: pulumi.Input<pulumi.Input<inputs.MySqlMysql>[]>;
205
205
  /**
206
- * defines what kind of computing resources are allocated for the service. It can
207
- * be changed after creation, though there are some restrictions when going to a smaller
208
- * plan such as the new plan must have sufficient amount of disk space to store all current
209
- * data and switching to a plan with fewer nodes might not be supported. The basic plan
210
- * names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
211
- * (roughly) the amount of memory on each node (also other attributes like number of CPUs
212
- * and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
206
+ * Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
213
207
  */
214
208
  plan?: pulumi.Input<string>;
215
209
  /**
216
- * identifies the project the service belongs to. To set up proper dependency
217
- * between the project and the service, refer to the project as shown in the above example.
218
- * Project cannot be changed later without destroying and re-creating the service.
210
+ * 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.
219
211
  */
220
212
  project?: pulumi.Input<string>;
221
213
  /**
222
- * optionally specifies the VPC the service should run in. If the value
223
- * is not set the service is not run inside a VPC. When set, the value should be given as a
224
- * reference as shown above to set up dependencies correctly and the VPC must be in the same
225
- * cloud and region as the service itself. Project can be freely moved to and from VPC after
226
- * creation but doing so triggers migration to new servers so the operation can take
227
- * significant amount of time to complete if the service has a lot of data.
214
+ * Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
228
215
  */
229
216
  projectVpcId?: pulumi.Input<string>;
230
217
  /**
231
- * MySQL hostname.
218
+ * The hostname of the service.
232
219
  */
233
220
  serviceHost?: pulumi.Input<string>;
234
221
  /**
235
- * can be used to define service integrations that must exist
236
- * immediately upon service creation. By the time of writing the only such integration is
237
- * defining that MySQL service is a read-replica of another service. To define a read-
238
- * replica the following configuration needs to be added:
222
+ * Service integrations to specify when creating a service. Not applied after initial service creation
239
223
  */
240
224
  serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.MySqlServiceIntegration>[]>;
241
225
  /**
242
- * specifies the actual name of the service. The name cannot be changed
243
- * later without destroying and re-creating the service so name should be picked based on
244
- * intended service usage rather than current attributes.
226
+ * Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
245
227
  */
246
228
  serviceName?: pulumi.Input<string>;
247
229
  /**
248
- * Password used for connecting to the MySQL service, if applicable.
230
+ * Password used for connecting to the service, if applicable
249
231
  */
250
232
  servicePassword?: pulumi.Input<string>;
251
233
  /**
252
- * MySQL port.
234
+ * The port of the service
253
235
  */
254
236
  servicePort?: pulumi.Input<number>;
255
237
  /**
@@ -257,23 +239,23 @@ export interface MySqlState {
257
239
  */
258
240
  serviceType?: pulumi.Input<string>;
259
241
  /**
260
- * URI for connecting to the MySQL service.
242
+ * URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
261
243
  */
262
244
  serviceUri?: pulumi.Input<string>;
263
245
  /**
264
- * Username used for connecting to the MySQL service, if applicable.
246
+ * Username used for connecting to the service, if applicable
265
247
  */
266
248
  serviceUsername?: pulumi.Input<string>;
267
249
  /**
268
- * Service state.
250
+ * Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
269
251
  */
270
252
  state?: pulumi.Input<string>;
271
253
  /**
272
- * prevents the service from being deleted. It is recommended to
273
- * set this to `true` for all production services to prevent unintentional service
274
- * deletion. This does not shield against deleting databases or topics but for services
275
- * with backups much of the content can at least be restored from backup in case accidental
276
- * deletion is done.
254
+ * Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
255
+ */
256
+ staticIps?: pulumi.Input<pulumi.Input<string>[]>;
257
+ /**
258
+ * Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
277
259
  */
278
260
  terminationProtection?: pulumi.Input<boolean>;
279
261
  }
@@ -282,79 +264,51 @@ export interface MySqlState {
282
264
  */
283
265
  export interface MySqlArgs {
284
266
  /**
285
- * defines where the cloud provider and region where the service is hosted
286
- * in. This can be changed freely after service is created. Changing the value will trigger
287
- * a potentially lengthy migration process for the service. Format is cloud provider name
288
- * (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
289
- * specific region name. These are documented on each Cloud provider's own support articles,
290
- * like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
291
- * [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
267
+ * Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
292
268
  */
293
269
  cloudName?: pulumi.Input<string>;
294
270
  /**
295
- * day of week when maintenance operations should be performed.
296
- * On monday, tuesday, wednesday, etc.
271
+ * The disk space of the service, possible values depend on the service type, the cloud provider and the project. Reducing will result in the service rebalancing.
297
272
  */
298
- maintenanceWindowDow?: pulumi.Input<string>;
273
+ diskSpace?: pulumi.Input<string>;
299
274
  /**
300
- * time of day when maintenance operations should be performed.
301
- * UTC time in HH:mm:ss format.
275
+ * Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
302
276
  */
303
- maintenanceWindowTime?: pulumi.Input<string>;
277
+ maintenanceWindowDow?: pulumi.Input<string>;
304
278
  /**
305
- * Allow clients to connect to mysql from the public internet for service
306
- * nodes that are in a project VPC or another type of private network
279
+ * Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
307
280
  */
308
- mysql?: pulumi.Input<inputs.MySqlMysql>;
281
+ maintenanceWindowTime?: pulumi.Input<string>;
309
282
  /**
310
- * defines MySQL specific additional configuration options. The following
311
- * configuration options available:
283
+ * Mysql user configurable settings
312
284
  */
313
285
  mysqlUserConfig?: pulumi.Input<inputs.MySqlMysqlUserConfig>;
314
286
  /**
315
- * defines what kind of computing resources are allocated for the service. It can
316
- * be changed after creation, though there are some restrictions when going to a smaller
317
- * plan such as the new plan must have sufficient amount of disk space to store all current
318
- * data and switching to a plan with fewer nodes might not be supported. The basic plan
319
- * names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
320
- * (roughly) the amount of memory on each node (also other attributes like number of CPUs
321
- * and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
287
+ * Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seem from the [Aiven pricing page](https://aiven.io/pricing).
322
288
  */
323
289
  plan?: pulumi.Input<string>;
324
290
  /**
325
- * identifies the project the service belongs to. To set up proper dependency
326
- * between the project and the service, refer to the project as shown in the above example.
327
- * Project cannot be changed later without destroying and re-creating the service.
291
+ * 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.
328
292
  */
329
293
  project: pulumi.Input<string>;
330
294
  /**
331
- * optionally specifies the VPC the service should run in. If the value
332
- * is not set the service is not run inside a VPC. When set, the value should be given as a
333
- * reference as shown above to set up dependencies correctly and the VPC must be in the same
334
- * cloud and region as the service itself. Project can be freely moved to and from VPC after
335
- * creation but doing so triggers migration to new servers so the operation can take
336
- * significant amount of time to complete if the service has a lot of data.
295
+ * Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
337
296
  */
338
297
  projectVpcId?: pulumi.Input<string>;
339
298
  /**
340
- * can be used to define service integrations that must exist
341
- * immediately upon service creation. By the time of writing the only such integration is
342
- * defining that MySQL service is a read-replica of another service. To define a read-
343
- * replica the following configuration needs to be added:
299
+ * Service integrations to specify when creating a service. Not applied after initial service creation
344
300
  */
345
301
  serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.MySqlServiceIntegration>[]>;
346
302
  /**
347
- * specifies the actual name of the service. The name cannot be changed
348
- * later without destroying and re-creating the service so name should be picked based on
349
- * intended service usage rather than current attributes.
303
+ * Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
350
304
  */
351
305
  serviceName: pulumi.Input<string>;
352
306
  /**
353
- * prevents the service from being deleted. It is recommended to
354
- * set this to `true` for all production services to prevent unintentional service
355
- * deletion. This does not shield against deleting databases or topics but for services
356
- * with backups much of the content can at least be restored from backup in case accidental
357
- * deletion is done.
307
+ * Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
308
+ */
309
+ staticIps?: pulumi.Input<pulumi.Input<string>[]>;
310
+ /**
311
+ * Prevents the service from being deleted. It is recommended to set this to `true` for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
358
312
  */
359
313
  terminationProtection?: pulumi.Input<boolean>;
360
314
  }
package/mySql.js CHANGED
@@ -6,8 +6,6 @@ exports.MySql = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * ## # MySQL Resource
10
- *
11
9
  * The MySQL resource allows the creation and management of Aiven MySQL services.
12
10
  *
13
11
  * ## Example Usage
@@ -44,10 +42,15 @@ class MySql extends pulumi.CustomResource {
44
42
  const state = argsOrState;
45
43
  resourceInputs["cloudName"] = state ? state.cloudName : undefined;
46
44
  resourceInputs["components"] = state ? state.components : undefined;
45
+ resourceInputs["diskSpace"] = state ? state.diskSpace : undefined;
46
+ resourceInputs["diskSpaceCap"] = state ? state.diskSpaceCap : undefined;
47
+ resourceInputs["diskSpaceDefault"] = state ? state.diskSpaceDefault : undefined;
48
+ resourceInputs["diskSpaceStep"] = state ? state.diskSpaceStep : undefined;
49
+ resourceInputs["diskSpaceUsed"] = state ? state.diskSpaceUsed : undefined;
47
50
  resourceInputs["maintenanceWindowDow"] = state ? state.maintenanceWindowDow : undefined;
48
51
  resourceInputs["maintenanceWindowTime"] = state ? state.maintenanceWindowTime : undefined;
49
- resourceInputs["mysql"] = state ? state.mysql : undefined;
50
52
  resourceInputs["mysqlUserConfig"] = state ? state.mysqlUserConfig : undefined;
53
+ resourceInputs["mysqls"] = state ? state.mysqls : undefined;
51
54
  resourceInputs["plan"] = state ? state.plan : undefined;
52
55
  resourceInputs["project"] = state ? state.project : undefined;
53
56
  resourceInputs["projectVpcId"] = state ? state.projectVpcId : undefined;
@@ -60,6 +63,7 @@ class MySql extends pulumi.CustomResource {
60
63
  resourceInputs["serviceUri"] = state ? state.serviceUri : undefined;
61
64
  resourceInputs["serviceUsername"] = state ? state.serviceUsername : undefined;
62
65
  resourceInputs["state"] = state ? state.state : undefined;
66
+ resourceInputs["staticIps"] = state ? state.staticIps : undefined;
63
67
  resourceInputs["terminationProtection"] = state ? state.terminationProtection : undefined;
64
68
  }
65
69
  else {
@@ -71,17 +75,23 @@ class MySql extends pulumi.CustomResource {
71
75
  throw new Error("Missing required property 'serviceName'");
72
76
  }
73
77
  resourceInputs["cloudName"] = args ? args.cloudName : undefined;
78
+ resourceInputs["diskSpace"] = args ? args.diskSpace : undefined;
74
79
  resourceInputs["maintenanceWindowDow"] = args ? args.maintenanceWindowDow : undefined;
75
80
  resourceInputs["maintenanceWindowTime"] = args ? args.maintenanceWindowTime : undefined;
76
- resourceInputs["mysql"] = args ? args.mysql : undefined;
77
81
  resourceInputs["mysqlUserConfig"] = args ? args.mysqlUserConfig : undefined;
78
82
  resourceInputs["plan"] = args ? args.plan : undefined;
79
83
  resourceInputs["project"] = args ? args.project : undefined;
80
84
  resourceInputs["projectVpcId"] = args ? args.projectVpcId : undefined;
81
85
  resourceInputs["serviceIntegrations"] = args ? args.serviceIntegrations : undefined;
82
86
  resourceInputs["serviceName"] = args ? args.serviceName : undefined;
87
+ resourceInputs["staticIps"] = args ? args.staticIps : undefined;
83
88
  resourceInputs["terminationProtection"] = args ? args.terminationProtection : undefined;
84
89
  resourceInputs["components"] = undefined /*out*/;
90
+ resourceInputs["diskSpaceCap"] = undefined /*out*/;
91
+ resourceInputs["diskSpaceDefault"] = undefined /*out*/;
92
+ resourceInputs["diskSpaceStep"] = undefined /*out*/;
93
+ resourceInputs["diskSpaceUsed"] = undefined /*out*/;
94
+ resourceInputs["mysqls"] = undefined /*out*/;
85
95
  resourceInputs["serviceHost"] = undefined /*out*/;
86
96
  resourceInputs["servicePassword"] = undefined /*out*/;
87
97
  resourceInputs["servicePort"] = undefined /*out*/;
package/mySql.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"mySql.js","sourceRoot":"","sources":["../mySql.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAiJ5C,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;Y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