mirror of https://github.com/pulumi/pulumi.git
13 KiB
13 KiB
title: "argFunction" title_tag: "example.argFunction" meta_desc: "Documentation for the example.argFunction function with examples, input properties, output properties, and supporting types." layout: api no_edit_this_page: true
Using argFunction
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 argFunction(args: ArgFunctionArgs, opts?: InvokeOptions): Promise<ArgFunctionResult>
function argFunctionOutput(args: ArgFunctionOutputArgs, opts?: InvokeOptions): Output<ArgFunctionResult>
def arg_function(arg1: Optional[Resource] = None,
opts: Optional[InvokeOptions] = None) -> ArgFunctionResult
def arg_function_output(arg1: Optional[pulumi.Input[Resource]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ArgFunctionResult]
func ArgFunction(ctx *Context, args *ArgFunctionArgs, opts ...InvokeOption) (*ArgFunctionResult, error)
func ArgFunctionOutput(ctx *Context, args *ArgFunctionOutputArgs, opts ...InvokeOption) ArgFunctionResultOutput
> Note: This function is named ArgFunction
in the Go SDK.
public static class ArgFunction
{
public static Task<ArgFunctionResult> InvokeAsync(ArgFunctionArgs args, InvokeOptions? opts = null)
public static Output<ArgFunctionResult> Invoke(ArgFunctionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ArgFunctionResult> argFunction(ArgFunctionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: example:argFunction
arguments:
# arguments dictionary
The following arguments are supported:
-
Arg1
Pulumi.
Example. Resource
- Arg1 Resource
- arg1 Resource
- arg1 Resource
- arg1 Resource
- arg1 example:Resource
argFunction Result
The following output properties are available:
-
Result
Pulumi.
Example. Resource
- Result Resource
- result Resource
- result Resource
- result Resource
- result example:Resource
Package Details
- Repository
- example
- License