InstanceTemplateState class

Input properties used for looking up and filtering InstanceTemplate resources.

Constructors

InstanceTemplateState({Input<InstanceTemplateAdvancedMachineFeatures?>? advancedMachineFeatures, Input<bool?>? canIpForward, Input<InstanceTemplateConfidentialInstanceConfig?>? confidentialInstanceConfig, Input<String?>? creationTimestamp, Input<String?>? description, Input<List<InstanceTemplateDisk>?>? disks, Input<Map<String, String>?>? effectiveLabels, Input<bool?>? enableDisplay, Input<List<InstanceTemplateGuestAccelerator>?>? guestAccelerators, Input<String?>? instanceDescription, Input<String?>? keyRevocationActionType, Input<Map<String, String>?>? labels, Input<String?>? machineType, Input<Map<String, String>?>? metadata, Input<String?>? metadataFingerprint, Input<String?>? metadataStartupScript, Input<String?>? minCpuPlatform, Input<String?>? name, Input<String?>? namePrefix, Input<List<InstanceTemplateNetworkInterface>?>? networkInterfaces, Input<InstanceTemplateNetworkPerformanceConfig?>? networkPerformanceConfig, Input<String?>? numericId, Input<Map<String, String>?>? partnerMetadata, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<String?>? region, Input<InstanceTemplateReservationAffinity?>? reservationAffinity, Input<Map<String, String>?>? resourceManagerTags, Input<String?>? resourcePolicies, Input<InstanceTemplateScheduling?>? scheduling, Input<String?>? selfLink, Input<String?>? selfLinkUnique, Input<InstanceTemplateServiceAccount?>? serviceAccount, Input<InstanceTemplateShieldedInstanceConfig?>? shieldedInstanceConfig, Input<List<String>?>? tags, Input<String?>? tagsFingerprint, Input<InstanceTemplateWorkloadIdentityConfig?>? workloadIdentityConfig})
Creates a new InstanceTemplateState. advancedMachineFeatures Configure Nested Virtualisation and Simultaneous Hyper Threading on this VM. Structure is documented below canIpForward Whether to allow sending and receiving of confidentialInstanceConfig 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 All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. enableDisplay ) Enable Virtual Displays on this instance. guestAccelerators List of the type and count of accelerator cards attached to the instance. Structure documented below. instanceDescription A brief description to use for instances keyRevocationActionType Action to be taken when a customer's encryption key is revoked. Supports STOP and NONE, with NONE being the default. labels A set of key/value label pairs to assign to instances 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 name The name of the instance template. If you leave namePrefix Creates a unique name beginning with the specified networkInterfaces Networks to attach to instances created from networkPerformanceConfig (Optional, Configures network performance settings for the instance created from the numericId numeric identifier of the resource. partnerMetadata Beta key/value pair represents partner metadata assigned to instance template where key represent a defined namespace and value is a json string represent the entries associted with the namespace. project The ID of the project in which the resource belongs. If it pulumiLabels The combination of labels configured directly on the resource and default labels configured on the provider. region An instance template is a global resource that is not reservationAffinity Specifies the reservations that this instance can consume from. resourceManagerTags A set of key/value resource manager tag pairs to bind to the instances. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. resourcePolicies - A list of selfLinks of resource policies to attach to the instance. Modifying this list will cause the instance to recreate. Currently a max of 1 resource policy is supported. scheduling 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}} serviceAccount Service account to attach to the instance. Structure is documented below. shieldedInstanceConfig 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. workloadIdentityConfig Workload Identity Config. More details about
const
InstanceTemplateState.fromMap(Map<String, dynamic> map)
factory

Properties

