pulumi/pkg/codegen/testing/test/testdata/output-funcs/nodejs/index.ts

38 lines
1.2 KiB
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 utilities from "./utilities";
// Export members:
export * from "./funcWithAllOptionalInputs";
export * from "./funcWithConstInput";
export * from "./funcWithDefaultValue";
export * from "./funcWithDictParam";
export * from "./funcWithEmptyOutputs";
export * from "./funcWithListParam";
export * from "./getBastionShareableLink";
export * from "./getClientConfig";
export * from "./getIntegrationRuntimeObjectMetadatum";
export * from "./listStorageAccountKeys";
export * from "./provider";
// Export sub-modules:
import * as types from "./types";
export {
types,
};
import { Provider } from "./provider";
pulumi.runtime.registerResourcePackage("mypkg", {
version: utilities.getVersion(),
constructProvider: (name: string, type: string, urn: string): pulumi.ProviderResource => {
if (type !== "pulumi:providers:mypkg") {
throw new Error(`unknown provider type ${type}`);
}
return new Provider(name, <any>undefined, { urn });
},
});