1. Packages
  2. Gcore Provider
  3. API Docs
  4. getFastedgeTemplate
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core

    FastEdge templates encapsulate reusable configurations for FastEdge applications, including a WebAssembly binary reference and configurable parameters.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as gcore from "@pulumi/gcore";
    
    const exampleFastedgeTemplate = gcore.getFastedgeTemplate({
        templateId: 0,
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    example_fastedge_template = gcore.get_fastedge_template(template_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.LookupFastedgeTemplate(ctx, &gcore.LookupFastedgeTemplateArgs{
    			TemplateId: 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 exampleFastedgeTemplate = Gcore.GetFastedgeTemplate.Invoke(new()
        {
            TemplateId = 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.GetFastedgeTemplateArgs;
    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 exampleFastedgeTemplate = GcoreFunctions.getFastedgeTemplate(GetFastedgeTemplateArgs.builder()
                .templateId(0)
                .build());
    
        }
    }
    
    variables:
      exampleFastedgeTemplate:
        fn::invoke:
          function: gcore:getFastedgeTemplate
          arguments:
            templateId: 0
    

    Using getFastedgeTemplate

    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 getFastedgeTemplate(args: GetFastedgeTemplateArgs, opts?: InvokeOptions): Promise<GetFastedgeTemplateResult>
    function getFastedgeTemplateOutput(args: GetFastedgeTemplateOutputArgs, opts?: InvokeOptions): Output<GetFastedgeTemplateResult>
    def get_fastedge_template(find_one_by: Optional[GetFastedgeTemplateFindOneBy] = None,
                              template_id: Optional[float] = None,
                              opts: Optional[InvokeOptions] = None) -> GetFastedgeTemplateResult
    def get_fastedge_template_output(find_one_by: Optional[pulumi.Input[GetFastedgeTemplateFindOneByArgs]] = None,
                              template_id: Optional[pulumi.Input[float]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetFastedgeTemplateResult]
    func LookupFastedgeTemplate(ctx *Context, args *LookupFastedgeTemplateArgs, opts ...InvokeOption) (*LookupFastedgeTemplateResult, error)
    func LookupFastedgeTemplateOutput(ctx *Context, args *LookupFastedgeTemplateOutputArgs, opts ...InvokeOption) LookupFastedgeTemplateResultOutput

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

    public static class GetFastedgeTemplate 
    {
        public static Task<GetFastedgeTemplateResult> InvokeAsync(GetFastedgeTemplateArgs args, InvokeOptions? opts = null)
        public static Output<GetFastedgeTemplateResult> Invoke(GetFastedgeTemplateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFastedgeTemplateResult> getFastedgeTemplate(GetFastedgeTemplateArgs args, InvokeOptions options)
    public static Output<GetFastedgeTemplateResult> getFastedgeTemplate(GetFastedgeTemplateArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcore:index/getFastedgeTemplate:getFastedgeTemplate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getFastedgeTemplate Result

    The following output properties are available:

    Supporting Types

    GetFastedgeTemplateFindOneBy

    OnlyMine bool
    When true, returns only templates created by the client. When false, includes shared templates.
    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".
    OnlyMine bool
    When true, returns only templates created by the client. When false, includes shared templates.
    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".
    onlyMine Boolean
    When true, returns only templates created by the client. When false, includes shared templates.
    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".
    onlyMine boolean
    When true, returns only templates created by the client. When false, includes shared templates.
    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".
    only_mine bool
    When true, returns only templates created by the client. When false, includes shared templates.
    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".
    onlyMine Boolean
    When true, returns only templates created by the client. When false, includes shared templates.
    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".

    GetFastedgeTemplateParam

    DataType string
    Parameter type determines validation and UI rendering:
    string - text input
    number - numeric input
    date - date picker
    time - time picker
    secret - references a secret
    store - references an edge store
    bool - boolean toggle
    json - JSON editor or multiline text area with JSON validation
    enum - dropdown/select with allowed values defined via parameter metadata Available values: "string", "number", "date", "time", "secret", "store", "bool", "json", "enum".
    Descr string
    Human-readable explanation of what this parameter controls
    Mandatory bool
    If true, this parameter must be provided when instantiating the template
    Metadata string
    Optional JSON-encoded string for additional parameter metadata, such as allowed values for enum types
    Name string
    Parameter name used as a placeholder in template (e.g., API_KEY, DATABASE_URL)
    DataType string
    Parameter type determines validation and UI rendering:
    string - text input
    number - numeric input
    date - date picker
    time - time picker
    secret - references a secret
    store - references an edge store
    bool - boolean toggle
    json - JSON editor or multiline text area with JSON validation
    enum - dropdown/select with allowed values defined via parameter metadata Available values: "string", "number", "date", "time", "secret", "store", "bool", "json", "enum".
    Descr string
    Human-readable explanation of what this parameter controls
    Mandatory bool
    If true, this parameter must be provided when instantiating the template
    Metadata string
    Optional JSON-encoded string for additional parameter metadata, such as allowed values for enum types
    Name string
    Parameter name used as a placeholder in template (e.g., API_KEY, DATABASE_URL)
    dataType String
    Parameter type determines validation and UI rendering:
    string - text input
    number - numeric input
    date - date picker
    time - time picker
    secret - references a secret
    store - references an edge store
    bool - boolean toggle
    json - JSON editor or multiline text area with JSON validation
    enum - dropdown/select with allowed values defined via parameter metadata Available values: "string", "number", "date", "time", "secret", "store", "bool", "json", "enum".
    descr String
    Human-readable explanation of what this parameter controls
    mandatory Boolean
    If true, this parameter must be provided when instantiating the template
    metadata String
    Optional JSON-encoded string for additional parameter metadata, such as allowed values for enum types
    name String
    Parameter name used as a placeholder in template (e.g., API_KEY, DATABASE_URL)
    dataType string
    Parameter type determines validation and UI rendering:
    string - text input
    number - numeric input
    date - date picker
    time - time picker
    secret - references a secret
    store - references an edge store
    bool - boolean toggle
    json - JSON editor or multiline text area with JSON validation
    enum - dropdown/select with allowed values defined via parameter metadata Available values: "string", "number", "date", "time", "secret", "store", "bool", "json", "enum".
    descr string
    Human-readable explanation of what this parameter controls
    mandatory boolean
    If true, this parameter must be provided when instantiating the template
    metadata string
    Optional JSON-encoded string for additional parameter metadata, such as allowed values for enum types
    name string
    Parameter name used as a placeholder in template (e.g., API_KEY, DATABASE_URL)
    data_type str
    Parameter type determines validation and UI rendering:
    string - text input
    number - numeric input
    date - date picker
    time - time picker
    secret - references a secret
    store - references an edge store
    bool - boolean toggle
    json - JSON editor or multiline text area with JSON validation
    enum - dropdown/select with allowed values defined via parameter metadata Available values: "string", "number", "date", "time", "secret", "store", "bool", "json", "enum".
    descr str
    Human-readable explanation of what this parameter controls
    mandatory bool
    If true, this parameter must be provided when instantiating the template
    metadata str
    Optional JSON-encoded string for additional parameter metadata, such as allowed values for enum types
    name str
    Parameter name used as a placeholder in template (e.g., API_KEY, DATABASE_URL)
    dataType String
    Parameter type determines validation and UI rendering:
    string - text input
    number - numeric input
    date - date picker
    time - time picker
    secret - references a secret
    store - references an edge store
    bool - boolean toggle
    json - JSON editor or multiline text area with JSON validation
    enum - dropdown/select with allowed values defined via parameter metadata Available values: "string", "number", "date", "time", "secret", "store", "bool", "json", "enum".
    descr String
    Human-readable explanation of what this parameter controls
    mandatory Boolean
    If true, this parameter must be provided when instantiating the template
    metadata String
    Optional JSON-encoded string for additional parameter metadata, such as allowed values for enum types
    name String
    Parameter name used as a placeholder in template (e.g., API_KEY, DATABASE_URL)

    Package Details

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