RegionInstanceTemplateDisk constructor
- Input<
String?> ? architecture, - Input<
bool?> ? autoDelete, - Input<
bool?> ? boot, - Input<
String?> ? deviceName, - Input<
RegionInstanceTemplateDiskDiskEncryptionKey?> ? diskEncryptionKey, - Input<
String?> ? diskName, - Input<
int?> ? diskSizeGb, - Input<
String?> ? diskType, - Input<
List< ? guestOsFeatures,String> ?> - Input<
String?> ? interface, - Input<
Map< ? labels,String, String> ?> - Input<
String?> ? mode, - Input<
int?> ? provisionedIops, - Input<
int?> ? provisionedThroughput, - Input<
Map< ? resourceManagerTags,String, String> ?> - Input<
String?> ? resourcePolicies, - Input<
String?> ? source, - Input<
String?> ? sourceImage, - Input<
RegionInstanceTemplateDiskSourceImageEncryptionKey?> ? sourceImageEncryptionKey, - Input<
String?> ? sourceSnapshot, - Input<
RegionInstanceTemplateDiskSourceSnapshotEncryptionKey?> ? sourceSnapshotEncryptionKey, - Input<
String?> ? storagePool, - Input<
String?> ? type,
Creates a new RegionInstanceTemplateDisk.
architecture The architecture of the attached disk. Valid values are ARM64 or x8664.
autoDelete Whether or not the disk should be auto-deleted.
boot Indicates that this is a boot disk.
deviceName A unique device name that is reflected into the
diskEncryptionKey Encrypts or decrypts a disk using a customer-supplied encryption key.
diskName Name of the disk. When not provided, this defaults
diskSizeGb The size of the image in gigabytes. If not
diskType The GCE disk type. Such as "pd-ssd", "local-ssd",
guestOsFeatures A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options.
interface Specifies the disk interface to use for attaching this disk,
labels A set of ket/value label pairs to assign to disk created from
mode The mode in which to attach this disk, either READ_WRITE
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. For more details, see the Extreme persistent disk documentation or the Hyperdisk documentation depending on the selected disk_type.
provisionedThroughput Indicates how much throughput to provision for the disk, in MB/s. This sets the amount of data that can be read or written from the disk per second. Values must greater than or equal to 1. For more details, see the Hyperdisk documentation.
resourceManagerTags A set of key/value resource manager tag pairs to bind to this disk. Keys must be in the format tagKeys/{tag_key_id}, and values are in the format tagValues/456.
resourcePolicies - A list (short name or id) of resource policies to attach to this disk for automatic snapshot creations. Currently a max of 1 resource policy is supported.
source The name (not self_link)
sourceImage The image from which to
sourceImageEncryptionKey The customer-supplied encryption
sourceSnapshot The source snapshot to create this disk.
sourceSnapshotEncryptionKey The customer-supplied encryption
storagePool The URL of the storage pool in which the new disk is created.
type The type of GCE disk, can be either "SCRATCH" or
Implementation
const RegionInstanceTemplateDisk({
this.architecture,
this.autoDelete,
this.boot,
this.deviceName,
this.diskEncryptionKey,
this.diskName,
this.diskSizeGb,
this.diskType,
this.guestOsFeatures,
this.interface,
this.labels,
this.mode,
this.provisionedIops,
this.provisionedThroughput,
this.resourceManagerTags,
this.resourcePolicies,
this.source,
this.sourceImage,
this.sourceImageEncryptionKey,
this.sourceSnapshot,
this.sourceSnapshotEncryptionKey,
this.storagePool,
this.type,
});