GetInstanceTemplateResult class

Result data returned by getInstanceTemplate.

Constructors

GetInstanceTemplateResult({List<GetInstanceTemplateAdvancedMachineFeature>? advancedMachineFeatures, bool? canIpForward, List<GetInstanceTemplateConfidentialInstanceConfig>? confidentialInstanceConfigs, String? creationTimestamp, String? description, List<GetInstanceTemplateDisk>? disks, Map<String, String>? effectiveLabels, bool? enableDisplay, String? filter, List<GetInstanceTemplateGuestAccelerator>? guestAccelerators, String? id, String? instanceDescription, String? keyRevocationActionType, Map<String, String>? labels, String? machineType, Map<String, String>? metadata, String? metadataFingerprint, String? metadataStartupScript, String? minCpuPlatform, bool? mostRecent, String? name, String? namePrefix, List<GetInstanceTemplateNetworkInterface>? networkInterfaces, List<GetInstanceTemplateNetworkPerformanceConfig>? networkPerformanceConfigs, String? numericId, Map<String, String>? partnerMetadata, String? project, Map<String, String>? pulumiLabels, String? region, List<GetInstanceTemplateReservationAffinity>? reservationAffinities, Map<String, String>? resourceManagerTags, List<String>? resourcePolicies, List<GetInstanceTemplateScheduling>? schedulings, String? selfLink, String? selfLinkUnique, List<GetInstanceTemplateServiceAccount>? serviceAccounts, List<GetInstanceTemplateShieldedInstanceConfig>? shieldedInstanceConfigs, List<String>? tags, String? tagsFingerprint, List<GetInstanceTemplateWorkloadIdentityConfig>? workloadIdentityConfigs})
Creates a new GetInstanceTemplateResult. advancedMachineFeatures Optional. canIpForward Whether to allow sending and receiving of confidentialInstanceConfigs Enable Confidential Mode on this VM. Structure is documented below creationTimestamp Creation timestamp in RFC3339 text format. description A brief description of this resource. disks Disks to attach to instances created from this template. effectiveLabels Optional. enableDisplay Enable Virtual Displays on this instance. filter Optional. guestAccelerators List of the type and count of accelerator cards attached to the instance. Structure documented below. id The provider-assigned unique ID for this managed resource. instanceDescription A brief description to use for instances keyRevocationActionType Action to be taken when a customer's encryption key is revoked. labels (Optional) A set of ket/value label pairs to assign to disk created from machineType The machine type to create. metadata Metadata key/value pairs to make available from metadataFingerprint The unique fingerprint of the metadata. metadataStartupScript An alternative to using the minCpuPlatform Specifies a minimum CPU platform. Applicable values are the friendly names of CPU platforms, such as mostRecent Optional. name The name of the instance template. If you leave namePrefix Creates a unique name beginning with the specified networkInterfaces (Optional, Beta) The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}. s networkPerformanceConfigs The network performance configuration setting numericId Optional. partnerMetadata Optional. project The ID of the project in which the resource belongs. If it pulumiLabels Optional. region An instance template is a global resource that is not reservationAffinities Optional. resourceManagerTags Optional. resourcePolicies (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. schedulings The scheduling strategy to use. More details about selfLink The URI of the created resource. selfLinkUnique A special URI of the created resource that uniquely identifies this instance template with the following format: projects/{{project}}/global/instanceTemplates/{{name}}?uniqueId={{uniqueId}} serviceAccounts Service account to attach to the instance. Structure is documented below. shieldedInstanceConfigs Enable Shielded VM on this instance. Shielded VM provides verifiable integrity to prevent against malware and rootkits. Defaults to disabled. Structure is documented below. tags Tags to attach to the instance. tagsFingerprint The unique fingerprint of the tags. workloadIdentityConfigs Optional.
const
GetInstanceTemplateResult.fromMap(Map<String, dynamic> map)
factory

Properties

advancedMachineFeatures → List<GetInstanceTemplateAdvancedMachineFeature>?
final
canIpForward → bool?
Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false.
final
confidentialInstanceConfigs → List<GetInstanceTemplateConfidentialInstanceConfig>?
Enable Confidential Mode on this VM. Structure is documented below
final
creationTimestamp → String?
Creation timestamp in RFC3339 text format.
final
description → String?
A brief description of this resource.
final
disks → List<GetInstanceTemplateDisk>?
Disks to attach to instances created from this template. This can be specified multiple times for multiple disks. Structure is documented below.
final
effectiveLabels → Map<String, String>?
final
enableDisplay → bool?
Enable Virtual Displays on this instance. Note: allowStoppingForUpdate must be set to true in order to update this field.
final
filter → String?
final
guestAccelerators → List<GetInstanceTemplateGuestAccelerator>?
List of the type and count of accelerator cards attached to the instance. Structure documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
The provider-assigned unique ID for this managed resource.
final
instanceDescription → String?
A brief description to use for instances created from this template.
final
keyRevocationActionType → String?
Action to be taken when a customer's encryption key is revoked.
final
labels → Map<String, String>?
(Optional) A set of ket/value label pairs to assign to disk created from this template
final
machineType → String?
The machine type to create.
final
metadata → Map<String, String>?
Metadata key/value pairs to make available from within instances created from this template.
final
metadataFingerprint → String?
The unique fingerprint of the metadata.
final
metadataStartupScript → String?
An alternative to using the startup-script metadata key, mostly to match the computeInstance resource. This replaces the startup-script metadata key on the created instance and thus the two mechanisms are not allowed to be used simultaneously.
final
minCpuPlatform → 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.
final
mostRecent → bool?
final
name → String?
The name of the instance template. If you leave this blank, the provider will auto-generate a unique name.
final
namePrefix → String?
Creates a unique name beginning with the specified prefix. Conflicts with name.
final
networkInterfaces → List<GetInstanceTemplateNetworkInterface>?
(Optional, Beta) The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}. s
final
networkPerformanceConfigs → List<GetInstanceTemplateNetworkPerformanceConfig>?
The network performance configuration setting for the instance, if set. Structure is documented below.
final
numericId → String?
final
partnerMetadata → Map<String, String>?
final
project → String?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
pulumiLabels → Map<String, String>?
final
region → String?
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.
final
reservationAffinities → List<GetInstanceTemplateReservationAffinity>?
final
resourceManagerTags → Map<String, String>?
final
resourcePolicies → List<String>?
(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.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schedulings → List<GetInstanceTemplateScheduling>?
The scheduling strategy to use. More details about this configuration option are detailed below.
final
The URI of the created resource.
final
selfLinkUnique → String?
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.
final
serviceAccounts → List<GetInstanceTemplateServiceAccount>?
Service account to attach to the instance. Structure is documented below.
final
shieldedInstanceConfigs → List<GetInstanceTemplateShieldedInstanceConfig>?
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: shieldedInstanceConfig can only be used with boot images with shielded vm support. See the complete list here.
final
tags → List<String>?
Tags to attach to the instance.
final
tagsFingerprint → String?
The unique fingerprint of the tags.
final
workloadIdentityConfigs → List<GetInstanceTemplateWorkloadIdentityConfig>?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited