GetInstanceTemplateResult

data class GetInstanceTemplateResult(val advancedMachineFeatures: List<GetInstanceTemplateAdvancedMachineFeature>, val canIpForward: Boolean, val confidentialInstanceConfigs: List<GetInstanceTemplateConfidentialInstanceConfig>, val description: String, val disks: List<GetInstanceTemplateDisk>, val enableDisplay: Boolean, val filter: String? = null, val guestAccelerators: List<GetInstanceTemplateGuestAccelerator>, val id: String, val instanceDescription: String, val labels: Map<String, String>, val machineType: String, val metadata: Map<String, Any>, val metadataFingerprint: String, val metadataStartupScript: String, val minCpuPlatform: String, val mostRecent: Boolean? = null, val name: String? = null, val namePrefix: String, val networkInterfaces: List<GetInstanceTemplateNetworkInterface>, val networkPerformanceConfigs: List<GetInstanceTemplateNetworkPerformanceConfig>, val project: String? = null, val region: String, val reservationAffinities: List<GetInstanceTemplateReservationAffinity>, val resourcePolicies: List<String>, val schedulings: List<GetInstanceTemplateScheduling>, val selfLink: String, val selfLinkUnique: String? = null, val serviceAccounts: List<GetInstanceTemplateServiceAccount>, val shieldedInstanceConfigs: List<GetInstanceTemplateShieldedInstanceConfig>, val tags: List<String>, val tagsFingerprint: String)

A collection of values returned by getInstanceTemplate.

Constructors

Link copied to clipboard
constructor(advancedMachineFeatures: List<GetInstanceTemplateAdvancedMachineFeature>, canIpForward: Boolean, confidentialInstanceConfigs: List<GetInstanceTemplateConfidentialInstanceConfig>, description: String, disks: List<GetInstanceTemplateDisk>, enableDisplay: Boolean, filter: String? = null, guestAccelerators: List<GetInstanceTemplateGuestAccelerator>, id: String, instanceDescription: String, labels: Map<String, String>, machineType: String, metadata: Map<String, Any>, metadataFingerprint: String, metadataStartupScript: String, minCpuPlatform: String, mostRecent: Boolean? = null, name: String? = null, namePrefix: String, networkInterfaces: List<GetInstanceTemplateNetworkInterface>, networkPerformanceConfigs: List<GetInstanceTemplateNetworkPerformanceConfig>, project: String? = null, region: String, reservationAffinities: List<GetInstanceTemplateReservationAffinity>, resourcePolicies: List<String>, schedulings: List<GetInstanceTemplateScheduling>, selfLink: String, selfLinkUnique: String? = null, serviceAccounts: List<GetInstanceTemplateServiceAccount>, shieldedInstanceConfigs: List<GetInstanceTemplateShieldedInstanceConfig>, tags: List<String>, tagsFingerprint: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard
Link copied to clipboard

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

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
val filter: String? = null
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: String

The provider-assigned unique ID for this managed resource.

Link copied to clipboard

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

Link copied to clipboard

(Optional) A set of ket/value label pairs to assign to disk created from this template

Link copied to clipboard

The machine type to create.

Link copied to clipboard

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

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 mostRecent: Boolean? = null
Link copied to clipboard
val name: String? = null

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

Link copied to clipboard

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

Link copied to clipboard

The network performance configuration setting for the instance, if set. Structure is documented below.

Link copied to clipboard
val project: String? = null

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

Link copied to clipboard

An instance template is a global resource that is not bound to a zone or a region. However, you can still specify some regional resources in an instance template, which restricts the template to the region where that resource resides. For example, a custom subnetwork resource is tied to a specific region. Defaults to the region of the Provider if no value is given.

Link copied to clipboard

(Optional) -- A list of short names of resource policies to attach to this disk for automatic snapshot creations. Currently a max of 1 resource policy is supported.

Link copied to clipboard

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

Link copied to clipboard

The URI of the created resource.

Link copied to clipboard
val selfLinkUnique: String? = null

A special URI of the created resource that uniquely identifies this instance template with the following format: projects/{{project}}/global/instanceTemplates/{{name}}?uniqueId={{uniqueId}} Referencing an instance template via this attribute prevents Time of Check to Time of Use attacks when the instance template resides in a shared/untrusted environment.

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

Tags to attach to the instance.

Link copied to clipboard

The unique fingerprint of the tags.