Expand description
§Import
Instance templates can be imported using any of these accepted formats:
-
projects/{{project}}/regions/{{region}}/instanceTemplates/{{name}}
-
{{project}}/{{name}}
-
{{name}}
When using the pulumi import
command, instance templates can be imported using one of the formats above. For example:
$ pulumi import gcp:compute/regionInstanceTemplate:RegionInstanceTemplate default projects/{{project}}/regions/{{region}}/instanceTemplates/{{name}}
$ pulumi import gcp:compute/regionInstanceTemplate:RegionInstanceTemplate default {{project}}/{{name}}
$ pulumi import gcp:compute/regionInstanceTemplate:RegionInstanceTemplate default {{name}}
Structs§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments