アドオンをインストールします。
操作説明
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
ehpc:InstallAddon |
create |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| AddonName |
string |
必須 |
アドオンの名前です。 |
Login |
| AddonVersion |
string |
必須 |
アドオンのバージョンです。 |
1.0 |
| ClusterId |
string |
必須 |
クラスター ID です。 |
ehpc-hz-FYUr32**** |
| ServicesSpec |
string |
必須 |
アドオンのサービス構成です。 |
`[{"ServiceName": "SSH", "ServiceAccessType": null, "ServiceAccessUrl": null, "NetworkACL": [{"IpProtocol": "TCP", "Port": 22, "SourceCidrIp": "0.0.0.0/0"}]}, {"ServiceName": "VNC", "ServiceAccessType": null, "ServiceAccessUrl": null, "NetworkACL": [{"IpProtocol": "TCP", "Port": 12016, "SourceCidrIp": "0.0.0.0/0"}]}]` |
| ResourcesSpec |
string |
必須 |
アドオンのリソース構成です。 |
`{"EipResource": {"AutoCreate": true}, "EcsResources": [{"InstanceType": "ecs.c7.xlarge", "ImageId": "centos_7_6_xxx.vhd", "SystemDisk": {"Category": "cloud_essd", "Size": 40, "Level": "PL0"}]}` |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答データです。 |
||
| RequestId |
string |
リクエスト ID です。 |
B745C159-3155-4B94-95D0-4B73D4D2**** |
| ClusterId |
string |
クラスター ID です。 |
ehpc-hz-FYUr32**** |
| AddonId |
string |
アドオン ID です。 |
Login-1.0-W4g**** |
例
成功レスポンス
JSONJSON
{
"RequestId": "B745C159-3155-4B94-95D0-4B73D4D2****",
"ClusterId": "ehpc-hz-FYUr32****",
"AddonId": "Login-1.0-W4g****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParams | The specified parameter %s is invalid. | |
| 400 | NotEnabled | You have not enabled this service | |
| 500 | UnknownError | An unknown error occurred. | |
| 404 | ClusterNotFound | The specified cluster does not exist. | |
| 404 | ManagerNotFound | The manager nodes do not exist or their status is abnormal. | |
| 503 | ServiceUnavailable | The request has failed due to a temporary failure of the server | |
| 406 | DbError | A database service error occurred. | |
| 406 | EcsError | An error occurred while calling the ECS API operation. | |
| 406 | RedisError | A Redis service error occurred. | |
| 406 | AliyunError | An Alibaba Cloud product error occurred. | |
| 406 | AgentError | The agent service request failed: %s | |
| 407 | NotAuthorized | You are not authorized by RAM for this request. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。