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< ? disks, Input<RegionInstanceTemplateDisk> ?>Map< ? effectiveLabels, Input<String, String> ?>bool?> ? enableDisplay, Input<List< ? guestAccelerators, Input<RegionInstanceTemplateGuestAccelerator> ?>String?> ? instanceDescription, Input<String?> ? keyRevocationActionType, Input<Map< ? labels, Input<String, String> ?>String?> ? machineType, Input<Map< ? metadata, Input<String, String> ?>String?> ? metadataFingerprint, Input<String?> ? metadataStartupScript, Input<String?> ? minCpuPlatform, Input<String?> ? name, Input<String?> ? namePrefix, Input<List< ? networkInterfaces, Input<RegionInstanceTemplateNetworkInterface> ?>RegionInstanceTemplateNetworkPerformanceConfig?> ? networkPerformanceConfig, Input<String?> ? numericId, Input<Map< ? partnerMetadata, Input<String, String> ?>String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? region, Input<RegionInstanceTemplateReservationAffinity?> ? reservationAffinity, Input<Map< ? resourceManagerTags, Input<String, String> ?>String?> ? resourcePolicies, Input<RegionInstanceTemplateScheduling?> ? scheduling, Input<String?> ? selfLink, Input<RegionInstanceTemplateServiceAccount?> ? serviceAccount, Input<RegionInstanceTemplateShieldedInstanceConfig?> ? shieldedInstanceConfig, Input<List< ? tags, Input<String> ?>String?> ? tagsFingerprint, Input<RegionInstanceTemplateWorkloadIdentityConfig?> ? workloadIdentityConfig}) -
Creates a new RegionInstanceTemplateState.
advancedMachineFeaturesConfigure Nested Virtualisation and Simultaneous Hyper Threading on this VM. Structure is documented belowcanIpForwardWhether to allow sending and receiving ofconfidentialInstanceConfigEnable Confidential Mode on this VM. Structure is documented belowcreationTimestampCreation timestamp in RFC3339 text format.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".descriptionA brief description of this resource.disksDisks to attach to instances created from this template.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.enableDisplayEnable Virtual Displays on this instance.guestAcceleratorsList of the type and count of accelerator cards attached to the instance. Structure documented below.instanceDescriptionA brief description to use for instanceskeyRevocationActionTypeAction to be taken when a customer's encryption key is revoked. SupportsSTOPandNONE, withNONEbeing the default.labelsA set of key/value label pairs to assign to instancesmachineTypeThe machine type to create.metadataMetadata key/value pairs to make available frommetadataFingerprintThe unique fingerprint of the metadata.metadataStartupScriptAn alternative to using theminCpuPlatformSpecifies a minimum CPU platform. Applicable values are the friendly names of CPU platforms, such asnameThe name of the instance template. If you leavenamePrefixCreates a unique name beginning with the specifiednetworkInterfacesNetworks to attach to instances created fromnetworkPerformanceConfigConfigures network performance settings for the instance created from thenumericIdnumeric identifier of the resource.partnerMetadataBeta 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.projectThe ID of the project in which the resource belongs. If itpulumiLabelsThe combination of labels configured directly on the resource and default labels configured on the provider.regionThe Region in which the resource belongs.reservationAffinitySpecifies the reservations that this instance can consume from.resourceManagerTagsA 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.schedulingThe scheduling strategy to use. More details aboutselfLinkThe URI of the created resource.serviceAccountService account to attach to the instance. Structure is documented below.shieldedInstanceConfigEnable Shielded VM on this instance. Shielded VM provides verifiable integrity to prevent against malware and rootkits. Defaults to disabled. Structure is documented below.tagsTags to attach to the instance.tagsFingerprintThe unique fingerprint of the tags.workloadIdentityConfigWorkload Identity Config. More details aboutconst -
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:
allowStoppingForUpdatemust 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
STOPandNONE, withNONEbeing 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 HaswellorIntel 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:
machineTypemust be a supported type, theimageused must include theGVNICinguest-os-features, andnetwork_interface.0.nic-typemust beGVNICin 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
-
selfLink
→ Input<
String?> ? -
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:
shieldedInstanceConfigcan only be used with boot images with shielded vm support. See the complete list here.final -
Tags to attach to the instance.
final
-
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