1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. getFgsDependencies
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.getFgsDependencies

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Use this data source to filter dependent packages of FGS from FlexibleEngine.

    Example Usage

    Obtain all public dependent packages

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const test = flexibleengine.getFgsDependencies({});
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    test = flexibleengine.get_fgs_dependencies()
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := flexibleengine.GetFgsDependencies(ctx, &flexibleengine.GetFgsDependenciesArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var test = Flexibleengine.GetFgsDependencies.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.FlexibleengineFunctions;
    import com.pulumi.flexibleengine.inputs.GetFgsDependenciesArgs;
    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 = FlexibleengineFunctions.getFgsDependencies();
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: flexibleengine:getFgsDependencies
          arguments: {}
    

    Obtain specific public dependent package by name

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const test = flexibleengine.getFgsDependencies({
        name: "obssdk",
        type: "public",
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    test = flexibleengine.get_fgs_dependencies(name="obssdk",
        type="public")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := flexibleengine.GetFgsDependencies(ctx, &flexibleengine.GetFgsDependenciesArgs{
    			Name: pulumi.StringRef("obssdk"),
    			Type: pulumi.StringRef("public"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var test = Flexibleengine.GetFgsDependencies.Invoke(new()
        {
            Name = "obssdk",
            Type = "public",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.FlexibleengineFunctions;
    import com.pulumi.flexibleengine.inputs.GetFgsDependenciesArgs;
    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 = FlexibleengineFunctions.getFgsDependencies(GetFgsDependenciesArgs.builder()
                .name("obssdk")
                .type("public")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: flexibleengine:getFgsDependencies
          arguments:
            name: obssdk
            type: public
    

    Obtain all public Python2.7 dependent packages

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const test = flexibleengine.getFgsDependencies({
        runtime: "Python2.7",
        type: "public",
    });
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    test = flexibleengine.get_fgs_dependencies(runtime="Python2.7",
        type="public")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := flexibleengine.GetFgsDependencies(ctx, &flexibleengine.GetFgsDependenciesArgs{
    			Runtime: pulumi.StringRef("Python2.7"),
    			Type:    pulumi.StringRef("public"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var test = Flexibleengine.GetFgsDependencies.Invoke(new()
        {
            Runtime = "Python2.7",
            Type = "public",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.FlexibleengineFunctions;
    import com.pulumi.flexibleengine.inputs.GetFgsDependenciesArgs;
    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 = FlexibleengineFunctions.getFgsDependencies(GetFgsDependenciesArgs.builder()
                .runtime("Python2.7")
                .type("public")
                .build());
    
        }
    }
    
    variables:
      test:
        fn::invoke:
          function: flexibleengine:getFgsDependencies
          arguments:
            runtime: Python2.7
            type: public
    

    Using getFgsDependencies

    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 getFgsDependencies(args: GetFgsDependenciesArgs, opts?: InvokeOptions): Promise<GetFgsDependenciesResult>
    function getFgsDependenciesOutput(args: GetFgsDependenciesOutputArgs, opts?: InvokeOptions): Output<GetFgsDependenciesResult>
    def get_fgs_dependencies(id: Optional[str] = None,
                             name: Optional[str] = None,
                             region: Optional[str] = None,
                             runtime: Optional[str] = None,
                             type: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetFgsDependenciesResult
    def get_fgs_dependencies_output(id: Optional[pulumi.Input[str]] = None,
                             name: Optional[pulumi.Input[str]] = None,
                             region: Optional[pulumi.Input[str]] = None,
                             runtime: Optional[pulumi.Input[str]] = None,
                             type: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetFgsDependenciesResult]
    func GetFgsDependencies(ctx *Context, args *GetFgsDependenciesArgs, opts ...InvokeOption) (*GetFgsDependenciesResult, error)
    func GetFgsDependenciesOutput(ctx *Context, args *GetFgsDependenciesOutputArgs, opts ...InvokeOption) GetFgsDependenciesResultOutput

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

    public static class GetFgsDependencies 
    {
        public static Task<GetFgsDependenciesResult> InvokeAsync(GetFgsDependenciesArgs args, InvokeOptions? opts = null)
        public static Output<GetFgsDependenciesResult> Invoke(GetFgsDependenciesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFgsDependenciesResult> getFgsDependencies(GetFgsDependenciesArgs args, InvokeOptions options)
    public static Output<GetFgsDependenciesResult> getFgsDependencies(GetFgsDependenciesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: flexibleengine:index/getFgsDependencies:getFgsDependencies
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Dependent package ID.
    Name string
    Specifies the dependent package runtime to match.
    Region string
    Specifies the region in which to obtain the dependent packages. If omitted, the provider-level region will be used.
    Runtime string
    Specifies the dependent package runtime to match. Valid values: Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
    Type string
    Specifies the dependent package type to match. Valid values: public and private.
    Id string
    Dependent package ID.
    Name string
    Specifies the dependent package runtime to match.
    Region string
    Specifies the region in which to obtain the dependent packages. If omitted, the provider-level region will be used.
    Runtime string
    Specifies the dependent package runtime to match. Valid values: Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
    Type string
    Specifies the dependent package type to match. Valid values: public and private.
    id String
    Dependent package ID.
    name String
    Specifies the dependent package runtime to match.
    region String
    Specifies the region in which to obtain the dependent packages. If omitted, the provider-level region will be used.
    runtime String
    Specifies the dependent package runtime to match. Valid values: Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
    type String
    Specifies the dependent package type to match. Valid values: public and private.
    id string
    Dependent package ID.
    name string
    Specifies the dependent package runtime to match.
    region string
    Specifies the region in which to obtain the dependent packages. If omitted, the provider-level region will be used.
    runtime string
    Specifies the dependent package runtime to match. Valid values: Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
    type string
    Specifies the dependent package type to match. Valid values: public and private.
    id str
    Dependent package ID.
    name str
    Specifies the dependent package runtime to match.
    region str
    Specifies the region in which to obtain the dependent packages. If omitted, the provider-level region will be used.
    runtime str
    Specifies the dependent package runtime to match. Valid values: Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
    type str
    Specifies the dependent package type to match. Valid values: public and private.
    id String
    Dependent package ID.
    name String
    Specifies the dependent package runtime to match.
    region String
    Specifies the region in which to obtain the dependent packages. If omitted, the provider-level region will be used.
    runtime String
    Specifies the dependent package runtime to match. Valid values: Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
    type String
    Specifies the dependent package type to match. Valid values: public and private.

    getFgsDependencies Result

    The following output properties are available:

    Id string
    Dependent package ID.
    Packages List<GetFgsDependenciesPackage>
    All dependent packages that match.
    Region string
    Name string
    Dependent package name.
    Runtime string
    Dependent package runtime.
    Type string
    Id string
    Dependent package ID.
    Packages []GetFgsDependenciesPackage
    All dependent packages that match.
    Region string
    Name string
    Dependent package name.
    Runtime string
    Dependent package runtime.
    Type string
    id String
    Dependent package ID.
    packages List<GetFgsDependenciesPackage>
    All dependent packages that match.
    region String
    name String
    Dependent package name.
    runtime String
    Dependent package runtime.
    type String
    id string
    Dependent package ID.
    packages GetFgsDependenciesPackage[]
    All dependent packages that match.
    region string
    name string
    Dependent package name.
    runtime string
    Dependent package runtime.
    type string
    id str
    Dependent package ID.
    packages Sequence[GetFgsDependenciesPackage]
    All dependent packages that match.
    region str
    name str
    Dependent package name.
    runtime str
    Dependent package runtime.
    type str
    id String
    Dependent package ID.
    packages List<Property Map>
    All dependent packages that match.
    region String
    name String
    Dependent package name.
    runtime String
    Dependent package runtime.
    type String

    Supporting Types

    GetFgsDependenciesPackage

    Etag string
    Unique ID of the dependent package.
    FileName string
    File name of the Dependent package.
    Id string
    Dependent package ID.
    Link string
    URL of the dependent package in the OBS console.
    Name string
    Specifies the dependent package runtime to match.
    Owner string
    Dependent package owner.
    Runtime string
    Specifies the dependent package runtime to match. Valid values: Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
    Size double
    Dependent package size.
    Etag string
    Unique ID of the dependent package.
    FileName string
    File name of the Dependent package.
    Id string
    Dependent package ID.
    Link string
    URL of the dependent package in the OBS console.
    Name string
    Specifies the dependent package runtime to match.
    Owner string
    Dependent package owner.
    Runtime string
    Specifies the dependent package runtime to match. Valid values: Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
    Size float64
    Dependent package size.
    etag String
    Unique ID of the dependent package.
    fileName String
    File name of the Dependent package.
    id String
    Dependent package ID.
    link String
    URL of the dependent package in the OBS console.
    name String
    Specifies the dependent package runtime to match.
    owner String
    Dependent package owner.
    runtime String
    Specifies the dependent package runtime to match. Valid values: Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
    size Double
    Dependent package size.
    etag string
    Unique ID of the dependent package.
    fileName string
    File name of the Dependent package.
    id string
    Dependent package ID.
    link string
    URL of the dependent package in the OBS console.
    name string
    Specifies the dependent package runtime to match.
    owner string
    Dependent package owner.
    runtime string
    Specifies the dependent package runtime to match. Valid values: Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
    size number
    Dependent package size.
    etag str
    Unique ID of the dependent package.
    file_name str
    File name of the Dependent package.
    id str
    Dependent package ID.
    link str
    URL of the dependent package in the OBS console.
    name str
    Specifies the dependent package runtime to match.
    owner str
    Dependent package owner.
    runtime str
    Specifies the dependent package runtime to match. Valid values: Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
    size float
    Dependent package size.
    etag String
    Unique ID of the dependent package.
    fileName String
    File name of the Dependent package.
    id String
    Dependent package ID.
    link String
    URL of the dependent package in the OBS console.
    name String
    Specifies the dependent package runtime to match.
    owner String
    Dependent package owner.
    runtime String
    Specifies the dependent package runtime to match. Valid values: Java8, Node.js6.10, Node.js8.10, Node.js10.16, Node.js12.13, Python2.7, Python3.6, Go1.8, Go1.x, C#(.NET Core 2.0), C#(.NET Core 2.1), C#(.NET Core 3.1) and PHP7.3.
    size Number
    Dependent package size.

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud