workspaceapp__CreateImageServer
Creates a WorkspaceApp image instance with specified VPC, subnet, root volume, image source, and authorized users to support application or desktop deployment.
Instructions
[WORKSPACEAPP] 创建镜像实例。
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": {
"authorize_accounts": "<authorize_accounts>",
"image_ref": "<image_ref>",
"name": "<name>",
"product_id": "<product_id>",
"project_id": "<project_id>",
"root_volume": "<root_volume>",
"subnet_id": "<subnet_id>",
"vpc_id": "<vpc_id>"
},
"name": "workspaceapp__CreateImageServer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 镜像实例名称,名称需满足如下规则: | |
| tags | No | 标签信息,最多包含20个key,不允许重复 | |
| is_vdi | No | 是否为vdi单会话模式 | |
| vpc_id | Yes | 镜像实例所属虚拟私有云唯一标识。 | |
| ou_name | No | 组织名称 | |
| flavor_id | No | 规格ID。 | |
| image_ref | Yes | 镜像源信息。 | |
| subnet_id | Yes | 镜像实例网卡对应的子网唯一标识 | |
| product_id | Yes | 镜像实例产品套餐ID | |
| project_id | Yes | 项目唯一标识。 | |
| attach_apps | No | 云应用仓库软件唯一标识请求列表 | |
| description | No | 镜像实例描述 | |
| root_volume | Yes | 镜像实例系统盘配置信息 | |
| route_policy | No | 路由策略 | |
| scheduler_hints | No | wdh参数 | |
| availability_zone | No | 镜像实例的可用区,空值表示随机选取可用区 | |
| authorize_accounts | Yes | 应用组授权用户, | |
| extra_session_size | No | 需要付费的会话数,单位/个 | |
| extra_session_type | No | 付费会话类型 | |
| enterprise_project_id | No | **⚠ : 此属性是预留字段,不需要传值,目前镜像产物默认属于default企业项目** |