pulumi/tests/testdata/codegen/component-13.3.7.json

93 lines
2.4 KiB
JSON

{
"$schema": "https://raw.githubusercontent.com/pulumi/pulumi/master/pkg/codegen/schema/pulumi.json",
"name": "component",
"version": "13.3.7",
"functions": {
"component:index:Callable/identity": {
"description": "The `identity` method of the `Callable` component resource. Returns the component's `value`.",
"inputs": {
"type": "object",
"properties": {
"__self__": {
"$ref": "#/resources/component:index:Callable",
"description": "A reference to the `Callable` component resource."
}
},
"required": [
"__self__"
]
},
"outputs": {
"type": "object",
"properties": {
"result": {
"type": "string",
"description": "The result of the method call."
}
},
"required": [
"result"
]
}
},
"component:index:Callable/prefixed": {
"description": "The `prefixed` method of the `Callable` component resource. Accepts a string prefix and returns the component's `value` prefixed with this string.",
"inputs": {
"type": "object",
"properties": {
"__self__": {
"$ref": "#/resources/component:index:Callable",
"description": "A reference to the `Callable` component resource."
},
"prefix": {
"type": "string",
"description": "The prefix to add to the component's `value`."
}
},
"required": [
"__self__",
"prefix"
]
},
"outputs": {
"type": "object",
"properties": {
"result": {
"type": "string",
"description": "The result of the method call."
}
},
"required": [
"result"
]
}
}
},
"resources": {
"component:index:Callable": {
"isComponent": true,
"description": "A component resource that has callable methods.",
"inputProperties": {
"value": {
"type": "string"
}
},
"requiredInputs": [
"value"
],
"properties": {
"value": {
"type": "string"
}
},
"required": [
"value"
],
"methods": {
"identity": "component:index:Callable/identity",
"prefixed": "component:index:Callable/prefixed"
}
}
}
}