@volcengine/pulumi 0.0.25 → 0.0.27

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 (657) hide show
  1. package/alb/acl.d.ts +1 -1
  2. package/alb/acl.js +1 -1
  3. package/alb/alb.d.ts +1 -1
  4. package/alb/alb.js +1 -1
  5. package/alb/cacertificate.d.ts +1 -1
  6. package/alb/cacertificate.js +1 -1
  7. package/alb/certificate.d.ts +1 -1
  8. package/alb/certificate.js +1 -1
  9. package/alb/customizedCfg.d.ts +1 -1
  10. package/alb/customizedCfg.js +1 -1
  11. package/alb/healthCheckTemplate.d.ts +1 -1
  12. package/alb/healthCheckTemplate.js +1 -1
  13. package/alb/listener.d.ts +1 -1
  14. package/alb/listener.js +1 -1
  15. package/alb/listenerDomainExtension.d.ts +1 -1
  16. package/alb/listenerDomainExtension.js +1 -1
  17. package/alb/rule.d.ts +1 -1
  18. package/alb/rule.js +1 -1
  19. package/alb/serverGroup.d.ts +1 -1
  20. package/alb/serverGroup.js +1 -1
  21. package/alb/serverGroupServer.d.ts +1 -1
  22. package/alb/serverGroupServer.js +1 -1
  23. package/autoscaling/scalingConfiguration.d.ts +1 -1
  24. package/autoscaling/scalingConfiguration.js +1 -1
  25. package/autoscaling/scalingConfigurationAttachment.d.ts +3 -2
  26. package/autoscaling/scalingConfigurationAttachment.js +3 -2
  27. package/autoscaling/scalingConfigurationAttachment.js.map +1 -1
  28. package/autoscaling/scalingGroup.d.ts +1 -1
  29. package/autoscaling/scalingGroup.js +1 -1
  30. package/autoscaling/scalingGroupEnabler.d.ts +1 -1
  31. package/autoscaling/scalingGroupEnabler.js +1 -1
  32. package/autoscaling/scalingInstanceAttachment.d.ts +3 -2
  33. package/autoscaling/scalingInstanceAttachment.js +3 -2
  34. package/autoscaling/scalingInstanceAttachment.js.map +1 -1
  35. package/autoscaling/scalingLifecycleHook.d.ts +1 -1
  36. package/autoscaling/scalingLifecycleHook.js +1 -1
  37. package/autoscaling/scalingPolicy.d.ts +1 -1
  38. package/autoscaling/scalingPolicy.js +1 -1
  39. package/bandwidth_package/attachment.d.ts +1 -1
  40. package/bandwidth_package/attachment.js +1 -1
  41. package/bandwidth_package/bandwidthPackage.d.ts +1 -1
  42. package/bandwidth_package/bandwidthPackage.js +1 -1
  43. package/bioos/cluster.d.ts +3 -3
  44. package/bioos/cluster.js +1 -1
  45. package/bioos/clusterBind.d.ts +1 -1
  46. package/bioos/clusterBind.js +1 -1
  47. package/bioos/workspace.d.ts +1 -1
  48. package/bioos/workspace.js +1 -1
  49. package/cdn/cdnCertificate.d.ts +5 -3
  50. package/cdn/cdnCertificate.js +5 -3
  51. package/cdn/cdnCertificate.js.map +1 -1
  52. package/cdn/cdnDomain.d.ts +5 -6
  53. package/cdn/cdnDomain.js +5 -6
  54. package/cdn/cdnDomain.js.map +1 -1
  55. package/cdn/configs.d.ts +6 -6
  56. package/cdn/configs.js +6 -6
  57. package/cdn/domains.d.ts +6 -6
  58. package/cdn/domains.js +6 -6
  59. package/cdn/sharedConfig.d.ts +1 -1
  60. package/cdn/sharedConfig.js +1 -1
  61. package/cen/attachInstance.d.ts +1 -1
  62. package/cen/attachInstance.js +1 -1
  63. package/cen/bandwidthPackage.d.ts +1 -1
  64. package/cen/bandwidthPackage.js +1 -1
  65. package/cen/bandwidthPackageAssociate.d.ts +1 -1
  66. package/cen/bandwidthPackageAssociate.js +1 -1
  67. package/cen/cen.d.ts +1 -1
  68. package/cen/cen.js +1 -1
  69. package/cen/grantInstance.d.ts +1 -1
  70. package/cen/grantInstance.js +1 -1
  71. package/cen/interRegionBandwidth.d.ts +1 -1
  72. package/cen/interRegionBandwidth.js +1 -1
  73. package/cen/routeEntry.d.ts +1 -2
  74. package/cen/routeEntry.js +1 -2
  75. package/cen/routeEntry.js.map +1 -1
  76. package/cen/serviceRouteEntry.d.ts +1 -1
  77. package/cen/serviceRouteEntry.js +1 -1
  78. package/clb/acl.d.ts +1 -1
  79. package/clb/acl.js +1 -1
  80. package/clb/aclEntry.d.ts +1 -1
  81. package/clb/aclEntry.js +1 -1
  82. package/clb/certificate.d.ts +1 -1
  83. package/clb/certificate.js +1 -1
  84. package/clb/clb.d.ts +1 -1
  85. package/clb/clb.js +1 -1
  86. package/clb/listener.d.ts +4 -4
  87. package/clb/listener.js +1 -1
  88. package/clb/rule.d.ts +4 -2
  89. package/clb/rule.js +4 -2
  90. package/clb/rule.js.map +1 -1
  91. package/clb/serverGroup.d.ts +1 -1
  92. package/clb/serverGroup.js +1 -1
  93. package/clb/serverGroupServer.d.ts +1 -1
  94. package/clb/serverGroupServer.js +1 -1
  95. package/cloud_identity/group.d.ts +1 -1
  96. package/cloud_identity/group.js +1 -1
  97. package/cloud_identity/permissionSet.d.ts +1 -1
  98. package/cloud_identity/permissionSet.js +1 -1
  99. package/cloud_identity/permissionSetAssignment.d.ts +1 -1
  100. package/cloud_identity/permissionSetAssignment.js +1 -1
  101. package/cloud_identity/permissionSetProvisioning.d.ts +1 -1
  102. package/cloud_identity/permissionSetProvisioning.js +1 -1
  103. package/cloud_identity/user.d.ts +1 -1
  104. package/cloud_identity/user.js +1 -1
  105. package/cloud_identity/userAttachment.d.ts +1 -1
  106. package/cloud_identity/userAttachment.js +1 -1
  107. package/cloud_identity/userProvisioning.d.ts +1 -2
  108. package/cloud_identity/userProvisioning.js +1 -2
  109. package/cloud_identity/userProvisioning.js.map +1 -1
  110. package/cloud_monitor/contact.d.ts +1 -1
  111. package/cloud_monitor/contact.js +1 -1
  112. package/cloud_monitor/contactGroup.d.ts +1 -1
  113. package/cloud_monitor/contactGroup.js +1 -1
  114. package/cloud_monitor/eventRule.d.ts +1 -1
  115. package/cloud_monitor/eventRule.js +1 -1
  116. package/cloud_monitor/rule.d.ts +1 -1
  117. package/cloud_monitor/rule.js +1 -1
  118. package/cloudfs/access.d.ts +1 -1
  119. package/cloudfs/access.js +1 -1
  120. package/cloudfs/fileSystem.d.ts +1 -1
  121. package/cloudfs/fileSystem.js +1 -1
  122. package/cloudfs/namespace.d.ts +1 -1
  123. package/cloudfs/namespace.js +1 -1
  124. package/config/vars.d.ts +0 -4
  125. package/config/vars.js.map +1 -1
  126. package/cr/endpoint.d.ts +1 -1
  127. package/cr/endpoint.js +1 -1
  128. package/cr/namespace.d.ts +1 -1
  129. package/cr/namespace.js +1 -1
  130. package/cr/registry.d.ts +1 -1
  131. package/cr/registry.js +1 -1
  132. package/cr/repository.d.ts +1 -1
  133. package/cr/repository.js +1 -1
  134. package/cr/state.d.ts +1 -1
  135. package/cr/state.js +1 -1
  136. package/cr/tag.d.ts +1 -1
  137. package/cr/tag.js +1 -1
  138. package/cr/vpcEndpoint.d.ts +1 -1
  139. package/cr/vpcEndpoint.js +1 -1
  140. package/direct_connect/bgpPeer.d.ts +1 -1
  141. package/direct_connect/bgpPeer.js +1 -1
  142. package/direct_connect/connection.d.ts +1 -1
  143. package/direct_connect/connection.js +1 -1
  144. package/direct_connect/gateway.d.ts +1 -1
  145. package/direct_connect/gateway.js +1 -1
  146. package/direct_connect/gatewayRoute.d.ts +1 -1
  147. package/direct_connect/gatewayRoute.js +1 -1
  148. package/direct_connect/virtualInterface.d.ts +1 -1
  149. package/direct_connect/virtualInterface.js +1 -1
  150. package/ebs/autoSnapshotPolicies.d.ts +153 -0
  151. package/ebs/autoSnapshotPolicies.js +94 -0
  152. package/ebs/autoSnapshotPolicies.js.map +1 -0
  153. package/ebs/autoSnapshotPolicy.d.ts +190 -0
  154. package/ebs/autoSnapshotPolicy.js +114 -0
  155. package/ebs/autoSnapshotPolicy.js.map +1 -0
  156. package/ebs/autoSnapshotPolicyAttachment.d.ts +112 -0
  157. package/ebs/autoSnapshotPolicyAttachment.js +109 -0
  158. package/ebs/autoSnapshotPolicyAttachment.js.map +1 -0
  159. package/ebs/index.d.ts +21 -0
  160. package/ebs/index.js +30 -1
  161. package/ebs/index.js.map +1 -1
  162. package/ebs/snapshot.d.ts +223 -0
  163. package/ebs/snapshot.js +124 -0
  164. package/ebs/snapshot.js.map +1 -0
  165. package/ebs/snapshotGroup.d.ts +220 -0
  166. package/ebs/snapshotGroup.js +154 -0
  167. package/ebs/snapshotGroup.js.map +1 -0
  168. package/ebs/snapshotGroups.d.ts +268 -0
  169. package/ebs/snapshotGroups.js +188 -0
  170. package/ebs/snapshotGroups.js.map +1 -0
  171. package/ebs/snapshots.d.ts +182 -0
  172. package/ebs/snapshots.js +104 -0
  173. package/ebs/snapshots.js.map +1 -0
  174. package/ebs/volume.d.ts +40 -4
  175. package/ebs/volume.js +7 -1
  176. package/ebs/volume.js.map +1 -1
  177. package/ebs/volumeAttach.d.ts +1 -1
  178. package/ebs/volumeAttach.js +1 -1
  179. package/ecs/command.d.ts +1 -1
  180. package/ecs/command.js +1 -1
  181. package/ecs/deploymentSet.d.ts +1 -1
  182. package/ecs/deploymentSet.js +1 -1
  183. package/ecs/deploymentSetAssociate.d.ts +1 -1
  184. package/ecs/deploymentSetAssociate.js +1 -1
  185. package/ecs/hpcCluster.d.ts +94 -0
  186. package/ecs/hpcCluster.js +78 -0
  187. package/ecs/hpcCluster.js.map +1 -0
  188. package/ecs/hpcClusters.d.ts +87 -0
  189. package/ecs/hpcClusters.js +48 -0
  190. package/ecs/hpcClusters.js.map +1 -0
  191. package/ecs/iamRoleAttachment.d.ts +1 -1
  192. package/ecs/iamRoleAttachment.js +1 -1
  193. package/ecs/image.d.ts +271 -0
  194. package/ecs/image.js +121 -0
  195. package/ecs/image.js.map +1 -0
  196. package/ecs/imageImport.d.ts +264 -0
  197. package/ecs/imageImport.js +124 -0
  198. package/ecs/imageImport.js.map +1 -0
  199. package/ecs/imageSharePermission.d.ts +93 -0
  200. package/ecs/imageSharePermission.js +90 -0
  201. package/ecs/imageSharePermission.js.map +1 -0
  202. package/ecs/imageSharePermissions.d.ts +75 -0
  203. package/ecs/imageSharePermissions.js +46 -0
  204. package/ecs/imageSharePermissions.js.map +1 -0
  205. package/ecs/images.d.ts +46 -0
  206. package/ecs/images.js +4 -0
  207. package/ecs/images.js.map +1 -1
  208. package/ecs/index.d.ts +18 -0
  209. package/ecs/index.js +27 -1
  210. package/ecs/index.js.map +1 -1
  211. package/ecs/instance.d.ts +7 -6
  212. package/ecs/instance.js +3 -2
  213. package/ecs/instance.js.map +1 -1
  214. package/ecs/instanceTypes.d.ts +9 -0
  215. package/ecs/instanceTypes.js +1 -0
  216. package/ecs/instanceTypes.js.map +1 -1
  217. package/ecs/instances.d.ts +51 -0
  218. package/ecs/instances.js +5 -0
  219. package/ecs/instances.js.map +1 -1
  220. package/ecs/invocation.d.ts +1 -1
  221. package/ecs/invocation.js +1 -1
  222. package/ecs/keyPair.d.ts +1 -1
  223. package/ecs/keyPair.js +1 -1
  224. package/ecs/keyPairAssociate.d.ts +6 -2
  225. package/ecs/keyPairAssociate.js +6 -2
  226. package/ecs/keyPairAssociate.js.map +1 -1
  227. package/ecs/launchTemplate.d.ts +5 -3
  228. package/ecs/launchTemplate.js +4 -2
  229. package/ecs/launchTemplate.js.map +1 -1
  230. package/ecs/state.d.ts +1 -1
  231. package/ecs/state.js +1 -1
  232. package/eip/address.d.ts +1 -1
  233. package/eip/address.js +1 -1
  234. package/eip/associate.d.ts +1 -1
  235. package/eip/associate.js +1 -1
  236. package/escloud/instance.d.ts +1 -1
  237. package/escloud/instance.js +1 -1
  238. package/financial_relation/financialRelation.d.ts +1 -2
  239. package/financial_relation/financialRelation.js +1 -2
  240. package/financial_relation/financialRelation.js.map +1 -1
  241. package/iam/loginProfile.d.ts +1 -1
  242. package/iam/loginProfile.js +1 -1
  243. package/iam/policy.d.ts +1 -1
  244. package/iam/policy.js +1 -1
  245. package/iam/role.d.ts +1 -1
  246. package/iam/role.js +1 -1
  247. package/iam/rolePolicyAttachment.d.ts +1 -1
  248. package/iam/rolePolicyAttachment.js +1 -1
  249. package/iam/samlProvider.d.ts +1 -1
  250. package/iam/samlProvider.js +1 -1
  251. package/iam/user.d.ts +1 -1
  252. package/iam/user.js +1 -1
  253. package/iam/userGroup.d.ts +1 -1
  254. package/iam/userGroup.js +1 -1
  255. package/iam/userGroupAttachment.d.ts +1 -1
  256. package/iam/userGroupAttachment.js +1 -1
  257. package/iam/userGroupPolicyAttachment.d.ts +1 -1
  258. package/iam/userGroupPolicyAttachment.js +1 -1
  259. package/iam/userPolicyAttachment.d.ts +1 -1
  260. package/iam/userPolicyAttachment.js +1 -1
  261. package/index.d.ts +4 -1
  262. package/index.js +7 -1
  263. package/index.js.map +1 -1
  264. package/kafka/group.d.ts +1 -1
  265. package/kafka/group.js +1 -1
  266. package/kafka/instance.d.ts +1 -1
  267. package/kafka/instance.js +1 -1
  268. package/kafka/publicAddress.d.ts +1 -1
  269. package/kafka/publicAddress.js +1 -1
  270. package/kafka/saslUser.d.ts +1 -1
  271. package/kafka/saslUser.js +1 -1
  272. package/kafka/topic.d.ts +1 -1
  273. package/kafka/topic.js +1 -1
  274. package/mongodb/endpoint.d.ts +5 -2
  275. package/mongodb/endpoint.js +5 -2
  276. package/mongodb/endpoint.js.map +1 -1
  277. package/mongodb/instance.d.ts +1 -1
  278. package/mongodb/instance.js +1 -1
  279. package/mongodb/instanceParameter.d.ts +1 -1
  280. package/mongodb/instanceParameter.js +1 -1
  281. package/mongodb/mongoAllowList.d.ts +1 -1
  282. package/mongodb/mongoAllowList.js +1 -1
  283. package/mongodb/mongoAllowListAssociate.d.ts +1 -1
  284. package/mongodb/mongoAllowListAssociate.js +1 -1
  285. package/mongodb/sslState.d.ts +1 -1
  286. package/mongodb/sslState.js +1 -1
  287. package/nas/fileSystem.d.ts +1 -1
  288. package/nas/fileSystem.js +1 -1
  289. package/nas/mountPoint.d.ts +1 -2
  290. package/nas/mountPoint.js +1 -2
  291. package/nas/mountPoint.js.map +1 -1
  292. package/nas/permissionGroup.d.ts +1 -1
  293. package/nas/permissionGroup.js +1 -1
  294. package/nas/snapshot.d.ts +1 -1
  295. package/nas/snapshot.js +1 -1
  296. package/nat/dnatEntry.d.ts +1 -1
  297. package/nat/dnatEntry.js +1 -1
  298. package/nat/gateway.d.ts +1 -1
  299. package/nat/gateway.js +1 -1
  300. package/nat/snatEntry.d.ts +1 -1
  301. package/nat/snatEntry.js +1 -1
  302. package/organization/account.d.ts +1 -1
  303. package/organization/account.js +1 -1
  304. package/organization/organization.d.ts +1 -1
  305. package/organization/organization.js +1 -1
  306. package/organization/serviceControlPolicy.d.ts +1 -1
  307. package/organization/serviceControlPolicy.js +1 -1
  308. package/organization/serviceControlPolicyAttachment.d.ts +1 -1
  309. package/organization/serviceControlPolicyAttachment.js +1 -1
  310. package/organization/serviceControlPolicyEnabler.d.ts +1 -1
  311. package/organization/serviceControlPolicyEnabler.js +1 -1
  312. package/organization/unit.d.ts +1 -1
  313. package/organization/unit.js +1 -1
  314. package/package.json +2 -3
  315. package/package.json.bak +1 -2
  316. package/private_zone/index.d.ts +33 -0
  317. package/private_zone/index.js +62 -0
  318. package/private_zone/index.js.map +1 -0
  319. package/private_zone/privateZone.d.ts +144 -0
  320. package/private_zone/privateZone.js +99 -0
  321. package/private_zone/privateZone.js.map +1 -0
  322. package/private_zone/privateZones.d.ts +133 -0
  323. package/private_zone/privateZones.js +34 -0
  324. package/private_zone/privateZones.js.map +1 -0
  325. package/private_zone/record.d.ts +142 -0
  326. package/private_zone/record.js +85 -0
  327. package/private_zone/record.js.map +1 -0
  328. package/private_zone/recordSets.d.ts +88 -0
  329. package/private_zone/recordSets.js +29 -0
  330. package/private_zone/recordSets.js.map +1 -0
  331. package/private_zone/recordWeightEnabler.d.ts +82 -0
  332. package/private_zone/recordWeightEnabler.js +72 -0
  333. package/private_zone/recordWeightEnabler.js.map +1 -0
  334. package/private_zone/records.d.ts +148 -0
  335. package/private_zone/records.js +35 -0
  336. package/private_zone/records.js.map +1 -0
  337. package/private_zone/resolverEndpoint.d.ts +155 -0
  338. package/private_zone/resolverEndpoint.js +116 -0
  339. package/private_zone/resolverEndpoint.js.map +1 -0
  340. package/private_zone/resolverEndpoints.d.ts +119 -0
  341. package/private_zone/resolverEndpoints.js +47 -0
  342. package/private_zone/resolverEndpoints.js.map +1 -0
  343. package/private_zone/resolverRule.d.ts +153 -0
  344. package/private_zone/resolverRule.js +98 -0
  345. package/private_zone/resolverRule.js.map +1 -0
  346. package/private_zone/resolverRules.d.ts +107 -0
  347. package/private_zone/resolverRules.js +46 -0
  348. package/private_zone/resolverRules.js.map +1 -0
  349. package/private_zone/userVpcAuthorization.d.ts +67 -0
  350. package/private_zone/userVpcAuthorization.js +71 -0
  351. package/private_zone/userVpcAuthorization.js.map +1 -0
  352. package/privatelink/securityGroup.d.ts +1 -1
  353. package/privatelink/securityGroup.js +1 -1
  354. package/privatelink/vpcEndpoint.d.ts +1 -1
  355. package/privatelink/vpcEndpoint.js +1 -1
  356. package/privatelink/vpcEndpointConnection.d.ts +1 -1
  357. package/privatelink/vpcEndpointConnection.js +1 -1
  358. package/privatelink/vpcEndpointService.d.ts +3 -3
  359. package/privatelink/vpcEndpointService.js +3 -3
  360. package/privatelink/vpcEndpointServicePermission.d.ts +1 -1
  361. package/privatelink/vpcEndpointServicePermission.js +1 -1
  362. package/privatelink/vpcEndpointServiceResource.d.ts +3 -3
  363. package/privatelink/vpcEndpointServiceResource.js +3 -3
  364. package/privatelink/vpcEndpointZone.d.ts +1 -1
  365. package/privatelink/vpcEndpointZone.js +1 -1
  366. package/rds/account.d.ts +1 -1
  367. package/rds/account.js +1 -1
  368. package/rds/accountPrivilege.d.ts +1 -1
  369. package/rds/accountPrivilege.js +1 -1
  370. package/rds/database.d.ts +1 -1
  371. package/rds/database.js +1 -1
  372. package/rds/instance.d.ts +4 -4
  373. package/rds/instance.js +1 -1
  374. package/rds/ipList.d.ts +1 -1
  375. package/rds/ipList.js +1 -1
  376. package/rds/parameterTemplate.d.ts +1 -1
  377. package/rds/parameterTemplate.js +1 -1
  378. package/rds_mssql/backup.d.ts +1 -1
  379. package/rds_mssql/backup.js +1 -1
  380. package/rds_mssql/instance.d.ts +1 -1
  381. package/rds_mssql/instance.js +1 -1
  382. package/rds_mysql/account.d.ts +1 -1
  383. package/rds_mysql/account.js +1 -1
  384. package/rds_mysql/allowlist.d.ts +1 -1
  385. package/rds_mysql/allowlist.js +1 -1
  386. package/rds_mysql/allowlistAssociate.d.ts +1 -1
  387. package/rds_mysql/allowlistAssociate.js +1 -1
  388. package/rds_mysql/database.d.ts +1 -1
  389. package/rds_mysql/database.js +1 -1
  390. package/rds_mysql/instance.d.ts +1 -1
  391. package/rds_mysql/instance.js +1 -1
  392. package/rds_mysql/instanceReadonlyNode.d.ts +1 -1
  393. package/rds_mysql/instanceReadonlyNode.js +1 -1
  394. package/rds_postgresql/account.d.ts +1 -1
  395. package/rds_postgresql/account.js +1 -1
  396. package/rds_postgresql/allowlist.d.ts +129 -0
  397. package/rds_postgresql/allowlist.js +92 -0
  398. package/rds_postgresql/allowlist.js.map +1 -0
  399. package/rds_postgresql/allowlistAssociate.d.ts +130 -0
  400. package/rds_postgresql/allowlistAssociate.js +127 -0
  401. package/rds_postgresql/allowlistAssociate.js.map +1 -0
  402. package/rds_postgresql/allowlists.d.ts +83 -0
  403. package/rds_postgresql/allowlists.js +44 -0
  404. package/rds_postgresql/allowlists.js.map +1 -0
  405. package/rds_postgresql/database.d.ts +1 -1
  406. package/rds_postgresql/database.js +1 -1
  407. package/rds_postgresql/index.d.ts +9 -0
  408. package/rds_postgresql/index.js +14 -1
  409. package/rds_postgresql/index.js.map +1 -1
  410. package/rds_postgresql/instance.d.ts +1 -1
  411. package/rds_postgresql/instance.js +1 -1
  412. package/rds_postgresql/instanceReadonlyNode.d.ts +1 -1
  413. package/rds_postgresql/instanceReadonlyNode.js +1 -1
  414. package/rds_postgresql/schema.d.ts +1 -1
  415. package/rds_postgresql/schema.js +1 -1
  416. package/rds_v2/rdsInstanceV2.d.ts +4 -4
  417. package/rds_v2/rdsInstanceV2.js +1 -1
  418. package/redis/account.d.ts +1 -1
  419. package/redis/account.js +1 -1
  420. package/redis/allowList.d.ts +1 -1
  421. package/redis/allowList.js +1 -1
  422. package/redis/allowListAssociate.d.ts +1 -1
  423. package/redis/allowListAssociate.js +1 -1
  424. package/redis/backup.d.ts +1 -1
  425. package/redis/backup.js +1 -1
  426. package/redis/backupRestore.d.ts +1 -1
  427. package/redis/backupRestore.js +1 -1
  428. package/redis/continuousBackup.d.ts +1 -1
  429. package/redis/continuousBackup.js +1 -1
  430. package/redis/endpoint.d.ts +1 -1
  431. package/redis/endpoint.js +1 -1
  432. package/redis/instance.d.ts +87 -17
  433. package/redis/instance.js +26 -10
  434. package/redis/instance.js.map +1 -1
  435. package/redis/state.d.ts +1 -1
  436. package/redis/state.js +1 -1
  437. package/tls/alarm.d.ts +1 -1
  438. package/tls/alarm.js +1 -1
  439. package/tls/alarmNotifyGroup.d.ts +1 -1
  440. package/tls/alarmNotifyGroup.js +1 -1
  441. package/tls/host.d.ts +1 -1
  442. package/tls/host.js +1 -1
  443. package/tls/hostGroup.d.ts +2 -2
  444. package/tls/hostGroup.js +1 -1
  445. package/tls/index_.d.ts +1 -1
  446. package/tls/index_.js +1 -1
  447. package/tls/kafkaConsumer.d.ts +1 -1
  448. package/tls/kafkaConsumer.js +1 -1
  449. package/tls/project.d.ts +1 -1
  450. package/tls/project.js +1 -1
  451. package/tls/projects.d.ts +2 -6
  452. package/tls/projects.js +2 -6
  453. package/tls/projects.js.map +1 -1
  454. package/tls/rule.d.ts +1 -1
  455. package/tls/rule.js +1 -1
  456. package/tls/ruleApplier.d.ts +1 -1
  457. package/tls/ruleApplier.js +1 -1
  458. package/tls/topic.d.ts +34 -4
  459. package/tls/topic.js +5 -1
  460. package/tls/topic.js.map +1 -1
  461. package/tos/bucket.d.ts +1 -1
  462. package/tos/bucket.js +1 -1
  463. package/tos/bucketObject.d.ts +1 -1
  464. package/tos/bucketObject.js +1 -1
  465. package/tos/bucketPolicy.d.ts +1 -1
  466. package/tos/bucketPolicy.js +1 -1
  467. package/transit_router/bandwidthPackage.d.ts +27 -1
  468. package/transit_router/bandwidthPackage.js +7 -1
  469. package/transit_router/bandwidthPackage.js.map +1 -1
  470. package/transit_router/bandwidthPackages.d.ts +24 -0
  471. package/transit_router/bandwidthPackages.js +2 -0
  472. package/transit_router/bandwidthPackages.js.map +1 -1
  473. package/transit_router/directConnectGatewayAttachment.d.ts +1 -1
  474. package/transit_router/directConnectGatewayAttachment.js +1 -1
  475. package/transit_router/grantRule.d.ts +1 -1
  476. package/transit_router/grantRule.js +1 -1
  477. package/transit_router/peerAttachment.d.ts +1 -1
  478. package/transit_router/peerAttachment.js +1 -1
  479. package/transit_router/routeEntry.d.ts +9 -22
  480. package/transit_router/routeEntry.js +3 -22
  481. package/transit_router/routeEntry.js.map +1 -1
  482. package/transit_router/routeTable.d.ts +1 -1
  483. package/transit_router/routeTable.js +1 -1
  484. package/transit_router/routeTableAssociation.d.ts +1 -22
  485. package/transit_router/routeTableAssociation.js +1 -22
  486. package/transit_router/routeTableAssociation.js.map +1 -1
  487. package/transit_router/routeTablePropagation.d.ts +1 -1
  488. package/transit_router/routeTablePropagation.js +1 -1
  489. package/transit_router/sharedTransitRouterState.d.ts +17 -5
  490. package/transit_router/sharedTransitRouterState.js +14 -2
  491. package/transit_router/sharedTransitRouterState.js.map +1 -1
  492. package/transit_router/transitRouter.d.ts +9 -1
  493. package/transit_router/transitRouter.js +3 -1
  494. package/transit_router/transitRouter.js.map +1 -1
  495. package/transit_router/vpcAttachment.d.ts +1 -1
  496. package/transit_router/vpcAttachment.js +1 -1
  497. package/transit_router/vpnAttachment.d.ts +1 -22
  498. package/transit_router/vpnAttachment.js +1 -22
  499. package/transit_router/vpnAttachment.js.map +1 -1
  500. package/types/input.d.ts +387 -22
  501. package/types/output.d.ts +7655 -5807
  502. package/utilities.d.ts +4 -0
  503. package/utilities.js +33 -1
  504. package/utilities.js.map +1 -1
  505. package/vedb_mysql/account.d.ts +191 -0
  506. package/vedb_mysql/account.js +137 -0
  507. package/vedb_mysql/account.js.map +1 -0
  508. package/vedb_mysql/accounts.d.ts +194 -0
  509. package/vedb_mysql/accounts.js +146 -0
  510. package/vedb_mysql/accounts.js.map +1 -0
  511. package/vedb_mysql/allowlist.d.ts +120 -0
  512. package/vedb_mysql/allowlist.js +91 -0
  513. package/vedb_mysql/allowlist.js.map +1 -0
  514. package/vedb_mysql/allowlistAssociate.d.ts +125 -0
  515. package/vedb_mysql/allowlistAssociate.js +122 -0
  516. package/vedb_mysql/allowlistAssociate.js.map +1 -0
  517. package/vedb_mysql/allowlists.d.ts +190 -0
  518. package/vedb_mysql/allowlists.js +142 -0
  519. package/vedb_mysql/allowlists.js.map +1 -0
  520. package/vedb_mysql/backup.d.ts +153 -0
  521. package/vedb_mysql/backup.js +119 -0
  522. package/vedb_mysql/backup.js.map +1 -0
  523. package/vedb_mysql/backups.d.ts +220 -0
  524. package/vedb_mysql/backups.js +133 -0
  525. package/vedb_mysql/backups.js.map +1 -0
  526. package/vedb_mysql/database.d.ts +136 -0
  527. package/vedb_mysql/database.js +114 -0
  528. package/vedb_mysql/database.js.map +1 -0
  529. package/vedb_mysql/databases.d.ts +175 -0
  530. package/vedb_mysql/databases.js +124 -0
  531. package/vedb_mysql/databases.js.map +1 -0
  532. package/vedb_mysql/endpoint.d.ts +329 -0
  533. package/vedb_mysql/endpoint.js +152 -0
  534. package/vedb_mysql/endpoint.js.map +1 -0
  535. package/vedb_mysql/endpointPublicAddress.d.ts +154 -0
  536. package/vedb_mysql/endpointPublicAddress.js +144 -0
  537. package/vedb_mysql/endpointPublicAddress.js.map +1 -0
  538. package/vedb_mysql/endpoints.d.ts +202 -0
  539. package/vedb_mysql/endpoints.js +154 -0
  540. package/vedb_mysql/endpoints.js.map +1 -0
  541. package/vedb_mysql/index.d.ts +42 -0
  542. package/vedb_mysql/index.js +75 -0
  543. package/vedb_mysql/index.js.map +1 -0
  544. package/vedb_mysql/instance.d.ts +388 -0
  545. package/vedb_mysql/instance.js +140 -0
  546. package/vedb_mysql/instance.js.map +1 -0
  547. package/vedb_mysql/instances.d.ts +258 -0
  548. package/vedb_mysql/instances.js +123 -0
  549. package/vedb_mysql/instances.js.map +1 -0
  550. package/veenedge/cloudServer.d.ts +7 -3
  551. package/veenedge/cloudServer.js +7 -3
  552. package/veenedge/cloudServer.js.map +1 -1
  553. package/veenedge/instance.d.ts +1 -1
  554. package/veenedge/instance.js +1 -1
  555. package/veenedge/vpc.d.ts +3 -3
  556. package/veenedge/vpc.js +3 -3
  557. package/vepfs/fileSystem.d.ts +311 -0
  558. package/vepfs/fileSystem.js +150 -0
  559. package/vepfs/fileSystem.js.map +1 -0
  560. package/vepfs/fileSystems.d.ts +192 -0
  561. package/vepfs/fileSystems.js +101 -0
  562. package/vepfs/fileSystems.js.map +1 -0
  563. package/vepfs/fileset.d.ts +210 -0
  564. package/vepfs/fileset.js +130 -0
  565. package/vepfs/fileset.js.map +1 -0
  566. package/vepfs/filesets.d.ts +200 -0
  567. package/vepfs/filesets.js +119 -0
  568. package/vepfs/filesets.js.map +1 -0
  569. package/vepfs/index.d.ts +21 -0
  570. package/vepfs/index.js +46 -0
  571. package/vepfs/index.js.map +1 -0
  572. package/vepfs/mountService.d.ts +192 -0
  573. package/vepfs/mountService.js +116 -0
  574. package/vepfs/mountService.js.map +1 -0
  575. package/vepfs/mountServiceAttachment.d.ts +131 -0
  576. package/vepfs/mountServiceAttachment.js +112 -0
  577. package/vepfs/mountServiceAttachment.js.map +1 -0
  578. package/vepfs/mountServices.d.ts +157 -0
  579. package/vepfs/mountServices.js +85 -0
  580. package/vepfs/mountServices.js.map +1 -0
  581. package/vke/addon.d.ts +8 -2
  582. package/vke/addon.js +8 -2
  583. package/vke/addon.js.map +1 -1
  584. package/vke/cluster.d.ts +4 -4
  585. package/vke/cluster.js +1 -1
  586. package/vke/defaultNodePool.d.ts +1 -1
  587. package/vke/defaultNodePool.js +1 -1
  588. package/vke/kubeconfig.d.ts +1 -1
  589. package/vke/kubeconfig.js +1 -1
  590. package/vke/node.d.ts +19 -19
  591. package/vke/node.js +1 -1
  592. package/vke/nodePool.d.ts +110 -1
  593. package/vke/nodePool.js +81 -1
  594. package/vke/nodePool.js.map +1 -1
  595. package/vpc/haVip.d.ts +1 -1
  596. package/vpc/haVip.js +1 -1
  597. package/vpc/haVipAssociate.d.ts +1 -1
  598. package/vpc/haVipAssociate.js +1 -1
  599. package/vpc/ipv6AddressBandwidth.d.ts +1 -1
  600. package/vpc/ipv6AddressBandwidth.js +1 -1
  601. package/vpc/ipv6Gateway.d.ts +1 -1
  602. package/vpc/ipv6Gateway.js +1 -1
  603. package/vpc/networkAcl.d.ts +31 -11
  604. package/vpc/networkAcl.js +21 -11
  605. package/vpc/networkAcl.js.map +1 -1
  606. package/vpc/networkAclAssociate.d.ts +1 -1
  607. package/vpc/networkAclAssociate.js +1 -1
  608. package/vpc/networkAcls.d.ts +25 -0
  609. package/vpc/networkAcls.js +2 -0
  610. package/vpc/networkAcls.js.map +1 -1
  611. package/vpc/networkInterface.d.ts +1 -1
  612. package/vpc/networkInterface.js +1 -1
  613. package/vpc/networkInterfaceAttach.d.ts +1 -1
  614. package/vpc/networkInterfaceAttach.js +1 -1
  615. package/vpc/prefixList.d.ts +1 -1
  616. package/vpc/prefixList.js +1 -1
  617. package/vpc/routeEntry.d.ts +1 -1
  618. package/vpc/routeEntry.js +1 -1
  619. package/vpc/routeTable.d.ts +1 -1
  620. package/vpc/routeTable.js +1 -1
  621. package/vpc/routeTableAssociate.d.ts +1 -1
  622. package/vpc/routeTableAssociate.js +1 -1
  623. package/vpc/securityGroup.d.ts +1 -1
  624. package/vpc/securityGroup.js +1 -1
  625. package/vpc/securityGroupRule.d.ts +13 -13
  626. package/vpc/securityGroupRule.js +1 -1
  627. package/vpc/subnet.d.ts +1 -1
  628. package/vpc/subnet.js +1 -1
  629. package/vpc/vpc.d.ts +1 -1
  630. package/vpc/vpc.js +1 -1
  631. package/vpn/connection.d.ts +1 -1
  632. package/vpn/connection.js +1 -1
  633. package/vpn/connections.d.ts +66 -0
  634. package/vpn/connections.js +6 -0
  635. package/vpn/connections.js.map +1 -1
  636. package/vpn/customerGateway.d.ts +1 -1
  637. package/vpn/customerGateway.js +1 -1
  638. package/vpn/customerGateways.d.ts +9 -0
  639. package/vpn/customerGateways.js +1 -0
  640. package/vpn/customerGateways.js.map +1 -1
  641. package/vpn/gateway.d.ts +10 -13
  642. package/vpn/gateway.js +1 -1
  643. package/vpn/gateway.js.map +1 -1
  644. package/vpn/gatewayRoute.d.ts +1 -1
  645. package/vpn/gatewayRoute.js +1 -1
  646. package/vpn/gatewayRoutes.d.ts +21 -0
  647. package/vpn/gatewayRoutes.js +2 -0
  648. package/vpn/gatewayRoutes.js.map +1 -1
  649. package/vpn/gateways.d.ts +48 -0
  650. package/vpn/gateways.js +4 -0
  651. package/vpn/gateways.js.map +1 -1
  652. package/vpn/sslVpnClientCert.d.ts +1 -1
  653. package/vpn/sslVpnClientCert.js +1 -1
  654. package/vpn/sslVpnServer.d.ts +25 -1
  655. package/vpn/sslVpnServer.js +5 -1
  656. package/vpn/sslVpnServer.js.map +1 -1
  657. package/scripts/install-pulumi-plugin.js +0 -26
