1. Packages
  2. Gcore Provider
  3. API Docs
  4. getFastedgeApps
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core
gcore logo
Viewing docs for gcore 2.0.0-alpha.2
published on Tuesday, Mar 24, 2026 by g-core

    FastEdge applications combine a WebAssembly binary with configuration, environment variables, and secrets for deployment at the CDN edge.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const exampleFastedgeApps = gcore.getFastedgeApps({
        apiType: "wasi-http",
        binary: 1,
        name: "x",
        ordering: "name",
        plan: 1,
        status: 0,
        template: 1,
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    example_fastedge_apps = gcore.get_fastedge_apps(api_type="wasi-http",
        binary=1,
        name="x",
        ordering="name",
        plan=1,
        status=0,
        template=1)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/gcore/v2/gcore"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := gcore.GetFastedgeApps(ctx, &gcore.GetFastedgeAppsArgs{
    			ApiType:  pulumi.StringRef("wasi-http"),
    			Binary:   pulumi.Float64Ref(1),
    			Name:     pulumi.StringRef("x"),
    			Ordering: pulumi.StringRef("name"),
    			Plan:     pulumi.Float64Ref(1),
    			Status:   pulumi.Float64Ref(0),
    			Template: pulumi.Float64Ref(1),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcore = Pulumi.Gcore;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleFastedgeApps = Gcore.GetFastedgeApps.Invoke(new()
        {
            ApiType = "wasi-http",
            Binary = 1,
            Name = "x",
            Ordering = "name",
            Plan = 1,
            Status = 0,
            Template = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcore.GcoreFunctions;
    import com.pulumi.gcore.inputs.GetFastedgeAppsArgs;
    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 exampleFastedgeApps = GcoreFunctions.getFastedgeApps(GetFastedgeAppsArgs.builder()
                .apiType("wasi-http")
                .binary(1)
                .name("x")
                .ordering("name")
                .plan(1)
                .status(0)
                .template(1)
                .build());
    
        }
    }
    
    variables:
      exampleFastedgeApps:
        fn::invoke:
          function: gcore:getFastedgeApps
          arguments:
            apiType: wasi-http
            binary: 1
            name: x
            ordering: name
            plan: 1
            status: 0
            template: 1
    

    Using getFastedgeApps

    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 getFastedgeApps(args: GetFastedgeAppsArgs, opts?: InvokeOptions): Promise<GetFastedgeAppsResult>
    function getFastedgeAppsOutput(args: GetFastedgeAppsOutputArgs, opts?: InvokeOptions): Output<GetFastedgeAppsResult>
    def get_fastedge_apps(api_type: Optional[str] = None,
                          binary: Optional[float] = None,
                          max_items: Optional[float] = None,
                          name: Optional[str] = None,
                          ordering: Optional[str] = None,
                          plan: Optional[float] = None,
                          status: Optional[float] = None,
                          template: Optional[float] = None,
                          opts: Optional[InvokeOptions] = None) -> GetFastedgeAppsResult
    def get_fastedge_apps_output(api_type: Optional[pulumi.Input[str]] = None,
                          binary: Optional[pulumi.Input[float]] = None,
                          max_items: Optional[pulumi.Input[float]] = None,
                          name: Optional[pulumi.Input[str]] = None,
                          ordering: Optional[pulumi.Input[str]] = None,
                          plan: Optional[pulumi.Input[float]] = None,
                          status: Optional[pulumi.Input[float]] = None,
                          template: Optional[pulumi.Input[float]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetFastedgeAppsResult]
    func GetFastedgeApps(ctx *Context, args *GetFastedgeAppsArgs, opts ...InvokeOption) (*GetFastedgeAppsResult, error)
    func GetFastedgeAppsOutput(ctx *Context, args *GetFastedgeAppsOutputArgs, opts ...InvokeOption) GetFastedgeAppsResultOutput

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

    public static class GetFastedgeApps 
    {
        public static Task<GetFastedgeAppsResult> InvokeAsync(GetFastedgeAppsArgs args, InvokeOptions? opts = null)
        public static Output<GetFastedgeAppsResult> Invoke(GetFastedgeAppsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFastedgeAppsResult> getFastedgeApps(GetFastedgeAppsArgs args, InvokeOptions options)
    public static Output<GetFastedgeAppsResult> getFastedgeApps(GetFastedgeAppsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcore:index/getFastedgeApps:getFastedgeApps
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ApiType string
    Binary double
    MaxItems double
    Name string
    Ordering string
    Plan double
    Status double
    Template double
    ApiType string
    Binary float64
    MaxItems float64
    Name string
    Ordering string
    Plan float64
    Status float64
    Template float64
    apiType String
    binary Double
    maxItems Double
    name String
    ordering String
    plan Double
    status Double
    template Double
    apiType string
    binary number
    maxItems number
    name string
    ordering string
    plan number
    status number
    template number
    api_type str
    binary float
    max_items float
    name str
    ordering str
    plan float
    status float
    template float
    apiType String
    binary Number
    maxItems Number
    name String
    ordering String
    plan Number
    status Number
    template Number

    getFastedgeApps Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetFastedgeAppsItem>
    ApiType string
    Binary double
    MaxItems double
    Name string
    Ordering string
    Plan double
    Status double
    Template double
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetFastedgeAppsItem
    ApiType string
    Binary float64
    MaxItems float64
    Name string
    Ordering string
    Plan float64
    Status float64
    Template float64
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetFastedgeAppsItem>
    apiType String
    binary Double
    maxItems Double
    name String
    ordering String
    plan Double
    status Double
    template Double
    id string
    The provider-assigned unique ID for this managed resource.
    items GetFastedgeAppsItem[]
    apiType string
    binary number
    maxItems number
    name string
    ordering string
    plan number
    status number
    template number
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetFastedgeAppsItem]
    api_type str
    binary float
    max_items float
    name str
    ordering str
    plan float
    status float
    template float
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    apiType String
    binary Number
    maxItems Number
    name String
    ordering String
    plan Number
    status Number
    template Number

    Supporting Types

    GetFastedgeAppsItem

    ApiType string
    Wasm API type
    Binary double
    Binary ID
    Comment string
    Description of the binary
    Debug bool
    Switch on logging for 30 minutes (switched off by default)
    DebugUntil string
    When debugging finishes
    Id double
    App ID
    Name string
    App name
    Networks List<string>
    Networks
    Plan string
    Application plan name
    PlanId double
    Application plan ID
    Status double
    Status code:
    0 - draft (inactive)
    1 - enabled
    2 - disabled
    3 - hourly call limit exceeded
    4 - daily call limit exceeded
    5 - suspended
    Template double
    Template ID
    TemplateName string
    Template name
    UpgradeableTo double
    ID of the binary the app can be upgraded to
    Url string
    App URL
    ApiType string
    Wasm API type
    Binary float64
    Binary ID
    Comment string
    Description of the binary
    Debug bool
    Switch on logging for 30 minutes (switched off by default)
    DebugUntil string
    When debugging finishes
    Id float64
    App ID
    Name string
    App name
    Networks []string
    Networks
    Plan string
    Application plan name
    PlanId float64
    Application plan ID
    Status float64
    Status code:
    0 - draft (inactive)
    1 - enabled
    2 - disabled
    3 - hourly call limit exceeded
    4 - daily call limit exceeded
    5 - suspended
    Template float64
    Template ID
    TemplateName string
    Template name
    UpgradeableTo float64
    ID of the binary the app can be upgraded to
    Url string
    App URL
    apiType String
    Wasm API type
    binary Double
    Binary ID
    comment String
    Description of the binary
    debug Boolean
    Switch on logging for 30 minutes (switched off by default)
    debugUntil String
    When debugging finishes
    id Double
    App ID
    name String
    App name
    networks List<String>
    Networks
    plan String
    Application plan name
    planId Double
    Application plan ID
    status Double
    Status code:
    0 - draft (inactive)
    1 - enabled
    2 - disabled
    3 - hourly call limit exceeded
    4 - daily call limit exceeded
    5 - suspended
    template Double
    Template ID
    templateName String
    Template name
    upgradeableTo Double
    ID of the binary the app can be upgraded to
    url String
    App URL
    apiType string
    Wasm API type
    binary number
    Binary ID
    comment string
    Description of the binary
    debug boolean
    Switch on logging for 30 minutes (switched off by default)
    debugUntil string
    When debugging finishes
    id number
    App ID
    name string
    App name
    networks string[]
    Networks
    plan string
    Application plan name
    planId number
    Application plan ID
    status number
    Status code:
    0 - draft (inactive)
    1 - enabled
    2 - disabled
    3 - hourly call limit exceeded
    4 - daily call limit exceeded
    5 - suspended
    template number
    Template ID
    templateName string
    Template name
    upgradeableTo number
    ID of the binary the app can be upgraded to
    url string
    App URL
    api_type str
    Wasm API type
    binary float
    Binary ID
    comment str
    Description of the binary
    debug bool
    Switch on logging for 30 minutes (switched off by default)
    debug_until str
    When debugging finishes
    id float
    App ID
    name str
    App name
    networks Sequence[str]
    Networks
    plan str
    Application plan name
    plan_id float
    Application plan ID
    status float
    Status code:
    0 - draft (inactive)
    1 - enabled
    2 - disabled
    3 - hourly call limit exceeded
    4 - daily call limit exceeded
    5 - suspended
    template float
    Template ID
    template_name str
    Template name
    upgradeable_to float
    ID of the binary the app can be upgraded to
    url str
    App URL
    apiType String
    Wasm API type
    binary Number
    Binary ID
    comment String
    Description of the binary
    debug Boolean
    Switch on logging for 30 minutes (switched off by default)
    debugUntil String
    When debugging finishes
    id Number
    App ID
    name String
    App name
    networks List<String>
    Networks
    plan String
    Application plan name
    planId Number
    Application plan ID
    status Number
    Status code:
    0 - draft (inactive)
    1 - enabled
    2 - disabled
    3 - hourly call limit exceeded
    4 - daily call limit exceeded
    5 - suspended
    template Number
    Template ID
    templateName String
    Template name
    upgradeableTo Number
    ID of the binary the app can be upgraded to
    url String
    App URL

    Package Details

    Repository
    gcore g-core/terraform-provider-gcore
    License
    Notes
    This Pulumi package is based on the gcore Terraform Provider.
    gcore logo
    Viewing docs for gcore 2.0.0-alpha.2
    published on Tuesday, Mar 24, 2026 by g-core
      Try Pulumi Cloud free. Your team will thank you.