RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDisk class
Constructors
-
RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDisk({Input<String?>? architecture, Input<bool?>? autoDelete, Input<bool?>? boot, Input<String?>? deviceName, Input<RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDiskDiskEncryptionKey?>? diskEncryptionKey, Input<String?>? diskName, Input<int?>? diskSizeGb, Input<String?>? diskType, Input<List<String>?>? guestOsFeatures, Input<String?>? interface, Input<List<RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDiskLabel>?>? labels, Input<String?>? mode, Input<int?>? provisionedIops, Input<int?>? provisionedThroughput, Input<List<RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDiskResourceManagerTag>?>? resourceManagerTags, Input<String?>? resourcePolicies, Input<String?>? source, Input<String?>? sourceImage, Input<RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDiskSourceImageEncryptionKey?>? sourceImageEncryptionKey, Input<String?>? sourceSnapshot, Input<RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDiskSourceSnapshotEncryptionKey?>? sourceSnapshotEncryptionKey, Input<String?>? type})
-
Creates a new RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDisk.
architecture , The architecture of the image. Allowed values are ARM64 or X86_64.
autoDelete , Whether or not the disk should be auto-deleted. This defaults to true.
boot , Indicates that this is a boot disk. This defaults to false.
deviceName , A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk.
diskEncryptionKey , Encrypts or decrypts a disk using a customer-supplied encryption key. Structure is documented below.
diskName , Name of the disk. When not provided, this defaults to the name of the instance.
diskSizeGb , The size of the image in gigabytes. If not specified, it will inherit the size of its base image. For SCRATCH disks, the size must be one of 375 or 3000 GB, with a default of 375 GB.
diskType , The Google Compute Engine disk type. Such as "pd-ssd", "local-ssd", "pd-balanced" or "pd-standard".
guestOsFeatures , A list of features to enable on the guest operating system. Applicable only for bootable images.
interface , Specifies the disk interface to use for attaching this disk.
labels , A set of key/value label pairs to assign to disks. Structure is documented below.
mode , The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If you are attaching or creating a boot disk, this must read-write mode.
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 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. Structure is documented below.
resourcePolicies , A list (short name or id) of resource policies to attach to this disk. Currently a max of 1 resource policy is supported.
source , The name (not self_link) of the disk (such as those managed by google_compute_disk) to attach. > Note: Either source or sourceImage is required when creating a new instance except for when creating a local SSD.
sourceImage , The image from which to initialize this disk. This can be one of: the image's self_link, projects/{project}/global/images/{image}, projects/{project}/global/images/family/{family}, global/images/{image}, global/images/family/{family}, family/{family}, {project}/{family}, {project}/{image}, {family}, or {image}. > Note: Either source or sourceImage is required when creating a new instance except for when creating a local SSD.
sourceImageEncryptionKey , The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. Instance templates do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys. Structure is documented below.
sourceSnapshot , The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot, initializeParams.sourceImage, or disks.source is required except for local SSD.
sourceSnapshotEncryptionKey , The customer-supplied encryption key of the source snapshot. Structure is documented below.
type , The type of Google Compute Engine disk, can be either "SCRATCH" or "PERSISTENT".
const
-
RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDisk.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
architecture
→ Input<String?>?
-
, The architecture of the image. Allowed values are ARM64 or X86_64.
final
-
autoDelete
→ Input<bool?>?
-
, Whether or not the disk should be auto-deleted. This defaults to true.
final
-
boot
→ Input<bool?>?
-
, Indicates that this is a boot disk. This defaults to false.
final
-
deviceName
→ Input<String?>?
-
, A unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, the server chooses a default device name to apply to this disk.
final
-
diskEncryptionKey
→ Input<RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDiskDiskEncryptionKey?>?
-
, Encrypts or decrypts a disk using a customer-supplied encryption key. Structure is documented below.
final
-
diskName
→ Input<String?>?
-
, Name of the disk. When not provided, this defaults to the name of the instance.
final
-
diskSizeGb
→ Input<int?>?
-
, The size of the image in gigabytes. If not specified, it will inherit the size of its base image. For SCRATCH disks, the size must be one of 375 or 3000 GB, with a default of 375 GB.
final
-
diskType
→ Input<String?>?
-
, The Google Compute Engine disk type. Such as "pd-ssd", "local-ssd", "pd-balanced" or "pd-standard".
final
-
guestOsFeatures
→ Input<List<String>?>?
-
, A list of features to enable on the guest operating system. Applicable only for bootable images.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
interface
→ Input<String?>?
-
, Specifies the disk interface to use for attaching this disk.
final
-
labels
→ Input<List<RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDiskLabel>?>?
-
, A set of key/value label pairs to assign to disks. Structure is documented below.
final
-
mode
→ Input<String?>?
-
, The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If you are attaching or creating a boot disk, this must read-write mode.
final
-
provisionedIops
→ Input<int?>?
-
, 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.
final
-
provisionedThroughput
→ Input<int?>?
-
, 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.
final
-
resourceManagerTags
→ Input<List<RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDiskResourceManagerTag>?>?
-
, 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. Structure is documented below.
final
-
resourcePolicies
→ Input<String?>?
-
, A list (short name or id) of resource policies to attach to this disk. Currently a max of 1 resource policy is supported.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
source
→ Input<String?>?
-
, The name (not self_link) of the disk (such as those managed by google_compute_disk) to attach. > Note: Either source or sourceImage is required when creating a new instance except for when creating a local SSD.
final
-
sourceImage
→ Input<String?>?
-
, The image from which to initialize this disk. This can be one of: the image's self_link, projects/{project}/global/images/{image}, projects/{project}/global/images/family/{family}, global/images/{image}, global/images/family/{family}, family/{family}, {project}/{family}, {project}/{image}, {family}, or {image}. > Note: Either source or sourceImage is required when creating a new instance except for when creating a local SSD.
final
-
sourceImageEncryptionKey
→ Input<RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDiskSourceImageEncryptionKey?>?
-
, The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. Instance templates do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys. Structure is documented below.
final
-
sourceSnapshot
→ Input<String?>?
-
, The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot, initializeParams.sourceImage, or disks.source is required except for local SSD.
final
-
sourceSnapshotEncryptionKey
→ Input<RegionInstanceGroupManagerInstanceFlexibilityPolicyInstanceSelectionDiskSourceSnapshotEncryptionKey?>?
-
, The customer-supplied encryption key of the source snapshot. Structure is documented below.
final
-
type
→ Input<String?>?
-
, The type of Google Compute Engine disk, can be either "SCRATCH" or "PERSISTENT".
final