1. Packages
  2. Gcore Provider
  3. API Docs
  4. getFastedgeApp
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 exampleFastedgeApp = gcore.getFastedgeApp({
        appId: 0,
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    example_fastedge_app = gcore.get_fastedge_app(app_id=0)
    
    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.LookupFastedgeApp(ctx, &gcore.LookupFastedgeAppArgs{
    			AppId: pulumi.Float64Ref(0),
    		}, 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 exampleFastedgeApp = Gcore.GetFastedgeApp.Invoke(new()
        {
            AppId = 0,
        });
    
    });
    
    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.GetFastedgeAppArgs;
    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 exampleFastedgeApp = GcoreFunctions.getFastedgeApp(GetFastedgeAppArgs.builder()
                .appId(0)
                .build());
    
        }
    }
    
    variables:
      exampleFastedgeApp:
        fn::invoke:
          function: gcore:getFastedgeApp
          arguments:
            appId: 0
    

    Using getFastedgeApp

    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 getFastedgeApp(args: GetFastedgeAppArgs, opts?: InvokeOptions): Promise<GetFastedgeAppResult>
    function getFastedgeAppOutput(args: GetFastedgeAppOutputArgs, opts?: InvokeOptions): Output<GetFastedgeAppResult>
    def get_fastedge_app(app_id: Optional[float] = None,
                         find_one_by: Optional[GetFastedgeAppFindOneBy] = None,
                         opts: Optional[InvokeOptions] = None) -> GetFastedgeAppResult
    def get_fastedge_app_output(app_id: Optional[pulumi.Input[float]] = None,
                         find_one_by: Optional[pulumi.Input[GetFastedgeAppFindOneByArgs]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetFastedgeAppResult]
    func LookupFastedgeApp(ctx *Context, args *LookupFastedgeAppArgs, opts ...InvokeOption) (*LookupFastedgeAppResult, error)
    func LookupFastedgeAppOutput(ctx *Context, args *LookupFastedgeAppOutputArgs, opts ...InvokeOption) LookupFastedgeAppResultOutput

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

    public static class GetFastedgeApp 
    {
        public static Task<GetFastedgeAppResult> InvokeAsync(GetFastedgeAppArgs args, InvokeOptions? opts = null)
        public static Output<GetFastedgeAppResult> Invoke(GetFastedgeAppInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFastedgeAppResult> getFastedgeApp(GetFastedgeAppArgs args, InvokeOptions options)
    public static Output<GetFastedgeAppResult> getFastedgeApp(GetFastedgeAppArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcore:index/getFastedgeApp:getFastedgeApp
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getFastedgeApp Result

    The following output properties are available:

    ApiType string
    Binary double
    Comment string
    Debug bool
    DebugUntil string
    Env Dictionary<string, string>
    Id double
    Log string
    Name string
    Networks List<string>
    Plan string
    PlanId double
    RspHeaders Dictionary<string, string>
    Secrets Dictionary<string, GetFastedgeAppSecrets>
    Status double
    Stores Dictionary<string, GetFastedgeAppStores>
    Template double
    TemplateName string
    Url string
    AppId double
    FindOneBy GetFastedgeAppFindOneBy
    ApiType string
    Binary float64
    Comment string
    Debug bool
    DebugUntil string
    Env map[string]string
    Id float64
    Log string
    Name string
    Networks []string
    Plan string
    PlanId float64
    RspHeaders map[string]string
    Secrets map[string]GetFastedgeAppSecrets
    Status float64
    Stores map[string]GetFastedgeAppStores
    Template float64
    TemplateName string
    Url string
    AppId float64
    FindOneBy GetFastedgeAppFindOneBy
    apiType String
    binary Double
    comment String
    debug Boolean
    debugUntil String
    env Map<String,String>
    id Double
    log String
    name String
    networks List<String>
    plan String
    planId Double
    rspHeaders Map<String,String>
    secrets Map<String,GetFastedgeAppSecrets>
    status Double
    stores Map<String,GetFastedgeAppStores>
    template Double
    templateName String
    url String
    appId Double
    findOneBy GetFastedgeAppFindOneBy
    apiType string
    binary number
    comment string
    debug boolean
    debugUntil string
    env {[key: string]: string}
    id number
    log string
    name string
    networks string[]
    plan string
    planId number
    rspHeaders {[key: string]: string}
    secrets {[key: string]: GetFastedgeAppSecrets}
    status number
    stores {[key: string]: GetFastedgeAppStores}
    template number
    templateName string
    url string
    appId number
    findOneBy GetFastedgeAppFindOneBy
    api_type str
    binary float
    comment str
    debug bool
    debug_until str
    env Mapping[str, str]
    id float
    log str
    name str
    networks Sequence[str]
    plan str
    plan_id float
    rsp_headers Mapping[str, str]
    secrets Mapping[str, GetFastedgeAppSecrets]
    status float
    stores Mapping[str, GetFastedgeAppStores]
    template float
    template_name str
    url str
    app_id float
    find_one_by GetFastedgeAppFindOneBy
    apiType String
    binary Number
    comment String
    debug Boolean
    debugUntil String
    env Map<String>
    id Number
    log String
    name String
    networks List<String>
    plan String
    planId Number
    rspHeaders Map<String>
    secrets Map<Property Map>
    status Number
    stores Map<Property Map>
    template Number
    templateName String
    url String
    appId Number
    findOneBy Property Map

    Supporting Types

    GetFastedgeAppFindOneBy

    ApiType string
    API type:
    wasi-http - WASI with HTTP entry point
    proxy-wasm - Proxy-Wasm app, callable from CDN Available values: "wasi-http", "proxy-wasm".
    Binary double
    Filter by binary ID (shows apps using this binary)
    Name string
    Filter by application name (case-insensitive partial match)
    Ordering string
    Sort order. Use - prefix for descending (e.g., -name sorts by name descending) Available values: "name", "-name", "status", "-status", "id", "-id", "template", "-template", "binary", "-binary", "plan", "-plan".
    Plan double
    Filter by 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
    Filter by template ID (shows apps created from this template)
    ApiType string
    API type:
    wasi-http - WASI with HTTP entry point
    proxy-wasm - Proxy-Wasm app, callable from CDN Available values: "wasi-http", "proxy-wasm".
    Binary float64
    Filter by binary ID (shows apps using this binary)
    Name string
    Filter by application name (case-insensitive partial match)
    Ordering string
    Sort order. Use - prefix for descending (e.g., -name sorts by name descending) Available values: "name", "-name", "status", "-status", "id", "-id", "template", "-template", "binary", "-binary", "plan", "-plan".
    Plan float64
    Filter by 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
    Filter by template ID (shows apps created from this template)
    apiType String
    API type:
    wasi-http - WASI with HTTP entry point
    proxy-wasm - Proxy-Wasm app, callable from CDN Available values: "wasi-http", "proxy-wasm".
    binary Double
    Filter by binary ID (shows apps using this binary)
    name String
    Filter by application name (case-insensitive partial match)
    ordering String
    Sort order. Use - prefix for descending (e.g., -name sorts by name descending) Available values: "name", "-name", "status", "-status", "id", "-id", "template", "-template", "binary", "-binary", "plan", "-plan".
    plan Double
    Filter by 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
    Filter by template ID (shows apps created from this template)
    apiType string
    API type:
    wasi-http - WASI with HTTP entry point
    proxy-wasm - Proxy-Wasm app, callable from CDN Available values: "wasi-http", "proxy-wasm".
    binary number
    Filter by binary ID (shows apps using this binary)
    name string
    Filter by application name (case-insensitive partial match)
    ordering string
    Sort order. Use - prefix for descending (e.g., -name sorts by name descending) Available values: "name", "-name", "status", "-status", "id", "-id", "template", "-template", "binary", "-binary", "plan", "-plan".
    plan number
    Filter by 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
    Filter by template ID (shows apps created from this template)
    api_type str
    API type:
    wasi-http - WASI with HTTP entry point
    proxy-wasm - Proxy-Wasm app, callable from CDN Available values: "wasi-http", "proxy-wasm".
    binary float
    Filter by binary ID (shows apps using this binary)
    name str
    Filter by application name (case-insensitive partial match)
    ordering str
    Sort order. Use - prefix for descending (e.g., -name sorts by name descending) Available values: "name", "-name", "status", "-status", "id", "-id", "template", "-template", "binary", "-binary", "plan", "-plan".
    plan float
    Filter by 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
    Filter by template ID (shows apps created from this template)
    apiType String
    API type:
    wasi-http - WASI with HTTP entry point
    proxy-wasm - Proxy-Wasm app, callable from CDN Available values: "wasi-http", "proxy-wasm".
    binary Number
    Filter by binary ID (shows apps using this binary)
    name String
    Filter by application name (case-insensitive partial match)
    ordering String
    Sort order. Use - prefix for descending (e.g., -name sorts by name descending) Available values: "name", "-name", "status", "-status", "id", "-id", "template", "-template", "binary", "-binary", "plan", "-plan".
    plan Number
    Filter by 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
    Filter by template ID (shows apps created from this template)

    GetFastedgeAppSecrets

    Comment string
    A description or comment about the secret.
    Id double
    The unique identifier of the secret.
    Name string
    The unique name of the secret.
    Comment string
    A description or comment about the secret.
    Id float64
    The unique identifier of the secret.
    Name string
    The unique name of the secret.
    comment String
    A description or comment about the secret.
    id Double
    The unique identifier of the secret.
    name String
    The unique name of the secret.
    comment string
    A description or comment about the secret.
    id number
    The unique identifier of the secret.
    name string
    The unique name of the secret.
    comment str
    A description or comment about the secret.
    id float
    The unique identifier of the secret.
    name str
    The unique name of the secret.
    comment String
    A description or comment about the secret.
    id Number
    The unique identifier of the secret.
    name String
    The unique name of the secret.

    GetFastedgeAppStores

    Comment string
    A description of the store
    Id double
    The identifier of the store
    Name string
    The name of the store
    Comment string
    A description of the store
    Id float64
    The identifier of the store
    Name string
    The name of the store
    comment String
    A description of the store
    id Double
    The identifier of the store
    name String
    The name of the store
    comment string
    A description of the store
    id number
    The identifier of the store
    name string
    The name of the store
    comment str
    A description of the store
    id float
    The identifier of the store
    name str
    The name of the store
    comment String
    A description of the store
    id Number
    The identifier of the store
    name String
    The name of the store

    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.