1. Packages
  2. Gcorelabs Provider
  3. API Docs
  4. getFaasFunction
gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core

gcorelabs.getFaasFunction

Explore with Pulumi AI

gcorelabs logo
gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core

    Represent FaaS function

    Using getFaasFunction

    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 getFaasFunction(args: GetFaasFunctionArgs, opts?: InvokeOptions): Promise<GetFaasFunctionResult>
    function getFaasFunctionOutput(args: GetFaasFunctionOutputArgs, opts?: InvokeOptions): Output<GetFaasFunctionResult>
    def get_faas_function(id: Optional[str] = None,
                          name: Optional[str] = None,
                          namespace: Optional[str] = None,
                          project_id: Optional[float] = None,
                          project_name: Optional[str] = None,
                          region_id: Optional[float] = None,
                          region_name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetFaasFunctionResult
    def get_faas_function_output(id: Optional[pulumi.Input[str]] = None,
                          name: Optional[pulumi.Input[str]] = None,
                          namespace: Optional[pulumi.Input[str]] = None,
                          project_id: Optional[pulumi.Input[float]] = None,
                          project_name: Optional[pulumi.Input[str]] = None,
                          region_id: Optional[pulumi.Input[float]] = None,
                          region_name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetFaasFunctionResult]
    func LookupFaasFunction(ctx *Context, args *LookupFaasFunctionArgs, opts ...InvokeOption) (*LookupFaasFunctionResult, error)
    func LookupFaasFunctionOutput(ctx *Context, args *LookupFaasFunctionOutputArgs, opts ...InvokeOption) LookupFaasFunctionResultOutput

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

    public static class GetFaasFunction 
    {
        public static Task<GetFaasFunctionResult> InvokeAsync(GetFaasFunctionArgs args, InvokeOptions? opts = null)
        public static Output<GetFaasFunctionResult> Invoke(GetFaasFunctionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetFaasFunctionResult> getFaasFunction(GetFaasFunctionArgs args, InvokeOptions options)
    public static Output<GetFaasFunctionResult> getFaasFunction(GetFaasFunctionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: gcorelabs:index/getFaasFunction:getFaasFunction
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    Namespace string
    Namespace of the function
    Id string
    The ID of this resource.
    ProjectId double
    ProjectName string
    RegionId double
    RegionName string
    Name string
    Namespace string
    Namespace of the function
    Id string
    The ID of this resource.
    ProjectId float64
    ProjectName string
    RegionId float64
    RegionName string
    name String
    namespace String
    Namespace of the function
    id String
    The ID of this resource.
    projectId Double
    projectName String
    regionId Double
    regionName String
    name string
    namespace string
    Namespace of the function
    id string
    The ID of this resource.
    projectId number
    projectName string
    regionId number
    regionName string
    name str
    namespace str
    Namespace of the function
    id str
    The ID of this resource.
    project_id float
    project_name str
    region_id float
    region_name str
    name String
    namespace String
    Namespace of the function
    id String
    The ID of this resource.
    projectId Number
    projectName String
    regionId Number
    regionName String

    getFaasFunction Result

    The following output properties are available:

    BuildMessage string
    BuildStatus string
    CodeText string
    CreatedAt string
    DeployStatus Dictionary<string, double>
    Description string
    Endpoint string
    Envs Dictionary<string, string>
    Flavor string
    Id string
    The ID of this resource.
    MainMethod string
    Main startup method name
    MaxInstances double
    Autoscaling max number of instances
    MinInstances double
    Autoscaling min number of instances
    Name string
    Namespace string
    Namespace of the function
    Runtime string
    Status string
    Timeout double
    ProjectId double
    ProjectName string
    RegionId double
    RegionName string
    BuildMessage string
    BuildStatus string
    CodeText string
    CreatedAt string
    DeployStatus map[string]float64
    Description string
    Endpoint string
    Envs map[string]string
    Flavor string
    Id string
    The ID of this resource.
    MainMethod string
    Main startup method name
    MaxInstances float64
    Autoscaling max number of instances
    MinInstances float64
    Autoscaling min number of instances
    Name string
    Namespace string
    Namespace of the function
    Runtime string
    Status string
    Timeout float64
    ProjectId float64
    ProjectName string
    RegionId float64
    RegionName string
    buildMessage String
    buildStatus String
    codeText String
    createdAt String
    deployStatus Map<String,Double>
    description String
    endpoint String
    envs Map<String,String>
    flavor String
    id String
    The ID of this resource.
    mainMethod String
    Main startup method name
    maxInstances Double
    Autoscaling max number of instances
    minInstances Double
    Autoscaling min number of instances
    name String
    namespace String
    Namespace of the function
    runtime String
    status String
    timeout Double
    projectId Double
    projectName String
    regionId Double
    regionName String
    buildMessage string
    buildStatus string
    codeText string
    createdAt string
    deployStatus {[key: string]: number}
    description string
    endpoint string
    envs {[key: string]: string}
    flavor string
    id string
    The ID of this resource.
    mainMethod string
    Main startup method name
    maxInstances number
    Autoscaling max number of instances
    minInstances number
    Autoscaling min number of instances
    name string
    namespace string
    Namespace of the function
    runtime string
    status string
    timeout number
    projectId number
    projectName string
    regionId number
    regionName string
    build_message str
    build_status str
    code_text str
    created_at str
    deploy_status Mapping[str, float]
    description str
    endpoint str
    envs Mapping[str, str]
    flavor str
    id str
    The ID of this resource.
    main_method str
    Main startup method name
    max_instances float
    Autoscaling max number of instances
    min_instances float
    Autoscaling min number of instances
    name str
    namespace str
    Namespace of the function
    runtime str
    status str
    timeout float
    project_id float
    project_name str
    region_id float
    region_name str
    buildMessage String
    buildStatus String
    codeText String
    createdAt String
    deployStatus Map<Number>
    description String
    endpoint String
    envs Map<String>
    flavor String
    id String
    The ID of this resource.
    mainMethod String
    Main startup method name
    maxInstances Number
    Autoscaling max number of instances
    minInstances Number
    Autoscaling min number of instances
    name String
    namespace String
    Namespace of the function
    runtime String
    status String
    timeout Number
    projectId Number
    projectName String
    regionId Number
    regionName String

    Package Details

    Repository
    gcorelabs g-core/terraform-provider-gcorelabs
    License
    Notes
    This Pulumi package is based on the gcorelabs Terraform Provider.
    gcorelabs logo
    gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core