public class SyncImagesRequest extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getDestinationRegions()
Get 目的同步地域列表,必须满足如下限制:
必须是一个合法的Region。 如果是自定义镜像,则目标同步地域不能为源地域。 如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。 暂不支持部分地域同步。 具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。 |
Boolean |
getDryRun()
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)。 |
String |
getImageName()
Get 目标镜像名称。
|
Boolean |
getImageSetRequired()
Get 是否需要返回目的地域的镜像ID。
|
void |
setDestinationRegions(String[] DestinationRegions)
Set 目的同步地域列表,必须满足如下限制:
必须是一个合法的Region。 如果是自定义镜像,则目标同步地域不能为源地域。 如果是共享镜像,则目的同步地域仅支持源地域,表示将共享镜像复制为源地域的自定义镜像。 暂不支持部分地域同步。 具体地域参数请参考[Region](https://cloud.tencent.com/document/product/213/6091)。 |
void |
setDryRun(Boolean DryRun)
Set 检测是否支持发起同步镜像。
|
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)。 |
void |
setImageName(String ImageName)
Set 目标镜像名称。
|
void |
setImageSetRequired(Boolean ImageSetRequired)
Set 是否需要返回目的地域的镜像ID。
|
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 SyncImagesRequest()
public SyncImagesRequest(SyncImagesRequest source)
public String[] getImageIds()
public void setImageIds(String[] ImageIds)
ImageIds
- 镜像ID列表 ,镜像ID可以通过如下方式获取:public String[] getDestinationRegions()
public void setDestinationRegions(String[] DestinationRegions)
DestinationRegions
- 目的同步地域列表,必须满足如下限制:public Boolean getDryRun()
public void setDryRun(Boolean DryRun)
DryRun
- 检测是否支持发起同步镜像。public String getImageName()
public void setImageName(String ImageName)
ImageName
- 目标镜像名称。public Boolean getImageSetRequired()
public void setImageSetRequired(Boolean ImageSetRequired)
ImageSetRequired
- 是否需要返回目的地域的镜像ID。Copyright © 2023. All rights reserved.