github.com/myhau/pulumi/pkg/v3@v3.70.2-0.20221116134521-f2775972e587/codegen/testing/test/testdata/external-enum/schema.json (about) 1 { 2 "name": "example", 3 "version": "0.0.1", 4 "resources": { 5 "example:index:Component": { 6 "inputProperties": { 7 "localEnum": { 8 "$ref": "#/types/example:local:MyEnum" 9 }, 10 "remoteEnum": { 11 "$ref": "/google-native/v0.18.2/schema.json#/types/google-native:accesscontextmanager/v1:DevicePolicyAllowedDeviceManagementLevelsItem" 12 } 13 }, 14 "properties": { 15 "localEnum": { 16 "$ref": "#/types/example:local:MyEnum" 17 }, 18 "remoteEnum": { 19 "$ref": "/google-native/v0.18.2/schema.json#/types/google-native:accesscontextmanager/v1:DevicePolicyAllowedDeviceManagementLevelsItem" 20 } 21 } 22 } 23 }, 24 "types": { 25 "example:local:MyEnum": { 26 "type": "number", 27 "enum": [ 28 { "name": "pi", "value": 3.1415 }, 29 { "name": "small", "value": 0.0000001 } 30 ] 31 } 32 }, 33 "language": { 34 "go": { 35 "importBasePath": "external-enum/example", 36 "generateResourceContainerTypes": true, 37 "generateExtraInputTypes": true, 38 "packageImportAliases": { 39 "github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2": "awsec2", 40 "github.com/pulumi/pulumi-google-native/sdk/go/google/iam/v1": "gcpiamv1" 41 } 42 }, 43 "nodejs": { 44 "dependencies": { 45 "@pulumi/pulumi": "^3.12", 46 "@pulumi/google-native": "^0.20.0" 47 }, 48 "devDependencies": { 49 "typescript": "^3.7.0", 50 "@types/node": "latest" 51 }, 52 "respectSchemaVersion": true, 53 "pluginVersion": "3.2.1" 54 }, 55 "python": { 56 "requires": { 57 "pulumi": ">=3.0.0,<4.0.0", 58 "pulumi-google-native": ">=0.20.0,<1.0.0" 59 } 60 }, 61 "csharp": { 62 "projectReferences": [ 63 "..\\..\\..\\..\\..\\..\\..\\sdk\\dotnet\\Pulumi\\Pulumi.csproj" 64 ], 65 "packageReferences": { 66 "Pulumi": "3.13", 67 "Pulumi.GoogleNative": "0.20.0" 68 }, 69 "respectSchemaVersion": true 70 } 71 } 72 }