@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/getService.d.ts CHANGED
@@ -1,140 +1,238 @@
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
+ /**
4
+ * The Service datasource provides information about specific Aiven Services.
5
+ */
3
6
  export declare function getService(args: GetServiceArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceResult>;
4
7
  /**
5
8
  * A collection of arguments for invoking getService.
6
9
  */
7
10
  export interface GetServiceArgs {
8
- cassandra?: inputs.GetServiceCassandra;
9
- cassandraUserConfig?: inputs.GetServiceCassandraUserConfig;
10
- cloudName?: string;
11
- components?: inputs.GetServiceComponent[];
12
- elasticsearch?: inputs.GetServiceElasticsearch;
13
- elasticsearchUserConfig?: inputs.GetServiceElasticsearchUserConfig;
14
- grafana?: inputs.GetServiceGrafana;
15
- grafanaUserConfig?: inputs.GetServiceGrafanaUserConfig;
16
- influxdb?: inputs.GetServiceInfluxdb;
17
- influxdbUserConfig?: inputs.GetServiceInfluxdbUserConfig;
18
- kafka?: inputs.GetServiceKafka;
19
- kafkaConnect?: inputs.GetServiceKafkaConnect;
20
- kafkaConnectUserConfig?: inputs.GetServiceKafkaConnectUserConfig;
21
- kafkaMirrormaker?: inputs.GetServiceKafkaMirrormaker;
22
- kafkaMirrormakerUserConfig?: inputs.GetServiceKafkaMirrormakerUserConfig;
23
- kafkaUserConfig?: inputs.GetServiceKafkaUserConfig;
24
- maintenanceWindowDow?: string;
25
- maintenanceWindowTime?: string;
26
- mysql?: inputs.GetServiceMysql;
27
- mysqlUserConfig?: inputs.GetServiceMysqlUserConfig;
28
- opensearch?: inputs.GetServiceOpensearch;
29
- opensearchUserConfig?: inputs.GetServiceOpensearchUserConfig;
30
- pg?: inputs.GetServicePg;
31
- pgUserConfig?: inputs.GetServicePgUserConfig;
32
- plan?: string;
11
+ /**
12
+ * Target project
13
+ */
33
14
  project: string;
34
- projectVpcId?: string;
35
- redis?: inputs.GetServiceRedis;
36
- redisUserConfig?: inputs.GetServiceRedisUserConfig;
37
- serviceHost?: string;
38
- serviceIntegrations?: inputs.GetServiceServiceIntegration[];
15
+ /**
16
+ * Service name
17
+ */
39
18
  serviceName: string;
40
- servicePassword?: string;
41
- servicePort?: number;
42
- serviceType?: string;
43
- serviceUri?: string;
44
- serviceUsername?: string;
45
- state?: string;
46
- terminationProtection?: boolean;
47
19
  }
48
20
  /**
49
21
  * A collection of values returned by getService.
50
22
  */
51
23
  export interface GetServiceResult {
52
- readonly cassandra: outputs.GetServiceCassandra;
53
- readonly cassandraUserConfig?: outputs.GetServiceCassandraUserConfig;
54
- readonly cloudName?: string;
24
+ /**
25
+ * Cassandra user configurable settings
26
+ */
27
+ readonly cassandraUserConfigs: outputs.GetServiceCassandraUserConfig[];
28
+ /**
29
+ * Cassandra specific server provided values
30
+ */
31
+ readonly cassandras: outputs.GetServiceCassandra[];
32
+ /**
33
+ * Clickhouse user configurable settings
34
+ */
35
+ readonly clickhouseUserConfigs: outputs.GetServiceClickhouseUserConfig[];
36
+ /**
37
+ * Clickhouse specific server provided values
38
+ */
39
+ readonly clickhouses: outputs.GetServiceClickhouse[];
40
+ /**
41
+ * Cloud the service runs in
42
+ */
43
+ readonly cloudName: string;
44
+ /**
45
+ * Service component information objects
46
+ */
55
47
  readonly components: outputs.GetServiceComponent[];
56
- readonly elasticsearch: outputs.GetServiceElasticsearch;
57
- readonly elasticsearchUserConfig?: outputs.GetServiceElasticsearchUserConfig;
58
- readonly grafana: outputs.GetServiceGrafana;
59
- readonly grafanaUserConfig?: outputs.GetServiceGrafanaUserConfig;
48
+ /**
49
+ * 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.
50
+ */
51
+ readonly diskSpace: string;
52
+ /**
53
+ * The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
54
+ */
55
+ readonly diskSpaceCap: string;
56
+ /**
57
+ * 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`
58
+ */
59
+ readonly diskSpaceDefault: string;
60
+ /**
61
+ * 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.
62
+ */
63
+ readonly diskSpaceStep: string;
64
+ /**
65
+ * Disk space that service is currently using
66
+ */
67
+ readonly diskSpaceUsed: string;
68
+ /**
69
+ * Elasticsearch user configurable settings
70
+ */
71
+ readonly elasticsearchUserConfigs: outputs.GetServiceElasticsearchUserConfig[];
72
+ /**
73
+ * Elasticsearch specific server provided values
74
+ */
75
+ readonly elasticsearches: outputs.GetServiceElasticsearch[];
76
+ /**
77
+ * Flink user configurable settings
78
+ */
79
+ readonly flinkUserConfigs: outputs.GetServiceFlinkUserConfig[];
80
+ /**
81
+ * Flink specific server provided values
82
+ */
83
+ readonly flinks: outputs.GetServiceFlink[];
84
+ /**
85
+ * Grafana user configurable settings
86
+ */
87
+ readonly grafanaUserConfigs: outputs.GetServiceGrafanaUserConfig[];
88
+ /**
89
+ * Grafana specific server provided values
90
+ */
91
+ readonly grafanas: outputs.GetServiceGrafana[];
60
92
  /**
61
93
  * The provider-assigned unique ID for this managed resource.
62
94
  */
63
95
  readonly id: string;
64
- readonly influxdb: outputs.GetServiceInfluxdb;
65
- readonly influxdbUserConfig?: outputs.GetServiceInfluxdbUserConfig;
66
- readonly kafka: outputs.GetServiceKafka;
67
- readonly kafkaConnect: outputs.GetServiceKafkaConnect;
68
- readonly kafkaConnectUserConfig?: outputs.GetServiceKafkaConnectUserConfig;
69
- readonly kafkaMirrormaker: outputs.GetServiceKafkaMirrormaker;
70
- readonly kafkaMirrormakerUserConfig?: outputs.GetServiceKafkaMirrormakerUserConfig;
71
- readonly kafkaUserConfig?: outputs.GetServiceKafkaUserConfig;
72
- readonly maintenanceWindowDow?: string;
73
- readonly maintenanceWindowTime?: string;
74
- readonly mysql: outputs.GetServiceMysql;
75
- readonly mysqlUserConfig?: outputs.GetServiceMysqlUserConfig;
76
- readonly opensearch: outputs.GetServiceOpensearch;
77
- readonly opensearchUserConfig?: outputs.GetServiceOpensearchUserConfig;
78
- readonly pg: outputs.GetServicePg;
79
- readonly pgUserConfig?: outputs.GetServicePgUserConfig;
80
- readonly plan?: string;
96
+ /**
97
+ * Influxdb user configurable settings
98
+ */
99
+ readonly influxdbUserConfigs: outputs.GetServiceInfluxdbUserConfig[];
100
+ /**
101
+ * InfluxDB specific server provided values
102
+ */
103
+ readonly influxdbs: outputs.GetServiceInfluxdb[];
104
+ /**
105
+ * Kafka*connect user configurable settings
106
+ */
107
+ readonly kafkaConnectUserConfigs: outputs.GetServiceKafkaConnectUserConfig[];
108
+ /**
109
+ * Kafka Connect specific server provided values
110
+ */
111
+ readonly kafkaConnects: outputs.GetServiceKafkaConnect[];
112
+ /**
113
+ * Kafka*mirrormaker user configurable settings
114
+ */
115
+ readonly kafkaMirrormakerUserConfigs: outputs.GetServiceKafkaMirrormakerUserConfig[];
116
+ /**
117
+ * Kafka MirrorMaker 2 specific server provided values
118
+ */
119
+ readonly kafkaMirrormakers: outputs.GetServiceKafkaMirrormaker[];
120
+ /**
121
+ * Kafka user configurable settings
122
+ */
123
+ readonly kafkaUserConfigs: outputs.GetServiceKafkaUserConfig[];
124
+ /**
125
+ * Kafka specific server provided values
126
+ */
127
+ readonly kafkas: outputs.GetServiceKafka[];
128
+ /**
129
+ * Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
130
+ */
131
+ readonly maintenanceWindowDow: string;
132
+ /**
133
+ * Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
134
+ */
135
+ readonly maintenanceWindowTime: string;
136
+ /**
137
+ * Mysql user configurable settings
138
+ */
139
+ readonly mysqlUserConfigs: outputs.GetServiceMysqlUserConfig[];
140
+ /**
141
+ * MySQL specific server provided values
142
+ */
143
+ readonly mysqls: outputs.GetServiceMysql[];
144
+ /**
145
+ * Opensearch user configurable settings
146
+ */
147
+ readonly opensearchUserConfigs: outputs.GetServiceOpensearchUserConfig[];
148
+ /**
149
+ * Opensearch specific server provided values
150
+ */
151
+ readonly opensearches: outputs.GetServiceOpensearch[];
152
+ /**
153
+ * Pg user configurable settings
154
+ */
155
+ readonly pgUserConfigs: outputs.GetServicePgUserConfig[];
156
+ /**
157
+ * PostgreSQL specific server provided values
158
+ */
159
+ readonly pgs: outputs.GetServicePg[];
160
+ /**
161
+ * Subscription plan
162
+ */
163
+ readonly plan: string;
164
+ /**
165
+ * Target project
166
+ */
81
167
  readonly project: string;
82
- readonly projectVpcId?: string;
83
- readonly redis: outputs.GetServiceRedis;
84
- readonly redisUserConfig?: outputs.GetServiceRedisUserConfig;
168
+ /**
169
+ * Identifier of the VPC the service should be in, if any
170
+ */
171
+ readonly projectVpcId: string;
172
+ /**
173
+ * Redis specific server provided values
174
+ */
175
+ readonly redis: outputs.GetServiceRedi[];
176
+ /**
177
+ * Redis user configurable settings
178
+ */
179
+ readonly redisUserConfigs: outputs.GetServiceRedisUserConfig[];
180
+ /**
181
+ * Service hostname
182
+ */
85
183
  readonly serviceHost: string;
86
- readonly serviceIntegrations?: outputs.GetServiceServiceIntegration[];
184
+ /**
185
+ * Service integrations to specify when creating a service. Not applied after initial service creation
186
+ */
187
+ readonly serviceIntegrations: outputs.GetServiceServiceIntegration[];
188
+ /**
189
+ * Service name
190
+ */
87
191
  readonly serviceName: string;
192
+ /**
193
+ * Password used for connecting to the service, if applicable
194
+ */
88
195
  readonly servicePassword: string;
196
+ /**
197
+ * Service port
198
+ */
89
199
  readonly servicePort: number;
90
- readonly serviceType?: string;
200
+ /**
201
+ * Service type code
202
+ */
203
+ readonly serviceType: string;
204
+ /**
205
+ * URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
206
+ */
91
207
  readonly serviceUri: string;
208
+ /**
209
+ * Username used for connecting to the service, if applicable
210
+ */
92
211
  readonly serviceUsername: string;
212
+ /**
213
+ * Service state. One of `POWEROFF`, `REBALANCING`, `REBUILDING` and `RUNNING`.
214
+ */
93
215
  readonly state: string;
94
- readonly terminationProtection?: boolean;
216
+ /**
217
+ * 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
218
+ */
219
+ readonly staticIps: string[];
220
+ /**
221
+ * Prevent service from being deleted. It is recommended to have this enabled for all services.
222
+ */
223
+ readonly terminationProtection: boolean;
95
224
  }
96
225
  export declare function getServiceOutput(args: GetServiceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetServiceResult>;
97
226
  /**
98
227
  * A collection of arguments for invoking getService.
99
228
  */
100
229
  export interface GetServiceOutputArgs {
101
- cassandra?: pulumi.Input<inputs.GetServiceCassandraArgs>;
102
- cassandraUserConfig?: pulumi.Input<inputs.GetServiceCassandraUserConfigArgs>;
103
- cloudName?: pulumi.Input<string>;
104
- components?: pulumi.Input<pulumi.Input<inputs.GetServiceComponentArgs>[]>;
105
- elasticsearch?: pulumi.Input<inputs.GetServiceElasticsearchArgs>;
106
- elasticsearchUserConfig?: pulumi.Input<inputs.GetServiceElasticsearchUserConfigArgs>;
107
- grafana?: pulumi.Input<inputs.GetServiceGrafanaArgs>;
108
- grafanaUserConfig?: pulumi.Input<inputs.GetServiceGrafanaUserConfigArgs>;
109
- influxdb?: pulumi.Input<inputs.GetServiceInfluxdbArgs>;
110
- influxdbUserConfig?: pulumi.Input<inputs.GetServiceInfluxdbUserConfigArgs>;
111
- kafka?: pulumi.Input<inputs.GetServiceKafkaArgs>;
112
- kafkaConnect?: pulumi.Input<inputs.GetServiceKafkaConnectArgs>;
113
- kafkaConnectUserConfig?: pulumi.Input<inputs.GetServiceKafkaConnectUserConfigArgs>;
114
- kafkaMirrormaker?: pulumi.Input<inputs.GetServiceKafkaMirrormakerArgs>;
115
- kafkaMirrormakerUserConfig?: pulumi.Input<inputs.GetServiceKafkaMirrormakerUserConfigArgs>;
116
- kafkaUserConfig?: pulumi.Input<inputs.GetServiceKafkaUserConfigArgs>;
117
- maintenanceWindowDow?: pulumi.Input<string>;
118
- maintenanceWindowTime?: pulumi.Input<string>;
119
- mysql?: pulumi.Input<inputs.GetServiceMysqlArgs>;
120
- mysqlUserConfig?: pulumi.Input<inputs.GetServiceMysqlUserConfigArgs>;
121
- opensearch?: pulumi.Input<inputs.GetServiceOpensearchArgs>;
122
- opensearchUserConfig?: pulumi.Input<inputs.GetServiceOpensearchUserConfigArgs>;
123
- pg?: pulumi.Input<inputs.GetServicePgArgs>;
124
- pgUserConfig?: pulumi.Input<inputs.GetServicePgUserConfigArgs>;
125
- plan?: pulumi.Input<string>;
230
+ /**
231
+ * Target project
232
+ */
126
233
  project: pulumi.Input<string>;
127
- projectVpcId?: pulumi.Input<string>;
128
- redis?: pulumi.Input<inputs.GetServiceRedisArgs>;
129
- redisUserConfig?: pulumi.Input<inputs.GetServiceRedisUserConfigArgs>;
130
- serviceHost?: pulumi.Input<string>;
131
- serviceIntegrations?: pulumi.Input<pulumi.Input<inputs.GetServiceServiceIntegrationArgs>[]>;
234
+ /**
235
+ * Service name
236
+ */
132
237
  serviceName: pulumi.Input<string>;
133
- servicePassword?: pulumi.Input<string>;
134
- servicePort?: pulumi.Input<number>;
135
- serviceType?: pulumi.Input<string>;
136
- serviceUri?: pulumi.Input<string>;
137
- serviceUsername?: pulumi.Input<string>;
138
- state?: pulumi.Input<string>;
139
- terminationProtection?: pulumi.Input<boolean>;
140
238
  }
package/getService.js CHANGED
@@ -5,51 +5,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getServiceOutput = exports.getService = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * The Service datasource provides information about specific Aiven Services.
10
+ */
8
11
  function getService(args, opts) {
9
12
  if (!opts) {
10
13
  opts = {};
11
14
  }
12
15
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
13
16
  return pulumi.runtime.invoke("aiven:index/getService:getService", {
14
- "cassandra": args.cassandra,
15
- "cassandraUserConfig": args.cassandraUserConfig,
16
- "cloudName": args.cloudName,
17
- "components": args.components,
18
- "elasticsearch": args.elasticsearch,
19
- "elasticsearchUserConfig": args.elasticsearchUserConfig,
20
- "grafana": args.grafana,
21
- "grafanaUserConfig": args.grafanaUserConfig,
22
- "influxdb": args.influxdb,
23
- "influxdbUserConfig": args.influxdbUserConfig,
24
- "kafka": args.kafka,
25
- "kafkaConnect": args.kafkaConnect,
26
- "kafkaConnectUserConfig": args.kafkaConnectUserConfig,
27
- "kafkaMirrormaker": args.kafkaMirrormaker,
28
- "kafkaMirrormakerUserConfig": args.kafkaMirrormakerUserConfig,
29
- "kafkaUserConfig": args.kafkaUserConfig,
30
- "maintenanceWindowDow": args.maintenanceWindowDow,
31
- "maintenanceWindowTime": args.maintenanceWindowTime,
32
- "mysql": args.mysql,
33
- "mysqlUserConfig": args.mysqlUserConfig,
34
- "opensearch": args.opensearch,
35
- "opensearchUserConfig": args.opensearchUserConfig,
36
- "pg": args.pg,
37
- "pgUserConfig": args.pgUserConfig,
38
- "plan": args.plan,
39
17
  "project": args.project,
40
- "projectVpcId": args.projectVpcId,
41
- "redis": args.redis,
42
- "redisUserConfig": args.redisUserConfig,
43
- "serviceHost": args.serviceHost,
44
- "serviceIntegrations": args.serviceIntegrations,
45
18
  "serviceName": args.serviceName,
46
- "servicePassword": args.servicePassword,
47
- "servicePort": args.servicePort,
48
- "serviceType": args.serviceType,
49
- "serviceUri": args.serviceUri,
50
- "serviceUsername": args.serviceUsername,
51
- "state": args.state,
52
- "terminationProtection": args.terminationProtection,
53
19
  }, opts);
54
20
  }
55
21
  exports.getService = getService;
package/getService.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getService.js","sourceRoot":"","sources":["../getService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,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,mCAAmC,EAAE;QAC9D,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,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,wBAAwB,EAAE,IAAI,CAAC,sBAAsB;QACrD,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,4BAA4B,EAAE,IAAI,CAAC,0BAA0B;QAC7D,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,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;AA/CD,gCA+CC;AAgGD,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
1
+ {"version":3,"file":"getService.js","sourceRoot":"","sources":["../getService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,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,mCAAmC,EAAE;QAC9D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC;AA8ND,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
@@ -1,29 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * ## # Service Component Data Source
4
- *
5
3
  * The Service Component data source provides information about the existing Aiven service Component.
6
4
  *
7
- * Service components can be defined to get the connection info for specific service.
8
- * Services may support multiple different access routes (VPC peering and public access),
9
- * have additional components or support various authentication methods. Each of these
10
- * may be represented by different DNS name or TCP port and the specific component to
11
- * match can be selected by specifying appropriate filters as shown below.
12
- *
13
- * ## Example Usage
14
- *
15
- * ```typescript
16
- * import * as pulumi from "@pulumi/pulumi";
17
- * import * as aiven from "@pulumi/aiven";
18
- *
19
- * const sc1 = aiven.getServiceComponent({
20
- * project: aiven_kafka.project1.project,
21
- * serviceName: aiven_kafka.service1.service_name,
22
- * component: "kafka",
23
- * route: "dynamic",
24
- * kafkaAuthenticationMethod: "certificate",
25
- * });
26
- * ```
5
+ * Service components can be defined to get the connection info for specific service. Services may support multiple different access routes (VPC peering and public access), have additional components or support various authentication methods. Each of these may be represented by different DNS name or TCP port and the specific component to match can be selected by specifying appropriate filters as shown below.
27
6
  */
28
7
  export declare function getServiceComponent(args: GetServiceComponentArgs, opts?: pulumi.InvokeOptions): Promise<GetServiceComponentResult>;
29
8
  /**
@@ -31,50 +10,31 @@ export declare function getServiceComponent(args: GetServiceComponentArgs, opts?
31
10
  */
32
11
  export interface GetServiceComponentArgs {
33
12
  /**
34
- * is a service component name. Component may match the name of the service
35
- * (`cassandra`, `elasticsearch`, `grafana`, `influxdb`, `kafka`, `kafkaConnect`, `mysql`,
36
- * `pg` and `redis`), in which case the connection info of the service itself is returned.
37
- * Some service types support additional service specific components like `kibana` for
38
- * Elasticsearch, `kafkaConnect`, `kafkaRest` and `schemaRegistry` for Kafka, and
39
- * `pgbouncer` for PostgreSQL. Most service types also support `prometheus`.
13
+ * Service component name
40
14
  */
41
15
  component: string;
42
16
  /**
43
- * is Kafka authentication method. This is a value specific
44
- * to the 'kafka' service components. And has the following available options: `certificate`
45
- * and `sasl`. If not set by the user only entries with empty `kafkaAuthenticationMethod`
46
- * will be selected.
17
+ * Kafka authentication method. This is a value specific to the 'kafka' service component
47
18
  */
48
19
  kafkaAuthenticationMethod?: string;
49
20
  /**
50
- * and `serviceName` - (Required) define the project and service the service component
51
- * belongs to.
21
+ * Project name
52
22
  */
53
23
  project: string;
54
24
  /**
55
- * is network access route. The route may be one of `dynamic`, `public`, and `private`.
56
- * Usually, you'll want to use `dynamic`, which for services that are not in a private network
57
- * identifies the regular public DNS name of the service and for services in a private network
58
- * the private DNS name. If the service is in a private network but has also public access
59
- * enabled the `public` route type can be used to get the public DNS name of the service. The
60
- * `private` option should typically not be used.
25
+ * Network access route
61
26
  */
62
27
  route?: string;
28
+ /**
29
+ * Service name
30
+ */
63
31
  serviceName?: string;
64
32
  /**
65
- * whether the endpoint is encrypted or accepts plaintext. By default endpoints are
66
- * always encrypted and this property is only included for service components they may
67
- * disable encryption. If not set by the user only entries with empty `ssl` or `ssl` set
68
- * to true will be selected.
33
+ * Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components that may disable encryption
69
34
  */
70
35
  ssl?: boolean;
71
36
  /**
72
- * is DNS usage name, and can be one of `primary`, `replica` or `syncing`. `replica`
73
- * is used by services that have separate master and standby roles for which it identifies
74
- * the `replica` DNS name. `syncing` is used by limited set of services to expose nodes
75
- * before they have finished restoring state but may already be partially available, for
76
- * example a PostgreSQL node that is streaming WAL segments from backup or current master
77
- * but hasn't yet fully caught up.
37
+ * DNS usage name
78
38
  */
79
39
  usage?: string;
80
40
  }
@@ -82,37 +42,44 @@ export interface GetServiceComponentArgs {
82
42
  * A collection of values returned by getServiceComponent.
83
43
  */
84
44
  export interface GetServiceComponentResult {
45
+ /**
46
+ * Service component name
47
+ */
85
48
  readonly component: string;
86
49
  /**
87
- * is DNS name for connecting to the service component.
50
+ * DNS name for connecting to the service component
88
51
  */
89
52
  readonly host: string;
90
53
  /**
91
54
  * The provider-assigned unique ID for this managed resource.
92
55
  */
93
56
  readonly id: string;
57
+ /**
58
+ * Kafka authentication method. This is a value specific to the 'kafka' service component
59
+ */
94
60
  readonly kafkaAuthenticationMethod?: string;
95
61
  /**
96
- * is port number for connecting to the service component.
62
+ * Port number for connecting to the service component
97
63
  */
98
64
  readonly port: number;
65
+ /**
66
+ * Project name
67
+ */
99
68
  readonly project: string;
69
+ /**
70
+ * Network access route
71
+ */
100
72
  readonly route?: string;
73
+ /**
74
+ * Service name
75
+ */
101
76
  readonly serviceName?: string;
102
77
  /**
103
- * whether the endpoint is encrypted or accepts plaintext. By default endpoints are
104
- * always encrypted and this property is only included for service components they may
105
- * disable encryption. If not set by the user only entries with empty `ssl` or `ssl` set
106
- * to true will be selected.
78
+ * Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components that may disable encryption
107
79
  */
108
80
  readonly ssl?: boolean;
109
81
  /**
110
- * is DNS usage name, and can be one of `primary`, `replica` or `syncing`. `replica`
111
- * is used by services that have separate master and standby roles for which it identifies
112
- * the `replica` DNS name. `syncing` is used by limited set of services to expose nodes
113
- * before they have finished restoring state but may already be partially available, for
114
- * example a PostgreSQL node that is streaming WAL segments from backup or current master
115
- * but hasn't yet fully caught up.
82
+ * DNS usage name
116
83
  */
117
84
  readonly usage?: string;
118
85
  }
@@ -122,50 +89,31 @@ export declare function getServiceComponentOutput(args: GetServiceComponentOutpu
122
89
  */
123
90
  export interface GetServiceComponentOutputArgs {
124
91
  /**
125
- * is a service component name. Component may match the name of the service
126
- * (`cassandra`, `elasticsearch`, `grafana`, `influxdb`, `kafka`, `kafkaConnect`, `mysql`,
127
- * `pg` and `redis`), in which case the connection info of the service itself is returned.
128
- * Some service types support additional service specific components like `kibana` for
129
- * Elasticsearch, `kafkaConnect`, `kafkaRest` and `schemaRegistry` for Kafka, and
130
- * `pgbouncer` for PostgreSQL. Most service types also support `prometheus`.
92
+ * Service component name
131
93
  */
132
94
  component: pulumi.Input<string>;
133
95
  /**
134
- * is Kafka authentication method. This is a value specific
135
- * to the 'kafka' service components. And has the following available options: `certificate`
136
- * and `sasl`. If not set by the user only entries with empty `kafkaAuthenticationMethod`
137
- * will be selected.
96
+ * Kafka authentication method. This is a value specific to the 'kafka' service component
138
97
  */
139
98
  kafkaAuthenticationMethod?: pulumi.Input<string>;
140
99
  /**
141
- * and `serviceName` - (Required) define the project and service the service component
142
- * belongs to.
100
+ * Project name
143
101
  */
144
102
  project: pulumi.Input<string>;
145
103
  /**
146
- * is network access route. The route may be one of `dynamic`, `public`, and `private`.
147
- * Usually, you'll want to use `dynamic`, which for services that are not in a private network
148
- * identifies the regular public DNS name of the service and for services in a private network
149
- * the private DNS name. If the service is in a private network but has also public access
150
- * enabled the `public` route type can be used to get the public DNS name of the service. The
151
- * `private` option should typically not be used.
104
+ * Network access route
152
105
  */
153
106
  route?: pulumi.Input<string>;
107
+ /**
108
+ * Service name
109
+ */
154
110
  serviceName?: pulumi.Input<string>;
155
111
  /**
156
- * whether the endpoint is encrypted or accepts plaintext. By default endpoints are
157
- * always encrypted and this property is only included for service components they may
158
- * disable encryption. If not set by the user only entries with empty `ssl` or `ssl` set
159
- * to true will be selected.
112
+ * Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components that may disable encryption
160
113
  */
161
114
  ssl?: pulumi.Input<boolean>;
162
115
  /**
163
- * is DNS usage name, and can be one of `primary`, `replica` or `syncing`. `replica`
164
- * is used by services that have separate master and standby roles for which it identifies
165
- * the `replica` DNS name. `syncing` is used by limited set of services to expose nodes
166
- * before they have finished restoring state but may already be partially available, for
167
- * example a PostgreSQL node that is streaming WAL segments from backup or current master
168
- * but hasn't yet fully caught up.
116
+ * DNS usage name
169
117
  */
170
118
  usage?: pulumi.Input<string>;
171
119
  }
@@ -6,30 +6,9 @@ exports.getServiceComponentOutput = exports.getServiceComponent = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * ## # Service Component Data Source
10
- *
11
9
  * The Service Component data source provides information about the existing Aiven service Component.
12
10
  *
13
- * Service components can be defined to get the connection info for specific service.
14
- * Services may support multiple different access routes (VPC peering and public access),
15
- * have additional components or support various authentication methods. Each of these
16
- * may be represented by different DNS name or TCP port and the specific component to
17
- * match can be selected by specifying appropriate filters as shown below.
18
- *
19
- * ## Example Usage
20
- *
21
- * ```typescript
22
- * import * as pulumi from "@pulumi/pulumi";
23
- * import * as aiven from "@pulumi/aiven";
24
- *
25
- * const sc1 = aiven.getServiceComponent({
26
- * project: aiven_kafka.project1.project,
27
- * serviceName: aiven_kafka.service1.service_name,
28
- * component: "kafka",
29
- * route: "dynamic",
30
- * kafkaAuthenticationMethod: "certificate",
31
- * });
32
- * ```
11
+ * Service components can be defined to get the connection info for specific service. Services may support multiple different access routes (VPC peering and public access), have additional components or support various authentication methods. Each of these may be represented by different DNS name or TCP port and the specific component to match can be selected by specifying appropriate filters as shown below.
33
12
  */
34
13
  function getServiceComponent(args, opts) {
35
14
  if (!opts) {
@@ -1 +1 @@
1
- {"version":3,"file":"getServiceComponent.js","sourceRoot":"","sources":["../getServiceComponent.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,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,qDAAqD,EAAE;QAChF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,2BAA2B,EAAE,IAAI,CAAC,yBAAyB;QAC3D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,kDAeC;AA8FD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,8DAEC"}
1
+ {"version":3,"file":"getServiceComponent.js","sourceRoot":"","sources":["../getServiceComponent.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,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,qDAAqD,EAAE;QAChF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,2BAA2B,EAAE,IAAI,CAAC,yBAAyB;QAC3D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAfD,kDAeC;AAkFD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,8DAEC"}