LocalDiskInitializeParamsArgs

data class LocalDiskInitializeParamsArgs(val description: Output<String>? = null, val diskName: Output<String>? = null, val diskSizeGb: Output<String>? = null, val diskType: Output<LocalDiskInitializeParamsDiskType>? = null, val labels: Output<Map<String, String>>? = null) : ConvertibleToJava<LocalDiskInitializeParamsArgs>

Input only. Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new runtime. This property is mutually exclusive with the source property; you can only define one or the other, but not both.

Constructors

Link copied to clipboard
fun LocalDiskInitializeParamsArgs(description: Output<String>? = null, diskName: Output<String>? = null, diskSizeGb: Output<String>? = null, diskType: Output<LocalDiskInitializeParamsDiskType>? = null, labels: Output<Map<String, String>>? = null)

Functions

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

Properties

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

Optional. Provide this property when creating the disk.

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

Optional. Specifies the disk name. If not specified, the default is to use the name of the instance. If the disk with the instance name exists already in the given zone/region, a new name will be automatically generated.

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

Optional. Specifies the size of the disk in base-2 GB. If not specified, the disk will be the same size as the image (usually 10GB). If specified, the size must be equal to or larger than 10GB. Default 100 GB.

Link copied to clipboard

Input only. The type of the boot disk attached to this instance, defaults to standard persistent disk (PD_STANDARD).

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

Optional. Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.