InstanceBootDiskInitializeParams constructor

const InstanceBootDiskInitializeParams({
  1. Input<String?>? architecture,
  2. Input<bool?>? enableConfidentialCompute,
  3. Input<String?>? image,
  4. Input<Map<String, String>?>? labels,
  5. Input<int?>? provisionedIops,
  6. Input<int?>? provisionedThroughput,
  7. Input<List<String>?>? replicaZones,
  8. Input<Map<String, String>?>? resourceManagerTags,
  9. Input<String?>? resourcePolicies,
  10. Input<int?>? size,
  11. Input<String?>? snapshot,
  12. Input<InstanceBootDiskInitializeParamsSourceImageEncryptionKey?>? sourceImageEncryptionKey,
  13. Input<InstanceBootDiskInitializeParamsSourceSnapshotEncryptionKey?>? sourceSnapshotEncryptionKey,
  14. Input<String?>? storagePool,
  15. Input<String?>? type,
})

Creates a new InstanceBootDiskInitializeParams. architecture The architecture of the attached disk. Valid values are ARM64 or x8664. enableConfidentialCompute Whether this disk is using confidential compute mode. image The image from which to initialize this disk. This can be labels A set of key/value label pairs assigned to the disk. This provisionedIops Indicates how many IOPS to provision for the disk. provisionedThroughput Indicates how much throughput to provision for the disk. replicaZones A list of short names or selfLinks of zones in which to create the disk. Setting this field converts the disk to a regional disk. You must provide exactly two replica zones, and one zone must be the same as the instance zone. resourceManagerTags A tag is a key-value pair that can be attached to a Google Cloud resource. You can use tags to conditionally allow or deny policies based on whether a resource has a specific tag. This value is not returned by the API. In Terraform, this value cannot be updated and changing it will recreate the resource. resourcePolicies A list of selfLinks of resource policies to attach to the instance's boot disk. Modifying this list will cause the instance to recreate, so any external values are not set until the user specifies this field. Currently a max of 1 resource policy is supported. size The size of the image in gigabytes. If not specified, it snapshot The snapshot from which to initialize this disk. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup sourceImageEncryptionKey Encryption key used to decrypt the given image. Structure is documented below. sourceSnapshotEncryptionKey Encryption key used to decrypt the given snapshot. Structure is documented below. storagePool The URL or the name of the storage pool in which the new disk is created. type The GCE disk type. Such as pd-standard, pd-balanced or pd-ssd.

Implementation

const InstanceBootDiskInitializeParams({
  this.architecture,
  this.enableConfidentialCompute,
  this.image,
  this.labels,
  this.provisionedIops,
  this.provisionedThroughput,
  this.replicaZones,
  this.resourceManagerTags,
  this.resourcePolicies,
  this.size,
  this.snapshot,
  this.sourceImageEncryptionKey,
  this.sourceSnapshotEncryptionKey,
  this.storagePool,
  this.type,
});