@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,116 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage scaling group enabler
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as pulumi from "@volcengine/pulumi";
9
+ *
10
+ * // 创建步骤:terraform init -> terraform plan -> terraform apply
11
+ * // 删除步骤: terraform state rm volcengine_scaling_configuration.foo1 -> terraform destroy
12
+ * // 创建伸缩组
13
+ * const foo = new volcengine.autoscaling.ScalingGroup("foo", {
14
+ * scalingGroupName: "zzm-tf-test",
15
+ * subnetIds: ["subnet-2fegl9waotzi859gp67relkhv"],
16
+ * multiAzPolicy: "BALANCE",
17
+ * desireInstanceNumber: 0,
18
+ * minInstanceNumber: 0,
19
+ * maxInstanceNumber: 1,
20
+ * instanceTerminatePolicy: "OldestInstance",
21
+ * defaultCooldown: 10,
22
+ * });
23
+ * // 创建伸缩配置
24
+ * const foo1 = new volcengine.autoscaling.ScalingConfiguration("foo1", {
25
+ * scalingConfigurationName: "terraform-test",
26
+ * scalingGroupId: foo.scalingGroupId,
27
+ * imageId: "image-ybx2d38wdfl8j1pupx7b",
28
+ * instanceTypes: ["ecs.g1.2xlarge"],
29
+ * instanceName: "tf-test",
30
+ * instanceDescription: "",
31
+ * hostName: "",
32
+ * password: "",
33
+ * keyPairName: "zktest",
34
+ * securityEnhancementStrategy: "InActive",
35
+ * volumes: [
36
+ * {
37
+ * volumeType: "ESSD_PL0",
38
+ * size: 20,
39
+ * deleteWithInstance: false,
40
+ * },
41
+ * {
42
+ * volumeType: "ESSD_PL0",
43
+ * size: 20,
44
+ * deleteWithInstance: true,
45
+ * },
46
+ * ],
47
+ * securityGroupIds: ["sg-12b8llnkn1la817q7y1be4kop"],
48
+ * eipBandwidth: 0,
49
+ * eipIsp: "ChinaMobile",
50
+ * eipBillingType: "PostPaidByBandwidth",
51
+ * });
52
+ * // 绑定伸缩配置
53
+ * const foo2 = new volcengine.autoscaling.ScalingConfigurationAttachment("foo2", {scalingConfigurationId: foo1.scalingConfigurationId}, {
54
+ * dependsOn: [foo1],
55
+ * });
56
+ * // 启用伸缩组
57
+ * const foo3 = new volcengine.autoscaling.ScalingGroupEnabler("foo3", {scalingGroupId: foo.scalingGroupId}, {
58
+ * dependsOn: [foo2],
59
+ * });
60
+ * ```
61
+ *
62
+ * ## Import
63
+ *
64
+ * Scaling Group enabler can be imported using the scaling_group_id, e.g.
65
+ *
66
+ * ```sh
67
+ * $ pulumi import volcengine:autoscaling/scalingGroupEnabler:ScalingGroupEnabler default enable:scg-mizl7m1kqccg5smt1bdpijuj
68
+ * ```
69
+ */
70
+ export declare class ScalingGroupEnabler extends pulumi.CustomResource {
71
+ /**
72
+ * Get an existing ScalingGroupEnabler resource's state with the given name, ID, and optional extra
73
+ * properties used to qualify the lookup.
74
+ *
75
+ * @param name The _unique_ name of the resulting resource.
76
+ * @param id The _unique_ provider ID of the resource to lookup.
77
+ * @param state Any extra arguments used during the lookup.
78
+ * @param opts Optional settings to control the behavior of the CustomResource.
79
+ */
80
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ScalingGroupEnablerState, opts?: pulumi.CustomResourceOptions): ScalingGroupEnabler;
81
+ /**
82
+ * Returns true if the given object is an instance of ScalingGroupEnabler. This is designed to work even
83
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
84
+ */
85
+ static isInstance(obj: any): obj is ScalingGroupEnabler;
86
+ /**
87
+ * The id of the scaling group.
88
+ */
89
+ readonly scalingGroupId: pulumi.Output<string>;
90
+ /**
91
+ * Create a ScalingGroupEnabler resource with the given unique name, arguments, and options.
92
+ *
93
+ * @param name The _unique_ name of the resource.
94
+ * @param args The arguments to use to populate this resource's properties.
95
+ * @param opts A bag of options that control this resource's behavior.
96
+ */
97
+ constructor(name: string, args: ScalingGroupEnablerArgs, opts?: pulumi.CustomResourceOptions);
98
+ }
99
+ /**
100
+ * Input properties used for looking up and filtering ScalingGroupEnabler resources.
101
+ */
102
+ export interface ScalingGroupEnablerState {
103
+ /**
104
+ * The id of the scaling group.
105
+ */
106
+ scalingGroupId?: pulumi.Input<string>;
107
+ }
108
+ /**
109
+ * The set of arguments for constructing a ScalingGroupEnabler resource.
110
+ */
111
+ export interface ScalingGroupEnablerArgs {
112
+ /**
113
+ * The id of the scaling group.
114
+ */
115
+ scalingGroupId: pulumi.Input<string>;
116
+ }
@@ -0,0 +1,120 @@
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.ScalingGroupEnabler = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage scaling group enabler
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as pulumi from "@volcengine/pulumi";
15
+ *
16
+ * // 创建步骤:terraform init -> terraform plan -> terraform apply
17
+ * // 删除步骤: terraform state rm volcengine_scaling_configuration.foo1 -> terraform destroy
18
+ * // 创建伸缩组
19
+ * const foo = new volcengine.autoscaling.ScalingGroup("foo", {
20
+ * scalingGroupName: "zzm-tf-test",
21
+ * subnetIds: ["subnet-2fegl9waotzi859gp67relkhv"],
22
+ * multiAzPolicy: "BALANCE",
23
+ * desireInstanceNumber: 0,
24
+ * minInstanceNumber: 0,
25
+ * maxInstanceNumber: 1,
26
+ * instanceTerminatePolicy: "OldestInstance",
27
+ * defaultCooldown: 10,
28
+ * });
29
+ * // 创建伸缩配置
30
+ * const foo1 = new volcengine.autoscaling.ScalingConfiguration("foo1", {
31
+ * scalingConfigurationName: "terraform-test",
32
+ * scalingGroupId: foo.scalingGroupId,
33
+ * imageId: "image-ybx2d38wdfl8j1pupx7b",
34
+ * instanceTypes: ["ecs.g1.2xlarge"],
35
+ * instanceName: "tf-test",
36
+ * instanceDescription: "",
37
+ * hostName: "",
38
+ * password: "",
39
+ * keyPairName: "zktest",
40
+ * securityEnhancementStrategy: "InActive",
41
+ * volumes: [
42
+ * {
43
+ * volumeType: "ESSD_PL0",
44
+ * size: 20,
45
+ * deleteWithInstance: false,
46
+ * },
47
+ * {
48
+ * volumeType: "ESSD_PL0",
49
+ * size: 20,
50
+ * deleteWithInstance: true,
51
+ * },
52
+ * ],
53
+ * securityGroupIds: ["sg-12b8llnkn1la817q7y1be4kop"],
54
+ * eipBandwidth: 0,
55
+ * eipIsp: "ChinaMobile",
56
+ * eipBillingType: "PostPaidByBandwidth",
57
+ * });
58
+ * // 绑定伸缩配置
59
+ * const foo2 = new volcengine.autoscaling.ScalingConfigurationAttachment("foo2", {scalingConfigurationId: foo1.scalingConfigurationId}, {
60
+ * dependsOn: [foo1],
61
+ * });
62
+ * // 启用伸缩组
63
+ * const foo3 = new volcengine.autoscaling.ScalingGroupEnabler("foo3", {scalingGroupId: foo.scalingGroupId}, {
64
+ * dependsOn: [foo2],
65
+ * });
66
+ * ```
67
+ *
68
+ * ## Import
69
+ *
70
+ * Scaling Group enabler can be imported using the scaling_group_id, e.g.
71
+ *
72
+ * ```sh
73
+ * $ pulumi import volcengine:autoscaling/scalingGroupEnabler:ScalingGroupEnabler default enable:scg-mizl7m1kqccg5smt1bdpijuj
74
+ * ```
75
+ */
76
+ class ScalingGroupEnabler extends pulumi.CustomResource {
77
+ /**
78
+ * Get an existing ScalingGroupEnabler resource's state with the given name, ID, and optional extra
79
+ * properties used to qualify the lookup.
80
+ *
81
+ * @param name The _unique_ name of the resulting resource.
82
+ * @param id The _unique_ provider ID of the resource to lookup.
83
+ * @param state Any extra arguments used during the lookup.
84
+ * @param opts Optional settings to control the behavior of the CustomResource.
85
+ */
86
+ static get(name, id, state, opts) {
87
+ return new ScalingGroupEnabler(name, state, Object.assign(Object.assign({}, opts), { id: id }));
88
+ }
89
+ /**
90
+ * Returns true if the given object is an instance of ScalingGroupEnabler. This is designed to work even
91
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
92
+ */
93
+ static isInstance(obj) {
94
+ if (obj === undefined || obj === null) {
95
+ return false;
96
+ }
97
+ return obj['__pulumiType'] === ScalingGroupEnabler.__pulumiType;
98
+ }
99
+ constructor(name, argsOrState, opts) {
100
+ let resourceInputs = {};
101
+ opts = opts || {};
102
+ if (opts.id) {
103
+ const state = argsOrState;
104
+ resourceInputs["scalingGroupId"] = state ? state.scalingGroupId : undefined;
105
+ }
106
+ else {
107
+ const args = argsOrState;
108
+ if ((!args || args.scalingGroupId === undefined) && !opts.urn) {
109
+ throw new Error("Missing required property 'scalingGroupId'");
110
+ }
111
+ resourceInputs["scalingGroupId"] = args ? args.scalingGroupId : undefined;
112
+ }
113
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
114
+ super(ScalingGroupEnabler.__pulumiType, name, resourceInputs, opts);
115
+ }
116
+ }
117
+ exports.ScalingGroupEnabler = ScalingGroupEnabler;
118
+ /** @internal */
119
+ ScalingGroupEnabler.__pulumiType = 'volcengine:autoscaling/scalingGroupEnabler:ScalingGroupEnabler';
120
+ //# sourceMappingURL=scalingGroupEnabler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scalingGroupEnabler.js","sourceRoot":"","sources":["../../autoscaling/scalingGroupEnabler.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAeD,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;aAAM;YACH,MAAM,IAAI,GAAG,WAAkD,CAAC;YAChE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAxDL,kDAyDC;AA3CG,gBAAgB;AACO,gCAAY,GAAG,gEAAgE,CAAC"}
@@ -0,0 +1,80 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "../types";
3
+ /**
4
+ * Use this data source to query detailed information of scaling groups
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const defaultScalingGroups = pulumi.output(volcengine.autoscaling.ScalingGroups({
12
+ * ids: ["scg-ybru8pazhgl8j1di4tyd"],
13
+ * }));
14
+ * ```
15
+ */
16
+ export declare function scalingGroups(args?: ScalingGroupsArgs, opts?: pulumi.InvokeOptions): Promise<ScalingGroupsResult>;
17
+ /**
18
+ * A collection of arguments for invoking ScalingGroups.
19
+ */
20
+ export interface ScalingGroupsArgs {
21
+ /**
22
+ * A list of scaling group ids.
23
+ */
24
+ ids?: string[];
25
+ /**
26
+ * A Name Regex of scaling group.
27
+ */
28
+ nameRegex?: string;
29
+ /**
30
+ * File name where to save data source results.
31
+ */
32
+ outputFile?: string;
33
+ /**
34
+ * A list of scaling group names.
35
+ */
36
+ scalingGroupNames?: string[];
37
+ }
38
+ /**
39
+ * A collection of values returned by ScalingGroups.
40
+ */
41
+ export interface ScalingGroupsResult {
42
+ /**
43
+ * The provider-assigned unique ID for this managed resource.
44
+ */
45
+ readonly id: string;
46
+ readonly ids?: string[];
47
+ readonly nameRegex?: string;
48
+ readonly outputFile?: string;
49
+ readonly scalingGroupNames?: string[];
50
+ /**
51
+ * The collection of scaling group query.
52
+ */
53
+ readonly scalingGroups: outputs.autoscaling.ScalingGroupsScalingGroup[];
54
+ /**
55
+ * The total count of scaling group query.
56
+ */
57
+ readonly totalCount: number;
58
+ }
59
+ export declare function scalingGroupsOutput(args?: ScalingGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ScalingGroupsResult>;
60
+ /**
61
+ * A collection of arguments for invoking ScalingGroups.
62
+ */
63
+ export interface ScalingGroupsOutputArgs {
64
+ /**
65
+ * A list of scaling group ids.
66
+ */
67
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
68
+ /**
69
+ * A Name Regex of scaling group.
70
+ */
71
+ nameRegex?: pulumi.Input<string>;
72
+ /**
73
+ * File name where to save data source results.
74
+ */
75
+ outputFile?: pulumi.Input<string>;
76
+ /**
77
+ * A list of scaling group names.
78
+ */
79
+ scalingGroupNames?: pulumi.Input<pulumi.Input<string>[]>;
80
+ }
@@ -0,0 +1,39 @@
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.scalingGroupsOutput = exports.scalingGroups = 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 groups
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const defaultScalingGroups = pulumi.output(volcengine.autoscaling.ScalingGroups({
17
+ * ids: ["scg-ybru8pazhgl8j1di4tyd"],
18
+ * }));
19
+ * ```
20
+ */
21
+ function scalingGroups(args, opts) {
22
+ args = args || {};
23
+ if (!opts) {
24
+ opts = {};
25
+ }
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
27
+ return pulumi.runtime.invoke("volcengine:autoscaling/scalingGroups:ScalingGroups", {
28
+ "ids": args.ids,
29
+ "nameRegex": args.nameRegex,
30
+ "outputFile": args.outputFile,
31
+ "scalingGroupNames": args.scalingGroupNames,
32
+ }, opts);
33
+ }
34
+ exports.scalingGroups = scalingGroups;
35
+ function scalingGroupsOutput(args, opts) {
36
+ return pulumi.output(args).apply(a => scalingGroups(a, opts));
37
+ }
38
+ exports.scalingGroupsOutput = scalingGroupsOutput;
39
+ //# sourceMappingURL=scalingGroups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scalingGroups.js","sourceRoot":"","sources":["../../autoscaling/scalingGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,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,oDAAoD,EAAE;QAC/E,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,sCAaC;AA8CD,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,kDAEC"}
@@ -0,0 +1,121 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage scaling instance attachment
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.ScalingInstanceAttachment("foo", {
11
+ * deleteType: "Remove",
12
+ * detachOption: "none",
13
+ * entrusted: true,
14
+ * instanceId: "i-yc23soxj50gsnz7rxnjp",
15
+ * scalingGroupId: "scg-yc23rtcea88hcchybf8g",
16
+ * });
17
+ * ```
18
+ *
19
+ * ## Import
20
+ *
21
+ * Scaling instance attachment can be imported using the scaling_group_id and instance_id, e.g. You can choose to remove or detach the instance according to the `delete_type` field.
22
+ *
23
+ * ```sh
24
+ * $ pulumi import volcengine:autoscaling/scalingInstanceAttachment:ScalingInstanceAttachment default scg-mizl7m1kqccg5smt1bdpijuj:i-l8u2ai4j0fauo6mrpgk8
25
+ * ```
26
+ */
27
+ export declare class ScalingInstanceAttachment extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing ScalingInstanceAttachment resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ScalingInstanceAttachmentState, opts?: pulumi.CustomResourceOptions): ScalingInstanceAttachment;
38
+ /**
39
+ * Returns true if the given object is an instance of ScalingInstanceAttachment. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj: any): obj is ScalingInstanceAttachment;
43
+ /**
44
+ * The type of delete activity. Valid values: Remove, Detach. Default value is Remove.
45
+ */
46
+ readonly deleteType: pulumi.Output<string | undefined>;
47
+ /**
48
+ * Whether to cancel the association of the instance with the load balancing and public network IP. Valid values: both, none. Default value is both.
49
+ */
50
+ readonly detachOption: pulumi.Output<string | undefined>;
51
+ /**
52
+ * Whether to host the instance to a scaling group. Default value is false.
53
+ */
54
+ readonly entrusted: pulumi.Output<boolean | undefined>;
55
+ /**
56
+ * The id of the instance.
57
+ */
58
+ readonly instanceId: pulumi.Output<string>;
59
+ /**
60
+ * The id of the scaling group.
61
+ */
62
+ readonly scalingGroupId: pulumi.Output<string>;
63
+ /**
64
+ * Create a ScalingInstanceAttachment resource with the given unique name, arguments, and options.
65
+ *
66
+ * @param name The _unique_ name of the resource.
67
+ * @param args The arguments to use to populate this resource's properties.
68
+ * @param opts A bag of options that control this resource's behavior.
69
+ */
70
+ constructor(name: string, args: ScalingInstanceAttachmentArgs, opts?: pulumi.CustomResourceOptions);
71
+ }
72
+ /**
73
+ * Input properties used for looking up and filtering ScalingInstanceAttachment resources.
74
+ */
75
+ export interface ScalingInstanceAttachmentState {
76
+ /**
77
+ * The type of delete activity. Valid values: Remove, Detach. Default value is Remove.
78
+ */
79
+ deleteType?: pulumi.Input<string>;
80
+ /**
81
+ * Whether to cancel the association of the instance with the load balancing and public network IP. Valid values: both, none. Default value is both.
82
+ */
83
+ detachOption?: pulumi.Input<string>;
84
+ /**
85
+ * Whether to host the instance to a scaling group. Default value is false.
86
+ */
87
+ entrusted?: pulumi.Input<boolean>;
88
+ /**
89
+ * The id of the instance.
90
+ */
91
+ instanceId?: pulumi.Input<string>;
92
+ /**
93
+ * The id of the scaling group.
94
+ */
95
+ scalingGroupId?: pulumi.Input<string>;
96
+ }
97
+ /**
98
+ * The set of arguments for constructing a ScalingInstanceAttachment resource.
99
+ */
100
+ export interface ScalingInstanceAttachmentArgs {
101
+ /**
102
+ * The type of delete activity. Valid values: Remove, Detach. Default value is Remove.
103
+ */
104
+ deleteType?: pulumi.Input<string>;
105
+ /**
106
+ * Whether to cancel the association of the instance with the load balancing and public network IP. Valid values: both, none. Default value is both.
107
+ */
108
+ detachOption?: pulumi.Input<string>;
109
+ /**
110
+ * Whether to host the instance to a scaling group. Default value is false.
111
+ */
112
+ entrusted?: pulumi.Input<boolean>;
113
+ /**
114
+ * The id of the instance.
115
+ */
116
+ instanceId: pulumi.Input<string>;
117
+ /**
118
+ * The id of the scaling group.
119
+ */
120
+ scalingGroupId: pulumi.Input<string>;
121
+ }
@@ -0,0 +1,88 @@
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.ScalingInstanceAttachment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage scaling instance attachment
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.ScalingInstanceAttachment("foo", {
17
+ * deleteType: "Remove",
18
+ * detachOption: "none",
19
+ * entrusted: true,
20
+ * instanceId: "i-yc23soxj50gsnz7rxnjp",
21
+ * scalingGroupId: "scg-yc23rtcea88hcchybf8g",
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * Scaling instance attachment can be imported using the scaling_group_id and instance_id, e.g. You can choose to remove or detach the instance according to the `delete_type` field.
28
+ *
29
+ * ```sh
30
+ * $ pulumi import volcengine:autoscaling/scalingInstanceAttachment:ScalingInstanceAttachment default scg-mizl7m1kqccg5smt1bdpijuj:i-l8u2ai4j0fauo6mrpgk8
31
+ * ```
32
+ */
33
+ class ScalingInstanceAttachment extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing ScalingInstanceAttachment resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, state, opts) {
44
+ return new ScalingInstanceAttachment(name, state, Object.assign(Object.assign({}, opts), { id: id }));
45
+ }
46
+ /**
47
+ * Returns true if the given object is an instance of ScalingInstanceAttachment. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj) {
51
+ if (obj === undefined || obj === null) {
52
+ return false;
53
+ }
54
+ return obj['__pulumiType'] === ScalingInstanceAttachment.__pulumiType;
55
+ }
56
+ constructor(name, argsOrState, opts) {
57
+ let resourceInputs = {};
58
+ opts = opts || {};
59
+ if (opts.id) {
60
+ const state = argsOrState;
61
+ resourceInputs["deleteType"] = state ? state.deleteType : undefined;
62
+ resourceInputs["detachOption"] = state ? state.detachOption : undefined;
63
+ resourceInputs["entrusted"] = state ? state.entrusted : undefined;
64
+ resourceInputs["instanceId"] = state ? state.instanceId : undefined;
65
+ resourceInputs["scalingGroupId"] = state ? state.scalingGroupId : undefined;
66
+ }
67
+ else {
68
+ const args = argsOrState;
69
+ if ((!args || args.instanceId === undefined) && !opts.urn) {
70
+ throw new Error("Missing required property 'instanceId'");
71
+ }
72
+ if ((!args || args.scalingGroupId === undefined) && !opts.urn) {
73
+ throw new Error("Missing required property 'scalingGroupId'");
74
+ }
75
+ resourceInputs["deleteType"] = args ? args.deleteType : undefined;
76
+ resourceInputs["detachOption"] = args ? args.detachOption : undefined;
77
+ resourceInputs["entrusted"] = args ? args.entrusted : undefined;
78
+ resourceInputs["instanceId"] = args ? args.instanceId : undefined;
79
+ resourceInputs["scalingGroupId"] = args ? args.scalingGroupId : undefined;
80
+ }
81
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
82
+ super(ScalingInstanceAttachment.__pulumiType, name, resourceInputs, opts);
83
+ }
84
+ }
85
+ exports.ScalingInstanceAttachment = ScalingInstanceAttachment;
86
+ /** @internal */
87
+ ScalingInstanceAttachment.__pulumiType = 'volcengine:autoscaling/scalingInstanceAttachment:ScalingInstanceAttachment';
88
+ //# sourceMappingURL=scalingInstanceAttachment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scalingInstanceAttachment.js","sourceRoot":"","sources":["../../autoscaling/scalingInstanceAttachment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IA+BD,YAAY,IAAY,EAAE,WAA4E,EAAE,IAAmC;QACvI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyD,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;aAAM;YACH,MAAM,IAAI,GAAG,WAAwD,CAAC;YACtE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,cAAc,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC3D,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAC;aACjE;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAnFL,8DAoFC;AAtEG,gBAAgB;AACO,sCAAY,GAAG,4EAA4E,CAAC"}