@volcengine/pulumi 0.0.12

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 (839) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +68 -0
  3. package/autoscaling/index.d.ts +13 -0
  4. package/autoscaling/index.js +73 -0
  5. package/autoscaling/index.js.map +1 -0
  6. package/autoscaling/scalingActivities.d.ts +104 -0
  7. package/autoscaling/scalingActivities.js +40 -0
  8. package/autoscaling/scalingActivities.js.map +1 -0
  9. package/autoscaling/scalingConfiguration.d.ts +368 -0
  10. package/autoscaling/scalingConfiguration.js +175 -0
  11. package/autoscaling/scalingConfiguration.js.map +1 -0
  12. package/autoscaling/scalingConfigurationAttachment.d.ts +69 -0
  13. package/autoscaling/scalingConfigurationAttachment.js +73 -0
  14. package/autoscaling/scalingConfigurationAttachment.js.map +1 -0
  15. package/autoscaling/scalingConfigurations.d.ts +92 -0
  16. package/autoscaling/scalingConfigurations.js +40 -0
  17. package/autoscaling/scalingConfigurations.js.map +1 -0
  18. package/autoscaling/scalingGroup.d.ts +290 -0
  19. package/autoscaling/scalingGroup.js +134 -0
  20. package/autoscaling/scalingGroup.js.map +1 -0
  21. package/autoscaling/scalingGroupEnabler.d.ts +116 -0
  22. package/autoscaling/scalingGroupEnabler.js +120 -0
  23. package/autoscaling/scalingGroupEnabler.js.map +1 -0
  24. package/autoscaling/scalingGroups.d.ts +80 -0
  25. package/autoscaling/scalingGroups.js +39 -0
  26. package/autoscaling/scalingGroups.js.map +1 -0
  27. package/autoscaling/scalingInstanceAttachment.d.ts +121 -0
  28. package/autoscaling/scalingInstanceAttachment.js +88 -0
  29. package/autoscaling/scalingInstanceAttachment.js.map +1 -0
  30. package/autoscaling/scalingInstances.d.ts +117 -0
  31. package/autoscaling/scalingInstances.js +47 -0
  32. package/autoscaling/scalingInstances.js.map +1 -0
  33. package/autoscaling/scalingLifecycleHook.d.ts +129 -0
  34. package/autoscaling/scalingLifecycleHook.js +99 -0
  35. package/autoscaling/scalingLifecycleHook.js.map +1 -0
  36. package/autoscaling/scalingLifecycleHooks.d.ts +92 -0
  37. package/autoscaling/scalingLifecycleHooks.js +39 -0
  38. package/autoscaling/scalingLifecycleHooks.js.map +1 -0
  39. package/autoscaling/scalingPolicies.d.ts +105 -0
  40. package/autoscaling/scalingPolicies.js +41 -0
  41. package/autoscaling/scalingPolicies.js.map +1 -0
  42. package/autoscaling/scalingPolicy.d.ts +306 -0
  43. package/autoscaling/scalingPolicy.js +135 -0
  44. package/autoscaling/scalingPolicy.js.map +1 -0
  45. package/bioos/cluster.d.ts +121 -0
  46. package/bioos/cluster.js +85 -0
  47. package/bioos/cluster.js.map +1 -0
  48. package/bioos/clusterBind.d.ts +95 -0
  49. package/bioos/clusterBind.js +85 -0
  50. package/bioos/clusterBind.js.map +1 -0
  51. package/bioos/clusters.d.ts +90 -0
  52. package/bioos/clusters.js +38 -0
  53. package/bioos/clusters.js.map +1 -0
  54. package/bioos/index.d.ts +5 -0
  55. package/bioos/index.js +49 -0
  56. package/bioos/index.js.map +1 -0
  57. package/bioos/workspace.d.ts +110 -0
  58. package/bioos/workspace.js +82 -0
  59. package/bioos/workspace.js.map +1 -0
  60. package/bioos/workspaces.d.ts +87 -0
  61. package/bioos/workspaces.js +38 -0
  62. package/bioos/workspaces.js.map +1 -0
  63. package/cen/attachInstance.d.ts +142 -0
  64. package/cen/attachInstance.js +103 -0
  65. package/cen/attachInstance.js.map +1 -0
  66. package/cen/attachInstances.d.ts +101 -0
  67. package/cen/attachInstances.js +40 -0
  68. package/cen/attachInstances.js.map +1 -0
  69. package/cen/bandwidthPackage.d.ts +268 -0
  70. package/cen/bandwidthPackage.js +115 -0
  71. package/cen/bandwidthPackage.js.map +1 -0
  72. package/cen/bandwidthPackageAssociate.d.ts +82 -0
  73. package/cen/bandwidthPackageAssociate.js +79 -0
  74. package/cen/bandwidthPackageAssociate.js.map +1 -0
  75. package/cen/bandwidthPackages.d.ts +126 -0
  76. package/cen/bandwidthPackages.js +44 -0
  77. package/cen/bandwidthPackages.js.map +1 -0
  78. package/cen/cen.d.ts +156 -0
  79. package/cen/cen.js +90 -0
  80. package/cen/cen.js.map +1 -0
  81. package/cen/cens.d.ts +92 -0
  82. package/cen/cens.js +40 -0
  83. package/cen/cens.js.map +1 -0
  84. package/cen/grantInstance.d.ts +121 -0
  85. package/cen/grantInstance.js +97 -0
  86. package/cen/grantInstance.js.map +1 -0
  87. package/cen/index.d.ts +14 -0
  88. package/cen/index.js +78 -0
  89. package/cen/index.js.map +1 -0
  90. package/cen/interRegionBandwidth.d.ts +140 -0
  91. package/cen/interRegionBandwidth.js +99 -0
  92. package/cen/interRegionBandwidth.js.map +1 -0
  93. package/cen/interRegionBandwidths.d.ts +62 -0
  94. package/cen/interRegionBandwidths.js +37 -0
  95. package/cen/interRegionBandwidths.js.map +1 -0
  96. package/cen/routeEntries.d.ts +113 -0
  97. package/cen/routeEntries.js +40 -0
  98. package/cen/routeEntries.js.map +1 -0
  99. package/cen/routeEntry.d.ts +152 -0
  100. package/cen/routeEntry.js +107 -0
  101. package/cen/routeEntry.js.map +1 -0
  102. package/cen/serviceRouteEntries.d.ts +101 -0
  103. package/cen/serviceRouteEntries.js +40 -0
  104. package/cen/serviceRouteEntries.js.map +1 -0
  105. package/cen/serviceRouteEntry.d.ts +215 -0
  106. package/cen/serviceRouteEntry.js +155 -0
  107. package/cen/serviceRouteEntry.js.map +1 -0
  108. package/clb/acl.d.ts +125 -0
  109. package/clb/acl.js +89 -0
  110. package/clb/acl.js.map +1 -0
  111. package/clb/aclEntry.d.ts +99 -0
  112. package/clb/aclEntry.js +86 -0
  113. package/clb/aclEntry.js.map +1 -0
  114. package/clb/acls.d.ts +95 -0
  115. package/clb/acls.js +40 -0
  116. package/clb/acls.js.map +1 -0
  117. package/clb/certificate.d.ts +166 -0
  118. package/clb/certificate.js +122 -0
  119. package/clb/certificate.js.map +1 -0
  120. package/clb/certificates.d.ts +150 -0
  121. package/clb/certificates.js +84 -0
  122. package/clb/certificates.js.map +1 -0
  123. package/clb/clb.d.ts +348 -0
  124. package/clb/clb.js +179 -0
  125. package/clb/clb.js.map +1 -0
  126. package/clb/clbs.d.ts +163 -0
  127. package/clb/clbs.js +75 -0
  128. package/clb/clbs.js.map +1 -0
  129. package/clb/index.d.ts +16 -0
  130. package/clb/index.js +80 -0
  131. package/clb/index.js.map +1 -0
  132. package/clb/listener.d.ts +279 -0
  133. package/clb/listener.js +155 -0
  134. package/clb/listener.js.map +1 -0
  135. package/clb/listeners.d.ts +140 -0
  136. package/clb/listeners.js +88 -0
  137. package/clb/listeners.js.map +1 -0
  138. package/clb/rule.d.ts +168 -0
  139. package/clb/rule.js +135 -0
  140. package/clb/rule.js.map +1 -0
  141. package/clb/rules.d.ts +122 -0
  142. package/clb/rules.js +92 -0
  143. package/clb/rules.js.map +1 -0
  144. package/clb/serverGroup.d.ts +131 -0
  145. package/clb/serverGroup.js +105 -0
  146. package/clb/serverGroup.js.map +1 -0
  147. package/clb/serverGroupServer.d.ts +198 -0
  148. package/clb/serverGroupServer.js +145 -0
  149. package/clb/serverGroupServer.js.map +1 -0
  150. package/clb/serverGroupServers.d.ts +133 -0
  151. package/clb/serverGroupServers.js +91 -0
  152. package/clb/serverGroupServers.js.map +1 -0
  153. package/clb/serverGroups.d.ts +121 -0
  154. package/clb/serverGroups.js +69 -0
  155. package/clb/serverGroups.js.map +1 -0
  156. package/clb/zones.d.ts +51 -0
  157. package/clb/zones.js +34 -0
  158. package/clb/zones.js.map +1 -0
  159. package/config/index.d.ts +1 -0
  160. package/config/index.js +21 -0
  161. package/config/index.js.map +1 -0
  162. package/config/vars.d.ts +36 -0
  163. package/config/vars.js +66 -0
  164. package/config/vars.js.map +1 -0
  165. package/cr/authorizationTokens.d.ts +62 -0
  166. package/cr/authorizationTokens.js +36 -0
  167. package/cr/authorizationTokens.js.map +1 -0
  168. package/cr/endpoint.d.ts +90 -0
  169. package/cr/endpoint.js +78 -0
  170. package/cr/endpoint.js.map +1 -0
  171. package/cr/endpoints.d.ts +65 -0
  172. package/cr/endpoints.js +36 -0
  173. package/cr/endpoints.js.map +1 -0
  174. package/cr/index.d.ts +14 -0
  175. package/cr/index.js +74 -0
  176. package/cr/index.js.map +1 -0
  177. package/cr/namespace.d.ts +92 -0
  178. package/cr/namespace.js +80 -0
  179. package/cr/namespace.js.map +1 -0
  180. package/cr/namespaces.d.ts +72 -0
  181. package/cr/namespaces.js +38 -0
  182. package/cr/namespaces.js.map +1 -0
  183. package/cr/registries.d.ts +85 -0
  184. package/cr/registries.js +44 -0
  185. package/cr/registries.js.map +1 -0
  186. package/cr/registry.d.ts +151 -0
  187. package/cr/registry.js +89 -0
  188. package/cr/registry.js.map +1 -0
  189. package/cr/repositories.d.ts +92 -0
  190. package/cr/repositories.js +42 -0
  191. package/cr/repositories.js.map +1 -0
  192. package/cr/repository.d.ts +136 -0
  193. package/cr/repository.js +91 -0
  194. package/cr/repository.js.map +1 -0
  195. package/cr/state.d.ts +90 -0
  196. package/cr/state.js +77 -0
  197. package/cr/state.js.map +1 -0
  198. package/cr/tag.d.ts +157 -0
  199. package/cr/tag.js +100 -0
  200. package/cr/tag.js.map +1 -0
  201. package/cr/tags.d.ts +101 -0
  202. package/cr/tags.js +43 -0
  203. package/cr/tags.js.map +1 -0
  204. package/cr/vpcEndpoint.d.ts +92 -0
  205. package/cr/vpcEndpoint.js +88 -0
  206. package/cr/vpcEndpoint.js.map +1 -0
  207. package/cr/vpcEndpoints.d.ts +80 -0
  208. package/cr/vpcEndpoints.js +43 -0
  209. package/cr/vpcEndpoints.js.map +1 -0
  210. package/ebs/index.d.ts +3 -0
  211. package/ebs/index.js +43 -0
  212. package/ebs/index.js.map +1 -0
  213. package/ebs/volume.d.ts +219 -0
  214. package/ebs/volume.js +127 -0
  215. package/ebs/volume.js.map +1 -0
  216. package/ebs/volumeAttach.d.ts +118 -0
  217. package/ebs/volumeAttach.js +87 -0
  218. package/ebs/volumeAttach.js.map +1 -0
  219. package/ebs/volumes.d.ts +125 -0
  220. package/ebs/volumes.js +44 -0
  221. package/ebs/volumes.js.map +1 -0
  222. package/ecs/deploymentSet.d.ts +116 -0
  223. package/ecs/deploymentSet.js +84 -0
  224. package/ecs/deploymentSet.js.map +1 -0
  225. package/ecs/deploymentSetAssociate.d.ts +127 -0
  226. package/ecs/deploymentSetAssociate.js +124 -0
  227. package/ecs/deploymentSetAssociate.js.map +1 -0
  228. package/ecs/deploymentSets.d.ts +94 -0
  229. package/ecs/deploymentSets.js +50 -0
  230. package/ecs/deploymentSets.js.map +1 -0
  231. package/ecs/images.d.ts +130 -0
  232. package/ecs/images.js +45 -0
  233. package/ecs/images.js.map +1 -0
  234. package/ecs/index.d.ts +13 -0
  235. package/ecs/index.js +73 -0
  236. package/ecs/index.js.map +1 -0
  237. package/ecs/instance.d.ts +595 -0
  238. package/ecs/instance.js +218 -0
  239. package/ecs/instance.js.map +1 -0
  240. package/ecs/instances.d.ts +232 -0
  241. package/ecs/instances.js +95 -0
  242. package/ecs/instances.js.map +1 -0
  243. package/ecs/keyPair.d.ts +122 -0
  244. package/ecs/keyPair.js +84 -0
  245. package/ecs/keyPair.js.map +1 -0
  246. package/ecs/keyPairAssociate.d.ts +118 -0
  247. package/ecs/keyPairAssociate.js +115 -0
  248. package/ecs/keyPairAssociate.js.map +1 -0
  249. package/ecs/keyPairs.d.ts +109 -0
  250. package/ecs/keyPairs.js +46 -0
  251. package/ecs/keyPairs.js.map +1 -0
  252. package/ecs/launchTemplate.d.ts +328 -0
  253. package/ecs/launchTemplate.js +125 -0
  254. package/ecs/launchTemplate.js.map +1 -0
  255. package/ecs/launchTemplates.d.ts +95 -0
  256. package/ecs/launchTemplates.js +54 -0
  257. package/ecs/launchTemplates.js.map +1 -0
  258. package/ecs/state.d.ts +135 -0
  259. package/ecs/state.js +116 -0
  260. package/ecs/state.js.map +1 -0
  261. package/ecs/zones.d.ts +62 -0
  262. package/ecs/zones.js +37 -0
  263. package/ecs/zones.js.map +1 -0
  264. package/eip/address.d.ts +197 -0
  265. package/eip/address.js +100 -0
  266. package/eip/address.js.map +1 -0
  267. package/eip/addresses.d.ts +151 -0
  268. package/eip/addresses.js +47 -0
  269. package/eip/addresses.js.map +1 -0
  270. package/eip/associate.d.ts +140 -0
  271. package/eip/associate.js +120 -0
  272. package/eip/associate.js.map +1 -0
  273. package/eip/index.d.ts +3 -0
  274. package/eip/index.js +43 -0
  275. package/eip/index.js.map +1 -0
  276. package/escloud/index.d.ts +4 -0
  277. package/escloud/index.js +40 -0
  278. package/escloud/index.js.map +1 -0
  279. package/escloud/instance.d.ts +104 -0
  280. package/escloud/instance.js +107 -0
  281. package/escloud/instance.js.map +1 -0
  282. package/escloud/instances.d.ts +108 -0
  283. package/escloud/instances.js +43 -0
  284. package/escloud/instances.js.map +1 -0
  285. package/escloud/regions.d.ts +51 -0
  286. package/escloud/regions.js +34 -0
  287. package/escloud/regions.js.map +1 -0
  288. package/escloud/zones.d.ts +62 -0
  289. package/escloud/zones.js +36 -0
  290. package/escloud/zones.js.map +1 -0
  291. package/iam/accessKey.d.ts +135 -0
  292. package/iam/accessKey.js +82 -0
  293. package/iam/accessKey.js.map +1 -0
  294. package/iam/index.d.ts +10 -0
  295. package/iam/index.js +70 -0
  296. package/iam/index.js.map +1 -0
  297. package/iam/loginProfile.d.ts +108 -0
  298. package/iam/loginProfile.js +85 -0
  299. package/iam/loginProfile.js.map +1 -0
  300. package/iam/policies.d.ts +113 -0
  301. package/iam/policies.js +42 -0
  302. package/iam/policies.js.map +1 -0
  303. package/iam/policy.d.ts +127 -0
  304. package/iam/policy.js +90 -0
  305. package/iam/policy.js.map +1 -0
  306. package/iam/role.d.ts +129 -0
  307. package/iam/role.js +93 -0
  308. package/iam/role.js.map +1 -0
  309. package/iam/rolePolicyAttachment.d.ts +107 -0
  310. package/iam/rolePolicyAttachment.js +97 -0
  311. package/iam/rolePolicyAttachment.js.map +1 -0
  312. package/iam/roles.d.ts +81 -0
  313. package/iam/roles.js +37 -0
  314. package/iam/roles.js.map +1 -0
  315. package/iam/user.d.ts +151 -0
  316. package/iam/user.js +91 -0
  317. package/iam/user.js.map +1 -0
  318. package/iam/userPolicyAttachment.d.ts +104 -0
  319. package/iam/userPolicyAttachment.js +94 -0
  320. package/iam/userPolicyAttachment.js.map +1 -0
  321. package/iam/users.d.ts +69 -0
  322. package/iam/users.js +36 -0
  323. package/iam/users.js.map +1 -0
  324. package/index.d.ts +27 -0
  325. package/index.js +85 -0
  326. package/index.js.map +1 -0
  327. package/mongodb/accounts.d.ts +74 -0
  328. package/mongodb/accounts.js +37 -0
  329. package/mongodb/accounts.js.map +1 -0
  330. package/mongodb/endpoint.d.ts +128 -0
  331. package/mongodb/endpoint.js +86 -0
  332. package/mongodb/endpoint.js.map +1 -0
  333. package/mongodb/endpoints.d.ts +62 -0
  334. package/mongodb/endpoints.js +37 -0
  335. package/mongodb/endpoints.js.map +1 -0
  336. package/mongodb/index.d.ts +16 -0
  337. package/mongodb/index.js +72 -0
  338. package/mongodb/index.js.map +1 -0
  339. package/mongodb/instance.d.ts +289 -0
  340. package/mongodb/instance.js +128 -0
  341. package/mongodb/instance.js.map +1 -0
  342. package/mongodb/instanceParameter.d.ts +113 -0
  343. package/mongodb/instanceParameter.js +96 -0
  344. package/mongodb/instanceParameter.js.map +1 -0
  345. package/mongodb/instanceParameterLogs.d.ts +82 -0
  346. package/mongodb/instanceParameterLogs.js +40 -0
  347. package/mongodb/instanceParameterLogs.js.map +1 -0
  348. package/mongodb/instanceParameters.d.ts +88 -0
  349. package/mongodb/instanceParameters.js +40 -0
  350. package/mongodb/instanceParameters.js.map +1 -0
  351. package/mongodb/instances.d.ts +206 -0
  352. package/mongodb/instances.js +50 -0
  353. package/mongodb/instances.js.map +1 -0
  354. package/mongodb/mongoAllowList.d.ts +120 -0
  355. package/mongodb/mongoAllowList.js +87 -0
  356. package/mongodb/mongoAllowList.js.map +1 -0
  357. package/mongodb/mongoAllowListAssociate.d.ts +82 -0
  358. package/mongodb/mongoAllowListAssociate.js +79 -0
  359. package/mongodb/mongoAllowListAssociate.js.map +1 -0
  360. package/mongodb/mongoAllowLists.d.ts +84 -0
  361. package/mongodb/mongoAllowLists.js +39 -0
  362. package/mongodb/mongoAllowLists.js.map +1 -0
  363. package/mongodb/regions.d.ts +51 -0
  364. package/mongodb/regions.js +34 -0
  365. package/mongodb/regions.js.map +1 -0
  366. package/mongodb/specs.d.ts +60 -0
  367. package/mongodb/specs.js +35 -0
  368. package/mongodb/specs.js.map +1 -0
  369. package/mongodb/sslState.d.ts +111 -0
  370. package/mongodb/sslState.js +84 -0
  371. package/mongodb/sslState.js.map +1 -0
  372. package/mongodb/sslStates.d.ts +65 -0
  373. package/mongodb/sslStates.js +36 -0
  374. package/mongodb/sslStates.js.map +1 -0
  375. package/mongodb/zones.d.ts +62 -0
  376. package/mongodb/zones.js +36 -0
  377. package/mongodb/zones.js.map +1 -0
  378. package/nat/dnatEntries.d.ts +144 -0
  379. package/nat/dnatEntries.js +42 -0
  380. package/nat/dnatEntries.js.map +1 -0
  381. package/nat/dnatEntry.d.ts +155 -0
  382. package/nat/dnatEntry.js +108 -0
  383. package/nat/dnatEntry.js.map +1 -0
  384. package/nat/gateway.d.ts +171 -0
  385. package/nat/gateway.js +97 -0
  386. package/nat/gateway.js.map +1 -0
  387. package/nat/gateways.d.ts +146 -0
  388. package/nat/gateways.js +47 -0
  389. package/nat/gateways.js.map +1 -0
  390. package/nat/index.d.ts +6 -0
  391. package/nat/index.js +50 -0
  392. package/nat/index.js.map +1 -0
  393. package/nat/snatEntries.d.ts +122 -0
  394. package/nat/snatEntries.js +42 -0
  395. package/nat/snatEntries.js.map +1 -0
  396. package/nat/snatEntry.d.ts +128 -0
  397. package/nat/snatEntry.js +89 -0
  398. package/nat/snatEntry.js.map +1 -0
  399. package/package.json +29 -0
  400. package/package.json.bak +29 -0
  401. package/privatelink/index.d.ts +12 -0
  402. package/privatelink/index.js +72 -0
  403. package/privatelink/index.js.map +1 -0
  404. package/privatelink/securityGroup.d.ts +82 -0
  405. package/privatelink/securityGroup.js +79 -0
  406. package/privatelink/securityGroup.js.map +1 -0
  407. package/privatelink/vpcEndpoint.d.ts +197 -0
  408. package/privatelink/vpcEndpoint.js +110 -0
  409. package/privatelink/vpcEndpoint.js.map +1 -0
  410. package/privatelink/vpcEndpointConnection.d.ts +131 -0
  411. package/privatelink/vpcEndpointConnection.js +91 -0
  412. package/privatelink/vpcEndpointConnection.js.map +1 -0
  413. package/privatelink/vpcEndpointConnections.d.ts +90 -0
  414. package/privatelink/vpcEndpointConnections.js +39 -0
  415. package/privatelink/vpcEndpointConnections.js.map +1 -0
  416. package/privatelink/vpcEndpointService.d.ts +171 -0
  417. package/privatelink/vpcEndpointService.js +100 -0
  418. package/privatelink/vpcEndpointService.js.map +1 -0
  419. package/privatelink/vpcEndpointServicePermission.d.ts +86 -0
  420. package/privatelink/vpcEndpointServicePermission.js +83 -0
  421. package/privatelink/vpcEndpointServicePermission.js.map +1 -0
  422. package/privatelink/vpcEndpointServicePermissions.d.ts +74 -0
  423. package/privatelink/vpcEndpointServicePermissions.js +37 -0
  424. package/privatelink/vpcEndpointServicePermissions.js.map +1 -0
  425. package/privatelink/vpcEndpointServiceResource.d.ts +90 -0
  426. package/privatelink/vpcEndpointServiceResource.js +87 -0
  427. package/privatelink/vpcEndpointServiceResource.js.map +1 -0
  428. package/privatelink/vpcEndpointServices.d.ts +86 -0
  429. package/privatelink/vpcEndpointServices.js +42 -0
  430. package/privatelink/vpcEndpointServices.js.map +1 -0
  431. package/privatelink/vpcEndpointZone.d.ts +127 -0
  432. package/privatelink/vpcEndpointZone.js +90 -0
  433. package/privatelink/vpcEndpointZone.js.map +1 -0
  434. package/privatelink/vpcEndpointZones.d.ts +62 -0
  435. package/privatelink/vpcEndpointZones.js +37 -0
  436. package/privatelink/vpcEndpointZones.js.map +1 -0
  437. package/privatelink/vpcEndpoints.d.ts +119 -0
  438. package/privatelink/vpcEndpoints.js +42 -0
  439. package/privatelink/vpcEndpoints.js.map +1 -0
  440. package/provider.d.ts +95 -0
  441. package/provider.js +54 -0
  442. package/provider.js.map +1 -0
  443. package/rds/account.d.ts +144 -0
  444. package/rds/account.js +91 -0
  445. package/rds/account.js.map +1 -0
  446. package/rds/accountPrivilege.d.ts +131 -0
  447. package/rds/accountPrivilege.js +105 -0
  448. package/rds/accountPrivilege.js.map +1 -0
  449. package/rds/accounts.d.ts +83 -0
  450. package/rds/accounts.js +38 -0
  451. package/rds/accounts.js.map +1 -0
  452. package/rds/database.d.ts +113 -0
  453. package/rds/database.js +85 -0
  454. package/rds/database.js.map +1 -0
  455. package/rds/databases.d.ts +83 -0
  456. package/rds/databases.js +38 -0
  457. package/rds/databases.js.map +1 -0
  458. package/rds/index.d.ts +11 -0
  459. package/rds/index.js +67 -0
  460. package/rds/index.js.map +1 -0
  461. package/rds/instance.d.ts +403 -0
  462. package/rds/instance.js +145 -0
  463. package/rds/instance.js.map +1 -0
  464. package/rds/instances.d.ts +140 -0
  465. package/rds/instances.js +44 -0
  466. package/rds/instances.js.map +1 -0
  467. package/rds/ipList.d.ts +98 -0
  468. package/rds/ipList.js +88 -0
  469. package/rds/ipList.js.map +1 -0
  470. package/rds/ipLists.d.ts +71 -0
  471. package/rds/ipLists.js +37 -0
  472. package/rds/ipLists.js.map +1 -0
  473. package/rds/parameterTemplate.d.ts +144 -0
  474. package/rds/parameterTemplate.js +101 -0
  475. package/rds/parameterTemplate.js.map +1 -0
  476. package/rds/parameterTemplates.d.ts +117 -0
  477. package/rds/parameterTemplates.js +39 -0
  478. package/rds/parameterTemplates.js.map +1 -0
  479. package/rds_mysql/account.d.ts +157 -0
  480. package/rds_mysql/account.js +93 -0
  481. package/rds_mysql/account.js.map +1 -0
  482. package/rds_mysql/accounts.d.ts +84 -0
  483. package/rds_mysql/accounts.js +39 -0
  484. package/rds_mysql/accounts.js.map +1 -0
  485. package/rds_mysql/allowlist.d.ts +115 -0
  486. package/rds_mysql/allowlist.js +86 -0
  487. package/rds_mysql/allowlist.js.map +1 -0
  488. package/rds_mysql/allowlistAssociate.d.ts +82 -0
  489. package/rds_mysql/allowlistAssociate.js +79 -0
  490. package/rds_mysql/allowlistAssociate.js.map +1 -0
  491. package/rds_mysql/allowlists.d.ts +74 -0
  492. package/rds_mysql/allowlists.js +37 -0
  493. package/rds_mysql/allowlists.js.map +1 -0
  494. package/rds_mysql/database.d.ts +113 -0
  495. package/rds_mysql/database.js +82 -0
  496. package/rds_mysql/database.js.map +1 -0
  497. package/rds_mysql/databases.d.ts +84 -0
  498. package/rds_mysql/databases.js +39 -0
  499. package/rds_mysql/databases.js.map +1 -0
  500. package/rds_mysql/index.d.ts +10 -0
  501. package/rds_mysql/index.js +66 -0
  502. package/rds_mysql/index.js.map +1 -0
  503. package/rds_mysql/instance.d.ts +412 -0
  504. package/rds_mysql/instance.js +179 -0
  505. package/rds_mysql/instance.js.map +1 -0
  506. package/rds_mysql/instanceReadonlyNode.d.ts +103 -0
  507. package/rds_mysql/instanceReadonlyNode.js +87 -0
  508. package/rds_mysql/instanceReadonlyNode.js.map +1 -0
  509. package/rds_mysql/instances.d.ts +154 -0
  510. package/rds_mysql/instances.js +45 -0
  511. package/rds_mysql/instances.js.map +1 -0
  512. package/rds_v2/index.d.ts +2 -0
  513. package/rds_v2/index.js +38 -0
  514. package/rds_v2/index.js.map +1 -0
  515. package/rds_v2/rdsInstanceV2.d.ts +289 -0
  516. package/rds_v2/rdsInstanceV2.js +145 -0
  517. package/rds_v2/rdsInstanceV2.js.map +1 -0
  518. package/rds_v2/rdsInstancesV2.d.ts +234 -0
  519. package/rds_v2/rdsInstancesV2.js +44 -0
  520. package/rds_v2/rdsInstancesV2.js.map +1 -0
  521. package/redis/account.d.ts +121 -0
  522. package/redis/account.js +94 -0
  523. package/redis/account.js.map +1 -0
  524. package/redis/accounts.d.ts +77 -0
  525. package/redis/accounts.js +37 -0
  526. package/redis/accounts.js.map +1 -0
  527. package/redis/allowList.d.ts +141 -0
  528. package/redis/allowList.js +97 -0
  529. package/redis/allowList.js.map +1 -0
  530. package/redis/allowListAssociate.d.ts +86 -0
  531. package/redis/allowListAssociate.js +83 -0
  532. package/redis/allowListAssociate.js.map +1 -0
  533. package/redis/allowLists.d.ts +83 -0
  534. package/redis/allowLists.js +38 -0
  535. package/redis/allowLists.js.map +1 -0
  536. package/redis/backup.d.ts +134 -0
  537. package/redis/backup.js +89 -0
  538. package/redis/backup.js.map +1 -0
  539. package/redis/backupRestore.d.ts +94 -0
  540. package/redis/backupRestore.js +81 -0
  541. package/redis/backupRestore.js.map +1 -0
  542. package/redis/backups.d.ts +99 -0
  543. package/redis/backups.js +40 -0
  544. package/redis/backups.js.map +1 -0
  545. package/redis/continuousBackup.d.ts +69 -0
  546. package/redis/continuousBackup.js +73 -0
  547. package/redis/continuousBackup.js.map +1 -0
  548. package/redis/endpoint.d.ts +82 -0
  549. package/redis/endpoint.js +79 -0
  550. package/redis/endpoint.js.map +1 -0
  551. package/redis/index.d.ts +16 -0
  552. package/redis/index.js +84 -0
  553. package/redis/index.js.map +1 -0
  554. package/redis/instance.d.ts +392 -0
  555. package/redis/instance.js +181 -0
  556. package/redis/instance.js.map +1 -0
  557. package/redis/instances.d.ts +179 -0
  558. package/redis/instances.js +47 -0
  559. package/redis/instances.js.map +1 -0
  560. package/redis/pitrTimeWindows.d.ts +31 -0
  561. package/redis/pitrTimeWindows.js +23 -0
  562. package/redis/pitrTimeWindows.js.map +1 -0
  563. package/redis/regions.d.ts +65 -0
  564. package/redis/regions.js +37 -0
  565. package/redis/regions.js.map +1 -0
  566. package/redis/state.d.ts +82 -0
  567. package/redis/state.js +79 -0
  568. package/redis/state.js.map +1 -0
  569. package/redis/zones.d.ts +62 -0
  570. package/redis/zones.js +36 -0
  571. package/redis/zones.js.map +1 -0
  572. package/scripts/install-pulumi-plugin.js +26 -0
  573. package/tls/alarm.d.ts +222 -0
  574. package/tls/alarm.js +134 -0
  575. package/tls/alarm.js.map +1 -0
  576. package/tls/alarmNotifyGroup.d.ts +126 -0
  577. package/tls/alarmNotifyGroup.js +99 -0
  578. package/tls/alarmNotifyGroup.js.map +1 -0
  579. package/tls/alarmNotifyGroups.d.ts +96 -0
  580. package/tls/alarmNotifyGroups.js +38 -0
  581. package/tls/alarmNotifyGroups.js.map +1 -0
  582. package/tls/alarms.d.ts +125 -0
  583. package/tls/alarms.js +41 -0
  584. package/tls/alarms.js.map +1 -0
  585. package/tls/host.d.ts +82 -0
  586. package/tls/host.js +79 -0
  587. package/tls/host.js.map +1 -0
  588. package/tls/hostGroup.d.ts +225 -0
  589. package/tls/hostGroup.js +110 -0
  590. package/tls/hostGroup.js.map +1 -0
  591. package/tls/hostGroups.d.ts +126 -0
  592. package/tls/hostGroups.js +43 -0
  593. package/tls/hostGroups.js.map +1 -0
  594. package/tls/hosts.d.ts +89 -0
  595. package/tls/hosts.js +38 -0
  596. package/tls/hosts.js.map +1 -0
  597. package/tls/index.d.ts +21 -0
  598. package/tls/index.js +93 -0
  599. package/tls/index.js.map +1 -0
  600. package/tls/index_.d.ts +143 -0
  601. package/tls/index_.js +114 -0
  602. package/tls/index_.js.map +1 -0
  603. package/tls/indexes.d.ts +62 -0
  604. package/tls/indexes.js +36 -0
  605. package/tls/indexes.js.map +1 -0
  606. package/tls/kafkaConsumer.d.ts +85 -0
  607. package/tls/kafkaConsumer.js +77 -0
  608. package/tls/kafkaConsumer.js.map +1 -0
  609. package/tls/kafkaConsumers.d.ts +66 -0
  610. package/tls/kafkaConsumers.js +41 -0
  611. package/tls/kafkaConsumers.js.map +1 -0
  612. package/tls/project.d.ts +136 -0
  613. package/tls/project.js +91 -0
  614. package/tls/project.js.map +1 -0
  615. package/tls/projects.d.ts +119 -0
  616. package/tls/projects.js +42 -0
  617. package/tls/projects.js.map +1 -0
  618. package/tls/rule.d.ts +284 -0
  619. package/tls/rule.js +194 -0
  620. package/tls/rule.js.map +1 -0
  621. package/tls/ruleApplier.d.ts +82 -0
  622. package/tls/ruleApplier.js +79 -0
  623. package/tls/ruleApplier.js.map +1 -0
  624. package/tls/ruleAppliers.d.ts +62 -0
  625. package/tls/ruleAppliers.js +36 -0
  626. package/tls/ruleAppliers.js.map +1 -0
  627. package/tls/rules.d.ts +110 -0
  628. package/tls/rules.js +40 -0
  629. package/tls/rules.js.map +1 -0
  630. package/tls/shards.d.ts +65 -0
  631. package/tls/shards.js +36 -0
  632. package/tls/shards.js.map +1 -0
  633. package/tls/topic.d.ts +219 -0
  634. package/tls/topic.js +119 -0
  635. package/tls/topic.js.map +1 -0
  636. package/tls/topics.d.ts +120 -0
  637. package/tls/topics.js +42 -0
  638. package/tls/topics.js.map +1 -0
  639. package/tos/bucket.d.ts +163 -0
  640. package/tos/bucket.js +102 -0
  641. package/tos/bucket.js.map +1 -0
  642. package/tos/bucketObject.d.ts +198 -0
  643. package/tos/bucketObject.js +115 -0
  644. package/tos/bucketObject.js.map +1 -0
  645. package/tos/bucketObjects.d.ts +80 -0
  646. package/tos/bucketObjects.js +38 -0
  647. package/tos/bucketObjects.js.map +1 -0
  648. package/tos/bucketPolicy.d.ts +93 -0
  649. package/tos/bucketPolicy.js +87 -0
  650. package/tos/bucketPolicy.js.map +1 -0
  651. package/tos/buckets.d.ts +71 -0
  652. package/tos/buckets.js +38 -0
  653. package/tos/buckets.js.map +1 -0
  654. package/tos/index.d.ts +5 -0
  655. package/tos/index.js +49 -0
  656. package/tos/index.js.map +1 -0
  657. package/types/index.d.ts +3 -0
  658. package/types/index.js +11 -0
  659. package/types/index.js.map +1 -0
  660. package/types/input.d.ts +2754 -0
  661. package/types/input.js +5 -0
  662. package/types/input.js.map +1 -0
  663. package/types/output.d.ts +11698 -0
  664. package/types/output.js +5 -0
  665. package/types/output.js.map +1 -0
  666. package/utilities.d.ts +4 -0
  667. package/utilities.js +57 -0
  668. package/utilities.js.map +1 -0
  669. package/veenedge/availableResources.d.ts +82 -0
  670. package/veenedge/availableResources.js +40 -0
  671. package/veenedge/availableResources.js.map +1 -0
  672. package/veenedge/cloudServer.d.ts +267 -0
  673. package/veenedge/cloudServer.js +161 -0
  674. package/veenedge/cloudServer.js.map +1 -0
  675. package/veenedge/cloudServers.d.ts +69 -0
  676. package/veenedge/cloudServers.js +36 -0
  677. package/veenedge/cloudServers.js.map +1 -0
  678. package/veenedge/index.d.ts +8 -0
  679. package/veenedge/index.js +52 -0
  680. package/veenedge/index.js.map +1 -0
  681. package/veenedge/instance.d.ts +170 -0
  682. package/veenedge/instance.js +91 -0
  683. package/veenedge/instance.js.map +1 -0
  684. package/veenedge/instanceTypes.d.ts +51 -0
  685. package/veenedge/instanceTypes.js +34 -0
  686. package/veenedge/instanceTypes.js.map +1 -0
  687. package/veenedge/instances.d.ts +92 -0
  688. package/veenedge/instances.js +43 -0
  689. package/veenedge/instances.js.map +1 -0
  690. package/veenedge/vpc.d.ts +108 -0
  691. package/veenedge/vpc.js +88 -0
  692. package/veenedge/vpc.js.map +1 -0
  693. package/veenedge/vpcs.d.ts +69 -0
  694. package/veenedge/vpcs.js +36 -0
  695. package/veenedge/vpcs.js.map +1 -0
  696. package/vke/addon.d.ts +135 -0
  697. package/vke/addon.js +89 -0
  698. package/vke/addon.js.map +1 -0
  699. package/vke/addons.d.ts +125 -0
  700. package/vke/addons.js +44 -0
  701. package/vke/addons.js.map +1 -0
  702. package/vke/cluster.d.ts +243 -0
  703. package/vke/cluster.js +144 -0
  704. package/vke/cluster.js.map +1 -0
  705. package/vke/clusters.d.ts +165 -0
  706. package/vke/clusters.js +51 -0
  707. package/vke/clusters.js.map +1 -0
  708. package/vke/defaultNodePool.d.ts +185 -0
  709. package/vke/defaultNodePool.js +148 -0
  710. package/vke/defaultNodePool.js.map +1 -0
  711. package/vke/defaultNodePoolBatchAttach.d.ts +248 -0
  712. package/vke/defaultNodePoolBatchAttach.js +206 -0
  713. package/vke/defaultNodePoolBatchAttach.js.map +1 -0
  714. package/vke/index.d.ts +13 -0
  715. package/vke/index.js +73 -0
  716. package/vke/index.js.map +1 -0
  717. package/vke/kubeconfig.d.ts +94 -0
  718. package/vke/kubeconfig.js +81 -0
  719. package/vke/kubeconfig.js.map +1 -0
  720. package/vke/kubeconfigs.d.ts +111 -0
  721. package/vke/kubeconfigs.js +46 -0
  722. package/vke/kubeconfigs.js.map +1 -0
  723. package/vke/node.d.ts +294 -0
  724. package/vke/node.js +210 -0
  725. package/vke/node.js.map +1 -0
  726. package/vke/nodePool.d.ts +187 -0
  727. package/vke/nodePool.js +133 -0
  728. package/vke/nodePool.js.map +1 -0
  729. package/vke/nodePools.d.ts +159 -0
  730. package/vke/nodePools.js +47 -0
  731. package/vke/nodePools.js.map +1 -0
  732. package/vke/nodes.d.ts +145 -0
  733. package/vke/nodes.js +58 -0
  734. package/vke/nodes.js.map +1 -0
  735. package/vke/supportAddons.d.ts +126 -0
  736. package/vke/supportAddons.js +44 -0
  737. package/vke/supportAddons.js.map +1 -0
  738. package/vpc/index.d.ts +24 -0
  739. package/vpc/index.js +108 -0
  740. package/vpc/index.js.map +1 -0
  741. package/vpc/ipv6AddressBandwidth.d.ts +197 -0
  742. package/vpc/ipv6AddressBandwidth.js +112 -0
  743. package/vpc/ipv6AddressBandwidth.js.map +1 -0
  744. package/vpc/ipv6AddressBandwidths.d.ts +122 -0
  745. package/vpc/ipv6AddressBandwidths.js +43 -0
  746. package/vpc/ipv6AddressBandwidths.js.map +1 -0
  747. package/vpc/ipv6Addresses.d.ts +62 -0
  748. package/vpc/ipv6Addresses.js +37 -0
  749. package/vpc/ipv6Addresses.js.map +1 -0
  750. package/vpc/ipv6Gateway.d.ts +126 -0
  751. package/vpc/ipv6Gateway.js +86 -0
  752. package/vpc/ipv6Gateway.js.map +1 -0
  753. package/vpc/ipv6Gateways.d.ts +92 -0
  754. package/vpc/ipv6Gateways.js +40 -0
  755. package/vpc/ipv6Gateways.js.map +1 -0
  756. package/vpc/networkAcl.d.ts +153 -0
  757. package/vpc/networkAcl.js +106 -0
  758. package/vpc/networkAcl.js.map +1 -0
  759. package/vpc/networkAclAssociate.d.ts +86 -0
  760. package/vpc/networkAclAssociate.js +83 -0
  761. package/vpc/networkAclAssociate.js.map +1 -0
  762. package/vpc/networkAcls.d.ts +107 -0
  763. package/vpc/networkAcls.js +44 -0
  764. package/vpc/networkAcls.js.map +1 -0
  765. package/vpc/networkInterface.d.ts +193 -0
  766. package/vpc/networkInterface.js +103 -0
  767. package/vpc/networkInterface.js.map +1 -0
  768. package/vpc/networkInterfaceAttach.d.ts +82 -0
  769. package/vpc/networkInterfaceAttach.js +79 -0
  770. package/vpc/networkInterfaceAttach.js.map +1 -0
  771. package/vpc/networkInterfaces.d.ts +203 -0
  772. package/vpc/networkInterfaces.js +50 -0
  773. package/vpc/networkInterfaces.js.map +1 -0
  774. package/vpc/routeEntries.d.ts +132 -0
  775. package/vpc/routeEntries.js +43 -0
  776. package/vpc/routeEntries.js.map +1 -0
  777. package/vpc/routeEntry.d.ts +150 -0
  778. package/vpc/routeEntry.js +101 -0
  779. package/vpc/routeEntry.js.map +1 -0
  780. package/vpc/routeTable.d.ts +108 -0
  781. package/vpc/routeTable.js +82 -0
  782. package/vpc/routeTable.js.map +1 -0
  783. package/vpc/routeTableAssociate.d.ts +82 -0
  784. package/vpc/routeTableAssociate.js +79 -0
  785. package/vpc/routeTableAssociate.js.map +1 -0
  786. package/vpc/routeTables.d.ts +102 -0
  787. package/vpc/routeTables.js +44 -0
  788. package/vpc/routeTables.js.map +1 -0
  789. package/vpc/securityGroup.d.ts +135 -0
  790. package/vpc/securityGroup.js +86 -0
  791. package/vpc/securityGroup.js.map +1 -0
  792. package/vpc/securityGroupRule.d.ts +230 -0
  793. package/vpc/securityGroupRule.js +150 -0
  794. package/vpc/securityGroupRule.js.map +1 -0
  795. package/vpc/securityGroupRules.d.ts +109 -0
  796. package/vpc/securityGroupRules.js +40 -0
  797. package/vpc/securityGroupRules.js.map +1 -0
  798. package/vpc/securityGroups.d.ts +116 -0
  799. package/vpc/securityGroups.js +42 -0
  800. package/vpc/securityGroups.js.map +1 -0
  801. package/vpc/subnet.d.ts +160 -0
  802. package/vpc/subnet.js +98 -0
  803. package/vpc/subnet.js.map +1 -0
  804. package/vpc/subnets.d.ts +119 -0
  805. package/vpc/subnets.js +42 -0
  806. package/vpc/subnets.js.map +1 -0
  807. package/vpc/vpc.d.ts +248 -0
  808. package/vpc/vpc.js +115 -0
  809. package/vpc/vpc.js.map +1 -0
  810. package/vpc/vpcs.d.ts +107 -0
  811. package/vpc/vpcs.js +41 -0
  812. package/vpc/vpcs.js.map +1 -0
  813. package/vpn/connection.d.ts +482 -0
  814. package/vpn/connection.js +177 -0
  815. package/vpn/connection.js.map +1 -0
  816. package/vpn/connections.d.ts +104 -0
  817. package/vpn/connections.js +41 -0
  818. package/vpn/connections.js.map +1 -0
  819. package/vpn/customerGateway.d.ts +156 -0
  820. package/vpn/customerGateway.js +94 -0
  821. package/vpn/customerGateway.js.map +1 -0
  822. package/vpn/customerGateways.d.ts +92 -0
  823. package/vpn/customerGateways.js +40 -0
  824. package/vpn/customerGateways.js.map +1 -0
  825. package/vpn/gateway.d.ts +281 -0
  826. package/vpn/gateway.js +126 -0
  827. package/vpn/gateway.js.map +1 -0
  828. package/vpn/gatewayRoute.d.ts +127 -0
  829. package/vpn/gatewayRoute.js +93 -0
  830. package/vpn/gatewayRoute.js.map +1 -0
  831. package/vpn/gatewayRoutes.d.ts +98 -0
  832. package/vpn/gatewayRoutes.js +40 -0
  833. package/vpn/gatewayRoutes.js.map +1 -0
  834. package/vpn/gateways.d.ts +125 -0
  835. package/vpn/gateways.js +43 -0
  836. package/vpn/gateways.js.map +1 -0
  837. package/vpn/index.d.ts +8 -0
  838. package/vpn/index.js +56 -0
  839. package/vpn/index.js.map +1 -0
