@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/utilities.d.ts CHANGED
@@ -1,4 +1,8 @@
1
+ import * as pulumi from "@pulumi/pulumi";
1
2
  export declare function getEnv(...vars: string[]): string | undefined;
2
3
  export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
3
4
  export declare function getEnvNumber(...vars: string[]): number | undefined;
4
5
  export declare function getVersion(): string;
6
+ export declare function callAsync<T>(tok: string, props: pulumi.Inputs, res?: pulumi.Resource, opts?: {
7
+ property?: string;
8
+ }): Promise<T>;
package/utilities.js CHANGED
@@ -1,8 +1,18 @@
1
1
  "use strict";
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6
+ return new (P || (P = Promise))(function (resolve, reject) {
7
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
9
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
10
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
11
+ });
12
+ };
4
13
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
14
+ exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
15
+ const runtime = require("@pulumi/pulumi/runtime");
6
16
  function getEnv(...vars) {
7
17
  for (const v of vars) {
8
18
  const value = process.env[v];
@@ -66,4 +76,26 @@ function lazyLoad(exports, props, loadModule) {
66
76
  }
67
77
  }
68
78
  exports.lazyLoad = lazyLoad;
79
+ function callAsync(tok, props, res, opts) {
80
+ return __awaiter(this, void 0, void 0, function* () {
81
+ const o = runtime.call(tok, props, res);
82
+ const value = yield o.promise(true /*withUnknowns*/);
83
+ const isKnown = yield o.isKnown;
84
+ const isSecret = yield o.isSecret;
85
+ const problem = !isKnown ? "an unknown value"
86
+ : isSecret ? "a secret value"
87
+ : undefined;
88
+ // Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
89
+ if (problem) {
90
+ throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
91
+ "This is an error in the provider, please report this to the provider developer.");
92
+ }
93
+ // Extract a single property if requested.
94
+ if (opts && opts.property) {
95
+ return value[opts.property];
96
+ }
97
+ return value;
98
+ });
99
+ }
100
+ exports.callAsync = callAsync;
69
101
  //# sourceMappingURL=utilities.js.map
