@volcengine/pulumi 0.0.23 → 0.0.24

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 (434) hide show
  1. package/bandwidth_package/attachment.d.ts +71 -10
  2. package/bandwidth_package/attachment.js +71 -10
  3. package/bandwidth_package/attachment.js.map +1 -1
  4. package/bandwidth_package/bandwidthPackage.d.ts +4 -4
  5. package/bandwidth_package/bandwidthPackage.js +4 -4
  6. package/bandwidth_package/bandwidthPackages.d.ts +38 -4
  7. package/bandwidth_package/bandwidthPackages.js +38 -4
  8. package/bandwidth_package/bandwidthPackages.js.map +1 -1
  9. package/cdn/cdnCertificate.d.ts +110 -0
  10. package/cdn/cdnCertificate.js +93 -0
  11. package/cdn/cdnCertificate.js.map +1 -0
  12. package/cdn/cdnDomain.d.ts +199 -0
  13. package/cdn/cdnDomain.js +141 -0
  14. package/cdn/cdnDomain.js.map +1 -0
  15. package/cdn/certificates.d.ts +113 -0
  16. package/cdn/certificates.js +62 -0
  17. package/cdn/certificates.js.map +1 -0
  18. package/cdn/configs.d.ts +178 -0
  19. package/cdn/configs.js +146 -0
  20. package/cdn/configs.js.map +1 -0
  21. package/cdn/domains.d.ts +274 -0
  22. package/cdn/domains.js +155 -0
  23. package/cdn/domains.js.map +1 -0
  24. package/cdn/index.d.ts +21 -0
  25. package/cdn/index.js +44 -0
  26. package/cdn/index.js.map +1 -0
  27. package/cdn/sharedConfig.d.ts +194 -0
  28. package/cdn/sharedConfig.js +129 -0
  29. package/cdn/sharedConfig.js.map +1 -0
  30. package/cdn/sharedConfigs.d.ts +115 -0
  31. package/cdn/sharedConfigs.js +54 -0
  32. package/cdn/sharedConfigs.js.map +1 -0
  33. package/cen/attachInstance.d.ts +15 -8
  34. package/cen/attachInstance.js +15 -8
  35. package/cen/attachInstance.js.map +1 -1
  36. package/cen/attachInstances.d.ts +44 -4
  37. package/cen/attachInstances.js +44 -4
  38. package/cen/attachInstances.js.map +1 -1
  39. package/cen/bandwidthPackage.d.ts +11 -10
  40. package/cen/bandwidthPackage.js +8 -4
  41. package/cen/bandwidthPackage.js.map +1 -1
  42. package/cen/bandwidthPackageAssociate.d.ts +27 -3
  43. package/cen/bandwidthPackageAssociate.js +27 -3
  44. package/cen/bandwidthPackageAssociate.js.map +1 -1
  45. package/cen/bandwidthPackages.d.ts +42 -6
  46. package/cen/bandwidthPackages.js +42 -6
  47. package/cen/bandwidthPackages.js.map +1 -1
  48. package/cen/cen.d.ts +6 -2
  49. package/cen/cen.js +6 -2
  50. package/cen/cen.js.map +1 -1
  51. package/cen/cens.d.ts +30 -4
  52. package/cen/cens.js +30 -4
  53. package/cen/cens.js.map +1 -1
  54. package/cen/interRegionBandwidth.d.ts +35 -5
  55. package/cen/interRegionBandwidth.js +35 -5
  56. package/cen/interRegionBandwidth.js.map +1 -1
  57. package/cen/interRegionBandwidths.d.ts +78 -4
  58. package/cen/interRegionBandwidths.js +78 -4
  59. package/cen/interRegionBandwidths.js.map +1 -1
  60. package/cen/routeEntries.d.ts +0 -20
  61. package/cen/routeEntries.js +0 -20
  62. package/cen/routeEntries.js.map +1 -1
  63. package/cen/routeEntry.d.ts +0 -21
  64. package/cen/routeEntry.js +0 -21
  65. package/cen/routeEntry.js.map +1 -1
  66. package/cen/serviceRouteEntries.d.ts +98 -4
  67. package/cen/serviceRouteEntries.js +98 -4
  68. package/cen/serviceRouteEntries.js.map +1 -1
  69. package/cen/serviceRouteEntry.d.ts +31 -46
  70. package/cen/serviceRouteEntry.js +31 -46
  71. package/cen/serviceRouteEntry.js.map +1 -1
  72. package/cloud_identity/group.d.ts +126 -0
  73. package/cloud_identity/group.js +89 -0
  74. package/cloud_identity/group.js.map +1 -0
  75. package/cloud_identity/groups.d.ts +133 -0
  76. package/cloud_identity/groups.js +72 -0
  77. package/cloud_identity/groups.js.map +1 -0
  78. package/cloud_identity/index.d.ts +39 -0
  79. package/cloud_identity/index.js +70 -0
  80. package/cloud_identity/index.js.map +1 -0
  81. package/cloud_identity/permissionSet.d.ts +136 -0
  82. package/cloud_identity/permissionSet.js +95 -0
  83. package/cloud_identity/permissionSet.js.map +1 -0
  84. package/cloud_identity/permissionSetAssignment.d.ts +135 -0
  85. package/cloud_identity/permissionSetAssignment.js +118 -0
  86. package/cloud_identity/permissionSetAssignment.js.map +1 -0
  87. package/cloud_identity/permissionSetAssignments.d.ts +191 -0
  88. package/cloud_identity/permissionSetAssignments.js +119 -0
  89. package/cloud_identity/permissionSetAssignments.js.map +1 -0
  90. package/cloud_identity/permissionSetProvisioning.d.ts +133 -0
  91. package/cloud_identity/permissionSetProvisioning.js +120 -0
  92. package/cloud_identity/permissionSetProvisioning.js.map +1 -0
  93. package/cloud_identity/permissionSetProvisionings.d.ts +99 -0
  94. package/cloud_identity/permissionSetProvisionings.js +49 -0
  95. package/cloud_identity/permissionSetProvisionings.js.map +1 -0
  96. package/cloud_identity/permissionSets.d.ts +132 -0
  97. package/cloud_identity/permissionSets.js +96 -0
  98. package/cloud_identity/permissionSets.js.map +1 -0
  99. package/cloud_identity/user.d.ts +137 -0
  100. package/cloud_identity/user.js +91 -0
  101. package/cloud_identity/user.js.map +1 -0
  102. package/cloud_identity/userAttachment.d.ts +95 -0
  103. package/cloud_identity/userAttachment.js +92 -0
  104. package/cloud_identity/userAttachment.js.map +1 -0
  105. package/cloud_identity/userProvisioning.d.ts +171 -0
  106. package/cloud_identity/userProvisioning.js +98 -0
  107. package/cloud_identity/userProvisioning.js.map +1 -0
  108. package/cloud_identity/userProvisionings.d.ts +75 -0
  109. package/cloud_identity/userProvisionings.js +47 -0
  110. package/cloud_identity/userProvisionings.js.map +1 -0
  111. package/cloud_identity/users.d.ts +144 -0
  112. package/cloud_identity/users.js +75 -0
  113. package/cloud_identity/users.js.map +1 -0
  114. package/cloud_monitor/contact.d.ts +94 -0
  115. package/cloud_monitor/contact.js +78 -0
  116. package/cloud_monitor/contact.js.map +1 -0
  117. package/cloud_monitor/contactGroup.d.ts +97 -0
  118. package/cloud_monitor/contactGroup.js +78 -0
  119. package/cloud_monitor/contactGroup.js.map +1 -0
  120. package/cloud_monitor/contactGroups.d.ts +78 -0
  121. package/cloud_monitor/contactGroups.js +47 -0
  122. package/cloud_monitor/contactGroups.js.map +1 -0
  123. package/cloud_monitor/contacts.d.ts +81 -0
  124. package/cloud_monitor/contacts.js +52 -0
  125. package/cloud_monitor/contacts.js.map +1 -0
  126. package/cloud_monitor/eventRule.d.ts +250 -0
  127. package/cloud_monitor/eventRule.js +147 -0
  128. package/cloud_monitor/eventRule.js.map +1 -0
  129. package/cloud_monitor/eventRules.d.ts +90 -0
  130. package/cloud_monitor/eventRules.js +48 -0
  131. package/cloud_monitor/eventRules.js.map +1 -0
  132. package/cloud_monitor/index.d.ts +24 -0
  133. package/cloud_monitor/index.js +49 -0
  134. package/cloud_monitor/index.js.map +1 -0
  135. package/cloud_monitor/rule.d.ts +361 -0
  136. package/cloud_monitor/rule.js +201 -0
  137. package/cloud_monitor/rule.js.map +1 -0
  138. package/cloud_monitor/rules.d.ts +144 -0
  139. package/cloud_monitor/rules.js +53 -0
  140. package/cloud_monitor/rules.js.map +1 -0
  141. package/config/vars.d.ts +6 -0
  142. package/config/vars.js +6 -0
  143. package/config/vars.js.map +1 -1
  144. package/ebs/volume.d.ts +22 -0
  145. package/ebs/volume.js +10 -0
  146. package/ebs/volume.js.map +1 -1
  147. package/ebs/volumes.d.ts +13 -0
  148. package/ebs/volumes.js +1 -0
  149. package/ebs/volumes.js.map +1 -1
  150. package/ecs/instance.d.ts +15 -0
  151. package/ecs/instance.js +2 -0
  152. package/ecs/instance.js.map +1 -1
  153. package/ecs/state.d.ts +4 -4
  154. package/eip/address.d.ts +3 -3
  155. package/financial_relation/financialRelation.d.ts +111 -0
  156. package/financial_relation/financialRelation.js +73 -0
  157. package/financial_relation/financialRelation.js.map +1 -0
  158. package/financial_relation/financialRelations.d.ts +103 -0
  159. package/financial_relation/financialRelations.js +53 -0
  160. package/financial_relation/financialRelations.js.map +1 -0
  161. package/financial_relation/index.d.ts +6 -0
  162. package/financial_relation/index.js +25 -0
  163. package/financial_relation/index.js.map +1 -0
  164. package/iam/accessKeys.d.ts +83 -0
  165. package/iam/accessKeys.js +44 -0
  166. package/iam/accessKeys.js.map +1 -0
  167. package/iam/index.d.ts +9 -0
  168. package/iam/index.js +12 -1
  169. package/iam/index.js.map +1 -1
  170. package/iam/samlProvider.d.ts +144 -0
  171. package/iam/samlProvider.js +96 -0
  172. package/iam/samlProvider.js.map +1 -0
  173. package/iam/samlProviders.d.ts +62 -0
  174. package/iam/samlProviders.js +42 -0
  175. package/iam/samlProviders.js.map +1 -0
  176. package/index.d.ts +9 -1
  177. package/index.js +17 -1
  178. package/index.js.map +1 -1
  179. package/kafka/consumedPartitions.d.ts +235 -0
  180. package/kafka/consumedPartitions.js +190 -0
  181. package/kafka/consumedPartitions.js.map +1 -0
  182. package/kafka/consumedTopics.d.ts +238 -0
  183. package/kafka/consumedTopics.js +190 -0
  184. package/kafka/consumedTopics.js.map +1 -0
  185. package/kafka/group.d.ts +142 -0
  186. package/kafka/group.js +123 -0
  187. package/kafka/group.js.map +1 -0
  188. package/kafka/groups.d.ts +184 -0
  189. package/kafka/groups.js +136 -0
  190. package/kafka/groups.js.map +1 -0
  191. package/kafka/index.d.ts +42 -0
  192. package/kafka/index.js +69 -0
  193. package/kafka/index.js.map +1 -0
  194. package/kafka/instance.d.ts +322 -0
  195. package/kafka/instance.js +171 -0
  196. package/kafka/instance.js.map +1 -0
  197. package/kafka/instances.d.ts +205 -0
  198. package/kafka/instances.js +129 -0
  199. package/kafka/instances.js.map +1 -0
  200. package/kafka/publicAddress.d.ts +152 -0
  201. package/kafka/publicAddress.js +131 -0
  202. package/kafka/publicAddress.js.map +1 -0
  203. package/kafka/regions.d.ts +62 -0
  204. package/kafka/regions.js +42 -0
  205. package/kafka/regions.js.map +1 -0
  206. package/kafka/saslUser.d.ts +173 -0
  207. package/kafka/saslUser.js +135 -0
  208. package/kafka/saslUser.js.map +1 -0
  209. package/kafka/saslUsers.d.ts +183 -0
  210. package/kafka/saslUsers.js +143 -0
  211. package/kafka/saslUsers.js.map +1 -0
  212. package/kafka/topic.d.ts +216 -0
  213. package/kafka/topic.js +154 -0
  214. package/kafka/topic.js.map +1 -0
  215. package/kafka/topicPartitions.d.ts +240 -0
  216. package/kafka/topicPartitions.js +187 -0
  217. package/kafka/topicPartitions.js.map +1 -0
  218. package/kafka/topics.d.ts +260 -0
  219. package/kafka/topics.js +179 -0
  220. package/kafka/topics.js.map +1 -0
  221. package/kafka/zones.d.ts +75 -0
  222. package/kafka/zones.js +46 -0
  223. package/kafka/zones.js.map +1 -0
  224. package/nat/gateway.d.ts +4 -4
  225. package/organization/account.d.ts +183 -0
  226. package/organization/account.js +108 -0
  227. package/organization/account.js.map +1 -0
  228. package/organization/accounts.d.ts +105 -0
  229. package/organization/accounts.js +50 -0
  230. package/organization/accounts.js.map +1 -0
  231. package/organization/index.d.ts +30 -0
  232. package/organization/index.js +59 -0
  233. package/organization/index.js.map +1 -0
  234. package/organization/organization.d.ts +151 -0
  235. package/organization/organization.js +90 -0
  236. package/organization/organization.js.map +1 -0
  237. package/organization/organizations.d.ts +71 -0
  238. package/organization/organizations.js +43 -0
  239. package/organization/organizations.js.map +1 -0
  240. package/organization/serviceControlPolicies.d.ts +89 -0
  241. package/organization/serviceControlPolicies.js +50 -0
  242. package/organization/serviceControlPolicies.js.map +1 -0
  243. package/organization/serviceControlPolicy.d.ts +123 -0
  244. package/organization/serviceControlPolicy.js +92 -0
  245. package/organization/serviceControlPolicy.js.map +1 -0
  246. package/organization/serviceControlPolicyAttachment.d.ts +105 -0
  247. package/organization/serviceControlPolicyAttachment.js +95 -0
  248. package/organization/serviceControlPolicyAttachment.js.map +1 -0
  249. package/organization/serviceControlPolicyEnabler.d.ts +55 -0
  250. package/organization/serviceControlPolicyEnabler.js +66 -0
  251. package/organization/serviceControlPolicyEnabler.js.map +1 -0
  252. package/organization/unit.d.ts +129 -0
  253. package/organization/unit.js +89 -0
  254. package/organization/unit.js.map +1 -0
  255. package/organization/units.d.ts +62 -0
  256. package/organization/units.js +42 -0
  257. package/organization/units.js.map +1 -0
  258. package/package.json +2 -2
  259. package/privatelink/securityGroup.d.ts +60 -6
  260. package/privatelink/securityGroup.js +54 -3
  261. package/privatelink/securityGroup.js.map +1 -1
  262. package/privatelink/vpcEndpoint.d.ts +51 -12
  263. package/privatelink/vpcEndpoint.js +45 -9
  264. package/privatelink/vpcEndpoint.js.map +1 -1
  265. package/privatelink/vpcEndpointConnection.d.ts +60 -3
  266. package/privatelink/vpcEndpointConnection.js +60 -3
  267. package/privatelink/vpcEndpointConnection.js.map +1 -1
  268. package/privatelink/vpcEndpointConnections.d.ts +120 -6
  269. package/privatelink/vpcEndpointConnections.js +120 -6
  270. package/privatelink/vpcEndpointConnections.js.map +1 -1
  271. package/privatelink/vpcEndpointService.d.ts +33 -4
  272. package/privatelink/vpcEndpointService.js +33 -4
  273. package/privatelink/vpcEndpointService.js.map +1 -1
  274. package/privatelink/vpcEndpointServicePermission.d.ts +39 -6
  275. package/privatelink/vpcEndpointServicePermission.js +39 -6
  276. package/privatelink/vpcEndpointServicePermission.js.map +1 -1
  277. package/privatelink/vpcEndpointServicePermissions.d.ts +88 -4
  278. package/privatelink/vpcEndpointServicePermissions.js +88 -4
  279. package/privatelink/vpcEndpointServicePermissions.js.map +1 -1
  280. package/privatelink/vpcEndpointServiceResource.d.ts +55 -9
  281. package/privatelink/vpcEndpointServiceResource.js +55 -9
  282. package/privatelink/vpcEndpointServiceResource.js.map +1 -1
  283. package/privatelink/vpcEndpointServices.d.ts +84 -10
  284. package/privatelink/vpcEndpointServices.js +84 -10
  285. package/privatelink/vpcEndpointServices.js.map +1 -1
  286. package/privatelink/vpcEndpointZone.d.ts +50 -3
  287. package/privatelink/vpcEndpointZone.js +50 -3
  288. package/privatelink/vpcEndpointZone.js.map +1 -1
  289. package/privatelink/vpcEndpointZones.d.ts +108 -4
  290. package/privatelink/vpcEndpointZones.js +108 -4
  291. package/privatelink/vpcEndpointZones.js.map +1 -1
  292. package/privatelink/vpcEndpoints.d.ts +104 -4
  293. package/privatelink/vpcEndpoints.js +104 -4
  294. package/privatelink/vpcEndpoints.js.map +1 -1
  295. package/provider.d.ts +6 -0
  296. package/provider.js +1 -0
  297. package/provider.js.map +1 -1
  298. package/rds_mssql/backup.d.ts +101 -0
  299. package/rds_mssql/backup.js +77 -0
  300. package/rds_mssql/backup.js.map +1 -0
  301. package/rds_mssql/backups.d.ts +123 -0
  302. package/rds_mssql/backups.js +50 -0
  303. package/rds_mssql/backups.js.map +1 -0
  304. package/rds_mssql/index.d.ts +18 -0
  305. package/rds_mssql/index.js +39 -0
  306. package/rds_mssql/index.js.map +1 -0
  307. package/rds_mssql/instance.d.ts +256 -0
  308. package/rds_mssql/instance.js +149 -0
  309. package/rds_mssql/instance.js.map +1 -0
  310. package/rds_mssql/instances.d.ts +190 -0
  311. package/rds_mssql/instances.js +57 -0
  312. package/rds_mssql/instances.js.map +1 -0
  313. package/rds_mssql/regions.d.ts +62 -0
  314. package/rds_mssql/regions.js +42 -0
  315. package/rds_mssql/regions.js.map +1 -0
  316. package/rds_mssql/zones.d.ts +71 -0
  317. package/rds_mssql/zones.js +43 -0
  318. package/rds_mssql/zones.js.map +1 -0
  319. package/rds_postgresql/account.d.ts +141 -0
  320. package/rds_postgresql/account.js +104 -0
  321. package/rds_postgresql/account.js.map +1 -0
  322. package/rds_postgresql/accounts.d.ts +87 -0
  323. package/rds_postgresql/accounts.js +47 -0
  324. package/rds_postgresql/accounts.js.map +1 -0
  325. package/rds_postgresql/database.d.ts +140 -0
  326. package/rds_postgresql/database.js +91 -0
  327. package/rds_postgresql/database.js.map +1 -0
  328. package/rds_postgresql/databases.d.ts +89 -0
  329. package/rds_postgresql/databases.js +49 -0
  330. package/rds_postgresql/databases.js.map +1 -0
  331. package/rds_postgresql/index.d.ts +27 -0
  332. package/rds_postgresql/index.js +54 -0
  333. package/rds_postgresql/index.js.map +1 -0
  334. package/rds_postgresql/instance.d.ts +371 -0
  335. package/rds_postgresql/instance.js +180 -0
  336. package/rds_postgresql/instance.js.map +1 -0
  337. package/rds_postgresql/instanceReadonlyNode.d.ts +142 -0
  338. package/rds_postgresql/instanceReadonlyNode.js +126 -0
  339. package/rds_postgresql/instanceReadonlyNode.js.map +1 -0
  340. package/rds_postgresql/instances.d.ts +258 -0
  341. package/rds_postgresql/instances.js +134 -0
  342. package/rds_postgresql/instances.js.map +1 -0
  343. package/rds_postgresql/schema.d.ts +167 -0
  344. package/rds_postgresql/schema.js +150 -0
  345. package/rds_postgresql/schema.js.map +1 -0
  346. package/rds_postgresql/schemas.d.ts +219 -0
  347. package/rds_postgresql/schemas.js +179 -0
  348. package/rds_postgresql/schemas.js.map +1 -0
  349. package/redis/instance.d.ts +3 -3
  350. package/tls/index_.d.ts +3 -2
  351. package/tls/index_.js +3 -2
  352. package/tls/index_.js.map +1 -1
  353. package/tos/bucket.d.ts +30 -1
  354. package/tos/bucket.js +10 -1
  355. package/tos/bucket.js.map +1 -1
  356. package/tos/bucketObject.d.ts +29 -9
  357. package/tos/bucketObject.js +9 -6
  358. package/tos/bucketObject.js.map +1 -1
  359. package/tos/bucketPolicy.d.ts +2 -2
  360. package/tos/bucketPolicy.js +2 -2
  361. package/transit_router/bandwidthPackage.d.ts +29 -0
  362. package/transit_router/bandwidthPackage.js +9 -0
  363. package/transit_router/bandwidthPackage.js.map +1 -1
  364. package/transit_router/bandwidthPackages.d.ts +25 -0
  365. package/transit_router/bandwidthPackages.js +2 -0
  366. package/transit_router/bandwidthPackages.js.map +1 -1
  367. package/transit_router/directConnectGatewayAttachment.d.ts +35 -5
  368. package/transit_router/directConnectGatewayAttachment.js +23 -5
  369. package/transit_router/directConnectGatewayAttachment.js.map +1 -1
  370. package/transit_router/directConnectGatewayAttachments.d.ts +13 -0
  371. package/transit_router/directConnectGatewayAttachments.js +1 -0
  372. package/transit_router/directConnectGatewayAttachments.js.map +1 -1
  373. package/transit_router/grantRule.d.ts +8 -4
  374. package/transit_router/grantRule.js +8 -4
  375. package/transit_router/grantRule.js.map +1 -1
  376. package/transit_router/peerAttachment.d.ts +37 -6
  377. package/transit_router/peerAttachment.js +25 -6
  378. package/transit_router/peerAttachment.js.map +1 -1
  379. package/transit_router/peerAttachments.d.ts +13 -0
  380. package/transit_router/peerAttachments.js +1 -0
  381. package/transit_router/peerAttachments.js.map +1 -1
  382. package/transit_router/routeEntry.d.ts +72 -5
  383. package/transit_router/routeEntry.js +72 -5
  384. package/transit_router/routeEntry.js.map +1 -1
  385. package/transit_router/routeTable.d.ts +26 -4
  386. package/transit_router/routeTable.js +14 -4
  387. package/transit_router/routeTable.js.map +1 -1
  388. package/transit_router/routeTableAssociation.d.ts +69 -3
  389. package/transit_router/routeTableAssociation.js +69 -3
  390. package/transit_router/routeTableAssociation.js.map +1 -1
  391. package/transit_router/routeTablePropagation.d.ts +46 -3
  392. package/transit_router/routeTablePropagation.js +46 -3
  393. package/transit_router/routeTablePropagation.js.map +1 -1
  394. package/transit_router/routeTables.d.ts +39 -6
  395. package/transit_router/routeTables.js +27 -6
  396. package/transit_router/routeTables.js.map +1 -1
  397. package/transit_router/sharedTransitRouterState.d.ts +6 -2
  398. package/transit_router/sharedTransitRouterState.js +6 -2
  399. package/transit_router/sharedTransitRouterState.js.map +1 -1
  400. package/transit_router/transitRouter.d.ts +29 -0
  401. package/transit_router/transitRouter.js +9 -0
  402. package/transit_router/transitRouter.js.map +1 -1
  403. package/transit_router/transitRouters.d.ts +41 -6
  404. package/transit_router/transitRouters.js +18 -6
  405. package/transit_router/transitRouters.js.map +1 -1
  406. package/transit_router/vpcAttachment.d.ts +46 -8
  407. package/transit_router/vpcAttachment.js +36 -8
  408. package/transit_router/vpcAttachment.js.map +1 -1
  409. package/transit_router/vpcAttachments.d.ts +13 -0
  410. package/transit_router/vpcAttachments.js +1 -0
  411. package/transit_router/vpcAttachments.js.map +1 -1
  412. package/transit_router/vpnAttachment.d.ts +77 -5
  413. package/transit_router/vpnAttachment.js +65 -5
  414. package/transit_router/vpnAttachment.js.map +1 -1
  415. package/transit_router/vpnAttachments.d.ts +13 -0
  416. package/transit_router/vpnAttachments.js +1 -0
  417. package/transit_router/vpnAttachments.js.map +1 -1
  418. package/types/input.d.ts +998 -36
  419. package/types/output.d.ts +6092 -2672
  420. package/vke/cluster.d.ts +3 -14
  421. package/vke/cluster.js +0 -11
  422. package/vke/cluster.js.map +1 -1
  423. package/vke/clusters.d.ts +0 -22
  424. package/vke/clusters.js +0 -22
  425. package/vke/clusters.js.map +1 -1
  426. package/vke/kubeconfigs.d.ts +9 -0
  427. package/vke/kubeconfigs.js +1 -0
  428. package/vke/kubeconfigs.js.map +1 -1
  429. package/vpc/subnet.d.ts +14 -0
  430. package/vpc/subnet.js +2 -0
  431. package/vpc/subnet.js.map +1 -1
  432. package/vpc/subnets.d.ts +13 -0
  433. package/vpc/subnets.js +1 -0
  434. package/vpc/subnets.js.map +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"topic.js","sourceRoot":"","sources":["../../kafka/topic.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,240 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of kafka topic partitions
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ * import * as volcengine from "@volcengine/pulumi";
11
+ *
12
+ * const fooZones = volcengine.ecs.Zones({});
13
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
14
+ * vpcName: "acc-test-vpc",
15
+ * cidrBlock: "172.16.0.0/16",
16
+ * });
17
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
18
+ * subnetName: "acc-test-subnet",
19
+ * cidrBlock: "172.16.0.0/24",
20
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
21
+ * vpcId: fooVpc.id,
22
+ * });
23
+ * const fooInstance = new volcengine.kafka.Instance("fooInstance", {
24
+ * instanceName: "acc-test-kafka",
25
+ * instanceDescription: "tf-test",
26
+ * version: "2.2.2",
27
+ * computeSpec: "kafka.20xrate.hw",
28
+ * subnetId: fooSubnet.id,
29
+ * userName: "tf-user",
30
+ * userPassword: "tf-pass!@q1",
31
+ * chargeType: "PostPaid",
32
+ * storageSpace: 300,
33
+ * partitionNumber: 350,
34
+ * projectName: "default",
35
+ * tags: [{
36
+ * key: "k1",
37
+ * value: "v1",
38
+ * }],
39
+ * parameters: [
40
+ * {
41
+ * parameterName: "MessageMaxByte",
42
+ * parameterValue: "12",
43
+ * },
44
+ * {
45
+ * parameterName: "LogRetentionHours",
46
+ * parameterValue: "70",
47
+ * },
48
+ * ],
49
+ * });
50
+ * const fooSaslUser = new volcengine.kafka.SaslUser("fooSaslUser", {
51
+ * userName: "acc-test-user",
52
+ * instanceId: fooInstance.id,
53
+ * userPassword: "suqsnis123!",
54
+ * description: "tf-test",
55
+ * allAuthority: true,
56
+ * passwordType: "Scram",
57
+ * });
58
+ * const fooTopic = new volcengine.kafka.Topic("fooTopic", {
59
+ * topicName: "acc-test-topic",
60
+ * instanceId: fooInstance.id,
61
+ * description: "tf-test",
62
+ * partitionNumber: 15,
63
+ * replicaNumber: 3,
64
+ * parameters: {
65
+ * minInsyncReplicaNumber: 2,
66
+ * messageMaxByte: 10,
67
+ * logRetentionHours: 96,
68
+ * },
69
+ * allAuthority: false,
70
+ * accessPolicies: [{
71
+ * userName: fooSaslUser.userName,
72
+ * accessPolicy: "Pub",
73
+ * }],
74
+ * });
75
+ * const default = pulumi.all([fooInstance.id, fooTopic.topicName]).apply(([id, topicName]) => volcengine.kafka.TopicPartitionsOutput({
76
+ * instanceId: id,
77
+ * topicName: topicName,
78
+ * partitionIds: [
79
+ * 1,
80
+ * 2,
81
+ * ],
82
+ * }));
83
+ * ```
84
+ */
85
+ export declare function topicPartitions(args: TopicPartitionsArgs, opts?: pulumi.InvokeOptions): Promise<TopicPartitionsResult>;
86
+ /**
87
+ * A collection of arguments for invoking TopicPartitions.
88
+ */
89
+ export interface TopicPartitionsArgs {
90
+ /**
91
+ * The id of kafka instance.
92
+ */
93
+ instanceId: string;
94
+ /**
95
+ * File name where to save data source results.
96
+ */
97
+ outputFile?: string;
98
+ /**
99
+ * The index number of partition.
100
+ */
101
+ partitionIds?: number[];
102
+ /**
103
+ * The name of kafka topic.
104
+ */
105
+ topicName: string;
106
+ /**
107
+ * Whether to only query the list of partitions that have out-of-sync replicas, the default value is false.
108
+ */
109
+ underInsyncOnly?: boolean;
110
+ }
111
+ /**
112
+ * A collection of values returned by TopicPartitions.
113
+ */
114
+ export interface TopicPartitionsResult {
115
+ /**
116
+ * The provider-assigned unique ID for this managed resource.
117
+ */
118
+ readonly id: string;
119
+ readonly instanceId: string;
120
+ readonly outputFile?: string;
121
+ readonly partitionIds?: number[];
122
+ /**
123
+ * The collection of query.
124
+ */
125
+ readonly partitions: outputs.kafka.TopicPartitionsPartition[];
126
+ readonly topicName: string;
127
+ /**
128
+ * The total count of query.
129
+ */
130
+ readonly totalCount: number;
131
+ readonly underInsyncOnly?: boolean;
132
+ }
133
+ /**
134
+ * Use this data source to query detailed information of kafka topic partitions
135
+ * ## Example Usage
136
+ *
137
+ * ```typescript
138
+ * import * as pulumi from "@pulumi/pulumi";
139
+ * import * as volcengine from "@pulumi/volcengine";
140
+ * import * as volcengine from "@volcengine/pulumi";
141
+ *
142
+ * const fooZones = volcengine.ecs.Zones({});
143
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
144
+ * vpcName: "acc-test-vpc",
145
+ * cidrBlock: "172.16.0.0/16",
146
+ * });
147
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
148
+ * subnetName: "acc-test-subnet",
149
+ * cidrBlock: "172.16.0.0/24",
150
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
151
+ * vpcId: fooVpc.id,
152
+ * });
153
+ * const fooInstance = new volcengine.kafka.Instance("fooInstance", {
154
+ * instanceName: "acc-test-kafka",
155
+ * instanceDescription: "tf-test",
156
+ * version: "2.2.2",
157
+ * computeSpec: "kafka.20xrate.hw",
158
+ * subnetId: fooSubnet.id,
159
+ * userName: "tf-user",
160
+ * userPassword: "tf-pass!@q1",
161
+ * chargeType: "PostPaid",
162
+ * storageSpace: 300,
163
+ * partitionNumber: 350,
164
+ * projectName: "default",
165
+ * tags: [{
166
+ * key: "k1",
167
+ * value: "v1",
168
+ * }],
169
+ * parameters: [
170
+ * {
171
+ * parameterName: "MessageMaxByte",
172
+ * parameterValue: "12",
173
+ * },
174
+ * {
175
+ * parameterName: "LogRetentionHours",
176
+ * parameterValue: "70",
177
+ * },
178
+ * ],
179
+ * });
180
+ * const fooSaslUser = new volcengine.kafka.SaslUser("fooSaslUser", {
181
+ * userName: "acc-test-user",
182
+ * instanceId: fooInstance.id,
183
+ * userPassword: "suqsnis123!",
184
+ * description: "tf-test",
185
+ * allAuthority: true,
186
+ * passwordType: "Scram",
187
+ * });
188
+ * const fooTopic = new volcengine.kafka.Topic("fooTopic", {
189
+ * topicName: "acc-test-topic",
190
+ * instanceId: fooInstance.id,
191
+ * description: "tf-test",
192
+ * partitionNumber: 15,
193
+ * replicaNumber: 3,
194
+ * parameters: {
195
+ * minInsyncReplicaNumber: 2,
196
+ * messageMaxByte: 10,
197
+ * logRetentionHours: 96,
198
+ * },
199
+ * allAuthority: false,
200
+ * accessPolicies: [{
201
+ * userName: fooSaslUser.userName,
202
+ * accessPolicy: "Pub",
203
+ * }],
204
+ * });
205
+ * const default = pulumi.all([fooInstance.id, fooTopic.topicName]).apply(([id, topicName]) => volcengine.kafka.TopicPartitionsOutput({
206
+ * instanceId: id,
207
+ * topicName: topicName,
208
+ * partitionIds: [
209
+ * 1,
210
+ * 2,
211
+ * ],
212
+ * }));
213
+ * ```
214
+ */
215
+ export declare function topicPartitionsOutput(args: TopicPartitionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<TopicPartitionsResult>;
216
+ /**
217
+ * A collection of arguments for invoking TopicPartitions.
218
+ */
219
+ export interface TopicPartitionsOutputArgs {
220
+ /**
221
+ * The id of kafka instance.
222
+ */
223
+ instanceId: pulumi.Input<string>;
224
+ /**
225
+ * File name where to save data source results.
226
+ */
227
+ outputFile?: pulumi.Input<string>;
228
+ /**
229
+ * The index number of partition.
230
+ */
231
+ partitionIds?: pulumi.Input<pulumi.Input<number>[]>;
232
+ /**
233
+ * The name of kafka topic.
234
+ */
235
+ topicName: pulumi.Input<string>;
236
+ /**
237
+ * Whether to only query the list of partitions that have out-of-sync replicas, the default value is false.
238
+ */
239
+ underInsyncOnly?: pulumi.Input<boolean>;
240
+ }
@@ -0,0 +1,187 @@
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.topicPartitionsOutput = exports.topicPartitions = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of kafka topic partitions
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ * import * as volcengine from "@volcengine/pulumi";
16
+ *
17
+ * const fooZones = volcengine.ecs.Zones({});
18
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
19
+ * vpcName: "acc-test-vpc",
20
+ * cidrBlock: "172.16.0.0/16",
21
+ * });
22
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
23
+ * subnetName: "acc-test-subnet",
24
+ * cidrBlock: "172.16.0.0/24",
25
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
26
+ * vpcId: fooVpc.id,
27
+ * });
28
+ * const fooInstance = new volcengine.kafka.Instance("fooInstance", {
29
+ * instanceName: "acc-test-kafka",
30
+ * instanceDescription: "tf-test",
31
+ * version: "2.2.2",
32
+ * computeSpec: "kafka.20xrate.hw",
33
+ * subnetId: fooSubnet.id,
34
+ * userName: "tf-user",
35
+ * userPassword: "tf-pass!@q1",
36
+ * chargeType: "PostPaid",
37
+ * storageSpace: 300,
38
+ * partitionNumber: 350,
39
+ * projectName: "default",
40
+ * tags: [{
41
+ * key: "k1",
42
+ * value: "v1",
43
+ * }],
44
+ * parameters: [
45
+ * {
46
+ * parameterName: "MessageMaxByte",
47
+ * parameterValue: "12",
48
+ * },
49
+ * {
50
+ * parameterName: "LogRetentionHours",
51
+ * parameterValue: "70",
52
+ * },
53
+ * ],
54
+ * });
55
+ * const fooSaslUser = new volcengine.kafka.SaslUser("fooSaslUser", {
56
+ * userName: "acc-test-user",
57
+ * instanceId: fooInstance.id,
58
+ * userPassword: "suqsnis123!",
59
+ * description: "tf-test",
60
+ * allAuthority: true,
61
+ * passwordType: "Scram",
62
+ * });
63
+ * const fooTopic = new volcengine.kafka.Topic("fooTopic", {
64
+ * topicName: "acc-test-topic",
65
+ * instanceId: fooInstance.id,
66
+ * description: "tf-test",
67
+ * partitionNumber: 15,
68
+ * replicaNumber: 3,
69
+ * parameters: {
70
+ * minInsyncReplicaNumber: 2,
71
+ * messageMaxByte: 10,
72
+ * logRetentionHours: 96,
73
+ * },
74
+ * allAuthority: false,
75
+ * accessPolicies: [{
76
+ * userName: fooSaslUser.userName,
77
+ * accessPolicy: "Pub",
78
+ * }],
79
+ * });
80
+ * const default = pulumi.all([fooInstance.id, fooTopic.topicName]).apply(([id, topicName]) => volcengine.kafka.TopicPartitionsOutput({
81
+ * instanceId: id,
82
+ * topicName: topicName,
83
+ * partitionIds: [
84
+ * 1,
85
+ * 2,
86
+ * ],
87
+ * }));
88
+ * ```
89
+ */
90
+ function topicPartitions(args, opts) {
91
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
92
+ return pulumi.runtime.invoke("volcengine:kafka/topicPartitions:TopicPartitions", {
93
+ "instanceId": args.instanceId,
94
+ "outputFile": args.outputFile,
95
+ "partitionIds": args.partitionIds,
96
+ "topicName": args.topicName,
97
+ "underInsyncOnly": args.underInsyncOnly,
98
+ }, opts);
99
+ }
100
+ exports.topicPartitions = topicPartitions;
101
+ /**
102
+ * Use this data source to query detailed information of kafka topic partitions
103
+ * ## Example Usage
104
+ *
105
+ * ```typescript
106
+ * import * as pulumi from "@pulumi/pulumi";
107
+ * import * as volcengine from "@pulumi/volcengine";
108
+ * import * as volcengine from "@volcengine/pulumi";
109
+ *
110
+ * const fooZones = volcengine.ecs.Zones({});
111
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
112
+ * vpcName: "acc-test-vpc",
113
+ * cidrBlock: "172.16.0.0/16",
114
+ * });
115
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
116
+ * subnetName: "acc-test-subnet",
117
+ * cidrBlock: "172.16.0.0/24",
118
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
119
+ * vpcId: fooVpc.id,
120
+ * });
121
+ * const fooInstance = new volcengine.kafka.Instance("fooInstance", {
122
+ * instanceName: "acc-test-kafka",
123
+ * instanceDescription: "tf-test",
124
+ * version: "2.2.2",
125
+ * computeSpec: "kafka.20xrate.hw",
126
+ * subnetId: fooSubnet.id,
127
+ * userName: "tf-user",
128
+ * userPassword: "tf-pass!@q1",
129
+ * chargeType: "PostPaid",
130
+ * storageSpace: 300,
131
+ * partitionNumber: 350,
132
+ * projectName: "default",
133
+ * tags: [{
134
+ * key: "k1",
135
+ * value: "v1",
136
+ * }],
137
+ * parameters: [
138
+ * {
139
+ * parameterName: "MessageMaxByte",
140
+ * parameterValue: "12",
141
+ * },
142
+ * {
143
+ * parameterName: "LogRetentionHours",
144
+ * parameterValue: "70",
145
+ * },
146
+ * ],
147
+ * });
148
+ * const fooSaslUser = new volcengine.kafka.SaslUser("fooSaslUser", {
149
+ * userName: "acc-test-user",
150
+ * instanceId: fooInstance.id,
151
+ * userPassword: "suqsnis123!",
152
+ * description: "tf-test",
153
+ * allAuthority: true,
154
+ * passwordType: "Scram",
155
+ * });
156
+ * const fooTopic = new volcengine.kafka.Topic("fooTopic", {
157
+ * topicName: "acc-test-topic",
158
+ * instanceId: fooInstance.id,
159
+ * description: "tf-test",
160
+ * partitionNumber: 15,
161
+ * replicaNumber: 3,
162
+ * parameters: {
163
+ * minInsyncReplicaNumber: 2,
164
+ * messageMaxByte: 10,
165
+ * logRetentionHours: 96,
166
+ * },
167
+ * allAuthority: false,
168
+ * accessPolicies: [{
169
+ * userName: fooSaslUser.userName,
170
+ * accessPolicy: "Pub",
171
+ * }],
172
+ * });
173
+ * const default = pulumi.all([fooInstance.id, fooTopic.topicName]).apply(([id, topicName]) => volcengine.kafka.TopicPartitionsOutput({
174
+ * instanceId: id,
175
+ * topicName: topicName,
176
+ * partitionIds: [
177
+ * 1,
178
+ * 2,
179
+ * ],
180
+ * }));
181
+ * ```
182
+ */
183
+ function topicPartitionsOutput(args, opts) {
184
+ return pulumi.output(args).apply((a) => topicPartitions(a, opts));
185
+ }
186
+ exports.topicPartitionsOutput = topicPartitionsOutput;
187
+ //# sourceMappingURL=topicPartitions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"topicPartitions.js","sourceRoot":"","sources":["../../kafka/topicPartitions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiFG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,0CAUC;AAkDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiFG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
@@ -0,0 +1,260 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of kafka topics
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ * import * as volcengine from "@volcengine/pulumi";
11
+ *
12
+ * const fooZones = volcengine.ecs.Zones({});
13
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
14
+ * vpcName: "acc-test-vpc",
15
+ * cidrBlock: "172.16.0.0/16",
16
+ * });
17
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
18
+ * subnetName: "acc-test-subnet",
19
+ * cidrBlock: "172.16.0.0/24",
20
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
21
+ * vpcId: fooVpc.id,
22
+ * });
23
+ * const fooInstance = new volcengine.kafka.Instance("fooInstance", {
24
+ * instanceName: "acc-test-kafka",
25
+ * instanceDescription: "tf-test",
26
+ * version: "2.2.2",
27
+ * computeSpec: "kafka.20xrate.hw",
28
+ * subnetId: fooSubnet.id,
29
+ * userName: "tf-user",
30
+ * userPassword: "tf-pass!@q1",
31
+ * chargeType: "PostPaid",
32
+ * storageSpace: 300,
33
+ * partitionNumber: 350,
34
+ * projectName: "default",
35
+ * tags: [{
36
+ * key: "k1",
37
+ * value: "v1",
38
+ * }],
39
+ * parameters: [
40
+ * {
41
+ * parameterName: "MessageMaxByte",
42
+ * parameterValue: "12",
43
+ * },
44
+ * {
45
+ * parameterName: "LogRetentionHours",
46
+ * parameterValue: "70",
47
+ * },
48
+ * ],
49
+ * });
50
+ * const fooSaslUser = new volcengine.kafka.SaslUser("fooSaslUser", {
51
+ * userName: "acc-test-user",
52
+ * instanceId: fooInstance.id,
53
+ * userPassword: "suqsnis123!",
54
+ * description: "tf-test",
55
+ * allAuthority: true,
56
+ * passwordType: "Scram",
57
+ * });
58
+ * const fooTopic = new volcengine.kafka.Topic("fooTopic", {
59
+ * topicName: "acc-test-topic",
60
+ * instanceId: fooInstance.id,
61
+ * description: "tf-test",
62
+ * partitionNumber: 15,
63
+ * replicaNumber: 3,
64
+ * parameters: {
65
+ * minInsyncReplicaNumber: 2,
66
+ * messageMaxByte: 10,
67
+ * logRetentionHours: 96,
68
+ * },
69
+ * allAuthority: false,
70
+ * accessPolicies: [{
71
+ * userName: fooSaslUser.userName,
72
+ * accessPolicy: "Pub",
73
+ * }],
74
+ * });
75
+ * const default = volcengine.kafka.TopicsOutput({
76
+ * instanceId: fooTopic.instanceId,
77
+ * });
78
+ * ```
79
+ */
80
+ export declare function topics(args: TopicsArgs, opts?: pulumi.InvokeOptions): Promise<TopicsResult>;
81
+ /**
82
+ * A collection of arguments for invoking Topics.
83
+ */
84
+ export interface TopicsArgs {
85
+ /**
86
+ * The id of kafka instance.
87
+ */
88
+ instanceId: string;
89
+ /**
90
+ * A Name Regex of kafka topic.
91
+ */
92
+ nameRegex?: string;
93
+ /**
94
+ * File name where to save data source results.
95
+ */
96
+ outputFile?: string;
97
+ /**
98
+ * The number of partition in kafka topic.
99
+ */
100
+ partitionNumber?: number;
101
+ /**
102
+ * The number of replica in kafka topic.
103
+ */
104
+ replicaNumber?: number;
105
+ /**
106
+ * The name of kafka topic. This field supports fuzzy query.
107
+ */
108
+ topicName?: string;
109
+ /**
110
+ * When a user name is specified, only the access policy of the specified user for this Topic will be returned.
111
+ */
112
+ userName?: string;
113
+ }
114
+ /**
115
+ * A collection of values returned by Topics.
116
+ */
117
+ export interface TopicsResult {
118
+ /**
119
+ * The provider-assigned unique ID for this managed resource.
120
+ */
121
+ readonly id: string;
122
+ readonly instanceId: string;
123
+ readonly nameRegex?: string;
124
+ readonly outputFile?: string;
125
+ /**
126
+ * The number of partition in the kafka topic.
127
+ */
128
+ readonly partitionNumber?: number;
129
+ /**
130
+ * The number of replica in the kafka topic.
131
+ */
132
+ readonly replicaNumber?: number;
133
+ /**
134
+ * The name of the kafka topic.
135
+ */
136
+ readonly topicName?: string;
137
+ /**
138
+ * The collection of query.
139
+ */
140
+ readonly topics: outputs.kafka.TopicsTopic[];
141
+ /**
142
+ * The total count of query.
143
+ */
144
+ readonly totalCount: number;
145
+ /**
146
+ * The name of SASL user.
147
+ */
148
+ readonly userName?: string;
149
+ }
150
+ /**
151
+ * Use this data source to query detailed information of kafka topics
152
+ * ## Example Usage
153
+ *
154
+ * ```typescript
155
+ * import * as pulumi from "@pulumi/pulumi";
156
+ * import * as volcengine from "@pulumi/volcengine";
157
+ * import * as volcengine from "@volcengine/pulumi";
158
+ *
159
+ * const fooZones = volcengine.ecs.Zones({});
160
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
161
+ * vpcName: "acc-test-vpc",
162
+ * cidrBlock: "172.16.0.0/16",
163
+ * });
164
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
165
+ * subnetName: "acc-test-subnet",
166
+ * cidrBlock: "172.16.0.0/24",
167
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[0]?.id),
168
+ * vpcId: fooVpc.id,
169
+ * });
170
+ * const fooInstance = new volcengine.kafka.Instance("fooInstance", {
171
+ * instanceName: "acc-test-kafka",
172
+ * instanceDescription: "tf-test",
173
+ * version: "2.2.2",
174
+ * computeSpec: "kafka.20xrate.hw",
175
+ * subnetId: fooSubnet.id,
176
+ * userName: "tf-user",
177
+ * userPassword: "tf-pass!@q1",
178
+ * chargeType: "PostPaid",
179
+ * storageSpace: 300,
180
+ * partitionNumber: 350,
181
+ * projectName: "default",
182
+ * tags: [{
183
+ * key: "k1",
184
+ * value: "v1",
185
+ * }],
186
+ * parameters: [
187
+ * {
188
+ * parameterName: "MessageMaxByte",
189
+ * parameterValue: "12",
190
+ * },
191
+ * {
192
+ * parameterName: "LogRetentionHours",
193
+ * parameterValue: "70",
194
+ * },
195
+ * ],
196
+ * });
197
+ * const fooSaslUser = new volcengine.kafka.SaslUser("fooSaslUser", {
198
+ * userName: "acc-test-user",
199
+ * instanceId: fooInstance.id,
200
+ * userPassword: "suqsnis123!",
201
+ * description: "tf-test",
202
+ * allAuthority: true,
203
+ * passwordType: "Scram",
204
+ * });
205
+ * const fooTopic = new volcengine.kafka.Topic("fooTopic", {
206
+ * topicName: "acc-test-topic",
207
+ * instanceId: fooInstance.id,
208
+ * description: "tf-test",
209
+ * partitionNumber: 15,
210
+ * replicaNumber: 3,
211
+ * parameters: {
212
+ * minInsyncReplicaNumber: 2,
213
+ * messageMaxByte: 10,
214
+ * logRetentionHours: 96,
215
+ * },
216
+ * allAuthority: false,
217
+ * accessPolicies: [{
218
+ * userName: fooSaslUser.userName,
219
+ * accessPolicy: "Pub",
220
+ * }],
221
+ * });
222
+ * const default = volcengine.kafka.TopicsOutput({
223
+ * instanceId: fooTopic.instanceId,
224
+ * });
225
+ * ```
226
+ */
227
+ export declare function topicsOutput(args: TopicsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<TopicsResult>;
228
+ /**
229
+ * A collection of arguments for invoking Topics.
230
+ */
231
+ export interface TopicsOutputArgs {
232
+ /**
233
+ * The id of kafka instance.
234
+ */
235
+ instanceId: pulumi.Input<string>;
236
+ /**
237
+ * A Name Regex of kafka topic.
238
+ */
239
+ nameRegex?: pulumi.Input<string>;
240
+ /**
241
+ * File name where to save data source results.
242
+ */
243
+ outputFile?: pulumi.Input<string>;
244
+ /**
245
+ * The number of partition in kafka topic.
246
+ */
247
+ partitionNumber?: pulumi.Input<number>;
248
+ /**
249
+ * The number of replica in kafka topic.
250
+ */
251
+ replicaNumber?: pulumi.Input<number>;
252
+ /**
253
+ * The name of kafka topic. This field supports fuzzy query.
254
+ */
255
+ topicName?: pulumi.Input<string>;
256
+ /**
257
+ * When a user name is specified, only the access policy of the specified user for this Topic will be returned.
258
+ */
259
+ userName?: pulumi.Input<string>;
260
+ }