pulumi/tests/testdata/codegen/simple-plain-schema/nodejs/doFoo.ts

19 lines
615 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 utilities from "./utilities";
export function doFoo(args: DoFooArgs, opts?: pulumi.InvokeOptions): Promise<void> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("example::doFoo", {
"foo": args.foo,
}, opts);
}
export interface DoFooArgs {
foo: inputs.Foo;
}