2021-07-06 22:40:53 +00:00
|
|
|
// *** 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 utilities from "./utilities";
|
|
|
|
|
|
|
|
import {Resource} from "./index";
|
|
|
|
|
|
|
|
export function argFunction(args?: ArgFunctionArgs, opts?: pulumi.InvokeOptions): Promise<ArgFunctionResult> {
|
|
|
|
args = args || {};
|
|
|
|
|
2022-11-14 13:58:16 +00:00
|
|
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
2021-07-06 22:40:53 +00:00
|
|
|
return pulumi.runtime.invoke("example::argFunction", {
|
|
|
|
"arg1": args.arg1,
|
|
|
|
}, opts);
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ArgFunctionArgs {
|
|
|
|
arg1?: Resource;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface ArgFunctionResult {
|
|
|
|
readonly result?: Resource;
|
|
|
|
}
|
2021-10-07 19:39:19 +00:00
|
|
|
export function argFunctionOutput(args?: ArgFunctionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ArgFunctionResult> {
|
2022-12-05 11:57:05 +00:00
|
|
|
return pulumi.output(args).apply((a: any) => argFunction(a, opts))
|
2021-10-07 19:39:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export interface ArgFunctionOutputArgs {
|
|
|
|
arg1?: pulumi.Input<Resource>;
|
|
|
|
}
|