1. Packages
  2. Gcore Provider
  3. API Docs
  4. getFastedgeTemplates
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 exampleFastedgeTemplates = gcore.getFastedgeTemplates({
        apiType: "wasi-http",
    });
    
    import pulumi
    import pulumi_gcore as gcore
    
    example_fastedge_templates = gcore.get_fastedge_templates(api_type="wasi-http")
    
    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.GetFastedgeTemplates(ctx, &gcore.GetFastedgeTemplatesArgs{
    			ApiType: pulumi.StringRef("wasi-http"),
    		}, 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 exampleFastedgeTemplates = Gcore.GetFastedgeTemplates.Invoke(new()
        {
            ApiType = "wasi-http",
        });
    
    });
    
    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.GetFastedgeTemplatesArgs;
    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 exampleFastedgeTemplates = GcoreFunctions.getFastedgeTemplates(GetFastedgeTemplatesArgs.builder()
                .apiType("wasi-http")
                .build());
    
        }
    }
    
    variables:
      exampleFastedgeTemplates:
        fn::invoke:
          function: gcore:getFastedgeTemplates
          arguments:
            apiType: wasi-http
    

    Using getFastedgeTemplates

    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 getFastedgeTemplates(args: GetFastedgeTemplatesArgs, opts?: InvokeOptions): Promise<GetFastedgeTemplatesResult>
    function getFastedgeTemplatesOutput(args: GetFastedgeTemplatesOutputArgs, opts?: InvokeOptions): Output<GetFastedgeTemplatesResult>
    def get_fastedge_templates(api_type: Optional[str] = None,
                               max_items: Optional[float] = None,
                               only_mine: Optional[bool] = None,
                               opts: Optional[InvokeOptions] = None) -> GetFastedgeTemplatesResult
    def get_fastedge_templates_output(api_type: Optional[pulumi.Input[str]] = None,
                               max_items: Optional[pulumi.Input[float]] = None,
                               only_mine: Optional[pulumi.Input[bool]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetFastedgeTemplatesResult]
    func GetFastedgeTemplates(ctx *Context, args *GetFastedgeTemplatesArgs, opts ...InvokeOption) (*GetFastedgeTemplatesResult, error)
    func GetFastedgeTemplatesOutput(ctx *Context, args *GetFastedgeTemplatesOutputArgs, opts ...InvokeOption) GetFastedgeTemplatesResultOutput

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

    public static class GetFastedgeTemplates 
    {
        public static Task<GetFastedgeTemplatesResult> InvokeAsync(GetFastedgeTemplatesArgs args, InvokeOptions? opts = null)
        public static Output<GetFastedgeTemplatesResult> Invoke(GetFastedgeTemplatesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFastedgeTemplatesResult> getFastedgeTemplates(GetFastedgeTemplatesArgs args, InvokeOptions options)
    public static Output<GetFastedgeTemplatesResult> getFastedgeTemplates(GetFastedgeTemplatesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcore:index/getFastedgeTemplates:getFastedgeTemplates
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ApiType string
    MaxItems double
    OnlyMine bool
    ApiType string
    MaxItems float64
    OnlyMine bool
    apiType String
    maxItems Double
    onlyMine Boolean
    apiType string
    maxItems number
    onlyMine boolean
    apiType String
    maxItems Number
    onlyMine Boolean

    getFastedgeTemplates Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetFastedgeTemplatesItem>
    OnlyMine bool
    ApiType string
    MaxItems double
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetFastedgeTemplatesItem
    OnlyMine bool
    ApiType string
    MaxItems float64
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetFastedgeTemplatesItem>
    onlyMine Boolean
    apiType String
    maxItems Double
    id string
    The provider-assigned unique ID for this managed resource.
    items GetFastedgeTemplatesItem[]
    onlyMine boolean
    apiType string
    maxItems number
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetFastedgeTemplatesItem]
    only_mine bool
    api_type str
    max_items float
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    onlyMine Boolean
    apiType String
    maxItems Number

    Supporting Types

    GetFastedgeTemplatesItem

    ApiType string
    Wasm API type
    Id double
    Template ID
    LongDescr string
    Long description of the template
    Name string
    Name of the template
    Owned bool
    Is the template owned by user?
    ShortDescr string
    Short description of the template
    ApiType string
    Wasm API type
    Id float64
    Template ID
    LongDescr string
    Long description of the template
    Name string
    Name of the template
    Owned bool
    Is the template owned by user?
    ShortDescr string
    Short description of the template
    apiType String
    Wasm API type
    id Double
    Template ID
    longDescr String
    Long description of the template
    name String
    Name of the template
    owned Boolean
    Is the template owned by user?
    shortDescr String
    Short description of the template
    apiType string
    Wasm API type
    id number
    Template ID
    longDescr string
    Long description of the template
    name string
    Name of the template
    owned boolean
    Is the template owned by user?
    shortDescr string
    Short description of the template
    api_type str
    Wasm API type
    id float
    Template ID
    long_descr str
    Long description of the template
    name str
    Name of the template
    owned bool
    Is the template owned by user?
    short_descr str
    Short description of the template
    apiType String
    Wasm API type
    id Number
    Template ID
    longDescr String
    Long description of the template
    name String
    Name of the template
    owned Boolean
    Is the template owned by user?
    shortDescr String
    Short description of the template

    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.