InstanceBootDiskInitializeParamsArgs

data class InstanceBootDiskInitializeParamsArgs(val architecture: Output<String>? = null, val enableConfidentialCompute: Output<Boolean>? = null, val image: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val provisionedIops: Output<Int>? = null, val provisionedThroughput: Output<Int>? = null, val resourceManagerTags: Output<Map<String, String>>? = null, val resourcePolicies: Output<String>? = null, val size: Output<Int>? = null, val snapshot: Output<String>? = null, val sourceImageEncryptionKey: Output<InstanceBootDiskInitializeParamsSourceImageEncryptionKeyArgs>? = null, val sourceSnapshotEncryptionKey: Output<InstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyArgs>? = null, val storagePool: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<InstanceBootDiskInitializeParamsArgs>

Constructors

Link copied to clipboard
constructor(architecture: Output<String>? = null, enableConfidentialCompute: Output<Boolean>? = null, image: Output<String>? = null, labels: Output<Map<String, String>>? = null, provisionedIops: Output<Int>? = null, provisionedThroughput: Output<Int>? = null, resourceManagerTags: Output<Map<String, String>>? = null, resourcePolicies: Output<String>? = null, size: Output<Int>? = null, snapshot: Output<String>? = null, sourceImageEncryptionKey: Output<InstanceBootDiskInitializeParamsSourceImageEncryptionKeyArgs>? = null, sourceSnapshotEncryptionKey: Output<InstanceBootDiskInitializeParamsSourceSnapshotEncryptionKeyArgs>? = null, storagePool: Output<String>? = null, type: Output<String>? = null)

Properties

Link copied to clipboard
val architecture: Output<String>? = null

The architecture of the attached disk. Valid values are ARM64 or x86_64.

Link copied to clipboard
val enableConfidentialCompute: Output<Boolean>? = null

Whether this disk is using confidential compute mode. Note: Only supported on hyperdisk skus, disk_encryption_key is required when setting to true.

Link copied to clipboard
val image: Output<String>? = null

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}. If referred by family, the images names must include the family name. If they don't, use the gcp.compute.Image data source. For instance, the image centos-6-v20180104 includes its family name centos-6. These images can be referred by family name here.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

A set of key/value label pairs assigned to the disk. This field is only applicable for persistent disks.

Link copied to clipboard
val provisionedIops: Output<Int>? = null

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 Hyperdisk documentation. Note: Updating currently is only supported for hyperdisk skus via disk update api/gcloud without the need to delete and recreate the disk, hyperdisk allows for an update of IOPS every 4 hours. To update your hyperdisk more frequently, you'll need to manually delete and recreate it.

Link copied to clipboard
val provisionedThroughput: Output<Int>? = null

Indicates how much throughput to provision for the disk. This sets the number of throughput mb per second that the disk can handle. For more details,see the Hyperdisk documentation. Note: Updating currently is only supported for hyperdisk skus via disk update api/gcloud without the need to delete and recreate the disk, hyperdisk allows for an update of throughput every 4 hours. To update your hyperdisk more frequently, you'll need to manually delete and recreate it.

Link copied to clipboard
val resourceManagerTags: Output<Map<String, String>>? = null

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.

Link copied to clipboard
val resourcePolicies: Output<String>? = null

A list of self_links 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.

Link copied to clipboard
val size: Output<Int>? = null

The size of the image in gigabytes. If not specified, it will inherit the size of its base image.

Link copied to clipboard
val snapshot: Output<String>? = null

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

Link copied to clipboard

Encryption key used to decrypt the given image. Structure is documented below.

Link copied to clipboard

Encryption key used to decrypt the given snapshot. Structure is documented below.

Link copied to clipboard
val storagePool: Output<String>? = null

The URL or the name of the storage pool in which the new disk is created. For example:

Link copied to clipboard
val type: Output<String>? = null

The GCE disk type. Such as pd-standard, pd-balanced or pd-ssd.

Functions

Link copied to clipboard
open override fun toJava(): InstanceBootDiskInitializeParamsArgs