あるリージョンから別のリージョンにデータキャッシュをコピーします。
操作説明
データキャッシュはリージョン固有です。 この操作を使用して、データキャッシュを別のリージョンにコピーできます。 この操作は、次のシナリオで役立ちます:
複数のリージョンでデータキャッシュを使用する場合は、1 つのリージョンで作成し、この操作を使用して他のリージョンにすばやくコピーできます。
中国本土以外のソースからデータをプルしてデータキャッシュを作成すると、ネットワークの制限により、中国本土のユーザーにとっては遅くなる可能性があります。 これを回避するには、まず中国 (香港) など、中国本土以外のリージョンでデータキャッシュを作成し、この操作を使用して中国本土のリージョンにコピーします。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
eci:CopyDataCache |
create |
*DataCache
|
|
なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
既存のデータキャッシュが配置されているリージョン。 |
cn-beijing |
| RegionId |
string |
必須 |
既存のデータキャッシュが配置されているリージョン。 |
cn-beijing |
| Bucket |
string |
任意 |
データキャッシュバケット。 |
default |
| Path |
string |
任意 |
データキャッシュのパス。 |
/bucket-test |
| Name |
string |
任意 |
データキャッシュの名前。 |
test |
| RetentionDays |
integer |
任意 |
データキャッシュを保持する日数。 |
7 |
| Tag |
array<object> |
任意 |
データキャッシュのタグ。 |
|
|
object |
任意 |
データキャッシュのタグ。 |
||
| Key |
string |
任意 |
タグキー。 |
testkey |
| Value |
string |
任意 |
タグの値。 |
testvalue |
| ResourceGroupId |
string |
任意 |
データキャッシュが属するリソースグループ。 |
rg-2df3isufhi38**** |
| ClientToken |
string |
任意 |
リクエストのべき等性を保証するクライアントトークン。 クライアントから値を生成し、その値が異なるリクエスト間で一意であることを確認します。 トークンには ASCII 文字のみを含めることができ、長さは 64 文字を超えることはできません。 詳細については、「べき等性を確保する方法」をご参照ください。 |
123e4567-e89b-12d3-a456-426655440000 |
| DataCacheId |
string |
必須 |
データキャッシュの ID。 |
edc-bp15l4vvys94oo****** |
| DestinationRegionId |
string |
必須 |
データキャッシュのコピー先となるターゲットリージョン。 |
cn-hangzhou |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンスパラメーター。 |
||
| RequestId |
string |
リクエスト ID。 |
58EE0CB3-C864-5395-A4F7-24F425074839 |
| DataCacheId |
string |
ターゲットリージョンで生成されたデータキャッシュの ID。 |
edc-bp1423y6d7v7l6ua**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "58EE0CB3-C864-5395-A4F7-24F425074839",
"DataCacheId": "edc-bp1423y6d7v7l6ua****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | Account.Arrearage | Your account has an outstanding payment. | Your account has an outstanding payment. |
| 400 | DryRunOperation | Request validation has been passed with DryRun flag set. | Request validation has been passed with DryRun flag set. |
| 400 | InvalidParameter.CPU.Memory | The specified cpu and memory are not allowed | |
| 400 | IncorrectStatus | %s | |
| 400 | ServiceNotEnabled | %s | |
| 400 | DiskVolume.NotSupport | The disk volume is not supported. | |
| 400 | RamRole.NotSupport | The RAM role is not supported. | The RAM role is not supported. |
| 400 | ImageCache.IncorrectStatus | %s | |
| 400 | ImageCacheNotSupport | Image cache is not available for all users. If you want to enable this function, contact us. | コンテナーイメージのキャッシュ機能は一般向けに公開されていません。 この機能を使用する必要がある場合、チケットを起票し、サポートセンターへお問い合わせください。 |
| 400 | EipAddressPoolIpNotEnough | The ip address of specified PublicIpAddressPool is not enough. | |
| 403 | OperationDenied.VswZoneMisMatch | The specified VSwitchId is not in the specified Zone. | |
| 403 | QuotaExceeded | %s quota exceeded. | |
| 403 | Zone.NotOnSale | The specified zone is not available for purchase. | |
| 403 | Forbidden.RiskControl | This operation has been identified as an abnormal operation and cannot be processed. | |
| 403 | Forbidden.SubUser | The specified action is not available for you. | |
| 403 | Forbidden.OnlyForInvitedTest | Eci create action is only open to invited users during public beta. | |
| 403 | OperationDenied.SecurityGroupMisMatch | The specified VSwitchId and SecurityGroupId are not in the same VPC. | |
| 403 | InvalidVSwitchId.IpNotEnough | The specified VSwitch does not have enough IP addresses. | |
| 403 | Forbidden.UserBussinessStatus | This operation is not allowed, because you have overdue bills. Pay the overdue bill and try again. | |
| 403 | Forbidden.UserNotRealNameAuthentication | This operation is not allowed, because you have not passed the real-name verification. | |
| 403 | InvalidUser.PassRoleForbidden | The RAM user is not authorized to assume a RAM role. | The RAM user is not authorized to assume a RAM role. |
| 403 | OperationDenied.NoStock | Sales of this resource are temporarily suspended in the specified zone. We recommend that you use the multi-zone creation function to avoid the risk of insufficient resource. For more information, see https://www.alibabacloud.com/help/document_detail/157290.html | |
| 403 | NoPermission | The RAM role AliyunECIContainerGroupRole does not belong to eci.aliyuncs.com. Please check and try again. | |
| 403 | SecurityRisk.3DVerification | We have detected a security risk with your default credit or debit card. Please proceed with verification via the link in your email. | |
| 403 | CreateServiceLinkedRole.Denied | Please make sure the account has ram:CreateServiceLinkedRole permission. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。