2020-09-22 19:09:27 +02:00
|
|
|
{
|
|
|
|
"version": "0.0.1",
|
|
|
|
"name": "example",
|
|
|
|
"types": {
|
|
|
|
"example::Object": {
|
|
|
|
"properties": {
|
|
|
|
"foo": {
|
|
|
|
"$ref": "#/resources/example::Resource"
|
|
|
|
},
|
|
|
|
"bar": {
|
|
|
|
"type": "string"
|
2021-03-11 06:04:30 +01:00
|
|
|
},
|
|
|
|
"others": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"$ref": "#/types/example::SomeOtherObject"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"description": "List of lists of other objects"
|
|
|
|
},
|
2021-03-31 07:23:04 +02:00
|
|
|
"configs": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"$ref": "#/types/example::ConfigMap"
|
|
|
|
}
|
|
|
|
},
|
2021-03-11 06:04:30 +01:00
|
|
|
"stillOthers": {
|
|
|
|
"type": "object",
|
|
|
|
"additionalProperties": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"$ref": "#/types/example::SomeOtherObject"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"description": "Mapping from string to list of some other object"
|
2020-09-22 19:09:27 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "object"
|
2021-01-27 08:16:42 +01:00
|
|
|
},
|
|
|
|
"example::OtherResourceOutput": {
|
|
|
|
"properties": {
|
|
|
|
"foo": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "object"
|
2021-03-11 06:04:30 +01:00
|
|
|
},
|
|
|
|
"example::SomeOtherObject": {
|
|
|
|
"properties": {
|
|
|
|
"baz": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "object"
|
2021-03-31 07:23:04 +02:00
|
|
|
},
|
|
|
|
"example::ConfigMap": {
|
|
|
|
"properties": {
|
|
|
|
"config": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "object"
|
2021-07-13 18:39:58 +02:00
|
|
|
},
|
2021-11-17 00:53:28 +01:00
|
|
|
"example::EnumOverlay": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
{
|
|
|
|
"name": "SomeEnumValue",
|
|
|
|
"value": "SOME_ENUM_VALUE"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"isOverlay": true
|
|
|
|
},
|
2021-11-12 01:00:03 +01:00
|
|
|
"example::ConfigMapOverlay": {
|
|
|
|
"isOverlay": true,
|
|
|
|
"properties": {
|
|
|
|
"config": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "object"
|
|
|
|
},
|
2021-07-13 18:39:58 +02:00
|
|
|
"example::ObjectWithNodeOptionalInputs": {
|
|
|
|
"properties": {
|
|
|
|
"foo": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"bar": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["foo"],
|
|
|
|
"language": {
|
|
|
|
"nodejs": {
|
|
|
|
"requiredInputs": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "object"
|
2020-09-22 19:09:27 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"resources": {
|
|
|
|
"example::Resource": {
|
|
|
|
"properties": {
|
|
|
|
"bar": {
|
2021-05-27 00:00:51 +02:00
|
|
|
"type": "string",
|
|
|
|
"secret": true
|
2020-09-22 19:09:27 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"inputProperties": {
|
|
|
|
"bar": {
|
2021-05-27 00:00:51 +02:00
|
|
|
"type": "string",
|
|
|
|
"secret": true
|
2020-09-22 19:09:27 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "object"
|
|
|
|
},
|
|
|
|
"example::OtherResource": {
|
2020-09-24 02:23:46 +02:00
|
|
|
"isComponent": true,
|
2020-09-22 19:09:27 +02:00
|
|
|
"properties": {
|
|
|
|
"foo": {
|
|
|
|
"$ref": "#/resources/example::Resource"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"inputProperties": {
|
|
|
|
"foo": {
|
|
|
|
"$ref": "#/resources/example::Resource"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "object"
|
2021-07-13 18:39:58 +02:00
|
|
|
},
|
2021-11-12 01:00:03 +01:00
|
|
|
"example::OverlayResource": {
|
|
|
|
"isOverlay": true,
|
|
|
|
"properties": {
|
|
|
|
"foo": {
|
|
|
|
"$ref": "#/types/example::ConfigMapOverlay"
|
2021-11-17 00:53:28 +01:00
|
|
|
},
|
|
|
|
"bar": {
|
|
|
|
"$ref": "#/types/example::EnumOverlay"
|
2021-11-12 01:00:03 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"inputProperties": {
|
|
|
|
"foo": {
|
|
|
|
"$ref": "#/types/example::ConfigMapOverlay"
|
2021-11-17 00:53:28 +01:00
|
|
|
},
|
|
|
|
"bar": {
|
|
|
|
"$ref": "#/types/example::EnumOverlay"
|
2021-11-12 01:00:03 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "object"
|
|
|
|
},
|
2021-07-13 18:39:58 +02:00
|
|
|
"example::TypeUses": {
|
|
|
|
"properties": {
|
|
|
|
"foo": {
|
|
|
|
"$ref": "#/types/example::Object"
|
|
|
|
},
|
|
|
|
"bar": {
|
|
|
|
"$ref": "#/types/example::SomeOtherObject"
|
|
|
|
},
|
|
|
|
"baz": {
|
|
|
|
"$ref": "#/types/example::ObjectWithNodeOptionalInputs"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"inputProperties": {
|
|
|
|
"foo": {
|
|
|
|
"$ref": "#/types/example::Object"
|
|
|
|
},
|
|
|
|
"bar": {
|
|
|
|
"$ref": "#/types/example::SomeOtherObject"
|
|
|
|
},
|
|
|
|
"baz": {
|
|
|
|
"$ref": "#/types/example::ObjectWithNodeOptionalInputs"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"type": "object"
|
2020-09-22 19:09:27 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"functions": {
|
|
|
|
"example::argFunction": {
|
|
|
|
"inputs": {
|
|
|
|
"properties": {
|
|
|
|
"arg1": {
|
2020-09-23 21:39:25 +02:00
|
|
|
"$ref": "#/resources/example::Resource"
|
2020-09-22 19:09:27 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"outputs": {
|
|
|
|
"properties": {
|
|
|
|
"result": {
|
2020-09-23 21:39:25 +02:00
|
|
|
"$ref": "#/resources/example::Resource"
|
2020-09-22 19:09:27 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-11-12 01:00:03 +01:00
|
|
|
},
|
|
|
|
"example::overlayFunction": {
|
|
|
|
"isOverlay": true,
|
|
|
|
"inputs": {
|
|
|
|
"properties": {
|
|
|
|
"arg1": {
|
|
|
|
"$ref": "#/resources/example::Resource"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"outputs": {
|
|
|
|
"properties": {
|
|
|
|
"result": {
|
|
|
|
"$ref": "#/resources/example::Resource"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-09-22 19:09:27 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"language": {
|
2021-09-15 18:49:36 +02:00
|
|
|
"csharp": {
|
2021-10-19 00:18:15 +02:00
|
|
|
"projectReferences": [
|
|
|
|
"..\\..\\..\\..\\..\\..\\..\\sdk\\dotnet\\Pulumi\\Pulumi.csproj"
|
|
|
|
],
|
2021-09-15 18:49:36 +02:00
|
|
|
"packageReferences": {
|
2021-10-19 00:18:15 +02:00
|
|
|
"Pulumi": "3.13"
|
2021-09-15 18:49:36 +02:00
|
|
|
}
|
|
|
|
},
|
2021-01-15 19:13:01 +01:00
|
|
|
"go": {
|
2021-03-17 14:20:05 +01:00
|
|
|
"importBasePath": "github.com/pulumi/pulumi/pkg/v3/codegen/internal/test/testdata/simple-resource-schema/go/example"
|
2021-01-15 19:13:01 +01:00
|
|
|
},
|
2021-09-15 18:49:36 +02:00
|
|
|
"nodejs": {
|
|
|
|
"dependencies": {
|
|
|
|
"@pulumi/pulumi": "^3.12"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"typescript": "^3.7.0"
|
|
|
|
}
|
|
|
|
},
|
2020-09-22 19:09:27 +02:00
|
|
|
"python": {}
|
|
|
|
}
|
|
|
|
}
|