@volcengine/pulumi-volcenginecc 0.0.28 → 0.0.29

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 (560) hide show
  1. package/alb/acl.d.ts +20 -20
  2. package/alb/acl.js +1 -1
  3. package/alb/certificate.d.ts +33 -33
  4. package/alb/certificate.js +1 -1
  5. package/alb/customizedCfg.d.ts +24 -21
  6. package/alb/customizedCfg.js +1 -1
  7. package/alb/customizedCfg.js.map +1 -1
  8. package/alb/getAcl.d.ts +11 -11
  9. package/alb/getCertificate.d.ts +14 -14
  10. package/alb/getCustomizedCfg.d.ts +11 -10
  11. package/alb/getCustomizedCfg.js.map +1 -1
  12. package/alb/getHealthCheckTemplate.d.ts +18 -18
  13. package/alb/getListener.d.ts +30 -30
  14. package/alb/getLoadBalancer.d.ts +31 -31
  15. package/alb/getRule.d.ts +16 -16
  16. package/alb/getServerGroup.d.ts +19 -19
  17. package/alb/healthCheckTemplate.d.ts +49 -49
  18. package/alb/healthCheckTemplate.js +1 -1
  19. package/alb/listener.d.ts +77 -77
  20. package/alb/listener.js +1 -1
  21. package/alb/loadBalancer.d.ts +79 -79
  22. package/alb/loadBalancer.js +1 -1
  23. package/alb/rule.d.ts +42 -42
  24. package/alb/rule.js +1 -1
  25. package/alb/serverGroup.d.ts +45 -45
  26. package/alb/serverGroup.js +1 -1
  27. package/apig/customDomain.d.ts +27 -27
  28. package/apig/customDomain.js +1 -1
  29. package/apig/gateway.d.ts +45 -45
  30. package/apig/gateway.js +1 -1
  31. package/apig/gatewayService.d.ts +37 -37
  32. package/apig/gatewayService.js +1 -1
  33. package/apig/getCustomDomain.d.ts +10 -10
  34. package/apig/getGateway.d.ts +18 -18
  35. package/apig/getGatewayService.d.ts +16 -16
  36. package/apig/getUpstream.d.ts +14 -14
  37. package/apig/getUpstreamSource.d.ts +11 -11
  38. package/apig/upstream.d.ts +35 -35
  39. package/apig/upstream.js +1 -1
  40. package/apig/upstreamSource.d.ts +29 -29
  41. package/apig/upstreamSource.js +1 -1
  42. package/ark/endpoint.d.ts +46 -46
  43. package/ark/endpoint.js +1 -1
  44. package/ark/getEndpoint.d.ts +20 -20
  45. package/autoscaling/getScalingConfiguration.d.ts +28 -28
  46. package/autoscaling/getScalingGroup.d.ts +37 -29
  47. package/autoscaling/getScalingGroup.js.map +1 -1
  48. package/autoscaling/getScalingLifecycleHook.d.ts +7 -7
  49. package/autoscaling/getScalingPolicy.d.ts +11 -11
  50. package/autoscaling/scalingConfiguration.d.ts +71 -71
  51. package/autoscaling/scalingConfiguration.js +1 -1
  52. package/autoscaling/scalingGroup.d.ts +76 -70
  53. package/autoscaling/scalingGroup.js +5 -1
  54. package/autoscaling/scalingGroup.js.map +1 -1
  55. package/autoscaling/scalingLifecycleHook.d.ts +21 -21
  56. package/autoscaling/scalingLifecycleHook.js +1 -1
  57. package/autoscaling/scalingPolicy.d.ts +32 -32
  58. package/autoscaling/scalingPolicy.js +1 -1
  59. package/bmq/getGroup.d.ts +10 -10
  60. package/bmq/getInstance.d.ts +25 -25
  61. package/bmq/group.d.ts +23 -23
  62. package/bmq/group.js +1 -1
  63. package/bmq/instance.d.ts +62 -62
  64. package/bmq/instance.js +1 -1
  65. package/cbr/backupPlan.d.ts +17 -17
  66. package/cbr/backupPlan.js +1 -1
  67. package/cbr/backupPolicy.d.ts +32 -32
  68. package/cbr/backupPolicy.js +1 -1
  69. package/cbr/backupResource.d.ts +26 -26
  70. package/cbr/backupResource.js +1 -1
  71. package/cbr/getBackupPlan.d.ts +8 -8
  72. package/cbr/getBackupPolicy.d.ts +12 -12
  73. package/cbr/getBackupResource.d.ts +12 -12
  74. package/cbr/getVault.d.ts +6 -6
  75. package/cbr/vault.d.ts +13 -13
  76. package/cbr/vault.js +1 -1
  77. package/cdn/domain.d.ts +143 -145
  78. package/cdn/domain.js +1 -1
  79. package/cdn/domain.js.map +1 -1
  80. package/cdn/getDomain.d.ts +60 -61
  81. package/cdn/getDomain.js.map +1 -1
  82. package/cdn/getShareConfig.d.ts +11 -11
  83. package/cdn/shareConfig.d.ts +31 -31
  84. package/cdn/shareConfig.js +1 -1
  85. package/cen/cen.d.ts +22 -22
  86. package/cen/cen.js +1 -1
  87. package/cen/getCen.d.ts +11 -11
  88. package/cen/getGrantInstance.d.ts +60 -0
  89. package/cen/getGrantInstance.js +28 -0
  90. package/cen/getGrantInstance.js.map +1 -0
  91. package/cen/getGrantInstances.d.ts +22 -0
  92. package/cen/getGrantInstances.js +24 -0
  93. package/cen/getGrantInstances.js.map +1 -0
  94. package/cen/grantInstance.d.ts +128 -0
  95. package/cen/grantInstance.js +98 -0
  96. package/cen/grantInstance.js.map +1 -0
  97. package/cen/index.d.ts +9 -0
  98. package/cen/index.js +12 -1
  99. package/cen/index.js.map +1 -1
  100. package/clb/acl.d.ts +22 -22
  101. package/clb/acl.js +1 -1
  102. package/clb/certificate.d.ts +30 -30
  103. package/clb/certificate.js +1 -1
  104. package/clb/clb.d.ts +115 -115
  105. package/clb/clb.js +1 -1
  106. package/clb/getAcl.d.ts +12 -12
  107. package/clb/getCertificate.d.ts +13 -13
  108. package/clb/getClb.d.ts +46 -46
  109. package/clb/getListener.d.ts +45 -45
  110. package/clb/getNlb.d.ts +27 -27
  111. package/clb/getNlbListener.d.ts +18 -18
  112. package/clb/getNlbSecurityPolicy.d.ts +11 -11
  113. package/clb/getNlbServerGroup.d.ts +27 -27
  114. package/clb/getRule.d.ts +9 -9
  115. package/clb/getServerGroup.d.ts +12 -12
  116. package/clb/listener.d.ts +127 -127
  117. package/clb/listener.js +1 -1
  118. package/clb/nlb.d.ts +64 -64
  119. package/clb/nlb.js +1 -1
  120. package/clb/nlbListener.d.ts +45 -45
  121. package/clb/nlbListener.js +1 -1
  122. package/clb/nlbSecurityPolicy.d.ts +25 -25
  123. package/clb/nlbSecurityPolicy.js +1 -1
  124. package/clb/nlbServerGroup.d.ts +69 -69
  125. package/clb/nlbServerGroup.js +1 -1
  126. package/clb/rule.d.ts +24 -24
  127. package/clb/rule.js +1 -1
  128. package/clb/serverGroup.d.ts +25 -25
  129. package/clb/serverGroup.js +1 -1
  130. package/cloudidentity/getGroup.d.ts +9 -9
  131. package/cloudidentity/getPermissionSet.d.ts +9 -9
  132. package/cloudidentity/getPermissionSetAssignment.d.ts +8 -8
  133. package/cloudidentity/getPermissionSetProvisioning.d.ts +7 -7
  134. package/cloudidentity/getUser.d.ts +12 -12
  135. package/cloudidentity/getUserProvisioning.d.ts +13 -13
  136. package/cloudidentity/group.d.ts +21 -21
  137. package/cloudidentity/group.js +1 -1
  138. package/cloudidentity/permissionSet.d.ts +21 -21
  139. package/cloudidentity/permissionSet.js +1 -1
  140. package/cloudidentity/permissionSetAssignment.d.ts +22 -22
  141. package/cloudidentity/permissionSetAssignment.js +2 -2
  142. package/cloudidentity/permissionSetProvisioning.d.ts +17 -17
  143. package/cloudidentity/permissionSetProvisioning.js +1 -1
  144. package/cloudidentity/user.d.ts +32 -32
  145. package/cloudidentity/user.js +1 -1
  146. package/cloudidentity/userProvisioning.d.ts +35 -35
  147. package/cloudidentity/userProvisioning.js +1 -1
  148. package/cloudmonitor/getRule.d.ts +33 -33
  149. package/cloudmonitor/rule.d.ts +83 -83
  150. package/cloudmonitor/rule.js +1 -1
  151. package/cr/getNameSpace.d.ts +4 -4
  152. package/cr/getRegistry.d.ts +11 -11
  153. package/cr/getRepository.d.ts +7 -7
  154. package/cr/nameSpace.d.ts +12 -12
  155. package/cr/nameSpace.js +1 -1
  156. package/cr/registry.d.ts +25 -25
  157. package/cr/registry.js +1 -1
  158. package/cr/repository.d.ts +20 -20
  159. package/cr/repository.js +1 -1
  160. package/directconnect/directConnectGateway.d.ts +36 -36
  161. package/directconnect/directConnectGateway.js +1 -1
  162. package/directconnect/getDirectConnectGateway.d.ts +17 -17
  163. package/dns/getZone.d.ts +22 -22
  164. package/dns/zone.d.ts +46 -46
  165. package/dns/zone.js +1 -1
  166. package/ecs/command.d.ts +41 -41
  167. package/ecs/command.js +1 -1
  168. package/ecs/deploymentSet.d.ts +28 -28
  169. package/ecs/deploymentSet.js +1 -1
  170. package/ecs/getCommand.d.ts +17 -17
  171. package/ecs/getDeploymentSet.d.ts +11 -11
  172. package/ecs/getHpcCluster.d.ts +9 -9
  173. package/ecs/getImage.d.ts +46 -30
  174. package/ecs/getImage.js.map +1 -1
  175. package/ecs/getInvocation.d.ts +28 -28
  176. package/ecs/getKeypair.d.ts +10 -10
  177. package/ecs/getLaunchTemplate.d.ts +9 -9
  178. package/ecs/getLaunchTemplateVersion.d.ts +29 -29
  179. package/ecs/hpcCluster.d.ts +21 -21
  180. package/ecs/hpcCluster.js +1 -1
  181. package/ecs/image.d.ts +132 -64
  182. package/ecs/image.js +15 -7
  183. package/ecs/image.js.map +1 -1
  184. package/ecs/instance.d.ts +303 -261
  185. package/ecs/instance.js +1 -1
  186. package/ecs/instance.js.map +1 -1
  187. package/ecs/invocation.d.ts +65 -65
  188. package/ecs/invocation.js +1 -1
  189. package/ecs/keypair.d.ts +24 -24
  190. package/ecs/keypair.js +1 -1
  191. package/ecs/launchTemplate.d.ts +21 -21
  192. package/ecs/launchTemplate.js +1 -1
  193. package/ecs/launchTemplateVersion.d.ts +78 -78
  194. package/ecs/launchTemplateVersion.js +1 -1
  195. package/efs/fileSystem.d.ts +47 -47
  196. package/efs/fileSystem.js +1 -1
  197. package/efs/getFileSystem.d.ts +20 -20
  198. package/emr/cluster.d.ts +61 -61
  199. package/emr/cluster.js +1 -1
  200. package/emr/clusterUser.d.ts +25 -25
  201. package/emr/clusterUser.js +1 -1
  202. package/emr/clusterUserGroup.d.ts +13 -13
  203. package/emr/clusterUserGroup.js +1 -1
  204. package/emr/getCluster.d.ts +29 -29
  205. package/emr/getClusterUser.d.ts +9 -9
  206. package/emr/getClusterUserGroup.d.ts +4 -4
  207. package/emr/getNodeGroup.d.ts +20 -20
  208. package/emr/nodeGroup.d.ts +47 -47
  209. package/emr/nodeGroup.js +1 -1
  210. package/escloud/getInstance.d.ts +44 -44
  211. package/escloud/instance.d.ts +90 -90
  212. package/escloud/instance.js +1 -1
  213. package/filenas/getInstance.d.ts +18 -18
  214. package/filenas/getMountPoint.d.ts +15 -15
  215. package/filenas/getSnapshot.d.ts +14 -14
  216. package/filenas/instance.d.ts +46 -46
  217. package/filenas/instance.js +1 -1
  218. package/filenas/mountPoint.d.ts +34 -34
  219. package/filenas/mountPoint.js +1 -1
  220. package/filenas/snapshot.d.ts +32 -32
  221. package/filenas/snapshot.js +1 -1
  222. package/fwcenter/dnsControlPolicy.d.ts +30 -30
  223. package/fwcenter/dnsControlPolicy.js +1 -1
  224. package/fwcenter/getDnsControlPolicy.d.ts +14 -14
  225. package/hbase/getInstance.d.ts +36 -36
  226. package/hbase/instance.d.ts +90 -90
  227. package/hbase/instance.js +1 -1
  228. package/iam/accesskey.d.ts +24 -24
  229. package/iam/accesskey.js +1 -1
  230. package/iam/getAccesskey.d.ts +10 -10
  231. package/iam/getGroup.d.ts +9 -9
  232. package/iam/getPolicy.d.ts +13 -13
  233. package/iam/getProject.d.ts +10 -10
  234. package/iam/getRole.d.ts +10 -10
  235. package/iam/getUser.d.ts +18 -18
  236. package/iam/group.d.ts +18 -18
  237. package/iam/group.js +1 -1
  238. package/iam/policy.d.ts +25 -25
  239. package/iam/policy.js +1 -1
  240. package/iam/project.d.ts +25 -25
  241. package/iam/project.js +1 -1
  242. package/iam/role.d.ts +26 -26
  243. package/iam/role.js +1 -1
  244. package/iam/user.d.ts +40 -44
  245. package/iam/user.js +2 -2
  246. package/iam/user.js.map +1 -1
  247. package/kafka/allowList.d.ts +19 -19
  248. package/kafka/allowList.js +1 -1
  249. package/kafka/getAllowList.d.ts +8 -8
  250. package/kafka/getInstance.d.ts +32 -32
  251. package/kafka/getTopic.d.ts +15 -15
  252. package/kafka/instance.d.ts +79 -79
  253. package/kafka/instance.js +1 -1
  254. package/kafka/topic.d.ts +35 -35
  255. package/kafka/topic.js +1 -1
  256. package/kms/getKey.d.ts +24 -24
  257. package/kms/getKeyRing.d.ts +9 -9
  258. package/kms/key.d.ts +59 -59
  259. package/kms/key.js +1 -1
  260. package/kms/keyRing.d.ts +23 -23
  261. package/kms/keyRing.js +1 -1
  262. package/mongodb/allowList.d.ts +25 -25
  263. package/mongodb/allowList.js +1 -1
  264. package/mongodb/getAllowList.d.ts +10 -10
  265. package/mongodb/getInstance.d.ts +44 -44
  266. package/mongodb/instance.d.ts +101 -101
  267. package/mongodb/instance.js +1 -1
  268. package/natgateway/dnatentry.d.ts +29 -29
  269. package/natgateway/dnatentry.js +1 -1
  270. package/natgateway/getDnatentry.d.ts +10 -10
  271. package/natgateway/getNatIp.d.ts +8 -8
  272. package/natgateway/getNgw.d.ts +29 -29
  273. package/natgateway/getSnatentry.d.ts +9 -9
  274. package/natgateway/natIp.d.ts +21 -21
  275. package/natgateway/natIp.js +1 -1
  276. package/natgateway/ngw.d.ts +65 -65
  277. package/natgateway/ngw.js +1 -1
  278. package/natgateway/snatentry.d.ts +26 -26
  279. package/natgateway/snatentry.js +2 -2
  280. package/organization/account.d.ts +59 -59
  281. package/organization/account.js +1 -1
  282. package/organization/getAccount.d.ts +25 -25
  283. package/organization/getOrganization.d.ts +3 -3
  284. package/organization/getUnit.d.ts +12 -12
  285. package/organization/organization.d.ts +9 -9
  286. package/organization/organization.js +1 -1
  287. package/organization/unit.d.ts +28 -28
  288. package/organization/unit.js +1 -1
  289. package/package.json +1 -1
  290. package/privatelink/endpointService.d.ts +63 -63
  291. package/privatelink/endpointService.js +1 -1
  292. package/privatelink/getEndpointService.d.ts +26 -26
  293. package/privatezone/getRecord.d.ts +14 -14
  294. package/privatezone/getResolverEndpoint.d.ts +13 -13
  295. package/privatezone/getResolverRule.d.ts +14 -14
  296. package/privatezone/getUserVpcAuthorization.d.ts +52 -0
  297. package/privatezone/getUserVpcAuthorization.js +28 -0
  298. package/privatezone/getUserVpcAuthorization.js.map +1 -0
  299. package/privatezone/getUserVpcAuthorizations.d.ts +22 -0
  300. package/privatezone/getUserVpcAuthorizations.js +24 -0
  301. package/privatezone/getUserVpcAuthorizations.js.map +1 -0
  302. package/privatezone/index.d.ts +9 -0
  303. package/privatezone/index.js +12 -1
  304. package/privatezone/index.js.map +1 -1
  305. package/privatezone/record.d.ts +39 -39
  306. package/privatezone/record.js +1 -1
  307. package/privatezone/resolverEndpoint.d.ts +29 -29
  308. package/privatezone/resolverEndpoint.js +1 -1
  309. package/privatezone/resolverRule.d.ts +29 -29
  310. package/privatezone/resolverRule.js +1 -1
  311. package/privatezone/userVpcAuthorization.d.ts +102 -0
  312. package/privatezone/userVpcAuthorization.js +77 -0
  313. package/privatezone/userVpcAuthorization.js.map +1 -0
  314. package/rabbitmq/getInstance.d.ts +24 -24
  315. package/rabbitmq/getInstancePlugin.d.ts +9 -9
  316. package/rabbitmq/getPublicAddress.d.ts +23 -23
  317. package/rabbitmq/instance.d.ts +58 -58
  318. package/rabbitmq/instance.js +1 -1
  319. package/rabbitmq/instancePlugin.d.ts +21 -21
  320. package/rabbitmq/instancePlugin.js +1 -1
  321. package/rabbitmq/publicAddress.d.ts +45 -45
  322. package/rabbitmq/publicAddress.js +1 -1
  323. package/rdsmssql/allowList.d.ts +32 -32
  324. package/rdsmssql/allowList.js +1 -1
  325. package/rdsmssql/getAllowList.d.ts +12 -12
  326. package/rdsmssql/getInstance.d.ts +35 -35
  327. package/rdsmssql/instance.d.ts +81 -81
  328. package/rdsmssql/instance.js +1 -1
  329. package/rdsmysql/allowList.d.ts +46 -46
  330. package/rdsmysql/allowList.js +1 -1
  331. package/rdsmysql/backup.d.ts +44 -44
  332. package/rdsmysql/backup.js +1 -1
  333. package/rdsmysql/database.d.ts +15 -15
  334. package/rdsmysql/database.js +1 -1
  335. package/rdsmysql/dbAccount.d.ts +25 -25
  336. package/rdsmysql/dbAccount.js +1 -1
  337. package/rdsmysql/endpoint.d.ts +69 -69
  338. package/rdsmysql/endpoint.js +1 -1
  339. package/rdsmysql/getAllowList.d.ts +18 -18
  340. package/rdsmysql/getBackup.d.ts +22 -22
  341. package/rdsmysql/getDatabase.d.ts +6 -6
  342. package/rdsmysql/getDbAccount.d.ts +11 -11
  343. package/rdsmysql/getEndpoint.d.ts +26 -26
  344. package/rdsmysql/getInstance.d.ts +70 -70
  345. package/rdsmysql/instance.d.ts +155 -155
  346. package/rdsmysql/instance.js +1 -1
  347. package/rdspostgresql/allowList.d.ts +35 -35
  348. package/rdspostgresql/allowList.js +1 -1
  349. package/rdspostgresql/database.d.ts +21 -21
  350. package/rdspostgresql/database.js +1 -1
  351. package/rdspostgresql/dbAccount.d.ts +19 -19
  352. package/rdspostgresql/dbAccount.js +1 -1
  353. package/rdspostgresql/dbEndpoint.d.ts +39 -39
  354. package/rdspostgresql/dbEndpoint.js +1 -1
  355. package/rdspostgresql/getAllowList.d.ts +14 -14
  356. package/rdspostgresql/getDatabase.d.ts +7 -7
  357. package/rdspostgresql/getDbAccount.d.ts +6 -6
  358. package/rdspostgresql/getDbEndpoint.d.ts +16 -16
  359. package/rdspostgresql/getSchema.d.ts +4 -4
  360. package/rdspostgresql/schema.d.ts +13 -13
  361. package/rdspostgresql/schema.js +1 -1
  362. package/redis/account.d.ts +18 -18
  363. package/redis/account.js +1 -1
  364. package/redis/endpointPublicAddress.d.ts +24 -24
  365. package/redis/endpointPublicAddress.js +1 -1
  366. package/redis/getAccount.d.ts +6 -6
  367. package/redis/getEndpointPublicAddress.d.ts +9 -9
  368. package/redis/getInstance.d.ts +44 -44
  369. package/redis/instance.d.ts +103 -103
  370. package/redis/instance.js +1 -1
  371. package/rocketmq/allowList.d.ts +25 -25
  372. package/rocketmq/allowList.js +1 -1
  373. package/rocketmq/getAllowList.d.ts +10 -10
  374. package/rocketmq/getGroup.d.ts +18 -18
  375. package/rocketmq/getInstance.d.ts +32 -32
  376. package/rocketmq/getTopic.d.ts +12 -12
  377. package/rocketmq/group.d.ts +39 -39
  378. package/rocketmq/group.js +1 -1
  379. package/rocketmq/instance.d.ts +80 -80
  380. package/rocketmq/instance.js +1 -1
  381. package/rocketmq/topic.d.ts +22 -22
  382. package/rocketmq/topic.js +1 -1
  383. package/storageebs/getSnapshot.d.ts +21 -21
  384. package/storageebs/getVolume.d.ts +30 -30
  385. package/storageebs/snapshot.d.ts +46 -46
  386. package/storageebs/snapshot.js +1 -1
  387. package/storageebs/volume.d.ts +72 -72
  388. package/storageebs/volume.js +1 -1
  389. package/tls/getIndex.d.ts +8 -8
  390. package/tls/getProject.d.ts +8 -8
  391. package/tls/getScheduleSqlTask.d.ts +21 -21
  392. package/tls/getTopic.d.ts +21 -21
  393. package/tls/index_.d.ts +17 -17
  394. package/tls/index_.js +1 -1
  395. package/tls/project.d.ts +18 -18
  396. package/tls/project.js +1 -1
  397. package/tls/scheduleSqlTask.d.ts +56 -56
  398. package/tls/scheduleSqlTask.js +1 -1
  399. package/tls/topic.d.ts +57 -57
  400. package/tls/topic.js +1 -1
  401. package/tos/bucket.d.ts +33 -33
  402. package/tos/bucket.js +1 -1
  403. package/tos/getBucket.d.ts +14 -14
  404. package/transitrouter/getTransitRouter.d.ts +16 -16
  405. package/transitrouter/getTransitRouterRouteEntry.d.ts +14 -14
  406. package/transitrouter/getTransitRouterRouteTable.d.ts +11 -11
  407. package/transitrouter/getVpcAttachment.d.ts +14 -14
  408. package/transitrouter/getVpnAttachment.d.ts +14 -14
  409. package/transitrouter/transitRouter.d.ts +34 -34
  410. package/transitrouter/transitRouter.js +1 -1
  411. package/transitrouter/transitRouterRouteEntry.d.ts +35 -35
  412. package/transitrouter/transitRouterRouteEntry.js +1 -1
  413. package/transitrouter/transitRouterRouteTable.d.ts +24 -24
  414. package/transitrouter/transitRouterRouteTable.js +1 -1
  415. package/transitrouter/vpcAttachment.d.ts +32 -32
  416. package/transitrouter/vpcAttachment.js +1 -1
  417. package/transitrouter/vpnAttachment.d.ts +34 -34
  418. package/transitrouter/vpnAttachment.js +1 -1
  419. package/types/input.d.ts +2967 -2452
  420. package/types/output.d.ts +6378 -5280
  421. package/vedbm/account.d.ts +132 -0
  422. package/vedbm/account.js +83 -0
  423. package/vedbm/account.js.map +1 -0
  424. package/vedbm/allowList.d.ts +25 -25
  425. package/vedbm/allowList.js +1 -1
  426. package/vedbm/backup.d.ts +35 -35
  427. package/vedbm/backup.js +1 -1
  428. package/vedbm/database.d.ts +13 -13
  429. package/vedbm/database.js +1 -1
  430. package/vedbm/getAccount.d.ts +60 -0
  431. package/vedbm/getAccount.js +28 -0
  432. package/vedbm/getAccount.js.map +1 -0
  433. package/vedbm/getAccounts.d.ts +22 -0
  434. package/vedbm/getAccounts.js +24 -0
  435. package/vedbm/getAccounts.js.map +1 -0
  436. package/vedbm/getAllowList.d.ts +10 -10
  437. package/vedbm/getBackup.d.ts +14 -14
  438. package/vedbm/getDatabase.d.ts +5 -5
  439. package/vedbm/getInstance.d.ts +30 -30
  440. package/vedbm/index.d.ts +9 -0
  441. package/vedbm/index.js +12 -1
  442. package/vedbm/index.js.map +1 -1
  443. package/vedbm/instance.d.ts +76 -76
  444. package/vedbm/instance.js +1 -1
  445. package/vefaas/function.d.ts +381 -0
  446. package/vefaas/function.js +120 -0
  447. package/vefaas/function.js.map +1 -0
  448. package/vefaas/getFunction.d.ts +165 -0
  449. package/vefaas/getFunction.js +28 -0
  450. package/vefaas/getFunction.js.map +1 -0
  451. package/vefaas/getFunctions.d.ts +22 -0
  452. package/vefaas/getFunctions.js +24 -0
  453. package/vefaas/getFunctions.js.map +1 -0
  454. package/vefaas/getKafkaTrigger.d.ts +16 -16
  455. package/vefaas/getSandbox.d.ts +20 -20
  456. package/vefaas/index.d.ts +9 -0
  457. package/vefaas/index.js +12 -1
  458. package/vefaas/index.js.map +1 -1
  459. package/vefaas/kafkaTrigger.d.ts +44 -44
  460. package/vefaas/kafkaTrigger.js +1 -1
  461. package/vefaas/sandbox.d.ts +45 -45
  462. package/vefaas/sandbox.js +1 -1
  463. package/vepfs/getInstance.d.ts +31 -31
  464. package/vepfs/instance.d.ts +74 -74
  465. package/vepfs/instance.js +1 -1
  466. package/vke/addon.d.ts +26 -26
  467. package/vke/addon.js +1 -1
  468. package/vke/cluster.d.ts +53 -53
  469. package/vke/cluster.js +1 -1
  470. package/vke/defaultNodePool.d.ts +26 -26
  471. package/vke/defaultNodePool.js +1 -1
  472. package/vke/getAddon.d.ts +9 -9
  473. package/vke/getCluster.d.ts +21 -21
  474. package/vke/getDefaultNodePool.d.ts +12 -12
  475. package/vke/getNode.d.ts +18 -18
  476. package/vke/getNodePool.d.ts +13 -13
  477. package/vke/getPermission.d.ts +18 -18
  478. package/vke/node.d.ts +47 -47
  479. package/vke/node.js +1 -1
  480. package/vke/nodePool.d.ts +32 -32
  481. package/vke/nodePool.js +1 -1
  482. package/vke/permission.d.ts +46 -46
  483. package/vke/permission.js +1 -1
  484. package/vmp/getWorkspace.d.ts +54 -18
  485. package/vmp/getWorkspace.js.map +1 -1
  486. package/vmp/workspace.d.ts +151 -47
  487. package/vmp/workspace.js +29 -7
  488. package/vmp/workspace.js.map +1 -1
  489. package/vpc/bandwidthPackage.d.ts +52 -52
  490. package/vpc/bandwidthPackage.js +1 -1
  491. package/vpc/eip.d.ts +85 -85
  492. package/vpc/eip.js +1 -1
  493. package/vpc/eni.d.ts +59 -59
  494. package/vpc/eni.js +1 -1
  495. package/vpc/flowLog.d.ts +49 -49
  496. package/vpc/flowLog.js +1 -1
  497. package/vpc/getBandwidthPackage.d.ts +22 -22
  498. package/vpc/getEip.d.ts +33 -33
  499. package/vpc/getEni.d.ts +25 -25
  500. package/vpc/getFlowLog.d.ts +20 -20
  501. package/vpc/getHaVip.d.ts +16 -16
  502. package/vpc/getIpv6AddressBandwidth.d.ts +20 -20
  503. package/vpc/getIpv6Gateway.d.ts +10 -10
  504. package/vpc/getNetworkAcl.d.ts +14 -14
  505. package/vpc/getPrefixList.d.ts +14 -14
  506. package/vpc/getRouteTable.d.ts +17 -17
  507. package/vpc/getSecurityGroup.d.ts +12 -12
  508. package/vpc/getSubnet.d.ts +20 -20
  509. package/vpc/getTrafficMirrorFilter.d.ts +9 -9
  510. package/vpc/getTrafficMirrorFilterRule.d.ts +12 -12
  511. package/vpc/getTrafficMirrorSession.d.ts +16 -16
  512. package/vpc/getTrafficMirrorTarget.d.ts +10 -10
  513. package/vpc/getVpc.d.ts +24 -24
  514. package/vpc/haVip.d.ts +38 -38
  515. package/vpc/haVip.js +1 -1
  516. package/vpc/ipv6AddressBandwidth.d.ts +44 -44
  517. package/vpc/ipv6AddressBandwidth.js +1 -1
  518. package/vpc/ipv6Gateway.d.ts +23 -23
  519. package/vpc/ipv6Gateway.js +1 -1
  520. package/vpc/networkAcl.d.ts +21 -21
  521. package/vpc/networkAcl.js +1 -1
  522. package/vpc/prefixList.d.ts +26 -26
  523. package/vpc/prefixList.js +1 -1
  524. package/vpc/routeTable.d.ts +37 -37
  525. package/vpc/routeTable.js +1 -1
  526. package/vpc/securityGroup.d.ts +23 -23
  527. package/vpc/securityGroup.js +1 -1
  528. package/vpc/subnet.d.ts +46 -46
  529. package/vpc/subnet.js +1 -1
  530. package/vpc/trafficMirrorFilter.d.ts +16 -16
  531. package/vpc/trafficMirrorFilter.js +1 -1
  532. package/vpc/trafficMirrorFilterRule.d.ts +35 -35
  533. package/vpc/trafficMirrorFilterRule.js +1 -1
  534. package/vpc/trafficMirrorSession.d.ts +40 -40
  535. package/vpc/trafficMirrorSession.js +1 -1
  536. package/vpc/trafficMirrorTarget.d.ts +24 -24
  537. package/vpc/trafficMirrorTarget.js +1 -1
  538. package/vpc/vpc.d.ts +57 -57
  539. package/vpc/vpc.js +1 -1
  540. package/vpn/customerGateway.d.ts +31 -31
  541. package/vpn/customerGateway.js +1 -1
  542. package/vpn/getCustomerGateway.d.ts +13 -13
  543. package/vpn/getVpnConnection.d.ts +177 -0
  544. package/vpn/getVpnConnection.js +28 -0
  545. package/vpn/getVpnConnection.js.map +1 -0
  546. package/vpn/getVpnConnections.d.ts +22 -0
  547. package/vpn/getVpnConnections.js +24 -0
  548. package/vpn/getVpnConnections.js.map +1 -0
  549. package/vpn/getVpnGateway.d.ts +32 -32
  550. package/vpn/index.d.ts +9 -0
  551. package/vpn/index.js +12 -1
  552. package/vpn/index.js.map +1 -1
  553. package/vpn/vpnConnection.d.ts +379 -0
  554. package/vpn/vpnConnection.js +132 -0
  555. package/vpn/vpnConnection.js.map +1 -0
  556. package/vpn/vpnGateway.d.ts +80 -80
  557. package/vpn/vpnGateway.js +1 -1
  558. package/waf/domain.d.ts +245 -245
  559. package/waf/domain.js +1 -1
  560. package/waf/getDomain.d.ts +90 -90
