asm__CreateMesh
Creates an ASM service mesh with the specified region, version, clusters, and sidecar injection settings for managing service-to-service traffic.
Instructions
[ASM] 该API用于创建一个网格
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": {
"apiVersion": "<apiVersion>",
"kind": "<kind>",
"metadata": "<metadata>",
"spec": "<spec>"
},
"name": "asm__CreateMesh"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | API类型,固定值“Mesh”或“mesh”,该值不可修改 | Mesh |
| spec | Yes | 集合类的元素类型,您对需要管理的网格对象进行详细描述的主体部分都在spec中给出。ASM通过spec的描述来创建或更新对象 | |
| status | No | 集合类的元素类型,用于记录对象在系统中的当前状态信息。 | |
| metadata | Yes | 网格的基本信息,为集合类的元素类型,包含一组由不同名称定义的属性 | |
| apiVersion | Yes | API版本,固定值“v1”,该值不可修改 | v1 |