github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/output-funcs-tfbridge20/nodejs/index.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  // Export members:
     8  export { GetAmiIdsArgs, GetAmiIdsResult, GetAmiIdsOutputArgs } from "./getAmiIds";
     9  export const getAmiIds: typeof import("./getAmiIds").getAmiIds = null as any;
    10  export const getAmiIdsOutput: typeof import("./getAmiIds").getAmiIdsOutput = null as any;
    11  utilities.lazyLoad(exports, ["getAmiIds","getAmiIdsOutput"], () => require("./getAmiIds"));
    12  
    13  export { ListStorageAccountKeysArgs, ListStorageAccountKeysResult, ListStorageAccountKeysOutputArgs } from "./listStorageAccountKeys";
    14  export const listStorageAccountKeys: typeof import("./listStorageAccountKeys").listStorageAccountKeys = null as any;
    15  export const listStorageAccountKeysOutput: typeof import("./listStorageAccountKeys").listStorageAccountKeysOutput = null as any;
    16  utilities.lazyLoad(exports, ["listStorageAccountKeys","listStorageAccountKeysOutput"], () => require("./listStorageAccountKeys"));
    17  
    18  export { ProviderArgs } from "./provider";
    19  export type Provider = import("./provider").Provider;
    20  export const Provider: typeof import("./provider").Provider = null as any;
    21  utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
    22  
    23  
    24  // Export sub-modules:
    25  import * as types from "./types";
    26  
    27  export {
    28      types,
    29  };
    30  pulumi.runtime.registerResourcePackage("mypkg", {
    31      version: utilities.getVersion(),
    32      constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => {
    33          if (type !== "pulumi:providers:mypkg") {
    34              throw new Error(`unknown provider type ${type}`);
    35          }
    36          return new Provider(name, <any>undefined, { urn });
    37      },
    38  });