@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/getCassandra.js CHANGED
@@ -6,8 +6,6 @@ exports.getCassandraOutput = exports.getCassandra = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * ## # Cassandra Data Source
10
- *
11
9
  * The Cassandra data source provides information about the existing Aiven Cassandra service.
12
10
  *
13
11
  * ## Example Usage
@@ -18,7 +16,7 @@ const utilities = require("./utilities");
18
16
  *
19
17
  * const bar = aiven.getCassandra({
20
18
  * project: data.aiven_project.foo.project,
21
- * serviceName: `test-acc-sr-%s`,
19
+ * serviceName: "<SERVICE_NAME>",
22
20
  * });
23
21
  * ```
24
22
  */
@@ -28,25 +26,8 @@ function getCassandra(args, opts) {
28
26
  }
29
27
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
30
28
  return pulumi.runtime.invoke("aiven:index/getCassandra:getCassandra", {
31
- "cassandra": args.cassandra,
32
- "cassandraUserConfig": args.cassandraUserConfig,
33
- "cloudName": args.cloudName,
34
- "components": args.components,
35
- "maintenanceWindowDow": args.maintenanceWindowDow,
36
- "maintenanceWindowTime": args.maintenanceWindowTime,
37
- "plan": args.plan,
38
29
  "project": args.project,
39
- "projectVpcId": args.projectVpcId,
40
- "serviceHost": args.serviceHost,
41
- "serviceIntegrations": args.serviceIntegrations,
42
30
  "serviceName": args.serviceName,
43
- "servicePassword": args.servicePassword,
44
- "servicePort": args.servicePort,
45
- "serviceType": args.serviceType,
46
- "serviceUri": args.serviceUri,
47
- "serviceUsername": args.serviceUsername,
48
- "state": args.state,
49
- "terminationProtection": args.terminationProtection,
50
31
  }, opts);
51
32
  }
52
33
  exports.getCassandra = getCassandra;
@@ -1 +1 @@
1
- {"version":3,"file":"getCassandra.js","sourceRoot":"","sources":["../getCassandra.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE;QAClE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;KACtD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AA3BD,oCA2BC;AAsMD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
1
+ {"version":3,"file":"getCassandra.js","sourceRoot":"","sources":["../getCassandra.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,uCAAuC,EAAE;QAClE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oCAUC;AA8HD,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,gDAEC"}
@@ -0,0 +1,154 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "./types";
3
+ /**
4
+ * The Clickhouse data source provides information about the existing Aiven Clickhouse service.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as aiven from "@pulumi/aiven";
11
+ *
12
+ * const clickhouse = aiven.getClickhouse({
13
+ * project: data.aiven_project.pr1.project,
14
+ * serviceName: "<SERVICE_NAME>",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getClickhouse(args: GetClickhouseArgs, opts?: pulumi.InvokeOptions): Promise<GetClickhouseResult>;
19
+ /**
20
+ * A collection of arguments for invoking getClickhouse.
21
+ */
22
+ export interface GetClickhouseArgs {
23
+ /**
24
+ * 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.
25
+ */
26
+ project: string;
27
+ /**
28
+ * 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.
29
+ */
30
+ serviceName: string;
31
+ }
32
+ /**
33
+ * A collection of values returned by getClickhouse.
34
+ */
35
+ export interface GetClickhouseResult {
36
+ /**
37
+ * Clickhouse user configurable settings
38
+ */
39
+ readonly clickhouseUserConfigs: outputs.GetClickhouseClickhouseUserConfig[];
40
+ /**
41
+ * Clickhouse server provided values
42
+ */
43
+ readonly clickhouses: outputs.GetClickhouseClickhouse[];
44
+ /**
45
+ * 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).
46
+ */
47
+ readonly cloudName: string;
48
+ /**
49
+ * Service component information objects
50
+ */
51
+ readonly components: outputs.GetClickhouseComponent[];
52
+ /**
53
+ * 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.
54
+ */
55
+ readonly diskSpace: string;
56
+ /**
57
+ * The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
58
+ */
59
+ readonly diskSpaceCap: string;
60
+ /**
61
+ * 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`
62
+ */
63
+ readonly diskSpaceDefault: string;
64
+ /**
65
+ * 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.
66
+ */
67
+ readonly diskSpaceStep: string;
68
+ /**
69
+ * Disk space that service is currently using
70
+ */
71
+ readonly diskSpaceUsed: string;
72
+ /**
73
+ * The provider-assigned unique ID for this managed resource.
74
+ */
75
+ readonly id: string;
76
+ /**
77
+ * Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
78
+ */
79
+ readonly maintenanceWindowDow: string;
80
+ /**
81
+ * Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
82
+ */
83
+ readonly maintenanceWindowTime: string;
84
+ /**
85
+ * 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).
86
+ */
87
+ readonly plan: string;
88
+ /**
89
+ * Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
90
+ */
91
+ readonly project: string;
92
+ /**
93
+ * 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.
94
+ */
95
+ readonly projectVpcId: string;
96
+ /**
97
+ * The hostname of the service.
98
+ */
99
+ readonly serviceHost: string;
100
+ /**
101
+ * Service integrations to specify when creating a service. Not applied after initial service creation
102
+ */
103
+ readonly serviceIntegrations: outputs.GetClickhouseServiceIntegration[];
104
+ /**
105
+ * 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.
106
+ */
107
+ readonly serviceName: string;
108
+ /**
109
+ * Password used for connecting to the service, if applicable
110
+ */
111
+ readonly servicePassword: string;
112
+ /**
113
+ * The port of the service
114
+ */
115
+ readonly servicePort: number;
116
+ /**
117
+ * Aiven internal service type code
118
+ */
119
+ readonly serviceType: string;
120
+ /**
121
+ * URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
122
+ */
123
+ readonly serviceUri: string;
124
+ /**
125
+ * Username used for connecting to the service, if applicable
126
+ */
127
+ readonly serviceUsername: string;
128
+ /**
129
+ * Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` or `RUNNING`
130
+ */
131
+ readonly state: string;
132
+ /**
133
+ * 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
134
+ */
135
+ readonly staticIps: string[];
136
+ /**
137
+ * 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.
138
+ */
139
+ readonly terminationProtection: boolean;
140
+ }
141
+ export declare function getClickhouseOutput(args: GetClickhouseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClickhouseResult>;
142
+ /**
143
+ * A collection of arguments for invoking getClickhouse.
144
+ */
145
+ export interface GetClickhouseOutputArgs {
146
+ /**
147
+ * 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.
148
+ */
149
+ project: pulumi.Input<string>;
150
+ /**
151
+ * 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.
152
+ */
153
+ serviceName: pulumi.Input<string>;
154
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getClickhouseOutput = exports.getClickhouse = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * The Clickhouse data source provides information about the existing Aiven Clickhouse service.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aiven from "@pulumi/aiven";
16
+ *
17
+ * const clickhouse = aiven.getClickhouse({
18
+ * project: data.aiven_project.pr1.project,
19
+ * serviceName: "<SERVICE_NAME>",
20
+ * });
21
+ * ```
22
+ */
23
+ function getClickhouse(args, opts) {
24
+ if (!opts) {
25
+ opts = {};
26
+ }
27
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
28
+ return pulumi.runtime.invoke("aiven:index/getClickhouse:getClickhouse", {
29
+ "project": args.project,
30
+ "serviceName": args.serviceName,
31
+ }, opts);
32
+ }
33
+ exports.getClickhouse = getClickhouse;
34
+ function getClickhouseOutput(args, opts) {
35
+ return pulumi.output(args).apply(a => getClickhouse(a, opts));
36
+ }
37
+ exports.getClickhouseOutput = getClickhouseOutput;
38
+ //# sourceMappingURL=getClickhouse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getClickhouse.js","sourceRoot":"","sources":["../getClickhouse.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yCAAyC,EAAE;QACpE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AA8HD,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
@@ -0,0 +1,75 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * The Clickhouse database data source provides information about the existing Aiven Clickhouse Database.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aiven from "@pulumi/aiven";
10
+ *
11
+ * const clickhouseDb = aiven.getClickhouseDatabase({
12
+ * project: aiven_clickhouse.ch.project,
13
+ * serviceName: aiven_clickhouse.ch.service_name,
14
+ * name: "my-ch-db",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getClickhouseDatabase(args: GetClickhouseDatabaseArgs, opts?: pulumi.InvokeOptions): Promise<GetClickhouseDatabaseResult>;
19
+ /**
20
+ * A collection of arguments for invoking getClickhouseDatabase.
21
+ */
22
+ export interface GetClickhouseDatabaseArgs {
23
+ /**
24
+ * The name of the Clickhouse database. This property cannot be changed, doing so forces recreation of the resource.
25
+ */
26
+ name: string;
27
+ /**
28
+ * 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.
29
+ */
30
+ project: string;
31
+ /**
32
+ * 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.
33
+ */
34
+ serviceName: string;
35
+ }
36
+ /**
37
+ * A collection of values returned by getClickhouseDatabase.
38
+ */
39
+ export interface GetClickhouseDatabaseResult {
40
+ /**
41
+ * The provider-assigned unique ID for this managed resource.
42
+ */
43
+ readonly id: string;
44
+ /**
45
+ * The name of the Clickhouse database. This property cannot be changed, doing so forces recreation of the resource.
46
+ */
47
+ readonly name: string;
48
+ /**
49
+ * Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
50
+ */
51
+ readonly project: string;
52
+ /**
53
+ * 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.
54
+ */
55
+ readonly serviceName: string;
56
+ readonly terminationProtection: boolean;
57
+ }
58
+ export declare function getClickhouseDatabaseOutput(args: GetClickhouseDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClickhouseDatabaseResult>;
59
+ /**
60
+ * A collection of arguments for invoking getClickhouseDatabase.
61
+ */
62
+ export interface GetClickhouseDatabaseOutputArgs {
63
+ /**
64
+ * The name of the Clickhouse database. This property cannot be changed, doing so forces recreation of the resource.
65
+ */
66
+ name: pulumi.Input<string>;
67
+ /**
68
+ * 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.
69
+ */
70
+ project: pulumi.Input<string>;
71
+ /**
72
+ * 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.
73
+ */
74
+ serviceName: pulumi.Input<string>;
75
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getClickhouseDatabaseOutput = exports.getClickhouseDatabase = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * The Clickhouse database data source provides information about the existing Aiven Clickhouse Database.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aiven from "@pulumi/aiven";
16
+ *
17
+ * const clickhouseDb = aiven.getClickhouseDatabase({
18
+ * project: aiven_clickhouse.ch.project,
19
+ * serviceName: aiven_clickhouse.ch.service_name,
20
+ * name: "my-ch-db",
21
+ * });
22
+ * ```
23
+ */
24
+ function getClickhouseDatabase(args, opts) {
25
+ if (!opts) {
26
+ opts = {};
27
+ }
28
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
29
+ return pulumi.runtime.invoke("aiven:index/getClickhouseDatabase:getClickhouseDatabase", {
30
+ "name": args.name,
31
+ "project": args.project,
32
+ "serviceName": args.serviceName,
33
+ }, opts);
34
+ }
35
+ exports.getClickhouseDatabase = getClickhouseDatabase;
36
+ function getClickhouseDatabaseOutput(args, opts) {
37
+ return pulumi.output(args).apply(a => getClickhouseDatabase(a, opts));
38
+ }
39
+ exports.getClickhouseDatabaseOutput = getClickhouseDatabaseOutput;
40
+ //# sourceMappingURL=getClickhouseDatabase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getClickhouseDatabase.js","sourceRoot":"","sources":["../getClickhouseDatabase.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,yDAAyD,EAAE;QACpF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,sDAWC;AA2CD,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,kEAEC"}
@@ -0,0 +1,86 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * The Clickhouse User data source provides information about the existing Aiven Clickhouse User.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as aiven from "@pulumi/aiven";
10
+ *
11
+ * const ch-user = aiven.getClickhouseUser({
12
+ * project: aiven_project.myproject.project,
13
+ * serviceName: aiven_clickhouse.myservice.service_name,
14
+ * username: "<USERNAME>",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getClickhouseUser(args: GetClickhouseUserArgs, opts?: pulumi.InvokeOptions): Promise<GetClickhouseUserResult>;
19
+ /**
20
+ * A collection of arguments for invoking getClickhouseUser.
21
+ */
22
+ export interface GetClickhouseUserArgs {
23
+ /**
24
+ * 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.
25
+ */
26
+ project: string;
27
+ /**
28
+ * Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
29
+ */
30
+ serviceName: string;
31
+ /**
32
+ * The actual name of the Clickhouse user. This property cannot be changed, doing so forces recreation of the resource.
33
+ */
34
+ username: string;
35
+ }
36
+ /**
37
+ * A collection of values returned by getClickhouseUser.
38
+ */
39
+ export interface GetClickhouseUserResult {
40
+ /**
41
+ * The provider-assigned unique ID for this managed resource.
42
+ */
43
+ readonly id: string;
44
+ /**
45
+ * The password of the clickhouse user.
46
+ */
47
+ readonly password: string;
48
+ /**
49
+ * Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
50
+ */
51
+ readonly project: string;
52
+ /**
53
+ * Indicates if a clickhouse user is required
54
+ */
55
+ readonly required: boolean;
56
+ /**
57
+ * Specifies the name of the service that this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
58
+ */
59
+ readonly serviceName: string;
60
+ /**
61
+ * The actual name of the Clickhouse user. This property cannot be changed, doing so forces recreation of the resource.
62
+ */
63
+ readonly username: string;
64
+ /**
65
+ * UUID of the clickhouse user.
66
+ */
67
+ readonly uuid: string;
68
+ }
69
+ export declare function getClickhouseUserOutput(args: GetClickhouseUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClickhouseUserResult>;
70
+ /**
71
+ * A collection of arguments for invoking getClickhouseUser.
72
+ */
73
+ export interface GetClickhouseUserOutputArgs {
74
+ /**
75
+ * Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
76
+ */
77
+ project: pulumi.Input<string>;
78
+ /**
79
+ * 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.
80
+ */
81
+ serviceName: pulumi.Input<string>;
82
+ /**
83
+ * The actual name of the Clickhouse user. This property cannot be changed, doing so forces recreation of the resource.
84
+ */
85
+ username: pulumi.Input<string>;
86
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getClickhouseUserOutput = exports.getClickhouseUser = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * The Clickhouse User data source provides information about the existing Aiven Clickhouse User.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as aiven from "@pulumi/aiven";
16
+ *
17
+ * const ch-user = aiven.getClickhouseUser({
18
+ * project: aiven_project.myproject.project,
19
+ * serviceName: aiven_clickhouse.myservice.service_name,
20
+ * username: "<USERNAME>",
21
+ * });
22
+ * ```
23
+ */
24
+ function getClickhouseUser(args, opts) {
25
+ if (!opts) {
26
+ opts = {};
27
+ }
28
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
29
+ return pulumi.runtime.invoke("aiven:index/getClickhouseUser:getClickhouseUser", {
30
+ "project": args.project,
31
+ "serviceName": args.serviceName,
32
+ "username": args.username,
33
+ }, opts);
34
+ }
35
+ exports.getClickhouseUser = getClickhouseUser;
36
+ function getClickhouseUserOutput(args, opts) {
37
+ return pulumi.output(args).apply(a => getClickhouseUser(a, opts));
38
+ }
39
+ exports.getClickhouseUserOutput = getClickhouseUserOutput;
40
+ //# sourceMappingURL=getClickhouseUser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getClickhouseUser.js","sourceRoot":"","sources":["../getClickhouseUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8CAWC;AAsDD,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,0DAEC"}
@@ -1,7 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * ## # Connection Pool Data Source
4
- *
5
3
  * The Connection Pool data source provides information about the existing Aiven Connection Pool.
6
4
  *
7
5
  * ## Example Usage
@@ -23,79 +21,58 @@ export declare function getConnectionPool(args: GetConnectionPoolArgs, opts?: pu
23
21
  */
24
22
  export interface GetConnectionPoolArgs {
25
23
  /**
26
- * is a computed property that tells the URI for connecting to the pool.
27
- * This value cannot be set, only read.
28
- */
29
- connectionUri?: string;
30
- /**
31
- * is the name of the database the pool connects to. This should be
32
- * defined using reference as shown above to set up dependencies correctly.
33
- */
34
- databaseName?: string;
35
- /**
36
- * is the mode the pool operates in (session, transaction, statement).
37
- */
38
- poolMode?: string;
39
- /**
40
- * is the name of the pool.
24
+ * The name of the created pool. This property cannot be changed, doing so forces recreation of the resource.
41
25
  */
42
26
  poolName: string;
43
27
  /**
44
- * is the number of connections the pool may create towards the backend
45
- * server. This does not affect the number of incoming connections, which is always a much
46
- * larger number.
47
- */
48
- poolSize?: number;
49
- /**
50
- * and `serviceName` - (Required) define the project and service the connection pool
51
- * belongs to. They should be defined using reference as shown above to set up dependencies
52
- * correctly. These properties cannot be changed once the service is created. Doing so will
53
- * result in the connection pool being deleted and new one created instead.
28
+ * 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.
54
29
  */
55
30
  project: string;
56
- serviceName: string;
57
31
  /**
58
- * is the name of the service user used to connect to the database. This should
59
- * be defined using reference as shown above to set up dependencies correctly.
32
+ * 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.
60
33
  */
61
- username?: string;
34
+ serviceName: string;
62
35
  }
63
36
  /**
64
37
  * A collection of values returned by getConnectionPool.
65
38
  */
66
39
  export interface GetConnectionPoolResult {
67
40
  /**
68
- * is a computed property that tells the URI for connecting to the pool.
69
- * This value cannot be set, only read.
41
+ * The URI for connecting to the pool
70
42
  */
71
43
  readonly connectionUri: string;
72
44
  /**
73
- * is the name of the database the pool connects to. This should be
74
- * defined using reference as shown above to set up dependencies correctly.
45
+ * The name of the database the pool connects to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
75
46
  */
76
- readonly databaseName?: string;
47
+ readonly databaseName: string;
77
48
  /**
78
49
  * The provider-assigned unique ID for this managed resource.
79
50
  */
80
51
  readonly id: string;
81
52
  /**
82
- * is the mode the pool operates in (session, transaction, statement).
53
+ * The mode the pool operates in The possible values are `session`, `transaction` and `statement`. The default value is `transaction`.
54
+ */
55
+ readonly poolMode: string;
56
+ /**
57
+ * The name of the created pool. This property cannot be changed, doing so forces recreation of the resource.
83
58
  */
84
- readonly poolMode?: string;
85
59
  readonly poolName: string;
86
60
  /**
87
- * is the number of connections the pool may create towards the backend
88
- * server. This does not affect the number of incoming connections, which is always a much
89
- * larger number.
61
+ * The number of connections the pool may create towards the backend server. This does not affect the number of incoming connections, which is always a much larger number. The default value is `10`.
62
+ */
63
+ readonly poolSize: number;
64
+ /**
65
+ * Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. This property cannot be changed, doing so forces recreation of the resource.
90
66
  */
91
- readonly poolSize?: number;
92
67
  readonly project: string;
68
+ /**
69
+ * 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.
70
+ */
93
71
  readonly serviceName: string;
94
72
  /**
95
- * is the name of the service user used to connect to the database. This should
96
- * be defined using reference as shown above to set up dependencies correctly.
73
+ * The name of the service user used to connect to the database. To set up proper dependencies please refer to this variable as a reference.
97
74
  */
98
- readonly username?: string;
75
+ readonly username: string;
99
76
  }
100
77
  export declare function getConnectionPoolOutput(args: GetConnectionPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConnectionPoolResult>;
101
78
  /**
@@ -103,40 +80,15 @@ export declare function getConnectionPoolOutput(args: GetConnectionPoolOutputArg
103
80
  */
104
81
  export interface GetConnectionPoolOutputArgs {
105
82
  /**
106
- * is a computed property that tells the URI for connecting to the pool.
107
- * This value cannot be set, only read.
108
- */
109
- connectionUri?: pulumi.Input<string>;
110
- /**
111
- * is the name of the database the pool connects to. This should be
112
- * defined using reference as shown above to set up dependencies correctly.
113
- */
114
- databaseName?: pulumi.Input<string>;
115
- /**
116
- * is the mode the pool operates in (session, transaction, statement).
117
- */
118
- poolMode?: pulumi.Input<string>;
119
- /**
120
- * is the name of the pool.
83
+ * The name of the created pool. This property cannot be changed, doing so forces recreation of the resource.
121
84
  */
122
85
  poolName: pulumi.Input<string>;
123
86
  /**
124
- * is the number of connections the pool may create towards the backend
125
- * server. This does not affect the number of incoming connections, which is always a much
126
- * larger number.
127
- */
128
- poolSize?: pulumi.Input<number>;
129
- /**
130
- * and `serviceName` - (Required) define the project and service the connection pool
131
- * belongs to. They should be defined using reference as shown above to set up dependencies
132
- * correctly. These properties cannot be changed once the service is created. Doing so will
133
- * result in the connection pool being deleted and new one created instead.
87
+ * 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.
134
88
  */
135
89
  project: pulumi.Input<string>;
136
- serviceName: pulumi.Input<string>;
137
90
  /**
138
- * is the name of the service user used to connect to the database. This should
139
- * be defined using reference as shown above to set up dependencies correctly.
91
+ * 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.
140
92
  */
141
- username?: pulumi.Input<string>;
93
+ serviceName: pulumi.Input<string>;
142
94
  }