ImageImportDiskDeviceMapping

data class ImageImportDiskDeviceMapping(val device: String? = null, val diskImageSize: Int? = null, val format: String? = null, val ossBucket: String? = null, val ossObject: String? = null)

Constructors

Link copied to clipboard
fun ImageImportDiskDeviceMapping(device: String? = null, diskImageSize: Int? = null, format: String? = null, ossBucket: String? = null, ossObject: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val device: String? = null

The name of disk N in the custom image.

Link copied to clipboard
val diskImageSize: Int? = null

Resolution size. You must ensure that the system disk space ≥ file system space. Ranges: When n = 1, the system disk: 5 ~ 500GiB, When n = 2 ~ 17, that is, data disk: 5 ~ 1000GiB, When temporary is introduced, the system automatically detects the size, which is subject to the detection result.

Link copied to clipboard
val format: String? = null

Image format. Value range: When the RAW, VHD, qcow2 is imported into the image, the system automatically detects the image format, whichever comes first.

Link copied to clipboard
val ossBucket: String? = null

Save the exported OSS bucket.

Link copied to clipboard
val ossObject: String? = null

The file name of your OSS Object.