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

32 lines
735 B
JSON

{
"name": "xyz",
"version": "0.0.1",
"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__"]
},
"outputs": {
"properties": {
"someValue": {
"type": "string"
}
},
"required": ["someValue"]
}
}
}
}