@@ -0,0 +1,381 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * A function consists of function code and function configuration. It is the basic unit for scheduling and running function code.
6
+ *
7
+ * ## Import
8
+ *
9
+ * ```sh
10
+ * $ pulumi import volcenginecc:vefaas/function:Function example "function_id"
11
+ * ```
12
+ */
13
+ export declare class Function extends pulumi.CustomResource {
14
+ /**
15
+ * Get an existing Function resource's state with the given name, ID, and optional extra
16
+ * properties used to qualify the lookup.
17
+ *
18
+ * @param name The _unique_ name of the resulting resource.
19
+ * @param id The _unique_ provider ID of the resource to lookup.
20
+ * @param state Any extra arguments used during the lookup.
21
+ * @param opts Optional settings to control the behavior of the CustomResource.
22
+ */
23
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FunctionState, opts?: pulumi.CustomResourceOptions): Function;
24
+ /**
25
+ * Returns true if the given object is an instance of Function. This is designed to work even
26
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
+ */
28
+ static isInstance(obj: any): obj is Function;
29
+ /**
30
+ * Asynchronous task configuration
31
+ */
32
+ readonly asyncTaskConfig: pulumi.Output<outputs.vefaas.FunctionAsyncTaskConfig>;
33
+ /**
34
+ * Code package size (MB).
35
+ */
36
+ readonly codeSize: pulumi.Output<number>;
37
+ /**
38
+ * Code package size limit. SourceType=zip, CodeSizeLimit=15MB. SourceType=tos, CodeSizeLimit=256MB.
39
+ */
40
+ readonly codeSizeLimit: pulumi.Output<number>;
41
+ /**
42
+ * Custom startup command for the instance (currently only supported in native/v1 runtime)
43
+ */
44
+ readonly command: pulumi.Output<string>;
45
+ /**
46
+ * Function CPU billing policy. When creating a microservice application type function, this field must be set to always, meaning at least one instance is running. Other function types do not support this field
47
+ */
48
+ readonly cpuStrategy: pulumi.Output<string>;
49
+ /**
50
+ * Function creation time
51
+ */
52
+ readonly creationTime: pulumi.Output<string>;
53
+ /**
54
+ * Function description. Up to 1000 Unicode characters
55
+ */
56
+ readonly description: pulumi.Output<string>;
57
+ /**
58
+ * Whether to enable application monitoring
59
+ */
60
+ readonly enableApmplus: pulumi.Output<boolean>;
61
+ readonly envs: pulumi.Output<outputs.vefaas.FunctionEnv[]>;
62
+ /**
63
+ * Exclusive mode switch. true: disables multi-concurrency per instance, i.e., exclusive mode where a single instance can only handle one request at a time. false (default): enables multi-concurrency per instance, i.e., non-exclusive mode where a single instance can handle multiple requests at the same time. You can set the maximum concurrent requests per instance using MaxConcurrency.
64
+ */
65
+ readonly exclusiveMode: pulumi.Output<boolean>;
66
+ /**
67
+ * Function ID
68
+ */
69
+ readonly functionId: pulumi.Output<string>;
70
+ /**
71
+ * Function initialization timeout configuration
72
+ */
73
+ readonly initializerSec: pulumi.Output<number>;
74
+ /**
75
+ * Instance type of the function instance. Null value: CPU instance. Non-null value: GPU instance.
76
+ */
77
+ readonly instanceType: pulumi.Output<string>;
78
+ /**
79
+ * Function update time.
80
+ */
81
+ readonly lastUpdateTime: pulumi.Output<string>;
82
+ /**
83
+ * Maximum concurrency per instance. Effective when ExclusiveMode = false. Range: 1–1000
84
+ */
85
+ readonly maxConcurrency: pulumi.Output<number>;
86
+ /**
87
+ * Maximum memory per instance, unit: MiB. Range: 512–4096, in increments of 512. Default: 1024
88
+ */
89
+ readonly memoryMb: pulumi.Output<number>;
90
+ /**
91
+ * Function name. Function names must be unique within the same account. Function names support uppercase and lowercase English letters, numbers, hyphens (-), and underscores (_), with a length limit of 4–64 characters.
92
+ */
93
+ readonly name: pulumi.Output<string>;
94
+ /**
95
+ * NAS file storage mount configuration
96
+ */
97
+ readonly nasStorage: pulumi.Output<outputs.vefaas.FunctionNasStorage>;
98
+ /**
99
+ * Function owner (Account Id).
100
+ */
101
+ readonly owner: pulumi.Output<string>;
102
+ /**
103
+ * Custom listening port for the instance (currently only supported in native/v1 runtime)
104
+ */
105
+ readonly port: pulumi.Output<number>;
106
+ /**
107
+ * Project name associated with the function
108
+ */
109
+ readonly projectName: pulumi.Output<string>;
110
+ /**
111
+ * Request timeout. Unit: seconds. Range: 1–900. Default: 30.
112
+ */
113
+ readonly requestTimeout: pulumi.Output<number>;
114
+ /**
115
+ * IAM role bound to the function instance
116
+ */
117
+ readonly role: pulumi.Output<string>;
118
+ /**
119
+ * Function runtime. Values: golang/v1, native/v1, nativejava8/v1, node14/v1, node20/v1, nodeprime14/v1, python3.12/v1, python3.8/v1, python3.9/v1.
120
+ */
121
+ readonly runtime: pulumi.Output<string>;
122
+ /**
123
+ * Code source. Values: zip: Base64-encoded binary ZIP file; tos: string in the format bucket*name:object*key; image: image address in the format host/namespace/repo:tag
124
+ */
125
+ readonly source: pulumi.Output<string>;
126
+ /**
127
+ * Image repository access configuration.
128
+ */
129
+ readonly sourceAccessConfig: pulumi.Output<outputs.vefaas.FunctionSourceAccessConfig>;
130
+ /**
131
+ * Code source type. Values: tos: object storage (TOS); zip: local compressed file; image: image repository (CR), supports Basic and Enterprise editions
132
+ */
133
+ readonly sourceType: pulumi.Output<string>;
134
+ readonly tags: pulumi.Output<outputs.vefaas.FunctionTag[]>;
135
+ /**
136
+ * TLS configuration for Log Service
137
+ */
138
+ readonly tlsConfig: pulumi.Output<outputs.vefaas.FunctionTlsConfig>;
139
+ /**
140
+ * TOS object storage mount configuration
141
+ */
142
+ readonly tosMountConfig: pulumi.Output<outputs.vefaas.FunctionTosMountConfig>;
143
+ /**
144
+ * Number of triggers for this function.
145
+ */
146
+ readonly triggersCount: pulumi.Output<number>;
147
+ /**
148
+ * Private network VPC configuration.
149
+ */
150
+ readonly vpcConfig: pulumi.Output<outputs.vefaas.FunctionVpcConfig>;
151
+ /**
152
+ * Create a Function resource with the given unique name, arguments, and options.
153
+ *
154
+ * @param name The _unique_ name of the resource.
155
+ * @param args The arguments to use to populate this resource's properties.
156
+ * @param opts A bag of options that control this resource's behavior.
157
+ */
158
+ constructor(name: string, args?: FunctionArgs, opts?: pulumi.CustomResourceOptions);
159
+ }
160
+ /**
161
+ * Input properties used for looking up and filtering Function resources.
162
+ */
163
+ export interface FunctionState {
164
+ /**
165
+ * Asynchronous task configuration
166
+ */
167
+ asyncTaskConfig?: pulumi.Input<inputs.vefaas.FunctionAsyncTaskConfig>;
168
+ /**
169
+ * Code package size (MB).
170
+ */
171
+ codeSize?: pulumi.Input<number>;
172
+ /**
173
+ * Code package size limit. SourceType=zip, CodeSizeLimit=15MB. SourceType=tos, CodeSizeLimit=256MB.
174
+ */
175
+ codeSizeLimit?: pulumi.Input<number>;
176
+ /**
177
+ * Custom startup command for the instance (currently only supported in native/v1 runtime)
178
+ */
179
+ command?: pulumi.Input<string>;
180
+ /**
181
+ * Function CPU billing policy. When creating a microservice application type function, this field must be set to always, meaning at least one instance is running. Other function types do not support this field
182
+ */
183
+ cpuStrategy?: pulumi.Input<string>;
184
+ /**
185
+ * Function creation time
186
+ */
187
+ creationTime?: pulumi.Input<string>;
188
+ /**
189
+ * Function description. Up to 1000 Unicode characters
190
+ */
191
+ description?: pulumi.Input<string>;
192
+ /**
193
+ * Whether to enable application monitoring
194
+ */
195
+ enableApmplus?: pulumi.Input<boolean>;
196
+ envs?: pulumi.Input<pulumi.Input<inputs.vefaas.FunctionEnv>[]>;
197
+ /**
198
+ * Exclusive mode switch. true: disables multi-concurrency per instance, i.e., exclusive mode where a single instance can only handle one request at a time. false (default): enables multi-concurrency per instance, i.e., non-exclusive mode where a single instance can handle multiple requests at the same time. You can set the maximum concurrent requests per instance using MaxConcurrency.
199
+ */
200
+ exclusiveMode?: pulumi.Input<boolean>;
201
+ /**
202
+ * Function ID
203
+ */
204
+ functionId?: pulumi.Input<string>;
205
+ /**
206
+ * Function initialization timeout configuration
207
+ */
208
+ initializerSec?: pulumi.Input<number>;
209
+ /**
210
+ * Instance type of the function instance. Null value: CPU instance. Non-null value: GPU instance.
211
+ */
212
+ instanceType?: pulumi.Input<string>;
213
+ /**
214
+ * Function update time.
215
+ */
216
+ lastUpdateTime?: pulumi.Input<string>;
217
+ /**
218
+ * Maximum concurrency per instance. Effective when ExclusiveMode = false. Range: 1–1000
219
+ */
220
+ maxConcurrency?: pulumi.Input<number>;
221
+ /**
222
+ * Maximum memory per instance, unit: MiB. Range: 512–4096, in increments of 512. Default: 1024
223
+ */
224
+ memoryMb?: pulumi.Input<number>;
225
+ /**
226
+ * Function name. Function names must be unique within the same account. Function names support uppercase and lowercase English letters, numbers, hyphens (-), and underscores (_), with a length limit of 4–64 characters.
227
+ */
228
+ name?: pulumi.Input<string>;
229
+ /**
230
+ * NAS file storage mount configuration
231
+ */
232
+ nasStorage?: pulumi.Input<inputs.vefaas.FunctionNasStorage>;
233
+ /**
234
+ * Function owner (Account Id).
235
+ */
236
+ owner?: pulumi.Input<string>;
237
+ /**
238
+ * Custom listening port for the instance (currently only supported in native/v1 runtime)
239
+ */
240
+ port?: pulumi.Input<number>;
241
+ /**
242
+ * Project name associated with the function
243
+ */
244
+ projectName?: pulumi.Input<string>;
245
+ /**
246
+ * Request timeout. Unit: seconds. Range: 1–900. Default: 30.
247
+ */
248
+ requestTimeout?: pulumi.Input<number>;
249
+ /**
250
+ * IAM role bound to the function instance
251
+ */
252
+ role?: pulumi.Input<string>;
253
+ /**
254
+ * Function runtime. Values: golang/v1, native/v1, nativejava8/v1, node14/v1, node20/v1, nodeprime14/v1, python3.12/v1, python3.8/v1, python3.9/v1.
255
+ */
256
+ runtime?: pulumi.Input<string>;
257
+ /**
258
+ * Code source. Values: zip: Base64-encoded binary ZIP file; tos: string in the format bucket*name:object*key; image: image address in the format host/namespace/repo:tag
259
+ */
260
+ source?: pulumi.Input<string>;
261
+ /**
262
+ * Image repository access configuration.
263
+ */
264
+ sourceAccessConfig?: pulumi.Input<inputs.vefaas.FunctionSourceAccessConfig>;
265
+ /**
266
+ * Code source type. Values: tos: object storage (TOS); zip: local compressed file; image: image repository (CR), supports Basic and Enterprise editions
267
+ */
268
+ sourceType?: pulumi.Input<string>;
269
+ tags?: pulumi.Input<pulumi.Input<inputs.vefaas.FunctionTag>[]>;
270
+ /**
271
+ * TLS configuration for Log Service
272
+ */
273
+ tlsConfig?: pulumi.Input<inputs.vefaas.FunctionTlsConfig>;
274
+ /**
275
+ * TOS object storage mount configuration
276
+ */
277
+ tosMountConfig?: pulumi.Input<inputs.vefaas.FunctionTosMountConfig>;
278
+ /**
279
+ * Number of triggers for this function.
280
+ */
281
+ triggersCount?: pulumi.Input<number>;
282
+ /**
283
+ * Private network VPC configuration.
284
+ */
285
+ vpcConfig?: pulumi.Input<inputs.vefaas.FunctionVpcConfig>;
286
+ }
287
+ /**
288
+ * The set of arguments for constructing a Function resource.
289
+ */
290
+ export interface FunctionArgs {
291
+ /**
292
+ * Asynchronous task configuration
293
+ */
294
+ asyncTaskConfig?: pulumi.Input<inputs.vefaas.FunctionAsyncTaskConfig>;
295
+ /**
296
+ * Custom startup command for the instance (currently only supported in native/v1 runtime)
297
+ */
298
+ command?: pulumi.Input<string>;
299
+ /**
300
+ * Function CPU billing policy. When creating a microservice application type function, this field must be set to always, meaning at least one instance is running. Other function types do not support this field
301
+ */
302
+ cpuStrategy?: pulumi.Input<string>;
303
+ /**
304
+ * Function description. Up to 1000 Unicode characters
305
+ */
306
+ description?: pulumi.Input<string>;
307
+ /**
308
+ * Whether to enable application monitoring
309
+ */
310
+ enableApmplus?: pulumi.Input<boolean>;
311
+ envs?: pulumi.Input<pulumi.Input<inputs.vefaas.FunctionEnv>[]>;
312
+ /**
313
+ * Exclusive mode switch. true: disables multi-concurrency per instance, i.e., exclusive mode where a single instance can only handle one request at a time. false (default): enables multi-concurrency per instance, i.e., non-exclusive mode where a single instance can handle multiple requests at the same time. You can set the maximum concurrent requests per instance using MaxConcurrency.
314
+ */
315
+ exclusiveMode?: pulumi.Input<boolean>;
316
+ /**
317
+ * Function initialization timeout configuration
318
+ */
319
+ initializerSec?: pulumi.Input<number>;
320
+ /**
321
+ * Maximum concurrency per instance. Effective when ExclusiveMode = false. Range: 1–1000
322
+ */
323
+ maxConcurrency?: pulumi.Input<number>;
324
+ /**
325
+ * Maximum memory per instance, unit: MiB. Range: 512–4096, in increments of 512. Default: 1024
326
+ */
327
+ memoryMb?: pulumi.Input<number>;
328
+ /**
329
+ * Function name. Function names must be unique within the same account. Function names support uppercase and lowercase English letters, numbers, hyphens (-), and underscores (_), with a length limit of 4–64 characters.
330
+ */
331
+ name?: pulumi.Input<string>;
332
+ /**
333
+ * NAS file storage mount configuration
334
+ */
335
+ nasStorage?: pulumi.Input<inputs.vefaas.FunctionNasStorage>;
336
+ /**
337
+ * Custom listening port for the instance (currently only supported in native/v1 runtime)
338
+ */
339
+ port?: pulumi.Input<number>;
340
+ /**
341
+ * Project name associated with the function
342
+ */
343
+ projectName?: pulumi.Input<string>;
344
+ /**
345
+ * Request timeout. Unit: seconds. Range: 1–900. Default: 30.
346
+ */
347
+ requestTimeout?: pulumi.Input<number>;
348
+ /**
349
+ * IAM role bound to the function instance
350
+ */
351
+ role?: pulumi.Input<string>;
352
+ /**
353
+ * Function runtime. Values: golang/v1, native/v1, nativejava8/v1, node14/v1, node20/v1, nodeprime14/v1, python3.12/v1, python3.8/v1, python3.9/v1.
354
+ */
355
+ runtime?: pulumi.Input<string>;
356
+ /**
357
+ * Code source. Values: zip: Base64-encoded binary ZIP file; tos: string in the format bucket*name:object*key; image: image address in the format host/namespace/repo:tag
358
+ */
359
+ source?: pulumi.Input<string>;
360
+ /**
361
+ * Image repository access configuration.
362
+ */
363
+ sourceAccessConfig?: pulumi.Input<inputs.vefaas.FunctionSourceAccessConfig>;
364
+ /**
365
+ * Code source type. Values: tos: object storage (TOS); zip: local compressed file; image: image repository (CR), supports Basic and Enterprise editions
366
+ */
367
+ sourceType?: pulumi.Input<string>;
368
+ tags?: pulumi.Input<pulumi.Input<inputs.vefaas.FunctionTag>[]>;
369
+ /**
370
+ * TLS configuration for Log Service
371
+ */
372
+ tlsConfig?: pulumi.Input<inputs.vefaas.FunctionTlsConfig>;
373
+ /**
374
+ * TOS object storage mount configuration
375
+ */
376
+ tosMountConfig?: pulumi.Input<inputs.vefaas.FunctionTosMountConfig>;
377
+ /**
378
+ * Private network VPC configuration.
379
+ */
380
+ vpcConfig?: pulumi.Input<inputs.vefaas.FunctionVpcConfig>;
381
+ }
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Function = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * A function consists of function code and function configuration. It is the basic unit for scheduling and running function code.
10
+ *
11
+ * ## Import
12
+ *
13
+ * ```sh
14
+ * $ pulumi import volcenginecc:vefaas/function:Function example "function_id"
15
+ * ```
16
+ */
17
+ class Function extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing Function resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name, id, state, opts) {
28
+ return new Function(name, state, Object.assign(Object.assign({}, opts), { id: id }));
29
+ }
30
+ /**
31
+ * Returns true if the given object is an instance of Function. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ static isInstance(obj) {
35
+ if (obj === undefined || obj === null) {
36
+ return false;
37
+ }
38
+ return obj['__pulumiType'] === Function.__pulumiType;
39
+ }
40
+ constructor(name, argsOrState, opts) {
41
+ let resourceInputs = {};
42
+ opts = opts || {};
43
+ if (opts.id) {
44
+ const state = argsOrState;
45
+ resourceInputs["asyncTaskConfig"] = state ? state.asyncTaskConfig : undefined;
46
+ resourceInputs["codeSize"] = state ? state.codeSize : undefined;
47
+ resourceInputs["codeSizeLimit"] = state ? state.codeSizeLimit : undefined;
48
+ resourceInputs["command"] = state ? state.command : undefined;
49
+ resourceInputs["cpuStrategy"] = state ? state.cpuStrategy : undefined;
50
+ resourceInputs["creationTime"] = state ? state.creationTime : undefined;
51
+ resourceInputs["description"] = state ? state.description : undefined;
52
+ resourceInputs["enableApmplus"] = state ? state.enableApmplus : undefined;
53
+ resourceInputs["envs"] = state ? state.envs : undefined;
54
+ resourceInputs["exclusiveMode"] = state ? state.exclusiveMode : undefined;
55
+ resourceInputs["functionId"] = state ? state.functionId : undefined;
56
+ resourceInputs["initializerSec"] = state ? state.initializerSec : undefined;
57
+ resourceInputs["instanceType"] = state ? state.instanceType : undefined;
58
+ resourceInputs["lastUpdateTime"] = state ? state.lastUpdateTime : undefined;
59
+ resourceInputs["maxConcurrency"] = state ? state.maxConcurrency : undefined;
60
+ resourceInputs["memoryMb"] = state ? state.memoryMb : undefined;
61
+ resourceInputs["name"] = state ? state.name : undefined;
62
+ resourceInputs["nasStorage"] = state ? state.nasStorage : undefined;
63
+ resourceInputs["owner"] = state ? state.owner : undefined;
64
+ resourceInputs["port"] = state ? state.port : undefined;
65
+ resourceInputs["projectName"] = state ? state.projectName : undefined;
66
+ resourceInputs["requestTimeout"] = state ? state.requestTimeout : undefined;
67
+ resourceInputs["role"] = state ? state.role : undefined;
68
+ resourceInputs["runtime"] = state ? state.runtime : undefined;
69
+ resourceInputs["source"] = state ? state.source : undefined;
70
+ resourceInputs["sourceAccessConfig"] = state ? state.sourceAccessConfig : undefined;
71
+ resourceInputs["sourceType"] = state ? state.sourceType : undefined;
72
+ resourceInputs["tags"] = state ? state.tags : undefined;
73
+ resourceInputs["tlsConfig"] = state ? state.tlsConfig : undefined;
74
+ resourceInputs["tosMountConfig"] = state ? state.tosMountConfig : undefined;
75
+ resourceInputs["triggersCount"] = state ? state.triggersCount : undefined;
76
+ resourceInputs["vpcConfig"] = state ? state.vpcConfig : undefined;
77
+ }
78
+ else {
79
+ const args = argsOrState;
80
+ resourceInputs["asyncTaskConfig"] = args ? args.asyncTaskConfig : undefined;
81
+ resourceInputs["command"] = args ? args.command : undefined;
82
+ resourceInputs["cpuStrategy"] = args ? args.cpuStrategy : undefined;
83
+ resourceInputs["description"] = args ? args.description : undefined;
84
+ resourceInputs["enableApmplus"] = args ? args.enableApmplus : undefined;
85
+ resourceInputs["envs"] = args ? args.envs : undefined;
86
+ resourceInputs["exclusiveMode"] = args ? args.exclusiveMode : undefined;
87
+ resourceInputs["initializerSec"] = args ? args.initializerSec : undefined;
88
+ resourceInputs["maxConcurrency"] = args ? args.maxConcurrency : undefined;
89
+ resourceInputs["memoryMb"] = args ? args.memoryMb : undefined;
90
+ resourceInputs["name"] = args ? args.name : undefined;
91
+ resourceInputs["nasStorage"] = args ? args.nasStorage : undefined;
92
+ resourceInputs["port"] = args ? args.port : undefined;
93
+ resourceInputs["projectName"] = args ? args.projectName : undefined;
94
+ resourceInputs["requestTimeout"] = args ? args.requestTimeout : undefined;
95
+ resourceInputs["role"] = args ? args.role : undefined;
96
+ resourceInputs["runtime"] = args ? args.runtime : undefined;
97
+ resourceInputs["source"] = args ? args.source : undefined;
98
+ resourceInputs["sourceAccessConfig"] = args ? args.sourceAccessConfig : undefined;
99
+ resourceInputs["sourceType"] = args ? args.sourceType : undefined;
100
+ resourceInputs["tags"] = args ? args.tags : undefined;
101
+ resourceInputs["tlsConfig"] = args ? args.tlsConfig : undefined;
102
+ resourceInputs["tosMountConfig"] = args ? args.tosMountConfig : undefined;
103
+ resourceInputs["vpcConfig"] = args ? args.vpcConfig : undefined;
104
+ resourceInputs["codeSize"] = undefined /*out*/;
105
+ resourceInputs["codeSizeLimit"] = undefined /*out*/;
106
+ resourceInputs["creationTime"] = undefined /*out*/;
107
+ resourceInputs["functionId"] = undefined /*out*/;
108
+ resourceInputs["instanceType"] = undefined /*out*/;
109
+ resourceInputs["lastUpdateTime"] = undefined /*out*/;
110
+ resourceInputs["owner"] = undefined /*out*/;
111
+ resourceInputs["triggersCount"] = undefined /*out*/;
112
+ }
113
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
114
+ super(Function.__pulumiType, name, resourceInputs, opts);
115
+ }
116
+ }
117
+ exports.Function = Function;
118
+ /** @internal */
119
+ Function.__pulumiType = 'volcenginecc:vefaas/function:Function';
120
+ //# sourceMappingURL=function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"function.js","sourceRoot":"","sources":["../../vefaas/function.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;GAQG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAqID,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,C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c,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAzOL,4BA0OC;AA5NG,gBAAgB;AACO,qBAAY,GAAG,uCAAuC,CAAC"}
@@ -0,0 +1,165 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "../types/output";
3
+ /**
4
+ * Data Source schema for Volcengine::VEFAAS::Function
5
+ */
6
+ export declare function getFunction(args: GetFunctionArgs, opts?: pulumi.InvokeOptions): Promise<GetFunctionResult>;
7
+ /**
8
+ * A collection of arguments for invoking getFunction.
9
+ */
10
+ export interface GetFunctionArgs {
11
+ /**
12
+ * Uniquely identifies the resource.
13
+ */
14
+ id: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getFunction.
18
+ */
19
+ export interface GetFunctionResult {
20
+ /**
21
+ * Asynchronous task configuration
22
+ */
23
+ readonly asyncTaskConfig: outputs.vefaas.GetFunctionAsyncTaskConfig;
24
+ /**
25
+ * Code package size (MB).
26
+ */
27
+ readonly codeSize: number;
28
+ /**
29
+ * Code package size limit. SourceType=zip, CodeSizeLimit=15MB. SourceType=tos, CodeSizeLimit=256MB.
30
+ */
31
+ readonly codeSizeLimit: number;
32
+ /**
33
+ * Custom startup command for the instance (currently only supported in native/v1 runtime)
34
+ */
35
+ readonly command: string;
36
+ /**
37
+ * Function CPU billing policy. When creating a microservice application type function, this field must be set to always, meaning at least one instance is running. Other function types do not support this field
38
+ */
39
+ readonly cpuStrategy: string;
40
+ /**
41
+ * Function creation time
42
+ */
43
+ readonly creationTime: string;
44
+ /**
45
+ * Function description. Up to 1000 Unicode characters
46
+ */
47
+ readonly description: string;
48
+ /**
49
+ * Whether to enable application monitoring
50
+ */
51
+ readonly enableApmplus: boolean;
52
+ /**
53
+ * Environment variables.
54
+ */
55
+ readonly envs: outputs.vefaas.GetFunctionEnv[];
56
+ /**
57
+ * Exclusive mode switch. true: disables multi-concurrency per instance, i.e., exclusive mode where a single instance can only handle one request at a time. false (default): enables multi-concurrency per instance, i.e., non-exclusive mode where a single instance can handle multiple requests at the same time. You can set the maximum concurrent requests per instance using MaxConcurrency.
58
+ */
59
+ readonly exclusiveMode: boolean;
60
+ /**
61
+ * Function ID
62
+ */
63
+ readonly functionId: string;
64
+ /**
65
+ * Uniquely identifies the resource.
66
+ */
67
+ readonly id: string;
68
+ /**
69
+ * Function initialization timeout configuration
70
+ */
71
+ readonly initializerSec: number;
72
+ /**
73
+ * Instance type of the function instance. Null value: CPU instance. Non-null value: GPU instance.
74
+ */
75
+ readonly instanceType: string;
76
+ /**
77
+ * Function update time.
78
+ */
79
+ readonly lastUpdateTime: string;
80
+ /**
81
+ * Maximum concurrency per instance. Effective when ExclusiveMode = false. Range: 1–1000
82
+ */
83
+ readonly maxConcurrency: number;
84
+ /**
85
+ * Maximum memory per instance, unit: MiB. Range: 512–4096, in increments of 512. Default: 1024
86
+ */
87
+ readonly memoryMb: number;
88
+ /**
89
+ * Function name. Function names must be unique within the same account. Function names support uppercase and lowercase English letters, numbers, hyphens (-), and underscores (_), with a length limit of 4–64 characters.
90
+ */
91
+ readonly name: string;
92
+ /**
93
+ * NAS file storage mount configuration
94
+ */
95
+ readonly nasStorage: outputs.vefaas.GetFunctionNasStorage;
96
+ /**
97
+ * Function owner (Account Id).
98
+ */
99
+ readonly owner: string;
100
+ /**
101
+ * Custom listening port for the instance (currently only supported in native/v1 runtime)
102
+ */
103
+ readonly port: number;
104
+ /**
105
+ * Project name associated with the function
106
+ */
107
+ readonly projectName: string;
108
+ /**
109
+ * Request timeout. Unit: seconds. Range: 1–900. Default: 30.
110
+ */
111
+ readonly requestTimeout: number;
112
+ /**
113
+ * IAM role bound to the function instance
114
+ */
115
+ readonly role: string;
116
+ /**
117
+ * Function runtime. Values: golang/v1, native/v1, nativejava8/v1, node14/v1, node20/v1, nodeprime14/v1, python3.12/v1, python3.8/v1, python3.9/v1.
118
+ */
119
+ readonly runtime: string;
120
+ /**
121
+ * Code source. Values: zip: Base64-encoded binary ZIP file; tos: string in the format bucket*name:object*key; image: image address in the format host/namespace/repo:tag
122
+ */
123
+ readonly source: string;
124
+ /**
125
+ * Image repository access configuration.
126
+ */
127
+ readonly sourceAccessConfig: outputs.vefaas.GetFunctionSourceAccessConfig;
128
+ /**
129
+ * Code source type. Values: tos: object storage (TOS); zip: local compressed file; image: image repository (CR), supports Basic and Enterprise editions
130
+ */
131
+ readonly sourceType: string;
132
+ /**
133
+ * Function tags
134
+ */
135
+ readonly tags: outputs.vefaas.GetFunctionTag[];
136
+ /**
137
+ * TLS configuration for Log Service
138
+ */
139
+ readonly tlsConfig: outputs.vefaas.GetFunctionTlsConfig;
140
+ /**
141
+ * TOS object storage mount configuration
142
+ */
143
+ readonly tosMountConfig: outputs.vefaas.GetFunctionTosMountConfig;
144
+ /**
145
+ * Number of triggers for this function.
146
+ */
147
+ readonly triggersCount: number;
148
+ /**
149
+ * Private network VPC configuration.
150
+ */
151
+ readonly vpcConfig: outputs.vefaas.GetFunctionVpcConfig;
152
+ }
153
+ /**
154
+ * Data Source schema for Volcengine::VEFAAS::Function
155
+ */
156
+ export declare function getFunctionOutput(args: GetFunctionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFunctionResult>;
157
+ /**
158
+ * A collection of arguments for invoking getFunction.
159
+ */
160
+ export interface GetFunctionOutputArgs {
161
+ /**
162
+ * Uniquely identifies the resource.
163
+ */
164
+ id: pulumi.Input<string>;
165
+ }