public class ImportImageRequest extends AbstractModel
| Constructor and Description | 
|---|
| ImportImageRequest() | 
| ImportImageRequest(ImportImageRequest 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 | 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 | getLicenseType()Get The license type used to activate the OS after importing an image. | 
| String | getOsType()Get OS type of the image to be imported. | 
| String | getOsVersion()Get OS version of the image to be imported. | 
| TagSpecification[] | getTagSpecification()Get Tag description list. | 
| 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 | setLicenseType(String LicenseType)Set The license type used to activate the OS after importing an image. | 
| 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 | setTagSpecification(TagSpecification[] TagSpecification)Set Tag description list. | 
| 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, toJsonStringpublic ImportImageRequest()
public ImportImageRequest(ImportImageRequest source)
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).public TagSpecification[] getTagSpecification()
public void setTagSpecification(TagSpecification[] TagSpecification)
TagSpecification - Tag description list. This parameter is used to bind a tag to a custom image.public String getLicenseType()
public void setLicenseType(String LicenseType)
LicenseType - The license type used to activate the OS after importing an image.
Valid values:
`TencentCloud`: Tencent Cloud official license
`BYOL`: Bring Your Own LicenseCopyright © 2022. All rights reserved.