pulumi/tests/testdata/codegen/schema/good-methods-1.json

32 lines
735 B
JSON
Raw Permalink Normal View History

2021-06-10 16:47:25 +00:00
{
"name": "xyz",
"version": "0.0.1",
2021-06-10 16:47:25 +00:00
"resources": {
"xyz:index:Foo": {
"methods": {
"bar": "xyz:index:Foo/bar"
}
}
},
"functions": {
"xyz:index:Foo/bar": {
"inputs": {
"properties": {
"__self__": {
"$ref": "#/resources/xyz:index:Foo"
}
},
"required": ["__self__"]
2021-06-10 16:47:25 +00:00
},
"outputs": {
"properties": {
"someValue": {
"type": "string"
}
},
"required": ["someValue"]
2021-06-10 16:47:25 +00:00
}
}
}
}