InstanceBootDiskInitializeParamsArgs

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

Constructors

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

Properties

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, 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
val resourceManagerTags: Output<Map<String, Any>>? = null
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 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