public class ExportImagesRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ExportImagesRequest() |
ExportImagesRequest(ExportImagesRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Get COS bucket name
|
Boolean |
getDryRun()
Get Check whether the image can be exported
|
String |
getExportFormat()
Get Format of the exported image file.
|
String[] |
getFileNamePrefixList()
Get Prefix list of the name of exported files
|
String[] |
getImageIds()
Get List of image IDs
|
Boolean |
getOnlyExportRootDisk()
Get Whether to export only the system disk
|
String |
getRoleName()
Get Role name (Default: `CVM_QcsRole`).
|
void |
setBucketName(String BucketName)
Set COS bucket name
|
void |
setDryRun(Boolean DryRun)
Set Check whether the image can be exported
|
void |
setExportFormat(String ExportFormat)
Set Format of the exported image file.
|
void |
setFileNamePrefixList(String[] FileNamePrefixList)
Set Prefix list of the name of exported files
|
void |
setImageIds(String[] ImageIds)
Set List of image IDs
|
void |
setOnlyExportRootDisk(Boolean OnlyExportRootDisk)
Set Whether to export only the system disk
|
void |
setRoleName(String RoleName)
Set Role name (Default: `CVM_QcsRole`).
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ExportImagesRequest()
public ExportImagesRequest(ExportImagesRequest source)
public String getBucketName()
public void setBucketName(String BucketName)
BucketName
- COS bucket namepublic String[] getImageIds()
public void setImageIds(String[] ImageIds)
ImageIds
- List of image IDspublic String getExportFormat()
public void setExportFormat(String ExportFormat)
ExportFormat
- Format of the exported image file. Valid values: `RAW`, `QCOW2`, `VHD` and `VMDK`. Default value: `RAW`.public String[] getFileNamePrefixList()
public void setFileNamePrefixList(String[] FileNamePrefixList)
FileNamePrefixList
- Prefix list of the name of exported filespublic Boolean getOnlyExportRootDisk()
public void setOnlyExportRootDisk(Boolean OnlyExportRootDisk)
OnlyExportRootDisk
- Whether to export only the system diskpublic Boolean getDryRun()
public void setDryRun(Boolean DryRun)
DryRun
- Check whether the image can be exportedpublic String getRoleName()
public void setRoleName(String RoleName)
RoleName
- Role name (Default: `CVM_QcsRole`). Before exporting the images, make sure the role exists, and it has write permission to COS.Copyright © 2024. All rights reserved.