opentelekomcloud 1.36.51 published on Thursday, Oct 23, 2025 by opentelekomcloud
opentelekomcloud.getFgsFunctionsV2
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 dictionaryThe following arguments are supported:
- Enterprise
Project stringId - 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.
- Package
Name 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 stringId - 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.
- Package
Name 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 StringId - 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.
- package
Name 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 stringId - 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.
- package
Name 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_ strid - 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.
- enterprise
Project StringId - 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.
- package
Name 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<Get
Fgs Functions V2Function> - All functions that match the filter parameters. The functions structure is documented below.
- Id string
- The data source ID.
- Region string
- The functionGraph region.
- Enterprise
Project stringId - The enterprise project ID to which the function belongs.
- Name string
- The function name.
- Package
Name string - Runtime string
- The dependency package runtime of the function.
- Urn string
- The function URN.
- Functions
[]Get
Fgs Functions V2Function - All functions that match the filter parameters. The functions structure is documented below.
- Id string
- The data source ID.
- Region string
- The functionGraph region.
- Enterprise
Project stringId - The enterprise project ID to which the function belongs.
- Name string
- The function name.
- Package
Name string - Runtime string
- The dependency package runtime of the function.
- Urn string
- The function URN.
- functions
List<Get
Fgs Functions V2Function> - All functions that match the filter parameters. The functions structure is documented below.
- id String
- The data source ID.
- region String
- The functionGraph region.
- enterprise
Project StringId - The enterprise project ID to which the function belongs.
- name String
- The function name.
- package
Name String - runtime String
- The dependency package runtime of the function.
- urn String
- The function URN.
- functions
Get
Fgs Functions V2Function[] - All functions that match the filter parameters. The functions structure is documented below.
- id string
- The data source ID.
- region string
- The functionGraph region.
- enterprise
Project stringId - The enterprise project ID to which the function belongs.
- name string
- The function name.
- package
Name string - runtime string
- The dependency package runtime of the function.
- urn string
- The function URN.
- functions
Sequence[Get
Fgs Functions V2Function] - 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_ strid - 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.
- enterprise
Project StringId - The enterprise project ID to which the function belongs.
- name String
- The function name.
- package
Name String - runtime String
- The dependency package runtime of the function.
- urn String
- The function URN.
Supporting Types
GetFgsFunctionsV2Function
- App
Agency string - The IAM agency name for the function execution.
- Code
Filename string - The name of the function file.
- Code
Type 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.
- Code
Url string - The code URL.
- Description string
- The description of the function.
- Encrypted
User stringData - The custom user data (key/value pairs) defined to be encrypted for the function.
- Enterprise
Project stringId - Specifies the ID of the enterprise project to which the functions belong.
- Functiongraph
Version string - The functionGraph version.
- Handler string
- The entry point of the function.
- Initializer
Handler string - The initializer of the function.
- Initializer
Timeout double - The maximum duration the function can be initialized.
- Log
Group stringId - The LTS log group ID.
- Log
Stream stringId - The LTS log stream ID.
- Max
Instance doubleNum - The maximum number of instances for a single function.
- Memory
Size double - The memory size allocated to the function, the unit is MB.
- Name string
- Specifies the function name used to query the specified function.
- Network
Id 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.
- User
Data string - The custom user data (key/value pairs) defined for the function.
- Version string
- The function version.
- Vpc
Id string - The VPC ID to which the function belongs.
- App
Agency string - The IAM agency name for the function execution.
- Code
Filename string - The name of the function file.
- Code
Type 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.
- Code
Url string - The code URL.
- Description string
- The description of the function.
- Encrypted
User stringData - The custom user data (key/value pairs) defined to be encrypted for the function.
- Enterprise
Project stringId - Specifies the ID of the enterprise project to which the functions belong.
- Functiongraph
Version string - The functionGraph version.
- Handler string
- The entry point of the function.
- Initializer
Handler string - The initializer of the function.
- Initializer
Timeout float64 - The maximum duration the function can be initialized.
- Log
Group stringId - The LTS log group ID.
- Log
Stream stringId - The LTS log stream ID.
- Max
Instance float64Num - The maximum number of instances for a single function.
- Memory
Size float64 - The memory size allocated to the function, the unit is MB.
- Name string
- Specifies the function name used to query the specified function.
- Network
Id 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.
- User
Data string - The custom user data (key/value pairs) defined for the function.
- Version string
- The function version.
- Vpc
Id string - The VPC ID to which the function belongs.
- app
Agency String - The IAM agency name for the function execution.
- code
Filename String - The name of the function file.
- code
Type 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.
- code
Url String - The code URL.
- description String
- The description of the function.
- encrypted
User StringData - The custom user data (key/value pairs) defined to be encrypted for the function.
- enterprise
Project StringId - Specifies the ID of the enterprise project to which the functions belong.
- functiongraph
Version String - The functionGraph version.
- handler String
- The entry point of the function.
- initializer
Handler String - The initializer of the function.
- initializer
Timeout Double - The maximum duration the function can be initialized.
- log
Group StringId - The LTS log group ID.
- log
Stream StringId - The LTS log stream ID.
- max
Instance DoubleNum - The maximum number of instances for a single function.
- memory
Size Double - The memory size allocated to the function, the unit is MB.
- name String
- Specifies the function name used to query the specified function.
- network
Id 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.
- user
Data String - The custom user data (key/value pairs) defined for the function.
- version String
- The function version.
- vpc
Id String - The VPC ID to which the function belongs.
- app
Agency string - The IAM agency name for the function execution.
- code
Filename string - The name of the function file.
- code
Type 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.
- code
Url string - The code URL.
- description string
- The description of the function.
- encrypted
User stringData - The custom user data (key/value pairs) defined to be encrypted for the function.
- enterprise
Project stringId - Specifies the ID of the enterprise project to which the functions belong.
- functiongraph
Version string - The functionGraph version.
- handler string
- The entry point of the function.
- initializer
Handler string - The initializer of the function.
- initializer
Timeout number - The maximum duration the function can be initialized.
- log
Group stringId - The LTS log group ID.
- log
Stream stringId - The LTS log stream ID.
- max
Instance numberNum - The maximum number of instances for a single function.
- memory
Size number - The memory size allocated to the function, the unit is MB.
- name string
- Specifies the function name used to query the specified function.
- network
Id 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.
- user
Data string - The custom user data (key/value pairs) defined for the function.
- version string
- The function version.
- vpc
Id 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_ strdata - The custom user data (key/value pairs) defined to be encrypted for the function.
- enterprise_
project_ strid - 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_ strid - The LTS log group ID.
- log_
stream_ strid - The LTS log stream ID.
- max_
instance_ floatnum - 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.
- app
Agency String - The IAM agency name for the function execution.
- code
Filename String - The name of the function file.
- code
Type 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.
- code
Url String - The code URL.
- description String
- The description of the function.
- encrypted
User StringData - The custom user data (key/value pairs) defined to be encrypted for the function.
- enterprise
Project StringId - Specifies the ID of the enterprise project to which the functions belong.
- functiongraph
Version String - The functionGraph version.
- handler String
- The entry point of the function.
- initializer
Handler String - The initializer of the function.
- initializer
Timeout Number - The maximum duration the function can be initialized.
- log
Group StringId - The LTS log group ID.
- log
Stream StringId - The LTS log stream ID.
- max
Instance NumberNum - The maximum number of instances for a single function.
- memory
Size Number - The memory size allocated to the function, the unit is MB.
- name String
- Specifies the function name used to query the specified function.
- network
Id 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.
- user
Data String - The custom user data (key/value pairs) defined for the function.
- version String
- The function version.
- vpc
Id 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
opentelekomcloudTerraform Provider.
opentelekomcloud 1.36.51 published on Thursday, Oct 23, 2025 by opentelekomcloud
