InstanceBootDiskInitializeParamsArgs

data class InstanceBootDiskInitializeParamsArgs(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 size: Output<Int>? = null, val storagePool: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<InstanceBootDiskInitializeParamsArgs>

Constructors

Link copied to clipboard
constructor(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, size: Output<Int>? = null, storagePool: Output<String>? = null, type: Output<String>? = null)

Properties

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 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 storagePool: Output<String>? = null

The URL 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