@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/pg.d.ts CHANGED
@@ -1,5 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "./types";
3
+ /**
4
+ * The PG resource allows the creation and management of Aiven PostgreSQL services.
5
+ */
3
6
  export declare class Pg extends pulumi.CustomResource {
4
7
  /**
5
8
  * Get an existing Pg resource's state with the given name, ID, and optional extra
@@ -17,13 +20,7 @@ export declare class Pg extends pulumi.CustomResource {
17
20
  */
18
21
  static isInstance(obj: any): obj is Pg;
19
22
  /**
20
- * defines where the cloud provider and region where the service is hosted
21
- * in. This can be changed freely after service is created. Changing the value will trigger
22
- * a potentially lengthy migration process for the service. Format is cloud provider name
23
- * (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
24
- * specific region name. These are documented on each Cloud provider's own support articles,
25
- * like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
26
- * [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
23
+ * 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).
27
24
  */
28
25
  readonly cloudName: pulumi.Output<string | undefined>;
29
26
  /**
@@ -31,51 +28,55 @@ export declare class Pg extends pulumi.CustomResource {
31
28
  */
32
29
  readonly components: pulumi.Output<outputs.PgComponent[]>;
33
30
  /**
34
- * day of week when maintenance operations should be performed.
35
- * On monday, tuesday, wednesday, etc.
31
+ * 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.
32
+ */
33
+ readonly diskSpace: pulumi.Output<string | undefined>;
34
+ /**
35
+ * The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
36
+ */
37
+ readonly diskSpaceCap: pulumi.Output<string>;
38
+ /**
39
+ * 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`
40
+ */
41
+ readonly diskSpaceDefault: pulumi.Output<string>;
42
+ /**
43
+ * 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.
44
+ */
45
+ readonly diskSpaceStep: pulumi.Output<string>;
46
+ /**
47
+ * Disk space that service is currently using
48
+ */
49
+ readonly diskSpaceUsed: pulumi.Output<string>;
50
+ /**
51
+ * Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
36
52
  */
37
53
  readonly maintenanceWindowDow: pulumi.Output<string | undefined>;
38
54
  /**
39
- * time of day when maintenance operations should be performed.
40
- * UTC time in HH:mm:ss format.
55
+ * Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
41
56
  */
42
57
  readonly maintenanceWindowTime: pulumi.Output<string | undefined>;
43
58
  /**
44
- * Enable pg.
59
+ * PostgreSQL specific server provided values
45
60
  */
46
61
  readonly pg: pulumi.Output<outputs.PgPg>;
47
62
  /**
48
- * defines PostgreSQL specific additional configuration options. The following
49
- * configuration options available:
63
+ * Pg user configurable settings
50
64
  */
51
65
  readonly pgUserConfig: pulumi.Output<outputs.PgPgUserConfig | undefined>;
52
66
  /**
53
- * defines what kind of computing resources are allocated for the service. It can
54
- * be changed after creation, though there are some restrictions when going to a smaller
55
- * plan such as the new plan must have sufficient amount of disk space to store all current
56
- * data and switching to a plan with fewer nodes might not be supported. The basic plan
57
- * names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
58
- * (roughly) the amount of memory on each node (also other attributes like number of CPUs
59
- * 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).
67
+ * 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).
60
68
  */
61
69
  readonly plan: pulumi.Output<string | undefined>;
62
70
  /**
63
- * identifies the project the service belongs to. To set up proper dependency
64
- * between the project and the service, refer to the project as shown in the above example.
65
- * Project cannot be changed later without destroying and re-creating the service.
71
+ * 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.
66
72
  */
67
73
  readonly project: pulumi.Output<string>;
68
74
  /**
69
- * optionally specifies the VPC the service should run in. If the value
70
- * is not set the service is not run inside a VPC. When set, the value should be given as a
71
- * reference as shown above to set up dependencies correctly and the VPC must be in the same
72
- * cloud and region as the service itself. Project can be freely moved to and from VPC after
73
- * creation but doing so triggers migration to new servers so the operation can take
74
- * significant amount of time to complete if the service has a lot of data.
75
+ * 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.
75
76
  */
76
77
  readonly projectVpcId: pulumi.Output<string | undefined>;
77
78
  /**
78
- * PostgreSQL hostname.
79
+ * The hostname of the service.
79
80
  */
80
81
  readonly serviceHost: pulumi.Output<string>;
81
82
  /**
@@ -83,17 +84,15 @@ export declare class Pg extends pulumi.CustomResource {
83
84
  */
84
85
  readonly serviceIntegrations: pulumi.Output<outputs.PgServiceIntegration[] | undefined>;
85
86
  /**
86
- * specifies the actual name of the service. The name cannot be changed
87
- * later without destroying and re-creating the service so name should be picked based on
88
- * intended service usage rather than current attributes.
87
+ * 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.
89
88
  */
90
89
  readonly serviceName: pulumi.Output<string>;
91
90
  /**
92
- * Password used for connecting to the PostgreSQL service, if applicable.
91
+ * Password used for connecting to the service, if applicable
93
92
  */
94
93
  readonly servicePassword: pulumi.Output<string>;
95
94
  /**
96
- * PostgreSQL port.
95
+ * The port of the service
97
96
  */
98
97
  readonly servicePort: pulumi.Output<number>;
99
98
  /**
@@ -101,23 +100,23 @@ export declare class Pg extends pulumi.CustomResource {
101
100
  */
102
101
  readonly serviceType: pulumi.Output<string>;
103
102
  /**
104
- * URI for connecting to the PostgreSQL service.
103
+ * URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
105
104
  */
106
105
  readonly serviceUri: pulumi.Output<string>;
107
106
  /**
108
- * Username used for connecting to the PostgreSQL service, if applicable.
107
+ * Username used for connecting to the service, if applicable
109
108
  */
110
109
  readonly serviceUsername: pulumi.Output<string>;
111
110
  /**
112
- * Service state.
111
+ * Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
113
112
  */
114
113
  readonly state: pulumi.Output<string>;
115
114
  /**
116
- * prevents the service from being deleted. It is recommended to
117
- * set this to `true` for all production services to prevent unintentional service
118
- * deletion. This does not shield against deleting databases or topics but for services
119
- * with backups much of the content can at least be restored from backup in case accidental
120
- * deletion is done.
115
+ * 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
116
+ */
117
+ readonly staticIps: pulumi.Output<string[] | undefined>;
118
+ /**
119
+ * 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.
121
120
  */
122
121
  readonly terminationProtection: pulumi.Output<boolean | undefined>;
123
122
  /**
@@ -134,13 +133,7 @@ export declare class Pg extends pulumi.CustomResource {
134
133
  */
135
134
  export interface PgState {
136
135
  /**
137
- * defines where the cloud provider and region where the service is hosted
138
- * in. This can be changed freely after service is created. Changing the value will trigger
139
- * a potentially lengthy migration process for the service. Format is cloud provider name
140
- * (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
141
- * specific region name. These are documented on each Cloud provider's own support articles,
142
- * like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
143
- * [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
136
+ * 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).
144
137
  */
145
138
  cloudName?: pulumi.Input<string>;
146
139
  /**
@@ -148,51 +141,55 @@ export interface PgState {
148
141
  */
149
142
  components?: pulumi.Input<pulumi.Input<inputs.PgComponent>[]>;
150
143
  /**
151
- * day of week when maintenance operations should be performed.
152
- * On monday, tuesday, wednesday, etc.
144
+ * 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.
145
+ */
146
+ diskSpace?: pulumi.Input<string>;
147
+ /**
148
+ * The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
149
+ */
150
+ diskSpaceCap?: pulumi.Input<string>;
151
+ /**
152
+ * 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`
153
+ */
154
+ diskSpaceDefault?: pulumi.Input<string>;
155
+ /**
156
+ * 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.
157
+ */
158
+ diskSpaceStep?: pulumi.Input<string>;
159
+ /**
160
+ * Disk space that service is currently using
161
+ */
162
+ diskSpaceUsed?: pulumi.Input<string>;
163
+ /**
164
+ * Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
153
165
  */
154
166
  maintenanceWindowDow?: pulumi.Input<string>;
155
167
  /**
156
- * time of day when maintenance operations should be performed.
157
- * UTC time in HH:mm:ss format.
168
+ * Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
158
169
  */
159
170
  maintenanceWindowTime?: pulumi.Input<string>;
160
171
  /**
161
- * Enable pg.
172
+ * PostgreSQL specific server provided values
162
173
  */
163
174
  pg?: pulumi.Input<inputs.PgPg>;
164
175
  /**
165
- * defines PostgreSQL specific additional configuration options. The following
166
- * configuration options available:
176
+ * Pg user configurable settings
167
177
  */
168
178
  pgUserConfig?: pulumi.Input<inputs.PgPgUserConfig>;
169
179
  /**
170
- * defines what kind of computing resources are allocated for the service. It can
171
- * be changed after creation, though there are some restrictions when going to a smaller
172
- * plan such as the new plan must have sufficient amount of disk space to store all current
173
- * data and switching to a plan with fewer nodes might not be supported. The basic plan
174
- * names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
175
- * (roughly) the amount of memory on each node (also other attributes like number of CPUs
176
- * 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).
180
+ * 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).
177
181
  */
178
182
  plan?: pulumi.Input<string>;
179
183
  /**
180
- * identifies the project the service belongs to. To set up proper dependency
181
- * between the project and the service, refer to the project as shown in the above example.
182
- * Project cannot be changed later without destroying and re-creating the service.
184
+ * 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.
183
185
  */
184
186
  project?: pulumi.Input<string>;
185
187
  /**
186
- * optionally specifies the VPC the service should run in. If the value
187
- * is not set the service is not run inside a VPC. When set, the value should be given as a
188
- * reference as shown above to set up dependencies correctly and the VPC must be in the same
189
- * cloud and region as the service itself. Project can be freely moved to and from VPC after
190
- * creation but doing so triggers migration to new servers so the operation can take
191
- * significant amount of time to complete if the service has a lot of data.
188
+ * 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.
192
189
  */
193
190
  projectVpcId?: pulumi.Input<string>;
194
191
  /**
195
- * PostgreSQL hostname.
192
+ * The hostname of the service.
196
193
  */
197
194
  serviceHost?: pulumi.Input<string>;
198
195
  /**
@@ -200,17 +197,15 @@ export interface PgState {
200
197
  */
201
198
  serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.PgServiceIntegration>[]>;
202
199
  /**
203
- * specifies the actual name of the service. The name cannot be changed
204
- * later without destroying and re-creating the service so name should be picked based on
205
- * intended service usage rather than current attributes.
200
+ * 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.
206
201
  */
207
202
  serviceName?: pulumi.Input<string>;
208
203
  /**
209
- * Password used for connecting to the PostgreSQL service, if applicable.
204
+ * Password used for connecting to the service, if applicable
210
205
  */
211
206
  servicePassword?: pulumi.Input<string>;
212
207
  /**
213
- * PostgreSQL port.
208
+ * The port of the service
214
209
  */
215
210
  servicePort?: pulumi.Input<number>;
216
211
  /**
@@ -218,23 +213,23 @@ export interface PgState {
218
213
  */
219
214
  serviceType?: pulumi.Input<string>;
220
215
  /**
221
- * URI for connecting to the PostgreSQL service.
216
+ * URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
222
217
  */
223
218
  serviceUri?: pulumi.Input<string>;
224
219
  /**
225
- * Username used for connecting to the PostgreSQL service, if applicable.
220
+ * Username used for connecting to the service, if applicable
226
221
  */
227
222
  serviceUsername?: pulumi.Input<string>;
228
223
  /**
229
- * Service state.
224
+ * Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
230
225
  */
231
226
  state?: pulumi.Input<string>;
232
227
  /**
233
- * prevents the service from being deleted. It is recommended to
234
- * set this to `true` for all production services to prevent unintentional service
235
- * deletion. This does not shield against deleting databases or topics but for services
236
- * with backups much of the content can at least be restored from backup in case accidental
237
- * deletion is done.
228
+ * 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
229
+ */
230
+ staticIps?: pulumi.Input<pulumi.Input<string>[]>;
231
+ /**
232
+ * 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.
238
233
  */
239
234
  terminationProtection?: pulumi.Input<boolean>;
240
235
  }
@@ -243,57 +238,39 @@ export interface PgState {
243
238
  */
244
239
  export interface PgArgs {
245
240
  /**
246
- * defines where the cloud provider and region where the service is hosted
247
- * in. This can be changed freely after service is created. Changing the value will trigger
248
- * a potentially lengthy migration process for the service. Format is cloud provider name
249
- * (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
250
- * specific region name. These are documented on each Cloud provider's own support articles,
251
- * like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
252
- * [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
241
+ * 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).
253
242
  */
254
243
  cloudName?: pulumi.Input<string>;
255
244
  /**
256
- * day of week when maintenance operations should be performed.
257
- * On monday, tuesday, wednesday, etc.
245
+ * 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.
246
+ */
247
+ diskSpace?: pulumi.Input<string>;
248
+ /**
249
+ * Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
258
250
  */
259
251
  maintenanceWindowDow?: pulumi.Input<string>;
260
252
  /**
261
- * time of day when maintenance operations should be performed.
262
- * UTC time in HH:mm:ss format.
253
+ * Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
263
254
  */
264
255
  maintenanceWindowTime?: pulumi.Input<string>;
265
256
  /**
266
- * Enable pg.
257
+ * PostgreSQL specific server provided values
267
258
  */
268
259
  pg?: pulumi.Input<inputs.PgPg>;
269
260
  /**
270
- * defines PostgreSQL specific additional configuration options. The following
271
- * configuration options available:
261
+ * Pg user configurable settings
272
262
  */
273
263
  pgUserConfig?: pulumi.Input<inputs.PgPgUserConfig>;
274
264
  /**
275
- * defines what kind of computing resources are allocated for the service. It can
276
- * be changed after creation, though there are some restrictions when going to a smaller
277
- * plan such as the new plan must have sufficient amount of disk space to store all current
278
- * data and switching to a plan with fewer nodes might not be supported. The basic plan
279
- * names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
280
- * (roughly) the amount of memory on each node (also other attributes like number of CPUs
281
- * 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).
265
+ * 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).
282
266
  */
283
267
  plan?: pulumi.Input<string>;
284
268
  /**
285
- * identifies the project the service belongs to. To set up proper dependency
286
- * between the project and the service, refer to the project as shown in the above example.
287
- * Project cannot be changed later without destroying and re-creating the service.
269
+ * 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.
288
270
  */
289
271
  project: pulumi.Input<string>;
290
272
  /**
291
- * optionally specifies the VPC the service should run in. If the value
292
- * is not set the service is not run inside a VPC. When set, the value should be given as a
293
- * reference as shown above to set up dependencies correctly and the VPC must be in the same
294
- * cloud and region as the service itself. Project can be freely moved to and from VPC after
295
- * creation but doing so triggers migration to new servers so the operation can take
296
- * significant amount of time to complete if the service has a lot of data.
273
+ * 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.
297
274
  */
298
275
  projectVpcId?: pulumi.Input<string>;
299
276
  /**
@@ -301,17 +278,15 @@ export interface PgArgs {
301
278
  */
302
279
  serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.PgServiceIntegration>[]>;
303
280
  /**
304
- * specifies the actual name of the service. The name cannot be changed
305
- * later without destroying and re-creating the service so name should be picked based on
306
- * intended service usage rather than current attributes.
281
+ * 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.
307
282
  */
308
283
  serviceName: pulumi.Input<string>;
309
284
  /**
310
- * prevents the service from being deleted. It is recommended to
311
- * set this to `true` for all production services to prevent unintentional service
312
- * deletion. This does not shield against deleting databases or topics but for services
313
- * with backups much of the content can at least be restored from backup in case accidental
314
- * deletion is done.
285
+ * 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
286
+ */
287
+ staticIps?: pulumi.Input<pulumi.Input<string>[]>;
288
+ /**
289
+ * 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.
315
290
  */
316
291
  terminationProtection?: pulumi.Input<boolean>;
317
292
  }
package/pg.js CHANGED
@@ -5,6 +5,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.Pg = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * The PG resource allows the creation and management of Aiven PostgreSQL services.
10
+ */
8
11
  class Pg extends pulumi.CustomResource {
9
12
  constructor(name, argsOrState, opts) {
10
13
  let resourceInputs = {};
@@ -13,6 +16,11 @@ class Pg extends pulumi.CustomResource {
13
16
  const state = argsOrState;
14
17
  resourceInputs["cloudName"] = state ? state.cloudName : undefined;
15
18
  resourceInputs["components"] = state ? state.components : undefined;
19
+ resourceInputs["diskSpace"] = state ? state.diskSpace : undefined;
20
+ resourceInputs["diskSpaceCap"] = state ? state.diskSpaceCap : undefined;
21
+ resourceInputs["diskSpaceDefault"] = state ? state.diskSpaceDefault : undefined;
22
+ resourceInputs["diskSpaceStep"] = state ? state.diskSpaceStep : undefined;
23
+ resourceInputs["diskSpaceUsed"] = state ? state.diskSpaceUsed : undefined;
16
24
  resourceInputs["maintenanceWindowDow"] = state ? state.maintenanceWindowDow : undefined;
17
25
  resourceInputs["maintenanceWindowTime"] = state ? state.maintenanceWindowTime : undefined;
18
26
  resourceInputs["pg"] = state ? state.pg : undefined;
@@ -29,6 +37,7 @@ class Pg extends pulumi.CustomResource {
29
37
  resourceInputs["serviceUri"] = state ? state.serviceUri : undefined;
30
38
  resourceInputs["serviceUsername"] = state ? state.serviceUsername : undefined;
31
39
  resourceInputs["state"] = state ? state.state : undefined;
40
+ resourceInputs["staticIps"] = state ? state.staticIps : undefined;
32
41
  resourceInputs["terminationProtection"] = state ? state.terminationProtection : undefined;
33
42
  }
34
43
  else {
@@ -40,6 +49,7 @@ class Pg extends pulumi.CustomResource {
40
49
  throw new Error("Missing required property 'serviceName'");
41
50
  }
42
51
  resourceInputs["cloudName"] = args ? args.cloudName : undefined;
52
+ resourceInputs["diskSpace"] = args ? args.diskSpace : undefined;
43
53
  resourceInputs["maintenanceWindowDow"] = args ? args.maintenanceWindowDow : undefined;
44
54
  resourceInputs["maintenanceWindowTime"] = args ? args.maintenanceWindowTime : undefined;
45
55
  resourceInputs["pg"] = args ? args.pg : undefined;
@@ -49,8 +59,13 @@ class Pg extends pulumi.CustomResource {
49
59
  resourceInputs["projectVpcId"] = args ? args.projectVpcId : undefined;
50
60
  resourceInputs["serviceIntegrations"] = args ? args.serviceIntegrations : undefined;
51
61
  resourceInputs["serviceName"] = args ? args.serviceName : undefined;
62
+ resourceInputs["staticIps"] = args ? args.staticIps : undefined;
52
63
  resourceInputs["terminationProtection"] = args ? args.terminationProtection : undefined;
53
64
  resourceInputs["components"] = undefined /*out*/;
65
+ resourceInputs["diskSpaceCap"] = undefined /*out*/;
66
+ resourceInputs["diskSpaceDefault"] = undefined /*out*/;
67
+ resourceInputs["diskSpaceStep"] = undefined /*out*/;
68
+ resourceInputs["diskSpaceUsed"] = undefined /*out*/;
54
69
  resourceInputs["serviceHost"] = undefined /*out*/;
55
70
  resourceInputs["servicePassword"] = undefined /*out*/;
56
71
  resourceInputs["servicePort"] = undefined /*out*/;
package/pg.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"pg.js","sourceRoot":"","sources":["../pg.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,MAAa,EAAG,SAAQ,MAAM,CAAC,cAAc;IA6IzC,YAAY,IAAY,EAAE,WAA8B,EAAE,IAAmC;QACzF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkC,CAAC;YACjD,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,K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