ImageDiskDeviceMapping

data class ImageDiskDeviceMapping(val device: String? = null, val diskType: String? = null, val format: String? = null, val importOssBucket: String? = null, val importOssObject: String? = null, val progress: String? = null, val remainTime: Int? = null, val size: Int? = null, val snapshotId: String? = null)

Constructors

Link copied to clipboard
constructor(device: String? = null, diskType: String? = null, format: String? = null, importOssBucket: String? = null, importOssObject: String? = null, progress: String? = null, remainTime: Int? = null, size: Int? = null, snapshotId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val device: String? = null

The device name of disk N in the custom image. Valid values:

Link copied to clipboard
val diskType: String? = null

The type of disk N in the custom image. You can specify this parameter to create the system disk of the custom image from a data disk snapshot. If you do not specify this parameter, the disk type is determined by the corresponding snapshot. Valid values:

Link copied to clipboard
val format: String? = null

Image format.

Link copied to clipboard
val importOssBucket: String? = null

Import the bucket of the OSS to which the image belongs.

Link copied to clipboard
val importOssObject: String? = null

Import the object of the OSS to which the image file belongs.

Link copied to clipboard
val progress: String? = null

Copy the progress of the task.

Link copied to clipboard
val remainTime: Int? = null

For an image being replicated, return the remaining time of the replication task, in seconds.

Link copied to clipboard
val size: Int? = null

The size of disk N in the custom image. Unit: GiB. The valid values and default value of DiskDeviceMapping.N.Size vary based on the value of DiskDeviceMapping.N.SnapshotId.

Link copied to clipboard
val snapshotId: String? = null

The ID of snapshot N to use to create the custom image. .