mirror of https://github.com/pulumi/pulumi.git
24 KiB
24 KiB
title: "funcWithAllOptionalInputs" title_tag: "example.funcWithAllOptionalInputs" meta_desc: "Documentation for the example.funcWithAllOptionalInputs function with examples, input properties, output properties, and supporting types." layout: api no_edit_this_page: true
Check codegen of functions with all optional inputs.
Using funcWithAllOptionalInputs
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 funcWithAllOptionalInputs(args: FuncWithAllOptionalInputsArgs, opts?: InvokeOptions): Promise<FuncWithAllOptionalInputsResult>
function funcWithAllOptionalInputsOutput(args: FuncWithAllOptionalInputsOutputArgs, opts?: InvokeOptions): Output<FuncWithAllOptionalInputsResult>
def func_with_all_optional_inputs(a: Optional[HelmReleaseSettings] = None,
b: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> FuncWithAllOptionalInputsResult
def func_with_all_optional_inputs_output(a: Optional[pulumi.Input[HelmReleaseSettingsArgs]] = None,
b: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[FuncWithAllOptionalInputsResult]
func FuncWithAllOptionalInputs(ctx *Context, args *FuncWithAllOptionalInputsArgs, opts ...InvokeOption) (*FuncWithAllOptionalInputsResult, error)
func FuncWithAllOptionalInputsOutput(ctx *Context, args *FuncWithAllOptionalInputsOutputArgs, opts ...InvokeOption) FuncWithAllOptionalInputsResultOutput
> Note: This function is named FuncWithAllOptionalInputs
in the Go SDK.
public static class FuncWithAllOptionalInputs
{
public static Task<FuncWithAllOptionalInputsResult> InvokeAsync(FuncWithAllOptionalInputsArgs args, InvokeOptions? opts = null)
public static Output<FuncWithAllOptionalInputsResult> Invoke(FuncWithAllOptionalInputsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<FuncWithAllOptionalInputsResult> funcWithAllOptionalInputs(FuncWithAllOptionalInputsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: mypkg:funcWithAllOptionalInputs
arguments:
# arguments dictionary
The following arguments are supported:
-
A
Helm
Release Settings - Property A
- B string
- Property B
-
A
Helm
Release Settings - Property A
- B string
- Property B
-
a
Helm
Release Settings - Property A
- b String
- Property B
-
a
Helm
Release Settings - Property A
- b string
- Property B
-
a
Helm
Release Settings - Property A
- b str
- Property B
- a Property Map
- Property A
- b String
- Property B
funcWithAllOptionalInputs Result
The following output properties are available:
- R string
- R string
- r String
- r string
- r str
- r String
Supporting Types
HelmReleaseSettings
-
Required
Arg string - to test required args
- Driver string
- The backend storage driver for Helm. Values are: configmap, secret, memory, sql.
-
Plugins
Path string - The path to the helm plugins directory.
-
Required
Arg string - to test required args
- Driver string
- The backend storage driver for Helm. Values are: configmap, secret, memory, sql.
-
Plugins
Path string - The path to the helm plugins directory.
-
required
Arg String - to test required args
- driver String
- The backend storage driver for Helm. Values are: configmap, secret, memory, sql.
-
plugins
Path String - The path to the helm plugins directory.
-
required
Arg string - to test required args
- driver string
- The backend storage driver for Helm. Values are: configmap, secret, memory, sql.
-
plugins
Path string - The path to the helm plugins directory.
-
required_
arg str - to test required args
- driver str
- The backend storage driver for Helm. Values are: configmap, secret, memory, sql.
-
plugins_
path str - The path to the helm plugins directory.
-
required
Arg String - to test required args
- driver String
- The backend storage driver for Helm. Values are: configmap, secret, memory, sql.
-
plugins
Path String - The path to the helm plugins directory.
Package Details
- Repository
- example
- License