@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,103 @@
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.NetworkInterface = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage network interface
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.vpc.NetworkInterface("foo", {
17
+ * description: "tf-test-up",
18
+ * networkInterfaceName: "tf-test-up",
19
+ * portSecurityEnabled: false,
20
+ * primaryIpAddress: "192.168.5.253",
21
+ * privateIpAddresses: ["192.168.5.2"],
22
+ * projectName: "default",
23
+ * securityGroupIds: ["sg-2fepz3c793g1s59gp67y21r34"],
24
+ * subnetId: "subnet-2fe79j7c8o5c059gp68ksxr93",
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * Network interface can be imported using the id, e.g.
31
+ *
32
+ * ```sh
33
+ * $ pulumi import volcengine:vpc/networkInterface:NetworkInterface default eni-bp1fgnh68xyz9****
34
+ * ```
35
+ */
36
+ class NetworkInterface extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing NetworkInterface resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param state Any extra arguments used during the lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name, id, state, opts) {
47
+ return new NetworkInterface(name, state, Object.assign(Object.assign({}, opts), { id: id }));
48
+ }
49
+ /**
50
+ * Returns true if the given object is an instance of NetworkInterface. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj) {
54
+ if (obj === undefined || obj === null) {
55
+ return false;
56
+ }
57
+ return obj['__pulumiType'] === NetworkInterface.__pulumiType;
58
+ }
59
+ constructor(name, argsOrState, opts) {
60
+ let resourceInputs = {};
61
+ opts = opts || {};
62
+ if (opts.id) {
63
+ const state = argsOrState;
64
+ resourceInputs["description"] = state ? state.description : undefined;
65
+ resourceInputs["networkInterfaceName"] = state ? state.networkInterfaceName : undefined;
66
+ resourceInputs["portSecurityEnabled"] = state ? state.portSecurityEnabled : undefined;
67
+ resourceInputs["primaryIpAddress"] = state ? state.primaryIpAddress : undefined;
68
+ resourceInputs["privateIpAddresses"] = state ? state.privateIpAddresses : undefined;
69
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
70
+ resourceInputs["secondaryPrivateIpAddressCount"] = state ? state.secondaryPrivateIpAddressCount : undefined;
71
+ resourceInputs["securityGroupIds"] = state ? state.securityGroupIds : undefined;
72
+ resourceInputs["status"] = state ? state.status : undefined;
73
+ resourceInputs["subnetId"] = state ? state.subnetId : undefined;
74
+ resourceInputs["tags"] = state ? state.tags : undefined;
75
+ }
76
+ else {
77
+ const args = argsOrState;
78
+ if ((!args || args.securityGroupIds === undefined) && !opts.urn) {
79
+ throw new Error("Missing required property 'securityGroupIds'");
80
+ }
81
+ if ((!args || args.subnetId === undefined) && !opts.urn) {
82
+ throw new Error("Missing required property 'subnetId'");
83
+ }
84
+ resourceInputs["description"] = args ? args.description : undefined;
85
+ resourceInputs["networkInterfaceName"] = args ? args.networkInterfaceName : undefined;
86
+ resourceInputs["portSecurityEnabled"] = args ? args.portSecurityEnabled : undefined;
87
+ resourceInputs["primaryIpAddress"] = args ? args.primaryIpAddress : undefined;
88
+ resourceInputs["privateIpAddresses"] = args ? args.privateIpAddresses : undefined;
89
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
90
+ resourceInputs["secondaryPrivateIpAddressCount"] = args ? args.secondaryPrivateIpAddressCount : undefined;
91
+ resourceInputs["securityGroupIds"] = args ? args.securityGroupIds : undefined;
92
+ resourceInputs["subnetId"] = args ? args.subnetId : undefined;
93
+ resourceInputs["tags"] = args ? args.tags : undefined;
94
+ resourceInputs["status"] = undefined /*out*/;
95
+ }
96
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
97
+ super(NetworkInterface.__pulumiType, name, resourceInputs, opts);
98
+ }
99
+ }
100
+ exports.NetworkInterface = NetworkInterface;
101
+ /** @internal */
102
+ NetworkInterface.__pulumiType = 'volcengine:vpc/networkInterface:NetworkInterface';
103
+ //# sourceMappingURL=networkInterface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkInterface.js","sourceRoot":"","sources":["../../vpc/networkInterface.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAuDD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,sBAAsB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,oBAAoB,C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IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,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,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAvHL,4CAwHC;AA1GG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
@@ -0,0 +1,82 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage network interface attach
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.vpc.NetworkInterfaceAttach("foo", {
11
+ * instanceId: "i-72q20hi6s082wcafdem8",
12
+ * networkInterfaceId: "eni-274ecj646ylts7fap8t6xbba1",
13
+ * });
14
+ * ```
15
+ *
16
+ * ## Import
17
+ *
18
+ * Network interface attach can be imported using the network_interface_id:instance_id.
19
+ *
20
+ * ```sh
21
+ * $ pulumi import volcengine:vpc/networkInterfaceAttach:NetworkInterfaceAttach default eni-bp1fg655nh68xyz9***:i-wijfn35c****
22
+ * ```
23
+ */
24
+ export declare class NetworkInterfaceAttach extends pulumi.CustomResource {
25
+ /**
26
+ * Get an existing NetworkInterfaceAttach resource's state with the given name, ID, and optional extra
27
+ * properties used to qualify the lookup.
28
+ *
29
+ * @param name The _unique_ name of the resulting resource.
30
+ * @param id The _unique_ provider ID of the resource to lookup.
31
+ * @param state Any extra arguments used during the lookup.
32
+ * @param opts Optional settings to control the behavior of the CustomResource.
33
+ */
34
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NetworkInterfaceAttachState, opts?: pulumi.CustomResourceOptions): NetworkInterfaceAttach;
35
+ /**
36
+ * Returns true if the given object is an instance of NetworkInterfaceAttach. This is designed to work even
37
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
38
+ */
39
+ static isInstance(obj: any): obj is NetworkInterfaceAttach;
40
+ /**
41
+ * The id of the instance to which the ENI is bound.
42
+ */
43
+ readonly instanceId: pulumi.Output<string>;
44
+ /**
45
+ * The id of the ENI.
46
+ */
47
+ readonly networkInterfaceId: pulumi.Output<string>;
48
+ /**
49
+ * Create a NetworkInterfaceAttach resource with the given unique name, arguments, and options.
50
+ *
51
+ * @param name The _unique_ name of the resource.
52
+ * @param args The arguments to use to populate this resource's properties.
53
+ * @param opts A bag of options that control this resource's behavior.
54
+ */
55
+ constructor(name: string, args: NetworkInterfaceAttachArgs, opts?: pulumi.CustomResourceOptions);
56
+ }
57
+ /**
58
+ * Input properties used for looking up and filtering NetworkInterfaceAttach resources.
59
+ */
60
+ export interface NetworkInterfaceAttachState {
61
+ /**
62
+ * The id of the instance to which the ENI is bound.
63
+ */
64
+ instanceId?: pulumi.Input<string>;
65
+ /**
66
+ * The id of the ENI.
67
+ */
68
+ networkInterfaceId?: pulumi.Input<string>;
69
+ }
70
+ /**
71
+ * The set of arguments for constructing a NetworkInterfaceAttach resource.
72
+ */
73
+ export interface NetworkInterfaceAttachArgs {
74
+ /**
75
+ * The id of the instance to which the ENI is bound.
76
+ */
77
+ instanceId: pulumi.Input<string>;
78
+ /**
79
+ * The id of the ENI.
80
+ */
81
+ networkInterfaceId: pulumi.Input<string>;
82
+ }
@@ -0,0 +1,79 @@
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.NetworkInterfaceAttach = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage network interface attach
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.vpc.NetworkInterfaceAttach("foo", {
17
+ * instanceId: "i-72q20hi6s082wcafdem8",
18
+ * networkInterfaceId: "eni-274ecj646ylts7fap8t6xbba1",
19
+ * });
20
+ * ```
21
+ *
22
+ * ## Import
23
+ *
24
+ * Network interface attach can be imported using the network_interface_id:instance_id.
25
+ *
26
+ * ```sh
27
+ * $ pulumi import volcengine:vpc/networkInterfaceAttach:NetworkInterfaceAttach default eni-bp1fg655nh68xyz9***:i-wijfn35c****
28
+ * ```
29
+ */
30
+ class NetworkInterfaceAttach extends pulumi.CustomResource {
31
+ /**
32
+ * Get an existing NetworkInterfaceAttach resource's state with the given name, ID, and optional extra
33
+ * properties used to qualify the lookup.
34
+ *
35
+ * @param name The _unique_ name of the resulting resource.
36
+ * @param id The _unique_ provider ID of the resource to lookup.
37
+ * @param state Any extra arguments used during the lookup.
38
+ * @param opts Optional settings to control the behavior of the CustomResource.
39
+ */
40
+ static get(name, id, state, opts) {
41
+ return new NetworkInterfaceAttach(name, state, Object.assign(Object.assign({}, opts), { id: id }));
42
+ }
43
+ /**
44
+ * Returns true if the given object is an instance of NetworkInterfaceAttach. This is designed to work even
45
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
46
+ */
47
+ static isInstance(obj) {
48
+ if (obj === undefined || obj === null) {
49
+ return false;
50
+ }
51
+ return obj['__pulumiType'] === NetworkInterfaceAttach.__pulumiType;
52
+ }
53
+ constructor(name, argsOrState, opts) {
54
+ let resourceInputs = {};
55
+ opts = opts || {};
56
+ if (opts.id) {
57
+ const state = argsOrState;
58
+ resourceInputs["instanceId"] = state ? state.instanceId : undefined;
59
+ resourceInputs["networkInterfaceId"] = state ? state.networkInterfaceId : undefined;
60
+ }
61
+ else {
62
+ const args = argsOrState;
63
+ if ((!args || args.instanceId === undefined) && !opts.urn) {
64
+ throw new Error("Missing required property 'instanceId'");
65
+ }
66
+ if ((!args || args.networkInterfaceId === undefined) && !opts.urn) {
67
+ throw new Error("Missing required property 'networkInterfaceId'");
68
+ }
69
+ resourceInputs["instanceId"] = args ? args.instanceId : undefined;
70
+ resourceInputs["networkInterfaceId"] = args ? args.networkInterfaceId : undefined;
71
+ }
72
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
73
+ super(NetworkInterfaceAttach.__pulumiType, name, resourceInputs, opts);
74
+ }
75
+ }
76
+ exports.NetworkInterfaceAttach = NetworkInterfaceAttach;
77
+ /** @internal */
78
+ NetworkInterfaceAttach.__pulumiType = 'volcengine:vpc/networkInterfaceAttach:NetworkInterfaceAttach';
79
+ //# sourceMappingURL=networkInterfaceAttach.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkInterfaceAttach.js","sourceRoot":"","sources":["../../vpc/networkInterfaceAttach.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,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,sBAAsB,CAAC,YAAY,CAAC;IACvE,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAsE,EAAE,IAAmC;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CAAC"}
@@ -0,0 +1,203 @@
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 network interfaces
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const defaultNetworkInterfaces = pulumi.output(volcengine.vpc.NetworkInterfaces({
12
+ * ids: ["eni-2744htx2w0j5s7fap8t3ivwze"],
13
+ * }));
14
+ * ```
15
+ */
16
+ export declare function networkInterfaces(args?: NetworkInterfacesArgs, opts?: pulumi.InvokeOptions): Promise<NetworkInterfacesResult>;
17
+ /**
18
+ * A collection of arguments for invoking NetworkInterfaces.
19
+ */
20
+ export interface NetworkInterfacesArgs {
21
+ /**
22
+ * A list of ENI ids.
23
+ */
24
+ ids?: string[];
25
+ /**
26
+ * An id of the instance to which the ENI is bound.
27
+ */
28
+ instanceId?: string;
29
+ /**
30
+ * A list of network interface ids.
31
+ */
32
+ networkInterfaceIds?: string[];
33
+ /**
34
+ * A name of ENI.
35
+ */
36
+ networkInterfaceName?: string;
37
+ /**
38
+ * File name where to save data source results.
39
+ */
40
+ outputFile?: string;
41
+ /**
42
+ * A list of primary IP address of ENI.
43
+ */
44
+ primaryIpAddresses?: string[];
45
+ /**
46
+ * A list of private IP addresses.
47
+ */
48
+ privateIpAddresses?: string[];
49
+ /**
50
+ * The ProjectName of the ENI.
51
+ */
52
+ projectName?: string;
53
+ /**
54
+ * An id of the security group to which the secondary ENI belongs.
55
+ */
56
+ securityGroupId?: string;
57
+ /**
58
+ * A status of ENI, Optional choice contains `Creating`, `Available`, `Attaching`, `InUse`, `Detaching`, `Deleting`.
59
+ */
60
+ status?: string;
61
+ /**
62
+ * An id of the subnet to which the ENI is connected.
63
+ */
64
+ subnetId?: string;
65
+ /**
66
+ * Tags.
67
+ */
68
+ tags?: inputs.vpc.NetworkInterfacesTag[];
69
+ /**
70
+ * A type of ENI, Optional choice contains `primary`, `secondary`.
71
+ */
72
+ type?: string;
73
+ /**
74
+ * An id of the virtual private cloud (VPC) to which the ENI belongs.
75
+ */
76
+ vpcId?: string;
77
+ /**
78
+ * The zone ID.
79
+ */
80
+ zoneId?: string;
81
+ }
82
+ /**
83
+ * A collection of values returned by NetworkInterfaces.
84
+ */
85
+ export interface NetworkInterfacesResult {
86
+ /**
87
+ * The provider-assigned unique ID for this managed resource.
88
+ */
89
+ readonly id: string;
90
+ readonly ids?: string[];
91
+ readonly instanceId?: string;
92
+ readonly networkInterfaceIds?: string[];
93
+ /**
94
+ * The name of the ENI.
95
+ */
96
+ readonly networkInterfaceName?: string;
97
+ /**
98
+ * The collection of ENI.
99
+ */
100
+ readonly networkInterfaces: outputs.vpc.NetworkInterfacesNetworkInterface[];
101
+ readonly outputFile?: string;
102
+ readonly primaryIpAddresses?: string[];
103
+ readonly privateIpAddresses?: string[];
104
+ /**
105
+ * The ProjectName of the ENI.
106
+ */
107
+ readonly projectName?: string;
108
+ readonly securityGroupId?: string;
109
+ /**
110
+ * The status of the ENI.
111
+ */
112
+ readonly status?: string;
113
+ /**
114
+ * The id of the subnet to which the ENI is connected.
115
+ */
116
+ readonly subnetId?: string;
117
+ /**
118
+ * Tags.
119
+ */
120
+ readonly tags?: outputs.vpc.NetworkInterfacesTag[];
121
+ /**
122
+ * The total count of ENI query.
123
+ */
124
+ readonly totalCount: number;
125
+ /**
126
+ * The type of the ENI.
127
+ */
128
+ readonly type?: string;
129
+ /**
130
+ * The id of the virtual private cloud (VPC) to which the ENI belongs.
131
+ */
132
+ readonly vpcId?: string;
133
+ /**
134
+ * The zone id of the ENI.
135
+ */
136
+ readonly zoneId?: string;
137
+ }
138
+ export declare function networkInterfacesOutput(args?: NetworkInterfacesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<NetworkInterfacesResult>;
139
+ /**
140
+ * A collection of arguments for invoking NetworkInterfaces.
141
+ */
142
+ export interface NetworkInterfacesOutputArgs {
143
+ /**
144
+ * A list of ENI ids.
145
+ */
146
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
147
+ /**
148
+ * An id of the instance to which the ENI is bound.
149
+ */
150
+ instanceId?: pulumi.Input<string>;
151
+ /**
152
+ * A list of network interface ids.
153
+ */
154
+ networkInterfaceIds?: pulumi.Input<pulumi.Input<string>[]>;
155
+ /**
156
+ * A name of ENI.
157
+ */
158
+ networkInterfaceName?: pulumi.Input<string>;
159
+ /**
160
+ * File name where to save data source results.
161
+ */
162
+ outputFile?: pulumi.Input<string>;
163
+ /**
164
+ * A list of primary IP address of ENI.
165
+ */
166
+ primaryIpAddresses?: pulumi.Input<pulumi.Input<string>[]>;
167
+ /**
168
+ * A list of private IP addresses.
169
+ */
170
+ privateIpAddresses?: pulumi.Input<pulumi.Input<string>[]>;
171
+ /**
172
+ * The ProjectName of the ENI.
173
+ */
174
+ projectName?: pulumi.Input<string>;
175
+ /**
176
+ * An id of the security group to which the secondary ENI belongs.
177
+ */
178
+ securityGroupId?: pulumi.Input<string>;
179
+ /**
180
+ * A status of ENI, Optional choice contains `Creating`, `Available`, `Attaching`, `InUse`, `Detaching`, `Deleting`.
181
+ */
182
+ status?: pulumi.Input<string>;
183
+ /**
184
+ * An id of the subnet to which the ENI is connected.
185
+ */
186
+ subnetId?: pulumi.Input<string>;
187
+ /**
188
+ * Tags.
189
+ */
190
+ tags?: pulumi.Input<pulumi.Input<inputs.vpc.NetworkInterfacesTagArgs>[]>;
191
+ /**
192
+ * A type of ENI, Optional choice contains `primary`, `secondary`.
193
+ */
194
+ type?: pulumi.Input<string>;
195
+ /**
196
+ * An id of the virtual private cloud (VPC) to which the ENI belongs.
197
+ */
198
+ vpcId?: pulumi.Input<string>;
199
+ /**
200
+ * The zone ID.
201
+ */
202
+ zoneId?: pulumi.Input<string>;
203
+ }
@@ -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
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.networkInterfacesOutput = exports.networkInterfaces = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Use this data source to query detailed information of network interfaces
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ *
16
+ * const defaultNetworkInterfaces = pulumi.output(volcengine.vpc.NetworkInterfaces({
17
+ * ids: ["eni-2744htx2w0j5s7fap8t3ivwze"],
18
+ * }));
19
+ * ```
20
+ */
21
+ function networkInterfaces(args, opts) {
22
+ args = args || {};
23
+ if (!opts) {
24
+ opts = {};
25
+ }
26
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
27
+ return pulumi.runtime.invoke("volcengine:vpc/networkInterfaces:NetworkInterfaces", {
28
+ "ids": args.ids,
29
+ "instanceId": args.instanceId,
30
+ "networkInterfaceIds": args.networkInterfaceIds,
31
+ "networkInterfaceName": args.networkInterfaceName,
32
+ "outputFile": args.outputFile,
33
+ "primaryIpAddresses": args.primaryIpAddresses,
34
+ "privateIpAddresses": args.privateIpAddresses,
35
+ "projectName": args.projectName,
36
+ "securityGroupId": args.securityGroupId,
37
+ "status": args.status,
38
+ "subnetId": args.subnetId,
39
+ "tags": args.tags,
40
+ "type": args.type,
41
+ "vpcId": args.vpcId,
42
+ "zoneId": args.zoneId,
43
+ }, opts);
44
+ }
45
+ exports.networkInterfaces = networkInterfaces;
46
+ function networkInterfacesOutput(args, opts) {
47
+ return pulumi.output(args).apply(a => networkInterfaces(a, opts));
48
+ }
49
+ exports.networkInterfacesOutput = networkInterfacesOutput;
50
+ //# sourceMappingURL=networkInterfaces.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"networkInterfaces.js","sourceRoot":"","sources":["../../vpc/networkInterfaces.ts"],"names":[],"mappings":";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FD,0DAEC"}
@@ -0,0 +1,132 @@
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 route entries
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ *
11
+ * const defaultRouteEntries = pulumi.output(volcengine.vpc.RouteEntries({
12
+ * ids: [],
13
+ * routeTableId: "vtb-274e19skkuhog7fap8u4i8ird",
14
+ * }));
15
+ * ```
16
+ */
17
+ export declare function routeEntries(args: RouteEntriesArgs, opts?: pulumi.InvokeOptions): Promise<RouteEntriesResult>;
18
+ /**
19
+ * A collection of arguments for invoking RouteEntries.
20
+ */
21
+ export interface RouteEntriesArgs {
22
+ /**
23
+ * A destination CIDR block of route entry.
24
+ */
25
+ destinationCidrBlock?: string;
26
+ /**
27
+ * A list of route entry ids.
28
+ */
29
+ ids?: string[];
30
+ /**
31
+ * An id of next hop.
32
+ */
33
+ nextHopId?: string;
34
+ /**
35
+ * A type of next hop, Optional choice contains `Instance`, `NetworkInterface`, `NatGW`, `VpnGW`.
36
+ */
37
+ nextHopType?: string;
38
+ /**
39
+ * File name where to save data source results.
40
+ */
41
+ outputFile?: string;
42
+ /**
43
+ * A name of route entry.
44
+ */
45
+ routeEntryName?: string;
46
+ /**
47
+ * A type of route entry.
48
+ */
49
+ routeEntryType?: string;
50
+ /**
51
+ * An id of route table.
52
+ */
53
+ routeTableId: string;
54
+ }
55
+ /**
56
+ * A collection of values returned by RouteEntries.
57
+ */
58
+ export interface RouteEntriesResult {
59
+ /**
60
+ * The destination CIDR block of the route entry.
61
+ */
62
+ readonly destinationCidrBlock?: string;
63
+ /**
64
+ * The provider-assigned unique ID for this managed resource.
65
+ */
66
+ readonly id: string;
67
+ readonly ids?: string[];
68
+ /**
69
+ * The id of the next hop.
70
+ */
71
+ readonly nextHopId?: string;
72
+ /**
73
+ * The type of the next hop.
74
+ */
75
+ readonly nextHopType?: string;
76
+ readonly outputFile?: string;
77
+ /**
78
+ * The collection of route tables.
79
+ */
80
+ readonly routeEntries: outputs.vpc.RouteEntriesRouteEntry[];
81
+ /**
82
+ * The name of the route entry.
83
+ */
84
+ readonly routeEntryName?: string;
85
+ readonly routeEntryType?: string;
86
+ /**
87
+ * The id of the route table to which the route entry belongs.
88
+ */
89
+ readonly routeTableId: string;
90
+ /**
91
+ * The total count of route entry query.
92
+ */
93
+ readonly totalCount: number;
94
+ }
95
+ export declare function routeEntriesOutput(args: RouteEntriesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<RouteEntriesResult>;
96
+ /**
97
+ * A collection of arguments for invoking RouteEntries.
98
+ */
99
+ export interface RouteEntriesOutputArgs {
100
+ /**
101
+ * A destination CIDR block of route entry.
102
+ */
103
+ destinationCidrBlock?: pulumi.Input<string>;
104
+ /**
105
+ * A list of route entry ids.
106
+ */
107
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
108
+ /**
109
+ * An id of next hop.
110
+ */
111
+ nextHopId?: pulumi.Input<string>;
112
+ /**
113
+ * A type of next hop, Optional choice contains `Instance`, `NetworkInterface`, `NatGW`, `VpnGW`.
114
+ */
115
+ nextHopType?: pulumi.Input<string>;
116
+ /**
117
+ * File name where to save data source results.
118
+ */
119
+ outputFile?: pulumi.Input<string>;
120
+ /**
121
+ * A name of route entry.
122
+ */
123
+ routeEntryName?: pulumi.Input<string>;
124
+ /**
125
+ * A type of route entry.
126
+ */
127
+ routeEntryType?: pulumi.Input<string>;
128
+ /**
129
+ * An id of route table.
130
+ */
131
+ routeTableId: pulumi.Input<string>;
132
+ }