InstanceFromTemplateState constructor

const InstanceFromTemplateState({
  1. Input<InstanceFromTemplateAdvancedMachineFeatures?>? advancedMachineFeatures,
  2. Input<bool?>? allowStoppingForUpdate,
  3. Input<List<InstanceFromTemplateAttachedDisk>?>? attachedDisks,
  4. Input<InstanceFromTemplateBootDisk?>? bootDisk,
  5. Input<bool?>? canIpForward,
  6. Input<InstanceFromTemplateConfidentialInstanceConfig?>? confidentialInstanceConfig,
  7. Input<String?>? cpuPlatform,
  8. Input<String?>? creationTimestamp,
  9. Input<String?>? currentStatus,
  10. Input<String?>? deletionPolicy,
  11. Input<bool?>? deletionProtection,
  12. Input<String?>? description,
  13. Input<String?>? desiredStatus,
  14. Input<Map<String, String>?>? effectiveLabels,
  15. Input<bool?>? enableDisplay,
  16. Input<bool?>? eraseWindowsVssSignature,
  17. Input<List<InstanceFromTemplateGuestAccelerator>?>? guestAccelerators,
  18. Input<String?>? hostname,
  19. Input<InstanceFromTemplateInstanceEncryptionKey?>? instanceEncryptionKey,
  20. Input<String?>? instanceId,
  21. Input<String?>? keyRevocationActionType,
  22. Input<String?>? labelFingerprint,
  23. Input<Map<String, String>?>? labels,
  24. Input<String?>? machineType,
  25. Input<Map<String, String>?>? metadata,
  26. Input<String?>? metadataFingerprint,
  27. Input<String?>? metadataStartupScript,
  28. Input<String?>? minCpuPlatform,
  29. Input<String?>? name,
  30. Input<List<InstanceFromTemplateNetworkInterface>?>? networkInterfaces,
  31. Input<InstanceFromTemplateNetworkPerformanceConfig?>? networkPerformanceConfig,
  32. Input<InstanceFromTemplateParams?>? params,
  33. Input<Map<String, String>?>? partnerMetadata,
  34. Input<String?>? project,
  35. Input<Map<String, String>?>? pulumiLabels,
  36. Input<InstanceFromTemplateReservationAffinity?>? reservationAffinity,
  37. Input<String?>? resourcePolicies,
  38. Input<InstanceFromTemplateScheduling?>? scheduling,
  39. Input<List<InstanceFromTemplateScratchDisk>?>? scratchDisks,
  40. Input<String?>? selfLink,
  41. Input<InstanceFromTemplateServiceAccount?>? serviceAccount,
  42. Input<InstanceFromTemplateShieldedInstanceConfig?>? shieldedInstanceConfig,
  43. Input<String?>? sourceInstanceTemplate,
  44. Input<List<String>?>? tags,
  45. Input<String?>? tagsFingerprint,
  46. Input<InstanceFromTemplateWorkloadIdentityConfig?>? workloadIdentityConfig,
  47. Input<String?>? zone,
})

Creates a new InstanceFromTemplateState. advancedMachineFeatures Controls for advanced machine-related behavior features. allowStoppingForUpdate If true, allows Terraform to stop the instance to update its properties. If you try to update a property that requires stopping the instance without setting this field, the update will fail. attachedDisks List of disks attached to the instance bootDisk The boot disk for the instance. canIpForward Whether sending and receiving of packets with non-matching source or destination IPs is allowed. confidentialInstanceConfig The Confidential VM config being used by the instance. onHostMaintenance has to be set to TERMINATE or this will fail to create. cpuPlatform The CPU platform used by this instance. creationTimestamp Creation timestamp in RFC3339 text format. currentStatus Current status of the instance. deletionPolicy Whether Terraform will be prevented from destroying the instance. Defaults to "DELETE". deletionProtection Whether deletion protection is enabled on this instance. description A brief description of the resource. desiredStatus Desired status of the instance. Either "RUNNING", "SUSPENDED" or "TERMINATED". effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services. enableDisplay Whether the instance has virtual displays enabled. eraseWindowsVssSignature Specifies whether the disks restored from source snapshots or source machine image should erase Windows specific VSS signature. guestAccelerators List of the type and count of accelerator cards attached to the instance. hostname A custom hostname for the instance. Must be a fully qualified DNS name and RFC-1035-valid. Valid format is a series of labels 1-63 characters long matching the regular expression a-z, concatenated with periods. The entire hostname must not exceed 253 characters. Changing this forces a new resource to be created. instanceEncryptionKey Encryption key used to provide data encryption on the given instance. instanceId The server-assigned unique identifier of this instance. keyRevocationActionType Action to be taken when a customer's encryption key is revoked. Supports "STOP" and "NONE", with "NONE" being the default. labelFingerprint The unique fingerprint of the labels. labels A set of key/value label pairs assigned to the instance. machineType The machine type to create. metadata Metadata key/value pairs made available within the instance. metadataFingerprint The unique fingerprint of the metadata. metadataStartupScript Metadata startup scripts made available within the instance. minCpuPlatform The minimum CPU platform specified for the VM instance. name A unique name for the resource, required by GCE. networkInterfaces The networks attached to the instance. networkPerformanceConfig Configures network performance settings for the instance. If not specified, the instance will be created with its default network performance configuration. params Stores additional params passed with the request, but not persisted as part of resource payload. partnerMetadata Partner Metadata Map made available within the instance. project The ID of the project in which the resource belongs. If selfLink is provided, this value is ignored. If neither selfLink nor project are provided, the provider project is used. pulumiLabels The combination of labels configured directly on the resource and default labels configured on the provider. reservationAffinity Specifies the reservations that this instance can consume from. resourcePolicies A list of selfLinks of resource policies to attach to the instance. Currently a max of 1 resource policy is supported. scheduling The scheduling strategy being used by the instance. scratchDisks * network_interface.alias_ip_range selfLink The URI of the created resource. serviceAccount The service account to attach to the instance. shieldedInstanceConfig The shielded vm config being used by the instance. sourceInstanceTemplate Name or self link of an instance tags The list of tags attached to the instance. tagsFingerprint The unique fingerprint of the tags. workloadIdentityConfig Workload identity config. zone The zone that the machine should be created in. If not

Implementation

const InstanceFromTemplateState({
  this.advancedMachineFeatures,
  this.allowStoppingForUpdate,
  this.attachedDisks,
  this.bootDisk,
  this.canIpForward,
  this.confidentialInstanceConfig,
  this.cpuPlatform,
  this.creationTimestamp,
  this.currentStatus,
  this.deletionPolicy,
  this.deletionProtection,
  this.description,
  this.desiredStatus,
  this.effectiveLabels,
  this.enableDisplay,
  this.eraseWindowsVssSignature,
  this.guestAccelerators,
  this.hostname,
  this.instanceEncryptionKey,
  this.instanceId,
  this.keyRevocationActionType,
  this.labelFingerprint,
  this.labels,
  this.machineType,
  this.metadata,
  this.metadataFingerprint,
  this.metadataStartupScript,
  this.minCpuPlatform,
  this.name,
  this.networkInterfaces,
  this.networkPerformanceConfig,
  this.params,
  this.partnerMetadata,
  this.project,
  this.pulumiLabels,
  this.reservationAffinity,
  this.resourcePolicies,
  this.scheduling,
  this.scratchDisks,
  this.selfLink,
  this.serviceAccount,
  this.shieldedInstanceConfig,
  this.sourceInstanceTemplate,
  this.tags,
  this.tagsFingerprint,
  this.workloadIdentityConfig,
  this.zone,
});