{ "name": "example", "version": "0.0.1", "resources": { "example:index:Component": { "inputProperties": { "localEnum": { "$ref": "#/types/example:local:MyEnum" }, "remoteEnum": { "$ref": "/google-native/v0.18.2/schema.json#/types/google-native:accesscontextmanager/v1:DevicePolicyAllowedDeviceManagementLevelsItem" } }, "properties": { "localEnum": { "$ref": "#/types/example:local:MyEnum" }, "remoteEnum": { "$ref": "/google-native/v0.18.2/schema.json#/types/google-native:accesscontextmanager/v1:DevicePolicyAllowedDeviceManagementLevelsItem" } } } }, "types": { "example:local:MyEnum": { "type": "number", "enum": [ { "name": "pi", "value": 3.1415 }, { "name": "small", "value": 0.0000001 } ] } }, "language": { "go": { "importBasePath": "external-enum/example", "generateResourceContainerTypes": true, "generateExtraInputTypes": true, "packageImportAliases": { "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2": "awsec2", "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1": "gcpiamv1" } }, "nodejs": { "dependencies": { "@pulumi/pulumi": "^3.12", "@pulumi/google-native": "^0.20.0" }, "devDependencies": { "typescript": "^3.7.0", "@types/node": "ts3.7" }, "respectSchemaVersion": true }, "python": { "requires": { "pulumi": ">=3.0.0,<4.0.0", "pulumi-google-native": ">=0.20.0,<1.0.0" } }, "csharp": { "packageReferences": { "Pulumi": "3.13", "Pulumi.GoogleNative": "0.20.0" }, "respectSchemaVersion": true } } }