InstanceFromTemplateBootDiskInitializeParams constructor

const InstanceFromTemplateBootDiskInitializeParams({
  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<InstanceFromTemplateBootDiskInitializeParamsSourceImageEncryptionKey?>? sourceImageEncryptionKey,
  13. Input<InstanceFromTemplateBootDiskInitializeParamsSourceSnapshotEncryptionKey?>? sourceSnapshotEncryptionKey,
  14. Input<String?>? storagePool,
  15. Input<String?>? type,
})

Creates a new InstanceFromTemplateBootDiskInitializeParams. architecture The architecture of the disk. One of "X86_64" or "ARM64". enableConfidentialCompute A flag to enable confidential compute mode on boot disk image The image from which this disk was initialised. labels A set of key/value label pairs assigned to the disk. provisionedIops Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. provisionedThroughput Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. replicaZones A list of short names or selfLinks of zones in which to create a regional disk. resourceManagerTags A map of resource manager tags. Resource manager tag keys and values have the same definition as resource manager tags. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456. The field is ignored (both PUT & PATCH) when empty. 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. Currently a max of 1 resource policy is supported. size The size of the image in gigabytes. snapshot The snapshot from which this disk was initialised. sourceImageEncryptionKey The encryption key used to decrypt the source image. sourceSnapshotEncryptionKey The encryption key used to decrypt the source snapshot. storagePool The URL of the storage pool in which the new disk is created type The Google Compute Engine disk type. Such as pd-standard, pd-ssd or pd-balanced.

Implementation

const InstanceFromTemplateBootDiskInitializeParams({
  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,
});