1. Packages
  2. Opentelekomcloud Provider
  3. API Docs
  4. getFgsFunctionsV2
opentelekomcloud 1.36.51 published on Thursday, Oct 23, 2025 by opentelekomcloud

opentelekomcloud.getFgsFunctionsV2

Get Started
opentelekomcloud logo
opentelekomcloud 1.36.51 published on Thursday, Oct 23, 2025 by opentelekomcloud

    Use this data source to filter FGS functions within OpenTelekomCloud.

    Example Usage

    Obtain all public functions

    import * as pulumi from "@pulumi/pulumi";
    import * as opentelekomcloud from "@pulumi/opentelekomcloud";
    
    const test = opentelekomcloud.getFgsFunctionsV2({});
    
    import pulumi
    import pulumi_opentelekomcloud as opentelekomcloud
    
    test = opentelekomcloud.get_fgs_functions_v2()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/opentelekomcloud/opentelekomcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := opentelekomcloud.GetFgsFunctionsV2(ctx, &opentelekomcloud.GetFgsFunctionsV2Args{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Opentelekomcloud = Pulumi.Opentelekomcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var test = Opentelekomcloud.GetFgsFunctionsV2.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.opentelekomcloud.OpentelekomcloudFunctions;
    import com.pulumi.opentelekomcloud.inputs.GetFgsFunctionsV2Args;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var test = OpentelekomcloudFunctions.getFgsFunctionsV2();
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: opentelekomcloud:getFgsFunctionsV2
          arguments: {}
    

    Using getFgsFunctionsV2

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getFgsFunctionsV2(args: GetFgsFunctionsV2Args, opts?: InvokeOptions): Promise<GetFgsFunctionsV2Result>
    function getFgsFunctionsV2Output(args: GetFgsFunctionsV2OutputArgs, opts?: InvokeOptions): Output<GetFgsFunctionsV2Result>
    def get_fgs_functions_v2(enterprise_project_id: Optional[str] = None,
                             id: Optional[str] = None,
                             name: Optional[str] = None,
                             package_name: Optional[str] = None,
                             runtime: Optional[str] = None,
                             urn: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetFgsFunctionsV2Result
    def get_fgs_functions_v2_output(enterprise_project_id: Optional[pulumi.Input[str]] = None,
                             id: Optional[pulumi.Input[str]] = None,
                             name: Optional[pulumi.Input[str]] = None,
                             package_name: Optional[pulumi.Input[str]] = None,
                             runtime: Optional[pulumi.Input[str]] = None,
                             urn: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetFgsFunctionsV2Result]
    func GetFgsFunctionsV2(ctx *Context, args *GetFgsFunctionsV2Args, opts ...InvokeOption) (*GetFgsFunctionsV2Result, error)
    func GetFgsFunctionsV2Output(ctx *Context, args *GetFgsFunctionsV2OutputArgs, opts ...InvokeOption) GetFgsFunctionsV2ResultOutput

    > Note: This function is named GetFgsFunctionsV2 in the Go SDK.

    public static class GetFgsFunctionsV2 
    {
        public static Task<GetFgsFunctionsV2Result> InvokeAsync(GetFgsFunctionsV2Args args, InvokeOptions? opts = null)
        public static Output<GetFgsFunctionsV2Result> Invoke(GetFgsFunctionsV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFgsFunctionsV2Result> getFgsFunctionsV2(GetFgsFunctionsV2Args args, InvokeOptions options)
    public static Output<GetFgsFunctionsV2Result> getFgsFunctionsV2(GetFgsFunctionsV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: opentelekomcloud:index/getFgsFunctionsV2:getFgsFunctionsV2
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EnterpriseProjectId string
    Specifies the ID of the enterprise project to which the functions belong.
    Id string
    The data source ID.
    Name string
    Specifies the function name used to query the specified function.
    PackageName string
    Specifies the package name used to query the functions.
    Runtime string
    Specifies the dependency package runtime used to query the functions. The valid values are as follows:

    • Java8
    • Java11
    • Node.js6.10
    • Node.js8.10
    • Node.js10.16
    • Node.js12.13
    • Node.js14.18
    • Node.js16.17
    • Node.js18.15
    • Python2.7
    • Python3.6
    • Python3.9
    • Python3.10
    • Go1.x
    • C#(.NET Core 2.1)
    • C#(.NET Core 3.1)
    • Custom
    • PHP7.3
    • http
    • Custom Image
    • Cangjie1.0
    Urn string
    Specifies the function URN used to query the specified function.
    EnterpriseProjectId string
    Specifies the ID of the enterprise project to which the functions belong.
    Id string
    The data source ID.
    Name string
    Specifies the function name used to query the specified function.
    PackageName string
    Specifies the package name used to query the functions.
    Runtime string
    Specifies the dependency package runtime used to query the functions. The valid values are as follows:

    • Java8
    • Java11
    • Node.js6.10
    • Node.js8.10
    • Node.js10.16
    • Node.js12.13
    • Node.js14.18
    • Node.js16.17
    • Node.js18.15
    • Python2.7
    • Python3.6
    • Python3.9
    • Python3.10
    • Go1.x
    • C#(.NET Core 2.1)
    • C#(.NET Core 3.1)
    • Custom
    • PHP7.3
    • http
    • Custom Image
    • Cangjie1.0
    Urn string
    Specifies the function URN used to query the specified function.
    enterpriseProjectId String
    Specifies the ID of the enterprise project to which the functions belong.
    id String
    The data source ID.
    name String
    Specifies the function name used to query the specified function.
    packageName String
    Specifies the package name used to query the functions.
    runtime String
    Specifies the dependency package runtime used to query the functions. The valid values are as follows:

    • Java8
    • Java11
    • Node.js6.10
    • Node.js8.10
    • Node.js10.16
    • Node.js12.13
    • Node.js14.18
    • Node.js16.17
    • Node.js18.15
    • Python2.7
    • Python3.6
    • Python3.9
    • Python3.10
    • Go1.x
    • C#(.NET Core 2.1)
    • C#(.NET Core 3.1)
    • Custom
    • PHP7.3
    • http
    • Custom Image
    • Cangjie1.0
    urn String
    Specifies the function URN used to query the specified function.
    enterpriseProjectId string
    Specifies the ID of the enterprise project to which the functions belong.
    id string
    The data source ID.
    name string
    Specifies the function name used to query the specified function.
    packageName string
    Specifies the package name used to query the functions.
    runtime string
    Specifies the dependency package runtime used to query the functions. The valid values are as follows:

    • Java8
    • Java11
    • Node.js6.10
    • Node.js8.10
    • Node.js10.16
    • Node.js12.13
    • Node.js14.18
    • Node.js16.17
    • Node.js18.15
    • Python2.7
    • Python3.6
    • Python3.9
    • Python3.10
    • Go1.x
    • C#(.NET Core 2.1)
    • C#(.NET Core 3.1)
    • Custom
    • PHP7.3
    • http
    • Custom Image
    • Cangjie1.0
    urn string
    Specifies the function URN used to query the specified function.
    enterprise_project_id str
    Specifies the ID of the enterprise project to which the functions belong.
    id str
    The data source ID.
    name str
    Specifies the function name used to query the specified function.
    package_name str
    Specifies the package name used to query the functions.
    runtime str
    Specifies the dependency package runtime used to query the functions. The valid values are as follows:

    • Java8
    • Java11
    • Node.js6.10
    • Node.js8.10
    • Node.js10.16
    • Node.js12.13
    • Node.js14.18
    • Node.js16.17
    • Node.js18.15
    • Python2.7
    • Python3.6
    • Python3.9
    • Python3.10
    • Go1.x
    • C#(.NET Core 2.1)
    • C#(.NET Core 3.1)
    • Custom
    • PHP7.3
    • http
    • Custom Image
    • Cangjie1.0
    urn str
    Specifies the function URN used to query the specified function.
    enterpriseProjectId String
    Specifies the ID of the enterprise project to which the functions belong.
    id String
    The data source ID.
    name String
    Specifies the function name used to query the specified function.
    packageName String
    Specifies the package name used to query the functions.
    runtime String
    Specifies the dependency package runtime used to query the functions. The valid values are as follows:

    • Java8
    • Java11
    • Node.js6.10
    • Node.js8.10
    • Node.js10.16
    • Node.js12.13
    • Node.js14.18
    • Node.js16.17
    • Node.js18.15
    • Python2.7
    • Python3.6
    • Python3.9
    • Python3.10
    • Go1.x
    • C#(.NET Core 2.1)
    • C#(.NET Core 3.1)
    • Custom
    • PHP7.3
    • http
    • Custom Image
    • Cangjie1.0
    urn String
    Specifies the function URN used to query the specified function.

    getFgsFunctionsV2 Result

    The following output properties are available:

    Functions List<GetFgsFunctionsV2Function>
    All functions that match the filter parameters. The functions structure is documented below.
    Id string
    The data source ID.
    Region string
    The functionGraph region.
    EnterpriseProjectId string
    The enterprise project ID to which the function belongs.
    Name string
    The function name.
    PackageName string
    Runtime string
    The dependency package runtime of the function.
    Urn string
    The function URN.
    Functions []GetFgsFunctionsV2Function
    All functions that match the filter parameters. The functions structure is documented below.
    Id string
    The data source ID.
    Region string
    The functionGraph region.
    EnterpriseProjectId string
    The enterprise project ID to which the function belongs.
    Name string
    The function name.
    PackageName string
    Runtime string
    The dependency package runtime of the function.
    Urn string
    The function URN.
    functions List<GetFgsFunctionsV2Function>
    All functions that match the filter parameters. The functions structure is documented below.
    id String
    The data source ID.
    region String
    The functionGraph region.
    enterpriseProjectId String
    The enterprise project ID to which the function belongs.
    name String
    The function name.
    packageName String
    runtime String
    The dependency package runtime of the function.
    urn String
    The function URN.
    functions GetFgsFunctionsV2Function[]
    All functions that match the filter parameters. The functions structure is documented below.
    id string
    The data source ID.
    region string
    The functionGraph region.
    enterpriseProjectId string
    The enterprise project ID to which the function belongs.
    name string
    The function name.
    packageName string
    runtime string
    The dependency package runtime of the function.
    urn string
    The function URN.
    functions Sequence[GetFgsFunctionsV2Function]
    All functions that match the filter parameters. The functions structure is documented below.
    id str
    The data source ID.
    region str
    The functionGraph region.
    enterprise_project_id str
    The enterprise project ID to which the function belongs.
    name str
    The function name.
    package_name str
    runtime str
    The dependency package runtime of the function.
    urn str
    The function URN.
    functions List<Property Map>
    All functions that match the filter parameters. The functions structure is documented below.
    id String
    The data source ID.
    region String
    The functionGraph region.
    enterpriseProjectId String
    The enterprise project ID to which the function belongs.
    name String
    The function name.
    packageName String
    runtime String
    The dependency package runtime of the function.
    urn String
    The function URN.

    Supporting Types

    GetFgsFunctionsV2Function

    AppAgency string
    The IAM agency name for the function execution.
    CodeFilename string
    The name of the function file.
    CodeType string
    The function code type.

    • inline: inline code.
    • zip: ZIP file.
    • jar: JAR file or java functions.
    • obs: function code stored in an OBS bucket.
    CodeUrl string
    The code URL.
    Description string
    The description of the function.
    EncryptedUserData string
    The custom user data (key/value pairs) defined to be encrypted for the function.
    EnterpriseProjectId string
    Specifies the ID of the enterprise project to which the functions belong.
    FunctiongraphVersion string
    The functionGraph version.
    Handler string
    The entry point of the function.
    InitializerHandler string
    The initializer of the function.
    InitializerTimeout double
    The maximum duration the function can be initialized.
    LogGroupId string
    The LTS log group ID.
    LogStreamId string
    The LTS log stream ID.
    MaxInstanceNum double
    The maximum number of instances for a single function.
    MemorySize double
    The memory size allocated to the function, the unit is MB.
    Name string
    Specifies the function name used to query the specified function.
    NetworkId string
    The network ID of subnet to which the function belongs.
    Package string
    The package name that the function used.
    Runtime string
    Specifies the dependency package runtime used to query the functions. The valid values are as follows:

    • Java8
    • Java11
    • Node.js6.10
    • Node.js8.10
    • Node.js10.16
    • Node.js12.13
    • Node.js14.18
    • Node.js16.17
    • Node.js18.15
    • Python2.7
    • Python3.6
    • Python3.9
    • Python3.10
    • Go1.x
    • C#(.NET Core 2.1)
    • C#(.NET Core 3.1)
    • Custom
    • PHP7.3
    • http
    • Custom Image
    • Cangjie1.0
    Timeout double
    The timeout interval of the function.
    Urn string
    Specifies the function URN used to query the specified function.
    UserData string
    The custom user data (key/value pairs) defined for the function.
    Version string
    The function version.
    VpcId string
    The VPC ID to which the function belongs.
    AppAgency string
    The IAM agency name for the function execution.
    CodeFilename string
    The name of the function file.
    CodeType string
    The function code type.

    • inline: inline code.
    • zip: ZIP file.
    • jar: JAR file or java functions.
    • obs: function code stored in an OBS bucket.
    CodeUrl string
    The code URL.
    Description string
    The description of the function.
    EncryptedUserData string
    The custom user data (key/value pairs) defined to be encrypted for the function.
    EnterpriseProjectId string
    Specifies the ID of the enterprise project to which the functions belong.
    FunctiongraphVersion string
    The functionGraph version.
    Handler string
    The entry point of the function.
    InitializerHandler string
    The initializer of the function.
    InitializerTimeout float64
    The maximum duration the function can be initialized.
    LogGroupId string
    The LTS log group ID.
    LogStreamId string
    The LTS log stream ID.
    MaxInstanceNum float64
    The maximum number of instances for a single function.
    MemorySize float64
    The memory size allocated to the function, the unit is MB.
    Name string
    Specifies the function name used to query the specified function.
    NetworkId string
    The network ID of subnet to which the function belongs.
    Package string
    The package name that the function used.
    Runtime string
    Specifies the dependency package runtime used to query the functions. The valid values are as follows:

    • Java8
    • Java11
    • Node.js6.10
    • Node.js8.10
    • Node.js10.16
    • Node.js12.13
    • Node.js14.18
    • Node.js16.17
    • Node.js18.15
    • Python2.7
    • Python3.6
    • Python3.9
    • Python3.10
    • Go1.x
    • C#(.NET Core 2.1)
    • C#(.NET Core 3.1)
    • Custom
    • PHP7.3
    • http
    • Custom Image
    • Cangjie1.0
    Timeout float64
    The timeout interval of the function.
    Urn string
    Specifies the function URN used to query the specified function.
    UserData string
    The custom user data (key/value pairs) defined for the function.
    Version string
    The function version.
    VpcId string
    The VPC ID to which the function belongs.
    appAgency String
    The IAM agency name for the function execution.
    codeFilename String
    The name of the function file.
    codeType String
    The function code type.

    • inline: inline code.
    • zip: ZIP file.
    • jar: JAR file or java functions.
    • obs: function code stored in an OBS bucket.
    codeUrl String
    The code URL.
    description String
    The description of the function.
    encryptedUserData String
    The custom user data (key/value pairs) defined to be encrypted for the function.
    enterpriseProjectId String
    Specifies the ID of the enterprise project to which the functions belong.
    functiongraphVersion String
    The functionGraph version.
    handler String
    The entry point of the function.
    initializerHandler String
    The initializer of the function.
    initializerTimeout Double
    The maximum duration the function can be initialized.
    logGroupId String
    The LTS log group ID.
    logStreamId String
    The LTS log stream ID.
    maxInstanceNum Double
    The maximum number of instances for a single function.
    memorySize Double
    The memory size allocated to the function, the unit is MB.
    name String
    Specifies the function name used to query the specified function.
    networkId String
    The network ID of subnet to which the function belongs.
    package_ String
    The package name that the function used.
    runtime String
    Specifies the dependency package runtime used to query the functions. The valid values are as follows:

    • Java8
    • Java11
    • Node.js6.10
    • Node.js8.10
    • Node.js10.16
    • Node.js12.13
    • Node.js14.18
    • Node.js16.17
    • Node.js18.15
    • Python2.7
    • Python3.6
    • Python3.9
    • Python3.10
    • Go1.x
    • C#(.NET Core 2.1)
    • C#(.NET Core 3.1)
    • Custom
    • PHP7.3
    • http
    • Custom Image
    • Cangjie1.0
    timeout Double
    The timeout interval of the function.
    urn String
    Specifies the function URN used to query the specified function.
    userData String
    The custom user data (key/value pairs) defined for the function.
    version String
    The function version.
    vpcId String
    The VPC ID to which the function belongs.
    appAgency string
    The IAM agency name for the function execution.
    codeFilename string
    The name of the function file.
    codeType string
    The function code type.

    • inline: inline code.
    • zip: ZIP file.
    • jar: JAR file or java functions.
    • obs: function code stored in an OBS bucket.
    codeUrl string
    The code URL.
    description string
    The description of the function.
    encryptedUserData string
    The custom user data (key/value pairs) defined to be encrypted for the function.
    enterpriseProjectId string
    Specifies the ID of the enterprise project to which the functions belong.
    functiongraphVersion string
    The functionGraph version.
    handler string
    The entry point of the function.
    initializerHandler string
    The initializer of the function.
    initializerTimeout number
    The maximum duration the function can be initialized.
    logGroupId string
    The LTS log group ID.
    logStreamId string
    The LTS log stream ID.
    maxInstanceNum number
    The maximum number of instances for a single function.
    memorySize number
    The memory size allocated to the function, the unit is MB.
    name string
    Specifies the function name used to query the specified function.
    networkId string
    The network ID of subnet to which the function belongs.
    package string
    The package name that the function used.
    runtime string
    Specifies the dependency package runtime used to query the functions. The valid values are as follows:

    • Java8
    • Java11
    • Node.js6.10
    • Node.js8.10
    • Node.js10.16
    • Node.js12.13
    • Node.js14.18
    • Node.js16.17
    • Node.js18.15
    • Python2.7
    • Python3.6
    • Python3.9
    • Python3.10
    • Go1.x
    • C#(.NET Core 2.1)
    • C#(.NET Core 3.1)
    • Custom
    • PHP7.3
    • http
    • Custom Image
    • Cangjie1.0
    timeout number
    The timeout interval of the function.
    urn string
    Specifies the function URN used to query the specified function.
    userData string
    The custom user data (key/value pairs) defined for the function.
    version string
    The function version.
    vpcId string
    The VPC ID to which the function belongs.
    app_agency str
    The IAM agency name for the function execution.
    code_filename str
    The name of the function file.
    code_type str
    The function code type.

    • inline: inline code.
    • zip: ZIP file.
    • jar: JAR file or java functions.
    • obs: function code stored in an OBS bucket.
    code_url str
    The code URL.
    description str
    The description of the function.
    encrypted_user_data str
    The custom user data (key/value pairs) defined to be encrypted for the function.
    enterprise_project_id str
    Specifies the ID of the enterprise project to which the functions belong.
    functiongraph_version str
    The functionGraph version.
    handler str
    The entry point of the function.
    initializer_handler str
    The initializer of the function.
    initializer_timeout float
    The maximum duration the function can be initialized.
    log_group_id str
    The LTS log group ID.
    log_stream_id str
    The LTS log stream ID.
    max_instance_num float
    The maximum number of instances for a single function.
    memory_size float
    The memory size allocated to the function, the unit is MB.
    name str
    Specifies the function name used to query the specified function.
    network_id str
    The network ID of subnet to which the function belongs.
    package str
    The package name that the function used.
    runtime str
    Specifies the dependency package runtime used to query the functions. The valid values are as follows:

    • Java8
    • Java11
    • Node.js6.10
    • Node.js8.10
    • Node.js10.16
    • Node.js12.13
    • Node.js14.18
    • Node.js16.17
    • Node.js18.15
    • Python2.7
    • Python3.6
    • Python3.9
    • Python3.10
    • Go1.x
    • C#(.NET Core 2.1)
    • C#(.NET Core 3.1)
    • Custom
    • PHP7.3
    • http
    • Custom Image
    • Cangjie1.0
    timeout float
    The timeout interval of the function.
    urn str
    Specifies the function URN used to query the specified function.
    user_data str
    The custom user data (key/value pairs) defined for the function.
    version str
    The function version.
    vpc_id str
    The VPC ID to which the function belongs.
    appAgency String
    The IAM agency name for the function execution.
    codeFilename String
    The name of the function file.
    codeType String
    The function code type.

    • inline: inline code.
    • zip: ZIP file.
    • jar: JAR file or java functions.
    • obs: function code stored in an OBS bucket.
    codeUrl String
    The code URL.
    description String
    The description of the function.
    encryptedUserData String
    The custom user data (key/value pairs) defined to be encrypted for the function.
    enterpriseProjectId String
    Specifies the ID of the enterprise project to which the functions belong.
    functiongraphVersion String
    The functionGraph version.
    handler String
    The entry point of the function.
    initializerHandler String
    The initializer of the function.
    initializerTimeout Number
    The maximum duration the function can be initialized.
    logGroupId String
    The LTS log group ID.
    logStreamId String
    The LTS log stream ID.
    maxInstanceNum Number
    The maximum number of instances for a single function.
    memorySize Number
    The memory size allocated to the function, the unit is MB.
    name String
    Specifies the function name used to query the specified function.
    networkId String
    The network ID of subnet to which the function belongs.
    package String
    The package name that the function used.
    runtime String
    Specifies the dependency package runtime used to query the functions. The valid values are as follows:

    • Java8
    • Java11
    • Node.js6.10
    • Node.js8.10
    • Node.js10.16
    • Node.js12.13
    • Node.js14.18
    • Node.js16.17
    • Node.js18.15
    • Python2.7
    • Python3.6
    • Python3.9
    • Python3.10
    • Go1.x
    • C#(.NET Core 2.1)
    • C#(.NET Core 3.1)
    • Custom
    • PHP7.3
    • http
    • Custom Image
    • Cangjie1.0
    timeout Number
    The timeout interval of the function.
    urn String
    Specifies the function URN used to query the specified function.
    userData String
    The custom user data (key/value pairs) defined for the function.
    version String
    The function version.
    vpcId String
    The VPC ID to which the function belongs.

    Package Details

    Repository
    opentelekomcloud opentelekomcloud/terraform-provider-opentelekomcloud
    License
    Notes
    This Pulumi package is based on the opentelekomcloud Terraform Provider.
    opentelekomcloud logo
    opentelekomcloud 1.36.51 published on Thursday, Oct 23, 2025 by opentelekomcloud
      Meet Neo: Your AI Platform Teammate