RegionInstanceTemplateState class

Input properties used for looking up and filtering RegionInstanceTemplate resources.

Constructors

RegionInstanceTemplateState({Input<RegionInstanceTemplateAdvancedMachineFeatures?>? advancedMachineFeatures, Input<bool?>? canIpForward, Input<RegionInstanceTemplateConfidentialInstanceConfig?>? confidentialInstanceConfig, Input<String?>? creationTimestamp, Input<String?>? deletionPolicy, Input<String?>? description, Input<List<RegionInstanceTemplateDisk>?>? disks, Input<Map<String, String>?>? effectiveLabels, Input<bool?>? enableDisplay, Input<List<RegionInstanceTemplateGuestAccelerator>?>? 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<RegionInstanceTemplateNetworkInterface>?>? networkInterfaces, Input<RegionInstanceTemplateNetworkPerformanceConfig?>? networkPerformanceConfig, Input<String?>? numericId, Input<Map<String, String>?>? partnerMetadata, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<String?>? region, Input<RegionInstanceTemplateReservationAffinity?>? reservationAffinity, Input<Map<String, String>?>? resourceManagerTags, Input<String?>? resourcePolicies, Input<RegionInstanceTemplateScheduling?>? scheduling, Input<String?>? selfLink, Input<RegionInstanceTemplateServiceAccount?>? serviceAccount, Input<RegionInstanceTemplateShieldedInstanceConfig?>? shieldedInstanceConfig, Input<List<String>?>? tags, Input<String?>? tagsFingerprint, Input<RegionInstanceTemplateWorkloadIdentityConfig?>? workloadIdentityConfig})
Creates a new RegionInstanceTemplateState. 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. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". 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 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 The Region in which the resource belongs. reservationAffinity Specifies the reservations that this instance can consume from. resourceManagerTags A set of key/value resource manager tag pairs to bind to the instance. 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. 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
RegionInstanceTemplateState.fromMap(Map<String, dynamic> map)
factory

Properties

advancedMachineFeatures → Input<RegionInstanceTemplateAdvancedMachineFeatures?>?
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<RegionInstanceTemplateConfidentialInstanceConfig?>?
Enable Confidential Mode on this VM. Structure is documented below
final
creationTimestamp → Input<String?>?
Creation timestamp in RFC3339 text format.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
A brief description of this resource.
final
disks → Input<List<RegionInstanceTemplateDisk>?>?
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<RegionInstanceTemplateGuestAccelerator>?>?
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, Terraform 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<RegionInstanceTemplateNetworkInterface>?>?
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<RegionInstanceTemplateNetworkPerformanceConfig?>?
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?>?
The Region in which the resource belongs. If region is not provided, the provider region is used.
final
reservationAffinity → Input<RegionInstanceTemplateReservationAffinity?>?
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 instance. 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<RegionInstanceTemplateScheduling?>?
    The scheduling strategy to use. More details about this configuration option are detailed below.
    final
    The URI of the created resource.
    final
    serviceAccount → Input<RegionInstanceTemplateServiceAccount?>?
    Service account to attach to the instance. Structure is documented below.
    final
    shieldedInstanceConfig → Input<RegionInstanceTemplateShieldedInstanceConfig?>?
    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<RegionInstanceTemplateWorkloadIdentityConfig?>?
    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