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