package/utilities.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAGjF,SAAgB,MAAM,C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outputs from "../types/output";
4
+ /**
5
+ * Provides a resource to manage vedb mysql account
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as volcengine from "@pulumi/volcengine";
11
+ * import * as volcengine from "@volcengine/pulumi";
12
+ *
13
+ * const fooZones = volcengine.ecs.Zones({});
14
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
15
+ * vpcName: "acc-test-vpc",
16
+ * cidrBlock: "172.16.0.0/16",
17
+ * });
18
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
19
+ * subnetName: "acc-test-subnet",
20
+ * cidrBlock: "172.16.0.0/24",
21
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[2]?.id),
22
+ * vpcId: fooVpc.id,
23
+ * });
24
+ * const fooInstance = new volcengine.vedb_mysql.Instance("fooInstance", {
25
+ * chargeType: "PostPaid",
26
+ * storageChargeType: "PostPaid",
27
+ * dbEngineVersion: "MySQL_8_0",
28
+ * dbMinorVersion: "3.0",
29
+ * nodeNumber: 2,
30
+ * nodeSpec: "vedb.mysql.x4.large",
31
+ * subnetId: fooSubnet.id,
32
+ * instanceName: "tf-test",
33
+ * projectName: "testA",
34
+ * tags: [
35
+ * {
36
+ * key: "tftest",
37
+ * value: "tftest",
38
+ * },
39
+ * {
40
+ * key: "tftest2",
41
+ * value: "tftest2",
42
+ * },
43
+ * ],
44
+ * });
45
+ * const fooDatabase = new volcengine.vedb_mysql.Database("fooDatabase", {
46
+ * dbName: "tf-table",
47
+ * instanceId: fooInstance.id,
48
+ * });
49
+ * const fooAccount = new volcengine.vedb_mysql.Account("fooAccount", {
50
+ * accountName: "tftest",
51
+ * accountPassword: "93f0cb0614Aab12",
52
+ * accountType: "Normal",
53
+ * instanceId: fooInstance.id,
54
+ * accountPrivileges: [{
55
+ * dbName: fooDatabase.dbName,
56
+ * accountPrivilege: "Custom",
57
+ * accountPrivilegeDetail: "SELECT,INSERT,DELETE",
58
+ * }],
59
+ * });
60
+ * ```
61
+ *
62
+ * ## Import
63
+ *
64
+ * VedbMysqlAccount can be imported using the instance id and account name, e.g.
65
+ *
66
+ * ```sh
67
+ * $ pulumi import volcengine:vedb_mysql/account:Account default vedbm-r3xq0zdl****:testuser
68
+ * ```
69
+ */
70
+ export declare class Account extends pulumi.CustomResource {
71
+ /**
72
+ * Get an existing Account resource's state with the given name, ID, and optional extra
73
+ * properties used to qualify the lookup.
74
+ *
75
+ * @param name The _unique_ name of the resulting resource.
76
+ * @param id The _unique_ provider ID of the resource to lookup.
77
+ * @param state Any extra arguments used during the lookup.
78
+ * @param opts Optional settings to control the behavior of the CustomResource.
79
+ */
80
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountState, opts?: pulumi.CustomResourceOptions): Account;
81
+ /**
82
+ * Returns true if the given object is an instance of Account. This is designed to work even
83
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
84
+ */
85
+ static isInstance(obj: any): obj is Account;
86
+ /**
87
+ * Database account name. The account name must meet the following requirements:
88
+ * The name is unique and within 2 to 32 characters in length.
89
+ * Consists of lowercase letters, numbers, or underscores (_).
90
+ * Starts with a lowercase letter and ends with a letter or number.
91
+ * The name cannot contain certain prohibited words. For detailed information, please refer to prohibited keywords. And certain reserved words such as root, admin, etc. cannot be used.
92
+ */
93
+ readonly accountName: pulumi.Output<string>;
94
+ /**
95
+ * Password of database account. The account password must meet the following requirements:
96
+ * It can only contain upper and lower case letters, numbers and the following special characters _#!@$%^&*()+=-.
97
+ * It must be within 8 to 32 characters in length.
98
+ * It must contain at least three of upper case letters, lower case letters, numbers or special characters.
99
+ */
100
+ readonly accountPassword: pulumi.Output<string>;
101
+ /**
102
+ * Database permission information. When the value of AccountType is Super, this parameter does not need to be passed. High-privilege accounts by default have all permissions for all databases under this instance. When the value of AccountType is Normal, it is recommended to pass this parameter to grant specified permissions for specified databases to ordinary accounts. If not set, this account does not have any permissions for any database.
103
+ */
104
+ readonly accountPrivileges: pulumi.Output<outputs.vedb_mysql.AccountAccountPrivilege[] | undefined>;
105
+ /**
106
+ * Database account type. Values:
107
+ * Super: High-privilege account. Only one high-privilege account can be created for an instance. It has all permissions for all databases under this instance and can manage all ordinary accounts and databases.
108
+ * Normal: Multiple ordinary accounts can be created for an instance. Specific database permissions need to be manually granted to ordinary accounts.
109
+ */
110
+ readonly accountType: pulumi.Output<string>;
111
+ /**
112
+ * The id of the instance.
113
+ */
114
+ readonly instanceId: pulumi.Output<string>;
115
+ /**
116
+ * Create a Account resource with the given unique name, arguments, and options.
117
+ *
118
+ * @param name The _unique_ name of the resource.
119
+ * @param args The arguments to use to populate this resource's properties.
120
+ * @param opts A bag of options that control this resource's behavior.
121
+ */
122
+ constructor(name: string, args: AccountArgs, opts?: pulumi.CustomResourceOptions);
123
+ }
124
+ /**
125
+ * Input properties used for looking up and filtering Account resources.
126
+ */
127
+ export interface AccountState {
128
+ /**
129
+ * Database account name. The account name must meet the following requirements:
130
+ * The name is unique and within 2 to 32 characters in length.
131
+ * Consists of lowercase letters, numbers, or underscores (_).
132
+ * Starts with a lowercase letter and ends with a letter or number.
133
+ * The name cannot contain certain prohibited words. For detailed information, please refer to prohibited keywords. And certain reserved words such as root, admin, etc. cannot be used.
134
+ */
135
+ accountName?: pulumi.Input<string>;
136
+ /**
137
+ * Password of database account. The account password must meet the following requirements:
138
+ * It can only contain upper and lower case letters, numbers and the following special characters _#!@$%^&*()+=-.
139
+ * It must be within 8 to 32 characters in length.
140
+ * It must contain at least three of upper case letters, lower case letters, numbers or special characters.
141
+ */
142
+ accountPassword?: pulumi.Input<string>;
143
+ /**
144
+ * Database permission information. When the value of AccountType is Super, this parameter does not need to be passed. High-privilege accounts by default have all permissions for all databases under this instance. When the value of AccountType is Normal, it is recommended to pass this parameter to grant specified permissions for specified databases to ordinary accounts. If not set, this account does not have any permissions for any database.
145
+ */
146
+ accountPrivileges?: pulumi.Input<pulumi.Input<inputs.vedb_mysql.AccountAccountPrivilege>[]>;
147
+ /**
148
+ * Database account type. Values:
149
+ * Super: High-privilege account. Only one high-privilege account can be created for an instance. It has all permissions for all databases under this instance and can manage all ordinary accounts and databases.
150
+ * Normal: Multiple ordinary accounts can be created for an instance. Specific database permissions need to be manually granted to ordinary accounts.
151
+ */
152
+ accountType?: pulumi.Input<string>;
153
+ /**
154
+ * The id of the instance.
155
+ */
156
+ instanceId?: pulumi.Input<string>;
157
+ }
158
+ /**
159
+ * The set of arguments for constructing a Account resource.
160
+ */
161
+ export interface AccountArgs {
162
+ /**
163
+ * Database account name. The account name must meet the following requirements:
164
+ * The name is unique and within 2 to 32 characters in length.
165
+ * Consists of lowercase letters, numbers, or underscores (_).
166
+ * Starts with a lowercase letter and ends with a letter or number.
167
+ * The name cannot contain certain prohibited words. For detailed information, please refer to prohibited keywords. And certain reserved words such as root, admin, etc. cannot be used.
168
+ */
169
+ accountName: pulumi.Input<string>;
170
+ /**
171
+ * Password of database account. The account password must meet the following requirements:
172
+ * It can only contain upper and lower case letters, numbers and the following special characters _#!@$%^&*()+=-.
173
+ * It must be within 8 to 32 characters in length.
174
+ * It must contain at least three of upper case letters, lower case letters, numbers or special characters.
175
+ */
176
+ accountPassword: pulumi.Input<string>;
177
+ /**
178
+ * Database permission information. When the value of AccountType is Super, this parameter does not need to be passed. High-privilege accounts by default have all permissions for all databases under this instance. When the value of AccountType is Normal, it is recommended to pass this parameter to grant specified permissions for specified databases to ordinary accounts. If not set, this account does not have any permissions for any database.
179
+ */
180
+ accountPrivileges?: pulumi.Input<pulumi.Input<inputs.vedb_mysql.AccountAccountPrivilege>[]>;
181
+ /**
182
+ * Database account type. Values:
183
+ * Super: High-privilege account. Only one high-privilege account can be created for an instance. It has all permissions for all databases under this instance and can manage all ordinary accounts and databases.
184
+ * Normal: Multiple ordinary accounts can be created for an instance. Specific database permissions need to be manually granted to ordinary accounts.
185
+ */
186
+ accountType: pulumi.Input<string>;
187
+ /**
188
+ * The id of the instance.
189
+ */
190
+ instanceId: pulumi.Input<string>;
191
+ }
@@ -0,0 +1,137 @@
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.Account = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Provides a resource to manage vedb mysql account
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as volcengine from "@pulumi/volcengine";
15
+ * import * as volcengine from "@volcengine/pulumi";
16
+ *
17
+ * const fooZones = volcengine.ecs.Zones({});
18
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
19
+ * vpcName: "acc-test-vpc",
20
+ * cidrBlock: "172.16.0.0/16",
21
+ * });
22
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
23
+ * subnetName: "acc-test-subnet",
24
+ * cidrBlock: "172.16.0.0/24",
25
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[2]?.id),
26
+ * vpcId: fooVpc.id,
27
+ * });
28
+ * const fooInstance = new volcengine.vedb_mysql.Instance("fooInstance", {
29
+ * chargeType: "PostPaid",
30
+ * storageChargeType: "PostPaid",
31
+ * dbEngineVersion: "MySQL_8_0",
32
+ * dbMinorVersion: "3.0",
33
+ * nodeNumber: 2,
34
+ * nodeSpec: "vedb.mysql.x4.large",
35
+ * subnetId: fooSubnet.id,
36
+ * instanceName: "tf-test",
37
+ * projectName: "testA",
38
+ * tags: [
39
+ * {
40
+ * key: "tftest",
41
+ * value: "tftest",
42
+ * },
43
+ * {
44
+ * key: "tftest2",
45
+ * value: "tftest2",
46
+ * },
47
+ * ],
48
+ * });
49
+ * const fooDatabase = new volcengine.vedb_mysql.Database("fooDatabase", {
50
+ * dbName: "tf-table",
51
+ * instanceId: fooInstance.id,
52
+ * });
53
+ * const fooAccount = new volcengine.vedb_mysql.Account("fooAccount", {
54
+ * accountName: "tftest",
55
+ * accountPassword: "93f0cb0614Aab12",
56
+ * accountType: "Normal",
57
+ * instanceId: fooInstance.id,
58
+ * accountPrivileges: [{
59
+ * dbName: fooDatabase.dbName,
60
+ * accountPrivilege: "Custom",
61
+ * accountPrivilegeDetail: "SELECT,INSERT,DELETE",
62
+ * }],
63
+ * });
64
+ * ```
65
+ *
66
+ * ## Import
67
+ *
68
+ * VedbMysqlAccount can be imported using the instance id and account name, e.g.
69
+ *
70
+ * ```sh
71
+ * $ pulumi import volcengine:vedb_mysql/account:Account default vedbm-r3xq0zdl****:testuser
72
+ * ```
73
+ */
74
+ class Account extends pulumi.CustomResource {
75
+ /**
76
+ * Get an existing Account resource's state with the given name, ID, and optional extra
77
+ * properties used to qualify the lookup.
78
+ *
79
+ * @param name The _unique_ name of the resulting resource.
80
+ * @param id The _unique_ provider ID of the resource to lookup.
81
+ * @param state Any extra arguments used during the lookup.
82
+ * @param opts Optional settings to control the behavior of the CustomResource.
83
+ */
84
+ static get(name, id, state, opts) {
85
+ return new Account(name, state, Object.assign(Object.assign({}, opts), { id: id }));
86
+ }
87
+ /**
88
+ * Returns true if the given object is an instance of Account. This is designed to work even
89
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
90
+ */
91
+ static isInstance(obj) {
92
+ if (obj === undefined || obj === null) {
93
+ return false;
94
+ }
95
+ return obj['__pulumiType'] === Account.__pulumiType;
96
+ }
97
+ constructor(name, argsOrState, opts) {
98
+ let resourceInputs = {};
99
+ opts = opts || {};
100
+ if (opts.id) {
101
+ const state = argsOrState;
102
+ resourceInputs["accountName"] = state ? state.accountName : undefined;
103
+ resourceInputs["accountPassword"] = state ? state.accountPassword : undefined;
104
+ resourceInputs["accountPrivileges"] = state ? state.accountPrivileges : undefined;
105
+ resourceInputs["accountType"] = state ? state.accountType : undefined;
106
+ resourceInputs["instanceId"] = state ? state.instanceId : undefined;
107
+ }
108
+ else {
109
+ const args = argsOrState;
110
+ if ((!args || args.accountName === undefined) && !opts.urn) {
111
+ throw new Error("Missing required property 'accountName'");
112
+ }
113
+ if ((!args || args.accountPassword === undefined) && !opts.urn) {
114
+ throw new Error("Missing required property 'accountPassword'");
115
+ }
116
+ if ((!args || args.accountType === undefined) && !opts.urn) {
117
+ throw new Error("Missing required property 'accountType'");
118
+ }
119
+ if ((!args || args.instanceId === undefined) && !opts.urn) {
120
+ throw new Error("Missing required property 'instanceId'");
121
+ }
122
+ resourceInputs["accountName"] = args ? args.accountName : undefined;
123
+ resourceInputs["accountPassword"] = (args === null || args === void 0 ? void 0 : args.accountPassword) ? pulumi.secret(args.accountPassword) : undefined;
124
+ resourceInputs["accountPrivileges"] = args ? args.accountPrivileges : undefined;
125
+ resourceInputs["accountType"] = args ? args.accountType : undefined;
126
+ resourceInputs["instanceId"] = args ? args.instanceId : undefined;
127
+ }
128
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
129
+ const secretOpts = { additionalSecretOutputs: ["accountPassword"] };
130
+ opts = pulumi.mergeOptions(opts, secretOpts);
131
+ super(Account.__pulumiType, name, resourceInputs, opts);
132
+ }
133
+ }
134
+ exports.Account = Account;
135
+ /** @internal */
136
+ Account.__pulumiType = 'volcengine:vedb_mysql/account:Account';
137
+ //# sourceMappingURL=account.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.js","sourceRoot":"","sources":["../../vedb_mysql/account.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IA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M,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AApGL,0BAqGC;AAvFG,gBAAgB;AACO,oBAAY,GAAG,uCAAuC,CAAC"}
@@ -0,0 +1,194 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Use this data source to query detailed information of vedb mysql accounts
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as volcengine from "@pulumi/volcengine";
10
+ * import * as volcengine from "@volcengine/pulumi";
11
+ *
12
+ * const fooZones = volcengine.ecs.Zones({});
13
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
14
+ * vpcName: "acc-test-vpc",
15
+ * cidrBlock: "172.16.0.0/16",
16
+ * });
17
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
18
+ * subnetName: "acc-test-subnet",
19
+ * cidrBlock: "172.16.0.0/24",
20
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[2]?.id),
21
+ * vpcId: fooVpc.id,
22
+ * });
23
+ * const fooInstance = new volcengine.vedb_mysql.Instance("fooInstance", {
24
+ * chargeType: "PostPaid",
25
+ * storageChargeType: "PostPaid",
26
+ * dbEngineVersion: "MySQL_8_0",
27
+ * dbMinorVersion: "3.0",
28
+ * nodeNumber: 2,
29
+ * nodeSpec: "vedb.mysql.x4.large",
30
+ * subnetId: fooSubnet.id,
31
+ * instanceName: "tf-test",
32
+ * projectName: "testA",
33
+ * tags: [
34
+ * {
35
+ * key: "tftest",
36
+ * value: "tftest",
37
+ * },
38
+ * {
39
+ * key: "tftest2",
40
+ * value: "tftest2",
41
+ * },
42
+ * ],
43
+ * });
44
+ * const fooDatabase = new volcengine.vedb_mysql.Database("fooDatabase", {
45
+ * dbName: "tf-table",
46
+ * instanceId: fooInstance.id,
47
+ * });
48
+ * const fooAccount = new volcengine.vedb_mysql.Account("fooAccount", {
49
+ * accountName: "tftest",
50
+ * accountPassword: "93f0cb0614Aab12",
51
+ * accountType: "Normal",
52
+ * instanceId: fooInstance.id,
53
+ * accountPrivileges: [{
54
+ * dbName: fooDatabase.dbName,
55
+ * accountPrivilege: "Custom",
56
+ * accountPrivilegeDetail: "SELECT,INSERT,DELETE",
57
+ * }],
58
+ * });
59
+ * const fooAccounts = volcengine.vedb_mysql.AccountsOutput({
60
+ * accountName: fooAccount.accountName,
61
+ * instanceId: fooInstance.id,
62
+ * });
63
+ * ```
64
+ */
65
+ export declare function accounts(args: AccountsArgs, opts?: pulumi.InvokeOptions): Promise<AccountsResult>;
66
+ /**
67
+ * A collection of arguments for invoking Accounts.
68
+ */
69
+ export interface AccountsArgs {
70
+ /**
71
+ * The name of the database account. This field supports fuzzy query.
72
+ */
73
+ accountName?: string;
74
+ /**
75
+ * The id of the veDB Mysql instance.
76
+ */
77
+ instanceId: string;
78
+ /**
79
+ * A Name Regex of Resource.
80
+ */
81
+ nameRegex?: string;
82
+ /**
83
+ * File name where to save data source results.
84
+ */
85
+ outputFile?: string;
86
+ }
87
+ /**
88
+ * A collection of values returned by Accounts.
89
+ */
90
+ export interface AccountsResult {
91
+ /**
92
+ * The name of the database account.
93
+ */
94
+ readonly accountName?: string;
95
+ /**
96
+ * The collection of query.
97
+ */
98
+ readonly accounts: outputs.vedb_mysql.AccountsAccount[];
99
+ /**
100
+ * The provider-assigned unique ID for this managed resource.
101
+ */
102
+ readonly id: string;
103
+ readonly instanceId: string;
104
+ readonly nameRegex?: string;
105
+ readonly outputFile?: string;
106
+ /**
107
+ * The total count of query.
108
+ */
109
+ readonly totalCount: number;
110
+ }
111
+ /**
112
+ * Use this data source to query detailed information of vedb mysql accounts
113
+ * ## Example Usage
114
+ *
115
+ * ```typescript
116
+ * import * as pulumi from "@pulumi/pulumi";
117
+ * import * as volcengine from "@pulumi/volcengine";
118
+ * import * as volcengine from "@volcengine/pulumi";
119
+ *
120
+ * const fooZones = volcengine.ecs.Zones({});
121
+ * const fooVpc = new volcengine.vpc.Vpc("fooVpc", {
122
+ * vpcName: "acc-test-vpc",
123
+ * cidrBlock: "172.16.0.0/16",
124
+ * });
125
+ * const fooSubnet = new volcengine.vpc.Subnet("fooSubnet", {
126
+ * subnetName: "acc-test-subnet",
127
+ * cidrBlock: "172.16.0.0/24",
128
+ * zoneId: fooZones.then(fooZones => fooZones.zones?.[2]?.id),
129
+ * vpcId: fooVpc.id,
130
+ * });
131
+ * const fooInstance = new volcengine.vedb_mysql.Instance("fooInstance", {
132
+ * chargeType: "PostPaid",
133
+ * storageChargeType: "PostPaid",
134
+ * dbEngineVersion: "MySQL_8_0",
135
+ * dbMinorVersion: "3.0",
136
+ * nodeNumber: 2,
137
+ * nodeSpec: "vedb.mysql.x4.large",
138
+ * subnetId: fooSubnet.id,
139
+ * instanceName: "tf-test",
140
+ * projectName: "testA",
141
+ * tags: [
142
+ * {
143
+ * key: "tftest",
144
+ * value: "tftest",
145
+ * },
146
+ * {
147
+ * key: "tftest2",
148
+ * value: "tftest2",
149
+ * },
150
+ * ],
151
+ * });
152
+ * const fooDatabase = new volcengine.vedb_mysql.Database("fooDatabase", {
153
+ * dbName: "tf-table",
154
+ * instanceId: fooInstance.id,
155
+ * });
156
+ * const fooAccount = new volcengine.vedb_mysql.Account("fooAccount", {
157
+ * accountName: "tftest",
158
+ * accountPassword: "93f0cb0614Aab12",
159
+ * accountType: "Normal",
160
+ * instanceId: fooInstance.id,
161
+ * accountPrivileges: [{
162
+ * dbName: fooDatabase.dbName,
163
+ * accountPrivilege: "Custom",
164
+ * accountPrivilegeDetail: "SELECT,INSERT,DELETE",
165
+ * }],
166
+ * });
167
+ * const fooAccounts = volcengine.vedb_mysql.AccountsOutput({
168
+ * accountName: fooAccount.accountName,
169
+ * instanceId: fooInstance.id,
170
+ * });
171
+ * ```
172
+ */
173
+ export declare function accountsOutput(args: AccountsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<AccountsResult>;
174
+ /**
175
+ * A collection of arguments for invoking Accounts.
176
+ */
177
+ export interface AccountsOutputArgs {
178
+ /**
179
+ * The name of the database account. This field supports fuzzy query.
180
+ */
181
+ accountName?: pulumi.Input<string>;
182
+ /**
183
+ * The id of the veDB Mysql instance.
184
+ */
185
+ instanceId: pulumi.Input<string>;
186
+ /**
187
+ * A Name Regex of Resource.
188
+ */
189
+ nameRegex?: pulumi.Input<string>;
190
+ /**
191
+ * File name where to save data source results.
192
+ */
193
+ outputFile?: pulumi.Input<string>;
194
+ }