カスタムイメージを、同一リージョン内の Object Storage Service (OSS) バケットにエクスポートします。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ens:ExportImage |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| ImageId |
string |
必須 |
イメージの ID です。 |
m-5ragaz3s74b7go8ks7jp9**** |
| OSSBucket |
string |
必須 |
イメージをエクスポートする対象の OSS バケットです。 |
whxyl**** |
| OSSRegionId |
string |
必須 |
リージョン ID です。 |
cn-beijing |
| OSSPrefix |
string |
任意 |
OSS バケット内にイメージを格納する際のオブジェクト名のプレフィックスです。長さは 1~30 文字で、英数字のみ使用できます。 |
dataCenter/972****/ |
| RoleName |
string |
任意 |
Resource Access Management (RAM) ロールの名前です。 |
AliyunMNSLoggingRole |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| ExportedImageURL |
string |
エクスポートされたイメージを指す URL です。 |
http://oss.url |
| RequestId |
string |
リクエストの ID です。 |
43A426AD-3F2E-5DD9-9C08-D4DBDCA48D85 |
例
成功レスポンス
JSONJSON
{
"ExportedImageURL": "http://oss.url",
"RequestId": "43A426AD-3F2E-5DD9-9C08-D4DBDCA48D85"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | MissingParameter | The input parameter that is mandatory for processing this request is not supplied. | |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. | |
| 400 | InvalidParameter | The errorMessage is %s. Please check it again. | |
| 400 | InvalidSecurityGroupId.NotFound | The specified SecurityGroupId does not exist. | |
| 400 | SecurityGroupRuleConflict.Duplicated | The SecurityGroup rule already exists. | |
| 400 | AuthorizationLimitExceed | The limit of authorization records in the security group reaches. | |
| 400 | ens.interface.error | An error occurred while calling the API. | |
| 400 | CallInterface | Call Interface Happen Error. | |
| 400 | InvalidImageType.NotSupported | The specified image type is not supported. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。