public class ImportImageRequest extends AbstractModel
Constructor and Description |
---|
ImportImageRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getArchitecture()
Get OS architecture of the image to be imported, `x86_64` or `i386`.
|
Boolean |
getDryRun()
Get Dry run to check the parameters without performing the operation
|
Boolean |
getForce()
Get Whether to force import the image.
|
String |
getImageDescription()
Get Image description
|
String |
getImageName()
Get Image name
|
String |
getImageUrl()
Get Address on COS where the image to be imported is stored.
|
String |
getOsType()
Get OS type of the image to be imported.
|
String |
getOsVersion()
Get OS version of the image to be imported.
|
void |
setArchitecture(String Architecture)
Set OS architecture of the image to be imported, `x86_64` or `i386`.
|
void |
setDryRun(Boolean DryRun)
Set Dry run to check the parameters without performing the operation
|
void |
setForce(Boolean Force)
Set Whether to force import the image.
|
void |
setImageDescription(String ImageDescription)
Set Image description
|
void |
setImageName(String ImageName)
Set Image name
|
void |
setImageUrl(String ImageUrl)
Set Address on COS where the image to be imported is stored.
|
void |
setOsType(String OsType)
Set OS type of the image to be imported.
|
void |
setOsVersion(String OsVersion)
Set OS version of the image to be imported.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getArchitecture()
public void setArchitecture(String Architecture)
Architecture
- OS architecture of the image to be imported, `x86_64` or `i386`.public String getOsType()
public void setOsType(String OsType)
OsType
- OS type of the image to be imported. You can call `DescribeImportImageOs` to obtain the list of supported operating systems.public String getOsVersion()
public void setOsVersion(String OsVersion)
OsVersion
- OS version of the image to be imported. You can call `DescribeImportImageOs` to obtain the list of supported operating systems.public String getImageUrl()
public void setImageUrl(String ImageUrl)
ImageUrl
- Address on COS where the image to be imported is stored.public String getImageName()
public void setImageName(String ImageName)
ImageName
- Image namepublic String getImageDescription()
public void setImageDescription(String ImageDescription)
ImageDescription
- Image descriptionpublic Boolean getDryRun()
public void setDryRun(Boolean DryRun)
DryRun
- Dry run to check the parameters without performing the operationpublic Boolean getForce()
public void setForce(Boolean Force)
Force
- Whether to force import the image. For more information, see [Forcibly Import Image](https://intl.cloud.tencent.com/document/product/213/12849).Copyright © 2020. All rights reserved.