@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.
- package/alb/acl.d.ts +20 -20
- package/alb/acl.js +1 -1
- package/alb/certificate.d.ts +33 -33
- package/alb/certificate.js +1 -1
- package/alb/customizedCfg.d.ts +24 -21
- package/alb/customizedCfg.js +1 -1
- package/alb/customizedCfg.js.map +1 -1
- package/alb/getAcl.d.ts +11 -11
- package/alb/getCertificate.d.ts +14 -14
- package/alb/getCustomizedCfg.d.ts +11 -10
- package/alb/getCustomizedCfg.js.map +1 -1
- package/alb/getHealthCheckTemplate.d.ts +18 -18
- package/alb/getListener.d.ts +30 -30
- package/alb/getLoadBalancer.d.ts +31 -31
- package/alb/getRule.d.ts +16 -16
- package/alb/getServerGroup.d.ts +19 -19
- package/alb/healthCheckTemplate.d.ts +49 -49
- package/alb/healthCheckTemplate.js +1 -1
- package/alb/listener.d.ts +77 -77
- package/alb/listener.js +1 -1
- package/alb/loadBalancer.d.ts +79 -79
- package/alb/loadBalancer.js +1 -1
- package/alb/rule.d.ts +42 -42
- package/alb/rule.js +1 -1
- package/alb/serverGroup.d.ts +45 -45
- package/alb/serverGroup.js +1 -1
- package/apig/customDomain.d.ts +27 -27
- package/apig/customDomain.js +1 -1
- package/apig/gateway.d.ts +45 -45
- package/apig/gateway.js +1 -1
- package/apig/gatewayService.d.ts +37 -37
- package/apig/gatewayService.js +1 -1
- package/apig/getCustomDomain.d.ts +10 -10
- package/apig/getGateway.d.ts +18 -18
- package/apig/getGatewayService.d.ts +16 -16
- package/apig/getUpstream.d.ts +14 -14
- package/apig/getUpstreamSource.d.ts +11 -11
- package/apig/upstream.d.ts +35 -35
- package/apig/upstream.js +1 -1
- package/apig/upstreamSource.d.ts +29 -29
- package/apig/upstreamSource.js +1 -1
- package/ark/endpoint.d.ts +46 -46
- package/ark/endpoint.js +1 -1
- package/ark/getEndpoint.d.ts +20 -20
- package/autoscaling/getScalingConfiguration.d.ts +28 -28
- package/autoscaling/getScalingGroup.d.ts +37 -29
- package/autoscaling/getScalingGroup.js.map +1 -1
- package/autoscaling/getScalingLifecycleHook.d.ts +7 -7
- package/autoscaling/getScalingPolicy.d.ts +11 -11
- package/autoscaling/scalingConfiguration.d.ts +71 -71
- package/autoscaling/scalingConfiguration.js +1 -1
- package/autoscaling/scalingGroup.d.ts +76 -70
- package/autoscaling/scalingGroup.js +5 -1
- package/autoscaling/scalingGroup.js.map +1 -1
- package/autoscaling/scalingLifecycleHook.d.ts +21 -21
- package/autoscaling/scalingLifecycleHook.js +1 -1
- package/autoscaling/scalingPolicy.d.ts +32 -32
- package/autoscaling/scalingPolicy.js +1 -1
- package/bmq/getGroup.d.ts +10 -10
- package/bmq/getInstance.d.ts +25 -25
- package/bmq/group.d.ts +23 -23
- package/bmq/group.js +1 -1
- package/bmq/instance.d.ts +62 -62
- package/bmq/instance.js +1 -1
- package/cbr/backupPlan.d.ts +17 -17
- package/cbr/backupPlan.js +1 -1
- package/cbr/backupPolicy.d.ts +32 -32
- package/cbr/backupPolicy.js +1 -1
- package/cbr/backupResource.d.ts +26 -26
- package/cbr/backupResource.js +1 -1
- package/cbr/getBackupPlan.d.ts +8 -8
- package/cbr/getBackupPolicy.d.ts +12 -12
- package/cbr/getBackupResource.d.ts +12 -12
- package/cbr/getVault.d.ts +6 -6
- package/cbr/vault.d.ts +13 -13
- package/cbr/vault.js +1 -1
- package/cdn/domain.d.ts +143 -145
- package/cdn/domain.js +1 -1
- package/cdn/domain.js.map +1 -1
- package/cdn/getDomain.d.ts +60 -61
- package/cdn/getDomain.js.map +1 -1
- package/cdn/getShareConfig.d.ts +11 -11
- package/cdn/shareConfig.d.ts +31 -31
- package/cdn/shareConfig.js +1 -1
- package/cen/cen.d.ts +22 -22
- package/cen/cen.js +1 -1
- package/cen/getCen.d.ts +11 -11
- package/cen/getGrantInstance.d.ts +60 -0
- package/cen/getGrantInstance.js +28 -0
- package/cen/getGrantInstance.js.map +1 -0
- package/cen/getGrantInstances.d.ts +22 -0
- package/cen/getGrantInstances.js +24 -0
- package/cen/getGrantInstances.js.map +1 -0
- package/cen/grantInstance.d.ts +128 -0
- package/cen/grantInstance.js +98 -0
- package/cen/grantInstance.js.map +1 -0
- package/cen/index.d.ts +9 -0
- package/cen/index.js +12 -1
- package/cen/index.js.map +1 -1
- package/clb/acl.d.ts +22 -22
- package/clb/acl.js +1 -1
- package/clb/certificate.d.ts +30 -30
- package/clb/certificate.js +1 -1
- package/clb/clb.d.ts +115 -115
- package/clb/clb.js +1 -1
- package/clb/getAcl.d.ts +12 -12
- package/clb/getCertificate.d.ts +13 -13
- package/clb/getClb.d.ts +46 -46
- package/clb/getListener.d.ts +45 -45
- package/clb/getNlb.d.ts +27 -27
- package/clb/getNlbListener.d.ts +18 -18
- package/clb/getNlbSecurityPolicy.d.ts +11 -11
- package/clb/getNlbServerGroup.d.ts +27 -27
- package/clb/getRule.d.ts +9 -9
- package/clb/getServerGroup.d.ts +12 -12
- package/clb/listener.d.ts +127 -127
- package/clb/listener.js +1 -1
- package/clb/nlb.d.ts +64 -64
- package/clb/nlb.js +1 -1
- package/clb/nlbListener.d.ts +45 -45
- package/clb/nlbListener.js +1 -1
- package/clb/nlbSecurityPolicy.d.ts +25 -25
- package/clb/nlbSecurityPolicy.js +1 -1
- package/clb/nlbServerGroup.d.ts +69 -69
- package/clb/nlbServerGroup.js +1 -1
- package/clb/rule.d.ts +24 -24
- package/clb/rule.js +1 -1
- package/clb/serverGroup.d.ts +25 -25
- package/clb/serverGroup.js +1 -1
- package/cloudidentity/getGroup.d.ts +9 -9
- package/cloudidentity/getPermissionSet.d.ts +9 -9
- package/cloudidentity/getPermissionSetAssignment.d.ts +8 -8
- package/cloudidentity/getPermissionSetProvisioning.d.ts +7 -7
- package/cloudidentity/getUser.d.ts +12 -12
- package/cloudidentity/getUserProvisioning.d.ts +13 -13
- package/cloudidentity/group.d.ts +21 -21
- package/cloudidentity/group.js +1 -1
- package/cloudidentity/permissionSet.d.ts +21 -21
- package/cloudidentity/permissionSet.js +1 -1
- package/cloudidentity/permissionSetAssignment.d.ts +22 -22
- package/cloudidentity/permissionSetAssignment.js +2 -2
- package/cloudidentity/permissionSetProvisioning.d.ts +17 -17
- package/cloudidentity/permissionSetProvisioning.js +1 -1
- package/cloudidentity/user.d.ts +32 -32
- package/cloudidentity/user.js +1 -1
- package/cloudidentity/userProvisioning.d.ts +35 -35
- package/cloudidentity/userProvisioning.js +1 -1
- package/cloudmonitor/getRule.d.ts +33 -33
- package/cloudmonitor/rule.d.ts +83 -83
- package/cloudmonitor/rule.js +1 -1
- package/cr/getNameSpace.d.ts +4 -4
- package/cr/getRegistry.d.ts +11 -11
- package/cr/getRepository.d.ts +7 -7
- package/cr/nameSpace.d.ts +12 -12
- package/cr/nameSpace.js +1 -1
- package/cr/registry.d.ts +25 -25
- package/cr/registry.js +1 -1
- package/cr/repository.d.ts +20 -20
- package/cr/repository.js +1 -1
- package/directconnect/directConnectGateway.d.ts +36 -36
- package/directconnect/directConnectGateway.js +1 -1
- package/directconnect/getDirectConnectGateway.d.ts +17 -17
- package/dns/getZone.d.ts +22 -22
- package/dns/zone.d.ts +46 -46
- package/dns/zone.js +1 -1
- package/ecs/command.d.ts +41 -41
- package/ecs/command.js +1 -1
- package/ecs/deploymentSet.d.ts +28 -28
- package/ecs/deploymentSet.js +1 -1
- package/ecs/getCommand.d.ts +17 -17
- package/ecs/getDeploymentSet.d.ts +11 -11
- package/ecs/getHpcCluster.d.ts +9 -9
- package/ecs/getImage.d.ts +46 -30
- package/ecs/getImage.js.map +1 -1
- package/ecs/getInvocation.d.ts +28 -28
- package/ecs/getKeypair.d.ts +10 -10
- package/ecs/getLaunchTemplate.d.ts +9 -9
- package/ecs/getLaunchTemplateVersion.d.ts +29 -29
- package/ecs/hpcCluster.d.ts +21 -21
- package/ecs/hpcCluster.js +1 -1
- package/ecs/image.d.ts +132 -64
- package/ecs/image.js +15 -7
- package/ecs/image.js.map +1 -1
- package/ecs/instance.d.ts +303 -261
- package/ecs/instance.js +1 -1
- package/ecs/instance.js.map +1 -1
- package/ecs/invocation.d.ts +65 -65
- package/ecs/invocation.js +1 -1
- package/ecs/keypair.d.ts +24 -24
- package/ecs/keypair.js +1 -1
- package/ecs/launchTemplate.d.ts +21 -21
- package/ecs/launchTemplate.js +1 -1
- package/ecs/launchTemplateVersion.d.ts +78 -78
- package/ecs/launchTemplateVersion.js +1 -1
- package/efs/fileSystem.d.ts +47 -47
- package/efs/fileSystem.js +1 -1
- package/efs/getFileSystem.d.ts +20 -20
- package/emr/cluster.d.ts +61 -61
- package/emr/cluster.js +1 -1
- package/emr/clusterUser.d.ts +25 -25
- package/emr/clusterUser.js +1 -1
- package/emr/clusterUserGroup.d.ts +13 -13
- package/emr/clusterUserGroup.js +1 -1
- package/emr/getCluster.d.ts +29 -29
- package/emr/getClusterUser.d.ts +9 -9
- package/emr/getClusterUserGroup.d.ts +4 -4
- package/emr/getNodeGroup.d.ts +20 -20
- package/emr/nodeGroup.d.ts +47 -47
- package/emr/nodeGroup.js +1 -1
- package/escloud/getInstance.d.ts +44 -44
- package/escloud/instance.d.ts +90 -90
- package/escloud/instance.js +1 -1
- package/filenas/getInstance.d.ts +18 -18
- package/filenas/getMountPoint.d.ts +15 -15
- package/filenas/getSnapshot.d.ts +14 -14
- package/filenas/instance.d.ts +46 -46
- package/filenas/instance.js +1 -1
- package/filenas/mountPoint.d.ts +34 -34
- package/filenas/mountPoint.js +1 -1
- package/filenas/snapshot.d.ts +32 -32
- package/filenas/snapshot.js +1 -1
- package/fwcenter/dnsControlPolicy.d.ts +30 -30
- package/fwcenter/dnsControlPolicy.js +1 -1
- package/fwcenter/getDnsControlPolicy.d.ts +14 -14
- package/hbase/getInstance.d.ts +36 -36
- package/hbase/instance.d.ts +90 -90
- package/hbase/instance.js +1 -1
- package/iam/accesskey.d.ts +24 -24
- package/iam/accesskey.js +1 -1
- package/iam/getAccesskey.d.ts +10 -10
- package/iam/getGroup.d.ts +9 -9
- package/iam/getPolicy.d.ts +13 -13
- package/iam/getProject.d.ts +10 -10
- package/iam/getRole.d.ts +10 -10
- package/iam/getUser.d.ts +18 -18
- package/iam/group.d.ts +18 -18
- package/iam/group.js +1 -1
- package/iam/policy.d.ts +25 -25
- package/iam/policy.js +1 -1
- package/iam/project.d.ts +25 -25
- package/iam/project.js +1 -1
- package/iam/role.d.ts +26 -26
- package/iam/role.js +1 -1
- package/iam/user.d.ts +40 -44
- package/iam/user.js +2 -2
- package/iam/user.js.map +1 -1
- package/kafka/allowList.d.ts +19 -19
- package/kafka/allowList.js +1 -1
- package/kafka/getAllowList.d.ts +8 -8
- package/kafka/getInstance.d.ts +32 -32
- package/kafka/getTopic.d.ts +15 -15
- package/kafka/instance.d.ts +79 -79
- package/kafka/instance.js +1 -1
- package/kafka/topic.d.ts +35 -35
- package/kafka/topic.js +1 -1
- package/kms/getKey.d.ts +24 -24
- package/kms/getKeyRing.d.ts +9 -9
- package/kms/key.d.ts +59 -59
- package/kms/key.js +1 -1
- package/kms/keyRing.d.ts +23 -23
- package/kms/keyRing.js +1 -1
- package/mongodb/allowList.d.ts +25 -25
- package/mongodb/allowList.js +1 -1
- package/mongodb/getAllowList.d.ts +10 -10
- package/mongodb/getInstance.d.ts +44 -44
- package/mongodb/instance.d.ts +101 -101
- package/mongodb/instance.js +1 -1
- package/natgateway/dnatentry.d.ts +29 -29
- package/natgateway/dnatentry.js +1 -1
- package/natgateway/getDnatentry.d.ts +10 -10
- package/natgateway/getNatIp.d.ts +8 -8
- package/natgateway/getNgw.d.ts +29 -29
- package/natgateway/getSnatentry.d.ts +9 -9
- package/natgateway/natIp.d.ts +21 -21
- package/natgateway/natIp.js +1 -1
- package/natgateway/ngw.d.ts +65 -65
- package/natgateway/ngw.js +1 -1
- package/natgateway/snatentry.d.ts +26 -26
- package/natgateway/snatentry.js +2 -2
- package/organization/account.d.ts +59 -59
- package/organization/account.js +1 -1
- package/organization/getAccount.d.ts +25 -25
- package/organization/getOrganization.d.ts +3 -3
- package/organization/getUnit.d.ts +12 -12
- package/organization/organization.d.ts +9 -9
- package/organization/organization.js +1 -1
- package/organization/unit.d.ts +28 -28
- package/organization/unit.js +1 -1
- package/package.json +1 -1
- package/privatelink/endpointService.d.ts +63 -63
- package/privatelink/endpointService.js +1 -1
- package/privatelink/getEndpointService.d.ts +26 -26
- package/privatezone/getRecord.d.ts +14 -14
- package/privatezone/getResolverEndpoint.d.ts +13 -13
- package/privatezone/getResolverRule.d.ts +14 -14
- package/privatezone/getUserVpcAuthorization.d.ts +52 -0
- package/privatezone/getUserVpcAuthorization.js +28 -0
- package/privatezone/getUserVpcAuthorization.js.map +1 -0
- package/privatezone/getUserVpcAuthorizations.d.ts +22 -0
- package/privatezone/getUserVpcAuthorizations.js +24 -0
- package/privatezone/getUserVpcAuthorizations.js.map +1 -0
- package/privatezone/index.d.ts +9 -0
- package/privatezone/index.js +12 -1
- package/privatezone/index.js.map +1 -1
- package/privatezone/record.d.ts +39 -39
- package/privatezone/record.js +1 -1
- package/privatezone/resolverEndpoint.d.ts +29 -29
- package/privatezone/resolverEndpoint.js +1 -1
- package/privatezone/resolverRule.d.ts +29 -29
- package/privatezone/resolverRule.js +1 -1
- package/privatezone/userVpcAuthorization.d.ts +102 -0
- package/privatezone/userVpcAuthorization.js +77 -0
- package/privatezone/userVpcAuthorization.js.map +1 -0
- package/rabbitmq/getInstance.d.ts +24 -24
- package/rabbitmq/getInstancePlugin.d.ts +9 -9
- package/rabbitmq/getPublicAddress.d.ts +23 -23
- package/rabbitmq/instance.d.ts +58 -58
- package/rabbitmq/instance.js +1 -1
- package/rabbitmq/instancePlugin.d.ts +21 -21
- package/rabbitmq/instancePlugin.js +1 -1
- package/rabbitmq/publicAddress.d.ts +45 -45
- package/rabbitmq/publicAddress.js +1 -1
- package/rdsmssql/allowList.d.ts +32 -32
- package/rdsmssql/allowList.js +1 -1
- package/rdsmssql/getAllowList.d.ts +12 -12
- package/rdsmssql/getInstance.d.ts +35 -35
- package/rdsmssql/instance.d.ts +81 -81
- package/rdsmssql/instance.js +1 -1
- package/rdsmysql/allowList.d.ts +46 -46
- package/rdsmysql/allowList.js +1 -1
- package/rdsmysql/backup.d.ts +44 -44
- package/rdsmysql/backup.js +1 -1
- package/rdsmysql/database.d.ts +15 -15
- package/rdsmysql/database.js +1 -1
- package/rdsmysql/dbAccount.d.ts +25 -25
- package/rdsmysql/dbAccount.js +1 -1
- package/rdsmysql/endpoint.d.ts +69 -69
- package/rdsmysql/endpoint.js +1 -1
- package/rdsmysql/getAllowList.d.ts +18 -18
- package/rdsmysql/getBackup.d.ts +22 -22
- package/rdsmysql/getDatabase.d.ts +6 -6
- package/rdsmysql/getDbAccount.d.ts +11 -11
- package/rdsmysql/getEndpoint.d.ts +26 -26
- package/rdsmysql/getInstance.d.ts +70 -70
- package/rdsmysql/instance.d.ts +155 -155
- package/rdsmysql/instance.js +1 -1
- package/rdspostgresql/allowList.d.ts +35 -35
- package/rdspostgresql/allowList.js +1 -1
- package/rdspostgresql/database.d.ts +21 -21
- package/rdspostgresql/database.js +1 -1
- package/rdspostgresql/dbAccount.d.ts +19 -19
- package/rdspostgresql/dbAccount.js +1 -1
- package/rdspostgresql/dbEndpoint.d.ts +39 -39
- package/rdspostgresql/dbEndpoint.js +1 -1
- package/rdspostgresql/getAllowList.d.ts +14 -14
- package/rdspostgresql/getDatabase.d.ts +7 -7
- package/rdspostgresql/getDbAccount.d.ts +6 -6
- package/rdspostgresql/getDbEndpoint.d.ts +16 -16
- package/rdspostgresql/getSchema.d.ts +4 -4
- package/rdspostgresql/schema.d.ts +13 -13
- package/rdspostgresql/schema.js +1 -1
- package/redis/account.d.ts +18 -18
- package/redis/account.js +1 -1
- package/redis/endpointPublicAddress.d.ts +24 -24
- package/redis/endpointPublicAddress.js +1 -1
- package/redis/getAccount.d.ts +6 -6
- package/redis/getEndpointPublicAddress.d.ts +9 -9
- package/redis/getInstance.d.ts +44 -44
- package/redis/instance.d.ts +103 -103
- package/redis/instance.js +1 -1
- package/rocketmq/allowList.d.ts +25 -25
- package/rocketmq/allowList.js +1 -1
- package/rocketmq/getAllowList.d.ts +10 -10
- package/rocketmq/getGroup.d.ts +18 -18
- package/rocketmq/getInstance.d.ts +32 -32
- package/rocketmq/getTopic.d.ts +12 -12
- package/rocketmq/group.d.ts +39 -39
- package/rocketmq/group.js +1 -1
- package/rocketmq/instance.d.ts +80 -80
- package/rocketmq/instance.js +1 -1
- package/rocketmq/topic.d.ts +22 -22
- package/rocketmq/topic.js +1 -1
- package/storageebs/getSnapshot.d.ts +21 -21
- package/storageebs/getVolume.d.ts +30 -30
- package/storageebs/snapshot.d.ts +46 -46
- package/storageebs/snapshot.js +1 -1
- package/storageebs/volume.d.ts +72 -72
- package/storageebs/volume.js +1 -1
- package/tls/getIndex.d.ts +8 -8
- package/tls/getProject.d.ts +8 -8
- package/tls/getScheduleSqlTask.d.ts +21 -21
- package/tls/getTopic.d.ts +21 -21
- package/tls/index_.d.ts +17 -17
- package/tls/index_.js +1 -1
- package/tls/project.d.ts +18 -18
- package/tls/project.js +1 -1
- package/tls/scheduleSqlTask.d.ts +56 -56
- package/tls/scheduleSqlTask.js +1 -1
- package/tls/topic.d.ts +57 -57
- package/tls/topic.js +1 -1
- package/tos/bucket.d.ts +33 -33
- package/tos/bucket.js +1 -1
- package/tos/getBucket.d.ts +14 -14
- package/transitrouter/getTransitRouter.d.ts +16 -16
- package/transitrouter/getTransitRouterRouteEntry.d.ts +14 -14
- package/transitrouter/getTransitRouterRouteTable.d.ts +11 -11
- package/transitrouter/getVpcAttachment.d.ts +14 -14
- package/transitrouter/getVpnAttachment.d.ts +14 -14
- package/transitrouter/transitRouter.d.ts +34 -34
- package/transitrouter/transitRouter.js +1 -1
- package/transitrouter/transitRouterRouteEntry.d.ts +35 -35
- package/transitrouter/transitRouterRouteEntry.js +1 -1
- package/transitrouter/transitRouterRouteTable.d.ts +24 -24
- package/transitrouter/transitRouterRouteTable.js +1 -1
- package/transitrouter/vpcAttachment.d.ts +32 -32
- package/transitrouter/vpcAttachment.js +1 -1
- package/transitrouter/vpnAttachment.d.ts +34 -34
- package/transitrouter/vpnAttachment.js +1 -1
- package/types/input.d.ts +2967 -2452
- package/types/output.d.ts +6378 -5280
- package/vedbm/account.d.ts +132 -0
- package/vedbm/account.js +83 -0
- package/vedbm/account.js.map +1 -0
- package/vedbm/allowList.d.ts +25 -25
- package/vedbm/allowList.js +1 -1
- package/vedbm/backup.d.ts +35 -35
- package/vedbm/backup.js +1 -1
- package/vedbm/database.d.ts +13 -13
- package/vedbm/database.js +1 -1
- package/vedbm/getAccount.d.ts +60 -0
- package/vedbm/getAccount.js +28 -0
- package/vedbm/getAccount.js.map +1 -0
- package/vedbm/getAccounts.d.ts +22 -0
- package/vedbm/getAccounts.js +24 -0
- package/vedbm/getAccounts.js.map +1 -0
- package/vedbm/getAllowList.d.ts +10 -10
- package/vedbm/getBackup.d.ts +14 -14
- package/vedbm/getDatabase.d.ts +5 -5
- package/vedbm/getInstance.d.ts +30 -30
- package/vedbm/index.d.ts +9 -0
- package/vedbm/index.js +12 -1
- package/vedbm/index.js.map +1 -1
- package/vedbm/instance.d.ts +76 -76
- package/vedbm/instance.js +1 -1
- package/vefaas/function.d.ts +381 -0
- package/vefaas/function.js +120 -0
- package/vefaas/function.js.map +1 -0
- package/vefaas/getFunction.d.ts +165 -0
- package/vefaas/getFunction.js +28 -0
- package/vefaas/getFunction.js.map +1 -0
- package/vefaas/getFunctions.d.ts +22 -0
- package/vefaas/getFunctions.js +24 -0
- package/vefaas/getFunctions.js.map +1 -0
- package/vefaas/getKafkaTrigger.d.ts +16 -16
- package/vefaas/getSandbox.d.ts +20 -20
- package/vefaas/index.d.ts +9 -0
- package/vefaas/index.js +12 -1
- package/vefaas/index.js.map +1 -1
- package/vefaas/kafkaTrigger.d.ts +44 -44
- package/vefaas/kafkaTrigger.js +1 -1
- package/vefaas/sandbox.d.ts +45 -45
- package/vefaas/sandbox.js +1 -1
- package/vepfs/getInstance.d.ts +31 -31
- package/vepfs/instance.d.ts +74 -74
- package/vepfs/instance.js +1 -1
- package/vke/addon.d.ts +26 -26
- package/vke/addon.js +1 -1
- package/vke/cluster.d.ts +53 -53
- package/vke/cluster.js +1 -1
- package/vke/defaultNodePool.d.ts +26 -26
- package/vke/defaultNodePool.js +1 -1
- package/vke/getAddon.d.ts +9 -9
- package/vke/getCluster.d.ts +21 -21
- package/vke/getDefaultNodePool.d.ts +12 -12
- package/vke/getNode.d.ts +18 -18
- package/vke/getNodePool.d.ts +13 -13
- package/vke/getPermission.d.ts +18 -18
- package/vke/node.d.ts +47 -47
- package/vke/node.js +1 -1
- package/vke/nodePool.d.ts +32 -32
- package/vke/nodePool.js +1 -1
- package/vke/permission.d.ts +46 -46
- package/vke/permission.js +1 -1
- package/vmp/getWorkspace.d.ts +54 -18
- package/vmp/getWorkspace.js.map +1 -1
- package/vmp/workspace.d.ts +151 -47
- package/vmp/workspace.js +29 -7
- package/vmp/workspace.js.map +1 -1
- package/vpc/bandwidthPackage.d.ts +52 -52
- package/vpc/bandwidthPackage.js +1 -1
- package/vpc/eip.d.ts +85 -85
- package/vpc/eip.js +1 -1
- package/vpc/eni.d.ts +59 -59
- package/vpc/eni.js +1 -1
- package/vpc/flowLog.d.ts +49 -49
- package/vpc/flowLog.js +1 -1
- package/vpc/getBandwidthPackage.d.ts +22 -22
- package/vpc/getEip.d.ts +33 -33
- package/vpc/getEni.d.ts +25 -25
- package/vpc/getFlowLog.d.ts +20 -20
- package/vpc/getHaVip.d.ts +16 -16
- package/vpc/getIpv6AddressBandwidth.d.ts +20 -20
- package/vpc/getIpv6Gateway.d.ts +10 -10
- package/vpc/getNetworkAcl.d.ts +14 -14
- package/vpc/getPrefixList.d.ts +14 -14
- package/vpc/getRouteTable.d.ts +17 -17
- package/vpc/getSecurityGroup.d.ts +12 -12
- package/vpc/getSubnet.d.ts +20 -20
- package/vpc/getTrafficMirrorFilter.d.ts +9 -9
- package/vpc/getTrafficMirrorFilterRule.d.ts +12 -12
- package/vpc/getTrafficMirrorSession.d.ts +16 -16
- package/vpc/getTrafficMirrorTarget.d.ts +10 -10
- package/vpc/getVpc.d.ts +24 -24
- package/vpc/haVip.d.ts +38 -38
- package/vpc/haVip.js +1 -1
- package/vpc/ipv6AddressBandwidth.d.ts +44 -44
- package/vpc/ipv6AddressBandwidth.js +1 -1
- package/vpc/ipv6Gateway.d.ts +23 -23
- package/vpc/ipv6Gateway.js +1 -1
- package/vpc/networkAcl.d.ts +21 -21
- package/vpc/networkAcl.js +1 -1
- package/vpc/prefixList.d.ts +26 -26
- package/vpc/prefixList.js +1 -1
- package/vpc/routeTable.d.ts +37 -37
- package/vpc/routeTable.js +1 -1
- package/vpc/securityGroup.d.ts +23 -23
- package/vpc/securityGroup.js +1 -1
- package/vpc/subnet.d.ts +46 -46
- package/vpc/subnet.js +1 -1
- package/vpc/trafficMirrorFilter.d.ts +16 -16
- package/vpc/trafficMirrorFilter.js +1 -1
- package/vpc/trafficMirrorFilterRule.d.ts +35 -35
- package/vpc/trafficMirrorFilterRule.js +1 -1
- package/vpc/trafficMirrorSession.d.ts +40 -40
- package/vpc/trafficMirrorSession.js +1 -1
- package/vpc/trafficMirrorTarget.d.ts +24 -24
- package/vpc/trafficMirrorTarget.js +1 -1
- package/vpc/vpc.d.ts +57 -57
- package/vpc/vpc.js +1 -1
- package/vpn/customerGateway.d.ts +31 -31
- package/vpn/customerGateway.js +1 -1
- package/vpn/getCustomerGateway.d.ts +13 -13
- package/vpn/getVpnConnection.d.ts +177 -0
- package/vpn/getVpnConnection.js +28 -0
- package/vpn/getVpnConnection.js.map +1 -0
- package/vpn/getVpnConnections.d.ts +22 -0
- package/vpn/getVpnConnections.js +24 -0
- package/vpn/getVpnConnections.js.map +1 -0
- package/vpn/getVpnGateway.d.ts +32 -32
- package/vpn/index.d.ts +9 -0
- package/vpn/index.js +12 -1
- package/vpn/index.js.map +1 -1
- package/vpn/vpnConnection.d.ts +379 -0
- package/vpn/vpnConnection.js +132 -0
- package/vpn/vpnConnection.js.map +1 -0
- package/vpn/vpnGateway.d.ts +80 -80
- package/vpn/vpnGateway.js +1 -1
- package/waf/domain.d.ts +245 -245
- package/waf/domain.js +1 -1
- 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,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,C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C,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
|
+
}
|