InstanceTemplateArgs constructor

const InstanceTemplateArgs({
  1. Input<InstanceTemplateAdvancedMachineFeatures?>? advancedMachineFeatures,
  2. Input<bool?>? canIpForward,
  3. Input<InstanceTemplateConfidentialInstanceConfig?>? confidentialInstanceConfig,
  4. Input<String?>? description,
  5. required Input<List<InstanceTemplateDisk>> disks,
  6. Input<bool?>? enableDisplay,
  7. Input<List<InstanceTemplateGuestAccelerator>?>? guestAccelerators,
  8. Input<String?>? instanceDescription,
  9. Input<String?>? keyRevocationActionType,
  10. Input<Map<String, String>?>? labels,
  11. required Input<String> machineType,
  12. Input<Map<String, String>?>? metadata,
  13. Input<String?>? metadataStartupScript,
  14. Input<String?>? minCpuPlatform,
  15. Input<String?>? name,
  16. Input<String?>? namePrefix,
  17. Input<List<InstanceTemplateNetworkInterface>?>? networkInterfaces,
  18. Input<InstanceTemplateNetworkPerformanceConfig?>? networkPerformanceConfig,
  19. Input<Map<String, String>?>? partnerMetadata,
  20. Input<String?>? project,
  21. Input<String?>? region,
  22. Input<InstanceTemplateReservationAffinity?>? reservationAffinity,
  23. Input<Map<String, String>?>? resourceManagerTags,
  24. Input<String?>? resourcePolicies,
  25. Input<InstanceTemplateScheduling?>? scheduling,
  26. Input<InstanceTemplateServiceAccount?>? serviceAccount,
  27. Input<InstanceTemplateShieldedInstanceConfig?>? shieldedInstanceConfig,
  28. Input<List<String>?>? tags,
  29. Input<InstanceTemplateWorkloadIdentityConfig?>? workloadIdentityConfig,
})

Creates a new InstanceTemplateArgs. 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 description A brief description of this resource. disks Disks to attach to instances created from this template. 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 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 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 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 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. workloadIdentityConfig Workload Identity Config. More details about

Implementation

const InstanceTemplateArgs({
  this.advancedMachineFeatures,
  this.canIpForward,
  this.confidentialInstanceConfig,
  this.description,
  required this.disks,
  this.enableDisplay,
  this.guestAccelerators,
  this.instanceDescription,
  this.keyRevocationActionType,
  this.labels,
  required this.machineType,
  this.metadata,
  this.metadataStartupScript,
  this.minCpuPlatform,
  this.name,
  this.namePrefix,
  this.networkInterfaces,
  this.networkPerformanceConfig,
  this.partnerMetadata,
  this.project,
  this.region,
  this.reservationAffinity,
  this.resourceManagerTags,
  this.resourcePolicies,
  this.scheduling,
  this.serviceAccount,
  this.shieldedInstanceConfig,
  this.tags,
  this.workloadIdentityConfig,
});