advancedMachineFeatures → Input<InstanceTemplateAdvancedMachineFeatures?>?
Configure Nested Virtualisation and Simultaneous Hyper Threading on this VM. Structure is documented below
final
canIpForward → Input<bool?>?
Whether to allow sending and receiving of packets with non-matching source or destination IPs. This defaults to false.
final
confidentialInstanceConfig → Input<InstanceTemplateConfidentialInstanceConfig?>?
Enable Confidential Mode on this VM. Structure is documented below
final
creationTimestamp → Input<String?>?
Creation timestamp in RFC3339 text format.
final
description → Input<String?>?
A brief description of this resource.
final
disks → Input<List<InstanceTemplateDisk>?>?
Disks to attach to instances created from this template. This can be specified multiple times for multiple disks. Structure is documented below.
final
effectiveLabels → Input<Map<String, String>?>?
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
enableDisplay → Input<bool?>?
) Enable Virtual Displays on this instance. Note: allowStoppingForUpdate must be set to true in order to update this field.
final
guestAccelerators → Input<List<InstanceTemplateGuestAccelerator>?>?
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
instanceDescription → Input<String?>?
A brief description to use for instances created from this template.
final
keyRevocationActionType → Input<String?>?
Action to be taken when a customer's encryption key is revoked. Supports STOP and NONE, with NONE being the default.
final
labels → Input<Map<String, String>?>?
A set of key/value label pairs to assign to instances created from this template.
final
machineType → Input<String?>?
The machine type to create.
final
metadata → Input<Map<String, String>?>?
Metadata key/value pairs to make available from within instances created from this template.
final
metadataFingerprint → Input<String?>?
The unique fingerprint of the metadata.
final
metadataStartupScript → Input<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 → Input<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
name → Input<String?>?
The name of the instance template. If you leave this blank, the provider will auto-generate a unique name.
final
namePrefix → Input<String?>?
Creates a unique name beginning with the specified prefix. Conflicts with name. Max length is 54 characters. Prefixes with lengths longer than 37 characters will use a shortened UUID that will be more prone to collisions.
final
networkInterfaces → Input<List<InstanceTemplateNetworkInterface>?>?
Networks to attach to instances created from this template. This can be specified multiple times for multiple networks. Structure is documented below.
final
networkPerformanceConfig → Input<InstanceTemplateNetworkPerformanceConfig?>?
(Optional, Configures network performance settings for the instance created from the template. Structure is documented below. Note: machineType 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.
final
numericId → Input<String?>?
numeric identifier of the resource.
final
partnerMetadata → Input<Map<String, String>?>?
Beta key/value pair represents partner metadata assigned to instance template where key represent a defined namespace and value is a json string represent the entries associted with the namespace.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
pulumiLabels → Input<Map<String, String>?>?
The combination of labels configured directly on the resource and default labels configured on the provider.
final
region → Input<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
reservationAffinity → Input<InstanceTemplateReservationAffinity?>?
Specifies the reservations that this instance can consume from. Structure is documented below.
final
resourceManagerTags → Input<Map<String, String>?>?
A set of key/value resource manager tag pairs to bind to the instances. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456.
final
resourcePolicies → Input<String?>?
  • A list of selfLinks of resource policies to attach to the instance. Modifying this list will cause the instance to recreate. Currently a max of 1 resource policy is supported.
  • final
    runtimeType → Type
    A representation of the runtime type of the object.
    no setterinherited
    scheduling → Input<InstanceTemplateScheduling?>?
    The scheduling strategy to use. More details about this configuration option are detailed below.
    final
    The URI of the created resource.
    final
    selfLinkUnique → Input<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
    serviceAccount → Input<InstanceTemplateServiceAccount?>?
    Service account to attach to the instance. Structure is documented below.
    final
    shieldedInstanceConfig → Input<InstanceTemplateShieldedInstanceConfig?>?
    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 → Input<List<String>?>?
    Tags to attach to the instance.
    final
    tagsFingerprint → Input<String?>?
    The unique fingerprint of the tags.
    final
    workloadIdentityConfig → Input<InstanceTemplateWorkloadIdentityConfig?>?
    Workload Identity Config. More details about this configuration option are detailed below.
    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