@@ -0,0 +1,41 @@
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.scalingPoliciesOutput = exports.scalingPolicies = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of scaling policies
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const defaultScalingPolicies = pulumi.output(volcengine.autoscaling.ScalingPolicies({
17
+ * ids: ["sp-ybruzckr8bgh9zrxw29v"],
18
+ * scalingGroupId: "scg-ybqm0b6kcigh9zu9ce6t",
19
+ * }));
20
+ * ```
21
+ */
22
+ function scalingPolicies(args, opts) {
23
+ if (!opts) {
24
+ opts = {};
25
+ }
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
27
+ return pulumi.runtime.invoke("volcengine:autoscaling/scalingPolicies:ScalingPolicies", {
28
+ "ids": args.ids,
29
+ "nameRegex": args.nameRegex,
30
+ "outputFile": args.outputFile,
31
+ "scalingGroupId": args.scalingGroupId,
32
+ "scalingPolicyNames": args.scalingPolicyNames,
33
+ "scalingPolicyType": args.scalingPolicyType,
34
+ }, opts);
35
+ }
36
+ exports.scalingPolicies = scalingPolicies;
37
+ function scalingPoliciesOutput(args, opts) {
38
+ return pulumi.output(args).apply(a => scalingPolicies(a, opts));
39
+ }
40
+ exports.scalingPoliciesOutput = scalingPoliciesOutput;
41
+ //# sourceMappingURL=scalingPolicies.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scalingPolicies.js","sourceRoot":"","sources":["../../autoscaling/scalingPolicies.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;GAaG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,0CAcC;AA8DD,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
@@ -0,0 +1,306 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage scaling policy
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@pulumi/volcengine";
9
+ *
10
+ * const foo = new volcengine.autoscaling.ScalingPolicy("foo", {
11
+ * active: false,
12
+ * adjustmentType: "QuantityChangeInCapacity",
13
+ * adjustmentValue: 100,
14
+ * alarmPolicyConditionComparisonOperator: "=",
15
+ * alarmPolicyConditionMetricName: "Instance_CpuBusy_Avg",
16
+ * alarmPolicyConditionMetricUnit: "Percent",
17
+ * alarmPolicyConditionThreshold: "100",
18
+ * alarmPolicyEvaluationCount: 1,
19
+ * alarmPolicyRuleType: "Static",
20
+ * cooldown: 10,
21
+ * scalingGroupId: "scg-ybqm0b6kcigh9zu9ce6t",
22
+ * scalingPolicyName: "tf-test",
23
+ * scalingPolicyType: "Alarm",
24
+ * scheduledPolicyLaunchTime: "2022-07-09T09:59Z",
25
+ * scheduledPolicyRecurrenceEndTime: "2022-07-24T09:25Z",
26
+ * scheduledPolicyRecurrenceType: "Daily",
27
+ * scheduledPolicyRecurrenceValue: "10",
28
+ * });
29
+ * ```
30
+ *
31
+ * ## Import
32
+ *
33
+ * ScalingPolicy can be imported using the ScalingGroupId:ScalingPolicyId, e.g.
34
+ *
35
+ * ```sh
36
+ * $ pulumi import volcengine:autoscaling/scalingPolicy:ScalingPolicy default scg-yblfbfhy7agh9zn72iaz:sp-yblf9l4fvcl8j1prohsp
37
+ * ```
38
+ */
39
+ export declare class ScalingPolicy extends pulumi.CustomResource {
40
+ /**
41
+ * Get an existing ScalingPolicy resource's state with the given name, ID, and optional extra
42
+ * properties used to qualify the lookup.
43
+ *
44
+ * @param name The _unique_ name of the resulting resource.
45
+ * @param id The _unique_ provider ID of the resource to lookup.
46
+ * @param state Any extra arguments used during the lookup.
47
+ * @param opts Optional settings to control the behavior of the CustomResource.
48
+ */
49
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ScalingPolicyState, opts?: pulumi.CustomResourceOptions): ScalingPolicy;
50
+ /**
51
+ * Returns true if the given object is an instance of ScalingPolicy. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj: any): obj is ScalingPolicy;
55
+ /**
56
+ * The active flag of the scaling policy. [Warning] the scaling policy can be active only when the scaling group be active otherwise will fail.
57
+ */
58
+ readonly active: pulumi.Output<boolean>;
59
+ /**
60
+ * The adjustment type of the scaling policy. Valid values: QuantityChangeInCapacity, PercentChangeInCapacity, TotalCapacity.
61
+ */
62
+ readonly adjustmentType: pulumi.Output<string>;
63
+ /**
64
+ * The adjustment value of the scaling policy. When the value of the `AdjustmentType` parameter is `QuantityChangeInCapacity`: -100 ~ 100, 0 is not allowed, unit: piece. When the value of the `AdjustmentType` parameter is `PercentChangeInCapacity`: -100 ~ 10000, 0 is not allowed, unit: %. When the value of the `AdjustmentType` parameter is `TotalCapacity`: the default is 0 to 100, unit: piece.
65
+ */
66
+ readonly adjustmentValue: pulumi.Output<number>;
67
+ /**
68
+ * The comparison operator of the alarm policy condition of the scaling policy. Valid values: `>`, `<`, `=`. It is only valid and required when the value of `ScalingPolicyType` is `Alarm`.
69
+ */
70
+ readonly alarmPolicyConditionComparisonOperator: pulumi.Output<string | undefined>;
71
+ /**
72
+ * The metric name of the alarm policy condition of the scaling policy. Valid values: CpuTotal_Max, CpuTotal_Min, CpuTotal_Avg, MemoryUsedUtilization_Max, MemoryUsedUtilization_Min, MemoryUsedUtilization_Avg, Instance_CpuBusy_Max, Instance_CpuBusy_Min, Instance_CpuBusy_Avg.
73
+ */
74
+ readonly alarmPolicyConditionMetricName: pulumi.Output<string | undefined>;
75
+ /**
76
+ * The comparison operator of the alarm policy condition of the scaling policy. It is only valid and required when the value of `ScalingPolicyType` is `Alarm`.
77
+ */
78
+ readonly alarmPolicyConditionMetricUnit: pulumi.Output<string | undefined>;
79
+ /**
80
+ * The threshold of the alarm policy condition of the scaling policy. It is only valid and required when the value of `ScalingPolicyType` is `Alarm`.
81
+ */
82
+ readonly alarmPolicyConditionThreshold: pulumi.Output<string | undefined>;
83
+ /**
84
+ * The evaluation count of the alarm policy of the scaling policy. It is only valid and required when the value of `ScalingPolicyType` is `Alarm`.
85
+ */
86
+ readonly alarmPolicyEvaluationCount: pulumi.Output<number | undefined>;
87
+ /**
88
+ * The rule type of the alarm policy of the scaling policy. Valid value: Static. It is only valid and required when the value of `ScalingPolicyType` is `Alarm`.
89
+ */
90
+ readonly alarmPolicyRuleType: pulumi.Output<string | undefined>;
91
+ /**
92
+ * The cooldown of the scaling policy. Default value is the cooldown time of the scaling group. Value: 0~86400, unit: second, if left blank, the cooling time of the scaling group will be used by default.
93
+ */
94
+ readonly cooldown: pulumi.Output<number>;
95
+ /**
96
+ * The id of the scaling group to which the scaling policy belongs.
97
+ */
98
+ readonly scalingGroupId: pulumi.Output<string>;
99
+ /**
100
+ * The name of the scaling policy.
101
+ */
102
+ readonly scalingPolicyName: pulumi.Output<string>;
103
+ /**
104
+ * The type of scaling policy. Valid values: Scheduled, Recurrence, Alarm.
105
+ */
106
+ readonly scalingPolicyType: pulumi.Output<string>;
107
+ /**
108
+ * The launch time of the scheduled policy of the scaling policy.
109
+ * When the value of `ScalingPolicyType` is `Scheduled`, it means that the trigger time of the scheduled task must be greater than the current time.
110
+ * When the value of `ScalingPolicyType` is `Recurrence`: If `ScheduledPolicy.RecurrenceType` is not specified, it means to execute only once according to the date and time specified here.
111
+ * If `ScheduledPolicy.RecurrenceType` is specified, it indicates the start time of the periodic task. Only the time within 90 days from the date of creation/modification is supported.
112
+ * When the value of `ScalingPolicyType` is `Alarm`, this parameter is invalid.
113
+ */
114
+ readonly scheduledPolicyLaunchTime: pulumi.Output<string>;
115
+ /**
116
+ * The recurrence end time of the scheduled policy of the scaling policy. Valid and required when `ScalingPolicyType` is `Recurrence`. If not configured, it will default to the day/week/month after this moment according to the recurrence period (ScheduledPolicy.RecurrenceType).
117
+ */
118
+ readonly scheduledPolicyRecurrenceEndTime: pulumi.Output<string | undefined>;
119
+ /**
120
+ * The recurrence type the scheduled policy of the scaling policy. Valid values: Daily, Weekly, Monthly, Cron.
121
+ */
122
+ readonly scheduledPolicyRecurrenceType: pulumi.Output<string | undefined>;
123
+ /**
124
+ * The recurrence value the scheduled policy of the scaling policy. Valid and required when `ScalingPolicyType` is `Recurrence`. When the value of the ScheduledPolicy.RecurrenceType parameter is Daily, only one value can be filled in, ranging from 1 to 31.
125
+ * When the value of the ScheduledPolicy.RecurrenceType parameter is Weekly, you can enter multiple values separated by commas (,). The values from Monday to Sunday are: 1,2,3,4,5,6,7.
126
+ * When the value of the ScheduledPolicy.RecurrenceType parameter is Monthly, the format is A-B. The value ranges of A and B are both 1~31, and B must be greater than or equal to A.
127
+ * When the value of the ScheduledPolicy.RecurrenceType parameter is Cron, it means UTC+8 time, supports 5-field expressions of minutes, hours, days, months, and weeks, and supports wildcard English commas (,), English question marks (?), and conjunctions ( -), asterisk (*), pound sign (#), slash (/), L, and W.
128
+ */
129
+ readonly scheduledPolicyRecurrenceValue: pulumi.Output<string | undefined>;
130
+ /**
131
+ * The status of the scaling policy. Valid values: Active, InActive.
132
+ */
133
+ readonly status: pulumi.Output<string>;
134
+ /**
135
+ * Create a ScalingPolicy resource with the given unique name, arguments, and options.
136
+ *
137
+ * @param name The _unique_ name of the resource.
138
+ * @param args The arguments to use to populate this resource's properties.
139
+ * @param opts A bag of options that control this resource's behavior.
140
+ */
141
+ constructor(name: string, args: ScalingPolicyArgs, opts?: pulumi.CustomResourceOptions);
142
+ }
143
+ /**
144
+ * Input properties used for looking up and filtering ScalingPolicy resources.
145
+ */
146
+ export interface ScalingPolicyState {
147
+ /**
148
+ * The active flag of the scaling policy. [Warning] the scaling policy can be active only when the scaling group be active otherwise will fail.
149
+ */
150
+ active?: pulumi.Input<boolean>;
151
+ /**
152
+ * The adjustment type of the scaling policy. Valid values: QuantityChangeInCapacity, PercentChangeInCapacity, TotalCapacity.
153
+ */
154
+ adjustmentType?: pulumi.Input<string>;
155
+ /**
156
+ * The adjustment value of the scaling policy. When the value of the `AdjustmentType` parameter is `QuantityChangeInCapacity`: -100 ~ 100, 0 is not allowed, unit: piece. When the value of the `AdjustmentType` parameter is `PercentChangeInCapacity`: -100 ~ 10000, 0 is not allowed, unit: %. When the value of the `AdjustmentType` parameter is `TotalCapacity`: the default is 0 to 100, unit: piece.
157
+ */
158
+ adjustmentValue?: pulumi.Input<number>;
159
+ /**
160
+ * The comparison operator of the alarm policy condition of the scaling policy. Valid values: `>`, `<`, `=`. It is only valid and required when the value of `ScalingPolicyType` is `Alarm`.
161
+ */
162
+ alarmPolicyConditionComparisonOperator?: pulumi.Input<string>;
163
+ /**
164
+ * The metric name of the alarm policy condition of the scaling policy. Valid values: CpuTotal_Max, CpuTotal_Min, CpuTotal_Avg, MemoryUsedUtilization_Max, MemoryUsedUtilization_Min, MemoryUsedUtilization_Avg, Instance_CpuBusy_Max, Instance_CpuBusy_Min, Instance_CpuBusy_Avg.
165
+ */
166
+ alarmPolicyConditionMetricName?: pulumi.Input<string>;
167
+ /**
168
+ * The comparison operator of the alarm policy condition of the scaling policy. It is only valid and required when the value of `ScalingPolicyType` is `Alarm`.
169
+ */
170
+ alarmPolicyConditionMetricUnit?: pulumi.Input<string>;
171
+ /**
172
+ * The threshold of the alarm policy condition of the scaling policy. It is only valid and required when the value of `ScalingPolicyType` is `Alarm`.
173
+ */
174
+ alarmPolicyConditionThreshold?: pulumi.Input<string>;
175
+ /**
176
+ * The evaluation count of the alarm policy of the scaling policy. It is only valid and required when the value of `ScalingPolicyType` is `Alarm`.
177
+ */
178
+ alarmPolicyEvaluationCount?: pulumi.Input<number>;
179
+ /**
180
+ * The rule type of the alarm policy of the scaling policy. Valid value: Static. It is only valid and required when the value of `ScalingPolicyType` is `Alarm`.
181
+ */
182
+ alarmPolicyRuleType?: pulumi.Input<string>;
183
+ /**
184
+ * The cooldown of the scaling policy. Default value is the cooldown time of the scaling group. Value: 0~86400, unit: second, if left blank, the cooling time of the scaling group will be used by default.
185
+ */
186
+ cooldown?: pulumi.Input<number>;
187
+ /**
188
+ * The id of the scaling group to which the scaling policy belongs.
189
+ */
190
+ scalingGroupId?: pulumi.Input<string>;
191
+ /**
192
+ * The name of the scaling policy.
193
+ */
194
+ scalingPolicyName?: pulumi.Input<string>;
195
+ /**
196
+ * The type of scaling policy. Valid values: Scheduled, Recurrence, Alarm.
197
+ */
198
+ scalingPolicyType?: pulumi.Input<string>;
199
+ /**
200
+ * The launch time of the scheduled policy of the scaling policy.
201
+ * When the value of `ScalingPolicyType` is `Scheduled`, it means that the trigger time of the scheduled task must be greater than the current time.
202
+ * When the value of `ScalingPolicyType` is `Recurrence`: If `ScheduledPolicy.RecurrenceType` is not specified, it means to execute only once according to the date and time specified here.
203
+ * If `ScheduledPolicy.RecurrenceType` is specified, it indicates the start time of the periodic task. Only the time within 90 days from the date of creation/modification is supported.
204
+ * When the value of `ScalingPolicyType` is `Alarm`, this parameter is invalid.
205
+ */
206
+ scheduledPolicyLaunchTime?: pulumi.Input<string>;
207
+ /**
208
+ * The recurrence end time of the scheduled policy of the scaling policy. Valid and required when `ScalingPolicyType` is `Recurrence`. If not configured, it will default to the day/week/month after this moment according to the recurrence period (ScheduledPolicy.RecurrenceType).
209
+ */
210
+ scheduledPolicyRecurrenceEndTime?: pulumi.Input<string>;
211
+ /**
212
+ * The recurrence type the scheduled policy of the scaling policy. Valid values: Daily, Weekly, Monthly, Cron.
213
+ */
214
+ scheduledPolicyRecurrenceType?: pulumi.Input<string>;
215
+ /**
216
+ * The recurrence value the scheduled policy of the scaling policy. Valid and required when `ScalingPolicyType` is `Recurrence`. When the value of the ScheduledPolicy.RecurrenceType parameter is Daily, only one value can be filled in, ranging from 1 to 31.
217
+ * When the value of the ScheduledPolicy.RecurrenceType parameter is Weekly, you can enter multiple values separated by commas (,). The values from Monday to Sunday are: 1,2,3,4,5,6,7.
218
+ * When the value of the ScheduledPolicy.RecurrenceType parameter is Monthly, the format is A-B. The value ranges of A and B are both 1~31, and B must be greater than or equal to A.
219
+ * When the value of the ScheduledPolicy.RecurrenceType parameter is Cron, it means UTC+8 time, supports 5-field expressions of minutes, hours, days, months, and weeks, and supports wildcard English commas (,), English question marks (?), and conjunctions ( -), asterisk (*), pound sign (#), slash (/), L, and W.
220
+ */
221
+ scheduledPolicyRecurrenceValue?: pulumi.Input<string>;
222
+ /**
223
+ * The status of the scaling policy. Valid values: Active, InActive.
224
+ */
225
+ status?: pulumi.Input<string>;
226
+ }
227
+ /**
228
+ * The set of arguments for constructing a ScalingPolicy resource.
229
+ */
230
+ export interface ScalingPolicyArgs {
231
+ /**
232
+ * The active flag of the scaling policy. [Warning] the scaling policy can be active only when the scaling group be active otherwise will fail.
233
+ */
234
+ active?: pulumi.Input<boolean>;
235
+ /**
236
+ * The adjustment type of the scaling policy. Valid values: QuantityChangeInCapacity, PercentChangeInCapacity, TotalCapacity.
237
+ */
238
+ adjustmentType: pulumi.Input<string>;
239
+ /**
240
+ * The adjustment value of the scaling policy. When the value of the `AdjustmentType` parameter is `QuantityChangeInCapacity`: -100 ~ 100, 0 is not allowed, unit: piece. When the value of the `AdjustmentType` parameter is `PercentChangeInCapacity`: -100 ~ 10000, 0 is not allowed, unit: %. When the value of the `AdjustmentType` parameter is `TotalCapacity`: the default is 0 to 100, unit: piece.
241
+ */
242
+ adjustmentValue: pulumi.Input<number>;
243
+ /**
244
+ * The comparison operator of the alarm policy condition of the scaling policy. Valid values: `>`, `<`, `=`. It is only valid and required when the value of `ScalingPolicyType` is `Alarm`.
245
+ */
246
+ alarmPolicyConditionComparisonOperator?: pulumi.Input<string>;
247
+ /**
248
+ * The metric name of the alarm policy condition of the scaling policy. Valid values: CpuTotal_Max, CpuTotal_Min, CpuTotal_Avg, MemoryUsedUtilization_Max, MemoryUsedUtilization_Min, MemoryUsedUtilization_Avg, Instance_CpuBusy_Max, Instance_CpuBusy_Min, Instance_CpuBusy_Avg.
249
+ */
250
+ alarmPolicyConditionMetricName?: pulumi.Input<string>;
251
+ /**
252
+ * The comparison operator of the alarm policy condition of the scaling policy. It is only valid and required when the value of `ScalingPolicyType` is `Alarm`.
253
+ */
254
+ alarmPolicyConditionMetricUnit?: pulumi.Input<string>;
255
+ /**
256
+ * The threshold of the alarm policy condition of the scaling policy. It is only valid and required when the value of `ScalingPolicyType` is `Alarm`.
257
+ */
258
+ alarmPolicyConditionThreshold?: pulumi.Input<string>;
259
+ /**
260
+ * The evaluation count of the alarm policy of the scaling policy. It is only valid and required when the value of `ScalingPolicyType` is `Alarm`.
261
+ */
262
+ alarmPolicyEvaluationCount?: pulumi.Input<number>;
263
+ /**
264
+ * The rule type of the alarm policy of the scaling policy. Valid value: Static. It is only valid and required when the value of `ScalingPolicyType` is `Alarm`.
265
+ */
266
+ alarmPolicyRuleType?: pulumi.Input<string>;
267
+ /**
268
+ * The cooldown of the scaling policy. Default value is the cooldown time of the scaling group. Value: 0~86400, unit: second, if left blank, the cooling time of the scaling group will be used by default.
269
+ */
270
+ cooldown?: pulumi.Input<number>;
271
+ /**
272
+ * The id of the scaling group to which the scaling policy belongs.
273
+ */
274
+ scalingGroupId: pulumi.Input<string>;
275
+ /**
276
+ * The name of the scaling policy.
277
+ */
278
+ scalingPolicyName: pulumi.Input<string>;
279
+ /**
280
+ * The type of scaling policy. Valid values: Scheduled, Recurrence, Alarm.
281
+ */
282
+ scalingPolicyType: pulumi.Input<string>;
283
+ /**
284
+ * The launch time of the scheduled policy of the scaling policy.
285
+ * When the value of `ScalingPolicyType` is `Scheduled`, it means that the trigger time of the scheduled task must be greater than the current time.
286
+ * When the value of `ScalingPolicyType` is `Recurrence`: If `ScheduledPolicy.RecurrenceType` is not specified, it means to execute only once according to the date and time specified here.
287
+ * If `ScheduledPolicy.RecurrenceType` is specified, it indicates the start time of the periodic task. Only the time within 90 days from the date of creation/modification is supported.
288
+ * When the value of `ScalingPolicyType` is `Alarm`, this parameter is invalid.
289
+ */
290
+ scheduledPolicyLaunchTime?: pulumi.Input<string>;
291
+ /**
292
+ * The recurrence end time of the scheduled policy of the scaling policy. Valid and required when `ScalingPolicyType` is `Recurrence`. If not configured, it will default to the day/week/month after this moment according to the recurrence period (ScheduledPolicy.RecurrenceType).
293
+ */
294
+ scheduledPolicyRecurrenceEndTime?: pulumi.Input<string>;
295
+ /**
296
+ * The recurrence type the scheduled policy of the scaling policy. Valid values: Daily, Weekly, Monthly, Cron.
297
+ */
298
+ scheduledPolicyRecurrenceType?: pulumi.Input<string>;
299
+ /**
300
+ * The recurrence value the scheduled policy of the scaling policy. Valid and required when `ScalingPolicyType` is `Recurrence`. When the value of the ScheduledPolicy.RecurrenceType parameter is Daily, only one value can be filled in, ranging from 1 to 31.
301
+ * When the value of the ScheduledPolicy.RecurrenceType parameter is Weekly, you can enter multiple values separated by commas (,). The values from Monday to Sunday are: 1,2,3,4,5,6,7.
302
+ * When the value of the ScheduledPolicy.RecurrenceType parameter is Monthly, the format is A-B. The value ranges of A and B are both 1~31, and B must be greater than or equal to A.
303
+ * When the value of the ScheduledPolicy.RecurrenceType parameter is Cron, it means UTC+8 time, supports 5-field expressions of minutes, hours, days, months, and weeks, and supports wildcard English commas (,), English question marks (?), and conjunctions ( -), asterisk (*), pound sign (#), slash (/), L, and W.
304
+ */
305
+ scheduledPolicyRecurrenceValue?: pulumi.Input<string>;
306
+ }
@@ -0,0 +1,135 @@
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.ScalingPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage scaling policy
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const foo = new volcengine.autoscaling.ScalingPolicy("foo", {
17
+ * active: false,
18
+ * adjustmentType: "QuantityChangeInCapacity",
19
+ * adjustmentValue: 100,
20
+ * alarmPolicyConditionComparisonOperator: "=",
21
+ * alarmPolicyConditionMetricName: "Instance_CpuBusy_Avg",
22
+ * alarmPolicyConditionMetricUnit: "Percent",
23
+ * alarmPolicyConditionThreshold: "100",
24
+ * alarmPolicyEvaluationCount: 1,
25
+ * alarmPolicyRuleType: "Static",
26
+ * cooldown: 10,
27
+ * scalingGroupId: "scg-ybqm0b6kcigh9zu9ce6t",
28
+ * scalingPolicyName: "tf-test",
29
+ * scalingPolicyType: "Alarm",
30
+ * scheduledPolicyLaunchTime: "2022-07-09T09:59Z",
31
+ * scheduledPolicyRecurrenceEndTime: "2022-07-24T09:25Z",
32
+ * scheduledPolicyRecurrenceType: "Daily",
33
+ * scheduledPolicyRecurrenceValue: "10",
34
+ * });
35
+ * ```
36
+ *
37
+ * ## Import
38
+ *
39
+ * ScalingPolicy can be imported using the ScalingGroupId:ScalingPolicyId, e.g.
40
+ *
41
+ * ```sh
42
+ * $ pulumi import volcengine:autoscaling/scalingPolicy:ScalingPolicy default scg-yblfbfhy7agh9zn72iaz:sp-yblf9l4fvcl8j1prohsp
43
+ * ```
44
+ */
45
+ class ScalingPolicy extends pulumi.CustomResource {
46
+ /**
47
+ * Get an existing ScalingPolicy resource's state with the given name, ID, and optional extra
48
+ * properties used to qualify the lookup.
49
+ *
50
+ * @param name The _unique_ name of the resulting resource.
51
+ * @param id The _unique_ provider ID of the resource to lookup.
52
+ * @param state Any extra arguments used during the lookup.
53
+ * @param opts Optional settings to control the behavior of the CustomResource.
54
+ */
55
+ static get(name, id, state, opts) {
56
+ return new ScalingPolicy(name, state, Object.assign(Object.assign({}, opts), { id: id }));
57
+ }
58
+ /**
59
+ * Returns true if the given object is an instance of ScalingPolicy. This is designed to work even
60
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
61
+ */
62
+ static isInstance(obj) {
63
+ if (obj === undefined || obj === null) {
64
+ return false;
65
+ }
66
+ return obj['__pulumiType'] === ScalingPolicy.__pulumiType;
67
+ }
68
+ constructor(name, argsOrState, opts) {
69
+ let resourceInputs = {};
70
+ opts = opts || {};
71
+ if (opts.id) {
72
+ const state = argsOrState;
73
+ resourceInputs["active"] = state ? state.active : undefined;
74
+ resourceInputs["adjustmentType"] = state ? state.adjustmentType : undefined;
75
+ resourceInputs["adjustmentValue"] = state ? state.adjustmentValue : undefined;
76
+ resourceInputs["alarmPolicyConditionComparisonOperator"] = state ? state.alarmPolicyConditionComparisonOperator : undefined;
77
+ resourceInputs["alarmPolicyConditionMetricName"] = state ? state.alarmPolicyConditionMetricName : undefined;
78
+ resourceInputs["alarmPolicyConditionMetricUnit"] = state ? state.alarmPolicyConditionMetricUnit : undefined;
79
+ resourceInputs["alarmPolicyConditionThreshold"] = state ? state.alarmPolicyConditionThreshold : undefined;
80
+ resourceInputs["alarmPolicyEvaluationCount"] = state ? state.alarmPolicyEvaluationCount : undefined;
81
+ resourceInputs["alarmPolicyRuleType"] = state ? state.alarmPolicyRuleType : undefined;
82
+ resourceInputs["cooldown"] = state ? state.cooldown : undefined;
83
+ resourceInputs["scalingGroupId"] = state ? state.scalingGroupId : undefined;
84
+ resourceInputs["scalingPolicyName"] = state ? state.scalingPolicyName : undefined;
85
+ resourceInputs["scalingPolicyType"] = state ? state.scalingPolicyType : undefined;
86
+ resourceInputs["scheduledPolicyLaunchTime"] = state ? state.scheduledPolicyLaunchTime : undefined;
87
+ resourceInputs["scheduledPolicyRecurrenceEndTime"] = state ? state.scheduledPolicyRecurrenceEndTime : undefined;
88
+ resourceInputs["scheduledPolicyRecurrenceType"] = state ? state.scheduledPolicyRecurrenceType : undefined;
89
+ resourceInputs["scheduledPolicyRecurrenceValue"] = state ? state.scheduledPolicyRecurrenceValue : undefined;
90
+ resourceInputs["status"] = state ? state.status : undefined;
91
+ }
92
+ else {
93
+ const args = argsOrState;
94
+ if ((!args || args.adjustmentType === undefined) && !opts.urn) {
95
+ throw new Error("Missing required property 'adjustmentType'");
96
+ }
97
+ if ((!args || args.adjustmentValue === undefined) && !opts.urn) {
98
+ throw new Error("Missing required property 'adjustmentValue'");
99
+ }
100
+ if ((!args || args.scalingGroupId === undefined) && !opts.urn) {
101
+ throw new Error("Missing required property 'scalingGroupId'");
102
+ }
103
+ if ((!args || args.scalingPolicyName === undefined) && !opts.urn) {
104
+ throw new Error("Missing required property 'scalingPolicyName'");
105
+ }
106
+ if ((!args || args.scalingPolicyType === undefined) && !opts.urn) {
107
+ throw new Error("Missing required property 'scalingPolicyType'");
108
+ }
109
+ resourceInputs["active"] = args ? args.active : undefined;
110
+ resourceInputs["adjustmentType"] = args ? args.adjustmentType : undefined;
111
+ resourceInputs["adjustmentValue"] = args ? args.adjustmentValue : undefined;
112
+ resourceInputs["alarmPolicyConditionComparisonOperator"] = args ? args.alarmPolicyConditionComparisonOperator : undefined;
113
+ resourceInputs["alarmPolicyConditionMetricName"] = args ? args.alarmPolicyConditionMetricName : undefined;
114
+ resourceInputs["alarmPolicyConditionMetricUnit"] = args ? args.alarmPolicyConditionMetricUnit : undefined;
115
+ resourceInputs["alarmPolicyConditionThreshold"] = args ? args.alarmPolicyConditionThreshold : undefined;
116
+ resourceInputs["alarmPolicyEvaluationCount"] = args ? args.alarmPolicyEvaluationCount : undefined;
117
+ resourceInputs["alarmPolicyRuleType"] = args ? args.alarmPolicyRuleType : undefined;
118
+ resourceInputs["cooldown"] = args ? args.cooldown : undefined;
119
+ resourceInputs["scalingGroupId"] = args ? args.scalingGroupId : undefined;
120
+ resourceInputs["scalingPolicyName"] = args ? args.scalingPolicyName : undefined;
121
+ resourceInputs["scalingPolicyType"] = args ? args.scalingPolicyType : undefined;
122
+ resourceInputs["scheduledPolicyLaunchTime"] = args ? args.scheduledPolicyLaunchTime : undefined;
123
+ resourceInputs["scheduledPolicyRecurrenceEndTime"] = args ? args.scheduledPolicyRecurrenceEndTime : undefined;
124
+ resourceInputs["scheduledPolicyRecurrenceType"] = args ? args.scheduledPolicyRecurrenceType : undefined;
125
+ resourceInputs["scheduledPolicyRecurrenceValue"] = args ? args.scheduledPolicyRecurrenceValue : undefined;
126
+ resourceInputs["status"] = undefined /*out*/;
127
+ }
128
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
129
+ super(ScalingPolicy.__pulumiType, name, resourceInputs, opts);
130
+ }
131
+ }
132
+ exports.ScalingPolicy = ScalingPolicy;
133
+ /** @internal */
134
+ ScalingPolicy.__pulumiType = 'volcengine:autoscaling/scalingPolicy:ScalingPolicy';
135
+ //# sourceMappingURL=scalingPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scalingPolicy.js","sourceRoot":"","sources":["../../autoscaling/scalingPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;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CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,kCAAkC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gCAAgC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9G,cAAc,CAAC,+BAA+B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC,CAAC,SAAS,CAAC;YACxG,cAAc,CAAC,gCAAgC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1G,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAjLL,sCAkLC;AApKG,gBAAgB;AACO,0BAAY,GAAG,oDAAoD,CAAC"}
@@ -0,0 +1,121 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * Provides a resource to manage bioos cluster
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const foo = new volcengine.bioos.Cluster("foo", {
12
+ * description: "test-description", //选填
13
+ * // vke_config { //选填,和shared_config二者中必填一个
14
+ * // cluster_id = "ccerdh8fqtofh16uf6q60" //也可替换成volcengine_vke_cluster.example.id
15
+ * // storage_class = "ebs-ssd"
16
+ * // }
17
+ * sharedConfigs: [{
18
+ * enable: true,
19
+ * }],
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * Cluster can be imported using the id, e.g.
26
+ *
27
+ * ```sh
28
+ * $ pulumi import volcengine:bioos/cluster:Cluster default *****
29
+ * ```
30
+ */
31
+ export declare class Cluster extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing Cluster resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterState, opts?: pulumi.CustomResourceOptions): Cluster;
42
+ /**
43
+ * Returns true if the given object is an instance of Cluster. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is Cluster;
47
+ /**
48
+ * The id of the vke cluster.
49
+ */
50
+ readonly clusterId: pulumi.Output<string>;
51
+ /**
52
+ * The description of the cluster.
53
+ */
54
+ readonly description: pulumi.Output<string | undefined>;
55
+ /**
56
+ * The name of the cluster.
57
+ */
58
+ readonly name: pulumi.Output<string>;
59
+ /**
60
+ * The configuration of the shared cluster.
61
+ */
62
+ readonly sharedConfigs: pulumi.Output<outputs.bioos.ClusterSharedConfig[] | undefined>;
63
+ /**
64
+ * The configuration of the vke cluster.
65
+ */
66
+ readonly vkeConfigs: pulumi.Output<outputs.bioos.ClusterVkeConfig[] | undefined>;
67
+ /**
68
+ * Create a Cluster resource with the given unique name, arguments, and options.
69
+ *
70
+ * @param name The _unique_ name of the resource.
71
+ * @param args The arguments to use to populate this resource's properties.
72
+ * @param opts A bag of options that control this resource's behavior.
73
+ */
74
+ constructor(name: string, args?: ClusterArgs, opts?: pulumi.CustomResourceOptions);
75
+ }
76
+ /**
77
+ * Input properties used for looking up and filtering Cluster resources.
78
+ */
79
+ export interface ClusterState {
80
+ /**
81
+ * The id of the vke cluster.
82
+ */
83
+ clusterId?: pulumi.Input<string>;
84
+ /**
85
+ * The description of the cluster.
86
+ */
87
+ description?: pulumi.Input<string>;
88
+ /**
89
+ * The name of the cluster.
90
+ */
91
+ name?: pulumi.Input<string>;
92
+ /**
93
+ * The configuration of the shared cluster.
94
+ */
95
+ sharedConfigs?: pulumi.Input<pulumi.Input<inputs.bioos.ClusterSharedConfig>[]>;
96
+ /**
97
+ * The configuration of the vke cluster.
98
+ */
99
+ vkeConfigs?: pulumi.Input<pulumi.Input<inputs.bioos.ClusterVkeConfig>[]>;
100
+ }
101
+ /**
102
+ * The set of arguments for constructing a Cluster resource.
103
+ */
104
+ export interface ClusterArgs {
105
+ /**
106
+ * The description of the cluster.
107
+ */
108
+ description?: pulumi.Input<string>;
109
+ /**
110
+ * The name of the cluster.
111
+ */
112
+ name?: pulumi.Input<string>;
113
+ /**
114
+ * The configuration of the shared cluster.
115
+ */
116
+ sharedConfigs?: pulumi.Input<pulumi.Input<inputs.bioos.ClusterSharedConfig>[]>;
117
+ /**
118
+ * The configuration of the vke cluster.
119
+ */
120
+ vkeConfigs?: pulumi.Input<pulumi.Input<inputs.bioos.ClusterVkeConfig>[]>;
121
+ }