mirror of https://github.com/pulumi/pulumi.git
58 lines
1.3 KiB
JSON
58 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/pulumi/pulumi/master/pkg/codegen/schema/pulumi.json",
|
|
"name": "range",
|
|
"version": "0.1.0",
|
|
"//": [
|
|
"The range:index:Root resource is a simple resource that has two properties:",
|
|
" - arrayOfString: list(string)",
|
|
" - mapOfString: map(string)",
|
|
"Will use those in a PCL file to create instances of range:index:Example by iterating the properties above"
|
|
],
|
|
"resources": {
|
|
"range:index:Root": {
|
|
"properties": {
|
|
"arrayOfString": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
|
|
"mapOfString": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
},
|
|
"required": ["arrayOfString"],
|
|
"type": "object"
|
|
},
|
|
"range:index:Example": {
|
|
"type": "object",
|
|
"inputProperties": {
|
|
"someString": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"language": {
|
|
"nodejs": {
|
|
"packageName": "@pulumi/range"
|
|
},
|
|
"csharp": {
|
|
"rootNamespace": "Pulumi.Range"
|
|
},
|
|
"python": {
|
|
"packageName": "pulumi_range"
|
|
},
|
|
"go": {
|
|
"importBasePath": "git.example.org/range",
|
|
"packageImportAliases": {
|
|
"git.example.org/pulumi-range/index": "index"
|
|
}
|
|
}
|
|
}
|
|
}
|