イメージを他の複数のリージョンにコピーするタスクを開始します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
appstreaming:StartTaskForDistributeImage |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ImageId |
string |
必須 |
イメージ ID。 |
imgc-07jyldnd9i***** |
| VersionId |
string |
任意 |
イメージバージョン ID。このパラメーターを指定しない場合、最新のイメージバージョンが使用されます。 |
iv-07jyldnd9i**** |
| RetryType |
string |
任意 |
このパラメーターは公開されていません。 |
RETRY |
| DestinationRegionList |
array |
任意 |
イメージをコピーする送信先リージョンのリスト。 |
|
|
string |
任意 |
Alibaba Cloud のリージョン ID。 |
cn-hangzhou |
|
| ProductType |
string |
任意 |
製品タイプ。 列挙値:
|
CloudApp |
| SourceRegion |
string |
任意 |
イメージのソースリージョン。このパラメーターを指定しない場合、ランダムなリージョンが選択されます。 |
cn-shanghai |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンス構造体。 |
||
| Data |
string |
イメージコピータスクの ID。 |
tid-06xnr5lyp77e7**** |
| Success |
boolean |
リクエストが成功したかどうか。 |
true |
| Code |
string |
リクエストの成否を示すステータスコード。 |
200 |
| Message |
string |
返されたメッセージ。 |
success |
| RequestId |
string |
リクエスト ID。 |
419F31B9-1FDF-5644-ABA3-D00026FA**** |
例
成功レスポンス
JSONJSON
{
"Data": "tid-06xnr5lyp77e7****",
"Success": true,
"Code": "200",
"Message": "success",
"RequestId": "419F31B9-1FDF-5644-ABA3-D00026FA****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | Instance.NotFound | The instance is not found. | |
| 400 | DesktopInstance.NotFound | The cloud computer instance does not exist. | |
| 400 | Instance.ImageUnsupported | A non-centralized image does not support this type of operation. | |
| 400 | Instance.PhysicalNodeNotExist | The instance physical node does not exist. | |
| 400 | ImageCreateByInstance.TaskExist | The image task of instance creation already exists. | |
| 400 | ExceedBuilderQuota | The maximum number of builders is reached. | |
| 400 | InvalidBaseImage.NotConfigured | Configuration required for Vhd/Container images. | |
| 400 | CreateDesktopImageRecord.Failed | Create cloud computer image failed. | |
| 400 | Image.NotExist | The image does not exist. | |
| 400 | ImageRegionDistribute.NotAllow | This image cannot be distributed. | |
| 400 | ImageUpdateFailed.NotAllow | The image is not allowed to be modified. | |
| 400 | ImageUpdateSharedImageFailed.NotAllow | The shared image is not allowed to be modified. | |
| 400 | ParentImageRegionDistribute.NotExist | The target distribution region of the parent image does not exist. | |
| 400 | InternalError | Internal error. | |
| 400 | ImageDistribute.TargetDistributeRegionListEmpty | The target distribution region list is empty. | |
| 400 | ImageDistribute.ImageNotSupport | The image does not support region distribution. | |
| 400 | ImageDistribute.RepeatedDistribution | This image has been distributed to this region. | |
| 400 | ImageDistribute.Undistributed | The image has not been distributed to any region. | |
| 400 | ImageRegion.NotConfigured | The image does not have any region configuration. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。