![JAR search and dependency download from the Maven repository](/logo.png)
ksyun.client.kec.importimage.v20160304.ImportImageRequest Maven / Gradle / Ivy
package ksyun.client.kec.importimage.v20160304;
import common.annotation.KsYunField;
import lombok.Builder;
import lombok.Data;
import lombok.ToString;
import java.util.List;
import java.util.Arrays;
/**
* @Classname ImportImageRequest
* @Description 请求参数
*/
@Data
public class ImportImageRequest{
/**镜像名称。
2-64个字符,支持中文、字母、数字以及-_@#.字符*/
@KsYunField(name="ImageName")
private String ImageName;
/**系统架构。
i386,x86_64*/
@KsYunField(name="Architecture")
private String Architecture;
/**操作系统版本。
centos:centos-5
centos-6
centos-7
redhat:redhat-5
redhat-6
redhat7
ubuntu:ubuntu-12
ubuntu-14
ubuntu-16
debian:debian8/debian9
fedora:fedora-20
other linux:other-linux
windows:windows-/server_2012_r2_datacenter_64_zh
windows-server_2012_r2_datacenter_64_en
windows-server_2008_r2_datacenter_64_zh
windows-server_2008_r2_datacenter_64_en*/
@KsYunField(name="Platform")
private String Platform;
/**存放镜像的ks3对应的bucket地址。[如何开通ks3?](https://docs.ksyun.com/documents/858)[如何获取bucket地址?](https://docs.ksyun.com/documents/906#18)
http开头,有效的bucket地址*/
@KsYunField(name="ImageUrl")
private String ImageUrl;
/**选择上传的镜像格式。
raw、vhd、qcow2、vmdk*/
@KsYunField(name="ImageFormat")
private String ImageFormat;
/**存放数据盘镜像的ks3对应的bucket地址。
http开头,有效的bucket地址*/
@KsYunField(name="DataImageUrl")
private List DataImageUrlList;
/**数据盘磁盘容量。
2-64个字符,支持中文、字母、数字以及-_@#.字符*/
@KsYunField(name="DataImageSize")
private List DataImageSizeList;
/**选择上传的数据盘镜像格式。
raw*/
@KsYunField(name="DataImageFormat")
private List DataImageFormatList;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy