ModifyHostInfo 操作を呼び出して、非 Alibaba Cloud ホストの表示情報を変更します。
操作説明
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
cms:ModifyHostInfo |
update |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| InstanceId |
string |
必須 |
インスタンス ID。非 Alibaba Cloud ホストのみがサポートされています。 |
host-R_NSWNV**** |
| HostName |
string |
任意 |
ホスト名。 |
portalHost |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| Code |
string |
The status code. 説明
The value 200 indicates that the call was successful. |
200 |
| Message |
string |
The error message. |
The specified resource is not found. |
| RequestId |
string |
The request ID. |
EBB5215C-44AB-4000-A2D7-48634FDC4F04 |
| Success |
boolean |
Indicates whether the call was successful. The value true indicates that the call was successful. The value false indicates that the call failed. |
true |
例
成功レスポンス
JSONJSON
{
"Code": "200",
"Message": "The specified resource is not found.",
"RequestId": "EBB5215C-44AB-4000-A2D7-48634FDC4F04",
"Success": true
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | ParameterInvalid | Illegal parameters. | |
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 403 | AccessForbidden | User not authorized to operate on the specified resource. | |
| 404 | ResourceNotFound | The specified resource is not found. | The specified resource is not found. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。