cae__CreateComponent
Creates a Huawei Cloud CAE component using specified runtime, source, replica count, and resource limits to deploy an application.
Instructions
[CAE] 创建组件。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"api_version": "<api_version>",
"application_id": "<application_id>",
"kind": "<kind>",
"metadata": "<metadata>",
"project_id": "<project_id>",
"spec": "<spec>"
},
"name": "cae__CreateComponent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | API类型,固定值“Component”,该值不可修改。 | |
| spec | Yes | 组件规格信息。 | |
| metadata | Yes | 请求数据。 | |
| project_id | Yes | 项目ID,获取项目ID请参见[获取项目ID](https://support.huaweicloud.com/api-cae/cae_06_0021.html)。 | |
| api_version | Yes | API版本,固定值“v1”,该值不可修改。 | |
| application_id | Yes | 应用ID。 |