ImageDiskDeviceMappingArgs

data class ImageDiskDeviceMappingArgs(val device: Output<String>? = null, val diskType: Output<String>? = null, val format: Output<String>? = null, val importOssBucket: Output<String>? = null, val importOssObject: Output<String>? = null, val progress: Output<String>? = null, val remainTime: Output<Int>? = null, val size: Output<Int>? = null, val snapshotId: Output<String>? = null) : ConvertibleToJava<ImageDiskDeviceMappingArgs>

Constructors

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

Properties

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

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

Link copied to clipboard
val diskType: Output<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: Output<String>? = null

Image format.

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

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

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

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

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

Copy the progress of the task.

Link copied to clipboard
val remainTime: Output<Int>? = null

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

Link copied to clipboard
val size: Output<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: Output<String>? = null

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

Functions

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