@pulumi/alicloud 3.6.0 → 3.8.0

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 (673) hide show
  1. package/alb/acl.d.ts +130 -0
  2. package/alb/acl.js +91 -0
  3. package/alb/acl.js.map +1 -0
  4. package/alb/getAcls.d.ts +77 -0
  5. package/alb/getAcls.js +48 -0
  6. package/alb/getAcls.js.map +1 -0
  7. package/alb/getHealthCheckTemplates.d.ts +64 -0
  8. package/alb/getHealthCheckTemplates.js +47 -0
  9. package/alb/getHealthCheckTemplates.js.map +1 -0
  10. package/alb/getListeners.d.ts +69 -0
  11. package/alb/getListeners.js +45 -0
  12. package/alb/getListeners.js.map +1 -0
  13. package/alb/getLoadBalancers.d.ts +111 -0
  14. package/alb/getLoadBalancers.js +54 -0
  15. package/alb/getLoadBalancers.js.map +1 -0
  16. package/alb/getRules.d.ts +74 -0
  17. package/alb/getRules.js +49 -0
  18. package/alb/getRules.js.map +1 -0
  19. package/alb/getZones.d.ts +38 -0
  20. package/alb/getZones.js +37 -0
  21. package/alb/getZones.js.map +1 -0
  22. package/alb/healthCheckTemplate.d.ts +220 -0
  23. package/alb/healthCheckTemplate.js +105 -0
  24. package/alb/healthCheckTemplate.js.map +1 -0
  25. package/alb/index.d.ts +11 -0
  26. package/alb/index.js +31 -0
  27. package/alb/index.js.map +1 -1
  28. package/alb/listener.d.ts +268 -0
  29. package/alb/listener.js +108 -0
  30. package/alb/listener.js.map +1 -0
  31. package/alb/loadBalancer.d.ts +219 -0
  32. package/alb/loadBalancer.js +109 -0
  33. package/alb/loadBalancer.js.map +1 -0
  34. package/alb/rule.d.ts +134 -0
  35. package/alb/rule.js +94 -0
  36. package/alb/rule.js.map +1 -0
  37. package/alb/serverGroup.d.ts +63 -3
  38. package/alb/serverGroup.js +63 -3
  39. package/alb/serverGroup.js.map +1 -1
  40. package/alikafka/instance.d.ts +4 -2
  41. package/alikafka/instance.js +2 -0
  42. package/alikafka/instance.js.map +1 -1
  43. package/amqp/binding.d.ts +190 -0
  44. package/amqp/binding.js +129 -0
  45. package/amqp/binding.js.map +1 -0
  46. package/amqp/getBindings.d.ts +50 -0
  47. package/amqp/getBindings.js +40 -0
  48. package/amqp/getBindings.js.map +1 -0
  49. package/amqp/index.d.ts +2 -0
  50. package/amqp/index.js +6 -0
  51. package/amqp/index.js.map +1 -1
  52. package/arms/dispatchRule.d.ts +187 -0
  53. package/arms/dispatchRule.js +144 -0
  54. package/arms/dispatchRule.js.map +1 -0
  55. package/arms/getDispatchRules.d.ts +62 -0
  56. package/arms/getDispatchRules.js +45 -0
  57. package/arms/getDispatchRules.js.map +1 -0
  58. package/arms/getPrometheusAlertRules.d.ts +78 -0
  59. package/arms/getPrometheusAlertRules.js +53 -0
  60. package/arms/getPrometheusAlertRules.js.map +1 -0
  61. package/arms/index.d.ts +4 -0
  62. package/arms/index.js +12 -0
  63. package/arms/index.js.map +1 -1
  64. package/arms/prometheusAlertRule.d.ts +197 -0
  65. package/arms/prometheusAlertRule.js +117 -0
  66. package/arms/prometheusAlertRule.js.map +1 -0
  67. package/bastionhost/getHostAccounts.d.ts +81 -0
  68. package/bastionhost/getHostAccounts.js +55 -0
  69. package/bastionhost/getHostAccounts.js.map +1 -0
  70. package/bastionhost/getHostGroups.d.ts +69 -0
  71. package/bastionhost/getHostGroups.js +51 -0
  72. package/bastionhost/getHostGroups.js.map +1 -0
  73. package/bastionhost/getHosts.d.ts +99 -0
  74. package/bastionhost/getHosts.js +57 -0
  75. package/bastionhost/getHosts.js.map +1 -0
  76. package/bastionhost/getInstances.d.ts +79 -0
  77. package/bastionhost/getInstances.js +43 -0
  78. package/bastionhost/getInstances.js.map +1 -0
  79. package/bastionhost/getUserGroups.d.ts +69 -0
  80. package/bastionhost/getUserGroups.js +51 -0
  81. package/bastionhost/getUserGroups.js.map +1 -0
  82. package/bastionhost/getUsers.d.ts +94 -0
  83. package/bastionhost/getUsers.js +56 -0
  84. package/bastionhost/getUsers.js.map +1 -0
  85. package/bastionhost/host.d.ts +206 -0
  86. package/bastionhost/host.js +118 -0
  87. package/bastionhost/host.js.map +1 -0
  88. package/bastionhost/hostAccount.d.ts +160 -0
  89. package/bastionhost/hostAccount.js +108 -0
  90. package/bastionhost/hostAccount.js.map +1 -0
  91. package/bastionhost/hostAccountUserAttachment.d.ts +139 -0
  92. package/bastionhost/hostAccountUserAttachment.js +123 -0
  93. package/bastionhost/hostAccountUserAttachment.js.map +1 -0
  94. package/bastionhost/hostAccountUserGroupAttachment.d.ts +135 -0
  95. package/bastionhost/hostAccountUserGroupAttachment.js +119 -0
  96. package/bastionhost/hostAccountUserGroupAttachment.js.map +1 -0
  97. package/bastionhost/hostAttachment.d.ts +100 -0
  98. package/bastionhost/hostAttachment.js +91 -0
  99. package/bastionhost/hostAttachment.js.map +1 -0
  100. package/bastionhost/hostGroup.d.ts +109 -0
  101. package/bastionhost/hostGroup.js +91 -0
  102. package/bastionhost/hostGroup.js.map +1 -0
  103. package/bastionhost/hostGroupAccountUserAttachment.d.ts +143 -0
  104. package/bastionhost/hostGroupAccountUserAttachment.js +127 -0
  105. package/bastionhost/hostGroupAccountUserAttachment.js.map +1 -0
  106. package/bastionhost/hostGroupAccountUserGroupAttachment.d.ts +139 -0
  107. package/bastionhost/hostGroupAccountUserGroupAttachment.js +123 -0
  108. package/bastionhost/hostGroupAccountUserGroupAttachment.js.map +1 -0
  109. package/bastionhost/index.d.ts +18 -0
  110. package/bastionhost/index.js +87 -0
  111. package/bastionhost/index.js.map +1 -0
  112. package/bastionhost/instance.d.ts +157 -0
  113. package/bastionhost/instance.js +114 -0
  114. package/bastionhost/instance.js.map +1 -0
  115. package/bastionhost/user.d.ts +281 -0
  116. package/bastionhost/user.js +123 -0
  117. package/bastionhost/user.js.map +1 -0
  118. package/bastionhost/userAttachment.d.ts +100 -0
  119. package/bastionhost/userAttachment.js +91 -0
  120. package/bastionhost/userAttachment.js.map +1 -0
  121. package/bastionhost/userGroup.d.ts +109 -0
  122. package/bastionhost/userGroup.js +91 -0
  123. package/bastionhost/userGroup.js.map +1 -0
  124. package/cddc/dedicatedHostGroup.d.ts +171 -0
  125. package/cddc/dedicatedHostGroup.js +109 -0
  126. package/cddc/dedicatedHostGroup.js.map +1 -0
  127. package/cddc/getDedicatedHostGroups.d.ts +49 -0
  128. package/cddc/getDedicatedHostGroups.js +41 -0
  129. package/cddc/getDedicatedHostGroups.js.map +1 -0
  130. package/cddc/index.d.ts +2 -0
  131. package/cddc/index.js +27 -0
  132. package/cddc/index.js.map +1 -0
  133. package/cdn/domainConfig.d.ts +21 -1
  134. package/cdn/domainConfig.js +9 -1
  135. package/cdn/domainConfig.js.map +1 -1
  136. package/cdn/getRealTimeLogDeliveries.d.ts +49 -0
  137. package/cdn/getRealTimeLogDeliveries.js +40 -0
  138. package/cdn/getRealTimeLogDeliveries.js.map +1 -0
  139. package/cdn/index.d.ts +2 -0
  140. package/cdn/index.js +6 -0
  141. package/cdn/index.js.map +1 -1
  142. package/cdn/realTimeLogDelivery.d.ts +123 -0
  143. package/cdn/realTimeLogDelivery.js +101 -0
  144. package/cdn/realTimeLogDelivery.js.map +1 -0
  145. package/clickhouse/account.d.ts +140 -0
  146. package/clickhouse/account.js +115 -0
  147. package/clickhouse/account.js.map +1 -0
  148. package/clickhouse/dbCluster.d.ts +270 -0
  149. package/clickhouse/dbCluster.js +140 -0
  150. package/clickhouse/dbCluster.js.map +1 -0
  151. package/clickhouse/getAccounts.d.ts +82 -0
  152. package/clickhouse/getAccounts.js +64 -0
  153. package/clickhouse/getAccounts.js.map +1 -0
  154. package/clickhouse/getDbClusters.d.ts +70 -0
  155. package/clickhouse/getDbClusters.js +54 -0
  156. package/clickhouse/getDbClusters.js.map +1 -0
  157. package/clickhouse/getRegions.d.ts +51 -0
  158. package/clickhouse/getRegions.js +43 -0
  159. package/clickhouse/getRegions.js.map +1 -0
  160. package/clickhouse/index.d.ts +5 -0
  161. package/clickhouse/index.js +34 -0
  162. package/clickhouse/index.js.map +1 -0
  163. package/cloudauth/faceConfig.d.ts +97 -0
  164. package/cloudauth/faceConfig.js +89 -0
  165. package/cloudauth/faceConfig.js.map +1 -0
  166. package/cloudauth/getFaceConfigs.d.ts +55 -0
  167. package/cloudauth/getFaceConfigs.js +46 -0
  168. package/cloudauth/getFaceConfigs.js.map +1 -0
  169. package/cloudauth/index.d.ts +2 -0
  170. package/cloudauth/index.js +27 -0
  171. package/cloudauth/index.js.map +1 -0
  172. package/cloudfirewall/controlPolicyOrder.d.ts +1 -1
  173. package/cloudfirewall/controlPolicyOrder.js +1 -1
  174. package/cloudsso/directory.d.ts +115 -0
  175. package/cloudsso/directory.js +86 -0
  176. package/cloudsso/directory.js.map +1 -0
  177. package/cloudsso/getDirectories.d.ts +61 -0
  178. package/cloudsso/getDirectories.js +48 -0
  179. package/cloudsso/getDirectories.js.map +1 -0
  180. package/cloudsso/getGroups.d.ts +71 -0
  181. package/cloudsso/getGroups.js +53 -0
  182. package/cloudsso/getGroups.js.map +1 -0
  183. package/cloudsso/getScimServerCredentials.d.ts +60 -0
  184. package/cloudsso/getScimServerCredentials.js +47 -0
  185. package/cloudsso/getScimServerCredentials.js.map +1 -0
  186. package/cloudsso/group.d.ts +97 -0
  187. package/cloudsso/group.js +79 -0
  188. package/cloudsso/group.js.map +1 -0
  189. package/cloudsso/index.d.ts +6 -0
  190. package/cloudsso/index.js +39 -0
  191. package/cloudsso/index.js.map +1 -0
  192. package/cloudsso/scimServerCredential.d.ts +85 -0
  193. package/cloudsso/scimServerCredential.js +74 -0
  194. package/cloudsso/scimServerCredential.js.map +1 -0
  195. package/cloudstoragegateway/gateway.d.ts +239 -0
  196. package/cloudstoragegateway/gateway.js +137 -0
  197. package/cloudstoragegateway/gateway.js.map +1 -0
  198. package/cloudstoragegateway/getGateways.d.ts +62 -0
  199. package/cloudstoragegateway/getGateways.js +44 -0
  200. package/cloudstoragegateway/getGateways.js.map +1 -0
  201. package/cloudstoragegateway/index.d.ts +2 -0
  202. package/cloudstoragegateway/index.js +6 -0
  203. package/cloudstoragegateway/index.js.map +1 -1
  204. package/cms/alarm.d.ts +6 -6
  205. package/cms/getMetricRuleTemplates.d.ts +82 -0
  206. package/cms/getMetricRuleTemplates.js +57 -0
  207. package/cms/getMetricRuleTemplates.js.map +1 -0
  208. package/cms/index.d.ts +2 -0
  209. package/cms/index.js +6 -0
  210. package/cms/index.js.map +1 -1
  211. package/cms/metricRuleTemplate.d.ts +207 -0
  212. package/cms/metricRuleTemplate.js +115 -0
  213. package/cms/metricRuleTemplate.js.map +1 -0
  214. package/config/vars.d.ts +6 -2
  215. package/config/vars.js +6 -2
  216. package/config/vars.js.map +1 -1
  217. package/cr/registryEnterpriseInstance.d.ts +42 -0
  218. package/cr/registryEnterpriseInstance.js +6 -0
  219. package/cr/registryEnterpriseInstance.js.map +1 -1
  220. package/cs/edgeKubernetes.d.ts +1 -1
  221. package/cs/getRegistryEnterpriseInstances.d.ts +5 -0
  222. package/cs/getRegistryEnterpriseInstances.js +1 -0
  223. package/cs/getRegistryEnterpriseInstances.js.map +1 -1
  224. package/cs/nodePool.d.ts +3 -3
  225. package/databasefilesystem/getInstances.d.ts +59 -0
  226. package/databasefilesystem/getInstances.js +46 -0
  227. package/databasefilesystem/getInstances.js.map +1 -0
  228. package/databasefilesystem/index.d.ts +2 -0
  229. package/databasefilesystem/index.js +27 -0
  230. package/databasefilesystem/index.js.map +1 -0
  231. package/databasefilesystem/instance.d.ts +232 -0
  232. package/databasefilesystem/instance.js +122 -0
  233. package/databasefilesystem/instance.js.map +1 -0
  234. package/databasegateway/gateway.d.ts +96 -0
  235. package/databasegateway/gateway.js +85 -0
  236. package/databasegateway/gateway.js.map +1 -0
  237. package/databasegateway/getGateways.d.ts +69 -0
  238. package/databasegateway/getGateways.js +48 -0
  239. package/databasegateway/getGateways.js.map +1 -0
  240. package/databasegateway/index.d.ts +2 -0
  241. package/databasegateway/index.js +27 -0
  242. package/databasegateway/index.js.map +1 -0
  243. package/dfs/accessGroup.d.ts +101 -0
  244. package/dfs/accessGroup.js +89 -0
  245. package/dfs/accessGroup.js.map +1 -0
  246. package/dfs/getAccessGroups.d.ts +62 -0
  247. package/dfs/getAccessGroups.js +49 -0
  248. package/dfs/getAccessGroups.js.map +1 -0
  249. package/dfs/index.d.ts +2 -0
  250. package/dfs/index.js +27 -0
  251. package/dfs/index.js.map +1 -0
  252. package/directmail/domain.d.ts +84 -0
  253. package/directmail/domain.js +83 -0
  254. package/directmail/domain.js.map +1 -0
  255. package/directmail/getDomains.d.ts +75 -0
  256. package/directmail/getDomains.js +54 -0
  257. package/directmail/getDomains.js.map +1 -0
  258. package/directmail/getMailAddresses.d.ts +59 -0
  259. package/directmail/getMailAddresses.js +43 -0
  260. package/directmail/getMailAddresses.js.map +1 -0
  261. package/directmail/index.d.ts +4 -0
  262. package/directmail/index.js +12 -0
  263. package/directmail/index.js.map +1 -1
  264. package/directmail/mailAddress.d.ts +126 -0
  265. package/directmail/mailAddress.js +98 -0
  266. package/directmail/mailAddress.js.map +1 -0
  267. package/dts/getSubscriptionJobs.d.ts +64 -0
  268. package/dts/getSubscriptionJobs.js +42 -0
  269. package/dts/getSubscriptionJobs.js.map +1 -0
  270. package/dts/getSynchronizationJobs.d.ts +54 -0
  271. package/dts/getSynchronizationJobs.js +41 -0
  272. package/dts/getSynchronizationJobs.js.map +1 -0
  273. package/dts/index.d.ts +6 -0
  274. package/dts/index.js +43 -0
  275. package/dts/index.js.map +1 -0
  276. package/dts/jobMonitorRule.d.ts +125 -0
  277. package/dts/jobMonitorRule.js +93 -0
  278. package/dts/jobMonitorRule.js.map +1 -0
  279. package/dts/subscriptionJob.d.ts +590 -0
  280. package/dts/subscriptionJob.js +218 -0
  281. package/dts/subscriptionJob.js.map +1 -0
  282. package/dts/synchronizationInstance.d.ts +222 -0
  283. package/dts/synchronizationInstance.js +123 -0
  284. package/dts/synchronizationInstance.js.map +1 -0
  285. package/dts/synchronizationJob.d.ts +548 -0
  286. package/dts/synchronizationJob.js +216 -0
  287. package/dts/synchronizationJob.js.map +1 -0
  288. package/eais/getInstances.d.ts +64 -0
  289. package/eais/getInstances.js +47 -0
  290. package/eais/getInstances.js.map +1 -0
  291. package/eais/index.d.ts +2 -0
  292. package/eais/index.js +27 -0
  293. package/eais/index.js.map +1 -0
  294. package/eais/instance.d.ts +119 -0
  295. package/eais/instance.js +84 -0
  296. package/eais/instance.js.map +1 -0
  297. package/ecs/copyImage.d.ts +3 -0
  298. package/ecs/copyImage.js +2 -0
  299. package/ecs/copyImage.js.map +1 -1
  300. package/ecs/image.d.ts +3 -0
  301. package/ecs/image.js +2 -0
  302. package/ecs/image.js.map +1 -1
  303. package/ecs/imageCopy.d.ts +3 -0
  304. package/ecs/imageCopy.js +2 -0
  305. package/ecs/imageCopy.js.map +1 -1
  306. package/ecs/instance.d.ts +3 -3
  307. package/ehpc/getJobTemplates.d.ts +48 -0
  308. package/ehpc/getJobTemplates.js +44 -0
  309. package/ehpc/getJobTemplates.js.map +1 -0
  310. package/ehpc/index.d.ts +2 -0
  311. package/ehpc/index.js +27 -0
  312. package/ehpc/index.js.map +1 -0
  313. package/ehpc/jobTemplate.d.ts +269 -0
  314. package/ehpc/jobTemplate.js +117 -0
  315. package/ehpc/jobTemplate.js.map +1 -0
  316. package/ens/getKeyPairs.d.ts +57 -0
  317. package/ens/getKeyPairs.js +42 -0
  318. package/ens/getKeyPairs.js.map +1 -0
  319. package/ens/index.d.ts +2 -0
  320. package/ens/index.js +27 -0
  321. package/ens/index.js.map +1 -0
  322. package/ens/keyPair.d.ts +89 -0
  323. package/ens/keyPair.js +87 -0
  324. package/ens/keyPair.js.map +1 -0
  325. package/ess/scalingConfiguration.d.ts +12 -0
  326. package/ess/scalingConfiguration.js +2 -0
  327. package/ess/scalingConfiguration.js.map +1 -1
  328. package/eventbridge/slr.d.ts +4 -4
  329. package/eventbridge/slr.js +1 -1
  330. package/expressconnect/getAccessPoints.d.ts +59 -0
  331. package/expressconnect/getAccessPoints.js +46 -0
  332. package/expressconnect/getAccessPoints.js.map +1 -0
  333. package/expressconnect/getPhysicalConnectionService.d.ts +43 -0
  334. package/expressconnect/getPhysicalConnectionService.js +38 -0
  335. package/expressconnect/getPhysicalConnectionService.js.map +1 -0
  336. package/expressconnect/getPhysicalConnections.d.ts +64 -0
  337. package/expressconnect/getPhysicalConnections.js +47 -0
  338. package/expressconnect/getPhysicalConnections.js.map +1 -0
  339. package/expressconnect/getVirtualBorderRouters.d.ts +46 -0
  340. package/expressconnect/getVirtualBorderRouters.js +29 -0
  341. package/expressconnect/getVirtualBorderRouters.js.map +1 -0
  342. package/expressconnect/index.d.ts +6 -0
  343. package/expressconnect/index.js +35 -0
  344. package/expressconnect/index.js.map +1 -0
  345. package/expressconnect/physicalConnection.d.ts +246 -0
  346. package/expressconnect/physicalConnection.js +124 -0
  347. package/expressconnect/physicalConnection.js.map +1 -0
  348. package/expressconnect/virtualBorderRouter.d.ts +303 -0
  349. package/expressconnect/virtualBorderRouter.js +140 -0
  350. package/expressconnect/virtualBorderRouter.js.map +1 -0
  351. package/getMscSubContacts.d.ts +52 -0
  352. package/getMscSubContacts.js +43 -0
  353. package/getMscSubContacts.js.map +1 -0
  354. package/getMscSubSubscriptions.d.ts +37 -0
  355. package/getMscSubSubscriptions.js +37 -0
  356. package/getMscSubSubscriptions.js.map +1 -0
  357. package/getZones.d.ts +0 -1
  358. package/gpdb/instance.d.ts +2 -2
  359. package/gpdb/instance.js +2 -2
  360. package/graphdatabase/dbInstance.d.ts +192 -0
  361. package/graphdatabase/dbInstance.js +128 -0
  362. package/graphdatabase/dbInstance.js.map +1 -0
  363. package/graphdatabase/getDbInstances.d.ts +69 -0
  364. package/graphdatabase/getDbInstances.js +53 -0
  365. package/graphdatabase/getDbInstances.js.map +1 -0
  366. package/graphdatabase/index.d.ts +2 -0
  367. package/graphdatabase/index.js +27 -0
  368. package/graphdatabase/index.js.map +1 -0
  369. package/hbr/ecsBackupClient.d.ts +218 -0
  370. package/hbr/ecsBackupClient.js +123 -0
  371. package/hbr/ecsBackupClient.js.map +1 -0
  372. package/hbr/ecsBackupPlan.d.ts +245 -0
  373. package/hbr/ecsBackupPlan.js +153 -0
  374. package/hbr/ecsBackupPlan.js.map +1 -0
  375. package/hbr/getBackupJobs.d.ts +47 -0
  376. package/hbr/getBackupJobs.js +29 -0
  377. package/hbr/getBackupJobs.js.map +1 -0
  378. package/hbr/getEcsBackupClients.d.ts +59 -0
  379. package/hbr/getEcsBackupClients.js +47 -0
  380. package/hbr/getEcsBackupClients.js.map +1 -0
  381. package/hbr/getEcsBackupPlans.d.ts +60 -0
  382. package/hbr/getEcsBackupPlans.js +43 -0
  383. package/hbr/getEcsBackupPlans.js.map +1 -0
  384. package/hbr/getNasBackupPlans.d.ts +60 -0
  385. package/hbr/getNasBackupPlans.js +43 -0
  386. package/hbr/getNasBackupPlans.js.map +1 -0
  387. package/hbr/getOssBackupPlans.d.ts +2 -2
  388. package/hbr/getRestoreJobs.d.ts +84 -0
  389. package/hbr/getRestoreJobs.js +50 -0
  390. package/hbr/getRestoreJobs.js.map +1 -0
  391. package/hbr/getSnapshots.d.ts +84 -0
  392. package/hbr/getSnapshots.js +37 -0
  393. package/hbr/getSnapshots.js.map +1 -0
  394. package/hbr/index.d.ts +10 -0
  395. package/hbr/index.js +26 -0
  396. package/hbr/index.js.map +1 -1
  397. package/hbr/nasBackupPlan.d.ts +232 -0
  398. package/hbr/nasBackupPlan.js +142 -0
  399. package/hbr/nasBackupPlan.js.map +1 -0
  400. package/hbr/ossBackupPlan.d.ts +32 -31
  401. package/hbr/ossBackupPlan.js +15 -5
  402. package/hbr/ossBackupPlan.js.map +1 -1
  403. package/hbr/restoreJob.d.ts +284 -0
  404. package/hbr/restoreJob.js +154 -0
  405. package/hbr/restoreJob.js.map +1 -0
  406. package/hbr/vault.d.ts +2 -2
  407. package/hbr/vault.js +2 -2
  408. package/imm/getProjects.d.ts +44 -0
  409. package/imm/getProjects.js +40 -0
  410. package/imm/getProjects.js.map +1 -0
  411. package/imm/index.d.ts +2 -0
  412. package/imm/index.js +27 -0
  413. package/imm/index.js.map +1 -0
  414. package/imm/project.d.ts +108 -0
  415. package/imm/project.js +103 -0
  416. package/imm/project.js.map +1 -0
  417. package/imp/appTemplate.d.ts +145 -0
  418. package/imp/appTemplate.js +100 -0
  419. package/imp/appTemplate.js.map +1 -0
  420. package/imp/getAppTemplates.d.ts +57 -0
  421. package/imp/getAppTemplates.js +44 -0
  422. package/imp/getAppTemplates.js.map +1 -0
  423. package/imp/index.d.ts +2 -0
  424. package/imp/index.js +27 -0
  425. package/imp/index.js.map +1 -0
  426. package/index.d.ts +31 -1
  427. package/index.js +74 -0
  428. package/index.js.map +1 -1
  429. package/iot/deviceGroup.d.ts +112 -0
  430. package/iot/deviceGroup.js +87 -0
  431. package/iot/deviceGroup.js.map +1 -0
  432. package/iot/getDeviceGroups.d.ts +67 -0
  433. package/iot/getDeviceGroups.js +43 -0
  434. package/iot/getDeviceGroups.js.map +1 -0
  435. package/iot/index.d.ts +2 -0
  436. package/iot/index.js +18 -0
  437. package/iot/index.js.map +1 -1
  438. package/kvstore/instance.d.ts +3 -3
  439. package/lindorm/getInstances.d.ts +72 -0
  440. package/lindorm/getInstances.js +47 -0
  441. package/lindorm/getInstances.js.map +1 -0
  442. package/lindorm/index.d.ts +2 -0
  443. package/lindorm/index.js +27 -0
  444. package/lindorm/index.js.map +1 -0
  445. package/lindorm/instance.d.ts +383 -0
  446. package/lindorm/instance.js +128 -0
  447. package/lindorm/instance.js.map +1 -0
  448. package/log/audit.d.ts +50 -0
  449. package/log/audit.js +40 -0
  450. package/log/audit.js.map +1 -1
  451. package/mhub/app.d.ts +153 -0
  452. package/mhub/app.js +104 -0
  453. package/mhub/app.js.map +1 -0
  454. package/mhub/getApps.d.ts +51 -0
  455. package/mhub/getApps.js +29 -0
  456. package/mhub/getApps.js.map +1 -0
  457. package/mhub/getProducts.d.ts +55 -0
  458. package/mhub/getProducts.js +46 -0
  459. package/mhub/getProducts.js.map +1 -0
  460. package/mhub/index.d.ts +4 -0
  461. package/mhub/index.js +33 -0
  462. package/mhub/index.js.map +1 -0
  463. package/mhub/product.d.ts +76 -0
  464. package/mhub/product.js +81 -0
  465. package/mhub/product.js.map +1 -0
  466. package/mongodb/instance.d.ts +21 -0
  467. package/mongodb/instance.js +2 -0
  468. package/mongodb/instance.js.map +1 -1
  469. package/mongodb/shardingInstance.d.ts +21 -0
  470. package/mongodb/shardingInstance.js +2 -0
  471. package/mongodb/shardingInstance.js.map +1 -1
  472. package/mscSubContract.d.ts +113 -0
  473. package/mscSubContract.js +97 -0
  474. package/mscSubContract.js.map +1 -0
  475. package/mscSubSubscription.d.ts +179 -0
  476. package/mscSubSubscription.js +102 -0
  477. package/mscSubSubscription.js.map +1 -0
  478. package/opensearch/appGroup.d.ts +190 -0
  479. package/opensearch/appGroup.js +117 -0
  480. package/opensearch/appGroup.js.map +1 -0
  481. package/opensearch/getAppGroups.d.ts +84 -0
  482. package/opensearch/getAppGroups.js +58 -0
  483. package/opensearch/getAppGroups.js.map +1 -0
  484. package/opensearch/index.d.ts +2 -0
  485. package/opensearch/index.js +27 -0
  486. package/opensearch/index.js.map +1 -0
  487. package/package.json +2 -2
  488. package/package.json.dev +1 -1
  489. package/polardb/endpoint.d.ts +8 -1
  490. package/polardb/endpoint.js +7 -1
  491. package/polardb/endpoint.js.map +1 -1
  492. package/provider.d.ts +6 -2
  493. package/provider.js +2 -0
  494. package/provider.js.map +1 -1
  495. package/pvtz/index.d.ts +1 -0
  496. package/pvtz/index.js +5 -0
  497. package/pvtz/index.js.map +1 -1
  498. package/pvtz/userVpcAuthorization.d.ts +100 -0
  499. package/pvtz/userVpcAuthorization.js +85 -0
  500. package/pvtz/userVpcAuthorization.js.map +1 -0
  501. package/quickbi/getUsers.d.ts +54 -0
  502. package/quickbi/getUsers.js +42 -0
  503. package/quickbi/getUsers.js.map +1 -0
  504. package/quickbi/index.d.ts +2 -0
  505. package/quickbi/index.js +27 -0
  506. package/quickbi/index.js.map +1 -0
  507. package/quickbi/user.d.ts +140 -0
  508. package/quickbi/user.js +107 -0
  509. package/quickbi/user.js.map +1 -0
  510. package/rdc/getOrganizations.d.ts +65 -0
  511. package/rdc/getOrganizations.js +52 -0
  512. package/rdc/getOrganizations.js.map +1 -0
  513. package/rdc/index.d.ts +2 -0
  514. package/rdc/index.js +27 -0
  515. package/rdc/index.js.map +1 -0
  516. package/rdc/organization.d.ts +113 -0
  517. package/rdc/organization.js +91 -0
  518. package/rdc/organization.js.map +1 -0
  519. package/rds/getInstanceClasses.d.ts +8 -3
  520. package/rds/getInstanceClasses.js +1 -0
  521. package/rds/getInstanceClasses.js.map +1 -1
  522. package/rds/getInstanceEngines.d.ts +18 -1
  523. package/rds/getInstanceEngines.js +2 -0
  524. package/rds/getInstanceEngines.js.map +1 -1
  525. package/rds/getInstances.d.ts +5 -0
  526. package/rds/getInstances.js +1 -0
  527. package/rds/getInstances.js.map +1 -1
  528. package/rds/getZones.d.ts +28 -1
  529. package/rds/getZones.js +6 -0
  530. package/rds/getZones.js.map +1 -1
  531. package/rds/instance.d.ts +52 -1
  532. package/rds/instance.js +4 -0
  533. package/rds/instance.js.map +1 -1
  534. package/sae/application.d.ts +705 -0
  535. package/sae/application.js +216 -0
  536. package/sae/application.js.map +1 -0
  537. package/sae/getApplications.d.ts +116 -0
  538. package/sae/getApplications.js +80 -0
  539. package/sae/getApplications.js.map +1 -0
  540. package/sae/getIngresses.d.ts +40 -0
  541. package/sae/getIngresses.js +27 -0
  542. package/sae/getIngresses.js.map +1 -0
  543. package/sae/index.d.ts +4 -0
  544. package/sae/index.js +12 -0
  545. package/sae/index.js.map +1 -1
  546. package/sae/ingress.d.ts +192 -0
  547. package/sae/ingress.js +145 -0
  548. package/sae/ingress.js.map +1 -0
  549. package/sddp/config.d.ts +113 -0
  550. package/sddp/config.js +85 -0
  551. package/sddp/config.js.map +1 -0
  552. package/sddp/getConfigs.d.ts +51 -0
  553. package/sddp/getConfigs.js +46 -0
  554. package/sddp/getConfigs.js.map +1 -0
  555. package/sddp/getInstances.d.ts +37 -0
  556. package/sddp/getInstances.js +37 -0
  557. package/sddp/getInstances.js.map +1 -0
  558. package/sddp/getRules.d.ts +104 -0
  559. package/sddp/getRules.js +58 -0
  560. package/sddp/getRules.js.map +1 -0
  561. package/sddp/index.d.ts +6 -0
  562. package/sddp/index.js +39 -0
  563. package/sddp/index.js.map +1 -0
  564. package/sddp/instance.d.ts +279 -0
  565. package/sddp/instance.js +146 -0
  566. package/sddp/instance.js.map +1 -0
  567. package/sddp/rule.d.ts +296 -0
  568. package/sddp/rule.js +119 -0
  569. package/sddp/rule.js.map +1 -0
  570. package/securitycenter/getGroups.d.ts +50 -0
  571. package/securitycenter/getGroups.js +41 -0
  572. package/securitycenter/getGroups.js.map +1 -0
  573. package/securitycenter/group.d.ts +88 -0
  574. package/securitycenter/group.js +80 -0
  575. package/securitycenter/group.js.map +1 -0
  576. package/securitycenter/index.d.ts +2 -0
  577. package/securitycenter/index.js +27 -0
  578. package/securitycenter/index.js.map +1 -0
  579. package/servicemesh/getServiceMeshes.d.ts +66 -0
  580. package/servicemesh/getServiceMeshes.js +52 -0
  581. package/servicemesh/getServiceMeshes.js.map +1 -0
  582. package/servicemesh/index.d.ts +2 -0
  583. package/servicemesh/index.js +27 -0
  584. package/servicemesh/index.js.map +1 -0
  585. package/servicemesh/serviceMesh.d.ts +144 -0
  586. package/servicemesh/serviceMesh.js +82 -0
  587. package/servicemesh/serviceMesh.js.map +1 -0
  588. package/simpleapplicationserver/getImages.d.ts +33 -0
  589. package/simpleapplicationserver/getImages.js +23 -0
  590. package/simpleapplicationserver/getImages.js.map +1 -0
  591. package/simpleapplicationserver/getInstances.d.ts +64 -0
  592. package/simpleapplicationserver/getInstances.js +47 -0
  593. package/simpleapplicationserver/getInstances.js.map +1 -0
  594. package/simpleapplicationserver/getServerPlans.d.ts +73 -0
  595. package/simpleapplicationserver/getServerPlans.js +49 -0
  596. package/simpleapplicationserver/getServerPlans.js.map +1 -0
  597. package/simpleapplicationserver/index.d.ts +4 -0
  598. package/simpleapplicationserver/index.js +29 -0
  599. package/simpleapplicationserver/index.js.map +1 -0
  600. package/simpleapplicationserver/instance.d.ts +171 -0
  601. package/simpleapplicationserver/instance.js +92 -0
  602. package/simpleapplicationserver/instance.js.map +1 -0
  603. package/slb/getTlsCipherPolicies.d.ts +72 -0
  604. package/slb/getTlsCipherPolicies.js +51 -0
  605. package/slb/getTlsCipherPolicies.js.map +1 -0
  606. package/slb/index.d.ts +2 -0
  607. package/slb/index.js +6 -0
  608. package/slb/index.js.map +1 -1
  609. package/slb/listener.d.ts +8 -5
  610. package/slb/listener.js +2 -2
  611. package/slb/listener.js.map +1 -1
  612. package/slb/tlsCipherPolicy.d.ts +113 -0
  613. package/slb/tlsCipherPolicy.js +98 -0
  614. package/slb/tlsCipherPolicy.js.map +1 -0
  615. package/types/input.d.ts +1040 -27
  616. package/types/output.d.ts +15106 -8672
  617. package/videosurveillance/getSystemGroups.d.ts +72 -0
  618. package/videosurveillance/getSystemGroups.js +51 -0
  619. package/videosurveillance/getSystemGroups.js.map +1 -0
  620. package/videosurveillance/index.d.ts +2 -0
  621. package/videosurveillance/index.js +18 -0
  622. package/videosurveillance/index.js.map +1 -1
  623. package/videosurveillance/systemGroup.d.ts +220 -0
  624. package/videosurveillance/systemGroup.js +125 -0
  625. package/videosurveillance/systemGroup.js.map +1 -0
  626. package/vod/domain.d.ts +231 -0
  627. package/vod/domain.js +122 -0
  628. package/vod/domain.js.map +1 -0
  629. package/vod/getDomains.d.ts +92 -0
  630. package/vod/getDomains.js +61 -0
  631. package/vod/getDomains.js.map +1 -0
  632. package/vod/index.d.ts +2 -0
  633. package/vod/index.js +27 -0
  634. package/vod/index.js.map +1 -0
  635. package/vpc/dhcpOptionsSet.d.ts +156 -0
  636. package/vpc/dhcpOptionsSet.js +95 -0
  637. package/vpc/dhcpOptionsSet.js.map +1 -0
  638. package/vpc/getDhcpOptionsSets.d.ts +87 -0
  639. package/vpc/getDhcpOptionsSets.js +62 -0
  640. package/vpc/getDhcpOptionsSets.js.map +1 -0
  641. package/vpc/getNatIpCidrs.d.ts +56 -0
  642. package/vpc/getNatIpCidrs.js +30 -0
  643. package/vpc/getNatIpCidrs.js.map +1 -0
  644. package/vpc/getNatIps.d.ts +105 -0
  645. package/vpc/getNatIps.js +78 -0
  646. package/vpc/getNatIps.js.map +1 -0
  647. package/vpc/index.d.ts +6 -0
  648. package/vpc/index.js +18 -0
  649. package/vpc/index.js.map +1 -1
  650. package/vpc/natGateway.d.ts +23 -11
  651. package/vpc/natGateway.js +2 -0
  652. package/vpc/natGateway.js.map +1 -1
  653. package/vpc/natIp.d.ts +190 -0
  654. package/vpc/natIp.js +129 -0
  655. package/vpc/natIp.js.map +1 -0
  656. package/vpc/natIpCidr.d.ts +156 -0
  657. package/vpc/natIpCidr.js +115 -0
  658. package/vpc/natIpCidr.js.map +1 -0
  659. package/waf/certificate.d.ts +145 -0
  660. package/waf/certificate.js +103 -0
  661. package/waf/certificate.js.map +1 -0
  662. package/waf/getCertificates.d.ts +62 -0
  663. package/waf/getCertificates.js +44 -0
  664. package/waf/getCertificates.js.map +1 -0
  665. package/waf/index.d.ts +2 -0
  666. package/waf/index.js +6 -0
  667. package/waf/index.js.map +1 -1
  668. package/yundun/bastionHostInstance.d.ts +0 -89
  669. package/yundun/bastionHostInstance.js +0 -35
  670. package/yundun/bastionHostInstance.js.map +1 -1
  671. package/yundun/getBastionHostInstances.d.ts +0 -46
  672. package/yundun/getBastionHostInstances.js +0 -18
  673. package/yundun/getBastionHostInstances.js.map +1 -1
