Scaleway

v1.1.0 published on Saturday, Sep 17, 2022 by lbrlabs

getFunction

Using getFunction

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 getFunction(args: GetFunctionArgs, opts?: InvokeOptions): Promise<GetFunctionResult>
function getFunctionOutput(args: GetFunctionOutputArgs, opts?: InvokeOptions): Output<GetFunctionResult>
def get_function(function_id: Optional[str] = None,
                 name: Optional[str] = None,
                 namespace_id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetFunctionResult
def get_function_output(function_id: Optional[pulumi.Input[str]] = None,
                 name: Optional[pulumi.Input[str]] = None,
                 namespace_id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetFunctionResult]
func LookupFunction(ctx *Context, args *LookupFunctionArgs, opts ...InvokeOption) (*LookupFunctionResult, error)
func LookupFunctionOutput(ctx *Context, args *LookupFunctionOutputArgs, opts ...InvokeOption) LookupFunctionResultOutput

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

public static class GetFunction 
{
    public static Task<GetFunctionResult> InvokeAsync(GetFunctionArgs args, InvokeOptions? opts = null)
    public static Output<GetFunctionResult> Invoke(GetFunctionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetFunctionResult> getFunction(GetFunctionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: scaleway:index/getFunction:getFunction
  Arguments:
    # Arguments dictionary

The following arguments are supported:

NamespaceId string
FunctionId string
Name string
NamespaceId string
FunctionId string
Name string
namespaceId String
functionId String
name String
namespaceId string
functionId string
name string
namespaceId String
functionId String
name String

getFunction Result

The following output properties are available:

CpuLimit int
Deploy bool
Description string
DomainName string
EnvironmentVariables Dictionary<string, string>
Handler string
Id string

The provider-assigned unique ID for this managed resource.

MaxScale int
MemoryLimit int
MinScale int
NamespaceId string
OrganizationId string
Privacy string
ProjectId string
Region string
Runtime string
Timeout string
ZipFile string
ZipHash string
FunctionId string
Name string
CpuLimit int
Deploy bool
Description string
DomainName string
EnvironmentVariables map[string]string
Handler string
Id string

The provider-assigned unique ID for this managed resource.

MaxScale int
MemoryLimit int
MinScale int
NamespaceId string
OrganizationId string
Privacy string
ProjectId string
Region string
Runtime string
Timeout string
ZipFile string
ZipHash string
FunctionId string
Name string
cpuLimit Integer
deploy Boolean
description String
domainName String
environmentVariables Map<String,String>
handler String
id String

The provider-assigned unique ID for this managed resource.

maxScale Integer
memoryLimit Integer
minScale Integer
namespaceId String
organizationId String
privacy String
projectId String
region String
runtime String
timeout String
zipFile String
zipHash String
functionId String
name String
cpuLimit number
deploy boolean
description string
domainName string
environmentVariables {[key: string]: string}
handler string
id string

The provider-assigned unique ID for this managed resource.

maxScale number
memoryLimit number
minScale number
namespaceId string
organizationId string
privacy string
projectId string
region string
runtime string
timeout string
zipFile string
zipHash string
functionId string
name string
cpu_limit int
deploy bool
description str
domain_name str
environment_variables Mapping[str, str]
handler str
id str

The provider-assigned unique ID for this managed resource.

max_scale int
memory_limit int
min_scale int
namespace_id str
organization_id str
privacy str
project_id str
region str
runtime str
timeout str
zip_file str
zip_hash str
function_id str
name str
cpuLimit Number
deploy Boolean
description String
domainName String
environmentVariables Map<String>
handler String
id String

The provider-assigned unique ID for this managed resource.

maxScale Number
memoryLimit Number
minScale Number
namespaceId String
organizationId String
privacy String
projectId String
region String
runtime String
timeout String
zipFile String
zipHash String
functionId String
name String

Package Details

Repository
https://github.com/lbrlabs/pulumi-scaleway
License
Apache-2.0
Notes

This Pulumi package is based on the scaleway Terraform Provider.