package/ecs/image.js ADDED
@@ -0,0 +1,121 @@
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.Image = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage image
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const foo = new volcengine.ecs.Image("foo", {
17
+ * createWholeImage: false,
18
+ * description: "acc-test",
19
+ * imageName: "acc-test-image",
20
+ * instanceId: "i-ydi2q1s7wgqc6ild****",
21
+ * projectName: "default",
22
+ * tags: [{
23
+ * key: "k1",
24
+ * value: "v1",
25
+ * }],
26
+ * });
27
+ * ```
28
+ *
29
+ * ## Import
30
+ *
31
+ * Image can be imported using the id, e.g.
32
+ *
33
+ * ```sh
34
+ * $ pulumi import volcengine:ecs/image:Image default resource_id
35
+ * ```
36
+ */
37
+ class Image extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing Image resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name, id, state, opts) {
48
+ return new Image(name, state, Object.assign(Object.assign({}, opts), { id: id }));
49
+ }
50
+ /**
51
+ * Returns true if the given object is an instance of Image. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj) {
55
+ if (obj === undefined || obj === null) {
56
+ return false;
57
+ }
58
+ return obj['__pulumiType'] === Image.__pulumiType;
59
+ }
60
+ constructor(name, argsOrState, opts) {
61
+ let resourceInputs = {};
62
+ opts = opts || {};
63
+ if (opts.id) {
64
+ const state = argsOrState;
65
+ resourceInputs["architecture"] = state ? state.architecture : undefined;
66
+ resourceInputs["bootMode"] = state ? state.bootMode : undefined;
67
+ resourceInputs["createWholeImage"] = state ? state.createWholeImage : undefined;
68
+ resourceInputs["createdAt"] = state ? state.createdAt : undefined;
69
+ resourceInputs["description"] = state ? state.description : undefined;
70
+ resourceInputs["imageName"] = state ? state.imageName : undefined;
71
+ resourceInputs["instanceId"] = state ? state.instanceId : undefined;
72
+ resourceInputs["isSupportCloudInit"] = state ? state.isSupportCloudInit : undefined;
73
+ resourceInputs["osName"] = state ? state.osName : undefined;
74
+ resourceInputs["osType"] = state ? state.osType : undefined;
75
+ resourceInputs["platform"] = state ? state.platform : undefined;
76
+ resourceInputs["platformVersion"] = state ? state.platformVersion : undefined;
77
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
78
+ resourceInputs["shareStatus"] = state ? state.shareStatus : undefined;
79
+ resourceInputs["size"] = state ? state.size : undefined;
80
+ resourceInputs["snapshotGroupId"] = state ? state.snapshotGroupId : undefined;
81
+ resourceInputs["snapshotId"] = state ? state.snapshotId : undefined;
82
+ resourceInputs["status"] = state ? state.status : undefined;
83
+ resourceInputs["tags"] = state ? state.tags : undefined;
84
+ resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
85
+ resourceInputs["visibility"] = state ? state.visibility : undefined;
86
+ }
87
+ else {
88
+ const args = argsOrState;
89
+ if ((!args || args.imageName === undefined) && !opts.urn) {
90
+ throw new Error("Missing required property 'imageName'");
91
+ }
92
+ resourceInputs["bootMode"] = args ? args.bootMode : undefined;
93
+ resourceInputs["createWholeImage"] = args ? args.createWholeImage : undefined;
94
+ resourceInputs["description"] = args ? args.description : undefined;
95
+ resourceInputs["imageName"] = args ? args.imageName : undefined;
96
+ resourceInputs["instanceId"] = args ? args.instanceId : undefined;
97
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
98
+ resourceInputs["snapshotGroupId"] = args ? args.snapshotGroupId : undefined;
99
+ resourceInputs["snapshotId"] = args ? args.snapshotId : undefined;
100
+ resourceInputs["tags"] = args ? args.tags : undefined;
101
+ resourceInputs["architecture"] = undefined /*out*/;
102
+ resourceInputs["createdAt"] = undefined /*out*/;
103
+ resourceInputs["isSupportCloudInit"] = undefined /*out*/;
104
+ resourceInputs["osName"] = undefined /*out*/;
105
+ resourceInputs["osType"] = undefined /*out*/;
106
+ resourceInputs["platform"] = undefined /*out*/;
107
+ resourceInputs["platformVersion"] = undefined /*out*/;
108
+ resourceInputs["shareStatus"] = undefined /*out*/;
109
+ resourceInputs["size"] = undefined /*out*/;
110
+ resourceInputs["status"] = undefined /*out*/;
111
+ resourceInputs["updatedAt"] = undefined /*out*/;
112
+ resourceInputs["visibility"] = undefined /*out*/;
113
+ }
114
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
115
+ super(Image.__pulumiType, name, resourceInputs, opts);
116
+ }
117
+ }
118
+ exports.Image = Image;
119
+ /** @internal */
120
+ Image.__pulumiType = 'volcengine:ecs/image:Image';
121
+ //# sourceMappingURL=image.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.js","sourceRoot":"","sources":["../../ecs/image.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IA+FD,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqC,CAAC;YACpD,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,kBAAkB,CAAC,GAAG,KAAK,CAAC,C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AG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AAhLL,sBAiLC;AAnKG,gBAAgB;AACO,kBAAY,GAAG,4BAA4B,CAAC"}
@@ -0,0 +1,264 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Provides a resource to manage image import
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as volcengine from "@volcengine/pulumi";
11
+ *
12
+ * const foo = new volcengine.ecs.ImageImport("foo", {
13
+ * bootMode: "UEFI",
14
+ * description: "acc-test",
15
+ * imageName: "acc-test-image",
16
+ * platform: "CentOS",
17
+ * projectName: "default",
18
+ * tags: [{
19
+ * key: "k1",
20
+ * value: "v1",
21
+ * }],
22
+ * url: "https://*****_system.qcow2",
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * ImageImport can be imported using the id, e.g.
29
+ *
30
+ * ```sh
31
+ * $ pulumi import volcengine:ecs/imageImport:ImageImport default resource_id
32
+ * ```
33
+ */
34
+ export declare class ImageImport extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing ImageImport resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param state Any extra arguments used during the lookup.
42
+ * @param opts Optional settings to control the behavior of the CustomResource.
43
+ */
44
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ImageImportState, opts?: pulumi.CustomResourceOptions): ImageImport;
45
+ /**
46
+ * Returns true if the given object is an instance of ImageImport. 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: any): obj is ImageImport;
50
+ /**
51
+ * The architecture of the custom image. Valid values: `amd64`, `arm64`.
52
+ */
53
+ readonly architecture: pulumi.Output<string>;
54
+ /**
55
+ * The boot mode of the custom image. Valid values: `BIOS`, `UEFI`.
56
+ */
57
+ readonly bootMode: pulumi.Output<string>;
58
+ /**
59
+ * The create time of Image.
60
+ */
61
+ readonly createdAt: pulumi.Output<string>;
62
+ /**
63
+ * The description of the custom image.
64
+ */
65
+ readonly description: pulumi.Output<string | undefined>;
66
+ /**
67
+ * The name of the custom image.
68
+ */
69
+ readonly imageName: pulumi.Output<string>;
70
+ /**
71
+ * Whether the Image support cloud-init.
72
+ */
73
+ readonly isSupportCloudInit: pulumi.Output<boolean>;
74
+ /**
75
+ * The license type of the custom image. Valid values: `VolcanoEngine`.
76
+ */
77
+ readonly licenseType: pulumi.Output<string>;
78
+ /**
79
+ * The name of Image operating system.
80
+ */
81
+ readonly osName: pulumi.Output<string>;
82
+ /**
83
+ * The os type of the custom image. Valid values: `linux`, `Windows`.
84
+ */
85
+ readonly osType: pulumi.Output<string>;
86
+ /**
87
+ * The platform of the custom image. Valid values: `CentOS`, `Debian`, `veLinux`, `Windows Server`, `Fedora`, `OpenSUSE`, `Ubuntu`, `Rocky Linux`, `AlmaLinux`.
88
+ */
89
+ readonly platform: pulumi.Output<string>;
90
+ /**
91
+ * The platform version of the custom image.
92
+ */
93
+ readonly platformVersion: pulumi.Output<string>;
94
+ /**
95
+ * The project name of the custom image.
96
+ */
97
+ readonly projectName: pulumi.Output<string>;
98
+ /**
99
+ * The share mode of Image.
100
+ */
101
+ readonly shareStatus: pulumi.Output<string>;
102
+ /**
103
+ * The size(GiB) of Image.
104
+ */
105
+ readonly size: pulumi.Output<number>;
106
+ /**
107
+ * The status of Image.
108
+ */
109
+ readonly status: pulumi.Output<string>;
110
+ /**
111
+ * Tags.
112
+ */
113
+ readonly tags: pulumi.Output<outputs.ecs.ImageImportTag[] | undefined>;
114
+ /**
115
+ * The update time of Image.
116
+ */
117
+ readonly updatedAt: pulumi.Output<string>;
118
+ /**
119
+ * The url of the custom image in tos bucket.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
120
+ */
121
+ readonly url: pulumi.Output<string>;
122
+ /**
123
+ * The visibility of Image.
124
+ */
125
+ readonly visibility: pulumi.Output<string>;
126
+ /**
127
+ * Create a ImageImport resource with the given unique name, arguments, and options.
128
+ *
129
+ * @param name The _unique_ name of the resource.
130
+ * @param args The arguments to use to populate this resource's properties.
131
+ * @param opts A bag of options that control this resource's behavior.
132
+ */
133
+ constructor(name: string, args: ImageImportArgs, opts?: pulumi.CustomResourceOptions);
134
+ }
135
+ /**
136
+ * Input properties used for looking up and filtering ImageImport resources.
137
+ */
138
+ export interface ImageImportState {
139
+ /**
140
+ * The architecture of the custom image. Valid values: `amd64`, `arm64`.
141
+ */
142
+ architecture?: pulumi.Input<string>;
143
+ /**
144
+ * The boot mode of the custom image. Valid values: `BIOS`, `UEFI`.
145
+ */
146
+ bootMode?: pulumi.Input<string>;
147
+ /**
148
+ * The create time of Image.
149
+ */
150
+ createdAt?: pulumi.Input<string>;
151
+ /**
152
+ * The description of the custom image.
153
+ */
154
+ description?: pulumi.Input<string>;
155
+ /**
156
+ * The name of the custom image.
157
+ */
158
+ imageName?: pulumi.Input<string>;
159
+ /**
160
+ * Whether the Image support cloud-init.
161
+ */
162
+ isSupportCloudInit?: pulumi.Input<boolean>;
163
+ /**
164
+ * The license type of the custom image. Valid values: `VolcanoEngine`.
165
+ */
166
+ licenseType?: pulumi.Input<string>;
167
+ /**
168
+ * The name of Image operating system.
169
+ */
170
+ osName?: pulumi.Input<string>;
171
+ /**
172
+ * The os type of the custom image. Valid values: `linux`, `Windows`.
173
+ */
174
+ osType?: pulumi.Input<string>;
175
+ /**
176
+ * The platform of the custom image. Valid values: `CentOS`, `Debian`, `veLinux`, `Windows Server`, `Fedora`, `OpenSUSE`, `Ubuntu`, `Rocky Linux`, `AlmaLinux`.
177
+ */
178
+ platform?: pulumi.Input<string>;
179
+ /**
180
+ * The platform version of the custom image.
181
+ */
182
+ platformVersion?: pulumi.Input<string>;
183
+ /**
184
+ * The project name of the custom image.
185
+ */
186
+ projectName?: pulumi.Input<string>;
187
+ /**
188
+ * The share mode of Image.
189
+ */
190
+ shareStatus?: pulumi.Input<string>;
191
+ /**
192
+ * The size(GiB) of Image.
193
+ */
194
+ size?: pulumi.Input<number>;
195
+ /**
196
+ * The status of Image.
197
+ */
198
+ status?: pulumi.Input<string>;
199
+ /**
200
+ * Tags.
201
+ */
202
+ tags?: pulumi.Input<pulumi.Input<inputs.ecs.ImageImportTag>[]>;
203
+ /**
204
+ * The update time of Image.
205
+ */
206
+ updatedAt?: pulumi.Input<string>;
207
+ /**
208
+ * The url of the custom image in tos bucket.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
209
+ */
210
+ url?: pulumi.Input<string>;
211
+ /**
212
+ * The visibility of Image.
213
+ */
214
+ visibility?: pulumi.Input<string>;
215
+ }
216
+ /**
217
+ * The set of arguments for constructing a ImageImport resource.
218
+ */
219
+ export interface ImageImportArgs {
220
+ /**
221
+ * The architecture of the custom image. Valid values: `amd64`, `arm64`.
222
+ */
223
+ architecture?: pulumi.Input<string>;
224
+ /**
225
+ * The boot mode of the custom image. Valid values: `BIOS`, `UEFI`.
226
+ */
227
+ bootMode?: pulumi.Input<string>;
228
+ /**
229
+ * The description of the custom image.
230
+ */
231
+ description?: pulumi.Input<string>;
232
+ /**
233
+ * The name of the custom image.
234
+ */
235
+ imageName: pulumi.Input<string>;
236
+ /**
237
+ * The license type of the custom image. Valid values: `VolcanoEngine`.
238
+ */
239
+ licenseType?: pulumi.Input<string>;
240
+ /**
241
+ * The os type of the custom image. Valid values: `linux`, `Windows`.
242
+ */
243
+ osType?: pulumi.Input<string>;
244
+ /**
245
+ * The platform of the custom image. Valid values: `CentOS`, `Debian`, `veLinux`, `Windows Server`, `Fedora`, `OpenSUSE`, `Ubuntu`, `Rocky Linux`, `AlmaLinux`.
246
+ */
247
+ platform: pulumi.Input<string>;
248
+ /**
249
+ * The platform version of the custom image.
250
+ */
251
+ platformVersion?: pulumi.Input<string>;
252
+ /**
253
+ * The project name of the custom image.
254
+ */
255
+ projectName?: pulumi.Input<string>;
256
+ /**
257
+ * Tags.
258
+ */
259
+ tags?: pulumi.Input<pulumi.Input<inputs.ecs.ImageImportTag>[]>;
260
+ /**
261
+ * The url of the custom image in tos bucket.When importing resources, this attribute will not be imported. If this attribute is set, please use lifecycle and ignoreChanges ignore changes in fields.
262
+ */
263
+ url: pulumi.Input<string>;
264
+ }
@@ -0,0 +1,124 @@
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.ImageImport = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage image import
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@volcengine/pulumi";
15
+ *
16
+ * const foo = new volcengine.ecs.ImageImport("foo", {
17
+ * bootMode: "UEFI",
18
+ * description: "acc-test",
19
+ * imageName: "acc-test-image",
20
+ * platform: "CentOS",
21
+ * projectName: "default",
22
+ * tags: [{
23
+ * key: "k1",
24
+ * value: "v1",
25
+ * }],
26
+ * url: "https://*****_system.qcow2",
27
+ * });
28
+ * ```
29
+ *
30
+ * ## Import
31
+ *
32
+ * ImageImport can be imported using the id, e.g.
33
+ *
34
+ * ```sh
35
+ * $ pulumi import volcengine:ecs/imageImport:ImageImport default resource_id
36
+ * ```
37
+ */
38
+ class ImageImport extends pulumi.CustomResource {
39
+ /**
40
+ * Get an existing ImageImport resource's state with the given name, ID, and optional extra
41
+ * properties used to qualify the lookup.
42
+ *
43
+ * @param name The _unique_ name of the resulting resource.
44
+ * @param id The _unique_ provider ID of the resource to lookup.
45
+ * @param state Any extra arguments used during the lookup.
46
+ * @param opts Optional settings to control the behavior of the CustomResource.
47
+ */
48
+ static get(name, id, state, opts) {
49
+ return new ImageImport(name, state, Object.assign(Object.assign({}, opts), { id: id }));
50
+ }
51
+ /**
52
+ * Returns true if the given object is an instance of ImageImport. This is designed to work even
53
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
54
+ */
55
+ static isInstance(obj) {
56
+ if (obj === undefined || obj === null) {
57
+ return false;
58
+ }
59
+ return obj['__pulumiType'] === ImageImport.__pulumiType;
60
+ }
61
+ constructor(name, argsOrState, opts) {
62
+ let resourceInputs = {};
63
+ opts = opts || {};
64
+ if (opts.id) {
65
+ const state = argsOrState;
66
+ resourceInputs["architecture"] = state ? state.architecture : undefined;
67
+ resourceInputs["bootMode"] = state ? state.bootMode : undefined;
68
+ resourceInputs["createdAt"] = state ? state.createdAt : undefined;
69
+ resourceInputs["description"] = state ? state.description : undefined;
70
+ resourceInputs["imageName"] = state ? state.imageName : undefined;
71
+ resourceInputs["isSupportCloudInit"] = state ? state.isSupportCloudInit : undefined;
72
+ resourceInputs["licenseType"] = state ? state.licenseType : undefined;
73
+ resourceInputs["osName"] = state ? state.osName : undefined;
74
+ resourceInputs["osType"] = state ? state.osType : undefined;
75
+ resourceInputs["platform"] = state ? state.platform : undefined;
76
+ resourceInputs["platformVersion"] = state ? state.platformVersion : undefined;
77
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
78
+ resourceInputs["shareStatus"] = state ? state.shareStatus : undefined;
79
+ resourceInputs["size"] = state ? state.size : undefined;
80
+ resourceInputs["status"] = state ? state.status : undefined;
81
+ resourceInputs["tags"] = state ? state.tags : undefined;
82
+ resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
83
+ resourceInputs["url"] = state ? state.url : undefined;
84
+ resourceInputs["visibility"] = state ? state.visibility : undefined;
85
+ }
86
+ else {
87
+ const args = argsOrState;
88
+ if ((!args || args.imageName === undefined) && !opts.urn) {
89
+ throw new Error("Missing required property 'imageName'");
90
+ }
91
+ if ((!args || args.platform === undefined) && !opts.urn) {
92
+ throw new Error("Missing required property 'platform'");
93
+ }
94
+ if ((!args || args.url === undefined) && !opts.urn) {
95
+ throw new Error("Missing required property 'url'");
96
+ }
97
+ resourceInputs["architecture"] = args ? args.architecture : undefined;
98
+ resourceInputs["bootMode"] = args ? args.bootMode : undefined;
99
+ resourceInputs["description"] = args ? args.description : undefined;
100
+ resourceInputs["imageName"] = args ? args.imageName : undefined;
101
+ resourceInputs["licenseType"] = args ? args.licenseType : undefined;
102
+ resourceInputs["osType"] = args ? args.osType : undefined;
103
+ resourceInputs["platform"] = args ? args.platform : undefined;
104
+ resourceInputs["platformVersion"] = args ? args.platformVersion : undefined;
105
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
106
+ resourceInputs["tags"] = args ? args.tags : undefined;
107
+ resourceInputs["url"] = args ? args.url : undefined;
108
+ resourceInputs["createdAt"] = undefined /*out*/;
109
+ resourceInputs["isSupportCloudInit"] = undefined /*out*/;
110
+ resourceInputs["osName"] = undefined /*out*/;
111
+ resourceInputs["shareStatus"] = undefined /*out*/;
112
+ resourceInputs["size"] = undefined /*out*/;
113
+ resourceInputs["status"] = undefined /*out*/;
114
+ resourceInputs["updatedAt"] = undefined /*out*/;
115
+ resourceInputs["visibility"] = undefined /*out*/;
116
+ }
117
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
118
+ super(ImageImport.__pulumiType, name, resourceInputs, opts);
119
+ }
120
+ }
121
+ exports.ImageImport = ImageImport;
122
+ /** @internal */
123
+ ImageImport.__pulumiType = 'volcengine:ecs/imageImport:ImageImport';
124
+ //# sourceMappingURL=imageImport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"imageImport.js","sourceRoot":"","sources":["../../ecs/imageImport.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,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,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IAuFD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK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C,OAAO,CAAC;YAChD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA1KL,kCA2KC;AA7JG,gBAAgB;AACO,wBAAY,GAAG,wCAAwC,CAAC"}
@@ -0,0 +1,93 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Provides a resource to manage image share permission
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as volcengine from "@volcengine/pulumi";
9
+ *
10
+ * const fooImage = new volcengine.ecs.Image("fooImage", {
11
+ * imageName: "acc-test-image",
12
+ * description: "acc-test",
13
+ * instanceId: "i-ydi2q1s7wgqc6ild****",
14
+ * createWholeImage: false,
15
+ * projectName: "default",
16
+ * tags: [{
17
+ * key: "k1",
18
+ * value: "v1",
19
+ * }],
20
+ * });
21
+ * const fooImageSharePermission = new volcengine.ecs.ImageSharePermission("fooImageSharePermission", {
22
+ * imageId: fooImage.id,
23
+ * accountId: "21000*****",
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * ImageSharePermission can be imported using the image_id:account_id, e.g.
30
+ *
31
+ * ```sh
32
+ * $ pulumi import volcengine:ecs/imageSharePermission:ImageSharePermission default resource_id
33
+ * ```
34
+ */
35
+ export declare class ImageSharePermission extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing ImageSharePermission resource's state with the given name, ID, and optional extra
38
+ * properties used to qualify the lookup.
39
+ *
40
+ * @param name The _unique_ name of the resulting resource.
41
+ * @param id The _unique_ provider ID of the resource to lookup.
42
+ * @param state Any extra arguments used during the lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ImageSharePermissionState, opts?: pulumi.CustomResourceOptions): ImageSharePermission;
46
+ /**
47
+ * Returns true if the given object is an instance of ImageSharePermission. This is designed to work even
48
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
49
+ */
50
+ static isInstance(obj: any): obj is ImageSharePermission;
51
+ /**
52
+ * The share account id of the image.
53
+ */
54
+ readonly accountId: pulumi.Output<string>;
55
+ /**
56
+ * The id of the image.
57
+ */
58
+ readonly imageId: pulumi.Output<string>;
59
+ /**
60
+ * Create a ImageSharePermission resource with the given unique name, arguments, and options.
61
+ *
62
+ * @param name The _unique_ name of the resource.
63
+ * @param args The arguments to use to populate this resource's properties.
64
+ * @param opts A bag of options that control this resource's behavior.
65
+ */
66
+ constructor(name: string, args: ImageSharePermissionArgs, opts?: pulumi.CustomResourceOptions);
67
+ }
68
+ /**
69
+ * Input properties used for looking up and filtering ImageSharePermission resources.
70
+ */
71
+ export interface ImageSharePermissionState {
72
+ /**
73
+ * The share account id of the image.
74
+ */
75
+ accountId?: pulumi.Input<string>;
76
+ /**
77
+ * The id of the image.
78
+ */
79
+ imageId?: pulumi.Input<string>;
80
+ }
81
+ /**
82
+ * The set of arguments for constructing a ImageSharePermission resource.
83
+ */
84
+ export interface ImageSharePermissionArgs {
85
+ /**
86
+ * The share account id of the image.
87
+ */
88
+ accountId: pulumi.Input<string>;
89
+ /**
90
+ * The id of the image.
91
+ */
92
+ imageId: pulumi.Input<string>;
93
+ }