InstanceBootDiskInitializeParams

data class InstanceBootDiskInitializeParams(val enableConfidentialCompute: Boolean? = null, val image: String? = null, val labels: Map<String, String>? = null, val provisionedIops: Int? = null, val provisionedThroughput: Int? = null, val resourceManagerTags: Map<String, String>? = null, val size: Int? = null, val storagePool: String? = null, val type: String? = null)

Constructors

Link copied to clipboard
constructor(enableConfidentialCompute: Boolean? = null, image: String? = null, labels: Map<String, String>? = null, provisionedIops: Int? = null, provisionedThroughput: Int? = null, resourceManagerTags: Map<String, String>? = null, size: Int? = null, storagePool: String? = null, type: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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: 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: 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: 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

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

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

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

Link copied to clipboard
val type: String? = null

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