pulumi/tests/testdata/codegen/regress-py-14539/schema.json

91 lines
4.2 KiB
JSON

{
"name": "gcp",
"version": "0.0.1",
"types": {
"gcp:compute/InstanceBootDisk:InstanceBootDisk": {
"properties": {
"initializeParams": {
"$ref": "#/types/gcp:compute/InstanceBootDiskInitializeParams:InstanceBootDiskInitializeParams",
"description": "Parameters for a new disk that will be created\nalongside the new instance. Either `initialize_params` or `source` must be set.\nStructure is documented below.\n",
"willReplaceOnChanges": true
}
},
"required": [
"initializeParams"
],
"type": "object",
"language": {
"nodejs": {
"requiredOutputs": [
"initializeParams"
]
}
}
},
"gcp:compute/InstanceBootDiskInitializeParams:InstanceBootDiskInitializeParams": {
"properties": {
"imageName": {
"type": "string",
"description": "The image from which to initialize this disk. This can be\none of: the image's `self_link`, `projects/{project}/global/images/{image}`,\n`projects/{project}/global/images/family/{family}`, `global/images/{image}`,\n`global/images/family/{family}`, `family/{family}`, `{project}/{family}`,\n`{project}/{image}`, `{family}`, or `{image}`. If referred by family, the\nimages names must include the family name. If they don't, use the\n[gcp.compute.Image data source](https://www.terraform.io/docs/providers/google/d/compute_image.html).\nFor instance, the image `centos-6-v20180104` includes its family name `centos-6`.\nThese images can be referred by family name here.\n",
"willReplaceOnChanges": true
}
},
"type": "object",
"language": {
"nodejs": {
"requiredOutputs": [
"imageName"
]
}
}
}
},
"resources": {
"gcp:compute/instance:Instance": {
"description": "A mock of an instance.",
"properties": {
"bootDisk": {
"$ref": "#/types/gcp:compute/InstanceBootDisk:InstanceBootDisk",
"description": "The boot disk for the instance.\nStructure is documented below.\n"
}
},
"required": [
"bootDisk"
],
"inputProperties": {
"bootDisk": {
"$ref": "#/types/gcp:compute/InstanceBootDisk:InstanceBootDisk",
"description": "The boot disk for the instance.\nStructure is documented below.\n",
"willReplaceOnChanges": true
}
},
"requiredInputs": [
"bootDisk"
],
"stateInputs": {
"description": "Input properties used for looking up and filtering Instance resources.\n",
"properties": {
"bootDisk": {
"$ref": "#/types/gcp:compute/InstanceBootDisk:InstanceBootDisk",
"description": "The boot disk for the instance.\nStructure is documented below.\n",
"willReplaceOnChanges": true
}
},
"type": "object"
}
}
},
"language": {
"python": {
"requires": {
"pulumi": "\u003e=3.0.0,\u003c4.0.0"
},
"readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/hashicorp/terraform-provider-google-beta)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-gcp` repo](https://github.com/pulumi/pulumi-gcp/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-google-beta` repo](https://github.com/hashicorp/terraform-provider-google-beta/issues).",
"compatibility": "tfbridge20",
"pyproject": {
"enabled": true
}
}
}
}