Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
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
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 dictionaryThe following arguments are supported:
- find
One Property MapBy - template
Id Number
getFastedgeTemplate Result
The following output properties are available:
- Api
Type string - Binary
Id double - Id double
- Long
Descr string - Name string
- Owned bool
- Params
List<Get
Fastedge Template Param> - Short
Descr string - Find
One GetBy Fastedge Template Find One By - Template
Id double
- Api
Type string - Binary
Id float64 - Id float64
- Long
Descr string - Name string
- Owned bool
- Params
[]Get
Fastedge Template Param - Short
Descr string - Find
One GetBy Fastedge Template Find One By - Template
Id float64
- api
Type String - binary
Id Double - id Double
- long
Descr String - name String
- owned Boolean
- params
List<Get
Fastedge Template Param> - short
Descr String - find
One GetBy Fastedge Template Find One By - template
Id Double
- api
Type string - binary
Id number - id number
- long
Descr string - name string
- owned boolean
- params
Get
Fastedge Template Param[] - short
Descr string - find
One GetBy Fastedge Template Find One By - template
Id number
- api_
type str - binary_
id float - id float
- long_
descr str - name str
- owned bool
- params
Sequence[Get
Fastedge Template Param] - short_
descr str - find_
one_ Getby Fastedge Template Find One By - template_
id float
- api
Type String - binary
Id Number - id Number
- long
Descr String - name String
- owned Boolean
- params List<Property Map>
- short
Descr String - find
One Property MapBy - template
Id Number
Supporting Types
GetFastedgeTemplateFindOneBy
GetFastedgeTemplateParam
- Data
Type 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)
- Data
Type 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)
- data
Type 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 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)
- data
Type 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
gcoreTerraform Provider.
Viewing docs for gcore 2.0.0-alpha.3
published on Monday, Mar 30, 2026 by g-core
published on Monday, Mar 30, 2026 by g-core
