huawei-cloud-api-definitions-WorkspaceApp 0.1.20260612

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":null,"consumes":"[\"application/json\"]","definitions":{"AppTypeEnum":{"description":"服务器组应用类型:\n* `SESSION_DESKTOP_APP` - 会话桌面app\n* `COMMON_APP` - 普通app","enum":["SESSION_DESKTOP_APP","COMMON_APP"],"example":"SESSION_DESKTOP_APP","type":"string"},"BadRequestErrorResp":{"description":"API错误响应。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00211102","readOnly":true,"type":"string"},"error_msg":{"description":"错误描述。","example":"The parameter is invalid.","readOnly":true,"type":"string"}}},"BaseServerGroup":{"description":"服务器组。","properties":{"app_type":{"$ref":"#/definitions/AppTypeEnum","readOnly":true},"create_time":{"description":"服务器组创建时间。","example":"2022-03-07T10:40:43.858Z","format":"date-time","readOnly":true,"type":"string"},"description":{"default":"","description":"服务器组描述。","example":"XXX公司 软件开发应用服务器组","readOnly":true,"type":"string"},"enterprise_project_id":{"description":"企业项目ID(0表示默认企业项目Id)。","example":"0","readOnly":true,"type":"string"},"extra_session_size":{"description":"付费会话个数。","example":1,"readOnly":true,"type":"integer"},"extra_session_type":{"$ref":"#/definitions/ExtraSessionTypeEnum","readOnly":true},"id":{"description":"服务器组的唯一标识。","example":"1","readOnly":true,"type":"string"},"image_id":{"default":"","description":"服务器组关联的镜像ID,用于创建对应组下的云服务器。","example":"a6ea73e0-9f4b-11ec-b909-0242ac120002","readOnly":true,"type":"string"},"is_vdi":{"default":false,"description":"是否为vdi单会话模式。","example":false,"readOnly":true,"type":"boolean"},"name":{"description":"服务器组名称。","example":"流程开发应用服务器组","readOnly":true,"type":"string"},"os_type":{"$ref":"#/definitions/OsTypeEnum","readOnly":true},"primary_server_group_ids":{"description":"主服务器组id列表。","items":{"type":"string"},"readOnly":true,"type":"array"},"product_id":{"description":"产品id。","example":"workspace.x86.general.xlarge2","readOnly":true,"type":"string"},"secondary_server_group_ids":{"description":"备服务器组id列表。","items":{"type":"string"},"readOnly":true,"type":"array"},"server_group_status":{"description":"服务器是否处于启用状态,true表示处于启用状态 false表示处于禁用状态。","example":false,"readOnly":true,"type":"boolean"},"site_id":{"description":"站点id。","example":"ae985216-83fa-46b6-ab03-a36dcb3dd05a","readOnly":true,"type":"string"},"site_type":{"description":"站点类型 - CENTER/IES。","example":"CENTER","readOnly":true,"type":"string"},"storage_mount_policy":{"$ref":"#/definitions/StorageFolderMountType"},"subnet_id":{"description":"网卡对应的子网ID。","example":"0ddf778f-c0fe-4717-9251-001caee7c95e","readOnly":true,"type":"string"},"system_disk_size":{"description":"磁盘容量,单位GB。","example":10,"readOnly":true,"type":"integer"},"system_disk_type":{"$ref":"#/definitions/VolumeType","readOnly":true},"update_time":{"description":"服务器组更新时间。","example":"2022-03-07T10:40:43.858Z","format":"date-time","readOnly":true,"type":"string"}}},"CreateServerGroupReq":{"description":"创建服务器组请求。","properties":{"app_type":{"$ref":"#/definitions/AppTypeEnum"},"availability_zone":{"default":"","description":"可用分区。\n> - 将服务创建到指定的可用分区,如果不指定则使用系统随机的可用分区,如果不存在中心站点,则必须指定availability_zone。\n> - 获取方式详见可用区管理ListAvailabilityZone:\"GET  /v1/{project_id}/availability-zone\"。","example":"cn-north-5a","maxLength":255,"minLength":0,"type":"string"},"cluster_id":{"default":"","description":"云服务器系统盘对应的存储池的ID。","example":"0ddf778f-c0fe-4717-9251-001caee7c95e","maxLength":255,"minLength":0,"type":"string"},"description":{"default":"","description":"服务器组描述。","example":"XXX公司 软件开发应用服务器组","maxLength":255,"minLength":0,"type":"string"},"enterprise_project_id":{"description":"企业项目ID,仅企业项目需配置(字段为空或者0表示使用默认default企业项目)。","example":"xxx-xxx-xx-x-x-xx","maxLength":128,"minLength":0,"type":"string"},"extra_session_size":{"description":"付费会话数,单位/个。","example":2,"minimum":1,"type":"integer"},"extra_session_type":{"$ref":"#/definitions/ExtraSessionTypeEnum"},"flavor_id":{"description":"规格ID。","example":"c3.large.4","maxLength":255,"minLength":1,"type":"string"},"image_id":{"default":"","description":"服务器组关联的镜像ID,用于创建对应组下的云服务器。","example":"a6ea73e0-9f4b-11ec-b909-0242ac120002","pattern":"^\\S{1,128}$","type":"string"},"image_product_id":{"default":"","description":"服务器组的镜像产品ID,当镜像为云市场镜像时,该字段必填。","example":"a6ea73e0-9f4b-11ec-b909-0242ac120002","pattern":"^\\S{0,128}$","type":"string"},"image_type":{"$ref":"#/definitions/ImageTypeEnum"},"ip_virtual":{"$ref":"#/definitions/IpVirtual"},"is_vdi":{"default":false,"description":"是否为vdi单会话模式。","example":false,"type":"boolean"},"name":{"default":"","description":"服务器组名称,名称需满足如下规则:\n1. 由中文,英文大小写,数字,_-组成,不能有空格。\n2. 长度范围1~64个字符。","example":"流程开发应用服务器组","maxLength":64,"minLength":1,"pattern":"^(?! +$)[\\w\\u4e00-\\u9fa5\\u002d_][\\w\\u4e00-\\u9fa5\\u002d_]{0,63}$","type":"string"},"os_type":{"$ref":"#/definitions/OsTypeEnum"},"ou_name":{"default":"","description":"默认组织名称。","example":"wksappusers","maxLength":255,"minLength":0,"type":"string"},"primary_server_group_id":{"description":"主服务器组id,绑定主服务器组,则创建的是备服务器。","example":"xxx-xxx-xx-x-x-xx","maxLength":128,"minLength":0,"type":"string"},"product_id":{"description":"产品ID。\n> - 获取方式详见产品套餐管理ListProduct:\"GET  /v1/{project_id}/product\"。","example":"workspace.x86.general.xlarge2","maxLength":128,"minLength":1,"type":"string"},"route_policy":{"$ref":"#/definitions/RoutePolicyDetail"},"server_group_status":{"default":true,"description":"是否启用服务器组:\n- true: 启用\n- false: 禁用","example":false,"type":"boolean"},"subnet_id":{"description":"网卡对应的子网ID。","example":"0ddf778f-c0fe-4717-9251-001caee7c95e","maxLength":128,"minLength":1,"type":"string"},"system_disk_size":{"description":"磁盘容量,单位GB。","example":10,"maximum":32768,"minimum":10,"type":"integer"},"system_disk_type":{"$ref":"#/definitions/VolumeType"},"tags":{"description":"标签信息,最多包含20个key,不允许重复。","items":{"$ref":"#/definitions/TmsTag"},"maxItems":20,"minItems":0,"type":"array"},"vpc_id":{"description":"虚拟私有云ID。","example":"0ddf778f-c0fe-4717-9251-001caee7c95e","maxLength":128,"minLength":1,"type":"string"}},"required":["image_id","image_type","name","os_type","product_id","subnet_id","system_disk_size","system_disk_type","vpc_id"]},"ExtraSessionTypeEnum":{"description":"付费会话类型\n* `GPU` - GPU规格会话\n* `CPU` - 普通CPU规格会话","enum":["GPU","CPU"],"example":"CPU","type":"string"},"ForbiddenErrorResp":{"description":"API错误响应。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00081102","readOnly":true,"type":"string"},"error_msg":{"description":"错误描述。","example":"User does not have permission to access this resource.","readOnly":true,"type":"string"}}},"ImageTypeEnum":{"description":"镜像类型:\n* `gold` - 云市场镜像\n* `public` - 公共镜像\n* `private` - 私有镜像\n* `shared` - 共享镜像\n* `other` - 其他","enum":["gold","public","private","shared","other"],"example":"private","type":"string"},"InternalServerErrorResp":{"description":"API错误响应。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00211401","readOnly":true,"type":"string"},"error_msg":{"description":"错误描述。","example":"The requested operation failed. Please try again later.","readOnly":true,"type":"string"}}},"IpVirtual":{"description":"虚拟IP功能选项。","properties":{"enable":{"description":"是否启用虚拟IP功能。\n启用虚拟IP功能将占用额外的ip地址,注意合理规划网络ip数量。\n约束:\n* 只支持windows镜像。\n* 只支持在创建服务器组时设置功能开关,不支持更新功能开关。\n* 只支持具备dhcp动态分配ip能力的网络。","example":false,"type":"boolean"}},"required":["enable"]},"MethodNotAllowedErrorResp":{"description":"API错误响应。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00000405","readOnly":true,"type":"string"},"error_msg":{"description":"错误描述。","example":"The method specified in the request is not allowed for this resource.","readOnly":true,"type":"string"}}},"NotFoundErrorResp":{"description":"API错误响应。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00211902","readOnly":true,"type":"string"},"error_msg":{"description":"错误描述。","example":"The application does not exist","readOnly":true,"type":"string"}}},"OsTypeEnum":{"description":"系统类型,当前仅支持Windows。\n* `Linux` -\n* `Windows` -\n* `Other` -","enum":["Linux","Windows","Other"],"example":"windows","type":"string"},"RoutePolicyDetail":{"description":"路由策略。","properties":{"cpu_threshold":{"description":"cpu使用率阈值,单位为%。","example":85,"maximum":100,"minimum":1,"type":"integer"},"gpu_threshold":{"description":"gpu显存使用率阈值,单位为%。","example":85,"maximum":100,"minimum":1,"type":"integer"},"max_session":{"description":"单台服务器最大的连接会话数。","example":2,"maximum":1024,"minimum":1,"type":"integer"},"mem_threshold":{"description":"内存使用率阈值,单位为%。","example":85,"maximum":100,"minimum":1,"type":"integer"}}},"ScalingPolicy":{"description":"弹性伸缩策略。","properties":{"enable":{"default":true,"description":"是否启用策略,默认启用:\n'true': 启用\n'false': 禁用","example":true,"type":"boolean"},"max_scaling_amount":{"description":"最大扩容数量。","example":10,"maximum":100,"minimum":1,"type":"integer"},"scaling_policy_by_resource":{"$ref":"#/definitions/ScalingPolicyByResource"},"scaling_policy_by_session":{"$ref":"#/definitions/ScalingPolicyBySession"},"single_expansion_count":{"description":"单次扩容数量。","example":1,"maximum":10,"minimum":1,"type":"integer"}},"required":["max_scaling_amount","scaling_policy_by_session","single_expansion_count"]},"ScalingPolicyByResource":{"description":"基于资源的弹性策略。","properties":{"cpu_usage_threshold":{"description":"分组的总cpu使用率(达到阈值后扩容)。","example":85,"maximum":100,"minimum":1,"type":"integer"},"gpu_usage_threshold":{"description":"分组的总显存使用率(达到该阈值后扩容)。","example":85,"maximum":100,"minimum":1,"type":"integer"},"mem_usage_threshold":{"description":"分组的总mem使用率(达到该阈值后扩容)。","example":85,"maximum":100,"minimum":1,"type":"integer"}}},"ScalingPolicyBySession":{"description":"基于会话的弹性策略。","properties":{"session_usage_threshold":{"description":"分组的总会话使用率(达到该阈值后扩容)。","example":85,"maximum":100,"minimum":1,"type":"integer"},"shrink_after_session_idle_minutes":{"description":"给定时间内无会话连接的的实例进行释放。","example":60,"maximum":120,"minimum":5,"type":"integer"}},"required":["shrink_after_session_idle_minutes"]},"ServerGroup":{"allOf":[{"$ref":"#/definitions/BaseServerGroup"},{"properties":{"app_group_count":{"description":"关联应用组的总数量。","example":1,"readOnly":true,"type":"integer"},"app_server_count":{"description":"服务器总数量。","example":1,"readOnly":true,"type":"integer"},"app_server_flavor_count":{"description":"服务器配置总数量。","example":1,"readOnly":true,"type":"integer"},"image_name":{"description":"镜像名称。","example":"Huawei cloud EulerOs 1.0 64bit","readOnly":true,"type":"string"},"ou_name":{"default":"","description":"默认组织名称。","example":"wksappusers","readOnly":true,"type":"string"},"product_info":{"$ref":"#/definitions/ServerProductInfo","description":"产品规格信息。","readOnly":true},"scaling_policy":{"$ref":"#/definitions/ScalingPolicy","description":"弹性伸缩策略。","readOnly":true},"subnet_name":{"description":"子网名称。","readOnly":true,"type":"string"},"tags":{"description":"标签信息。","items":{"$ref":"#/definitions/TmsTag"},"type":"array"}},"type":"object"}],"description":"分页查询分组信息。"},"ServerProductInfo":{"properties":{"architecture":{"description":"产品架构,当前仅支持x86。\n- x86\n- arm","example":"x86","maxLength":255,"minLength":1,"type":"string"},"charge_mode":{"description":"套餐标识。\n- 1:表示包周期。\n- 0:表示按需。","example":"1","maxLength":1,"minLength":0,"type":"string","x-hcs-ignore":true},"cloud_service_type":{"description":"云服务类型:\n- hws.service.type.vdi\n- hws.service.type.marketplace","example":"hws.service.type.xxxxx","maxLength":255,"minLength":0,"type":"string"},"cond_operation_az":{"description":"产品套餐在可用区的状态,配套status使用。\n> - 此参数是AZ级配置,优选取此参数的值,某个AZ没有在此参数中配置时默认使用status参数的取值。\n> - 配置格式“az(xx)”。()内为某个AZ的flavor状态,()内必须要填有状态,不填为无效配置。\n> - 例如:套餐在某个region的az0正常商用,az1售罄,az2公测,az3正常商用,其他az显示下线,可配置为:\n>   - “status”设置为:“abandon” 。\n>   - “cond_operation_az”设置为:“az0(normal), az1(sellout), az2(obt), az3(normal)”。\n> -  说明:如果flavor在某个AZ下的状态与status配置状态不同,必须配置该参数。","example":"cn-north-5a(normal),cn-north-5b(abandon),cn-north-5c(sellout)","minLength":0,"type":"string"},"contain_data_disk":{"description":"套餐计费是否包含了数据盘。","example":false,"type":"boolean"},"cpu":{"description":"CPU。","example":"2","maxLength":255,"minLength":1,"type":"string"},"cpu_desc":{"description":"CPU描述。","example":"云应用通用型|4核|8GB内存。","maxLength":255,"minLength":0,"type":"string"},"descriptions":{"description":"产品描述。","example":"GPU图形加速DG4型|32核128G内存32G显存|P02","maxLength":255,"minLength":1,"type":"string"},"domain_ids":{"description":"产品属于专有的domainId。","example":["xxx","xxxx"],"items":{"maxLength":255,"minLength":0,"type":"string"},"maxItems":100,"minItems":0,"type":"array","x-maxLength":100,"x-minLength":0},"expire_time":{"description":"产品套餐过期时间,产品将在该时间点后逐步下架。","example":"2022-03-07T10:40:43Z","format":"date-time","readOnly":true,"type":"string"},"flavor_id":{"description":"规格ID。","example":"c3.large.4","maxLength":255,"minLength":1,"type":"string"},"gpu_desc":{"description":"GPU描述。","example":"GPU图形加速","maxLength":255,"minLength":0,"type":"string"},"is_gpu":{"description":"是否是GPU类型的规格。","example":false,"type":"boolean"},"memory":{"description":"内存大小,单位兆:M。","example":"4096","maxLength":255,"minLength":1,"type":"string"},"package_type":{"description":"套餐类型:\n- general:表示产品通用套餐。\n- dedicated:表示产品专属主机套餐。","example":"general","maxLength":64,"minLength":0,"type":"string"},"product_id":{"description":"产品id。","example":"workspace.appstream.general.2xlarge.4","maxLength":128,"minLength":1,"type":"string"},"resource_type":{"description":"资源类型:\n-hws.resource.type.workspace.volume: 云办公桌面磁盘\n-hws.resource.type.workspace.desktop: 云办公桌面\n-hws.resource.type.workspace.appstream: 云应用\n-hws.resource.type.workspace.appstreamsession: 云应用多会话","example":"hws.resource.type.xxxx.vm","maxLength":255,"minLength":0,"type":"string"},"sessions":{"description":"套餐默认支持的最大会话数。","example":2,"readOnly":true,"type":"integer"},"status":{"description":"产品套餐在销售模式下的状态,取值自ECS的cond:operation:status。\n不配置时等同于normal在售状态。\n* `normal` - 正常商用\n* `abandon` - 下线(即不显示)\n* `sellout` - 售罄\n* `obt` - 公测\n* `obt_sellout` - 公测售罄\n* `promotion` - 推荐(等同normal,也是商用)","maxLength":16,"minLength":0,"type":"string"},"sub_product_list":{"description":"专属主机的子产品。","example":["xxx","xxxx"],"items":{"maxLength":255,"minLength":0,"type":"string"},"maxItems":100,"minItems":0,"type":"array","x-maxLength":100,"x-minLength":0},"support_gpu_type":{"description":"产品套餐支持的GPU类型:\n- A30\n- A40\n- A100\n- RTX5000","example":"A40","format":"支持的GPU类型","readOnly":true,"type":"string"},"system_disk_size":{"default":"80","description":"系统盘大小。","example":"80","maxLength":10,"minLength":0,"type":"string"},"system_disk_type":{"default":"SAS","description":"系统盘类型:\n- SSD:超高IO磁盘\n- SAS:高IO磁盘","example":"SAS","maxLength":32,"minLength":0,"type":"string"},"type":{"description":"产品类型:\n- BASE:表示产品基础套餐,套餐镜像中不包括除操作系统之外的其他商业软件,私有镜像场景只能使用此类套餐。\n- ADVANCED:表示产品高级套餐,套餐镜像中包括了一些商业软件。","example":"BASE","maxLength":55,"minLength":1,"type":"string"},"volume_product_type":{"description":"磁盘产品类型:\n- workspace","example":"workspace","maxLength":255,"minLength":0,"type":"string"}},"type":"object"},"ServiceUnavailableErrorResp":{"description":"API错误响应。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00050902","readOnly":true,"type":"string"},"error_msg":{"description":"错误描述。","example":"The service is now unavailable to process the request.","readOnly":true,"type":"string"}}},"StorageFolderMountType":{"description":"用户访问APS的应用时,对应NAS存储目录在APS上的挂载策略。\n* `USER` - 仅挂载个人目录。\n* `SHARE` - 仅挂载共享目录。\n* `ANY` - 挂载目录不做限制(个人和共享NAS存储目录都会自动挂载)。","enum":["USER","SHARE","ANY"],"example":"ANY","type":"string"},"TmsTag":{"description":"tms标签。","properties":{"key":{"description":"键。最大长度128个unicode字符。\n1. 可用 UTF-8 格式表示的字母(包含中文、西班牙语、葡语等)、数字和空格,以及以下字符: _ . : = + - @\n2. 两头不能有空白字符","example":"demo01","pattern":"^((?!_sys_)[\\p{L}\\p{Z}\\p{N}_.:=+\\-@]{1,128})(?<!\\s)$","type":"string"},"value":{"description":"值。每个值最大长度255个unicode字符。\n1. 可用 UTF-8 格式表示的字母(包含中文、西班牙语、葡语等)、数字和空格,以及以下字符: _ . : = + - @","example":"01","pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]{0,255})$","type":"string"}},"required":["key","values"]},"UnauthorizedErrorResp":{"description":"API错误响应。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00211302","readOnly":true,"type":"string"},"error_msg":{"description":"错误描述。","example":"User authorization error.","readOnly":true,"type":"string"}}},"VolumeType":{"description":"磁盘类型,获取可用磁盘类型详见接口磁盘管理ListVolumeType。\n* `ESSD` - 极速型SSD\n* `SSD` - 超高IO\n* `GPSSD` - 通用型SSD\n* `SAS` - 高IO\n* `SATA` - 普通IO","enum":["ESSD","SSD","GPSSD","SAS","SATA"],"example":"SSD","type":"string"}},"description":null,"group_id":"fe7dbee2e20f4aa589be7dce935a38ad","host":"appstream.cn-north-4.myhuaweicloud.com","id":"0a67e0e60a7f46ebaa3419bbaad8492a","info_version":"v1","method":"post","name":"CreateServerGroup","parameters":{},"paths":{"/v1/{project_id}/app-server-groups":{"post":{"description":"创建服务器组。\n> - 服务器组是一组相同配置的服务器集合,服务器组内的服务器使用同一镜像创建,配置相同,运行相同的应用程序。用户在打开云应用时,会根据调度规则选取组内的一台可用服务器进行连接。","operationId":"CreateServerGroup","parameters":[{"description":"用户Token。\n通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","maxLength":2147483647,"minLength":1,"name":"X-Auth-Token","required":false,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXXX..."},{"description":"项目唯一标识。","in":"path","maxLength":128,"minLength":1,"name":"project_id","required":true,"type":"string","x-example":"2b31ed520xxxxxxebedb6e57xxxxxxxx"},{"description":"创建服务器组请求内容。","in":"body","name":"CreateServerGroupRequestBody","required":true,"schema":{"$ref":"#/definitions/CreateServerGroupReq"}}],"responses":{"200":{"description":"成功响应。","examples":{"application/json":{"app_type":"COMMON_APP","create_time":"2023-06-06T14:14:36.416Z","description":"","extra_session_size":1,"extra_session_type":"GPU","id":"bc05da52-89df-45ba-8146-13fe3ce7c45a","image_id":"0fd6c925-6349-49d6-8788-48263b129854","is_vdi":false,"name":"ApiExpirezSr5_20230606221433888186","os_type":"Windows","ou_name":"","product_id":"workspace.appstream.general.xlarge.2","subnet_id":"a5842cb4-5718-4b0a-8b27-3a3e9c74f977","system_disk_size":60,"system_disk_type":"SATA","update_time":"2023-06-06T14:14:36.416Z"}},"schema":{"$ref":"#/definitions/ServerGroup"}},"400":{"description":"由于包含语法错误,当前请求无法被服务器理解。","schema":{"$ref":"#/definitions/BadRequestErrorResp"}},"401":{"description":"鉴权失败。","schema":{"$ref":"#/definitions/UnauthorizedErrorResp"}},"403":{"description":"没有操作权限。","schema":{"$ref":"#/definitions/ForbiddenErrorResp"}},"404":{"description":"找不到资源。","schema":{"$ref":"#/definitions/NotFoundErrorResp"}},"405":{"description":"请求中指定的方法不被允许。","schema":{"$ref":"#/definitions/MethodNotAllowedErrorResp"}},"500":{"description":"服务内部错误,具体返回错误码请参见错误码说明。","schema":{"$ref":"#/definitions/InternalServerErrorResp"}},"503":{"description":"服务不可用。","schema":{"$ref":"#/definitions/ServiceUnavailableErrorResp"}}},"schemes":["https"],"security":[{"apig-auth-iam-used-authn5":[]}],"summary":"创建服务器组","tags":["ServerGroup"],"x-api-type":"open-api","x-apiexplorer-hide":"N","x-apig-group":"internal,public","x-apigateway-backend":{"httpVpcEndpoints":{"description":"","method":"post","name":"wks-apsmanager-lb","path":"/v1/{project_id}/app-server-groups","scheme":"https","timeout":30000},"parameters":[{"description":"","in":"header","name":"X-Auth-Token","origin":"request","value":"X-Auth-Token"},{"description":"","in":"path","name":"project_id","origin":"request","value":"project_id"}],"type":"HTTP-VPC"},"x-apigateway-cors":false,"x-apigateway-match-mode":"NORMAL","x-apigateway-ratelimit":"workspace_default_operate","x-apigateway-request-type":"public","x-is-registered":"Y","x-order":1,"x-request-examples-1":{"app_type":"COMMON_APP","availability_zone":"","description":"","extra_session_size":1,"extra_session_type":"GPU","image_id":"","image_product_id":"00301-2019002-0--0","image_type":"private","ip_virtual":{"enable":false},"is_vdi":false,"name":"APIExplore测试应用服务器组","os_type":"Windows","primary_server_group_id":"e5d5-4836-b9de-19f22ac15175","product_id":"workspace.appstream.general.xlarge.2","route_policy":{"max_session":1},"server_group_status":false,"subnet_id":"a5842cb4-5718-4b0a-8b27-3a3e9c74f977","system_disk_size":60,"system_disk_type":"SATA","vpc_id":"59785ba5-e5d5-4836-b9de-19f22ac15175"},"x-request-examples-url-1":"POST /v1/a4da8115c9d8464ead3a38309130523f/app-server-groups","x-support-hcs":"Y","x-support-sdk":"Y"}}},"product_short":"WorkspaceApp","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":{"apig-auth-app":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-type":"AppSigv1"},"apig-auth-iam":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM"},"apig-auth-iam-used-authn5":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-opt":{"inner-auth-type":"iam_auth_n5"},"x-apigateway-auth-type":"IAM"}},"summary":"创建服务器组","tags":"服务器组管理","uri":null,"version":"2.0"}