github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/output-funcs/nodejs/funcWithEmptyOutputs.ts (about)

     1  // *** WARNING: this file was generated by test. ***
     2  // *** Do not edit by hand unless you're certain you know what you are doing! ***
     3  
     4  import * as pulumi from "@pulumi/pulumi";
     5  import * as utilities from "./utilities";
     6  
     7  /**
     8   * n/a
     9   */
    10  export function funcWithEmptyOutputs(args: FuncWithEmptyOutputsArgs, opts?: pulumi.InvokeOptions): Promise<FuncWithEmptyOutputsResult> {
    11  
    12      opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    13      return pulumi.runtime.invoke("mypkg::funcWithEmptyOutputs", {
    14          "name": args.name,
    15      }, opts);
    16  }
    17  
    18  export interface FuncWithEmptyOutputsArgs {
    19      /**
    20       * The Name of the FeatureGroup.
    21       */
    22      name: string;
    23  }
    24  
    25  export interface FuncWithEmptyOutputsResult {
    26  }
    27  
    28  export function funcWithEmptyOutputsOutput(args: FuncWithEmptyOutputsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<FuncWithEmptyOutputsResult> {
    29      return pulumi.output(args).apply(a => funcWithEmptyOutputs(a, opts))
    30  }
    31  
    32  export interface FuncWithEmptyOutputsOutputArgs {
    33      /**
    34       * The Name of the FeatureGroup.
    35       */
    36      name: pulumi.Input<string>;
    37  }