mirror of https://github.com/pulumi/pulumi.git
7.9 KiB
7.9 KiB
title: "exampleFunc" title_tag: "my8110.exampleFunc" meta_desc: "Documentation for the my8110.exampleFunc function with examples, input properties, output properties, and supporting types." layout: api no_edit_this_page: true
Using exampleFunc
function exampleFunc(args: ExampleFuncArgs, opts?: InvokeOptions): Promise<ExampleFuncResult>
def example_func(enums: Optional[Sequence[Union[str, MyEnum]]] = None,
opts: Optional[InvokeOptions] = None) -> ExampleFuncResult
func ExampleFunc(ctx *Context, args *ExampleFuncArgs, opts ...InvokeOption) (*ExampleFuncResult, error)
> Note: This function is named ExampleFunc
in the Go SDK.
public static class ExampleFunc
{
public static Task<ExampleFuncResult> InvokeAsync(ExampleFuncArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ExampleFuncResult> exampleFunc(ExampleFuncArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: my8110:exampleFunc
arguments:
# arguments dictionary
The following arguments are supported:
-
Enums
List<Union<string, Pulumi.
My8110. My Enum>>
- Enums []string
-
enums
List<Either<String,My
Enum>>
-
enums
(string | My
Enum)[]
-
enums
Sequence[Union[str, My
Enum]]
- enums List<String | "one" | "two">
exampleFunc Result
The following output properties are available:
Supporting Types
MyEnum
Package Details
- Repository
- my8110
- License