mirror of https://github.com/pulumi/pulumi.git
6.7 KiB
6.7 KiB
title: "argFunction" title_tag: "example.argFunction" meta_desc: "Documentation for the example.argFunction function with examples, input properties, output properties, and supporting types."
Using argFunction
{{< chooser language "typescript,python,go,csharp" / >}}
{{% choosable language nodejs %}}
function argFunction(args: ArgFunctionArgs, opts?: InvokeOptions): Promise<ArgFunctionResult>
{{% choosable language python %}}
def arg_function(name: Optional[pulumi_random.RandomPet] = None,
opts: Optional[InvokeOptions] = None) -> ArgFunctionResult
{{% choosable language go %}}
func ArgFunction(ctx *Context, args *ArgFunctionArgs, opts ...InvokeOption) (*ArgFunctionResult, error)
Note: This function is named
ArgFunction
in the Go SDK.
{{% /choosable %}}
{{% choosable language csharp %}}
public static class ArgFunction {
public static Task<ArgFunctionResult> InvokeAsync(ArgFunctionArgs args, InvokeOptions? opts = null)
}
The following arguments are supported:
{{% choosable language csharp %}}
-
Name
Pulumi.
Random. Random Pet - {{% md %}}{{% /md %}}
{{% choosable language go %}}
-
Name
Random
Pet - {{% md %}}{{% /md %}}
{{% choosable language nodejs %}}
-
name
random
Random Pet - {{% md %}}{{% /md %}}
{{% choosable language python %}}
-
name
Random
Pet - {{% md %}}{{% /md %}}
argFunction Result
The following output properties are available:
{{% choosable language csharp %}}
- Age int
- {{% md %}}{{% /md %}}
{{% choosable language go %}}
- Age int
- {{% md %}}{{% /md %}}
{{% choosable language nodejs %}}
- age number
- {{% md %}}{{% /md %}}
{{% choosable language python %}}
- age int
- {{% md %}}{{% /md %}}
Package Details
- Repository
- License