ImageDiskDeviceMapping

data class ImageDiskDeviceMapping(val device: String? = null, val diskType: String? = null, val size: Int? = null, val snapshotId: String? = null)

Constructors

Link copied to clipboard
fun ImageDiskDeviceMapping(device: String? = null, diskType: String? = null, size: Int? = null, snapshotId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val device: String? = null

Specifies the name of a disk in the combined custom image. Value range: /dev/xvda to /dev/xvdz.

Link copied to clipboard
val diskType: String? = null

Specifies the type of a disk in the combined custom image. If you specify this parameter, you can use a data disk snapshot as the data source of a system disk for creating an image. If it is not specified, the disk type is determined by the corresponding snapshot. Valid values: system, data,

Link copied to clipboard
val size: Int? = null

Specifies the size of a disk in the combined custom image, in GiB. Value range: 5 to 2000.

Link copied to clipboard
val snapshotId: String? = null

Specifies a snapshot that is used to create a combined custom image.