Class SyncImagesRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cvm.v20170312.models.SyncImagesRequest
-
public class SyncImagesRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SyncImagesRequest()SyncImagesRequest(SyncImagesRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getDestinationRegions()Get 目的同步地域列表,必须满足如下限制:
必须是一个合法的Region。
如果是自定义镜像,则目标同步地域不能为源地域。
如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。
暂不支持部分地域同步。
具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。BooleangetDryRun()Get 检测是否支持发起同步镜像。String[]getImageIds()Get 镜像ID列表 ,镜像ID可以通过如下方式获取:
通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。
镜像ID必须满足限制:
镜像ID对应的镜像状态必须为`NORMAL`。
镜像状态请参考[镜像数据表](https://cloud.tencent.com/document/product/213/15753#Image)。StringgetImageName()Get 目标镜像名称。BooleangetImageSetRequired()Get 是否需要返回目的地域的镜像ID。voidsetDestinationRegions(String[] DestinationRegions)Set 目的同步地域列表,必须满足如下限制:
必须是一个合法的Region。
如果是自定义镜像,则目标同步地域不能为源地域。
如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。
暂不支持部分地域同步。
具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。voidsetDryRun(Boolean DryRun)Set 检测是否支持发起同步镜像。voidsetImageIds(String[] ImageIds)Set 镜像ID列表 ,镜像ID可以通过如下方式获取:
通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。
镜像ID必须满足限制:
镜像ID对应的镜像状态必须为`NORMAL`。
镜像状态请参考[镜像数据表](https://cloud.tencent.com/document/product/213/15753#Image)。voidsetImageName(String ImageName)Set 目标镜像名称。voidsetImageSetRequired(Boolean ImageSetRequired)Set 是否需要返回目的地域的镜像ID。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
SyncImagesRequest
public SyncImagesRequest()
-
SyncImagesRequest
public SyncImagesRequest(SyncImagesRequest 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.
-
-
Method Detail
-
getImageIds
public String[] getImageIds()
Get 镜像ID列表 ,镜像ID可以通过如下方式获取:- 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
- 通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。
镜像ID必须满足限制:- 镜像ID对应的镜像状态必须为`NORMAL`。
镜像状态请参考[镜像数据表](https://cloud.tencent.com/document/product/213/15753#Image)。- Returns:
- ImageIds 镜像ID列表 ,镜像ID可以通过如下方式获取:
- 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
- 通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。
镜像ID必须满足限制:- 镜像ID对应的镜像状态必须为`NORMAL`。
镜像状态请参考[镜像数据表](https://cloud.tencent.com/document/product/213/15753#Image)。 - 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
- 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
-
setImageIds
public void setImageIds(String[] ImageIds)
Set 镜像ID列表 ,镜像ID可以通过如下方式获取:- 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
- 通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。
镜像ID必须满足限制:- 镜像ID对应的镜像状态必须为`NORMAL`。
镜像状态请参考[镜像数据表](https://cloud.tencent.com/document/product/213/15753#Image)。- Parameters:
ImageIds- 镜像ID列表 ,镜像ID可以通过如下方式获取:- 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
- 通过[镜像控制台](https://console.cloud.tencent.com/cvm/image)获取。
镜像ID必须满足限制:- 镜像ID对应的镜像状态必须为`NORMAL`。
镜像状态请参考[镜像数据表](https://cloud.tencent.com/document/product/213/15753#Image)。- 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
- 通过[DescribeImages](https://cloud.tencent.com/document/api/213/15715)接口返回的`ImageId`获取。
-
getDestinationRegions
public String[] getDestinationRegions()
Get 目的同步地域列表,必须满足如下限制:- 必须是一个合法的Region。
- 如果是自定义镜像,则目标同步地域不能为源地域。
- 如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。
- 暂不支持部分地域同步。
具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。- Returns:
- DestinationRegions 目的同步地域列表,必须满足如下限制:
- 必须是一个合法的Region。
- 如果是自定义镜像,则目标同步地域不能为源地域。
- 如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。
- 暂不支持部分地域同步。
具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。 - 必须是一个合法的Region。
- 必须是一个合法的Region。
-
setDestinationRegions
public void setDestinationRegions(String[] DestinationRegions)
Set 目的同步地域列表,必须满足如下限制:- 必须是一个合法的Region。
- 如果是自定义镜像,则目标同步地域不能为源地域。
- 如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。
- 暂不支持部分地域同步。
具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。- Parameters:
DestinationRegions- 目的同步地域列表,必须满足如下限制:- 必须是一个合法的Region。
- 如果是自定义镜像,则目标同步地域不能为源地域。
- 如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。
- 暂不支持部分地域同步。
具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。- 必须是一个合法的Region。
- 必须是一个合法的Region。
-
getDryRun
public Boolean getDryRun()
Get 检测是否支持发起同步镜像。- Returns:
- DryRun 检测是否支持发起同步镜像。
-
setDryRun
public void setDryRun(Boolean DryRun)
Set 检测是否支持发起同步镜像。- Parameters:
DryRun- 检测是否支持发起同步镜像。
-
getImageName
public String getImageName()
Get 目标镜像名称。- Returns:
- ImageName 目标镜像名称。
-
setImageName
public void setImageName(String ImageName)
Set 目标镜像名称。- Parameters:
ImageName- 目标镜像名称。
-
getImageSetRequired
public Boolean getImageSetRequired()
Get 是否需要返回目的地域的镜像ID。- Returns:
- ImageSetRequired 是否需要返回目的地域的镜像ID。
-
setImageSetRequired
public void setImageSetRequired(Boolean ImageSetRequired)
Set 是否需要返回目的地域的镜像ID。- Parameters:
ImageSetRequired- 是否需要返回目的地域的镜像ID。
-
-