pulumi/tests/testdata/codegen/regress-node-8110/nodejs/exampleFunc.ts

21 lines
724 B
TypeScript

// *** WARNING: this file was generated by test. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "./types/input";
import * as outputs from "./types/output";
import * as enums from "./types/enums";
import * as utilities from "./utilities";
export function exampleFunc(args?: ExampleFuncArgs, opts?: pulumi.InvokeOptions): Promise<void> {
args = args || {};
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("my8110::exampleFunc", {
"enums": args.enums,
}, opts);
}
export interface ExampleFuncArgs {
enums?: (string | enums.MyEnum)[];
}