@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,146 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "../types";
3
+ /**
4
+ * Use this data source to query detailed information of nat gateways
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const defaultGateways = pulumi.output(volcengine.nat.Gateways({
12
+ * ids: [
13
+ * "ngw-2743w1f6iqby87fap8tvm9kop",
14
+ * "ngw-274gwbqe340zk7fap8spkzo7x",
15
+ * ],
16
+ * }));
17
+ * ```
18
+ */
19
+ export declare function gateways(args?: GatewaysArgs, opts?: pulumi.InvokeOptions): Promise<GatewaysResult>;
20
+ /**
21
+ * A collection of arguments for invoking Gateways.
22
+ */
23
+ export interface GatewaysArgs {
24
+ /**
25
+ * The description of the NatGateway.
26
+ */
27
+ description?: string;
28
+ /**
29
+ * The list of NatGateway IDs.
30
+ */
31
+ ids?: string[];
32
+ /**
33
+ * The Name Regex of NatGateway.
34
+ */
35
+ nameRegex?: string;
36
+ /**
37
+ * The name of the NatGateway.
38
+ */
39
+ natGatewayName?: string;
40
+ /**
41
+ * File name where to save data source results.
42
+ */
43
+ outputFile?: string;
44
+ /**
45
+ * The specification of the NatGateway.
46
+ */
47
+ spec?: string;
48
+ /**
49
+ * The id of the Subnet.
50
+ */
51
+ subnetId?: string;
52
+ /**
53
+ * Tags.
54
+ */
55
+ tags?: inputs.nat.GatewaysTag[];
56
+ /**
57
+ * The id of the VPC.
58
+ */
59
+ vpcId?: string;
60
+ }
61
+ /**
62
+ * A collection of values returned by Gateways.
63
+ */
64
+ export interface GatewaysResult {
65
+ /**
66
+ * The description of the NatGateway.
67
+ */
68
+ readonly description?: string;
69
+ /**
70
+ * The provider-assigned unique ID for this managed resource.
71
+ */
72
+ readonly id: string;
73
+ readonly ids?: string[];
74
+ readonly nameRegex?: string;
75
+ /**
76
+ * The name of the NatGateway.
77
+ */
78
+ readonly natGatewayName?: string;
79
+ /**
80
+ * The collection of NatGateway query.
81
+ */
82
+ readonly natGateways: outputs.nat.GatewaysNatGateway[];
83
+ readonly outputFile?: string;
84
+ /**
85
+ * The specification of the NatGateway.
86
+ */
87
+ readonly spec?: string;
88
+ /**
89
+ * The ID of the Subnet.
90
+ */
91
+ readonly subnetId?: string;
92
+ /**
93
+ * Tags.
94
+ */
95
+ readonly tags?: outputs.nat.GatewaysTag[];
96
+ /**
97
+ * The total count of NatGateway query.
98
+ */
99
+ readonly totalCount: number;
100
+ /**
101
+ * The ID of the VPC.
102
+ */
103
+ readonly vpcId?: string;
104
+ }
105
+ export declare function gatewaysOutput(args?: GatewaysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GatewaysResult>;
106
+ /**
107
+ * A collection of arguments for invoking Gateways.
108
+ */
109
+ export interface GatewaysOutputArgs {
110
+ /**
111
+ * The description of the NatGateway.
112
+ */
113
+ description?: pulumi.Input<string>;
114
+ /**
115
+ * The list of NatGateway IDs.
116
+ */
117
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
118
+ /**
119
+ * The Name Regex of NatGateway.
120
+ */
121
+ nameRegex?: pulumi.Input<string>;
122
+ /**
123
+ * The name of the NatGateway.
124
+ */
125
+ natGatewayName?: pulumi.Input<string>;
126
+ /**
127
+ * File name where to save data source results.
128
+ */
129
+ outputFile?: pulumi.Input<string>;
130
+ /**
131
+ * The specification of the NatGateway.
132
+ */
133
+ spec?: pulumi.Input<string>;
134
+ /**
135
+ * The id of the Subnet.
136
+ */
137
+ subnetId?: pulumi.Input<string>;
138
+ /**
139
+ * Tags.
140
+ */
141
+ tags?: pulumi.Input<pulumi.Input<inputs.nat.GatewaysTagArgs>[]>;
142
+ /**
143
+ * The id of the VPC.
144
+ */
145
+ vpcId?: pulumi.Input<string>;
146
+ }
@@ -0,0 +1,47 @@
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.gatewaysOutput = exports.gateways = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of nat gateways
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const defaultGateways = pulumi.output(volcengine.nat.Gateways({
17
+ * ids: [
18
+ * "ngw-2743w1f6iqby87fap8tvm9kop",
19
+ * "ngw-274gwbqe340zk7fap8spkzo7x",
20
+ * ],
21
+ * }));
22
+ * ```
23
+ */
24
+ function gateways(args, opts) {
25
+ args = args || {};
26
+ if (!opts) {
27
+ opts = {};
28
+ }
29
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
30
+ return pulumi.runtime.invoke("volcengine:nat/gateways:Gateways", {
31
+ "description": args.description,
32
+ "ids": args.ids,
33
+ "nameRegex": args.nameRegex,
34
+ "natGatewayName": args.natGatewayName,
35
+ "outputFile": args.outputFile,
36
+ "spec": args.spec,
37
+ "subnetId": args.subnetId,
38
+ "tags": args.tags,
39
+ "vpcId": args.vpcId,
40
+ }, opts);
41
+ }
42
+ exports.gateways = gateways;
43
+ function gatewaysOutput(args, opts) {
44
+ return pulumi.output(args).apply(a => gateways(a, opts));
45
+ }
46
+ exports.gatewaysOutput = gatewaysOutput;
47
+ //# sourceMappingURL=gateways.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gateways.js","sourceRoot":"","sources":["../../nat/gateways.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,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,kCAAkC,EAAE;QAC7D,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAlBD,4BAkBC;AAyFD,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5D,CAAC;AAFD,wCAEC"}
package/nat/index.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ export * from "./dnatEntries";
2
+ export * from "./dnatEntry";
3
+ export * from "./gateway";
4
+ export * from "./gateways";
5
+ export * from "./snatEntries";
6
+ export * from "./snatEntry";
package/nat/index.js ADDED
@@ -0,0 +1,50 @@
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ const pulumi = require("@pulumi/pulumi");
20
+ const utilities = require("../utilities");
21
+ // Export members:
22
+ __exportStar(require("./dnatEntries"), exports);
23
+ __exportStar(require("./dnatEntry"), exports);
24
+ __exportStar(require("./gateway"), exports);
25
+ __exportStar(require("./gateways"), exports);
26
+ __exportStar(require("./snatEntries"), exports);
27
+ __exportStar(require("./snatEntry"), exports);
28
+ // Import resources to register:
29
+ const dnatEntry_1 = require("./dnatEntry");
30
+ const gateway_1 = require("./gateway");
31
+ const snatEntry_1 = require("./snatEntry");
32
+ const _module = {
33
+ version: utilities.getVersion(),
34
+ construct: (name, type, urn) => {
35
+ switch (type) {
36
+ case "volcengine:nat/dnatEntry:DnatEntry":
37
+ return new dnatEntry_1.DnatEntry(name, undefined, { urn });
38
+ case "volcengine:nat/gateway:Gateway":
39
+ return new gateway_1.Gateway(name, undefined, { urn });
40
+ case "volcengine:nat/snatEntry:SnatEntry":
41
+ return new snatEntry_1.SnatEntry(name, undefined, { urn });
42
+ default:
43
+ throw new Error(`unknown resource type ${type}`);
44
+ }
45
+ },
46
+ };
47
+ pulumi.runtime.registerResourceModule("volcengine", "nat/dnatEntry", _module);
48
+ pulumi.runtime.registerResourceModule("volcengine", "nat/gateway", _module);
49
+ pulumi.runtime.registerResourceModule("volcengine", "nat/snatEntry", _module);
50
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../nat/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C,kBAAkB;AAClB,gDAA8B;AAC9B,8CAA4B;AAC5B,4CAA0B;AAC1B,6CAA2B;AAC3B,gDAA8B;AAC9B,8CAA4B;AAE5B,gCAAgC;AAChC,2CAAwC;AACxC,uCAAoC;AACpC,2CAAwC;AAExC,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,oCAAoC;gBACrC,OAAO,IAAI,qBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,gCAAgC;gBACjC,OAAO,IAAI,iBAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,oCAAoC;gBACrC,OAAO,IAAI,qBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA;AAC7E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA;AAC3E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA"}
@@ -0,0 +1,122 @@
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 snat entries
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const defaultSnatEntries = pulumi.output(volcengine.nat.SnatEntries({
12
+ * ids: ["snat-274zl8b1kxzb47fap8u35uune"],
13
+ * }));
14
+ * ```
15
+ */
16
+ export declare function snatEntries(args?: SnatEntriesArgs, opts?: pulumi.InvokeOptions): Promise<SnatEntriesResult>;
17
+ /**
18
+ * A collection of arguments for invoking SnatEntries.
19
+ */
20
+ export interface SnatEntriesArgs {
21
+ /**
22
+ * An id of the public ip address used by the SNAT entry.
23
+ */
24
+ eipId?: string;
25
+ /**
26
+ * A list of SNAT entry ids.
27
+ */
28
+ ids?: string[];
29
+ /**
30
+ * An id of the nat gateway to which the entry belongs.
31
+ */
32
+ natGatewayId?: string;
33
+ /**
34
+ * File name where to save data source results.
35
+ */
36
+ outputFile?: string;
37
+ /**
38
+ * A name of SNAT entry.
39
+ */
40
+ snatEntryName?: string;
41
+ /**
42
+ * The SourceCidr of SNAT entry.
43
+ */
44
+ sourceCidr?: string;
45
+ /**
46
+ * An id of the subnet that is required to access the Internet.
47
+ */
48
+ subnetId?: string;
49
+ }
50
+ /**
51
+ * A collection of values returned by SnatEntries.
52
+ */
53
+ export interface SnatEntriesResult {
54
+ /**
55
+ * The id of the public ip address used by the SNAT entry.
56
+ */
57
+ readonly eipId?: string;
58
+ /**
59
+ * The provider-assigned unique ID for this managed resource.
60
+ */
61
+ readonly id: string;
62
+ readonly ids?: string[];
63
+ /**
64
+ * The id of the nat gateway to which the entry belongs.
65
+ */
66
+ readonly natGatewayId?: string;
67
+ readonly outputFile?: string;
68
+ /**
69
+ * The collection of snat entries.
70
+ */
71
+ readonly snatEntries: outputs.nat.SnatEntriesSnatEntry[];
72
+ /**
73
+ * The name of the SNAT entry.
74
+ */
75
+ readonly snatEntryName?: string;
76
+ /**
77
+ * The SourceCidr of the SNAT entry.
78
+ */
79
+ readonly sourceCidr?: string;
80
+ /**
81
+ * The id of the subnet that is required to access the internet.
82
+ */
83
+ readonly subnetId?: string;
84
+ /**
85
+ * The total count of snat entries query.
86
+ */
87
+ readonly totalCount: number;
88
+ }
89
+ export declare function snatEntriesOutput(args?: SnatEntriesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<SnatEntriesResult>;
90
+ /**
91
+ * A collection of arguments for invoking SnatEntries.
92
+ */
93
+ export interface SnatEntriesOutputArgs {
94
+ /**
95
+ * An id of the public ip address used by the SNAT entry.
96
+ */
97
+ eipId?: pulumi.Input<string>;
98
+ /**
99
+ * A list of SNAT entry ids.
100
+ */
101
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
102
+ /**
103
+ * An id of the nat gateway to which the entry belongs.
104
+ */
105
+ natGatewayId?: pulumi.Input<string>;
106
+ /**
107
+ * File name where to save data source results.
108
+ */
109
+ outputFile?: pulumi.Input<string>;
110
+ /**
111
+ * A name of SNAT entry.
112
+ */
113
+ snatEntryName?: pulumi.Input<string>;
114
+ /**
115
+ * The SourceCidr of SNAT entry.
116
+ */
117
+ sourceCidr?: pulumi.Input<string>;
118
+ /**
119
+ * An id of the subnet that is required to access the Internet.
120
+ */
121
+ subnetId?: pulumi.Input<string>;
122
+ }
@@ -0,0 +1,42 @@
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.snatEntriesOutput = exports.snatEntries = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of snat entries
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const defaultSnatEntries = pulumi.output(volcengine.nat.SnatEntries({
17
+ * ids: ["snat-274zl8b1kxzb47fap8u35uune"],
18
+ * }));
19
+ * ```
20
+ */
21
+ function snatEntries(args, opts) {
22
+ args = args || {};
23
+ if (!opts) {
24
+ opts = {};
25
+ }
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
27
+ return pulumi.runtime.invoke("volcengine:nat/snatEntries:SnatEntries", {
28
+ "eipId": args.eipId,
29
+ "ids": args.ids,
30
+ "natGatewayId": args.natGatewayId,
31
+ "outputFile": args.outputFile,
32
+ "snatEntryName": args.snatEntryName,
33
+ "sourceCidr": args.sourceCidr,
34
+ "subnetId": args.subnetId,
35
+ }, opts);
36
+ }
37
+ exports.snatEntries = snatEntries;
38
+ function snatEntriesOutput(args, opts) {
39
+ return pulumi.output(args).apply(a => snatEntries(a, opts));
40
+ }
41
+ exports.snatEntriesOutput = snatEntriesOutput;
42
+ //# sourceMappingURL=snatEntries.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"snatEntries.js","sourceRoot":"","sources":["../../nat/snatEntries.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;GAYG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,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,wCAAwC,EAAE;QACnE,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAhBD,kCAgBC;AA4ED,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/D,CAAC;AAFD,8CAEC"}
@@ -0,0 +1,128 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage snat entry
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.nat.SnatEntry("foo", {
11
+ * eipId: "eip-274zlae117nr47fap8tzl24v4",
12
+ * natGatewayId: "ngw-2743w1f6iqby87fap8tvm9kop",
13
+ * snatEntryName: "tf-test-up",
14
+ * subnetId: "subnet-2744i7u9alnnk7fap8tkq8aft",
15
+ * });
16
+ * ```
17
+ *
18
+ * ## Import
19
+ *
20
+ * Snat entry can be imported using the id, e.g.
21
+ *
22
+ * ```sh
23
+ * $ pulumi import volcengine:nat/snatEntry:SnatEntry default snat-3fvhk47kf56****
24
+ * ```
25
+ */
26
+ export declare class SnatEntry extends pulumi.CustomResource {
27
+ /**
28
+ * Get an existing SnatEntry resource's state with the given name, ID, and optional extra
29
+ * properties used to qualify the lookup.
30
+ *
31
+ * @param name The _unique_ name of the resulting resource.
32
+ * @param id The _unique_ provider ID of the resource to lookup.
33
+ * @param state Any extra arguments used during the lookup.
34
+ * @param opts Optional settings to control the behavior of the CustomResource.
35
+ */
36
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SnatEntryState, opts?: pulumi.CustomResourceOptions): SnatEntry;
37
+ /**
38
+ * Returns true if the given object is an instance of SnatEntry. This is designed to work even
39
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
40
+ */
41
+ static isInstance(obj: any): obj is SnatEntry;
42
+ /**
43
+ * The id of the public ip address used by the SNAT entry.
44
+ */
45
+ readonly eipId: pulumi.Output<string>;
46
+ /**
47
+ * The id of the nat gateway to which the entry belongs.
48
+ */
49
+ readonly natGatewayId: pulumi.Output<string>;
50
+ /**
51
+ * The name of the SNAT entry.
52
+ */
53
+ readonly snatEntryName: pulumi.Output<string>;
54
+ /**
55
+ * The SourceCidr of the SNAT entry. Only one of `subnet_id,source_cidr` can be specified.
56
+ */
57
+ readonly sourceCidr: pulumi.Output<string | undefined>;
58
+ /**
59
+ * The status of the SNAT entry.
60
+ */
61
+ readonly status: pulumi.Output<string>;
62
+ /**
63
+ * The id of the subnet that is required to access the internet. Only one of `subnet_id,source_cidr` can be specified.
64
+ */
65
+ readonly subnetId: pulumi.Output<string | undefined>;
66
+ /**
67
+ * Create a SnatEntry resource with the given unique name, arguments, and options.
68
+ *
69
+ * @param name The _unique_ name of the resource.
70
+ * @param args The arguments to use to populate this resource's properties.
71
+ * @param opts A bag of options that control this resource's behavior.
72
+ */
73
+ constructor(name: string, args: SnatEntryArgs, opts?: pulumi.CustomResourceOptions);
74
+ }
75
+ /**
76
+ * Input properties used for looking up and filtering SnatEntry resources.
77
+ */
78
+ export interface SnatEntryState {
79
+ /**
80
+ * The id of the public ip address used by the SNAT entry.
81
+ */
82
+ eipId?: pulumi.Input<string>;
83
+ /**
84
+ * The id of the nat gateway to which the entry belongs.
85
+ */
86
+ natGatewayId?: pulumi.Input<string>;
87
+ /**
88
+ * The name of the SNAT entry.
89
+ */
90
+ snatEntryName?: pulumi.Input<string>;
91
+ /**
92
+ * The SourceCidr of the SNAT entry. Only one of `subnet_id,source_cidr` can be specified.
93
+ */
94
+ sourceCidr?: pulumi.Input<string>;
95
+ /**
96
+ * The status of the SNAT entry.
97
+ */
98
+ status?: pulumi.Input<string>;
99
+ /**
100
+ * The id of the subnet that is required to access the internet. Only one of `subnet_id,source_cidr` can be specified.
101
+ */
102
+ subnetId?: pulumi.Input<string>;
103
+ }
104
+ /**
105
+ * The set of arguments for constructing a SnatEntry resource.
106
+ */
107
+ export interface SnatEntryArgs {
108
+ /**
109
+ * The id of the public ip address used by the SNAT entry.
110
+ */
111
+ eipId: pulumi.Input<string>;
112
+ /**
113
+ * The id of the nat gateway to which the entry belongs.
114
+ */
115
+ natGatewayId: pulumi.Input<string>;
116
+ /**
117
+ * The name of the SNAT entry.
118
+ */
119
+ snatEntryName?: pulumi.Input<string>;
120
+ /**
121
+ * The SourceCidr of the SNAT entry. Only one of `subnet_id,source_cidr` can be specified.
122
+ */
123
+ sourceCidr?: pulumi.Input<string>;
124
+ /**
125
+ * The id of the subnet that is required to access the internet. Only one of `subnet_id,source_cidr` can be specified.
126
+ */
127
+ subnetId?: pulumi.Input<string>;
128
+ }
@@ -0,0 +1,89 @@
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.SnatEntry = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage snat entry
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.nat.SnatEntry("foo", {
17
+ * eipId: "eip-274zlae117nr47fap8tzl24v4",
18
+ * natGatewayId: "ngw-2743w1f6iqby87fap8tvm9kop",
19
+ * snatEntryName: "tf-test-up",
20
+ * subnetId: "subnet-2744i7u9alnnk7fap8tkq8aft",
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Import
25
+ *
26
+ * Snat entry can be imported using the id, e.g.
27
+ *
28
+ * ```sh
29
+ * $ pulumi import volcengine:nat/snatEntry:SnatEntry default snat-3fvhk47kf56****
30
+ * ```
31
+ */
32
+ class SnatEntry extends pulumi.CustomResource {
33
+ /**
34
+ * Get an existing SnatEntry resource's state with the given name, ID, and optional extra
35
+ * properties used to qualify the lookup.
36
+ *
37
+ * @param name The _unique_ name of the resulting resource.
38
+ * @param id The _unique_ provider ID of the resource to lookup.
39
+ * @param state Any extra arguments used during the lookup.
40
+ * @param opts Optional settings to control the behavior of the CustomResource.
41
+ */
42
+ static get(name, id, state, opts) {
43
+ return new SnatEntry(name, state, Object.assign(Object.assign({}, opts), { id: id }));
44
+ }
45
+ /**
46
+ * Returns true if the given object is an instance of SnatEntry. This is designed to work even
47
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
48
+ */
49
+ static isInstance(obj) {
50
+ if (obj === undefined || obj === null) {
51
+ return false;
52
+ }
53
+ return obj['__pulumiType'] === SnatEntry.__pulumiType;
54
+ }
55
+ constructor(name, argsOrState, opts) {
56
+ let resourceInputs = {};
57
+ opts = opts || {};
58
+ if (opts.id) {
59
+ const state = argsOrState;
60
+ resourceInputs["eipId"] = state ? state.eipId : undefined;
61
+ resourceInputs["natGatewayId"] = state ? state.natGatewayId : undefined;
62
+ resourceInputs["snatEntryName"] = state ? state.snatEntryName : undefined;
63
+ resourceInputs["sourceCidr"] = state ? state.sourceCidr : undefined;
64
+ resourceInputs["status"] = state ? state.status : undefined;
65
+ resourceInputs["subnetId"] = state ? state.subnetId : undefined;
66
+ }
67
+ else {
68
+ const args = argsOrState;
69
+ if ((!args || args.eipId === undefined) && !opts.urn) {
70
+ throw new Error("Missing required property 'eipId'");
71
+ }
72
+ if ((!args || args.natGatewayId === undefined) && !opts.urn) {
73
+ throw new Error("Missing required property 'natGatewayId'");
74
+ }
75
+ resourceInputs["eipId"] = args ? args.eipId : undefined;
76
+ resourceInputs["natGatewayId"] = args ? args.natGatewayId : undefined;
77
+ resourceInputs["snatEntryName"] = args ? args.snatEntryName : undefined;
78
+ resourceInputs["sourceCidr"] = args ? args.sourceCidr : undefined;
79
+ resourceInputs["subnetId"] = args ? args.subnetId : undefined;
80
+ resourceInputs["status"] = undefined /*out*/;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ super(SnatEntry.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+ exports.SnatEntry = SnatEntry;
87
+ /** @internal */
88
+ SnatEntry.__pulumiType = 'volcengine:nat/snatEntry:SnatEntry';
89
+ //# sourceMappingURL=snatEntry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"snatEntry.js","sourceRoot":"","sources":["../../nat/snatEntry.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAmCD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;aAAM;YACH,MAAM,IAAI,GAAG,WAAwC,CAAC;YACtD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,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,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAzFL,8BA0FC;AA5EG,gBAAgB;AACO,sBAAY,GAAG,oCAAoC,CAAC"}
package/package.json ADDED
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "@volcengine/pulumi",
3
+ "version": "v0.0.12",
4
+ "description": "A Pulumi package for creating and managing volcengine cloud resources.",
5
+ "keywords": [
6
+ "pulumi",
7
+ "volcengine",
8
+ "category/cloud"
9
+ ],
10
+ "homepage": "https://www.pulumi.com",
11
+ "repository": "https://github.com/volcengine/pulumi-volcengine",
12
+ "license": "Apache-2.0",
13
+ "scripts": {
14
+ "build": "tsc",
15
+ "install": "node scripts/install-pulumi-plugin.js resource volcengine v0.0.12"
16
+ },
17
+ "dependencies": {
18
+ "@pulumi/pulumi": "^3.0.0"
19
+ },
20
+ "devDependencies": {
21
+ "@types/mime": "^2.0.0",
22
+ "@types/node": "^10.0.0",
23
+ "typescript": "^4.3.5"
24
+ },
25
+ "pulumi": {
26
+ "resource": true,
27
+ "pluginDownloadURL": "github://api.github.com/volcengine"
28
+ }
29
+ }