@@ -0,0 +1,115 @@
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
+ const pulumi = require("@pulumi/pulumi");
6
+ const utilities = require("../utilities");
7
+ /**
8
+ * Provides a Click House Account resource.
9
+ *
10
+ * For information about Click House Account and how to use it, see [What is Account](https://www.alibabacloud.com/product/clickhouse).
11
+ *
12
+ * > **NOTE:** Available in v1.134.0+.
13
+ *
14
+ * ## Example Usage
15
+ *
16
+ * Basic Usage
17
+ *
18
+ * ```typescript
19
+ * import * as pulumi from "@pulumi/pulumi";
20
+ * import * as alicloud from "@pulumi/alicloud";
21
+ *
22
+ * const config = new pulumi.Config();
23
+ * const name = config.get("name") || "testaccountname";
24
+ * const pwd = config.get("pwd") || "Tf-testpwd";
25
+ * const defaultDbCluster = new alicloud.clickhouse.DbCluster("defaultDbCluster", {
26
+ * dbClusterVersion: "20.3.10.75",
27
+ * category: "Basic",
28
+ * dbClusterClass: "S8",
29
+ * dbClusterNetworkType: "vpc",
30
+ * dbClusterDescription: name,
31
+ * dbNodeGroupCount: "1",
32
+ * paymentType: "PayAsYouGo",
33
+ * dbNodeStorage: "500",
34
+ * storageType: "cloud_essd",
35
+ * vswitchId: "your_vswitch_id",
36
+ * });
37
+ * const defaultAccount = new alicloud.clickhouse.Account("defaultAccount", {
38
+ * dbClusterId: defaultDbCluster.id,
39
+ * accountDescription: "your_description",
40
+ * accountName: name,
41
+ * accountPassword: pwd,
42
+ * });
43
+ * ```
44
+ *
45
+ * ## Import
46
+ *
47
+ * Click House Account can be imported using the id, e.g.
48
+ *
49
+ * ```sh
50
+ * $ pulumi import alicloud:clickhouse/account:Account example <db_cluster_id>:<account_name>
51
+ * ```
52
+ */
53
+ class Account extends pulumi.CustomResource {
54
+ constructor(name, argsOrState, opts) {
55
+ let inputs = {};
56
+ opts = opts || {};
57
+ if (opts.id) {
58
+ const state = argsOrState;
59
+ inputs["accountDescription"] = state ? state.accountDescription : undefined;
60
+ inputs["accountName"] = state ? state.accountName : undefined;
61
+ inputs["accountPassword"] = state ? state.accountPassword : undefined;
62
+ inputs["dbClusterId"] = state ? state.dbClusterId : undefined;
63
+ inputs["status"] = state ? state.status : undefined;
64
+ inputs["type"] = state ? state.type : undefined;
65
+ }
66
+ else {
67
+ const args = argsOrState;
68
+ if ((!args || args.accountName === undefined) && !opts.urn) {
69
+ throw new Error("Missing required property 'accountName'");
70
+ }
71
+ if ((!args || args.accountPassword === undefined) && !opts.urn) {
72
+ throw new Error("Missing required property 'accountPassword'");
73
+ }
74
+ if ((!args || args.dbClusterId === undefined) && !opts.urn) {
75
+ throw new Error("Missing required property 'dbClusterId'");
76
+ }
77
+ inputs["accountDescription"] = args ? args.accountDescription : undefined;
78
+ inputs["accountName"] = args ? args.accountName : undefined;
79
+ inputs["accountPassword"] = args ? args.accountPassword : undefined;
80
+ inputs["dbClusterId"] = args ? args.dbClusterId : undefined;
81
+ inputs["status"] = undefined /*out*/;
82
+ inputs["type"] = undefined /*out*/;
83
+ }
84
+ if (!opts.version) {
85
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
86
+ }
87
+ super(Account.__pulumiType, name, inputs, opts);
88
+ }
89
+ /**
90
+ * Get an existing Account resource's state with the given name, ID, and optional extra
91
+ * properties used to qualify the lookup.
92
+ *
93
+ * @param name The _unique_ name of the resulting resource.
94
+ * @param id The _unique_ provider ID of the resource to lookup.
95
+ * @param state Any extra arguments used during the lookup.
96
+ * @param opts Optional settings to control the behavior of the CustomResource.
97
+ */
98
+ static get(name, id, state, opts) {
99
+ return new Account(name, state, Object.assign(Object.assign({}, opts), { id: id }));
100
+ }
101
+ /**
102
+ * Returns true if the given object is an instance of Account. This is designed to work even
103
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
104
+ */
105
+ static isInstance(obj) {
106
+ if (obj === undefined || obj === null) {
107
+ return false;
108
+ }
109
+ return obj['__pulumiType'] === Account.__pulumiType;
110
+ }
111
+ }
112
+ exports.Account = Account;
113
+ /** @internal */
114
+ Account.__pulumiType = 'alicloud:clickhouse/account:Account';
115
+ //# sourceMappingURL=account.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.js","sourceRoot":"","sources":["../../clickhouse/account.ts"],"names":[],"mappings":";AAAA,wF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B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;;AA1BL,0BA4FC;AA9EG,gBAAgB;AACO,oBAAY,GAAG,qCAAqC,CAAC"}
@@ -0,0 +1,270 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a Click House DBCluster resource.
4
+ *
5
+ * For information about Click House DBCluster and how to use it, see [What is DBCluster](https://www.alibabacloud.com/product/clickhouse).
6
+ *
7
+ * > **NOTE:** Available in v1.134.0+.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * Basic Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as alicloud from "@pulumi/alicloud";
16
+ *
17
+ * const defaultDbCluster = new alicloud.clickhouse.DbCluster("default", {
18
+ * category: "Basic",
19
+ * dbClusterClass: "S8",
20
+ * dbClusterNetworkType: "vpc",
21
+ * dbClusterVersion: "20.3.10.75",
22
+ * dbNodeGroupCount: 1,
23
+ * dbNodeStorage: "500",
24
+ * paymentType: "PayAsYouGo",
25
+ * storageType: "cloud_essd",
26
+ * vswitchId: "your_vswitch_id",
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * Click House DBCluster can be imported using the id, e.g.
33
+ *
34
+ * ```sh
35
+ * $ pulumi import alicloud:clickhouse/dbCluster:DbCluster example <id>
36
+ * ```
37
+ */
38
+ export declare class DbCluster extends pulumi.CustomResource {
39
+ /**
40
+ * Get an existing DbCluster resource's state with the given name, ID, and optional extra
41
+ * properties used to qualify the lookup.
42
+ *
43
+ * @param name The _unique_ name of the resulting resource.
44
+ * @param id The _unique_ provider ID of the resource to lookup.
45
+ * @param state Any extra arguments used during the lookup.
46
+ * @param opts Optional settings to control the behavior of the CustomResource.
47
+ */
48
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DbClusterState, opts?: pulumi.CustomResourceOptions): DbCluster;
49
+ /**
50
+ * Returns true if the given object is an instance of DbCluster. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj: any): obj is DbCluster;
54
+ /**
55
+ * The Category of DBCluster. Valid values: `Basic`,`HighAvailability`.
56
+ */
57
+ readonly category: pulumi.Output<string>;
58
+ /**
59
+ * The DBCluster class. According to the category, dbClusterClass has two value ranges:
60
+ * * Under the condition that the category is the `Basic`, Valid values: `S4-NEW`, `S8`, `S16`, `S32`, `S64`, `S104`.
61
+ * * Under the condition that the category is the `HighAvailability`, Valid values: `C4-NEW`, `C8`, `C16`, `C32`, `C64`, `C104`.
62
+ */
63
+ readonly dbClusterClass: pulumi.Output<string>;
64
+ /**
65
+ * The DBCluster description.
66
+ */
67
+ readonly dbClusterDescription: pulumi.Output<string>;
68
+ /**
69
+ * The DBCluster network type. Valid values: `vpc`.
70
+ */
71
+ readonly dbClusterNetworkType: pulumi.Output<string>;
72
+ /**
73
+ * The DBCluster version. Valid values: `19.15.2.2`, `20.3.10.75`, `20.8.7.15`.
74
+ */
75
+ readonly dbClusterVersion: pulumi.Output<string>;
76
+ /**
77
+ * The db node group count. The number should between 1 and 48.
78
+ */
79
+ readonly dbNodeGroupCount: pulumi.Output<number>;
80
+ /**
81
+ * The db node storage.
82
+ */
83
+ readonly dbNodeStorage: pulumi.Output<string>;
84
+ /**
85
+ * Key management service KMS key ID.
86
+ */
87
+ readonly encryptionKey: pulumi.Output<string | undefined>;
88
+ /**
89
+ * Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
90
+ */
91
+ readonly encryptionType: pulumi.Output<string | undefined>;
92
+ /**
93
+ * The maintenance window of DBCluster. Valid format: `hh:mmZ-hh:mm Z`.
94
+ */
95
+ readonly maintainTime: pulumi.Output<string>;
96
+ /**
97
+ * The payment type of the resource. Valid values: `PayAsYouGo`,`Subscription`.
98
+ */
99
+ readonly paymentType: pulumi.Output<string>;
100
+ /**
101
+ * Pre-paid cluster of the pay-as-you-go cycle. Valid values: `Month`, `Year`.
102
+ */
103
+ readonly period: pulumi.Output<string | undefined>;
104
+ /**
105
+ * The status of the resource. Valid values: `Running`,`Creating`,`Deleting`,`Restarting`,`Preparing`,.
106
+ */
107
+ readonly status: pulumi.Output<string>;
108
+ /**
109
+ * Storage type of DBCluster. Valid values: `cloudEssd`, `cloudEfficiency`, `cloudEssdPl2`, `cloudEssdPl3`.
110
+ */
111
+ readonly storageType: pulumi.Output<string>;
112
+ /**
113
+ * The used time of DBCluster.
114
+ */
115
+ readonly usedTime: pulumi.Output<string | undefined>;
116
+ /**
117
+ * The vswitch id of DBCluster.
118
+ */
119
+ readonly vswitchId: pulumi.Output<string | undefined>;
120
+ /**
121
+ * Create a DbCluster resource with the given unique name, arguments, and options.
122
+ *
123
+ * @param name The _unique_ name of the resource.
124
+ * @param args The arguments to use to populate this resource's properties.
125
+ * @param opts A bag of options that control this resource's behavior.
126
+ */
127
+ constructor(name: string, args: DbClusterArgs, opts?: pulumi.CustomResourceOptions);
128
+ }
129
+ /**
130
+ * Input properties used for looking up and filtering DbCluster resources.
131
+ */
132
+ export interface DbClusterState {
133
+ /**
134
+ * The Category of DBCluster. Valid values: `Basic`,`HighAvailability`.
135
+ */
136
+ readonly category?: pulumi.Input<string>;
137
+ /**
138
+ * The DBCluster class. According to the category, dbClusterClass has two value ranges:
139
+ * * Under the condition that the category is the `Basic`, Valid values: `S4-NEW`, `S8`, `S16`, `S32`, `S64`, `S104`.
140
+ * * Under the condition that the category is the `HighAvailability`, Valid values: `C4-NEW`, `C8`, `C16`, `C32`, `C64`, `C104`.
141
+ */
142
+ readonly dbClusterClass?: pulumi.Input<string>;
143
+ /**
144
+ * The DBCluster description.
145
+ */
146
+ readonly dbClusterDescription?: pulumi.Input<string>;
147
+ /**
148
+ * The DBCluster network type. Valid values: `vpc`.
149
+ */
150
+ readonly dbClusterNetworkType?: pulumi.Input<string>;
151
+ /**
152
+ * The DBCluster version. Valid values: `19.15.2.2`, `20.3.10.75`, `20.8.7.15`.
153
+ */
154
+ readonly dbClusterVersion?: pulumi.Input<string>;
155
+ /**
156
+ * The db node group count. The number should between 1 and 48.
157
+ */
158
+ readonly dbNodeGroupCount?: pulumi.Input<number>;
159
+ /**
160
+ * The db node storage.
161
+ */
162
+ readonly dbNodeStorage?: pulumi.Input<string>;
163
+ /**
164
+ * Key management service KMS key ID.
165
+ */
166
+ readonly encryptionKey?: pulumi.Input<string>;
167
+ /**
168
+ * Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
169
+ */
170
+ readonly encryptionType?: pulumi.Input<string>;
171
+ /**
172
+ * The maintenance window of DBCluster. Valid format: `hh:mmZ-hh:mm Z`.
173
+ */
174
+ readonly maintainTime?: pulumi.Input<string>;
175
+ /**
176
+ * The payment type of the resource. Valid values: `PayAsYouGo`,`Subscription`.
177
+ */
178
+ readonly paymentType?: pulumi.Input<string>;
179
+ /**
180
+ * Pre-paid cluster of the pay-as-you-go cycle. Valid values: `Month`, `Year`.
181
+ */
182
+ readonly period?: pulumi.Input<string>;
183
+ /**
184
+ * The status of the resource. Valid values: `Running`,`Creating`,`Deleting`,`Restarting`,`Preparing`,.
185
+ */
186
+ readonly status?: pulumi.Input<string>;
187
+ /**
188
+ * Storage type of DBCluster. Valid values: `cloudEssd`, `cloudEfficiency`, `cloudEssdPl2`, `cloudEssdPl3`.
189
+ */
190
+ readonly storageType?: pulumi.Input<string>;
191
+ /**
192
+ * The used time of DBCluster.
193
+ */
194
+ readonly usedTime?: pulumi.Input<string>;
195
+ /**
196
+ * The vswitch id of DBCluster.
197
+ */
198
+ readonly vswitchId?: pulumi.Input<string>;
199
+ }
200
+ /**
201
+ * The set of arguments for constructing a DbCluster resource.
202
+ */
203
+ export interface DbClusterArgs {
204
+ /**
205
+ * The Category of DBCluster. Valid values: `Basic`,`HighAvailability`.
206
+ */
207
+ readonly category: pulumi.Input<string>;
208
+ /**
209
+ * The DBCluster class. According to the category, dbClusterClass has two value ranges:
210
+ * * Under the condition that the category is the `Basic`, Valid values: `S4-NEW`, `S8`, `S16`, `S32`, `S64`, `S104`.
211
+ * * Under the condition that the category is the `HighAvailability`, Valid values: `C4-NEW`, `C8`, `C16`, `C32`, `C64`, `C104`.
212
+ */
213
+ readonly dbClusterClass: pulumi.Input<string>;
214
+ /**
215
+ * The DBCluster description.
216
+ */
217
+ readonly dbClusterDescription?: pulumi.Input<string>;
218
+ /**
219
+ * The DBCluster network type. Valid values: `vpc`.
220
+ */
221
+ readonly dbClusterNetworkType: pulumi.Input<string>;
222
+ /**
223
+ * The DBCluster version. Valid values: `19.15.2.2`, `20.3.10.75`, `20.8.7.15`.
224
+ */
225
+ readonly dbClusterVersion: pulumi.Input<string>;
226
+ /**
227
+ * The db node group count. The number should between 1 and 48.
228
+ */
229
+ readonly dbNodeGroupCount: pulumi.Input<number>;
230
+ /**
231
+ * The db node storage.
232
+ */
233
+ readonly dbNodeStorage: pulumi.Input<string>;
234
+ /**
235
+ * Key management service KMS key ID.
236
+ */
237
+ readonly encryptionKey?: pulumi.Input<string>;
238
+ /**
239
+ * Currently only supports ECS disk encryption, with a value of CloudDisk, not encrypted when empty.
240
+ */
241
+ readonly encryptionType?: pulumi.Input<string>;
242
+ /**
243
+ * The maintenance window of DBCluster. Valid format: `hh:mmZ-hh:mm Z`.
244
+ */
245
+ readonly maintainTime?: pulumi.Input<string>;
246
+ /**
247
+ * The payment type of the resource. Valid values: `PayAsYouGo`,`Subscription`.
248
+ */
249
+ readonly paymentType: pulumi.Input<string>;
250
+ /**
251
+ * Pre-paid cluster of the pay-as-you-go cycle. Valid values: `Month`, `Year`.
252
+ */
253
+ readonly period?: pulumi.Input<string>;
254
+ /**
255
+ * The status of the resource. Valid values: `Running`,`Creating`,`Deleting`,`Restarting`,`Preparing`,.
256
+ */
257
+ readonly status?: pulumi.Input<string>;
258
+ /**
259
+ * Storage type of DBCluster. Valid values: `cloudEssd`, `cloudEfficiency`, `cloudEssdPl2`, `cloudEssdPl3`.
260
+ */
261
+ readonly storageType: pulumi.Input<string>;
262
+ /**
263
+ * The used time of DBCluster.
264
+ */
265
+ readonly usedTime?: pulumi.Input<string>;
266
+ /**
267
+ * The vswitch id of DBCluster.
268
+ */
269
+ readonly vswitchId?: pulumi.Input<string>;
270
+ }
@@ -0,0 +1,140 @@
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
+ const pulumi = require("@pulumi/pulumi");
6
+ const utilities = require("../utilities");
7
+ /**
8
+ * Provides a Click House DBCluster resource.
9
+ *
10
+ * For information about Click House DBCluster and how to use it, see [What is DBCluster](https://www.alibabacloud.com/product/clickhouse).
11
+ *
12
+ * > **NOTE:** Available in v1.134.0+.
13
+ *
14
+ * ## Example Usage
15
+ *
16
+ * Basic Usage
17
+ *
18
+ * ```typescript
19
+ * import * as pulumi from "@pulumi/pulumi";
20
+ * import * as alicloud from "@pulumi/alicloud";
21
+ *
22
+ * const defaultDbCluster = new alicloud.clickhouse.DbCluster("default", {
23
+ * category: "Basic",
24
+ * dbClusterClass: "S8",
25
+ * dbClusterNetworkType: "vpc",
26
+ * dbClusterVersion: "20.3.10.75",
27
+ * dbNodeGroupCount: 1,
28
+ * dbNodeStorage: "500",
29
+ * paymentType: "PayAsYouGo",
30
+ * storageType: "cloud_essd",
31
+ * vswitchId: "your_vswitch_id",
32
+ * });
33
+ * ```
34
+ *
35
+ * ## Import
36
+ *
37
+ * Click House DBCluster can be imported using the id, e.g.
38
+ *
39
+ * ```sh
40
+ * $ pulumi import alicloud:clickhouse/dbCluster:DbCluster example <id>
41
+ * ```
42
+ */
43
+ class DbCluster extends pulumi.CustomResource {
44
+ constructor(name, argsOrState, opts) {
45
+ let inputs = {};
46
+ opts = opts || {};
47
+ if (opts.id) {
48
+ const state = argsOrState;
49
+ inputs["category"] = state ? state.category : undefined;
50
+ inputs["dbClusterClass"] = state ? state.dbClusterClass : undefined;
51
+ inputs["dbClusterDescription"] = state ? state.dbClusterDescription : undefined;
52
+ inputs["dbClusterNetworkType"] = state ? state.dbClusterNetworkType : undefined;
53
+ inputs["dbClusterVersion"] = state ? state.dbClusterVersion : undefined;
54
+ inputs["dbNodeGroupCount"] = state ? state.dbNodeGroupCount : undefined;
55
+ inputs["dbNodeStorage"] = state ? state.dbNodeStorage : undefined;
56
+ inputs["encryptionKey"] = state ? state.encryptionKey : undefined;
57
+ inputs["encryptionType"] = state ? state.encryptionType : undefined;
58
+ inputs["maintainTime"] = state ? state.maintainTime : undefined;
59
+ inputs["paymentType"] = state ? state.paymentType : undefined;
60
+ inputs["period"] = state ? state.period : undefined;
61
+ inputs["status"] = state ? state.status : undefined;
62
+ inputs["storageType"] = state ? state.storageType : undefined;
63
+ inputs["usedTime"] = state ? state.usedTime : undefined;
64
+ inputs["vswitchId"] = state ? state.vswitchId : undefined;
65
+ }
66
+ else {
67
+ const args = argsOrState;
68
+ if ((!args || args.category === undefined) && !opts.urn) {
69
+ throw new Error("Missing required property 'category'");
70
+ }
71
+ if ((!args || args.dbClusterClass === undefined) && !opts.urn) {
72
+ throw new Error("Missing required property 'dbClusterClass'");
73
+ }
74
+ if ((!args || args.dbClusterNetworkType === undefined) && !opts.urn) {
75
+ throw new Error("Missing required property 'dbClusterNetworkType'");
76
+ }
77
+ if ((!args || args.dbClusterVersion === undefined) && !opts.urn) {
78
+ throw new Error("Missing required property 'dbClusterVersion'");
79
+ }
80
+ if ((!args || args.dbNodeGroupCount === undefined) && !opts.urn) {
81
+ throw new Error("Missing required property 'dbNodeGroupCount'");
82
+ }
83
+ if ((!args || args.dbNodeStorage === undefined) && !opts.urn) {
84
+ throw new Error("Missing required property 'dbNodeStorage'");
85
+ }
86
+ if ((!args || args.paymentType === undefined) && !opts.urn) {
87
+ throw new Error("Missing required property 'paymentType'");
88
+ }
89
+ if ((!args || args.storageType === undefined) && !opts.urn) {
90
+ throw new Error("Missing required property 'storageType'");
91
+ }
92
+ inputs["category"] = args ? args.category : undefined;
93
+ inputs["dbClusterClass"] = args ? args.dbClusterClass : undefined;
94
+ inputs["dbClusterDescription"] = args ? args.dbClusterDescription : undefined;
95
+ inputs["dbClusterNetworkType"] = args ? args.dbClusterNetworkType : undefined;
96
+ inputs["dbClusterVersion"] = args ? args.dbClusterVersion : undefined;
97
+ inputs["dbNodeGroupCount"] = args ? args.dbNodeGroupCount : undefined;
98
+ inputs["dbNodeStorage"] = args ? args.dbNodeStorage : undefined;
99
+ inputs["encryptionKey"] = args ? args.encryptionKey : undefined;
100
+ inputs["encryptionType"] = args ? args.encryptionType : undefined;
101
+ inputs["maintainTime"] = args ? args.maintainTime : undefined;
102
+ inputs["paymentType"] = args ? args.paymentType : undefined;
103
+ inputs["period"] = args ? args.period : undefined;
104
+ inputs["status"] = args ? args.status : undefined;
105
+ inputs["storageType"] = args ? args.storageType : undefined;
106
+ inputs["usedTime"] = args ? args.usedTime : undefined;
107
+ inputs["vswitchId"] = args ? args.vswitchId : undefined;
108
+ }
109
+ if (!opts.version) {
110
+ opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
111
+ }
112
+ super(DbCluster.__pulumiType, name, inputs, opts);
113
+ }
114
+ /**
115
+ * Get an existing DbCluster resource's state with the given name, ID, and optional extra
116
+ * properties used to qualify the lookup.
117
+ *
118
+ * @param name The _unique_ name of the resulting resource.
119
+ * @param id The _unique_ provider ID of the resource to lookup.
120
+ * @param state Any extra arguments used during the lookup.
121
+ * @param opts Optional settings to control the behavior of the CustomResource.
122
+ */
123
+ static get(name, id, state, opts) {
124
+ return new DbCluster(name, state, Object.assign(Object.assign({}, opts), { id: id }));
125
+ }
126
+ /**
127
+ * Returns true if the given object is an instance of DbCluster. This is designed to work even
128
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
129
+ */
130
+ static isInstance(obj) {
131
+ if (obj === undefined || obj === null) {
132
+ return false;
133
+ }
134
+ return obj['__pulumiType'] === DbCluster.__pulumiType;
135
+ }
136
+ }
137
+ exports.DbCluster = DbCluster;
138
+ /** @internal */
139
+ DbCluster.__pulumiType = 'alicloud:clickhouse/dbCluster:DbCluster';
140
+ //# sourceMappingURL=dbCluster.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dbCluster.js","sourceRoot":"","sources":["../../clickhouse/dbCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAuGhD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,MAAM,GAAkB,EAAE,CAAC;QAC/B,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,MAAM,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,MAAM,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,MAAM,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,MAAM,CAAC,sBAAsB,CAAC,GAAG,KAAK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IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;;AA1BL,8BA4KC;AA9JG,gBAAgB;AACO,sBAAY,GAAG,yCAAyC,CAAC"}
@@ -0,0 +1,82 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * This data source provides the Click House Accounts of the current Alibaba Cloud user.
5
+ *
6
+ * > **NOTE:** Available in v1.134.0+.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * Basic Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as alicloud from "@pulumi/alicloud";
15
+ *
16
+ * const config = new pulumi.Config();
17
+ * const name = config.get("name") || "testaccountname";
18
+ * const pwd = config.get("pwd") || "Tf-testpwd";
19
+ * const defaultDbCluster = new alicloud.clickhouse.DbCluster("defaultDbCluster", {
20
+ * dbClusterVersion: "20.3.10.75",
21
+ * category: "Basic",
22
+ * dbClusterClass: "S8",
23
+ * dbClusterNetworkType: "vpc",
24
+ * dbClusterDescription: name,
25
+ * dbNodeGroupCount: "1",
26
+ * paymentType: "PayAsYouGo",
27
+ * dbNodeStorage: "500",
28
+ * storageType: "cloud_essd",
29
+ * vswitchId: "your_vswitch_id",
30
+ * });
31
+ * const defaultAccount = new alicloud.clickhouse.Account("defaultAccount", {
32
+ * dbClusterId: defaultDbCluster.id,
33
+ * accountDescription: "your_description",
34
+ * accountName: name,
35
+ * accountPassword: pwd,
36
+ * });
37
+ * const defaultAccounts = pulumi.all([defaultAccount.id, defaultDbCluster.id]).apply(([defaultAccountId, defaultDbClusterId]) => alicloud.clickhouse.getAccounts({
38
+ * ids: [defaultAccountId],
39
+ * dbClusterId: defaultDbClusterId,
40
+ * }));
41
+ * export const accountId = defaultAccounts.ids[0];
42
+ * ```
43
+ */
44
+ export declare function getAccounts(args: GetAccountsArgs, opts?: pulumi.InvokeOptions): Promise<GetAccountsResult>;
45
+ /**
46
+ * A collection of arguments for invoking getAccounts.
47
+ */
48
+ export interface GetAccountsArgs {
49
+ /**
50
+ * The DBCluster id.
51
+ */
52
+ readonly dbClusterId: string;
53
+ /**
54
+ * A list of Account IDs. Its element value is same as Account Name.
55
+ */
56
+ readonly ids?: string[];
57
+ /**
58
+ * A regex string to filter results by Account name.
59
+ */
60
+ readonly nameRegex?: string;
61
+ readonly outputFile?: string;
62
+ /**
63
+ * The status of the resource.
64
+ */
65
+ readonly status?: string;
66
+ }
67
+ /**
68
+ * A collection of values returned by getAccounts.
69
+ */
70
+ export interface GetAccountsResult {
71
+ readonly accounts: outputs.clickhouse.GetAccountsAccount[];
72
+ readonly dbClusterId: string;
73
+ /**
74
+ * The provider-assigned unique ID for this managed resource.
75
+ */
76
+ readonly id: string;
77
+ readonly ids: string[];
78
+ readonly nameRegex?: string;
79
+ readonly names: string[];
80
+ readonly outputFile?: string;
81
+ readonly status?: string;
82
+ }