InstanceBootDiskInitializeParams

data class InstanceBootDiskInitializeParams(val image: String? = null, val labels: Map<String, Any>? = null, val resourceManagerTags: Map<String, Any>? = null, val size: Int? = null, val type: String? = null)

Constructors

Link copied to clipboard
constructor(image: String? = null, labels: Map<String, Any>? = null, resourceManagerTags: Map<String, Any>? = null, size: Int? = null, type: String? = null)

Types

Link copied to clipboard
object Companion

Properties

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, Any>? = null

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

Link copied to clipboard
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 type: String? = null

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