@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/kafkaAcl.d.ts CHANGED
@@ -1,7 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * ## # Resource Kafka ACL Resource
4
- *
5
3
  * The Resource Kafka ACL resource allows the creation and management of ACLs for an Aiven Kafka service.
6
4
  *
7
5
  * ## Example Usage
@@ -36,27 +34,23 @@ export declare class KafkaAcl extends pulumi.CustomResource {
36
34
  */
37
35
  static isInstance(obj: any): obj is KafkaAcl;
38
36
  /**
39
- * is the level of permission the matching users are given to the matching
40
- * topics (admin, read, readwrite, write).
37
+ * Kafka permission to grant. The possible values are `admin`, `read`, `readwrite` and `write`. This property cannot be changed, doing so forces recreation of the resource.
41
38
  */
42
39
  readonly permission: pulumi.Output<string>;
43
40
  /**
44
- * and `serviceName` - (Required) define the project and service the ACL belongs to.
45
- * They should be defined using reference as shown above to set up dependencies correctly.
46
- * These properties cannot be changed once the service is created. Doing so will result in
47
- * the topic being deleted and new one created instead.
41
+ * 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.
48
42
  */
49
43
  readonly project: pulumi.Output<string>;
50
44
  /**
51
- * Service to link the Kafka ACL to
45
+ * Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
52
46
  */
53
47
  readonly serviceName: pulumi.Output<string>;
54
48
  /**
55
- * is a topic name pattern the ACL entry matches to.
49
+ * Topic name pattern for the ACL entry. This property cannot be changed, doing so forces recreation of the resource.
56
50
  */
57
51
  readonly topic: pulumi.Output<string>;
58
52
  /**
59
- * is a username pattern the ACL entry matches to.
53
+ * Username pattern for the ACL entry. This property cannot be changed, doing so forces recreation of the resource.
60
54
  */
61
55
  readonly username: pulumi.Output<string>;
62
56
  /**
@@ -73,27 +67,23 @@ export declare class KafkaAcl extends pulumi.CustomResource {
73
67
  */
74
68
  export interface KafkaAclState {
75
69
  /**
76
- * is the level of permission the matching users are given to the matching
77
- * topics (admin, read, readwrite, write).
70
+ * Kafka permission to grant. The possible values are `admin`, `read`, `readwrite` and `write`. This property cannot be changed, doing so forces recreation of the resource.
78
71
  */
79
72
  permission?: pulumi.Input<string>;
80
73
  /**
81
- * and `serviceName` - (Required) define the project and service the ACL belongs to.
82
- * They should be defined using reference as shown above to set up dependencies correctly.
83
- * These properties cannot be changed once the service is created. Doing so will result in
84
- * the topic being deleted and new one created instead.
74
+ * 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.
85
75
  */
86
76
  project?: pulumi.Input<string>;
87
77
  /**
88
- * Service to link the Kafka ACL to
78
+ * Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
89
79
  */
90
80
  serviceName?: pulumi.Input<string>;
91
81
  /**
92
- * is a topic name pattern the ACL entry matches to.
82
+ * Topic name pattern for the ACL entry. This property cannot be changed, doing so forces recreation of the resource.
93
83
  */
94
84
  topic?: pulumi.Input<string>;
95
85
  /**
96
- * is a username pattern the ACL entry matches to.
86
+ * Username pattern for the ACL entry. This property cannot be changed, doing so forces recreation of the resource.
97
87
  */
98
88
  username?: pulumi.Input<string>;
99
89
  }
@@ -102,27 +92,23 @@ export interface KafkaAclState {
102
92
  */
103
93
  export interface KafkaAclArgs {
104
94
  /**
105
- * is the level of permission the matching users are given to the matching
106
- * topics (admin, read, readwrite, write).
95
+ * Kafka permission to grant. The possible values are `admin`, `read`, `readwrite` and `write`. This property cannot be changed, doing so forces recreation of the resource.
107
96
  */
108
97
  permission: pulumi.Input<string>;
109
98
  /**
110
- * and `serviceName` - (Required) define the project and service the ACL belongs to.
111
- * They should be defined using reference as shown above to set up dependencies correctly.
112
- * These properties cannot be changed once the service is created. Doing so will result in
113
- * the topic being deleted and new one created instead.
99
+ * 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.
114
100
  */
115
101
  project: pulumi.Input<string>;
116
102
  /**
117
- * Service to link the Kafka ACL to
103
+ * Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
118
104
  */
119
105
  serviceName: pulumi.Input<string>;
120
106
  /**
121
- * is a topic name pattern the ACL entry matches to.
107
+ * Topic name pattern for the ACL entry. This property cannot be changed, doing so forces recreation of the resource.
122
108
  */
123
109
  topic: pulumi.Input<string>;
124
110
  /**
125
- * is a username pattern the ACL entry matches to.
111
+ * Username pattern for the ACL entry. This property cannot be changed, doing so forces recreation of the resource.
126
112
  */
127
113
  username: pulumi.Input<string>;
128
114
  }
package/kafkaAcl.js CHANGED
@@ -6,8 +6,6 @@ exports.KafkaAcl = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * ## # Resource Kafka ACL Resource
10
- *
11
9
  * The Resource Kafka ACL resource allows the creation and management of ACLs for an Aiven Kafka service.
12
10
  *
13
11
  * ## Example Usage
package/kafkaAcl.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"kafkaAcl.js","sourceRoot":"","sources":["../kafkaAcl.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IA6D/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,C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,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AA1BL,4BA6FC;AA/EG,gBAAgB;AACO,qBAAY,GAAG,+BAA+B,CAAC"}
package/kafkaConnect.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
- * ## # Kafka Connect Resource
5
- *
6
4
  * The Kafka Connect resource allows the creation and management of Aiven Kafka Connect services.
7
5
  *
8
6
  * ## Example Usage
@@ -46,13 +44,7 @@ export declare class KafkaConnect extends pulumi.CustomResource {
46
44
  */
47
45
  static isInstance(obj: any): obj is KafkaConnect;
48
46
  /**
49
- * defines where the cloud provider and region where the service is hosted
50
- * in. This can be changed freely after service is created. Changing the value will trigger
51
- * a potentially lengthy migration process for the service. Format is cloud provider name
52
- * (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
53
- * specific region name. These are documented on each Cloud provider's own support articles,
54
- * like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
55
- * [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
47
+ * 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).
56
48
  */
57
49
  readonly cloudName: pulumi.Output<string | undefined>;
58
50
  /**
@@ -60,52 +52,55 @@ export declare class KafkaConnect extends pulumi.CustomResource {
60
52
  */
61
53
  readonly components: pulumi.Output<outputs.KafkaConnectComponent[]>;
62
54
  /**
63
- * Allow clients to connect to kafkaConnect from the public internet for
64
- * service nodes that are in a project VPC or another type of private network.
55
+ * 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.
56
+ */
57
+ readonly diskSpace: pulumi.Output<string | undefined>;
58
+ /**
59
+ * The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
60
+ */
61
+ readonly diskSpaceCap: pulumi.Output<string>;
62
+ /**
63
+ * 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`
64
+ */
65
+ readonly diskSpaceDefault: pulumi.Output<string>;
66
+ /**
67
+ * 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.
65
68
  */
66
- readonly kafkaConnect: pulumi.Output<outputs.KafkaConnectKafkaConnect>;
69
+ readonly diskSpaceStep: pulumi.Output<string>;
67
70
  /**
68
- * defines kafka Connect specific additional configuration options.
69
- * The following configuration options available:
71
+ * Disk space that service is currently using
72
+ */
73
+ readonly diskSpaceUsed: pulumi.Output<string>;
74
+ /**
75
+ * Kafka*connect user configurable settings
70
76
  */
71
77
  readonly kafkaConnectUserConfig: pulumi.Output<outputs.KafkaConnectKafkaConnectUserConfig | undefined>;
72
78
  /**
73
- * day of week when maintenance operations should be performed.
74
- * On monday, tuesday, wednesday, etc.
79
+ * Kafka Connect server provided values
80
+ */
81
+ readonly kafkaConnects: pulumi.Output<outputs.KafkaConnectKafkaConnect[]>;
82
+ /**
83
+ * Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
75
84
  */
76
85
  readonly maintenanceWindowDow: pulumi.Output<string | undefined>;
77
86
  /**
78
- * time of day when maintenance operations should be performed.
79
- * UTC time in HH:mm:ss format.
87
+ * Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
80
88
  */
81
89
  readonly maintenanceWindowTime: pulumi.Output<string | undefined>;
82
90
  /**
83
- * defines what kind of computing resources are allocated for the service. It can
84
- * be changed after creation, though there are some restrictions when going to a smaller
85
- * plan such as the new plan must have sufficient amount of disk space to store all current
86
- * data and switching to a plan with fewer nodes might not be supported. The basic plan
87
- * names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
88
- * (roughly) the amount of memory on each node (also other attributes like number of CPUs
89
- * 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).
91
+ * 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).
90
92
  */
91
93
  readonly plan: pulumi.Output<string | undefined>;
92
94
  /**
93
- * identifies the project the service belongs to. To set up proper dependency
94
- * between the project and the service, refer to the project as shown in the above example.
95
- * Project cannot be changed later without destroying and re-creating the service.
95
+ * 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.
96
96
  */
97
97
  readonly project: pulumi.Output<string>;
98
98
  /**
99
- * optionally specifies the VPC the service should run in. If the value
100
- * is not set the service is not run inside a VPC. When set, the value should be given as a
101
- * reference as shown above to set up dependencies correctly and the VPC must be in the same
102
- * cloud and region as the service itself. Project can be freely moved to and from VPC after
103
- * creation but doing so triggers migration to new servers so the operation can take
104
- * significant amount of time to complete if the service has a lot of data.
99
+ * 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.
105
100
  */
106
101
  readonly projectVpcId: pulumi.Output<string | undefined>;
107
102
  /**
108
- * Kafka Connect hostname.
103
+ * The hostname of the service.
109
104
  */
110
105
  readonly serviceHost: pulumi.Output<string>;
111
106
  /**
@@ -113,17 +108,15 @@ export declare class KafkaConnect extends pulumi.CustomResource {
113
108
  */
114
109
  readonly serviceIntegrations: pulumi.Output<outputs.KafkaConnectServiceIntegration[] | undefined>;
115
110
  /**
116
- * specifies the actual name of the service. The name cannot be changed
117
- * later without destroying and re-creating the service so name should be picked based on
118
- * intended service usage rather than current attributes.
111
+ * 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.
119
112
  */
120
113
  readonly serviceName: pulumi.Output<string>;
121
114
  /**
122
- * Password used for connecting to the Kafka Connect service, if applicable.
115
+ * Password used for connecting to the service, if applicable
123
116
  */
124
117
  readonly servicePassword: pulumi.Output<string>;
125
118
  /**
126
- * Kafka Connect port.
119
+ * The port of the service
127
120
  */
128
121
  readonly servicePort: pulumi.Output<number>;
129
122
  /**
@@ -131,23 +124,23 @@ export declare class KafkaConnect extends pulumi.CustomResource {
131
124
  */
132
125
  readonly serviceType: pulumi.Output<string>;
133
126
  /**
134
- * URI for connecting to the Kafka Connect service.
127
+ * URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
135
128
  */
136
129
  readonly serviceUri: pulumi.Output<string>;
137
130
  /**
138
- * Username used for connecting to the Kafka Connect service, if applicable.
131
+ * Username used for connecting to the service, if applicable
139
132
  */
140
133
  readonly serviceUsername: pulumi.Output<string>;
141
134
  /**
142
- * Service state.
135
+ * Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
143
136
  */
144
137
  readonly state: pulumi.Output<string>;
145
138
  /**
146
- * prevents the service from being deleted. It is recommended to
147
- * set this to `true` for all production services to prevent unintentional service
148
- * deletion. This does not shield against deleting databases or topics but for services
149
- * with backups much of the content can at least be restored from backup in case accidental
150
- * deletion is done.
139
+ * 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
140
+ */
141
+ readonly staticIps: pulumi.Output<string[] | undefined>;
142
+ /**
143
+ * 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.
151
144
  */
152
145
  readonly terminationProtection: pulumi.Output<boolean | undefined>;
153
146
  /**
@@ -164,13 +157,7 @@ export declare class KafkaConnect extends pulumi.CustomResource {
164
157
  */
165
158
  export interface KafkaConnectState {
166
159
  /**
167
- * defines where the cloud provider and region where the service is hosted
168
- * in. This can be changed freely after service is created. Changing the value will trigger
169
- * a potentially lengthy migration process for the service. Format is cloud provider name
170
- * (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
171
- * specific region name. These are documented on each Cloud provider's own support articles,
172
- * like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
173
- * [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
160
+ * 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).
174
161
  */
175
162
  cloudName?: pulumi.Input<string>;
176
163
  /**
@@ -178,52 +165,55 @@ export interface KafkaConnectState {
178
165
  */
179
166
  components?: pulumi.Input<pulumi.Input<inputs.KafkaConnectComponent>[]>;
180
167
  /**
181
- * Allow clients to connect to kafkaConnect from the public internet for
182
- * service nodes that are in a project VPC or another type of private network.
168
+ * 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.
183
169
  */
184
- kafkaConnect?: pulumi.Input<inputs.KafkaConnectKafkaConnect>;
170
+ diskSpace?: pulumi.Input<string>;
185
171
  /**
186
- * defines kafka Connect specific additional configuration options.
187
- * The following configuration options available:
172
+ * The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
173
+ */
174
+ diskSpaceCap?: pulumi.Input<string>;
175
+ /**
176
+ * 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`
177
+ */
178
+ diskSpaceDefault?: pulumi.Input<string>;
179
+ /**
180
+ * 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.
181
+ */
182
+ diskSpaceStep?: pulumi.Input<string>;
183
+ /**
184
+ * Disk space that service is currently using
185
+ */
186
+ diskSpaceUsed?: pulumi.Input<string>;
187
+ /**
188
+ * Kafka*connect user configurable settings
188
189
  */
189
190
  kafkaConnectUserConfig?: pulumi.Input<inputs.KafkaConnectKafkaConnectUserConfig>;
190
191
  /**
191
- * day of week when maintenance operations should be performed.
192
- * On monday, tuesday, wednesday, etc.
192
+ * Kafka Connect server provided values
193
+ */
194
+ kafkaConnects?: pulumi.Input<pulumi.Input<inputs.KafkaConnectKafkaConnect>[]>;
195
+ /**
196
+ * Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
193
197
  */
194
198
  maintenanceWindowDow?: pulumi.Input<string>;
195
199
  /**
196
- * time of day when maintenance operations should be performed.
197
- * UTC time in HH:mm:ss format.
200
+ * Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
198
201
  */
199
202
  maintenanceWindowTime?: pulumi.Input<string>;
200
203
  /**
201
- * defines what kind of computing resources are allocated for the service. It can
202
- * be changed after creation, though there are some restrictions when going to a smaller
203
- * plan such as the new plan must have sufficient amount of disk space to store all current
204
- * data and switching to a plan with fewer nodes might not be supported. The basic plan
205
- * names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
206
- * (roughly) the amount of memory on each node (also other attributes like number of CPUs
207
- * 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).
204
+ * 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).
208
205
  */
209
206
  plan?: pulumi.Input<string>;
210
207
  /**
211
- * identifies the project the service belongs to. To set up proper dependency
212
- * between the project and the service, refer to the project as shown in the above example.
213
- * Project cannot be changed later without destroying and re-creating the service.
208
+ * 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.
214
209
  */
215
210
  project?: pulumi.Input<string>;
216
211
  /**
217
- * optionally specifies the VPC the service should run in. If the value
218
- * is not set the service is not run inside a VPC. When set, the value should be given as a
219
- * reference as shown above to set up dependencies correctly and the VPC must be in the same
220
- * cloud and region as the service itself. Project can be freely moved to and from VPC after
221
- * creation but doing so triggers migration to new servers so the operation can take
222
- * significant amount of time to complete if the service has a lot of data.
212
+ * 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.
223
213
  */
224
214
  projectVpcId?: pulumi.Input<string>;
225
215
  /**
226
- * Kafka Connect hostname.
216
+ * The hostname of the service.
227
217
  */
228
218
  serviceHost?: pulumi.Input<string>;
229
219
  /**
@@ -231,17 +221,15 @@ export interface KafkaConnectState {
231
221
  */
232
222
  serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.KafkaConnectServiceIntegration>[]>;
233
223
  /**
234
- * specifies the actual name of the service. The name cannot be changed
235
- * later without destroying and re-creating the service so name should be picked based on
236
- * intended service usage rather than current attributes.
224
+ * 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.
237
225
  */
238
226
  serviceName?: pulumi.Input<string>;
239
227
  /**
240
- * Password used for connecting to the Kafka Connect service, if applicable.
228
+ * Password used for connecting to the service, if applicable
241
229
  */
242
230
  servicePassword?: pulumi.Input<string>;
243
231
  /**
244
- * Kafka Connect port.
232
+ * The port of the service
245
233
  */
246
234
  servicePort?: pulumi.Input<number>;
247
235
  /**
@@ -249,23 +237,23 @@ export interface KafkaConnectState {
249
237
  */
250
238
  serviceType?: pulumi.Input<string>;
251
239
  /**
252
- * URI for connecting to the Kafka Connect service.
240
+ * URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
253
241
  */
254
242
  serviceUri?: pulumi.Input<string>;
255
243
  /**
256
- * Username used for connecting to the Kafka Connect service, if applicable.
244
+ * Username used for connecting to the service, if applicable
257
245
  */
258
246
  serviceUsername?: pulumi.Input<string>;
259
247
  /**
260
- * Service state.
248
+ * Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
261
249
  */
262
250
  state?: pulumi.Input<string>;
263
251
  /**
264
- * prevents the service from being deleted. It is recommended to
265
- * set this to `true` for all production services to prevent unintentional service
266
- * deletion. This does not shield against deleting databases or topics but for services
267
- * with backups much of the content can at least be restored from backup in case accidental
268
- * deletion is done.
252
+ * 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
253
+ */
254
+ staticIps?: pulumi.Input<pulumi.Input<string>[]>;
255
+ /**
256
+ * 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.
269
257
  */
270
258
  terminationProtection?: pulumi.Input<boolean>;
271
259
  }
@@ -274,58 +262,35 @@ export interface KafkaConnectState {
274
262
  */
275
263
  export interface KafkaConnectArgs {
276
264
  /**
277
- * defines where the cloud provider and region where the service is hosted
278
- * in. This can be changed freely after service is created. Changing the value will trigger
279
- * a potentially lengthy migration process for the service. Format is cloud provider name
280
- * (`aws`, `azure`, `do` `google`, `upcloud`, etc.), dash, and the cloud provider
281
- * specific region name. These are documented on each Cloud provider's own support articles,
282
- * like [here for Google](https://cloud.google.com/compute/docs/regions-zones/) and
283
- * [here for AWS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html).
265
+ * 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).
284
266
  */
285
267
  cloudName?: pulumi.Input<string>;
286
268
  /**
287
- * Allow clients to connect to kafkaConnect from the public internet for
288
- * service nodes that are in a project VPC or another type of private network.
269
+ * 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.
289
270
  */
290
- kafkaConnect?: pulumi.Input<inputs.KafkaConnectKafkaConnect>;
271
+ diskSpace?: pulumi.Input<string>;
291
272
  /**
292
- * defines kafka Connect specific additional configuration options.
293
- * The following configuration options available:
273
+ * Kafka*connect user configurable settings
294
274
  */
295
275
  kafkaConnectUserConfig?: pulumi.Input<inputs.KafkaConnectKafkaConnectUserConfig>;
296
276
  /**
297
- * day of week when maintenance operations should be performed.
298
- * On monday, tuesday, wednesday, etc.
277
+ * Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
299
278
  */
300
279
  maintenanceWindowDow?: pulumi.Input<string>;
301
280
  /**
302
- * time of day when maintenance operations should be performed.
303
- * UTC time in HH:mm:ss format.
281
+ * Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
304
282
  */
305
283
  maintenanceWindowTime?: pulumi.Input<string>;
306
284
  /**
307
- * defines what kind of computing resources are allocated for the service. It can
308
- * be changed after creation, though there are some restrictions when going to a smaller
309
- * plan such as the new plan must have sufficient amount of disk space to store all current
310
- * data and switching to a plan with fewer nodes might not be supported. The basic plan
311
- * names are `hobbyist`, `startup-x`, `business-x` and `premium-x` where `x` is
312
- * (roughly) the amount of memory on each node (also other attributes like number of CPUs
313
- * 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).
285
+ * 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).
314
286
  */
315
287
  plan?: pulumi.Input<string>;
316
288
  /**
317
- * identifies the project the service belongs to. To set up proper dependency
318
- * between the project and the service, refer to the project as shown in the above example.
319
- * Project cannot be changed later without destroying and re-creating the service.
289
+ * 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.
320
290
  */
321
291
  project: pulumi.Input<string>;
322
292
  /**
323
- * optionally specifies the VPC the service should run in. If the value
324
- * is not set the service is not run inside a VPC. When set, the value should be given as a
325
- * reference as shown above to set up dependencies correctly and the VPC must be in the same
326
- * cloud and region as the service itself. Project can be freely moved to and from VPC after
327
- * creation but doing so triggers migration to new servers so the operation can take
328
- * significant amount of time to complete if the service has a lot of data.
293
+ * 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.
329
294
  */
330
295
  projectVpcId?: pulumi.Input<string>;
331
296
  /**
@@ -333,17 +298,15 @@ export interface KafkaConnectArgs {
333
298
  */
334
299
  serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.KafkaConnectServiceIntegration>[]>;
335
300
  /**
336
- * specifies the actual name of the service. The name cannot be changed
337
- * later without destroying and re-creating the service so name should be picked based on
338
- * intended service usage rather than current attributes.
301
+ * 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.
339
302
  */
340
303
  serviceName: pulumi.Input<string>;
341
304
  /**
342
- * prevents the service from being deleted. It is recommended to
343
- * set this to `true` for all production services to prevent unintentional service
344
- * deletion. This does not shield against deleting databases or topics but for services
345
- * with backups much of the content can at least be restored from backup in case accidental
346
- * deletion is done.
305
+ * 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
306
+ */
307
+ staticIps?: pulumi.Input<pulumi.Input<string>[]>;
308
+ /**
309
+ * 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.
347
310
  */
348
311
  terminationProtection?: pulumi.Input<boolean>;
349
312
  }
package/kafkaConnect.js CHANGED
@@ -6,8 +6,6 @@ exports.KafkaConnect = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * ## # Kafka Connect Resource
10
- *
11
9
  * The Kafka Connect resource allows the creation and management of Aiven Kafka Connect services.
12
10
  *
13
11
  * ## Example Usage
@@ -42,8 +40,13 @@ class KafkaConnect extends pulumi.CustomResource {
42
40
  const state = argsOrState;
43
41
  resourceInputs["cloudName"] = state ? state.cloudName : undefined;
44
42
  resourceInputs["components"] = state ? state.components : undefined;
45
- resourceInputs["kafkaConnect"] = state ? state.kafkaConnect : undefined;
43
+ resourceInputs["diskSpace"] = state ? state.diskSpace : undefined;
44
+ resourceInputs["diskSpaceCap"] = state ? state.diskSpaceCap : undefined;
45
+ resourceInputs["diskSpaceDefault"] = state ? state.diskSpaceDefault : undefined;
46
+ resourceInputs["diskSpaceStep"] = state ? state.diskSpaceStep : undefined;
47
+ resourceInputs["diskSpaceUsed"] = state ? state.diskSpaceUsed : undefined;
46
48
  resourceInputs["kafkaConnectUserConfig"] = state ? state.kafkaConnectUserConfig : undefined;
49
+ resourceInputs["kafkaConnects"] = state ? state.kafkaConnects : undefined;
47
50
  resourceInputs["maintenanceWindowDow"] = state ? state.maintenanceWindowDow : undefined;
48
51
  resourceInputs["maintenanceWindowTime"] = state ? state.maintenanceWindowTime : undefined;
49
52
  resourceInputs["plan"] = state ? state.plan : undefined;
@@ -58,6 +61,7 @@ class KafkaConnect extends pulumi.CustomResource {
58
61
  resourceInputs["serviceUri"] = state ? state.serviceUri : undefined;
59
62
  resourceInputs["serviceUsername"] = state ? state.serviceUsername : undefined;
60
63
  resourceInputs["state"] = state ? state.state : undefined;
64
+ resourceInputs["staticIps"] = state ? state.staticIps : undefined;
61
65
  resourceInputs["terminationProtection"] = state ? state.terminationProtection : undefined;
62
66
  }
63
67
  else {
@@ -69,7 +73,7 @@ class KafkaConnect extends pulumi.CustomResource {
69
73
  throw new Error("Missing required property 'serviceName'");
70
74
  }
71
75
  resourceInputs["cloudName"] = args ? args.cloudName : undefined;
72
- resourceInputs["kafkaConnect"] = args ? args.kafkaConnect : undefined;
76
+ resourceInputs["diskSpace"] = args ? args.diskSpace : undefined;
73
77
  resourceInputs["kafkaConnectUserConfig"] = args ? args.kafkaConnectUserConfig : undefined;
74
78
  resourceInputs["maintenanceWindowDow"] = args ? args.maintenanceWindowDow : undefined;
75
79
  resourceInputs["maintenanceWindowTime"] = args ? args.maintenanceWindowTime : undefined;
@@ -78,8 +82,14 @@ class KafkaConnect extends pulumi.CustomResource {
78
82
  resourceInputs["projectVpcId"] = args ? args.projectVpcId : undefined;
79
83
  resourceInputs["serviceIntegrations"] = args ? args.serviceIntegrations : undefined;
80
84
  resourceInputs["serviceName"] = args ? args.serviceName : undefined;
85
+ resourceInputs["staticIps"] = args ? args.staticIps : undefined;
81
86
  resourceInputs["terminationProtection"] = args ? args.terminationProtection : undefined;
82
87
  resourceInputs["components"] = undefined /*out*/;
88
+ resourceInputs["diskSpaceCap"] = undefined /*out*/;
89
+ resourceInputs["diskSpaceDefault"] = undefined /*out*/;
90
+ resourceInputs["diskSpaceStep"] = undefined /*out*/;
91
+ resourceInputs["diskSpaceUsed"] = undefined /*out*/;
92
+ resourceInputs["kafkaConnects"] = undefined /*out*/;
83
93
  resourceInputs["serviceHost"] = undefined /*out*/;
84
94
  resourceInputs["servicePassword"] = undefined /*out*/;
85
95
  resourceInputs["servicePort"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"kafkaConnect.js","sourceRoot":"","sources":["../kafkaConnect.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IA8InD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,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,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY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