pulumi/tests/integration/python/resource_args/schema.json
Justin Van Patten dcf4359c57
[codegen/python] Support <Resource>Args classes (#6525)
Add support for creating instances of resources in Python using a
`<Resource>Args` class. This capability aligns with how args are passed
to resources in all the other language SDKs and the separate object bag
allows the properties to be manipulated/validated/passed-around before
creating the resource.
2021-04-02 10:09:17 -07:00

44 lines
1,004 B
JSON

{
"version": "0.0.1",
"name": "example",
"resources": {
"example::Foo": {
"properties": {
"first": {
"type": "integer"
},
"second": {
"type": "string"
},
"third": {
"type": "string"
},
"args": {
"type": "string"
}
},
"inputProperties": {
"first": {
"type": "integer"
},
"second": {
"type": "string"
},
"third": {
"type": "string"
},
"args": {
"type": "string"
}
},
"type": "object"
}
},
"language": {
"csharp": {},
"go": {},
"nodejs": {},
"python": {}
}
}