gcorelabs 0.3.63 published on Monday, Apr 14, 2025 by g-core
gcorelabs.getFaasFunction
Explore with Pulumi AI
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.
- Project
Id double - Project
Name string - Region
Id double - Region
Name string
- Name string
- Namespace string
- Namespace of the function
- Id string
- The ID of this resource.
- Project
Id float64 - Project
Name string - Region
Id float64 - Region
Name string
- name String
- namespace String
- Namespace of the function
- id String
- The ID of this resource.
- project
Id Double - project
Name String - region
Id Double - region
Name String
- name string
- namespace string
- Namespace of the function
- id string
- The ID of this resource.
- project
Id number - project
Name string - region
Id number - region
Name 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.
- project
Id Number - project
Name String - region
Id Number - region
Name String
getFaasFunction Result
The following output properties are available:
- Build
Message string - Build
Status string - Code
Text string - Created
At string - Deploy
Status Dictionary<string, double> - Description string
- Endpoint string
- Envs Dictionary<string, string>
- Flavor string
- Id string
- The ID of this resource.
- Main
Method string - Main startup method name
- Max
Instances double - Autoscaling max number of instances
- Min
Instances double - Autoscaling min number of instances
- Name string
- Namespace string
- Namespace of the function
- Runtime string
- Status string
- Timeout double
- Project
Id double - Project
Name string - Region
Id double - Region
Name string
- Build
Message string - Build
Status string - Code
Text string - Created
At string - Deploy
Status map[string]float64 - Description string
- Endpoint string
- Envs map[string]string
- Flavor string
- Id string
- The ID of this resource.
- Main
Method string - Main startup method name
- Max
Instances float64 - Autoscaling max number of instances
- Min
Instances float64 - Autoscaling min number of instances
- Name string
- Namespace string
- Namespace of the function
- Runtime string
- Status string
- Timeout float64
- Project
Id float64 - Project
Name string - Region
Id float64 - Region
Name string
- build
Message String - build
Status String - code
Text String - created
At String - deploy
Status Map<String,Double> - description String
- endpoint String
- envs Map<String,String>
- flavor String
- id String
- The ID of this resource.
- main
Method String - Main startup method name
- max
Instances Double - Autoscaling max number of instances
- min
Instances Double - Autoscaling min number of instances
- name String
- namespace String
- Namespace of the function
- runtime String
- status String
- timeout Double
- project
Id Double - project
Name String - region
Id Double - region
Name String
- build
Message string - build
Status string - code
Text string - created
At string - deploy
Status {[key: string]: number} - description string
- endpoint string
- envs {[key: string]: string}
- flavor string
- id string
- The ID of this resource.
- main
Method string - Main startup method name
- max
Instances number - Autoscaling max number of instances
- min
Instances number - Autoscaling min number of instances
- name string
- namespace string
- Namespace of the function
- runtime string
- status string
- timeout number
- project
Id number - project
Name string - region
Id number - region
Name 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
- build
Message String - build
Status String - code
Text String - created
At String - deploy
Status Map<Number> - description String
- endpoint String
- envs Map<String>
- flavor String
- id String
- The ID of this resource.
- main
Method String - Main startup method name
- max
Instances Number - Autoscaling max number of instances
- min
Instances Number - Autoscaling min number of instances
- name String
- namespace String
- Namespace of the function
- runtime String
- status String
- timeout Number
- project
Id Number - project
Name String - region
Id Number - region
Name String
Package Details
- Repository
- gcorelabs g-core/terraform-provider-gcorelabs
- License
- Notes
- This Pulumi package is based on the
gcorelabs
Terraform Provider.