データキャッシュを更新します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
eci:UpdateDataCache |
update |
*DataCache
|
|
なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
リージョン ID。 |
cn-hangzhou |
| RegionId |
string |
必須 |
リージョン ID。 |
cn-hangzhou |
| DataCacheId |
string |
任意 |
データキャッシュ ID。 |
edc-bp1a7n7uawwwol****** |
| SecurityGroupId |
string |
任意 |
セキュリティグループ ID。 |
sg-2ze81zoc3yl7a3we**** |
| VSwitchId |
string |
任意 |
vSwitch ID。 |
vsw-2ze23nqzig8inprou**** |
| Bucket |
string |
任意 |
データキャッシュのバケット。デフォルト値は default です。 |
default |
| Name |
string |
任意 |
データキャッシュの名前。 |
test |
| Size |
integer |
任意 |
データキャッシュのサイズ。 |
20 |
| DataSource |
object |
任意 |
データソースに関する情報。 |
|
| Type |
string |
任意 |
データソースのタイプ。有効な値:
|
URL |
| Options |
object |
任意 |
データソースの構成パラメーター。 |
|
|
string |
任意 |
データソースの構成パラメーター。指定する必要があるパラメーターは、データソースのタイプによって異なります。データソースのタイプとそのパラメーターの詳細については、「データキャッシュの作成」をご参照ください。 |
{ "#10#repoSource": "HuggingFace/Model", "#6#repoId": "stabilityai/stable-diffusion-2-1" } |
|
| RetentionDays |
integer |
任意 |
データキャッシュを保持する日数。データキャッシュは有効期限が切れるとクリアされます。デフォルトでは、データキャッシュは有効期限が切れません。 |
7 |
| ResourceGroupId |
string |
任意 |
リソースグループの ID。 |
rg-acfmzw2jz2z**** |
| Tag |
array<object> |
任意 |
タグのリスト。 |
|
|
object |
任意 |
タグのリスト。 |
||
| Key |
string |
任意 |
タグキー。 |
testkey |
| Value |
string |
任意 |
タグの値。 |
testvalue |
| ClientToken |
string |
任意 |
クライアントトークン。クライアントを使用してトークンを生成できますが、トークンが異なるリクエスト間で一意であることを確認する必要があります。トークンには ASCII 文字のみを含めることができ、長さは 64 文字を超えることはできません。詳細については、「べき等性を確保する方法」をご参照ください。 |
2f22dc16-cad0-4d3f-87e5-91e604756547 |
| EipInstanceId |
string |
任意 |
Elastic IP アドレス (EIP)。VPC (Virtual Private Cloud) に NAT ゲートウェイが構成されていない場合、EIP をデータキャッシュにアタッチして、インターネットからデータをプルできます。 |
eip-2zedsm5mfl3uhdj2d**** |
| EipCreateParam |
object |
任意 |
EIP を作成してアタッチします。 VPC に NAT ゲートウェイが構成されていない場合、EIP をデータキャッシュにアタッチして、インターネットからデータをプルできます。 |
|
| Bandwidth |
integer |
任意 |
EIP の帯域幅。単位: Mbps。デフォルト値は 5 です。 |
10 |
| CommonBandwidthPackage |
string |
任意 |
アタッチする既存の共有帯域幅パッケージを指定します。 |
cbwp-2zeukbj916scmj51m**** |
| InternetChargeType |
string |
任意 |
EIP の課金方法。有効な値:
|
PayByTraffic |
| PublicIpAddressPoolId |
string |
任意 |
IP アドレスプールの ID。 EIP は IP アドレスプールから割り当てられます。 デフォルトでは、IP アドレスプール機能は利用できません。この機能を使用するには、Quota Center で権限を申請してください。 |
pippool-bp187arfugi543y1s**** |
| ISP |
string |
任意 |
EIP の回線タイプ。有効な値:
|
BGP |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
BD8BBB43-8E05-5F46-89A9-2512D8A324A2 |
例
成功レスポンス
JSONJSON
{
"RequestId": "BD8BBB43-8E05-5F46-89A9-2512D8A324A2"
}
エラーコード
|
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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。