RegionInstanceTemplate

class RegionInstanceTemplate : KotlinCustomResource

Import

Instance templates can be imported using any of these accepted formats

$ 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}}

custom-vm-typeshttps://cloud.google.com/dataproc/docs/concepts/compute/custom-machine-types network-tierhttps://cloud.google.com/network-tiers/docs/overview

Properties

Link copied to clipboard

Configure Nested Virtualisation and Simultaneous Hyper Threading on this VM. Structure is documented below

Link copied to clipboard
val canIpForward: Output<Boolean>?

Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false.

Link copied to clipboard

Enable Confidential Mode on this VM. Structure is documented below

Link copied to clipboard
val description: Output<String>?

A brief description of this resource.

Link copied to clipboard

Disks to attach to instances created from this template. This can be specified multiple times for multiple disks. Structure is documented below.

Link copied to clipboard
val enableDisplay: Output<Boolean>?

Enable Virtual Displays on this instance. Note: allow_stopping_for_update must be set to true in order to update this field.

Link copied to clipboard

List of the type and count of accelerator cards attached to the instance. Structure documented below.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

A brief description to use for instances created from this template.

Link copied to clipboard
val labels: Output<Map<String, String>>?

A set of key/value label pairs to assign to instances created from this template.

Link copied to clipboard
val machineType: Output<String>

The machine type to create. To create a machine with a custom-vm-types (such as extended memory), format the value like custom-VCPUS-MEM_IN_MB like custom-6-20480 for 6 vCPU and 20GB of RAM.

Link copied to clipboard
val metadata: Output<Map<String, Any>>?

Metadata key/value pairs to make available from within instances created from this template.

Link copied to clipboard

The unique fingerprint of the metadata.

Link copied to clipboard

An alternative to using the startup-script metadata key, mostly to match the compute_instance resource. This replaces the startup-script metadata key on the created instance and thus the two mechanisms are not allowed to be used simultaneously.

Link copied to clipboard
val minCpuPlatform: Output<String>?

Specifies a minimum CPU platform. Applicable values are the friendly names of CPU platforms, such as Intel Haswell or Intel Skylake. See the complete list here.

Link copied to clipboard
val name: Output<String>

The name of the instance template. If you leave this blank, Terraform will auto-generate a unique name.

Link copied to clipboard
val namePrefix: Output<String>

Creates a unique name beginning with the specified prefix. Conflicts with name.

Link copied to clipboard

Networks to attach to instances created from this template. This can be specified multiple times for multiple networks. Structure is documented below.

Link copied to clipboard

Configures network performance settings for the instance created from the template. Structure is documented below. Note: machine_type must be a supported type, the image used must include the GVNIC in guest-os-features, and network_interface.0.nic-type must be GVNIC in order for this setting to take effect.

Link copied to clipboard
val project: Output<String>

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val region: Output<String>

The Region in which the resource belongs. If region is not provided, the provider region is used.

Link copied to clipboard

Specifies the reservations that this instance can consume from. Structure is documented below.

Link copied to clipboard
val resourcePolicies: Output<String>?
Link copied to clipboard

The scheduling strategy to use. More details about this configuration option are detailed below.

Link copied to clipboard
val selfLink: Output<String>

The URI of the created resource.

Link copied to clipboard

Service account to attach to the instance. Structure is documented below.

Link copied to clipboard

Enable Shielded VM on this instance. Shielded VM provides verifiable integrity to prevent against malware and rootkits. Defaults to disabled. Structure is documented below. Note: shielded_instance_config can only be used with boot images with shielded vm support. See the complete list here.

Link copied to clipboard
val tags: Output<List<String>>?

Tags to attach to the instance.

Link copied to clipboard
val tagsFingerprint: Output<String>

The unique fingerprint of the tags.

Link copied to clipboard
val urn: Output<String>