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.
advancedMachineFeaturesOptional.canIpForwardWhether to allow sending and receiving ofconfidentialInstanceConfigsEnable Confidential Mode on this VM. Structure is documented belowcreationTimestampCreation timestamp in RFC3339 text format.descriptionA brief description of this resource.disksDisks to attach to instances created from this template.effectiveLabelsOptional.enableDisplayEnable Virtual Displays on this instance.filterOptional.guestAcceleratorsList of the type and count of accelerator cards attached to the instance. Structure documented below.idThe provider-assigned unique ID for this managed resource.instanceDescriptionA brief description to use for instanceskeyRevocationActionTypeAction 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 frommachineTypeThe 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 asmostRecentOptional.nameThe name of the instance template. If you leavenamePrefixCreates a unique name beginning with the specifiednetworkInterfaces(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}. snetworkPerformanceConfigsThe network performance configuration settingnumericIdOptional.partnerMetadataOptional.projectThe ID of the project in which the resource belongs. If itpulumiLabelsOptional.regionAn instance template is a global resource that is notreservationAffinitiesOptional.resourceManagerTagsOptional.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.schedulingsThe scheduling strategy to use. More details aboutselfLinkThe URI of the created resource.selfLinkUniqueA special URI of the created resource that uniquely identifies this instance template with the following format:projects/{{project}}/global/instanceTemplates/{{name}}?uniqueId={{uniqueId}}serviceAccountsService account to attach to the instance. Structure is documented below.shieldedInstanceConfigsEnable 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.workloadIdentityConfigsOptional.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:
allowStoppingForUpdatemust 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 HaswellorIntel 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
subnetworkresource 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
- selfLink → String?
-
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:
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
-
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