diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/appstream-center/2021-09-01 | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/appstream-center/2021-09-01')
| -rw-r--r-- | data/zh_cn/appstream-center/2021-09-01/api-docs.php | 17939 |
1 files changed, 9559 insertions, 8380 deletions
diff --git a/data/zh_cn/appstream-center/2021-09-01/api-docs.php b/data/zh_cn/appstream-center/2021-09-01/api-docs.php index 77fce83..4088cfc 100644 --- a/data/zh_cn/appstream-center/2021-09-01/api-docs.php +++ b/data/zh_cn/appstream-center/2021-09-01/api-docs.php @@ -1,193 +1,171 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'appstream-center', - 'version' => '2021-09-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'appstream-center', 'version' => '2021-09-01'], 'directories' => [ [ - 'id' => 166315, - 'title' => '地域', - 'type' => 'directory', 'children' => [ - 'ListRegions', + [ + 'children' => ['ListDesktopAgentRuntime'], + 'type' => 'directory', + 'title' => 'Agent运行时管理', + 'id' => 448097, + ], + [ + 'children' => ['GetRuntimeModelConfig', 'ConfigRuntimeModelTemplate', 'RemoveRuntimeModelTemplate', 'ListModelTemplateResourceGroup', 'ConfigResourceGroupModelTemplate', 'RemoveResourceGroupModelTemplate'], + 'type' => 'directory', + 'title' => 'Agent模型管理', + 'id' => 448098, + ], + [ + 'children' => ['GetRuntimeChannel', 'ConfigRuntimeChannel', 'RemoveRuntimeChannel'], + 'type' => 'directory', + 'title' => 'Agent通道管理', + 'id' => 448099, + ], + [ + 'children' => ['CreateModelTemplate', 'UpdateModelTemplate', 'DeleteModelTemplate', 'ListModelTemplates', 'CreateModelProviderTemplate', 'UpdateModelProviderTemplate', 'DeleteModelProviderTemplate', 'GetModelProviderTemplate', 'ListModelProviderTemplates', 'BatchCreateLlmTemplates', 'DeleteLlmTemplate', 'ListLlmTemplates'], + 'type' => 'directory', + 'title' => '模型分组管理', + 'id' => 448100, + ], ], + 'type' => 'directory', + 'title' => 'Agent管理', + 'id' => 448096, ], [ - 'id' => 166366, - 'title' => '资源', + 'children' => ['ListRegions'], 'type' => 'directory', - 'children' => [ - 'ListNodes', - 'ModifyNodePoolAmount', - 'ListNodeInstanceType', - 'GetResourcePrice', - 'GetResourceRenewPrice', - ], + 'title' => '地域', + 'id' => 448101, ], [ - 'id' => 286385, - 'title' => '镜像', + 'children' => ['ListNodes', 'ModifyNodePoolAmount', 'ListNodeInstanceType', 'GetResourcePrice', 'GetResourceRenewPrice'], 'type' => 'directory', - 'children' => [ - 'ListImage', - 'CreateImageByInstance', - 'StartTaskForDistributeImage', - 'DeleteImage', - ], + 'title' => '资源', + 'id' => 448102, ], [ - 'id' => 166320, - 'title' => '交付组', + 'children' => ['ListImage', 'CreateImageByInstance', 'StartTaskForDistributeImage', 'DeleteImage'], 'type' => 'directory', - 'children' => [ - 'CreateAppInstanceGroup', - 'GetAppInstanceGroup', - 'ListAppInstanceGroup', - 'PageListAppInstanceGroupUser', - 'RenewAppInstanceGroup', - 'UpdateAppInstanceGroupImage', - 'ModifyAppInstanceGroupAttribute', - 'ModifyNodePoolAttribute', - 'AuthorizeInstanceGroup', - 'LogOffAllSessionsInAppInstanceGroup', - 'DeleteAppInstanceGroup', - 'ModifyAppPolicy', - 'ListAuthorizedUserGroups', - ], + 'title' => '镜像', + 'id' => 448103, ], [ - 'id' => 182244, - 'title' => '应用实例', + 'children' => ['CreateAppInstanceGroup', 'GetAppInstanceGroup', 'ListAppInstanceGroup', 'PageListAppInstanceGroupUser', 'RenewAppInstanceGroup', 'UpdateAppInstanceGroupImage', 'ModifyAppInstanceGroupAttribute', 'ModifyNodePoolAttribute', 'AuthorizeInstanceGroup', 'LogOffAllSessionsInAppInstanceGroup', 'DeleteAppInstanceGroup', 'ModifyAppPolicy', 'ListAuthorizedUserGroups'], 'type' => 'directory', - 'children' => [ - 'ListAppInstances', - 'DeleteAppInstances', - 'ListPersistentAppInstances', - ], + 'title' => '交付组', + 'id' => 448104, ], [ - 'id' => 180891, - 'title' => '连接', + 'children' => ['ListAppInstances', 'DeleteAppInstances', 'ListPersistentAppInstances'], 'type' => 'directory', - 'children' => [ - 'GetConnectionTicket', - 'Unbind', - 'ListBindInfo', - ], + 'title' => '应用实例', + 'id' => 448105, ], [ - 'id' => 182247, - 'title' => '调试', + 'children' => ['GetConnectionTicket', 'Unbind', 'ListBindInfo'], 'type' => 'directory', - 'children' => [ - 'CreateImageFromAppInstanceGroup', - 'GetDebugAppInstance', - ], + 'title' => '连接', + 'id' => 448106, ], [ - 'id' => 170452, - 'title' => 'OTA升级', + 'children' => ['CreateImageFromAppInstanceGroup', 'GetDebugAppInstance'], 'type' => 'directory', - 'children' => [ - 'ListOtaTask', - 'GetOtaTaskByTaskId', - 'ApproveOtaTask', - ], + 'title' => '调试', + 'id' => 448107, ], [ - 'id' => 178496, - 'title' => '管理员账号', + 'children' => ['ListOtaTask', 'GetOtaTaskByTaskId', 'ApproveOtaTask'], 'type' => 'directory', - 'children' => [ - 'ListTenantConfig', - 'ModifyTenantConfig', - ], + 'title' => 'OTA升级', + 'id' => 448108, ], [ - 'id' => 203812, - 'title' => '资源标签', + 'children' => ['ListTenantConfig', 'ModifyTenantConfig'], 'type' => 'directory', - 'children' => [ - 'ListTagCloudResources', - 'TagCloudResources', - 'UntagCloudResources', - ], + 'title' => '管理员账号', + 'id' => 448109, ], [ - 'id' => 263171, - 'title' => '无影工作站', + 'children' => ['ListTagCloudResources', 'TagCloudResources', 'UntagCloudResources'], 'type' => 'directory', - 'children' => [ - 'DescribeWuyingServerEipInfo', - 'CreateWuyingServer', - 'ListWuyingServer', - 'StartWuyingServer', - 'StopWuyingServer', - 'RestartWuyingServer', - 'ModifyWuyingServerAttribute', - 'UpdateWuyingServerImage', - 'RenewWuyingServer', - 'DeleteWuyingServer', - ], + 'title' => '资源标签', + 'id' => 448110, ], [ - 'id' => 313380, - 'title' => '其他', + 'children' => ['DescribeWuyingServerEipInfo', 'CreateWuyingServer', 'ListWuyingServer', 'StartWuyingServer', 'StopWuyingServer', 'RestartWuyingServer', 'ModifyWuyingServerAttribute', 'UpdateWuyingServerImage', 'RenewWuyingServer', 'DeleteWuyingServer'], 'type' => 'directory', - 'children' => [ - 'ModifyBrowserInstanceGroup', - ], + 'title' => '无影工作站', + 'id' => 448111, + ], + [ + 'children' => ['ModifyBrowserInstanceGroup', 'AssignWuyingServerPrivateAddresses', 'DeliverToUserSls', 'DescribeWuyingServer', 'ListModelProviderEndpoints', 'UnassignWuyingServerPrivateAddresses'], + 'type' => 'directory', + 'title' => '其他', + 'id' => 448112, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'ListRegions' => [ - 'summary' => '查询无影云应用支持的地域。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ApproveOtaTask' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'ProductType', - 'in' => 'query', + 'name' => 'AppInstanceGroupId', + 'in' => 'formData', + 'schema' => ['title' => '实例组id', 'description' => '交付组ID。可调用[ListAppInstanceGroup](~~ListAppInstanceGroup~~)接口获取。', 'type' => 'string', 'required' => true, 'example' => 'aig-9ciijz60n4xsv****'], + ], + [ + 'name' => 'BizRegionId', + 'in' => 'formData', 'schema' => [ - 'description' => '指定产品类型。', + 'title' => '请求发起者所在地域', + 'description' => '交付组所属的地域ID。可以调用[ListRegions](~~ListRegions~~)查询无影云应用支持的地域列表。', 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], - 'example' => 'CloudApp', + 'required' => true, + 'enumValueTitles' => [], + 'example' => 'cn-hangzhou', ], ], [ - 'name' => 'BizSource', - 'in' => 'query', + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => ['title' => 'ota任务id', 'description' => 'OTA升级任务ID。可调用[ListAppInstanceGroup](~~ListAppInstanceGroup~~)获取。'."\n" + ."\n" + .'> 每次调用`ApproveOtaTask`成功后,都会导致`TaskId`变更。因此,再次调用本接口之前,请重新调用`ListAppInstanceGroup`以获取最新的`TaskId`。', 'type' => 'string', 'required' => true, 'example' => 'ota-be7jzm29wrrz5****'], + ], + [ + 'name' => 'OtaType', + 'in' => 'formData', 'schema' => [ - 'description' => '> 该参数不对外开放使用。', + 'title' => 'ota类型,取值:'."\n" + .'Fota : agent组件更新'."\n" + .'ImageUpdate : 镜像更新'."\n" + .'AppUpdate : 应用更新', + 'description' => 'OTA升级任务类型。', 'type' => 'string', - 'required' => false, - 'example' => 'null', + 'required' => true, + 'enumValueTitles' => ['Fota' => '无影系统组件更新'], + 'example' => 'Fota', + 'enum' => ['Fota', 'ImageUpdate', 'AppUpdate'], ], ], + [ + 'name' => 'StartTime', + 'in' => 'formData', + 'schema' => ['title' => '开始时间,iso8601格式', 'description' => 'OTA升级任务的开始时间。按照ISO 8601格式填写。', 'type' => 'string', 'format' => 'iso8601', 'required' => true, 'example' => '2022-08-04T14:36:00+08:00'], + ], ], 'responses' => [ 200 => [ @@ -196,46 +174,40 @@ 'description' => '返回信息集合。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'RegionModels' => [ - 'description' => '地域ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '地域ID。', - 'type' => 'object', - 'properties' => [ - 'regionId' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'cn-hangzhou', - ], - ], - 'example' => 'cn-hangzhou', - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'Code' => ['description' => '执行结果。返回`success`表示成功,否则将返回错误信息。', 'type' => 'string', 'example' => 'OtaTask.Running'], + 'Message' => ['description' => '错误信息。当`Code`为`success`时,不返回该参数。', 'type' => 'string', 'example' => 'The task is running and cannot be sumitted.'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"RegionModels\\": [\\n {\\n \\"regionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询支持的地域', - 'description' => '> 通过该接口查询到的地域,并非全部是可用地域。关于可用地域的信息,参见[支持的地域](~~426036~~)。', - ], - 'ListNodes' => [ - 'summary' => '查询资源节点列表。', - 'methods' => [ - 'post', - 'get', + 'title' => '设置OTA升级执行时间', + 'summary' => '设置OTA升级的执行时间。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApproveOtaTask'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ModifyAppInstanceGroupAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Code\\": \\"OtaTask.Running\\",\\n \\"Message\\": \\"The task is running and cannot be sumitted.\\"\\n}","type":"json"}]', + ], + 'AssignWuyingServerPrivateAddresses' => [ + 'summary' => '为研发主机分配辅助私有IP', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -244,138 +216,56 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '265984', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingEP3FXS', - ], + 'abilityTreeNodes' => ['FEATUREappstreamingU1TTUH'], 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'PageSize', - 'in' => 'formData', - 'schema' => [ - 'description' => '每页的查询结果数量。取值范围:1\\~200。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'formData', - 'schema' => [ - 'description' => '需展示的查询结果页码,从1开始。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'AppInstanceGroupId', + 'name' => 'WuyingServerId', 'in' => 'formData', - 'schema' => [ - 'description' => '交付组ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-53fvrq1oanz6c****', - ], + 'schema' => ['title' => '研发主机ID。', 'description' => '研发主机ID。', 'type' => 'string', 'required' => true, 'example' => 'ws-bp1234567890abcde'], ], [ - 'name' => 'ProductType', + 'name' => 'SecondaryPrivateIpAddressCount', 'in' => 'formData', - 'schema' => [ - 'description' => '产品类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], - 'example' => 'CloudApp', - ], + 'schema' => ['title' => '待分配的辅助私有IP数量。取值范围:1~50。', 'description' => '待分配的辅助私有IP数量。取值范围:1~50。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'PerPageSize' => [ - 'description' => '当前分页页面大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'ToPage' => [ - 'description' => '当前返回是第几页数据。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Count' => [ - 'description' => '可返回的数据总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'NodeModels' => [ - 'description' => '资源节点列表。', + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'AssignedPrivateIpAddresses' => [ + 'title' => '已分配的辅助私有IP地址列表。', + 'description' => '已分配的辅助私有IP地址列表。', 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'NodeId' => [ - 'description' => '资源节点ID。'."\n" - .'> 只有所属交付组的售卖模式为按资源售卖(ChargeResourceMode=Node)时,才会返回本参数。', - 'type' => 'string', - 'example' => 'i-bp13********', - ], - 'ChargeType' => [ - 'description' => '资源节点的付费类型。'."\n" - ."\n" - .'> 只有所属交付组的售卖模式为按资源售卖(ChargeResourceMode=Node)时,才会返回本参数。', - 'type' => 'string', - 'enumValueTitles' => [ - 'PostPaid' => '按量付费(后付费)', - 'PrePaid' => '包年包月(预付费)', - ], - 'example' => 'PostPaid', - ], - ], - ], + 'items' => ['title' => '已分配的辅助私有IP地址。', 'description' => '已分配的辅助私有IP地址。', 'type' => 'string', 'example' => '10.0.0.2'], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '无影工作站分配辅助私有IP地址', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"PerPageSize\\": 10,\\n \\"ToPage\\": 1,\\n \\"Count\\": 100,\\n \\"NodeModels\\": [\\n {\\n \\"NodeId\\": \\"i-bp13********\\",\\n \\"ChargeType\\": \\"PostPaid\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询资源节点列表', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"AssignedPrivateIpAddresses\\": [\\n \\"10.0.0.2\\"\\n ]\\n}","type":"json"}]', ], - 'ModifyNodePoolAmount' => [ - 'summary' => '包年包月交付组节点数量升级。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'AuthorizeInstanceGroup' => [ + 'summary' => '为交付组添加或移除分配用户。只有添加到分配用户的用户可访问云应用。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -386,297 +276,109 @@ 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeCode' => '263378', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingU1TTUH', - ], + 'chargeType' => 'free', + 'abilityTreeCode' => '83450', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ProductType', - 'in' => 'formData', - 'schema' => [ - 'title' => '产品类型。', - 'description' => '产品类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], - 'example' => 'CloudApp', - ], - ], - [ 'name' => 'AppInstanceGroupId', 'in' => 'formData', - 'schema' => [ - 'title' => '交付组ID。', - 'description' => '交付组ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-9ciijz60n4xsv****', - ], + 'schema' => ['description' => '交付组ID。可调用[ListAppInstanceGroup](~~428506~~)接口获取。', 'type' => 'string', 'required' => true, 'example' => 'aig-9ciijz60n4xsv****', 'maxItems' => 100], ], [ - 'name' => 'NodePool', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'title' => '节点池相关变配参数', - 'description' => '节点池变配相关参数。', - 'type' => 'object', - 'properties' => [ - 'NodeAmount' => [ - 'title' => '升级后固定节点的数量', - 'description' => '升级后预付费节点的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - 'PrePaidNodeAmountModifyMode' => [ - 'title' => '预付费节点修改模式。EXPAND_FROM_POST_PAID_EXPLICIT:指定按量节点转换。', - 'description' => '预付费节点修改模式。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'EXPAND_FROM_POST_PAID_EXPLICIT' => '指定按量节点转换', - ], - 'example' => 'EXPAND_FROM_POST_PAID_EXPLICIT', - ], - 'PrePaidNodeAmountModifyNodeIds' => [ - 'title' => '待修改计费类型节点列表。', - 'description' => '待修改计费类型节点列表。', - 'type' => 'array', - 'items' => [ - 'description' => '待修改计费类型的节点。', - 'type' => 'string', - 'required' => false, - 'example' => 'i-fgssxxx', - ], - 'required' => false, - ], - ], - 'required' => true, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'Data' => [ - 'description' => '返回数据对象。', - 'type' => 'object', - 'properties' => [ - 'OrderId' => [ - 'description' => '订单ID。', - 'type' => 'string', - 'example' => '23429322113****', - ], - ], - ], - ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Data\\": {\\n \\"OrderId\\": \\"23429322113****\\"\\n }\\n}","type":"json"}]', - 'title' => '资源节点池中节点变配', - ], - 'ListNodeInstanceType' => [ - 'summary' => '查询创建交付组时可选购的资源规格。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ 'name' => 'ProductType', - 'in' => 'query', + 'in' => 'formData', 'schema' => [ - 'description' => '产品类型。', + 'description' => '产品类型。'."\n", 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], + 'enumValueTitles' => ['CloudApp' => '无影云应用'], 'example' => 'CloudApp', ], ], [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'description' => '需展示的查询结果页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '每页的查询结果数量。取值范围:1~100。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '10', - ], - ], - [ - 'name' => 'OsType', - 'in' => 'query', + 'name' => 'AuthorizeUserIds', + 'in' => 'formData', + 'style' => 'flat', 'schema' => [ - 'description' => '支持的操作系统类型。', - 'type' => 'string', + 'description' => '要添加交付组授权的用户名列表。可设置1\\~100个。', + 'type' => 'array', + 'items' => ['description' => '要添加交付组授权的用户名。可调用[DescribeUsers](~~436936~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'alice'], 'required' => false, - 'enumValueTitles' => [ - 'Windows' => 'Windows操作系统', - ], - 'example' => 'Windows', + 'maxItems' => 200, ], ], [ - 'name' => 'BizRegionId', - 'in' => 'query', + 'name' => 'UnAuthorizeUserIds', + 'in' => 'formData', + 'style' => 'flat', 'schema' => [ - 'description' => '资源所属的地域ID。关于支持的地域详情,请参见[使用限制](~~426036~~)。', - 'type' => 'string', + 'description' => '要移除交付组授权的用户名列表。可设置1\\~100个。', + 'type' => 'array', + 'items' => ['description' => '要移除交付组授权的用户名。可调用[DescribeUsers](~~436936~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'tom'], 'required' => false, - 'enumValueTitles' => [ - 'cn-shanghai' => '华东2(上海)', - 'cn-hangzhou' => '华东1(杭州)', - ], - 'example' => 'cn-hangzhou', + 'maxItems' => 200, ], ], [ - 'name' => 'Language', - 'in' => 'query', + 'name' => 'UserMeta', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en-US' => '英语(美国)', - 'zh-CN' => '简体中文', + 'description' => '用户信息。', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'description' => '用户类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['ad' => 'AD账号', 'simple' => '无影便捷账号'], + 'example' => 'simple', + ], + 'AdDomain' => ['description' => 'AD域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], - 'example' => 'zh-CN', - ], - ], - [ - 'name' => 'NodeInstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => '指定要查询的资源规格类型。如果不填写,则返回所有规格类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'appstreaming.vgpu.4c8g.2g', - ], - ], - [ - 'name' => 'NodeInstanceTypeFamily', - 'in' => 'query', - 'schema' => [ - 'description' => '规格族', - 'type' => 'string', - 'required' => false, - 'example' => 'appstreaming.vgpu', - ], - ], - [ - 'name' => 'Cpu', - 'in' => 'query', - 'schema' => [ - 'description' => 'CPU核数。', - 'type' => 'number', - 'format' => 'float', - 'required' => false, - 'example' => '2', - ], - ], - [ - 'name' => 'Gpu', - 'in' => 'query', - 'schema' => [ - 'description' => 'GPU数量。', - 'type' => 'number', - 'format' => 'float', 'required' => false, - 'example' => '1', ], ], [ - 'name' => 'Memory', - 'in' => 'query', - 'schema' => [ - 'description' => '内存大小,单位为MB。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10240', - ], + 'name' => 'AppInstancePersistentId', + 'in' => 'formData', + 'schema' => ['title' => '持久会话ID。', 'description' => '持久会话ID。', 'type' => 'string', 'required' => false, 'example' => 'p-0cc7s3mw2fg4j****'], ], [ - 'name' => 'GpuMemory', - 'in' => 'query', - 'schema' => [ - 'description' => '显存大小。对于GPU型云电脑,该返回值有实际意义。单位:MB。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2048', - ], + 'name' => 'AvatarId', + 'in' => 'formData', + 'schema' => ['title' => '用户分身ID。', 'description' => '用户分身ID。'."\n" + ."\n" + .'> 此参数不开放使用。', 'type' => 'string', 'required' => false, 'example' => 'default', 'default' => 'default'], ], [ - 'name' => 'SortType', - 'in' => 'query', + 'name' => 'AuthorizeUserGroupIds', + 'in' => 'formData', + 'style' => 'flat', 'schema' => [ - 'title' => 'DESC/ASC', - 'description' => 'DESC/ASC', - 'type' => 'string', + 'title' => '授权用户组ID列表。', + 'description' => '授权用户组ID列表。', + 'type' => 'array', + 'items' => ['title' => '授权用户组ID。', 'description' => '授权用户组ID。', 'type' => 'string', 'required' => false, 'example' => 'ug-00001'], 'required' => false, - 'example' => 'ASC', + 'maxItems' => 20, ], ], [ - 'name' => 'OrderBy', - 'in' => 'query', + 'name' => 'UnAuthorizeUserGroupIds', + 'in' => 'formData', + 'style' => 'flat', 'schema' => [ - 'title' => 'CPU/Memory', - 'description' => 'CPU/Memory', - 'type' => 'string', + 'title' => '取消授权用户组ID列表。', + 'description' => '取消授权用户组ID列表。', + 'type' => 'array', + 'items' => ['title' => '取消授权用户组ID列表。', 'description' => '取消授权用户组ID列表。', 'type' => 'string', 'required' => false, 'example' => 'ug-00002'], 'required' => false, - 'example' => 'CPU', + 'maxItems' => 20, ], ], ], @@ -684,674 +386,152 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => '返回信息集合。', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'TotalCount' => [ - 'description' => '查询结果的总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'PageSize' => [ - 'description' => '每页的查询结果数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '当前展示的查询结果页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'NodeInstanceTypeModels' => [ - 'description' => '资源规格列表。', - 'type' => 'array', - 'items' => [ - 'description' => '资源规格。', - 'type' => 'object', - 'properties' => [ - 'NodeInstanceType' => [ - 'description' => '资源规格类型ID。', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'appstreaming.vgpu.4c8g.2g', - ], - 'NodeInstanceTypeFamily' => [ - 'description' => '资源规格族。', - 'type' => 'string', - 'enumValueTitles' => [ - 'appstreaming.general' => '无影-通用型', - 'appstreaming.vgpu' => '无影-图形型', - ], - 'example' => 'appstreaming.vgpu', - ], - 'Cpu' => [ - 'description' => 'vCPU数量。', - 'type' => 'string', - 'example' => '4', - ], - 'Gpu' => [ - 'description' => 'GPU数量。', - 'type' => 'string', - 'example' => '2', - ], - 'Memory' => [ - 'description' => '内存大小,单位为MB。'."\n" - ."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8192', - ], - 'GpuMemory' => [ - 'description' => '显卡内存大小,单位为MB。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8192', - ], - 'MaxCapacity' => [ - 'description' => '最大并发会话数,即单个资源可同时连接的会话数。如果同时连接的会话数过多,可能导致应用的使用体验下降。取值范围因资源规格不同而不同。各资源规格对应的取值范围分别是:'."\n" - ."\n" - .'- appstreaming.general.2c4g: 1;'."\n" - .'- appstreaming.general.4c8g:1\\~2;'."\n" - .'- appstreaming.general.8c16g:1\\~4;'."\n" - .'- appstreaming.vgpu.8c16g.4g:1\\~4;'."\n" - .'- appstreaming.vgpu.8c31g.16g:1\\~4;'."\n" - .'- appstreaming.vgpu.14c93g.12g:1\\~7;'."\n" - .'- appstreaming.vgpu.4c10g.2gt4:1\\~2;'."\n" - .'- appstreaming.vgpu.4c16g.2ga10:1\\~2;'."\n" - .'- appstreaming.vgpu.8c16g.4g:1\\~4;'."\n" - .'- appstreaming.vgpu.8c31g.16g:1\\~4;'."\n" - .'- appstreaming.vgpu.8c16g.4gt4:1\\~4;'."\n" - .'- appstreaming.vgpu.8c32g.4ga10:1\\~4;'."\n" - .'- appstreaming.vgpu.12c46g.11g28:1\\~6;'."\n" - .'- appstreaming.vgpu.14c93g.12g:1\\~7;'."\n" - .'- appstreaming.vgpu.16c32g.8g:1\\~8;'."\n" - .'- appstreaming.vgpu.16c62g.8ga10:1\\~8;', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'NodeTypeName' => [ - 'description' => '资源规格名称。', - 'type' => 'string', - 'example' => '无影-通用型_4核8G', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], ], ], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TotalCount\\": 6,\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"NodeInstanceTypeModels\\": [\\n {\\n \\"NodeInstanceType\\": \\"appstreaming.vgpu.4c8g.2g\\",\\n \\"NodeInstanceTypeFamily\\": \\"appstreaming.vgpu\\",\\n \\"Cpu\\": \\"4\\",\\n \\"Gpu\\": \\"2\\",\\n \\"Memory\\": 8192,\\n \\"GpuMemory\\": 8192,\\n \\"MaxCapacity\\": 4,\\n \\"NodeTypeName\\": \\"无影-通用型_4核8G\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询资源规格', - ], - 'GetResourcePrice' => [ - 'summary' => '查询资源的价格信息。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '为交付组添加或移除分配用户', + 'description' => '> 变更分配用户后,选中的用户将收到相应的通知邮件。一般需要等待2分钟左右,变更才会在终端生效。'."\n", + 'changeSet' => [ + ['createdAt' => '2025-06-25T07:38:22.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-03-27T09:42:29.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-11-27T06:46:27.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-10-22T13:02:49.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-07-24T12:04:58.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2021-09-26T14:02:32.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2021-09-26T14:02:32.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2021-09-26T14:02:32.000Z', 'description' => '请求参数发生变更'], ], - 'security' => [ - [ - 'AK' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AuthorizeInstanceGroup'], ], ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'NodeInstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => '购买资源的规格类型ID,可通过[ListNodeInstanceType](~~428502~~)接口获取。'."\n" - ."\n" - .'AppInstanceType与NodeInstanceType其中一个必须有值。若两个都有值则使用NodeInstanceType。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'appstreaming.vgpu.8c16g.4g' => '无影-图形型_8核16G 4G显存', - 'appstreaming.general.8c16g' => '无影-通用型_8核16G', - 'appstreaming.general.4c8g' => '无影-通用型_4核8G', - 'appstreaming.vgpu.14c93g.12g' => '无影-图形型_14核93G 12G显存', - 'appstreaming.vgpu.8c31g.16g' => '无影-图形型_8核31G 16G显存', - ], - 'example' => 'appstreaming.vgpu.4c8g.2g', - ], - ], + 'ramActions' => [ [ - 'name' => 'ProductType', - 'in' => 'query', - 'schema' => [ - 'description' => '产品类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:AuthorizeInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'example' => 'CloudApp', - ], - ], - [ - 'name' => 'ChargeType', - 'in' => 'query', - 'schema' => [ - 'description' => '付费方式。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'PostPaid' => '按量付费', - 'PrePaid' => '包年包月', - ], - 'example' => 'PrePaid', - ], - ], - [ - 'name' => 'Period', - 'in' => 'query', - 'schema' => [ - 'description' => '资源购买时长的数量部分,与`PeriodUnit`一起表示完整的购买时长。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'PeriodUnit', - 'in' => 'query', - 'schema' => [ - 'description' => '资源购买时长的单位部分,与`Period`一起表示完整的购买时长。可使用的`Period`与`PeriodUnit`的搭配如下:'."\n" - ."\n" - .'- 1 Week(1周)'."\n" - .'- 1 Month(1个月)'."\n" - .'- 2 Month(2个月)'."\n" - .'- 3 Month(3个月)'."\n" - .'- 6 Month(6个月)'."\n" - .'- 1 Year(1年)'."\n" - .'- 2 Year(2年)'."\n" - .'- 3 Year(3年)'."\n" - ."\n" - .'> 该参数区分大小写。例如,`Week`是有效的,`week`是无效的。另外,如果请求参数不符合上述搭配,例如`2 Week`,虽然调用本接口会成功,但最终在下单阶段会出错。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'Month' => '月', - 'Year' => '年', - 'Week' => '周', - ], - 'example' => 'Week', - ], - ], - [ - 'name' => 'Amount', - 'in' => 'query', - 'schema' => [ - 'description' => '购买资源的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'BizRegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '交付组所属的地域ID。关于支持的地域详情,请参见[使用限制](~~426036~~)。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'cn-shanghai' => '华东2(上海)', - 'cn-hangzhou' => '华东1(杭州)', - ], - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'AppInstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => '购买会话的规格类型ID,可通过`ListAppInstanceType`接口获取。'."\n" - ."\n" - .'AppInstanceType与NodeInstanceType其中一个必须有值。若两个都有值则使用NodeInstanceType。', - 'type' => 'string', - 'required' => false, - 'example' => 'appstreaming.general', ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回信息集合。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'Code' => [ - 'description' => '出错时的错误码。', - 'type' => 'string', - 'example' => 'InvalidParameter.ProductType', - ], - 'Message' => [ - 'description' => '出错时的错误消息。', - 'type' => 'string', - 'example' => 'The parameter ProductType is invalid.', - ], - 'PriceModel' => [ - 'description' => '价格对象。'."\n" - ."\n" - .'请求参数NodeInstanceType有值时返回此参数。', - 'type' => 'object', - 'properties' => [ - 'Price' => [ - 'description' => '价格详情。', - 'type' => 'object', - 'properties' => [ - 'OriginalPrice' => [ - 'description' => '原价。', - 'type' => 'string', - 'example' => '11.00', - ], - 'DiscountPrice' => [ - 'description' => '折减的价格,原价减去折减的价格即为实际价格。', - 'type' => 'string', - 'example' => '1.00', - ], - 'TradePrice' => [ - 'description' => '实际价格,原价减去折减的价格即为实际价格。', - 'type' => 'string', - 'example' => '10.00', - ], - 'Currency' => [ - 'description' => '币种。', - 'type' => 'string', - 'example' => 'CNY', - ], - 'Promotions' => [ - 'description' => '优惠券元数据。', - 'type' => 'array', - 'items' => [ - 'description' => '优惠券元数据。', - 'type' => 'object', - 'properties' => [ - 'OptionCode' => [ - 'description' => '优惠券代号。', - 'type' => 'string', - 'example' => 'coupon****', - ], - 'PromotionId' => [ - 'description' => '优惠券ID。', - 'type' => 'string', - 'example' => '17440009****', - ], - 'PromotionName' => [ - 'description' => '优惠券名称。', - 'type' => 'string', - 'example' => '**优惠', - ], - 'PromotionDesc' => [ - 'description' => '优惠券描述。', - 'type' => 'string', - 'example' => '**活动期间的优惠', - ], - 'Selected' => [ - 'description' => '是否选用优惠券。', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '选用', - 'false' => '不选用', - ], - 'example' => 'true', - ], - ], - ], - ], - ], - ], - 'Rules' => [ - 'description' => '价格计算规则。', - 'type' => 'array', - 'items' => [ - 'description' => '价格计算规则。', - 'type' => 'object', - 'properties' => [ - 'RuleId' => [ - 'description' => '价格计算规则ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '102002100393****', - ], - 'Description' => [ - 'description' => '价格计算规则描述。', - 'type' => 'string', - 'example' => '用户优惠', - ], - ], - ], - ], - ], - ], - 'PriceList' => [ - 'description' => '价格对象列表。'."\n" - ."\n" - .'请求参数AppInstanceType有值时返回此参数。', - 'type' => 'array', - 'items' => [ - 'description' => '价格对象。', - 'type' => 'object', - 'properties' => [ - 'PriceType' => [ - 'description' => '价格类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'Connected' => '使用阶段', - 'Standby' => '预开阶段', - ], - 'example' => 'Standby', - ], - 'Price' => [ - 'description' => '价格详情。', - 'type' => 'object', - 'properties' => [ - 'OriginalPrice' => [ - 'description' => '原价。', - 'type' => 'string', - 'example' => '6700', - ], - 'DiscountPrice' => [ - 'description' => '折减的价格,原价减去折减的价格即为实际价格。', - 'type' => 'string', - 'example' => '999.0', - ], - 'TradePrice' => [ - 'description' => '实际价格,原价减去折减的价格即为实际价格。', - 'type' => 'string', - 'example' => '5278.0', - ], - 'Currency' => [ - 'description' => '币种。', - 'type' => 'string', - 'example' => 'CNY', - ], - 'Promotions' => [ - 'description' => '优惠券元数据。', - 'type' => 'array', - 'items' => [ - 'description' => '优惠券元数据。', - 'type' => 'object', - 'properties' => [ - 'OptionCode' => [ - 'description' => '优惠券代号。', - 'type' => 'string', - 'example' => 'coupon****', - ], - 'PromotionId' => [ - 'description' => '优惠券ID。', - 'type' => 'string', - 'example' => '1847709****', - ], - 'PromotionName' => [ - 'description' => '优惠券名称。', - 'type' => 'string', - 'example' => '**优惠', - ], - 'PromotionDesc' => [ - 'description' => '优惠券描述。', - 'type' => 'string', - 'example' => '**活动期间的优惠', - ], - 'Selected' => [ - 'description' => '是否选用优惠券。', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '选用', - 'false' => '不选用', - ], - 'example' => 'true', - ], - ], - ], - ], - ], - ], - 'Rules' => [ - 'description' => '价格计算规则。', - 'type' => 'array', - 'items' => [ - 'description' => '价格计算规则。', - 'type' => 'object', - 'properties' => [ - 'RuleId' => [ - 'description' => '价格计算规则ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '260904273633****', - ], - 'Description' => [ - 'description' => '价格计算规则描述。', - 'type' => 'string', - 'example' => '用户优惠。', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Code\\": \\"InvalidParameter.ProductType\\",\\n \\"Message\\": \\"The parameter ProductType is invalid.\\",\\n \\"PriceModel\\": {\\n \\"Price\\": {\\n \\"OriginalPrice\\": \\"11.00\\",\\n \\"DiscountPrice\\": \\"1.00\\",\\n \\"TradePrice\\": \\"10.00\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"Promotions\\": [\\n {\\n \\"OptionCode\\": \\"coupon****\\",\\n \\"PromotionId\\": \\"17440009****\\",\\n \\"PromotionName\\": \\"**优惠\\",\\n \\"PromotionDesc\\": \\"**活动期间的优惠\\",\\n \\"Selected\\": true\\n }\\n ]\\n },\\n \\"Rules\\": [\\n {\\n \\"RuleId\\": 0,\\n \\"Description\\": \\"用户优惠\\"\\n }\\n ]\\n },\\n \\"PriceList\\": [\\n {\\n \\"PriceType\\": \\"Standby\\",\\n \\"Price\\": {\\n \\"OriginalPrice\\": \\"6700\\",\\n \\"DiscountPrice\\": \\"999.0\\",\\n \\"TradePrice\\": \\"5278.0\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"Promotions\\": [\\n {\\n \\"OptionCode\\": \\"coupon****\\",\\n \\"PromotionId\\": \\"1847709****\\",\\n \\"PromotionName\\": \\"**优惠\\",\\n \\"PromotionDesc\\": \\"**活动期间的优惠\\",\\n \\"Selected\\": true\\n }\\n ]\\n },\\n \\"Rules\\": [\\n {\\n \\"RuleId\\": 0,\\n \\"Description\\": \\"用户优惠。\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询资源价格', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', ], - 'GetResourceRenewPrice' => [ - 'summary' => '查询无影云应用资源的续费价格。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchCreateLlmTemplates' => [ + 'summary' => '批量创建LLM模板', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ProductType', - 'in' => 'query', - 'schema' => [ - 'description' => '产品类型。'."\n", - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], - 'example' => 'CloudApp', - ], + 'name' => 'ModelTemplateId', + 'in' => 'formData', + 'schema' => ['description' => '关联的模型分组ID。', 'type' => 'string', 'required' => false, 'example' => 'mt-xxxx'], ], [ - 'name' => 'Period', - 'in' => 'query', - 'schema' => [ - 'description' => '资源购买时长的数量部分,与`PeriodUnit`一起表示完整的购买时长。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'name' => 'ProviderTemplateId', + 'in' => 'formData', + 'schema' => ['title' => '所属提供商模板 ID', 'description' => '所属模型服务商模板 ID。', 'type' => 'string', 'required' => true, 'example' => 'mpt-xxxx'], ], [ - 'name' => 'PeriodUnit', - 'in' => 'query', + 'name' => 'LlmTemplateItems', + 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => '资源购买时长的单位部分,与`Period`一起表示完整的购买时长。可使用的`Period`与`PeriodUnit`的搭配如下:'."\n" - ."\n" - .'- 1 Week(1周)'."\n" - .'- 1 Month(1个月)'."\n" - .'- 2 Month(2个月)'."\n" - .'- 3 Month(3个月)'."\n" - .'- 6 Month(6个月)'."\n" - .'- 1 Year(1年)'."\n" - .'- 2 Year(2年)'."\n" - .'- 3 Year(3年)'."\n" - ."\n" - .'> 该参数区分大小写。例如,`Week`是有效的,`week`是无效的。另外,如果请求参数不符合上述搭配,例如`2 Week`,虽然调用本接口会成功,但最终在下单阶段会出错。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'Month' => '月', - 'Year' => '年', - 'Week' => '周', + 'description' => '待创建的模型配置列表。', + 'type' => 'array', + 'items' => [ + 'description' => '待创建的模型配置对象。', + 'type' => 'object', + 'properties' => [ + 'LlmCode' => ['description' => '模型编码,同一服务商下不可重复。', 'type' => 'string', 'required' => false, 'example' => 'qwen3.6-plus'], + 'Name' => ['description' => '模型名称。', 'type' => 'string', 'required' => false, 'example' => 'Qwen3.6-Plus'], + 'Description' => ['description' => '模型描述。', 'type' => 'string', 'required' => false, 'example' => '千问Plus系列模型'], + 'Config' => ['description' => '模型配置 JSON 对象。', 'type' => 'string', 'required' => false, 'example' => '{'."\n" + .' "id": "qwen3.6-plus",'."\n" + .' "cost": {'."\n" + .' "input": 0,'."\n" + .' "output": 0,'."\n" + .' "cacheRead": 0,'."\n" + .' "cacheWrite": 0'."\n" + .' },'."\n" + .' "name": "Qwen3.6-Plus",'."\n" + .' "input": ["image", "text"],'."\n" + .' "compat": {'."\n" + .' "supportsUsageInStreaming": true'."\n" + .' },'."\n" + .' "maxTokens": 65536,'."\n" + .' "reasoning": false,'."\n" + .' "contextWindow": 1000000'."\n" + .'}'], + 'IsDefaultModel' => [ + 'description' => '是否设为默认模型,一个模型分组下最多有一个默认模型。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'false', + ], + ], + 'required' => false, ], - 'example' => 'Week', - ], - ], - [ - 'name' => 'AppInstanceGroupId', - 'in' => 'query', - 'schema' => [ - 'description' => '交付组ID。可通过接口[ListAppInstanceGroup](~~428506~~)获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-9ciijz60n4xsv****', + 'required' => false, + 'maxItems' => 100, ], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回信息集合。', + 'title' => 'PlainResult<BatchCreateLlmTemplatesModel>', + 'description' => '请求结果。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], 'Data' => [ - 'description' => '价格对象。', + 'description' => '返回数据对象。', 'type' => 'object', 'properties' => [ - 'Price' => [ - 'description' => '价格详情。', - 'type' => 'object', - 'properties' => [ - 'OriginalPrice' => [ - 'description' => '原价。', - 'type' => 'string', - 'example' => '11'."\n", - ], - 'DiscountPrice' => [ - 'description' => '折减的价格,原价减去折减的价格即为实际价格。', - 'type' => 'string', - 'example' => '1', - ], - 'TradePrice' => [ - 'description' => '实际价格,原价减去折减的价格即为实际价格。', - 'type' => 'string', - 'example' => '10', - ], - 'Currency' => [ - 'description' => '币种。', - 'type' => 'string', - 'example' => 'CNY', - ], - 'Promotions' => [ - 'description' => '优惠券描述。', - 'type' => 'array', - 'items' => [ - 'description' => '优惠券元数据。', - 'type' => 'object', - 'properties' => [ - 'OptionCode' => [ - 'description' => '优惠券代号。', - 'type' => 'string', - 'example' => 'coupon****', - ], - 'PromotionId' => [ - 'description' => '优惠券ID。', - 'type' => 'string', - 'example' => '139965*****', - ], - 'PromotionName' => [ - 'description' => '优惠券名称。', - 'type' => 'string', - 'example' => '**活动', - ], - 'PromotionDesc' => [ - 'description' => '优惠券描述。', - 'type' => 'string', - 'example' => '**活动', - ], - 'Selected' => [ - 'description' => '是否选用优惠券。', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '选用', - 'false' => '不选用', - ], - 'example' => 'true', - ], - ], - ], - ], - ], + 'LlmTemplateIds' => [ + 'title' => '创建成功的 LLM 模板 ID 列表', + 'description' => '创建成功的模型模板 ID 列表。', + 'type' => 'array', + 'items' => ['description' => '模型模板 ID 。', 'type' => 'string', 'example' => 'llmt-xxxx'], ], - 'Rules' => [ - 'description' => '价格计算规则。', + 'SuccessCount' => ['title' => '成功创建的数量', 'description' => '成功创建的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'TotalCount' => ['title' => '总请求数量', 'description' => '总请求数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'SkippedItems' => [ + 'title' => '被跳过的项(UK 已存在)', + 'description' => '被跳过的模型配置项列表。', 'type' => 'array', 'items' => [ - 'description' => '价格计算规则。', + 'description' => '被跳过的模型配置项对象。', 'type' => 'object', 'properties' => [ - 'RuleId' => [ - 'description' => '价格计算规则ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20002****', - ], - 'Description' => [ - 'description' => '价格计算规则描述。', - 'type' => 'string', - 'example' => '**活动', - ], + 'LlmCode' => ['title' => 'LLM 代号', 'description' => '被跳过的模型编码。', 'type' => 'string', 'example' => 'qwen3.5-plus'], + 'Reason' => ['title' => '跳过原因', 'description' => '跳过原因。', 'type' => 'string', 'example' => 'LLM template already exists with same providerTemplateId and llmCode.'], ], ], ], @@ -1361,904 +541,90 @@ ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Data\\": {\\n \\"Price\\": {\\n \\"OriginalPrice\\": \\"11\\\\n\\",\\n \\"DiscountPrice\\": \\"1\\",\\n \\"TradePrice\\": \\"10\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"Promotions\\": [\\n {\\n \\"OptionCode\\": \\"coupon****\\",\\n \\"PromotionId\\": \\"139965*****\\",\\n \\"PromotionName\\": \\"**活动\\",\\n \\"PromotionDesc\\": \\"**活动\\",\\n \\"Selected\\": true\\n }\\n ]\\n },\\n \\"Rules\\": [\\n {\\n \\"RuleId\\": 0,\\n \\"Description\\": \\"**活动\\"\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => '查询资源续费价格', - ], - 'ListImage' => [ - 'summary' => '查询镜像信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '批量创建模型模板', + 'description' => '您可以在无影 Agent 管理中心的模型服务商模板下批量创建模型模板,支持一次性添加多个模型并指定其中一个为默认模型。已存在的模型将自动跳过,不会重复创建。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Data\\": {\\n \\"LlmTemplateIds\\": [\\n \\"llmt-xxxx\\"\\n ],\\n \\"SuccessCount\\": 5,\\n \\"TotalCount\\": 6,\\n \\"SkippedItems\\": [\\n {\\n \\"LlmCode\\": \\"qwen3.5-plus\\",\\n \\"Reason\\": \\"LLM template already exists with same providerTemplateId and llmCode.\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'ConfigResourceGroupModelTemplate' => [ + 'summary' => '配置资源组的模型分组。', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '213313', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingSH8DGI', - 'FEATUREappstreamingDG81PX', - ], + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ImageId', - 'in' => 'formData', - 'schema' => [ - 'title' => '镜像id', - 'description' => '镜像ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'img-bp13mu****', - ], - ], - [ - 'name' => 'ImageName', - 'in' => 'formData', - 'schema' => [ - 'title' => '镜像名称', - 'description' => '镜像名称,支持模糊搜索。', - 'type' => 'string', - 'required' => false, - 'example' => 'DemoImage', - ], - ], - [ - 'name' => 'Status', - 'in' => 'formData', - 'schema' => [ - 'title' => '镜像状态:INIT/CREATING/AVAILABLE/CREATE_FAILED', - 'description' => '镜像状态,用户查询对应状态的镜像,默认是查询所有未删除状态的镜像。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'AVAILABLE' => '可用', - 'INIT' => '初始化中', - 'CREATE_FAILED' => '创建失败', - 'CREATING' => '创建中', - ], - 'example' => 'INIT', - ], - ], - [ - 'name' => 'ImageType', - 'in' => 'formData', - 'schema' => [ - 'title' => '镜像类型', - 'description' => '镜像类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'User' => '自定义镜像', - 'Shared' => '共享镜像', - 'System' => '系统镜像', - 'Community' => '社区镜像', - ], - 'example' => 'User', - ], - ], - [ - 'name' => 'PackageType', - 'in' => 'formData', - 'schema' => [ - 'title' => '镜像封装类型', - 'description' => '镜像封装类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Ecs_Container' => 'ECS+Docker镜像', - 'Ecs' => 'Ecs镜像', - ], - 'example' => 'Ecs', - ], - ], - [ - 'name' => 'OsType', - 'in' => 'formData', - 'schema' => [ - 'title' => '镜像操作系统类型', - 'description' => '镜像操作系统类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Linux' => 'Linux', - 'Unknown' => '未知', - 'Windows' => 'Windows', - 'Android' => 'Android', - ], - 'example' => 'Windows', - ], - ], - [ - 'name' => 'BizType', - 'in' => 'formData', - 'schema' => [ - 'title' => '业务类型', - 'description' => '业务类型。暂不对外透出使用。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'enumValueTitles' => [ - 1 => '[默认值]', - ], - 'example' => '1', - ], - ], - [ - 'name' => 'ProductType', - 'in' => 'formData', - 'schema' => [ - 'title' => '产品类型', - 'description' => '产品类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CloudDesktop' => '无影云电脑', - 'CloudApp' => '无影云应用', - 'WuyingServer' => '无影工作站', - ], - 'example' => 'CloudApp', - ], - ], - [ - 'name' => 'ProtocolType', - 'in' => 'formData', - 'schema' => [ - 'title' => '镜像协议类型', - 'description' => '镜像协议类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'HDX' => 'HDX协议', - 'ASP' => '阿里云自研ASP协议', - ], - 'example' => 'ASP', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'formData', - 'schema' => [ - 'description' => '分页查询时每页的行数。最大值:100。默认值:10。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'formData', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'ProductTypeList', - 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '当镜像支持多个产品时可以支持的产品列表。', - 'type' => 'array', - 'items' => [ - 'description' => '产品类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CloudDesktop' => '无影云电脑', - 'CloudApp' => '无影云应用', - 'WuyingServer' => '无影工作站', - ], - 'example' => 'CloudApp', - ], - 'required' => false, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'BizTypeList', - 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '所有业务类型列表,暂不对外透出使用。', - 'type' => 'array', - 'items' => [ - 'description' => '业务类型。根据您使用的业务填写使用。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'enumValueTitles' => [ - 1 => '[默认值]', - ], - 'example' => '1', - ], - 'required' => false, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'FeatureList', - 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '镜像支持的特征列表。', - 'type' => 'array', - 'items' => [ - 'description' => '镜像支持的特征。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'FotaChannel' => '支持的fota渠道', - 'Builder' => '支持镜像Builder', - 'MultiSession' => '支持多Session', - 'GPU' => '支持GPU', - ], - 'example' => 'GPU', - ], - 'required' => false, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'LanguageType', - 'in' => 'formData', - 'schema' => [ - 'title' => 'zh-CN,zh-HK,en-US,ja-JP,CN,EN,JP,CN-HK', - 'description' => '语言。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en-US' => '英语', - 'zh-HK' => '繁体中文(香港)', - 'zh-CN' => '简体中文', - 'ja-JP' => '日语', - ], - 'example' => 'zh-CN', - ], - ], - [ - 'name' => 'ResourceInstanceType', - 'in' => 'formData', - 'schema' => [ - 'description' => '查找某些固定规格的镜像。', - 'type' => 'string', - 'required' => false, - 'example' => 'eds.enterprise_office.2c4g', - ], - ], - [ - 'name' => 'FotaVersion', + 'name' => 'ResourceGroupId', 'in' => 'formData', - 'schema' => [ - 'description' => '镜像版本信息。', - 'type' => 'string', - 'required' => false, - 'example' => '2.0.3-xxxx', - ], + 'schema' => ['title' => '资源组ID', 'description' => '资源组ID。', 'type' => 'string', 'required' => true, 'example' => 'rg-xxxxx'], ], [ - 'name' => 'PlatformName', + 'name' => 'ModelTemplateId', 'in' => 'formData', - 'schema' => [ - 'description' => '操作系统平台名称。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Ubuntu' => 'Ubuntu操作系统', - 'Debian' => 'Debian操作系统', - 'Windows Server 2022' => 'Windows Server 2022操作系统', - 'Windows Server 2019' => 'Windows Server 2019操作系统', - 'Windows Server 2016' => 'Windows Server 2016操作系统', - 'Windows 11' => 'Windows 11操作系统', - 'Windows 10' => 'Windows 10操作系统', - ], - 'example' => 'Windows Server 2019', - ], - ], - [ - 'name' => 'BizRegionIdList', - 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '支持地域列表。'."\n" - .'无影镜像是中心化的,通过这个查询该镜像部署的地域。', - 'type' => 'array', - 'items' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], - 'required' => false, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'TagList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '标签查询。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '用户自定义的标签Key。', - 'type' => 'string', - 'required' => false, - 'example' => 'env', - ], - 'Value' => [ - 'description' => '用户自定义的标签Value。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'PlatformNameList', - 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '支持的平台类型列表,枚举值参考上面的PlatformName。', - 'type' => 'array', - 'items' => [ - 'description' => '镜像平台名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'Windows 11', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['title' => '模型模板ID', 'description' => '模型分组ID。', 'type' => 'string', 'required' => true, 'example' => 'mt-xxxx'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'ImageBaseInfoModel', - 'description' => '镜像信息结构体。', + 'title' => 'BaseResult', + 'description' => '请求结果。', 'type' => 'object', 'properties' => [ - 'PageSize' => [ - 'title' => '每页展示数据条数。', - 'description' => '每页展示数据条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'title' => '返回数据的页数。', - 'description' => '返回数据的页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Data' => [ - 'title' => '返回对象。', - 'description' => '返回数据对象。', - 'type' => 'array', - 'items' => [ - 'title' => '返回对象。', - 'description' => '返回对象。', - 'type' => 'object', - 'properties' => [ - 'GmtCreate' => [ - 'title' => '创建时间', - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2025-04-25 15:13:57', - ], - 'GmtModified' => [ - 'title' => '更新时间', - 'description' => '更新时间。', - 'type' => 'string', - 'example' => '2025-04-25 15:13:57', - ], - 'AliUid' => [ - 'title' => '租户ID,0是系统镜像', - 'description' => '租户ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123456789', - ], - 'ImageId' => [ - 'title' => '系统镜像id有含义,自定义镜像自动生成', - 'description' => '系统镜像ID有含义,自定义镜像自动生成。', - 'type' => 'string', - 'example' => 'imgc-xxxx', - ], - 'ImageName' => [ - 'title' => '镜像名称', - 'description' => '镜像名称。', - 'type' => 'string', - 'example' => 'DemoImage', - ], - 'ImageType' => [ - 'title' => '镜像类型', - 'description' => '镜像类型。', - 'type' => 'string', - 'example' => 'User', - ], - 'PackageType' => [ - 'title' => '镜像封装类型 ECS/VHD/Container/ECS_APP', - 'description' => '镜像封装类型。', - 'type' => 'string', - 'example' => 'ECS', - ], - 'Description' => [ - 'title' => '镜像描述', - 'description' => '镜像描述。', - 'type' => 'string', - 'example' => '描述', - ], - 'OsType' => [ - 'title' => '镜像类型', - 'description' => '镜像类型。', - 'type' => 'string', - 'example' => 'Windows', - ], - 'ProtocolType' => [ - 'title' => '协议类型 ASP/HDX/ALL', - 'description' => '协议类型。', - 'type' => 'string', - 'example' => 'ASP', - ], - 'BizType' => [ - 'title' => '业务线', - 'description' => '业务类型。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ProductType' => [ - 'title' => '产品线', - 'description' => '产品类型。', - 'type' => 'string', - 'example' => 'CloudApp', - ], - 'VersionId' => [ - 'title' => '镜像版本', - 'description' => '镜像版本。', - 'type' => 'string', - 'example' => 'iv-xxx', - ], - 'OnlineVersionId' => [ - 'title' => '当前镜像最新版本', - 'description' => '当前镜像标记从该子版本读取主镜像信息。(一个镜像是由多个子版本组成)', - 'type' => 'string', - 'example' => 'iv-xxxx', - ], - 'LatestVersionId' => [ - 'title' => '该镜像的最新版本', - 'description' => '该镜像的最新子版本。(一个镜像是由多个子版本组成)', - 'type' => 'string', - 'example' => 'iv-xxx', - ], - 'Status' => [ - 'title' => '状态 ImageStatusEnum', - 'description' => '镜像状态。', - 'type' => 'string', - 'example' => 'INIT', - ], - 'ParentImageId' => [ - 'title' => '父镜像ID,只表示继承关系,系统镜像无父镜像', - 'description' => '父镜像ID,只表示继承关系,系统镜像无父镜像。', - 'type' => 'string', - 'example' => 'imgc-xxx', - ], - 'ParentImageVersion' => [ - 'title' => '父镜像版本', - 'description' => '父镜像版本。', - 'type' => 'string', - 'example' => 'iv-xxx', - ], - 'BaseImageId' => [ - 'title' => '基础镜像ID', - 'description' => '基础镜像ID。', - 'type' => 'string', - 'example' => 'imgc-xxx', - ], - 'BaseImageVersion' => [ - 'title' => '基础镜像版本', - 'description' => '基础镜像版本。', - 'type' => 'string', - 'example' => 'iv-xxx', - ], - 'FotaVersion' => [ - 'title' => 'fota版本', - 'description' => 'FOTA版本。', - 'type' => 'string', - 'example' => '2.3.0-xxx', - ], - 'Language' => [ - 'title' => '镜像语言', - 'description' => '镜像语言。如果封装类型为VHD/Container时,继承于该镜像组合的封装类型为ECS的镜像属性。', - 'type' => 'string', - 'example' => 'zh-CN', - ], - 'Platform' => [ - 'title' => '镜像平台类型整型值', - 'description' => '镜像操作系统平台。'."\n" - ."\n" - .'> 如果封装类型为VHD/Container,继承于该镜像组合的封装类型为ECS的镜像属性。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'Windows', - ], - 'OnlineVersion' => [ - 'title' => '当前版本是否是生效版本', - 'description' => '当前版本是否是生效版本。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'SystemDiskSize' => [ - 'title' => '系统盘大小。单位:GiB', - 'description' => '系统盘大小。单位:GiB。'."\n" - ."\n" - .'> 系统盘大小不能小于镜像文件。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - 'DataDiskSize' => [ - 'title' => '数据盘大小。单位:GiB', - 'description' => '数据盘大小。单位:GiB。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'AppList' => [ - 'title' => '应用配置列表', - 'description' => '应用配置。', - 'type' => 'array', - 'items' => [ - 'title' => '应用配置', - 'description' => '应用配置', - 'type' => 'object', - 'properties' => [ - 'AppId' => [ - 'title' => '应用ID', - 'description' => '应用ID。', - 'type' => 'string', - 'example' => 'ca-xxx', - ], - 'AppName' => [ - 'title' => '应用名称', - 'description' => '应用名称。', - 'type' => 'string', - 'example' => '应用名称', - ], - ], - ], - ], - 'FeatureList' => [ - 'title' => '镜像特征标记', - 'description' => '镜像特征标记列表。', - 'type' => 'array', - 'items' => [ - 'title' => '镜像特征标记', - 'description' => '镜像特征标记。', - 'type' => 'string', - 'example' => 'Builder', - ], - ], - 'ImageCreateMode' => [ - 'title' => '镜像创建类型', - 'description' => '镜像创建类型', - 'type' => 'string', - 'enumValueTitles' => [ - 'BY_SNAPSHOT_ID' => '从快照创建或者只包含系统盘时', - 'BUILDER_MANUAL' => '手动生成镜像', - 'INSTANCE_AUTO' => '基于实例自动化生成镜像', - 'BY_INSTANCE_ID' => '从实例创建或者包含系统盘和数据盘时', - ], - 'example' => 'BUILDER_MANUAL', - ], - 'ImageRegionList' => [ - 'title' => '地域对象', - 'description' => '地域。', - 'type' => 'array', - 'items' => [ - 'title' => '地域对象', - 'description' => '地域对象。', - 'type' => 'string', - 'example' => '地域对象。', - ], - ], - 'Distro' => [ - 'title' => '发行版名字', - 'description' => '发行版名字。', - 'type' => 'string', - 'example' => 'Ubuntu 22.04 64位', - ], - 'VersionName' => [ - 'title' => '版本名称', - 'description' => '版本名称。', - 'type' => 'string', - 'example' => 'v0.1.0', - ], - 'ResourceInstanceCategory' => [ - 'title' => '镜像支持资源类型', - 'description' => '镜像支持资源类型。', - 'type' => 'string', - 'example' => '["eds.cpu.category"]', - ], - 'PlatformName' => [ - 'title' => '镜像平台类型', - 'description' => '系统平台名称。', - 'type' => 'string', - 'example' => 'Windows Server 2022', - ], - 'SupportedLanguageList' => [ - 'title' => '支持语言列表', - 'description' => '支持语言列表。', - 'type' => 'array', - 'items' => [ - 'title' => '支持语言', - 'description' => '支持语言。', - 'type' => 'string', - 'example' => 'zh-CN', - ], - ], - 'VolumeEncryptionEnabled' => [ - 'title' => '是否开启磁盘加密', - 'description' => '是否开启磁盘加密。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'VolumeEncryptionKey' => [ - 'title' => '开启磁盘加密的情况下使用的KMS的密钥ID', - 'description' => '开启磁盘加密的情况下使用的KMS的密钥ID。', - 'type' => 'string', - 'example' => 'a7b3c0c8-xxxx', - ], - 'SessionType' => [ - 'title' => '会话类型', - 'description' => '会话类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'SINGLE_SESSION' => '单会话', - 'MULTIPLE_SESSION' => '多会话', - ], - 'example' => 'SINGLE_SESSION', - ], - 'ImageRegionDistributeList' => [ - 'title' => '叠层有效地域信息', - 'description' => '叠层有效地域信息。', - 'type' => 'array', - 'items' => [ - 'title' => '镜像地域列表', - 'description' => '镜像地域列表', - 'type' => 'object', - 'properties' => [ - 'ImageId' => [ - 'title' => '系统镜像id有含义,自定义镜像自动生成', - 'description' => '系统镜像ID有含义,自定义镜像自动生成。', - 'type' => 'string', - 'example' => 'imgc-xxx', - ], - 'RegionId' => [ - 'title' => '支持地域', - 'description' => '支持地域。', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'Status' => [ - 'title' => '状态', - 'description' => '状态。', - 'type' => 'string', - 'example' => 'INIT', - ], - 'VersionId' => [ - 'title' => '镜像版本', - 'description' => '镜像版本。', - 'type' => 'string', - 'example' => 'iv-xxx', - ], - 'Progress' => [ - 'title' => '进度百分比', - 'description' => '进度百分比。', - 'type' => 'string', - 'example' => '70%', - ], - ], - ], - ], - 'FotaChannel' => [ - 'title' => '> 此参数暂未对外开放使用。', - 'description' => '> 此参数暂未对外开放使用。', - 'type' => 'string', - 'example' => '镜像支持的fota渠道,暂未启用', - ], - 'CompatibleMode' => [ - 'title' => '是否为兼容模式。', - 'description' => '是否为兼容模式。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'DriverList' => [ - 'title' => '驱动列表。', - 'description' => '驱动信息列表。', - 'type' => 'array', - 'items' => [ - 'title' => '驱动ID', - 'description' => '驱动列表。', - 'type' => 'string', - 'example' => '["00be80de-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]', - ], - ], - 'Scene' => [ - 'title' => '镜像使用的场景', - 'description' => '镜像使用的场景', - 'type' => 'string', - 'example' => 'AIGC', - ], - 'Rating' => [ - 'title' => '镜像评分值,满分100', - 'description' => '镜像评分值,满分100', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '95', - ], - 'ImageIconUrl' => [ - 'title' => '镜像图标URL', - 'description' => '镜像图标URL', - 'type' => 'string', - ], - 'EnvironmentId' => [ - 'title' => '镜像使用环境ID', - 'description' => '镜像使用环境ID', - 'type' => 'string', - 'example' => 'env-164c321f405ca84143e4b730dbe4', - ], - 'TagList' => [ - 'title' => '标签列表', - 'description' => '标签列表', - 'type' => 'array', - 'items' => [ - 'title' => '标签列表', - 'description' => '标签列表', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '标签键。', - 'description' => '标签键。', - 'type' => 'string', - 'example' => '1630348213973321', - ], - 'Value' => [ - 'title' => '标签值。', - 'description' => '标签值。', - 'type' => 'string', - 'example' => 'inner', - ], - ], - ], - ], - 'SnapshotList' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'SnapshotId' => [ - 'type' => 'string', - ], - 'VersionId' => [ - 'type' => 'string', - ], - 'DiskType' => [ - 'type' => 'string', - ], - 'DiskSubType' => [ - 'type' => 'string', - ], - 'BindType' => [ - 'type' => 'string', - ], - 'DiskCategory' => [ - 'type' => 'string', - ], - 'Size' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], - ], - ], - ], - ], - 'Count' => [ - 'title' => '总条数。', - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '22', - ], - 'Success' => [ - 'title' => '是否调用成功。', - 'description' => '是否调用成功。', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '调用成功', - 'false' => '调用失败', - ], - 'example' => 'true', - ], - 'Code' => [ - 'title' => '错误码。', - 'description' => '错误码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'title' => '接口请求返回的信息。', - 'description' => '接口请求返回的信息。', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'title' => '请求ID。', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '8737D130-BFD0-5D51-96F6-C08EB1139A25', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'Internal error.', - ], - [ - 'errorCode' => 'InvalidBizType', - 'errorMessage' => 'The bizType parameter is invalid.', - ], - ], - 403 => [ - [ - 'errorCode' => 'Forbidden.NoPermission', - 'errorMessage' => 'You are not authorized to access this page.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '配置资源组的模型分组', + 'description' => '您可以为无影 Agent 管理中心中的 JVS Computer、OpenClaw、Hermes Agent等 Agent 运行时所属的资源授权模型分组,作为 资源组内Agent 执行任务的推理引擎。'."\n" + ."\n" + .'当一个Agent运行时自身配置了模型分组,且其所在的资源组也配置了模型分组时,资源组绑定的模型分组生效。即资源组设置优先级高于Agent运行时设置。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ConfigResourceGroupModelTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"Data\\": [\\n {\\n \\"GmtCreate\\": \\"2025-04-25 15:13:57\\",\\n \\"GmtModified\\": \\"2025-04-25 15:13:57\\",\\n \\"AliUid\\": 123456789,\\n \\"ImageId\\": \\"imgc-xxxx\\",\\n \\"ImageName\\": \\"DemoImage\\",\\n \\"ImageType\\": \\"User\\",\\n \\"PackageType\\": \\"ECS\\",\\n \\"Description\\": \\"描述\\",\\n \\"OsType\\": \\"Windows\\",\\n \\"ProtocolType\\": \\"ASP\\",\\n \\"BizType\\": 1,\\n \\"ProductType\\": \\"CloudApp\\",\\n \\"VersionId\\": \\"iv-xxx\\",\\n \\"OnlineVersionId\\": \\"iv-xxxx\\",\\n \\"LatestVersionId\\": \\"iv-xxx\\",\\n \\"Status\\": \\"INIT\\",\\n \\"ParentImageId\\": \\"imgc-xxx\\",\\n \\"ParentImageVersion\\": \\"iv-xxx\\",\\n \\"BaseImageId\\": \\"imgc-xxx\\",\\n \\"BaseImageVersion\\": \\"iv-xxx\\",\\n \\"FotaVersion\\": \\"2.3.0-xxx\\",\\n \\"Language\\": \\"zh-CN\\",\\n \\"Platform\\": 0,\\n \\"OnlineVersion\\": true,\\n \\"SystemDiskSize\\": 40,\\n \\"DataDiskSize\\": 100,\\n \\"AppList\\": [\\n {\\n \\"AppId\\": \\"ca-xxx\\",\\n \\"AppName\\": \\"应用名称\\"\\n }\\n ],\\n \\"FeatureList\\": [\\n \\"Builder\\"\\n ],\\n \\"ImageCreateMode\\": \\"BUILDER_MANUAL\\",\\n \\"ImageRegionList\\": [\\n \\"地域对象。\\"\\n ],\\n \\"Distro\\": \\"Ubuntu 22.04 64位\\",\\n \\"VersionName\\": \\"v0.1.0\\",\\n \\"ResourceInstanceCategory\\": \\"[\\\\\\"eds.cpu.category\\\\\\"]\\",\\n \\"PlatformName\\": \\"Windows Server 2022\\",\\n \\"SupportedLanguageList\\": [\\n \\"zh-CN\\"\\n ],\\n \\"VolumeEncryptionEnabled\\": true,\\n \\"VolumeEncryptionKey\\": \\"a7b3c0c8-xxxx\\",\\n \\"SessionType\\": \\"SINGLE_SESSION\\",\\n \\"ImageRegionDistributeList\\": [\\n {\\n \\"ImageId\\": \\"imgc-xxx\\",\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"Status\\": \\"INIT\\",\\n \\"VersionId\\": \\"iv-xxx\\",\\n \\"Progress\\": \\"70%\\"\\n }\\n ],\\n \\"FotaChannel\\": \\"镜像支持的fota渠道,暂未启用\\",\\n \\"CompatibleMode\\": true,\\n \\"DriverList\\": [\\n \\"[\\\\\\"00be80de-xxxx-xxxx-xxxx-xxxxxxxxxxxx\\\\\\"]\\"\\n ],\\n \\"Scene\\": \\"AIGC\\",\\n \\"Rating\\": 95,\\n \\"ImageIconUrl\\": \\"\\",\\n \\"EnvironmentId\\": \\"env-164c321f405ca84143e4b730dbe4\\",\\n \\"TagList\\": [\\n {\\n \\"Key\\": \\"1630348213973321\\",\\n \\"Value\\": \\"inner\\"\\n }\\n ],\\n \\"SnapshotList\\": [\\n {\\n \\"SnapshotId\\": \\"\\",\\n \\"VersionId\\": \\"\\",\\n \\"DiskType\\": \\"\\",\\n \\"DiskSubType\\": \\"\\",\\n \\"BindType\\": \\"\\",\\n \\"DiskCategory\\": \\"\\",\\n \\"Size\\": 0\\n }\\n ]\\n }\\n ],\\n \\"Count\\": 22,\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"8737D130-BFD0-5D51-96F6-C08EB1139A25\\"\\n}","type":"json"}]', - 'title' => '查询镜像信息', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', ], - 'CreateImageByInstance' => [ - 'summary' => '通过已部署好的无影实例创建自定义镜像,以便快速创建更多相同配置的无影实例,避免每次创建时重复配置实例环境。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ConfigRuntimeChannel' => [ + 'summary' => '配置Agent运行时的三方通道。', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -2267,640 +633,282 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '248026', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingSH8DGI', - ], - 'autoTest' => true, + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], ], 'parameters' => [ [ - 'name' => 'ImageName', + 'name' => 'RuntimeType', 'in' => 'formData', 'schema' => [ - 'title' => '镜像名称', - 'description' => '镜像名称。', + 'title' => 'Runtime资源运行环境类型', + 'description' => 'Agent运行时类型。', 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [], - 'example' => 'test', + 'required' => true, + 'enumValueTitles' => ['CloudDesktop' => '云电脑'], + 'example' => 'CloudDesktop', ], ], [ - 'name' => 'Description', + 'name' => 'RuntimeIds', 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'title' => '镜像描述', - 'description' => '镜像描述。', - 'type' => 'string', - 'required' => false, - 'example' => 'my test image v1.0', + 'title' => 'Runtime ID列表', + 'description' => '运行时ID列表。', + 'type' => 'array', + 'items' => ['description' => 'Agent 运行时 ID,ID 对应关系如下:'."\n" + ."\n" + .'- JVS Computer:JVS Computer ID,格式如 jvs-xxxx。'."\n" + .'- OpenClaw:云电脑 ID,格式如 ecd-xxxx。'."\n" + .'- Hermes Agent:Hermes Agent ID,格式如 jvs-xxxx。', 'type' => 'string', 'required' => true, 'example' => 'jvs-xxxx'], + 'required' => true, + 'maxItems' => 100, + 'minItems' => 1, ], ], [ - 'name' => 'InstanceId', + 'name' => 'AgentProvider', 'in' => 'formData', 'schema' => [ - 'title' => '实例ID', - 'description' => '无影实例ID。该实例可以是云桌面实例,工作站实例。为了保障镜像中的数据数据一致性, 建议将实例关机之后再发起镜像制作。', + 'title' => '智能体提供商名称', + 'description' => 'Agent提供商。'."\n" + ."\n" + .'- JVS Computer:填入OpenClaw。'."\n" + .'- OpenClaw:填入OpenClaw。'."\n" + .'- Hermes Agent:填入HermesAgent。', 'type' => 'string', - 'required' => false, - 'example' => 'ws-0buj1s9gm******', + 'required' => true, + 'enumValueTitles' => ['HermesAgent' => 'Hermes Agent', 'OpenClaw' => 'OpenClaw'], + 'example' => 'OpenClaw', ], ], [ - 'name' => 'SubInstanceId', + 'name' => 'AgentPlatform', 'in' => 'formData', 'schema' => [ - 'title' => '实例版本', - 'description' => '子实例ID,云电脑场景不涉及。工作站场景,需要传入持久会话ID,确保定位到一个具体的实例。', + 'title' => 'Agent平台(如 ENTERPRISE, JVS)', + 'description' => 'Agent平台。', 'type' => 'string', 'required' => false, - 'example' => 'p-0cc7s3n1l*****', + 'enumValueTitles' => ['ENTERPRISE' => 'OpenClaw', 'ENTERPRISE_JVS' => 'JVS Computer、Hermes Agent'], + 'example' => 'ENTERPRISE', ], ], [ - 'name' => 'InstanceType', + 'name' => 'Code', 'in' => 'formData', 'schema' => [ - 'title' => '实例类型', - 'description' => '实例类型。', + 'title' => '通道编码', + 'description' => '三方通道编码。', 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CloudDesktop' => '云桌面', - 'WuyingServer' => '工作站', - ], - 'example' => 'WuyingServer', + 'required' => true, + 'enumValueTitles' => ['dingtalk-connector' => '钉钉', 'wechat' => '微信', 'feishu' => '飞书', 'qqbot' => 'QQ', 'wecom' => '企业微信'], + 'example' => 'dingtalk-connector', ], ], [ - 'name' => 'AutoCleanUserdata', + 'name' => 'Name', 'in' => 'formData', - 'schema' => [ - 'description' => '该参数目前仅适用于实例类型是云桌面场景。'."\n" - .'是否清除用户个人数据。若设为true,制作的镜像会清除C:\\Users目录下除Administrator、Public之外的其他目录的数据。', - 'type' => 'boolean', - 'required' => false, - 'enumValueTitles' => [ - 'true' => '清理', - 'false' => '不清理', - ], - 'example' => 'false', - ], + 'schema' => ['title' => '通道名称', 'description' => '通道名称。'."\n" + ."\n" + .'如果不填写,系统会自动使用Code作为名称。', 'type' => 'string', 'required' => false, 'example' => '钉钉'], ], [ - 'name' => 'DiskType', + 'name' => 'ConfigMode', 'in' => 'formData', 'schema' => [ - 'description' => '镜像中包含的磁盘数据种类,默认包含实例的系统盘和数据盘。', + 'title' => '配置模式', + 'description' => '配置模式', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'SYSTEM' => '仅系统盘', - 'ALL' => '系统盘+数据盘', - ], - 'example' => 'ALL', + 'enumValueTitles' => ['Custom' => '自定义配置模式', 'Simple' => '简单配置模式'], + 'example' => 'Simple', + 'default' => 'Simple', ], ], [ - 'name' => 'BizType', + 'name' => 'Config', 'in' => 'formData', - 'schema' => [ - 'title' => '业务线 1:BASE/2:PERSONAL/3:CLOUD_OFFICE/4:CLOUD_FLOW/10:STANDARD', - 'description' => '该参数暂不对外使用。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'ProductType', - 'in' => 'formData', - 'schema' => [ - 'title' => '产品类型 CloudGame/CloudApp/CloudBrowser/CloudDesktop', - 'description' => '该参数暂不对外使用。', - 'type' => 'string', - 'required' => false, - 'example' => 'WuyingServer', - ], - ], - [ - 'name' => 'TagList', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'required' => false, - ], + 'schema' => ['title' => '通道配置JSON字符串', 'description' => '通道配置JSON字符串。'."\n" + ."\n" + .'- 简单配置模式示例:'."\n" + .'```json'."\n" + .'{'."\n" + .' "appKey": "abc",'."\n" + .' "appSecret": "efg"'."\n" + .'}'."\n" + .'```'."\n" + ."\n" + .'- 自定义配置模式示例'."\n" + .'```json'."\n" + .'{'."\n" + .' "enabled": true,'."\n" + .' "clientId": "xxx",'."\n" + .' "clientSecret": "xxx"'."\n" + .'}'."\n" + .'```', 'type' => 'string', 'required' => true, 'example' => '{'."\n" + .' "appKey": "abc",'."\n" + .' "appSecret": "efg"'."\n" + .'}'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'PlainResult<CreateImageResultModel>', - 'description' => '请求响应结构体。', + 'title' => 'BaseResult', + 'description' => '请求结果。', 'type' => 'object', 'properties' => [ - 'Data' => [ - 'description' => '返回对象。', - 'type' => 'object', - 'properties' => [ - 'ImageId' => [ - 'title' => '系统镜像id有含义,自定义镜像自动生成', - 'description' => '无影镜像ID。', - 'type' => 'string', - 'example' => 'imgc-07hnjj5fp****', - ], - 'VersionId' => [ - 'title' => '镜像版本', - 'description' => '镜像版本。', - 'type' => 'string', - 'example' => 'iv-0abxi0lbi*****', - ], - 'TaskId' => [ - 'title' => '任务id', - 'description' => '制作镜像的任务ID。', - 'type' => 'string', - 'example' => 'tid-0abxi0lbih******', - ], - ], - ], - 'Success' => [ - 'description' => '请求成功与否,成功返回为true,失败为false。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => '出错时的错误码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '出错时的错误消息。', - 'type' => 'string', - 'example' => 'NULL', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], + 'RequestId' => ['title' => '请求ID,用于标识请求的唯一 ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'Instance.NotFound', - 'errorMessage' => 'The instance is not found.', - ], - [ - 'errorCode' => 'DesktopInstance.NotFound', - 'errorMessage' => 'The cloud computer instance does not exist.', - ], - [ - 'errorCode' => 'Instance.ImageUnsupported', - 'errorMessage' => 'A non-centralized image does not support this type of operation.', - ], - [ - 'errorCode' => 'Instance.PhysicalNodeNotExist', - 'errorMessage' => 'The instance physical node does not exist.', - ], - [ - 'errorCode' => 'ImageCreateByInstance.TaskExist', - 'errorMessage' => 'The image task of instance creation already exists.', - ], - [ - 'errorCode' => 'ExceedBuilderQuota', - 'errorMessage' => 'The maximum number of builders is reached.', - ], - [ - 'errorCode' => 'InvalidBaseImage.NotConfigured', - 'errorMessage' => 'Configuration required for Vhd/Container images.', - ], - [ - 'errorCode' => 'CreateDesktopImageRecord.Failed', - 'errorMessage' => 'Create cloud computer image failed.', - ], - [ - 'errorCode' => 'Image.NotExist', - 'errorMessage' => 'The image does not exist.', - ], - [ - 'errorCode' => 'ImageRegionDistribute.NotAllow', - 'errorMessage' => 'This image cannot be distributed.', - ], - [ - 'errorCode' => 'ImageUpdateFailed.NotAllow', - 'errorMessage' => 'The image is not allowed to be modified.', - ], - [ - 'errorCode' => 'ImageUpdateSharedImageFailed.NotAllow', - 'errorMessage' => 'The shared image is not allowed to be modified.', - ], - [ - 'errorCode' => 'ParentImageRegionDistribute.NotExist', - 'errorMessage' => 'The target distribution region of the parent image does not exist.', - ], - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'Internal error.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '配置Agent运行时的三方通道', + 'description' => '您可以为无影 Agent 管理中心内的 JVS Computer、OpenClaw、Hermes Agent等 Agent 运行时资源配置三方通道,作为AgentIM通道之外扩展的Agent通信方式。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ConfigRuntimeChannel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ImageId\\": \\"imgc-07hnjj5fp****\\",\\n \\"VersionId\\": \\"iv-0abxi0lbi*****\\",\\n \\"TaskId\\": \\"tid-0abxi0lbih******\\"\\n },\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"NULL\\",\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', - 'title' => '通过实例创建自定义镜像', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', ], - 'StartTaskForDistributeImage' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ConfigRuntimeModelTemplate' => [ + 'summary' => '配置Agent运行时资源的模型分组。', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', - 'abilityTreeCode' => '219723', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingSH8DGI', - ], + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], ], 'parameters' => [ [ - 'name' => 'ImageId', + 'name' => 'RuntimeType', 'in' => 'formData', 'schema' => [ - 'title' => '镜像id', - 'description' => '镜像id', + 'title' => 'Runtime资源运行环境类型', + 'description' => 'Agent运行时类型。', 'type' => 'string', 'required' => true, - 'example' => 'imgc-07jyldnd9i*****', - ], - ], - [ - 'name' => 'VersionId', - 'in' => 'formData', - 'schema' => [ - 'title' => '版本id', - 'description' => '镜像版本ID,不填默认使用最新的镜像版本。', - 'type' => 'string', - 'required' => false, - 'example' => 'iv-07jyldnd9i****', + 'enumValueTitles' => ['CloudDesktop' => '云电脑'], + 'example' => 'CloudDesktop', ], ], [ - 'name' => 'RetryType', - 'in' => 'formData', - 'schema' => [ - 'title' => 'RESET/CONTINUE', - 'description' => '该参数暂不对外透出。', - 'type' => 'string', - 'required' => false, - 'example' => 'RETRY', - ], - ], - [ - 'name' => 'DestinationRegionList', + 'name' => 'RuntimeIds', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ - 'description' => '需要复制的目标地域列表。', + 'title' => 'Runtime ID列表', + 'description' => 'Agent运行时ID列表。', 'type' => 'array', - 'items' => [ - 'description' => '阿里云地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'required' => false, + 'items' => ['description' => 'Agent运行时ID,ID对应关系如下:'."\n" + ."\n" + .'JVS Computer:JVS Computer ID,格式如 jvs-xxxx。'."\n" + ."\n" + .'OpenClaw:云电脑 ID,格式如 ecd-xxxx。'."\n" + ."\n" + .'Hermes Agent:Hermes Agent ID,格式如 jvs-xxxx。', 'type' => 'string', 'required' => true, 'example' => 'jvs-xxxxxxxxx'], + 'required' => true, 'maxItems' => 100, + 'minItems' => 1, ], ], [ - 'name' => 'ProductType', - 'in' => 'formData', - 'schema' => [ - 'description' => '产品类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CloudDesktop' => '无影云桌面', - 'CloudApp' => '无影云应用', - 'WuyingServer' => '无影工作站', - ], - 'example' => 'CloudApp', - ], - ], - [ - 'name' => 'SourceRegion', + 'name' => 'ModelTemplateId', 'in' => 'formData', - 'schema' => [ - 'description' => '指定复制镜像的源地域,不设置则随机选择。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['title' => '模型模板ID', 'description' => '模型分组ID。', 'type' => 'string', 'required' => true, 'example' => 'mt-xxxxxxxxxx'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'PlainResult<String>', - 'description' => '返回数据结构体。', + 'title' => 'ListResult<RuntimeModelTemplateConfigResult>', + 'description' => 'ListResult<RuntimeModelTemplateConfigResult>', 'type' => 'object', 'properties' => [ 'Data' => [ - 'description' => '返回的镜像复制任务ID。', - 'type' => 'string', - 'example' => 'tid-06xnr5lyp77e7****', - ], - 'Success' => [ - 'description' => '是否成功。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => '出错时的错误码。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '出错时的错误消息。', - 'type' => 'string', - 'example' => 'success', - ], - 'RequestId' => [ - 'description' => '请求的ID。', - 'type' => 'string', - 'example' => '419F31B9-1FDF-5644-ABA3-D00026FA****', + 'description' => '执行结果列表。', + 'type' => 'array', + 'items' => [ + 'description' => '执行结果。', + 'type' => 'object', + 'properties' => [ + 'RuntimeId' => ['title' => 'Runtime ID', 'description' => 'Agent运行时ID,ID对应关系如下:'."\n" + ."\n" + .'JVS Computer:JVS Computer ID,格式如 jvs-xxxx。'."\n" + ."\n" + .'OpenClaw:云电脑 ID,格式如 ecd-xxxx。'."\n" + ."\n" + .'Hermes Agent:Hermes Agent ID,格式如 jvs-xxxx。', 'type' => 'string', 'example' => 'jvs-xxxxxxxx'], + 'Success' => ['title' => '是否执行成功', 'description' => '是否执行成功', 'type' => 'boolean', 'example' => 'True'], + 'Code' => ['title' => '错误码(失败时)', 'description' => '错误码(失败时)', 'type' => 'string', 'example' => '200'], + 'Message' => ['title' => '错误信息(失败时)', 'description' => '错误信息(失败时)', 'type' => 'string', 'example' => 'The parameter callerUid may not be null.'], + 'HttpStatusCode' => ['title' => 'HTTP 状态码(失败时)', 'description' => 'HTTP 状态码(失败时)', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + ], + ], ], + 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'Instance.NotFound', - 'errorMessage' => 'The instance is not found.', - ], - [ - 'errorCode' => 'DesktopInstance.NotFound', - 'errorMessage' => 'The cloud computer instance does not exist.', - ], - [ - 'errorCode' => 'Instance.ImageUnsupported', - 'errorMessage' => 'A non-centralized image does not support this type of operation.', - ], - [ - 'errorCode' => 'Instance.PhysicalNodeNotExist', - 'errorMessage' => 'The instance physical node does not exist.', - ], - [ - 'errorCode' => 'ImageCreateByInstance.TaskExist', - 'errorMessage' => 'The image task of instance creation already exists.', - ], - [ - 'errorCode' => 'ExceedBuilderQuota', - 'errorMessage' => 'The maximum number of builders is reached.', - ], - [ - 'errorCode' => 'InvalidBaseImage.NotConfigured', - 'errorMessage' => 'Configuration required for Vhd/Container images.', - ], - [ - 'errorCode' => 'CreateDesktopImageRecord.Failed', - 'errorMessage' => 'Create cloud computer image failed.', - ], - [ - 'errorCode' => 'Image.NotExist', - 'errorMessage' => 'The image does not exist.', - ], - [ - 'errorCode' => 'ImageRegionDistribute.NotAllow', - 'errorMessage' => 'This image cannot be distributed.', - ], - [ - 'errorCode' => 'ImageUpdateFailed.NotAllow', - 'errorMessage' => 'The image is not allowed to be modified.', - ], - [ - 'errorCode' => 'ImageUpdateSharedImageFailed.NotAllow', - 'errorMessage' => 'The shared image is not allowed to be modified.', - ], - [ - 'errorCode' => 'ParentImageRegionDistribute.NotExist', - 'errorMessage' => 'The target distribution region of the parent image does not exist.', - ], - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'Internal error.', - ], - [ - 'errorCode' => 'ImageDistribute.TargetDistributeRegionListEmpty', - 'errorMessage' => 'The target distribution region list is empty.', - ], - [ - 'errorCode' => 'ImageDistribute.ImageNotSupport', - 'errorMessage' => 'The image does not support region distribution.', - ], - [ - 'errorCode' => 'ImageDistribute.RepeatedDistribution', - 'errorMessage' => 'This image has been distributed to this region.', - ], - [ - 'errorCode' => 'ImageDistribute.Undistributed', - 'errorMessage' => 'The image has not been distributed to any region.', - ], - [ - 'errorCode' => 'ImageRegion.NotConfigured', - 'errorMessage' => 'The image does not have any region configuration.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"tid-06xnr5lyp77e7****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"419F31B9-1FDF-5644-ABA3-D00026FA****\\"\\n}","type":"json"}]', - 'title' => '发起镜像地域复制任务', - 'summary' => '发起镜像复制到其他地域的任务。', - ], - 'DeleteImage' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'abilityTreeCode' => '219749', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingSH8DGI', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '配置Agent运行时资源的模型分组', + 'description' => '您可以为无影Agent管理中心中的 JVS Computer、OpenClaw、Hermes Agent等Agent运行时资源授权模型分组,作为Agent执行任务的推理引擎。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影Agent管理中心的操作与使用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'ImageId', - 'in' => 'formData', - 'schema' => [ - 'title' => '镜像名称', - 'description' => '无影镜像ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'img-bp13mu****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'PlainResult<Boolean>', - 'description' => '请求返回结构体。', - 'type' => 'object', - 'properties' => [ - 'Data' => [ - 'description' => '删除是否成功。', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '删除成功', - 'false' => '删除失败', - ], - 'example' => 'true', - ], - 'Success' => [ - 'description' => '是否成功。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Code' => [ - 'description' => '状态码:'."\n" - ."\n" - .'- `200`:成功。'."\n" - .'- `400`:出错。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '出错时的错误消息。', - 'type' => 'string', - 'example' => 'successful', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ConfigRuntimeModelTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'Internal error.', - ], - [ - 'errorCode' => 'Image.NotExist', - 'errorMessage' => 'The image does not exist.', - ], - [ - 'errorCode' => 'ImageDeleteFailed.NotAllow', - 'errorMessage' => 'The image is not allowed to be deleted.', - ], - [ - 'errorCode' => 'ImageDeleteFailed.NotAllowCommunityParent', - 'errorMessage' => 'The parent image of a community image is not allowed to be deleted.', - ], - [ - 'errorCode' => 'ImageDeleteFailed.NotAllowSharedImage', - 'errorMessage' => 'The shared image is not allowed to be deleted.', - ], - [ - 'errorCode' => 'ImageNotAllowDelete', - 'errorMessage' => 'The image cannot be deleted, because shared cloud computers already exist.', - ], - [ - 'errorCode' => 'InvalidImageOperation.ImageIsCreating', - 'errorMessage' => 'Failed to operation the image, it is creating.', - ], - [ - 'errorCode' => 'DeleteTemplate.Failed', - 'errorMessage' => 'Delete template failed.', - ], - [ - 'errorCode' => 'QueryTemplate.Failed', - 'errorMessage' => 'Query template failed.', - ], - [ - 'errorCode' => 'InvalidTemplate.NotFound', - 'errorMessage' => 'Template not found.', - ], - [ - 'errorCode' => 'ImageDeleteFailed.HasSharedImage', - 'errorMessage' => 'The shared image is not allowed to be deleted.', - ], - ], - 500 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'Service unavailable. Please try again later.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', - 'title' => '删除自定义镜像', - 'summary' => '删除一个自定义的无影镜像', - 'description' => '- 只能删除用户所属的自定义镜像。'."\n" - .'- 针对产品线是无影云电脑池,无影云应用,无影工作站的镜像,确保没有无影实例使用该镜像,才能正常删除。'."\n" - .'- 无影云桌面模板引用镜像,在删除镜像的时候会将模板也一起删除。'."\n" - .'- 针对镜像包含多个地域的,删除镜像时所有地域的镜像都会删除。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"RuntimeId\\": \\"jvs-xxxxxxxx\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"The parameter callerUid may not be null.\\",\\n \\"HttpStatusCode\\": 200\\n }\\n ],\\n \\"TotalCount\\": 6,\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', ], 'CreateAppInstanceGroup' => [ 'summary' => '创建交付组。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2913,9 +921,7 @@ 'riskType' => 'none', 'chargeType' => 'paid', 'abilityTreeCode' => '134193', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingBC1NTD', - ], + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], @@ -2923,12 +929,7 @@ [ 'name' => 'AppCenterImageId', 'in' => 'formData', - 'schema' => [ - 'description' => '应用镜像ID。可从[无影云应用控制台](https://appstreaming.console.aliyun.com/)的**运维**>**自定义镜像**或**系统镜像**页面获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'img-8z4nztpaqvay4****', - ], + 'schema' => ['description' => '应用镜像ID。可从[无影云应用控制台](https://appstreaming.console.aliyun.com/)的**运维**>**自定义镜像**或**系统镜像**页面获取。', 'type' => 'string', 'required' => true, 'example' => 'img-8z4nztpaqvay4****'], ], [ 'name' => 'ProductType', @@ -2937,21 +938,14 @@ 'description' => '产品类型。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], + 'enumValueTitles' => ['CloudApp' => '无影云应用'], 'example' => 'CloudApp', ], ], [ 'name' => 'AppInstanceGroupName', 'in' => 'formData', - 'schema' => [ - 'description' => '交付组名称。', - 'type' => 'string', - 'required' => false, - 'example' => '办公应用', - ], + 'schema' => ['description' => '交付组名称。', 'type' => 'string', 'required' => false, 'example' => '办公应用'], ], [ 'name' => 'Users', @@ -2960,13 +954,8 @@ 'schema' => [ 'description' => '需添加到交付组分配用户的用户名称列表。', 'type' => 'array', - 'items' => [ - 'description' => '需添加到交付组分配用户的用户名称。格式为Users.N=`<用户名>`,其中N取值为大于0的整数。', - 'type' => 'string', - 'required' => false, - 'example' => 'Users.1=username1'."\n" - .'Users.2=username2', - ], + 'items' => ['description' => '需添加到交付组分配用户的用户名称。格式为Users.N=`<用户名>`,其中N取值为大于0的整数。', 'type' => 'string', 'required' => false, 'example' => 'Users.1=username1'."\n" + .'Users.2=username2'], 'required' => false, 'maxItems' => 200, ], @@ -2983,9 +972,7 @@ 'description' => '用户账号类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Simple' => '便捷账号', - ], + 'enumValueTitles' => ['Simple' => '便捷账号'], 'example' => 'Simple', ], ], @@ -2999,22 +986,14 @@ 'description' => '付费方式。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'PostPaid' => '按量付费', - 'PrePaid' => '包年包月', - ], + 'enumValueTitles' => ['PostPaid' => '按量付费', 'PrePaid' => '包年包月'], 'example' => 'PrePaid', ], ], [ 'name' => 'PromotionId', 'in' => 'formData', - 'schema' => [ - 'description' => '优惠ID。可通过[GetResourcePrice](~~428503~~)接口获取。', - 'type' => 'string', - 'required' => false, - 'example' => '17440009****', - ], + 'schema' => ['description' => '优惠ID。可通过[GetResourcePrice](~~428503~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => '17440009****'], ], [ 'name' => 'AutoPay', @@ -3023,10 +1002,7 @@ 'description' => '是否自动付费。', 'type' => 'boolean', 'required' => false, - 'enumValueTitles' => [ - 'true' => '自动付费', - 'false' => '手动付费 [默认值]', - ], + 'enumValueTitles' => ['true' => '自动付费', 'false' => '手动付费 [默认值]'], 'example' => 'false', ], ], @@ -3037,42 +1013,33 @@ 'description' => '是否自动续费。', 'type' => 'boolean', 'required' => false, - 'enumValueTitles' => [ - 'true' => '自动续费', - 'false' => '手动续费 [默认值]', - ], + 'enumValueTitles' => ['true' => '自动续费', 'false' => '手动续费 [默认值]'], 'example' => 'false', ], ], [ 'name' => 'Period', 'in' => 'formData', - 'schema' => [ - 'description' => '当参数`ChargeType`取值为`PrePaid`时,该参数表示购买资源的时长,且为必填值。单位由`PeriodUnit`指定。'."\n" - ."\n" - .'- 如果`PeriodUnit`为`Week`,该参数的取值范围为:'."\n" - ."\n" - .' - 1'."\n" - ."\n" - .'- 如果`PeriodUnit`为`Month`,该参数的取值范围为:'."\n" - ."\n" - .' - 1'."\n" - .' - 2'."\n" - .' - 3'."\n" - .' - 6'."\n" - ."\n" - .'- 如果`PeriodUnit`为`Year`,该参数的取值范围为:'."\n" - ."\n" - .' - 1'."\n" - .' - 2'."\n" - .' - 3'."\n" - ."\n" - .'> 当参数`ChargeType`取值为`PostPaid`时,该参数请填写固定值1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '当参数`ChargeType`取值为`PrePaid`时,该参数表示购买资源的时长,且为必填值。单位由`PeriodUnit`指定。'."\n" + ."\n" + .'- 如果`PeriodUnit`为`Week`,该参数的取值范围为:'."\n" + ."\n" + .' - 1'."\n" + ."\n" + .'- 如果`PeriodUnit`为`Month`,该参数的取值范围为:'."\n" + ."\n" + .' - 1'."\n" + .' - 2'."\n" + .' - 3'."\n" + .' - 6'."\n" + ."\n" + .'- 如果`PeriodUnit`为`Year`,该参数的取值范围为:'."\n" + ."\n" + .' - 1'."\n" + .' - 2'."\n" + .' - 3'."\n" + ."\n" + .'> 当参数`ChargeType`取值为`PostPaid`时,该参数请填写固定值1。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ 'name' => 'PeriodUnit', @@ -3086,25 +1053,14 @@ .'> 当参数`ChargeType`取值为`PostPaid`时,该参数请填写固定值`Month`。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'Month' => '月', - 'Year' => '年', - 'Week' => '周', - ], + 'enumValueTitles' => ['Month' => '月', 'Year' => '年', 'Week' => '周'], 'example' => 'Week', ], ], [ 'name' => 'SessionTimeout', 'in' => 'formData', - 'schema' => [ - 'description' => '应用回收时间,单位为分钟。终端用户将云应用断开连接一段时间后,云上应用进程即退出,这段时间就是应用回收时间。如果永不回收,则填写`-1`。取值范围:-1和3~300,且值为整数。默认值为`15`。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '300', - 'example' => '15', - ], + 'schema' => ['description' => '应用回收时间,单位为分钟。终端用户将云应用断开连接一段时间后,云上应用进程即退出,这段时间就是应用回收时间。如果永不回收,则填写`-1`。取值范围:-1和3~300,且值为整数。默认值为`15`。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '300', 'example' => '15'], ], [ 'name' => 'BizRegionId', @@ -3113,10 +1069,7 @@ 'description' => '交付组所属的地域ID。关于支持的地域详情,请参见[使用限制](~~426036~~)。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'cn-shanghai' => '华东2(上海)', - 'cn-hangzhou' => '华东1(杭州)', - ], + 'enumValueTitles' => ['cn-shanghai' => '华东2(上海)', 'cn-hangzhou' => '华东1(杭州)'], 'example' => 'cn-hangzhou', ], ], @@ -3127,9 +1080,7 @@ 'description' => '售卖模式。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'Node' => '按资源售卖', - ], + 'enumValueTitles' => ['Node' => '按资源售卖'], 'example' => 'Node', ], ], @@ -3145,32 +1096,14 @@ 'description' => '购买资源的规格类型ID,可通过[ListNodeInstanceType](~~428502~~)接口获取。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'appstreaming.vgpu.8c16g.4g' => '无影-图形型_8核16G 4G显存', - 'appstreaming.general.8c16g' => '无影-通用型_8核16G', - 'appstreaming.general.4c8g' => '无影-通用型_4核8G', - 'appstreaming.vgpu.14c93g.12g' => '无影-图形型_14核93G 12G显存', - 'appstreaming.vgpu.8c31g.16g' => '无影-图形型_8核31G 16G显存', - ], + 'enumValueTitles' => ['appstreaming.vgpu.8c16g.4g' => '无影-图形型_8核16G 4G显存', 'appstreaming.general.8c16g' => '无影-通用型_8核16G', 'appstreaming.general.4c8g' => '无影-通用型_4核8G', 'appstreaming.vgpu.14c93g.12g' => '无影-图形型_14核93G 12G显存', 'appstreaming.vgpu.8c31g.16g' => '无影-图形型_8核31G 16G显存'], 'example' => 'appstreaming.general.4c8g', ], - 'NodeAmount' => [ - 'description' => '购买资源的数量。取值范围:1~100。'."\n" - ."\n" - .'>- 若为包年包月资源,则该参数必填。'."\n" - .'>- 若为按量付费资源,则当弹性模式(`StrategyType`)为固定数量(`NODE_FIXED`)或自动扩缩容(`NODE_SCALING_BY_USAGE`)时该参数必填。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'NodeCapacity' => [ - 'description' => '并发会话数,即单个资源可同时连接的会话数。如果同时连接的会话数过多,可能导致应用的使用体验下降。取值范围因资源规格不同而不同。各资源规格对应的取值范围可通过ListNodeInstanceType接口获取。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'NodeAmount' => ['description' => '购买资源的数量。取值范围:1~100。'."\n" + ."\n" + .'>- 若为包年包月资源,则该参数必填。'."\n" + .'>- 若为按量付费资源,则当弹性模式(`StrategyType`)为固定数量(`NODE_FIXED`)或自动扩缩容(`NODE_SCALING_BY_USAGE`)时该参数必填。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + 'NodeCapacity' => ['description' => '并发会话数,即单个资源可同时连接的会话数。如果同时连接的会话数过多,可能导致应用的使用体验下降。取值范围因资源规格不同而不同。各资源规格对应的取值范围可通过ListNodeInstanceType接口获取。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'], 'StrategyType' => [ 'description' => '弹性模式。'."\n" ."\n" @@ -3180,68 +1113,20 @@ .'>- `NODE_SCALING_BY_SCHEDULE`(定时扩缩容):仅适用于按量付费资源。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'NODE_FIXED' => '固定数量(不使用弹性扩缩容)', - 'NODE_SCALING_BY_SCHEDULE' => '定时扩缩容', - 'NODE_SCALING_BY_USAGE' => '自动扩缩容', - ], + 'enumValueTitles' => ['NODE_FIXED' => '固定数量(不使用弹性扩缩容)', 'NODE_SCALING_BY_SCHEDULE' => '定时扩缩容', 'NODE_SCALING_BY_USAGE' => '自动扩缩容'], 'example' => 'NODE_FIXED', ], - 'MaxScalingAmount' => [ - 'description' => '扩容时最多创建资源的数量。`StrategyType`设为`NODE_SCALING_BY_USAGE`(使用弹性资源)时,该字段必填。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - 'MaxIdleAppInstanceAmount' => [ - 'description' => '空闲会话数上限。指定该值时,当会话使用率超过`ScalingUsageThreshold`且当前交付组空闲会话数小于`MaxIdleAppInstanceAmount`时,才会触发自动扩容,否则认为交付组空闲会话已足够使用,不自动扩容。该参数可用于灵活控制弹性扩容行为和降低使用成本。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - ], - 'ScalingStep' => [ - 'description' => '扩容时每次创建资源的数量。取值范围:1~10。`StrategyType`设为`NODE_SCALING_BY_USAGE`(使用弹性资源)时,该字段必填。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], - 'ScalingUsageThreshold' => [ - 'description' => '会话使用率上限阈值(%)。当会话使用率超过该阈值时,将触发自动扩容。会话使用率的计算公式为`会话使用率=当前会话数÷(资源总数×资源并发会话数)×100%`。`StrategyType`设为`NODE_SCALING_BY_USAGE`(使用弹性资源)时,该字段必填。取值范围:0~100。默认值:85。', - 'type' => 'string', - 'required' => false, - 'example' => '85', - ], - 'ScalingDownAfterIdleMinutes' => [ - 'description' => '无会话连接的资源最多保留的时长(分钟)。当资源内无会话连接时,将按照此处设置的时长开始倒计时,倒计时结束时将完成缩容。取值范围:5\\~120。默认值:5。但有以下例外情况:'."\n" - ."\n" - .'- 若缩容后将导致重新触发自动扩容,则不会执行缩容,以免导致反复产生缩容、扩容。'."\n" - .'- 若此时间段内,因会话数增加而触发自动扩容,则该资源不会按原计划缩容,倒计时也将重新开始。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '5', - ], - 'StrategyEnableDate' => [ - 'description' => '策略生效日期。格式为:yyyy-MM-dd。该日期必须大于或等于当前日期。`StrategyType`(弹性模式)设为`NODE_SCALING_BY_SCHEDULE`(定时扩缩容)时,该字段必填。', - 'type' => 'string', - 'required' => false, - 'example' => '2022-08-01', - ], - 'StrategyDisableDate' => [ - 'description' => '策略失效日期。格式为:yyyy-MM-dd。失效日期与生效日期的间隔必须介于7天到1年之间(含7天和1年)。`StrategyType`(弹性模式)设为`NODE_SCALING_BY_SCHEDULE`(定时扩缩容)时,该字段必填。', - 'type' => 'string', - 'required' => false, - 'example' => '2022-09-08', - ], - 'WarmUp' => [ - 'description' => '是否开启资源预热策略。`StrategyType`(弹性模式)设为`NODE_SCALING_BY_SCHEDULE`(定时扩缩容)时,该字段必填。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'MaxScalingAmount' => ['description' => '扩容时最多创建资源的数量。`StrategyType`设为`NODE_SCALING_BY_USAGE`(使用弹性资源)时,该字段必填。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + 'MaxIdleAppInstanceAmount' => ['description' => '空闲会话数上限。指定该值时,当会话使用率超过`ScalingUsageThreshold`且当前交付组空闲会话数小于`MaxIdleAppInstanceAmount`时,才会触发自动扩容,否则认为交付组空闲会话已足够使用,不自动扩容。该参数可用于灵活控制弹性扩容行为和降低使用成本。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'], + 'ScalingStep' => ['description' => '扩容时每次创建资源的数量。取值范围:1~10。`StrategyType`设为`NODE_SCALING_BY_USAGE`(使用弹性资源)时,该字段必填。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'], + 'ScalingUsageThreshold' => ['description' => '会话使用率上限阈值(%)。当会话使用率超过该阈值时,将触发自动扩容。会话使用率的计算公式为`会话使用率=当前会话数÷(资源总数×资源并发会话数)×100%`。`StrategyType`设为`NODE_SCALING_BY_USAGE`(使用弹性资源)时,该字段必填。取值范围:0~100。默认值:85。', 'type' => 'string', 'required' => false, 'example' => '85'], + 'ScalingDownAfterIdleMinutes' => ['description' => '无会话连接的资源最多保留的时长(分钟)。当资源内无会话连接时,将按照此处设置的时长开始倒计时,倒计时结束时将完成缩容。取值范围:5\\~120。默认值:5。但有以下例外情况:'."\n" + ."\n" + .'- 若缩容后将导致重新触发自动扩容,则不会执行缩容,以免导致反复产生缩容、扩容。'."\n" + .'- 若此时间段内,因会话数增加而触发自动扩容,则该资源不会按原计划缩容,倒计时也将重新开始。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'], + 'StrategyEnableDate' => ['description' => '策略生效日期。格式为:yyyy-MM-dd。该日期必须大于或等于当前日期。`StrategyType`(弹性模式)设为`NODE_SCALING_BY_SCHEDULE`(定时扩缩容)时,该字段必填。', 'type' => 'string', 'required' => false, 'example' => '2022-08-01'], + 'StrategyDisableDate' => ['description' => '策略失效日期。格式为:yyyy-MM-dd。失效日期与生效日期的间隔必须介于7天到1年之间(含7天和1年)。`StrategyType`(弹性模式)设为`NODE_SCALING_BY_SCHEDULE`(定时扩缩容)时,该字段必填。', 'type' => 'string', 'required' => false, 'example' => '2022-09-08'], + 'WarmUp' => ['description' => '是否开启资源预热策略。`StrategyType`(弹性模式)设为`NODE_SCALING_BY_SCHEDULE`(定时扩缩容)时,该字段必填。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], 'RecurrenceSchedules' => [ 'description' => '策略执行周期列表。`StrategyType`(弹性模式)设为`NODE_SCALING_BY_SCHEDULE`(定时扩缩容)时,该字段必填。', 'type' => 'array', @@ -3253,9 +1138,7 @@ 'description' => '策略执行周期的类型。必须同时指定`RecurrenceType`和`RecurrenceValues`。 ', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'weekly' => '周(每周指定几天重复执行一次定时任务)', - ], + 'enumValueTitles' => ['weekly' => '周(每周指定几天重复执行一次定时任务)'], 'example' => 'weekly', ], 'RecurrenceValues' => [ @@ -3266,15 +1149,7 @@ 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'enumValueTitles' => [ - 1 => '周一', - '周二', - '周三', - '周四', - '周五', - '周六', - '周日', - ], + 'enumValueTitles' => [1 => '周一', '周二', '周三', '周四', '周五', '周六', '周日'], 'example' => '1', ], 'required' => false, @@ -3293,25 +1168,9 @@ 'description' => '策略执行周期的时间段。', 'type' => 'object', 'properties' => [ - 'StartTime' => [ - 'description' => '开始时间。格式为HH:mm。', - 'type' => 'string', - 'required' => false, - 'example' => '12:00', - ], - 'EndTime' => [ - 'description' => '结束时间。格式为HH:mm。', - 'type' => 'string', - 'required' => false, - 'example' => '15:00', - ], - 'Amount' => [ - 'description' => '资源数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], + 'StartTime' => ['description' => '开始时间。格式为HH:mm。', 'type' => 'string', 'required' => false, 'example' => '12:00'], + 'EndTime' => ['description' => '结束时间。格式为HH:mm。', 'type' => 'string', 'required' => false, 'example' => '15:00'], + 'Amount' => ['description' => '资源数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'], ], 'required' => false, ], @@ -3342,10 +1201,7 @@ 'description' => '网络策略类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Mixed' => '混合模式,单VPC、双网卡+独立公网IP', - 'Shared' => '共享模式,单网卡、NAT网管访问公网', - ], + 'enumValueTitles' => ['Mixed' => '混合模式,单VPC、双网卡+独立公网IP', 'Shared' => '共享模式,单网卡、NAT网管访问公网'], 'example' => 'Shared', ], 'Routes' => [ @@ -3355,19 +1211,12 @@ 'description' => '路由配置。', 'type' => 'object', 'properties' => [ - 'Destination' => [ - 'description' => '访问目标。CIDR格式。', - 'type' => 'string', - 'required' => false, - 'example' => '139.196.XX.XX/32', - ], + 'Destination' => ['description' => '访问目标。CIDR格式。', 'type' => 'string', 'required' => false, 'example' => '139.196.XX.XX/32'], 'Mode' => [ 'description' => '网络出口模式。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Shared' => '通过NAT网管访问', - ], + 'enumValueTitles' => ['Shared' => '通过NAT网管访问'], 'example' => 'Shared', ], ], @@ -3375,31 +1224,14 @@ ], 'required' => false, ], - 'IpExpireMinutes' => [ - 'description' => '公网IP地址使用时长超过这个值时,在下次登录时就会触发IP地址更新。最小值为60。单位为分钟。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '60', - 'example' => '60', - ], - 'OfficeSiteId' => [ - 'description' => '办公网络ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hongkong+dir-842567****', - ], + 'IpExpireMinutes' => ['description' => '公网IP地址使用时长超过这个值时,在下次登录时就会触发IP地址更新。最小值为60。单位为分钟。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '60', 'example' => '60'], + 'OfficeSiteId' => ['description' => '办公网络ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hongkong+dir-842567****'], 'VSwitchIds' => [ 'description' => '虚拟交换机ID列表。'."\n" ."\n" .'- 仅定制办公网络有效.', 'type' => 'array', - 'items' => [ - 'description' => '虚拟交换机ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-m5ef1sjhf7bbvqvvy****', - ], + 'items' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'required' => false, 'example' => 'vsw-m5ef1sjhf7bbvqvvy****'], 'required' => false, ], 'DomainRules' => [ @@ -3409,20 +1241,12 @@ 'description' => '域名规则。', 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'description' => '域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com', - ], + 'Domain' => ['description' => '域名。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'], 'Policy' => [ 'description' => '策略值。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'allow' => '允许访问', - 'block' => '禁止访问', - ], + 'enumValueTitles' => ['allow' => '允许访问', 'block' => '禁止访问'], 'example' => 'block', ], ], @@ -3449,10 +1273,7 @@ 'description' => '存储类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'OFF' => '关闭', - 'PDS' => '网盘与相册服务(Drive and Photo Service)', - ], + 'enumValueTitles' => ['OFF' => '关闭', 'PDS' => '网盘与相册服务(Drive and Photo Service)'], 'example' => 'PDS', ], 'required' => false, @@ -3465,29 +1286,19 @@ 'description' => '用户数据漫游开关。', 'type' => 'boolean', 'required' => false, - 'enumValueTitles' => [ - 'false' => '关闭', - 'true' => '开启', - ], + 'enumValueTitles' => ['false' => '关闭', 'true' => '开启'], 'example' => 'false', ], 'RemoteStorageType' => [ 'description' => '用户数据漫游使用的远程存储类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'NAS' => 'NAS', - ], + 'enumValueTitles' => ['NAS' => 'NAS'], 'example' => 'NAS', ], - 'RemoteStoragePath' => [ - 'description' => '用户数据漫游远程存储路径。'."\n" - .'- 不填写时,默认为交付组id。'."\n" - .'- 跨交付组(同VPC)用户数据漫游时,需给漫游的多个交付组设置同一个值。', - 'type' => 'string', - 'required' => false, - 'example' => 'ID20250101', - ], + 'RemoteStoragePath' => ['description' => '用户数据漫游远程存储路径。'."\n" + .'- 不填写时,默认为交付组id。'."\n" + .'- 跨交付组(同VPC)用户数据漫游时,需给漫游的多个交付组设置同一个值。', 'type' => 'string', 'required' => false, 'example' => 'ID20250101'], ], 'required' => false, ], @@ -3498,12 +1309,7 @@ [ 'name' => 'PreOpenAppId', 'in' => 'formData', - 'schema' => [ - 'description' => '预开的AppId。', - 'type' => 'string', - 'required' => false, - 'example' => 'cag-b2ronxxd****', - ], + 'schema' => ['description' => '预开的AppId。', 'type' => 'string', 'required' => false, 'example' => 'cag-b2ronxxd****'], ], [ 'name' => 'VideoPolicy', @@ -3518,10 +1324,7 @@ 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'enumValueTitles' => [ - 30 => '30 FPS', - 60 => '60 FPS', - ], + 'enumValueTitles' => [30 => '30 FPS', 60 => '60 FPS'], 'example' => '60', ], 'TerminalResolutionAdaptive' => [ @@ -3532,26 +1335,11 @@ .'- `false`:会话分辨率不跟随终端显示区域变化。此时分辨率固定为`SessionResolutionWidth`和`SessionResolutionHeight`的值。', 'type' => 'boolean', 'required' => false, - 'enumValueTitles' => [ - 'true' => 'true', - 'false' => 'false', - ], + 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'example' => 'false', ], - 'SessionResolutionWidth' => [ - 'description' => '分辨率的宽度,单位为像素。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1920', - ], - 'SessionResolutionHeight' => [ - 'description' => '分辨率的高度,单位为像素。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1080', - ], + 'SessionResolutionWidth' => ['description' => '分辨率的宽度,单位为像素。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1920'], + 'SessionResolutionHeight' => ['description' => '分辨率的高度,单位为像素。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1080'], 'StreamingMode' => [ 'description' => '流模式。与`Webrtc`参数搭配表示协议类型。'."\n" ."\n" @@ -3560,10 +1348,7 @@ .'- `Webrtc`=`false`且`StreamingMode`=`mix`,表示混合流。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'video' => '视频流', - 'mix' => '混合流', - ], + 'enumValueTitles' => ['video' => '视频流', 'mix' => '混合流'], 'example' => 'video', ], 'Webrtc' => [ @@ -3574,10 +1359,7 @@ .'- `Webrtc`=`false`且`StreamingMode`=`mix`,表示混合流。', 'type' => 'boolean', 'required' => false, - 'enumValueTitles' => [ - 'true' => 'true', - 'false' => 'false', - ], + 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], 'example' => 'true', ], ], @@ -3596,20 +1378,14 @@ 'description' => '会话类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'CONSOLE' => 'Console会话', - 'NORMAL' => 'RDP会话', - ], + 'enumValueTitles' => ['CONSOLE' => 'Console会话', 'NORMAL' => 'RDP会话'], 'example' => 'NORMAL', ], 'DebugMode' => [ 'description' => '是否开启调试模式。如需调用`GetDebugAppInstance`和`CreateImageFromAppInstanceGroup`,则必须将此字段设为`ON`。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'OFF' => '关闭', - 'ON' => '开启', - ], + 'enumValueTitles' => ['OFF' => '关闭', 'ON' => '开启'], 'example' => 'OFF', ], 'SessionUserGenerationMode' => [ @@ -3617,9 +1393,7 @@ .'- wyid,此时预开sessionPreOpen必须设置为false。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'wyid' => 'wyid', - ], + 'enumValueTitles' => ['wyid' => 'wyid'], 'example' => 'wyid', ], 'SessionPreOpen' => [ @@ -3627,10 +1401,7 @@ .'- 不填写,默认是true', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'true' => '开启', - 'false' => '关闭', - ], + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], 'example' => 'false', ], 'PerSessionPerApp' => [ @@ -3638,10 +1409,7 @@ .'- 开启后,如果打开交付组内的多个应用,将会为每个应用分配一个会话,消耗更多的会话数量。', 'type' => 'boolean', 'required' => false, - 'enumValueTitles' => [ - 'true' => '开启', - 'false' => '关闭', - ], + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], 'example' => 'false', ], 'PersistentAppInstanceScheduleMode' => [ @@ -3651,16 +1419,10 @@ 'description' => '持久会话调度模式。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'DYNAMIC' => '动态调度 - 同一个持久会话可调度到不同节点上', - 'FIX_NODE' => '固定节点调度 - 同一个持久会话只能调度到固定的节点上', - ], + 'enumValueTitles' => ['DYNAMIC' => '动态调度 - 同一个持久会话可调度到不同节点上', 'FIX_NODE' => '固定节点调度 - 同一个持久会话只能调度到固定的节点上'], 'example' => 'DYNAMIC', 'default' => 'DYNAMIC', - 'enum' => [ - 'DYNAMIC', - 'FIX_NODE', - ], + 'enum' => ['DYNAMIC', 'FIX_NODE'], ], ], 'required' => false, @@ -3678,20 +1440,14 @@ 'description' => '解绑后是否重置。', 'type' => 'boolean', 'required' => false, - 'enumValueTitles' => [ - 'true' => '重置', - 'false' => '不重置', - ], + 'enumValueTitles' => ['true' => '重置', 'false' => '不重置'], 'example' => 'true', ], 'SkipUserAuthCheck' => [ 'description' => '是否跳过用户授权校验。', 'type' => 'boolean', 'required' => false, - 'enumValueTitles' => [ - 'true' => '不校验', - 'false' => '校验 [默认值]', - ], + 'enumValueTitles' => ['true' => '不校验', 'false' => '校验 [默认值]'], 'example' => 'false', ], ], @@ -3706,12 +1462,7 @@ 'description' => '用户自定义策略', 'type' => 'object', 'properties' => [ - 'CustomConfig' => [ - 'description' => '自定义策略内容,需要满足镜像版本规范,如需使用该参数,请提交工单申请开启白名单。', - 'type' => 'string', - 'required' => false, - 'example' => '[{"target":"agent","config":{"abc":"xxx"}}]', - ], + 'CustomConfig' => ['description' => '自定义策略内容,需要满足镜像版本规范,如需使用该参数,请提交工单申请开启白名单。', 'type' => 'string', 'required' => false, 'example' => '[{"target":"agent","config":{"abc":"xxx"}}]'], ], 'required' => false, ], @@ -3719,22 +1470,12 @@ [ 'name' => 'AppPolicyId', 'in' => 'formData', - 'schema' => [ - 'description' => '策略ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'pg-0clfzcy0adpcf****', - ], + 'schema' => ['description' => '策略ID。', 'type' => 'string', 'required' => false, 'example' => 'pg-0clfzcy0adpcf****'], ], [ 'name' => 'ClusterId', 'in' => 'formData', - 'schema' => [ - 'description' => '集群ID', - 'type' => 'string', - 'required' => false, - 'example' => 'cls-d39iq73l5c0a8****', - ], + 'schema' => ['description' => '集群ID', 'type' => 'string', 'required' => false, 'example' => 'cls-d39iq73l5c0a8****'], ], [ 'name' => 'SubPayType', @@ -3743,23 +1484,14 @@ 'description' => '付费方式子类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'postPaid' => '后付费[按量]', - 'monthPackage' => '套餐包[仅云浏览器支持]', - 'prePaid' => '预付费[包年包月]', - ], + 'enumValueTitles' => ['postPaid' => '后付费[按量]', 'monthPackage' => '套餐包[仅云浏览器支持]', 'prePaid' => '预付费[包年包月]'], 'example' => 'postPaid', ], ], [ 'name' => 'AppPackageType', 'in' => 'formData', - 'schema' => [ - 'description' => '套餐包类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'browser.package.5.250.appstreaming.general.basic', - ], + 'schema' => ['description' => '套餐包类型。', 'type' => 'string', 'required' => false, 'example' => 'browser.package.5.250.appstreaming.general.basic'], ], [ 'name' => 'AuthMode', @@ -3769,18 +1501,10 @@ 'description' => '交付组授权模式。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'App' => '应用授权', - 'AppInstanceGroup' => '交付组授权', - 'Session' => '持久会话授权', - ], + 'enumValueTitles' => ['App' => '应用授权', 'AppInstanceGroup' => '交付组授权', 'Session' => '持久会话授权'], 'example' => 'App', 'default' => 'App', - 'enum' => [ - 'App', - 'Session', - 'AppInstanceGroup', - ], + 'enum' => ['App', 'Session', 'AppInstanceGroup'], ], ], [ @@ -3791,12 +1515,7 @@ 'title' => '授权用户组ID列表。', 'description' => '授权用户组ID列表。', 'type' => 'array', - 'items' => [ - 'title' => '授权用户组ID。', - 'description' => '授权用户组ID。', - 'type' => 'string', - 'required' => false, - ], + 'items' => ['title' => '授权用户组ID。', 'description' => '授权用户组ID。', 'type' => 'string', 'required' => false], 'required' => false, 'maxItems' => 10, ], @@ -3809,31 +1528,14 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], 'AppInstanceGroupModel' => [ 'description' => '交付组。', 'type' => 'object', 'properties' => [ - 'AppInstanceGroupId' => [ - 'description' => '交付组ID。', - 'type' => 'string', - 'example' => 'aig-9ciijz60n4xsv****', - ], - 'OrderId' => [ - 'description' => '订单ID。', - 'type' => 'string', - 'example' => '12345****', - ], - 'NodePoolId' => [ - 'description' => '资源组ID。如果同时创建了资源组,则返回该参数。', - 'type' => 'string', - 'example' => 'rg-ew7va2g1wl3vm****', - ], + 'AppInstanceGroupId' => ['description' => '交付组ID。', 'type' => 'string', 'example' => 'aig-9ciijz60n4xsv****'], + 'OrderId' => ['description' => '订单ID。', 'type' => 'string', 'example' => '12345****'], + 'NodePoolId' => ['description' => '资源组ID。如果同时创建了资源组,则返回该参数。', 'type' => 'string', 'example' => 'rg-ew7va2g1wl3vm****'], ], ], ], @@ -3842,16 +1544,10 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'StockError.NoStock', - 'errorMessage' => 'The selected specification is out of stock. Please try again later or select other specifications.', - ], + ['errorCode' => 'StockError.NoStock', 'errorMessage' => 'The selected specification is out of stock. Please try again later or select other specifications.', 'description' => '您选择的规格库存不足,请稍后再试或更换其他规格。'], ], 500 => [ - [ - 'errorCode' => 'StockError.InvalidResourceRequest', - 'errorMessage' => 'Your request cannot be processed currently due to an error. Please try again later.', - ], + ['errorCode' => 'StockError.InvalidResourceRequest', 'errorMessage' => 'Your request cannot be processed currently due to an error. Please try again later.', 'description' => '库存检查失败,系统暂时无法处理您的请求,请稍后再试。'], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"AppInstanceGroupModel\\": {\\n \\"AppInstanceGroupId\\": \\"aig-9ciijz60n4xsv****\\",\\n \\"OrderId\\": \\"12345****\\",\\n \\"NodePoolId\\": \\"rg-ew7va2g1wl3vm****\\"\\n }\\n}","type":"json"}]', @@ -3859,73 +1555,1552 @@ 'description' => '请确保在使用该接口前,已充分了解无影云应用的[计费方式和价格](~~426039~~)。'."\n" ."\n" .'交付组是向终端用户交付云应用的逻辑分组,包括底层依赖的云应用资源、包含云应用的镜像、资源管理策略以及用户分配设置等。详情参见[发布交付组](~~426046~~)。', + 'changeSet' => [ + ['createdAt' => '2025-03-27T09:42:29.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-02-27T06:57:02.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2025-02-24T08:05:55.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-02-21T08:17:54.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-01-15T13:14:10.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-10-22T07:52:55.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-09-12T07:33:20.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-07-19T06:21:25.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-05-11T06:25:08.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-08-21T02:35:31.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-04-28T12:41:12.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-04-14T01:51:27.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-03-14T12:12:48.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-12-02T08:12:41.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-10-25T15:36:54.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-08-01T03:07:59.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-05-09T14:31:31.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2022-05-09T14:31:31.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAppInstanceGroup'], + ], + ], + 'ramActions' => [], ], - 'GetAppInstanceGroup' => [ - 'summary' => '查询指定交付组详细信息。', - 'methods' => [ - 'get', - 'post', + 'CreateImageByInstance' => [ + 'summary' => '通过已部署好的无影实例创建自定义镜像,以便快速创建更多相同配置的无影实例,避免每次创建时重复配置实例环境。', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '248026', + 'abilityTreeNodes' => ['FEATUREappstreamingSH8DGI'], + 'autoTest' => true, + ], + 'parameters' => [ + [ + 'name' => 'ImageName', + 'in' => 'formData', + 'schema' => [ + 'title' => '镜像名称', + 'description' => '镜像名称。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [], + 'example' => 'test', + ], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['title' => '镜像描述', 'description' => '镜像描述。', 'type' => 'string', 'required' => false, 'example' => 'my test image v1.0'], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => ['title' => '实例ID', 'description' => '无影实例ID。该实例可以是云桌面实例,工作站实例。为了保障镜像中的数据数据一致性, 建议将实例关机之后再发起镜像制作。', 'type' => 'string', 'required' => false, 'example' => 'ws-0buj1s9gm******'], + ], + [ + 'name' => 'SubInstanceId', + 'in' => 'formData', + 'schema' => ['title' => '实例版本', 'description' => '子实例ID,云电脑场景不涉及。工作站场景,需要传入持久会话ID,确保定位到一个具体的实例。', 'type' => 'string', 'required' => false, 'example' => 'p-0cc7s3n1l*****'], + ], + [ + 'name' => 'InstanceType', + 'in' => 'formData', + 'schema' => [ + 'title' => '实例类型', + 'description' => '实例类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['CloudDesktop' => '云桌面', 'WuyingServer' => '工作站'], + 'example' => 'WuyingServer', + ], + ], + [ + 'name' => 'AutoCleanUserdata', + 'in' => 'formData', + 'schema' => [ + 'description' => '该参数目前仅适用于实例类型是云桌面场景。'."\n" + .'是否清除用户个人数据。若设为true,制作的镜像会清除C:\\Users目录下除Administrator、Public之外的其他目录的数据。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '清理', 'false' => '不清理'], + 'example' => 'false', + ], + ], + [ + 'name' => 'DiskType', + 'in' => 'formData', + 'schema' => [ + 'description' => '镜像中包含的磁盘数据种类,默认包含实例的系统盘和数据盘。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['SYSTEM' => '仅系统盘', 'ALL' => '系统盘+数据盘'], + 'example' => 'ALL', + ], + ], + [ + 'name' => 'BizType', + 'in' => 'formData', + 'schema' => ['title' => '业务线 1:BASE/2:PERSONAL/3:CLOUD_OFFICE/4:CLOUD_FLOW/10:STANDARD', 'description' => '该参数暂不对外使用。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'ProductType', + 'in' => 'formData', + 'schema' => ['title' => '产品类型 CloudGame/CloudApp/CloudBrowser/CloudDesktop', 'description' => '该参数暂不对外使用。', 'type' => 'string', 'required' => false, 'example' => 'WuyingServer'], + ], + [ + 'name' => 'TagList', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['type' => 'string'], + 'Value' => ['type' => 'string'], + ], + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<CreateImageResultModel>', + 'description' => '请求响应结构体。', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '返回对象。', + 'type' => 'object', + 'properties' => [ + 'ImageId' => ['title' => '系统镜像id有含义,自定义镜像自动生成', 'description' => '无影镜像ID。', 'type' => 'string', 'example' => 'imgc-07hnjj5fp****'], + 'VersionId' => ['title' => '镜像版本', 'description' => '镜像版本。', 'type' => 'string', 'example' => 'iv-0abxi0lbi*****'], + 'TaskId' => ['title' => '任务id', 'description' => '制作镜像的任务ID。', 'type' => 'string', 'example' => 'tid-0abxi0lbih******'], + ], + ], + 'Success' => ['description' => '请求成功与否,成功返回为true,失败为false。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '出错时的错误码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '出错时的错误消息。', 'type' => 'string', 'example' => 'NULL'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Instance.NotFound', 'errorMessage' => 'The instance is not found.', 'description' => '实例找不到。'], + ['errorCode' => 'DesktopInstance.NotFound', 'errorMessage' => 'The cloud computer instance does not exist.', 'description' => '云电脑实例不存在。'], + ['errorCode' => 'Instance.ImageUnsupported', 'errorMessage' => 'A non-centralized image does not support this type of operation.', 'description' => '使用非中心化镜像不支持该操作。'], + ['errorCode' => 'Instance.PhysicalNodeNotExist', 'errorMessage' => 'The instance physical node does not exist.', 'description' => '物理节点不存在。'], + ['errorCode' => 'ImageCreateByInstance.TaskExist', 'errorMessage' => 'The image task of instance creation already exists.', 'description' => '实例创建镜像任务已存在。'], + ['errorCode' => 'ExceedBuilderQuota', 'errorMessage' => 'The maximum number of builders is reached.', 'description' => 'Builder数量达到了上限。'], + ['errorCode' => 'InvalidBaseImage.NotConfigured', 'errorMessage' => 'Configuration required for Vhd/Container images.', 'description' => 'Vhd/Container镜像类型需要配置BaseImageId。'], + ['errorCode' => 'CreateDesktopImageRecord.Failed', 'errorMessage' => 'Create cloud computer image failed.', 'description' => '创建云电脑镜像失败。'], + ['errorCode' => 'Image.NotExist', 'errorMessage' => 'The image does not exist.', 'description' => '镜像不存在。'], + ['errorCode' => 'ImageRegionDistribute.NotAllow', 'errorMessage' => 'This image cannot be distributed.', 'description' => '镜像不允许分发操作。'], + ['errorCode' => 'ImageUpdateFailed.NotAllow', 'errorMessage' => 'The image is not allowed to be modified.', 'description' => '镜像不允许修改。'], + ['errorCode' => 'ImageUpdateSharedImageFailed.NotAllow', 'errorMessage' => 'The shared image is not allowed to be modified.', 'description' => '共享镜像不允许修改。'], + ['errorCode' => 'ParentImageRegionDistribute.NotExist', 'errorMessage' => 'The target distribution region of the parent image does not exist.', 'description' => '依赖父镜像分发地址不存在。'], + ['errorCode' => 'InternalError', 'errorMessage' => 'Internal error.', 'description' => '内部错误'], + ], + ], + 'title' => '通过实例创建自定义镜像', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'appstreaming:CreateImageByInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ImageId\\": \\"imgc-07hnjj5fp****\\",\\n \\"VersionId\\": \\"iv-0abxi0lbi*****\\",\\n \\"TaskId\\": \\"tid-0abxi0lbih******\\"\\n },\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"NULL\\",\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'CreateImageFromAppInstanceGroup' => [ + 'summary' => '通过调试交付组创建新镜像。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ + [ + 'name' => 'ProductType', + 'in' => 'formData', + 'schema' => [ + 'description' => '产品类型。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['CloudApp' => '无影云应用'], + 'example' => 'CloudApp', + ], + ], + [ + 'name' => 'AppCenterImageName', + 'in' => 'formData', + 'schema' => ['description' => '应用镜像名称。', 'type' => 'string', 'required' => true, 'example' => 'test_name'], + ], + [ + 'name' => 'AppInstanceGroupId', + 'in' => 'formData', + 'schema' => ['description' => '交付组ID。可调用[ListAppInstanceGroup](~~428506~~)接口获取。', 'type' => 'string', 'required' => true, 'example' => 'aig-9ciijz60n4xsv****'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'ImageId' => ['description' => '镜像ID。', 'type' => 'string', 'example' => 'img-bp13mu****'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '通过调试交付组创建新镜像', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateImageFromAppInstanceGroup'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'appstreaming:CreateImageFromAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"ImageId\\": \\"img-bp13mu****\\"\\n}","type":"json"}]', + ], + 'CreateModelProviderTemplate' => [ + 'summary' => '创建模型提供商模板', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '150264', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingBC1NTD', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'BizType', + 'in' => 'query', + 'schema' => [ + 'title' => '业务类型(企业版默认填 1)', + 'description' => '业务类型。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'enumValueTitles' => [1 => '企业版'], + 'example' => '1', + ], ], - 'autoTest' => true, + [ + 'name' => 'AgentPlatform', + 'in' => 'query', + 'schema' => [ + 'description' => 'Agent平台。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['ENTERPRISE' => '企业版', 'ENTERPRISE_JVS' => '企业版JVS Computer、企业版Hermes Agent'], + 'example' => 'ENTERPRISE', + ], + ], + [ + 'name' => 'AgentProvider', + 'in' => 'query', + 'schema' => [ + 'title' => 'Agent 提供商名称(如 OpenClaw, OpenWork)', + 'description' => 'Agent 提供商名称。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['OpenClaw' => 'OpenClaw'], + 'example' => 'OpenClaw', + ], + ], + [ + 'name' => 'ModelTemplateId', + 'in' => 'query', + 'schema' => ['title' => '所属模型模板 ID', 'description' => '关联的模型分组 ID。', 'type' => 'string', 'required' => true, 'example' => 'mt-xxxx'], + ], + [ + 'name' => 'ProviderName', + 'in' => 'query', + 'schema' => ['title' => '提供商名称(如 bailian, anthropic, openai 等)', 'description' => '模型服务商名称。同一模型模板下不可重复。命名规则因 ProviderType 而异,详见 ProviderType 说明。', 'type' => 'string', 'required' => true, 'example' => 'bailian'], + ], + [ + 'name' => 'ProviderType', + 'in' => 'query', + 'schema' => [ + 'description' => '模型服务商类型。不同类型对 ProviderName 和 Config 有不同约束:'."\n" + .'- WuyingCredit:无影积分包,ProviderName 必须为 wuying-credit,从系统模板复制创建,无需传入 Config'."\n" + .'- Managed:托管服务商,不可使用 wuying-credit 等系统保留名称,需传入 Config'."\n" + .'- Custom:用户自定义服务商,ProviderName 必须以 provider- 前缀开头,需传入 Config', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['WuyingCredit' => '无影积分包模型,需购买积分包后解锁使用', 'Custom' => '自定义配置接入的服务商', 'Managed' => '第三方纳管,平台统一管理接入的服务商(如:百炼、月之暗面)'], + 'example' => 'Managed', + ], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['title' => '模板名称', 'description' => '模型服务商模板名称。', 'type' => 'string', 'required' => false, 'example' => '阿里云百炼'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['title' => '模板描述', 'description' => '模型服务商模版描述。', 'type' => 'string', 'required' => false, 'example' => '阿里云百炼服务商'], + ], + [ + 'name' => 'Config', + 'in' => 'query', + 'schema' => ['title' => '提供商配置 JSON', 'description' => '模型服务商配置 JSON,包含 baseUrl、apiKey、api 等连接信息。apiKey 创建后将加密存储。当 ProviderType 为 WuyingCredit 时无需传入,将从系统模板复制。', 'type' => 'string', 'required' => true, 'example' => '{'."\n" + .' "api": "openai-completions",'."\n" + .' "apiKey": "sk-xxxx",'."\n" + .' "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1"'."\n" + .'}'], + ], + [ + 'name' => 'EnableWuyingProxy', + 'in' => 'query', + 'schema' => [ + 'title' => '是否启用无影安全代理', + 'description' => '是否启用无影安全代理。当 ProviderType 为 WuyingCredit 时必须为 true。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<CreateModelProviderTemplateModel>', + 'description' => '请求结果。', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '返回的结果对象。', + 'type' => 'object', + 'properties' => [ + 'ProviderTemplateId' => ['title' => '提供商模板 ID', 'description' => '模型服务商模板 ID。', 'type' => 'string', 'example' => 'mpt-xxxx'], + ], + ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建模型服务商模板', + 'description' => '您可以在无影 Agent 管理中心的模型模板下创建模型服务商模板,用于配置 Agent 可调用的模型服务(如阿里云百炼、Token Plan、月之暗面等)的连接信息和密钥。创建后的模型服务商模板将自动关联至指定的模型模板。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'appstreaming:CreateModelProviderTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ProviderTemplateId\\": \\"mpt-xxxx\\"\\n },\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'CreateModelTemplate' => [ + 'summary' => '创建模型模板', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'AppInstanceGroupId', + 'name' => 'BizType', + 'in' => 'query', + 'schema' => [ + 'title' => '业务类型(企业版默认填 1)', + 'description' => '业务类型。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'enumValueTitles' => [1 => '企业版'], + 'example' => '1', + ], + ], + [ + 'name' => 'AgentPlatform', + 'in' => 'query', + 'schema' => [ + 'description' => 'Agent平台。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['ENTERPRISE' => '企业版', 'ENTERPRISE_JVS' => '企业版JVS Computer、企业版Hermes Agent'], + 'example' => 'ENTERPRISE', + ], + ], + [ + 'name' => 'AgentProvider', 'in' => 'query', 'schema' => [ - 'description' => '交付组ID。可调用接口[ListAppInstanceGroup](~~ListAppInstanceGroup~~)获取。', + 'title' => 'Agent 提供商名称(如 OpenClaw, OpenWork)', + 'description' => 'Agent 提供商名称。', 'type' => 'string', 'required' => true, - 'example' => 'aig-9ciijz60n4xsv****', + 'enumValueTitles' => ['OpenClaw' => 'OpenClaw'], + 'example' => 'OpenClaw', ], ], [ - 'name' => 'ProductType', + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['title' => '模板名称', 'description' => '模板分组名称。', 'type' => 'string', 'required' => true, 'example' => 'model-template-001'], + ], + [ + 'name' => 'Description', 'in' => 'query', + 'schema' => ['title' => '模板描述', 'description' => '模板分组描述。', 'type' => 'string', 'required' => false, 'example' => '测试模型分组'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<CreateModelTemplateModel>', + 'description' => '请求结果。', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '创建结果。', + 'type' => 'object', + 'properties' => [ + 'ModelTemplateId' => ['title' => '模型模板 ID', 'description' => '模型分组 ID。', 'type' => 'string', 'example' => 'mt-xxxx'], + ], + ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建模型分组', + 'description' => '您可以在无影 Agent 管理中心中创建模型分组,用于管理 Agent 可调用的模型服务商和模型范围。创建后可将模型分组绑定至云电脑,作为 Agent 执行任务的推理引擎配置。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'appstreaming:CreateModelTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ModelTemplateId\\": \\"mt-xxxx\\"\\n },\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'CreateWuyingServer' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeNodes' => ['FEATUREappstreamingU1TTUH'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'WuyingServerName', + 'in' => 'formData', + 'schema' => ['description' => '工作站名称,创建多台时自动增加数字后缀。', 'type' => 'string', 'required' => false, 'example' => 'exampleServerName'], + ], + [ + 'name' => 'Amount', + 'in' => 'formData', + 'schema' => ['description' => '数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'ServerInstanceType', + 'in' => 'formData', + 'schema' => ['description' => '工作站规格。', 'type' => 'string', 'required' => false, 'example' => 'eds.proworkstation_flagship_elite_ne.96c384g.192g4x'], + ], + [ + 'name' => 'SystemDiskSize', + 'in' => 'formData', + 'schema' => ['description' => '系统盘大小,单位GB。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'], + ], + [ + 'name' => 'SystemDiskCategory', + 'in' => 'formData', + 'schema' => [ + 'description' => '系统盘类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['cloud_auto' => 'cloud_auto'], + 'example' => 'cloud_auto', + ], + ], + [ + 'name' => 'SystemDiskPerformanceLevel', + 'in' => 'formData', + 'schema' => ['description' => '系统盘性能等级。', 'type' => 'string', 'required' => false, 'example' => 'PL0'], + ], + [ + 'name' => 'DataDisk', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '数据盘列表。', + 'type' => 'array', + 'items' => [ + 'description' => '数据盘信息。', + 'type' => 'object', + 'properties' => [ + 'DataDiskSize' => ['description' => '数据盘大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100'], + 'DataDiskCategory' => [ + 'description' => '数据盘类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['cloud_auto' => 'cloud_auto'], + 'example' => 'cloud_auto', + ], + 'DataDiskPerformanceLevel' => ['description' => '数据盘性能等级。', 'type' => 'string', 'required' => false, 'example' => 'PL0'], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'ImageId', + 'in' => 'formData', + 'schema' => ['description' => '镜像ID。', 'type' => 'string', 'required' => false, 'example' => 'img-bp13mu****'], + ], + [ + 'name' => 'BizRegionId', + 'in' => 'formData', + 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'OfficeSiteId', + 'in' => 'formData', + 'schema' => ['description' => '办公网络ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou+dir-643067****'], + ], + [ + 'name' => 'Password', + 'in' => 'formData', + 'schema' => ['description' => '工作站登录密码。', 'type' => 'string', 'required' => false, 'example' => 'YourPassword123'], + ], + [ + 'name' => 'ChargeType', + 'in' => 'formData', + 'schema' => [ + 'description' => '付费类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['PrePaid' => '包年包月'], + 'example' => 'PrePaid', + ], + ], + [ + 'name' => 'Period', + 'in' => 'formData', + 'schema' => ['description' => '购买时长。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PeriodUnit', + 'in' => 'formData', + 'schema' => [ + 'description' => '时间单位。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['Month' => '月', 'Year' => '年'], + 'example' => 'Month', + ], + ], + [ + 'name' => 'AutoPay', + 'in' => 'formData', + 'schema' => ['description' => '自动支付。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'AutoRenew', + 'in' => 'formData', + 'schema' => ['description' => '自动续费。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'PromotionId', + 'in' => 'formData', + 'schema' => ['description' => '折扣ID。'."\n" + ."\n\n" + .'> 如果设置了PromotionId,则会尝试应用相应的折扣优惠。', 'type' => 'string', 'required' => false, 'example' => '17440009****'], + ], + [ + 'name' => 'VSwitchIds', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '办公网络交换机列表。', + 'type' => 'array', + 'items' => ['description' => '交换机ID。', 'type' => 'string', 'required' => false, 'example' => 'vsw-55vk6****5vatze7jg'], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'VirtualNodePoolId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false, 'example' => 'vnp-0b************gyw', 'description' => ''], + ], + [ + 'name' => 'NetworkStrategyType', + 'in' => 'formData', + 'schema' => ['description' => '网络策略类型(邀测)。', 'type' => 'string', 'required' => false, 'example' => 'DirectIp'], + ], + [ + 'name' => 'Bandwidth', + 'in' => 'formData', + 'schema' => ['description' => '带宽值,NetworkStrategyType为DirectIp有效,单位:Mbps,范围2~100', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '2', 'example' => '10'], + ], + [ + 'name' => 'IdempotenceToken', + 'in' => 'formData', + 'schema' => ['title' => '幂等性令牌,确保操作唯一性', 'description' => '幂等性令牌,确保操作唯一性', 'type' => 'string', 'required' => false, 'example' => '6a1b8c3d'], + ], + [ + 'name' => 'ServerPortRange', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false, 'description' => ''], + ], + [ + 'name' => 'SavingPlanId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false, 'description' => ''], + ], + [ + 'name' => 'HostName', + 'in' => 'formData', + 'schema' => ['description' => '主机名称。限制说明如下:'."\n" + ."\n" + .'- 半角句号(.)和短划线(-)不能作为首尾字符,更不能连续使用。'."\n" + ."\n" + .'- windows工作站:字符长度为2~15,不支持半角句号(.),不能连续使用短划线,不能全是数字。允许包含大小写英文字母、数字和短划线(-)。'."\n" + ."\n" + .'- Linux工作站:'."\n" + ."\n" + .' - 字符长度为2~64,支持多个半角句号(.),点之间为一段,每段允许包含大小写英文字母、数字和短划线(-)。'."\n" + ."\n" + .' - 支持通过占位符`${instance_id}`将实例ID 写入HostName参数。例如:`HostName=k8s-${instance_id}`,并且创建的 ECS 实例 ID 为`i-123abc****`,则该实例的主机名为`k8s-i-123abc****`。'."\n" + ."\n" + .'- 一次创建多台工作站实例时,可以使用`name_prefix[begin_number,bits]name_suffix`的命名格式为多台工作站统一命名。例如,设置Hostname 的取值为`ecd-[1,4]-test`,则第一台工作站主机名称为`ecd-0001-test`,第二台工作站主机名称为`ecd-0002-test`,依次类推。'."\n" + ."\n" + .' - `name_prefix`:主机名称的前缀。'."\n" + ."\n" + .' - `[begin_number,bits]`:主机名称中的有序数字。'."\n" + ."\n" + .' - `begin_number`:起始数字,取值支持0~999999,默认值为 0,若取值非法也设置为0。'."\n" + ."\n" + .' - `bits`:数字位数,取值支持1~6,默认值为 6,若取值非法也设置为6。'."\n" + ."\n" + .' - `name_suffix`:主机名称的后缀。', 'type' => 'string', 'required' => false, 'example' => 'testhost'], + ], + [ + 'name' => 'SubPayType', + 'in' => 'formData', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'MaxPrice', + 'in' => 'formData', + 'schema' => ['type' => 'number', 'format' => 'float'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '请求响应。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'Data' => [ + 'description' => '响应数据。', + 'type' => 'object', + 'properties' => [ + 'OrderId' => ['description' => '订单ID。', 'type' => 'string', 'example' => '23429322113****'], + 'WuyingServerIdList' => [ + 'description' => '工作站ID列表。', + 'type' => 'array', + 'items' => ['description' => '工作站ID。', 'type' => 'string', 'example' => 'ws-0byd****2lwi'], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '创建工作站', + 'summary' => '创建一台或多台工作站。', + 'description' => '1. 项目相当于云Flow控制台的资源配置模块'."\n" + .'2. 当入参ContentId背后有多个版本的时候,当前api会<notice>使用默认的那个版本</notice> 同时进行绑定'."\n" + .'3. 只有Content的默认版本是可用状态,调用当前接口才可以成功', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'appstreaming:CreateWuyingServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Data\\": {\\n \\"OrderId\\": \\"23429322113****\\",\\n \\"WuyingServerIdList\\": [\\n \\"ws-0byd****2lwi\\"\\n ]\\n }\\n}","type":"json"}]', + ], + 'DeleteAppInstanceGroup' => [ + 'summary' => '删除"资源型-按量付费"形式的交付组。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'AppInstanceGroupId', + 'in' => 'formData', + 'schema' => ['description' => '交付组ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-9ciijz60n4xsv****', 'maxItems' => 100], + ], + [ + 'name' => 'ProductType', + 'in' => 'formData', 'schema' => [ 'description' => '产品类型。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', + 'enumValueTitles' => ['CloudApp' => '无影云应用'], + 'example' => 'CloudApp', + ], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InvalidAppInstanceGroupSpecItem.NotFound', 'errorMessage' => 'The app instance group spec item is not found.', 'description' => '交付组(旧版概念,已弃用)未找到。'], + ['errorCode' => 'InvalidBrowserInstanceGroup.NotFound', 'errorMessage' => 'The browser instance group is not found.', 'description' => '云浏览器不存在,请确认后重试'], + ], + ], + 'title' => '删除按量付费交付组', + 'description' => '> 本接口不支持删除使用包年包月资源的交付组。', + 'changeSet' => [ + ['createdAt' => '2024-08-29T12:09:51.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2021-09-26T14:02:32.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAppInstanceGroup'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:DeleteAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'DeleteAppInstances' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ + [ + 'name' => 'ProductType', + 'in' => 'formData', + 'schema' => [ + 'description' => '产品类型。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['CloudApp' => '无影云应用'], 'example' => 'CloudApp', ], ], + [ + 'name' => 'AppInstanceGroupId', + 'in' => 'formData', + 'schema' => ['description' => '交付组ID。可通过接口[ListAppInstanceGroup](~~428506~~)获取。', 'type' => 'string', 'required' => true, 'example' => 'aig-9ciijz60n4xsv****'], + ], + [ + 'name' => 'AppInstanceIds', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '应用实例ID列表。', + 'type' => 'array', + 'items' => ['description' => '应用实例ID。'."\n" + ."\n" + .'> 仅特定客户可获取到该参数。', 'type' => 'string', 'required' => true, 'example' => 'ai-gbuea*****'], + 'required' => true, + 'maxItems' => 100, + 'minItems' => 1, + ], + ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'title' => 'Schema of Response', 'description' => '返回信息集合。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'DeleteAppInstanceModels' => [ + 'description' => '实例删除结果列表。', + 'type' => 'array', + 'items' => [ + 'description' => '实例删除结果。', + 'type' => 'object', + 'properties' => [ + 'AppInstanceId' => ['description' => '应用实例ID。', 'type' => 'string', 'example' => 'ai-gbuea*****'."\n"], + 'Success' => [ + 'description' => '是否成功触发删除。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '触发成功', 'false' => '触发失败'], + 'example' => 'true', + ], + 'Code' => ['description' => '出错时的错误码。', 'type' => 'string', 'example' => 'InvalidParameter.ProductType'], + 'Message' => ['description' => '出错时的错误消息。', 'type' => 'string', 'example' => 'The parameter ProductType is invalid.'], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除指定应用实例', + 'summary' => '删除指定应用实例。', + 'description' => '处于初始化状态或空闲状态的实例才能被删除。该接口仅向特定客户开放。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAppInstances'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'appstreaming:DeleteAppInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"DeleteAppInstanceModels\\": [\\n {\\n \\"AppInstanceId\\": \\"ai-gbuea*****\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"InvalidParameter.ProductType\\",\\n \\"Message\\": \\"The parameter ProductType is invalid.\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DeleteImage' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'abilityTreeCode' => '219749', + 'abilityTreeNodes' => ['FEATUREappstreamingSH8DGI'], + ], + 'parameters' => [ + [ + 'name' => 'ImageId', + 'in' => 'formData', + 'schema' => ['title' => '镜像名称', 'description' => '无影镜像ID。', 'type' => 'string', 'required' => false, 'example' => 'img-bp13mu****'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<Boolean>', + 'description' => '请求返回结构体。', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '删除是否成功。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '删除成功', 'false' => '删除失败'], + 'example' => 'true', + ], + 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '状态码:'."\n" + ."\n" + .'- `200`:成功。'."\n" + .'- `400`:出错。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '出错时的错误消息。', 'type' => 'string', 'example' => 'successful'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'Internal error.', 'description' => '内部错误'], + ['errorCode' => 'Image.NotExist', 'errorMessage' => 'The image does not exist.', 'description' => '镜像不存在。'], + ['errorCode' => 'ImageDeleteFailed.NotAllow', 'errorMessage' => 'The image is not allowed to be deleted.', 'description' => '镜像不允许删除。'], + ['errorCode' => 'ImageDeleteFailed.NotAllowCommunityParent', 'errorMessage' => 'The parent image of a community image is not allowed to be deleted.', 'description' => '社区镜像父镜像不允许删除。'], + ['errorCode' => 'ImageDeleteFailed.NotAllowSharedImage', 'errorMessage' => 'The shared image is not allowed to be deleted.', 'description' => '共享镜像不允许删除。'], + ['errorCode' => 'ImageNotAllowDelete', 'errorMessage' => 'The image cannot be deleted, because shared cloud computers already exist.', 'description' => '镜像不能删除,已经存在共享型云电脑资源。'], + ['errorCode' => 'InvalidImageOperation.ImageIsCreating', 'errorMessage' => 'Failed to operation the image, it is creating.', 'description' => '镜像在创建中,操作无效。'], + ['errorCode' => 'DeleteTemplate.Failed', 'errorMessage' => 'Delete template failed.', 'description' => '删除模板失败。'], + ['errorCode' => 'QueryTemplate.Failed', 'errorMessage' => 'Query template failed.', 'description' => '查找模板失败。'], + ['errorCode' => 'InvalidTemplate.NotFound', 'errorMessage' => 'Template not found.', 'description' => '模版未找到。'], + ['errorCode' => 'ImageDeleteFailed.HasSharedImage', 'errorMessage' => 'The shared image is not allowed to be deleted.', 'description' => '共享镜像不允许删除。'], + ], + 500 => [ + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'Service unavailable. Please try again later.', 'description' => '服务不可用,请稍后再试。'], + ], + ], + 'title' => '删除自定义镜像', + 'summary' => '删除一个自定义的无影镜像', + 'description' => '- 只能删除用户所属的自定义镜像。'."\n" + .'- 针对产品线是无影云电脑池,无影云应用,无影工作站的镜像,确保没有无影实例使用该镜像,才能正常删除。'."\n" + .'- 无影云桌面模板引用镜像,在删除镜像的时候会将模板也一起删除。'."\n" + .'- 针对镜像包含多个地域的,删除镜像时所有地域的镜像都会删除。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": true,\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'DeleteLlmTemplate' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + ], + 'parameters' => [ + [ + 'name' => 'LlmTemplateId', + 'in' => 'query', + 'schema' => ['title' => 'LLM 模板 ID', 'description' => '模型模板 ID。', 'type' => 'string', 'required' => true, 'example' => 'llmt-xxxx'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'BaseResult', + 'description' => '请求结果。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除模型模板', + 'description' => '您可以删除无影 Agent 管理中心中模型服务商模板下已创建的模型模板。删除前需确保该模型非关联模型分组的默认模型,否则将删除失败。删除后,关联云电脑的模型配置将自动刷新。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'summary' => '删除LLM模板', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'DeleteModelProviderTemplate' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + ], + 'parameters' => [ + [ + 'name' => 'ProviderTemplateId', + 'in' => 'query', + 'schema' => ['title' => '提供商模板 ID', 'description' => '模型服务商模板。', 'type' => 'string', 'required' => true, 'example' => 'mpt-xxxx'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'BaseResult', + 'description' => '请求结果。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除模型服务商模板', + 'description' => '您可以删除无影 Agent 管理中心中模型模板下已创建的模型服务商模板。删除前需确保该模型服务商非默认模型所属的服务商,且非系统预置类型的服务商(如无影积分包)。删除后,其关联的模型和密钥配置将一并清理。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'summary' => '删除模型提供商模板', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'DeleteModelTemplate' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + ], + 'parameters' => [ + [ + 'name' => 'ModelTemplateId', + 'in' => 'query', + 'schema' => ['title' => '模型模板 ID', 'description' => '模型分组 ID。', 'type' => 'string', 'required' => true, 'example' => 'mt-xxxx'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'BaseResult', + 'description' => '请求结果。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除模型分组', + 'description' => '您可以删除无影 Agent 管理中心中已创建的模型分组。删除前需确保该模板未被授权给任何资源,否则将删除失败。删除后,该模型分组下的模型服务商和模型将一并清理。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'summary' => '删除模型模板', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'DeleteWuyingServer' => [ + 'summary' => '删除工作站', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeNodes' => ['FEATUREappstreamingKER98U'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WuyingServerId', + 'in' => 'formData', + 'schema' => ['description' => '工作站ID。', 'type' => 'string', 'required' => true, 'example' => 'ws-0bw2f11****dial', 'maxItems' => 100], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除工作站', + 'description' => '删除工作站。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'appstreaming:DeleteWuyingServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'DeliverToUserSls' => [ + 'summary' => '配置SLS日志投递', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '266681', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'ProjectName', + 'in' => 'formData', + 'schema' => ['title' => 'SLS Project名称,与ExistedProjectName二选一必填', 'description' => 'SLS Project名称,与ExistedProjectName二选一必填', 'type' => 'string', 'required' => false, 'example' => 'elastic-desktop-xxx'], + ], + [ + 'name' => 'LogStoreName', + 'in' => 'formData', + 'schema' => ['title' => 'LogStore名称', 'description' => 'LogStore名称', 'type' => 'string', 'required' => false, 'example' => 'elastic_desktop_xxx'], + ], + [ + 'name' => 'Ttl', + 'in' => 'formData', + 'schema' => ['title' => '数据保留时间(天),默认30', 'description' => '数据保留时间(天),默认30', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30'], + ], + [ + 'name' => 'ExistedProjectName', + 'in' => 'formData', + 'schema' => ['title' => '已有的SLS Project名称,与ProjectName二选一必填', 'description' => '已有的SLS Project名称,与ProjectName二选一必填', 'type' => 'string', 'required' => false, 'example' => 'elastic-desktop-xxx'], + ], + [ + 'name' => 'SlsRegionId', + 'in' => 'formData', + 'schema' => ['title' => 'SLS所在地域ID', 'description' => 'SLS所在地域ID', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'DeliveryScopes', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'title' => '投递范围列表', + 'description' => '投递范围列表', + 'type' => 'array', + 'items' => [ + 'title' => '投递范围的元素', + 'description' => '投递范围的元素', + 'type' => 'object', + 'properties' => [ + 'ProductType' => ['title' => '产品类型', 'description' => '产品类型', 'type' => 'string', 'required' => true, 'example' => 'CloudBrowser'], + ], + 'required' => false, + ], + 'required' => true, + 'example' => '[{"productType":"China_China"}]', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '请求ID', 'description' => '请求ID', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '投递操作日志到用户SLS', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'DescribeWuyingServer' => [ + 'summary' => '查询研发主机详情', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingU1TTUH'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'WuyingServerId', + 'in' => 'formData', + 'schema' => ['title' => '研发主机ID。', 'description' => '研发主机ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-bp1234567890abcde'], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'Data' => [ + 'title' => '研发主机详情数据。', + 'description' => '研发主机详情数据。', + 'type' => 'object', + 'properties' => [ + 'WuyingServerId' => ['title' => '研发主机ID。', 'description' => '研发主机ID。', 'type' => 'string', 'example' => 'aig-bp1234567890abcde'], + 'WuyingServerName' => ['title' => '研发主机名称。', 'description' => '研发主机名称。', 'type' => 'string', 'example' => 'my-dev-server'], + 'BizRegionId' => ['title' => '地域ID。', 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'ImageId' => ['title' => '镜像ID。', 'description' => '镜像ID。', 'type' => 'string', 'example' => 'img-bp1234567890abcde'], + 'ImageName' => ['title' => '镜像名称。', 'description' => '镜像名称。', 'type' => 'string', 'example' => 'Ubuntu 22.04'], + 'OsType' => ['title' => '操作系统类型。', 'description' => '操作系统类型。', 'type' => 'string', 'example' => 'Linux'], + 'OfficeSiteId' => ['title' => '工作区ID。', 'description' => '工作区ID。', 'type' => 'string', 'example' => 'cn-hangzhou+dir-abc123'], + 'OfficeSiteName' => ['title' => '工作区名称。', 'description' => '工作区名称。', 'type' => 'string', 'example' => '默认工作区'], + 'OfficeSiteType' => ['title' => '工作区类型。', 'description' => '工作区类型。', 'type' => 'string', 'example' => 'Simple'], + 'NetworkInterfaceIp' => ['title' => '内网IP。', 'description' => '内网IP。', 'type' => 'string', 'example' => '10.0.0.1'], + 'ChargeType' => ['title' => '付费类型。', 'description' => '付费类型。', 'type' => 'string', 'example' => 'PrePaid'], + 'CreateTime' => ['title' => '创建时间。', 'description' => '创建时间。', 'type' => 'string', 'example' => '2026-01-01T00:00:00Z'], + 'ExpiredTime' => ['title' => '到期时间。', 'description' => '到期时间。', 'type' => 'string', 'example' => '2027-01-01T00:00:00Z'], + 'Status' => ['title' => '研发主机状态。', 'description' => '研发主机状态。', 'type' => 'string', 'example' => 'Running'], + 'SystemDiskSize' => ['title' => '系统盘大小,单位GB。', 'description' => '系统盘大小,单位GB。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + 'SystemDiskCategory' => ['title' => '系统盘类型。', 'description' => '系统盘类型。', 'type' => 'string', 'example' => 'cloud_essd'], + 'Bandwidth' => ['title' => '带宽大小,单位Mbps。', 'description' => '带宽大小,单位Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'EniPrivateIpAddressQuantity' => ['title' => '单块网卡私有IP地址上限(含主IP)。', 'description' => '单块网卡私有IP地址上限(含主IP)。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PrivateIpSets' => [ + 'title' => '私有IP集合(含主IP和辅助IP)。', + 'description' => '私有IP集合(含主IP和辅助IP)。', + 'type' => 'array', + 'items' => [ + 'title' => '私有IP信息。', + 'description' => '私有IP信息。', + 'type' => 'object', + 'properties' => [ + 'PrivateIpAddress' => ['title' => '私有IP地址。', 'description' => '私有IP地址。', 'type' => 'string', 'example' => '10.0.0.1'], + 'Primary' => ['title' => '是否为主私有IP。true表示主私有IP,false表示辅助私有IP。', 'description' => '是否为主私有IP。true表示主私有IP,false表示辅助私有IP。', 'type' => 'boolean', 'example' => 'true'], + ], + ], + ], + ], ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询无影工作站详情', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Data\\": {\\n \\"WuyingServerId\\": \\"aig-bp1234567890abcde\\",\\n \\"WuyingServerName\\": \\"my-dev-server\\",\\n \\"BizRegionId\\": \\"cn-hangzhou\\",\\n \\"ImageId\\": \\"img-bp1234567890abcde\\",\\n \\"ImageName\\": \\"Ubuntu 22.04\\",\\n \\"OsType\\": \\"Linux\\",\\n \\"OfficeSiteId\\": \\"cn-hangzhou+dir-abc123\\",\\n \\"OfficeSiteName\\": \\"默认工作区\\",\\n \\"OfficeSiteType\\": \\"Simple\\",\\n \\"NetworkInterfaceIp\\": \\"10.0.0.1\\",\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"CreateTime\\": \\"2026-01-01T00:00:00Z\\",\\n \\"ExpiredTime\\": \\"2027-01-01T00:00:00Z\\",\\n \\"Status\\": \\"Running\\",\\n \\"SystemDiskSize\\": 80,\\n \\"SystemDiskCategory\\": \\"cloud_essd\\",\\n \\"Bandwidth\\": 10,\\n \\"EniPrivateIpAddressQuantity\\": 10,\\n \\"PrivateIpSets\\": [\\n {\\n \\"PrivateIpAddress\\": \\"10.0.0.1\\",\\n \\"Primary\\": true\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeWuyingServerEipInfo' => [ + 'summary' => '查询无影工作站EIP信息。', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + ], + 'parameters' => [ + [ + 'name' => 'WuyingServerId', + 'in' => 'formData', + 'schema' => ['description' => '工作站ID。', 'type' => 'string', 'required' => true, 'example' => 'ws-0bw2f11****dial'], + ], + [ + 'name' => 'Isp', + 'in' => 'formData', + 'schema' => ['description' => '互联网服务运营商,取值范围: '."\n" + .'- ChinaMobile:移动。'."\n" + .'- ChinaTelecom:电信。'."\n" + .'- ChinaUnicom:联通。', 'type' => 'string', 'required' => false, 'example' => 'ChinaTelecom'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'EipInfoModel' => [ + 'description' => '弹性公网IP信息。', + 'type' => 'object', + 'properties' => [ + 'NetworkInterfaceId' => ['description' => '网卡ID。', 'type' => 'string', 'example' => 'eni-bp174p2xxxxxbyh02ix'], + 'IpAddress' => ['description' => '公网 IP。', 'type' => 'string', 'example' => '171.xxx.xxx.221'], + 'ServerPortRange' => ['description' => '端口范围。', 'type' => 'string', 'example' => '6606/6607'], + 'EipId' => ['type' => 'string'], + ], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询无影工作站EIP信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"EipInfoModel\\": {\\n \\"NetworkInterfaceId\\": \\"eni-bp174p2xxxxxbyh02ix\\",\\n \\"IpAddress\\": \\"171.xxx.xxx.221\\",\\n \\"ServerPortRange\\": \\"6606/6607\\",\\n \\"EipId\\": \\"\\"\\n }\\n}","type":"json"}]', + ], + 'GetAppInstanceGroup' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '150264', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'AppInstanceGroupId', + 'in' => 'query', + 'schema' => ['description' => '交付组ID。可调用接口[ListAppInstanceGroup](~~ListAppInstanceGroup~~)获取。', 'type' => 'string', 'required' => true, 'example' => 'aig-9ciijz60n4xsv****'], + ], + [ + 'name' => 'ProductType', + 'in' => 'query', + 'schema' => [ + 'description' => '产品类型。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['CloudApp' => '无影云应用'], + 'example' => 'CloudApp', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], 'AppInstanceGroupModels' => [ 'title' => 'AppInstanceGroupModels', 'description' => 'AppInstanceGroupModels', @@ -3938,153 +3113,51 @@ 'description' => '应用信息。', 'type' => 'object', 'properties' => [ - 'AppId' => [ - 'description' => '应用ID。', - 'type' => 'string', - 'example' => 'ca-i87mycyn419nu****', - ], - 'AppName' => [ - 'description' => '应用名称。', - 'type' => 'string', - 'example' => '办公应用', - ], - 'AppVersion' => [ - 'description' => '应用版本。', - 'type' => 'string', - 'example' => '1.0.0', - ], - 'AppVersionName' => [ - 'description' => '应用版本名称。', - 'type' => 'string', - 'example' => '初始版本', - ], - 'AppIcon' => [ - 'description' => '应用图标。', - 'type' => 'string', - 'example' => 'https://app-center-icon-****.png', - ], + 'AppId' => ['description' => '应用ID。', 'type' => 'string', 'example' => 'ca-i87mycyn419nu****'], + 'AppName' => ['description' => '应用名称。', 'type' => 'string', 'example' => '办公应用'], + 'AppVersion' => ['description' => '应用版本。', 'type' => 'string', 'example' => '1.0.0'], + 'AppVersionName' => ['description' => '应用版本名称。', 'type' => 'string', 'example' => '初始版本'], + 'AppIcon' => ['description' => '应用图标。', 'type' => 'string', 'example' => 'https://app-center-icon-****.png'], ], ], ], - 'AppCenterImageId' => [ - 'description' => '应用镜像ID。', - 'type' => 'string', - 'example' => 'img-8z4nztpaqvay4****', - ], - 'RegionId' => [ - 'description' => '交付组所属的地域ID。关于支持的地域详情,请参见[使用限制](~~426036~~)。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], + 'AppCenterImageId' => ['description' => '应用镜像ID。', 'type' => 'string', 'example' => 'img-8z4nztpaqvay4****'], + 'RegionId' => ['description' => '交付组所属的地域ID。关于支持的地域详情,请参见[使用限制](~~426036~~)。', 'type' => 'string', 'example' => 'cn-hangzhou'], 'ProductType' => [ 'description' => '产品类型。', 'type' => 'string', 'enumValueTitles' => [], 'example' => 'CloudApp', ], - 'AppInstanceType' => [ - 'description' => '交付组规格类型。', - 'type' => 'string', - 'example' => '__dynamic__', - ], - 'AppInstanceTypeName' => [ - 'description' => '交付组规格类型名称', - 'type' => 'string', - 'example' => 'test001', - ], - 'AppInstanceGroupId' => [ - 'description' => '交付组ID。', - 'type' => 'string', - 'example' => 'aig-9ciijz60n4xsv****', - ], - 'Amount' => [ - 'description' => '用户设置的包年包月资源的数量。最小值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'MinAmount' => [ - 'description' => '实例数最小值。最小值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'MaxAmount' => [ - 'description' => '实例数最大值。最小值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'ReserveAmountRatio' => [ - 'description' => '预留实例百分比,即交付组中未使用的会话比例。取值范围为0~99。', - 'type' => 'string', - 'example' => '20', - ], - 'ReserveMinAmount' => [ - 'description' => '最小预留实例数,即交付组中未使用会话的最小数量。最小值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ReserveMaxAmount' => [ - 'description' => '最大预留实例数,即交付组中未使用会话的最大数量。最小值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'ScalingStep' => [ - 'description' => '扩容时每次创建会话的数量。最小值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'ScalingUsageThreshold' => [ - 'description' => '会话使用率上限阈值(%)。当会话使用率超过该阈值时,将触发自动扩容。会话使用率的计算公式为会话使用率=当前使用中的会话数÷总会话数×100%。取值范围为0~99。', - 'type' => 'string', - 'example' => '85', - ], - 'ScalingDownAfterIdleMinutes' => [ - 'description' => '无会话连接时长,单位为分钟。当资源内处于无会话连接状态达到此处设置的时长后,将触发自动缩容。最小值为0。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], + 'AppInstanceType' => ['description' => '交付组规格类型。', 'type' => 'string', 'example' => '__dynamic__'], + 'AppInstanceTypeName' => ['description' => '交付组规格类型名称', 'type' => 'string', 'example' => 'test001'], + 'AppInstanceGroupId' => ['description' => '交付组ID。', 'type' => 'string', 'example' => 'aig-9ciijz60n4xsv****'], + 'Amount' => ['description' => '用户设置的包年包月资源的数量。最小值为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'MinAmount' => ['description' => '实例数最小值。最小值为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'MaxAmount' => ['description' => '实例数最大值。最小值为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'ReserveAmountRatio' => ['description' => '预留实例百分比,即交付组中未使用的会话比例。取值范围为0~99。', 'type' => 'string', 'example' => '20'], + 'ReserveMinAmount' => ['description' => '最小预留实例数,即交付组中未使用会话的最小数量。最小值为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ReserveMaxAmount' => ['description' => '最大预留实例数,即交付组中未使用会话的最大数量。最小值为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'ScalingStep' => ['description' => '扩容时每次创建会话的数量。最小值为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'ScalingUsageThreshold' => ['description' => '会话使用率上限阈值(%)。当会话使用率超过该阈值时,将触发自动扩容。会话使用率的计算公式为会话使用率=当前使用中的会话数÷总会话数×100%。取值范围为0~99。', 'type' => 'string', 'example' => '85'], + 'ScalingDownAfterIdleMinutes' => ['description' => '无会话连接时长,单位为分钟。当资源内处于无会话连接状态达到此处设置的时长后,将触发自动缩容。最小值为0。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], 'ChargeType' => [ 'description' => '付费方式。', 'type' => 'string', - 'enumValueTitles' => [ - 'PostPaid' => '按量付费', - 'PrePaid' => '包年包月', - ], + 'enumValueTitles' => ['PostPaid' => '按量付费', 'PrePaid' => '包年包月'], 'example' => 'PrePaid', ], 'ChargeResourceMode' => [ 'description' => '售卖模式。', 'type' => 'string', - 'enumValueTitles' => [ - 'AppInstance' => '按会话售卖', - 'Node' => '按资源售卖', - ], + 'enumValueTitles' => ['AppInstance' => '按会话售卖', 'Node' => '按资源售卖'], 'example' => 'Node', ], - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2022-04-26T15:06:16.000+00:00', - ], + 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2022-04-26T15:06:16.000+00:00'], 'Status' => [ 'description' => '交付组状态。', 'type' => 'string', - 'enumValueTitles' => [ - 'PUBLISHED' => '发布成功', - 'FAILED' => '发布失败', - 'MAINTAIN_FAILED' => '更新失败', - 'EXPIRED' => '已到期', - 'MAINTAINING' => '更新中', - 'CEASED' => '已欠费', - 'EXPIRED_RECYCLING' => '过期回收中', - 'DEPLOYING' => '发布中', - ], + 'enumValueTitles' => ['PUBLISHED' => '发布成功', 'FAILED' => '发布失败', 'MAINTAIN_FAILED' => '更新失败', 'EXPIRED' => '已到期', 'MAINTAINING' => '更新中', 'CEASED' => '已欠费', 'EXPIRED_RECYCLING' => '过期回收中', 'DEPLOYING' => '发布中'], 'example' => 'PUBLISHED', ], 'NodePool' => [ @@ -4094,99 +3167,33 @@ 'description' => '资源组信息。', 'type' => 'object', 'properties' => [ - 'NodePoolId' => [ - 'description' => '资源组ID。', - 'type' => 'string', - 'example' => 'rg-g6922kced36hx****', - ], - 'NodeInstanceType' => [ - 'description' => '购买资源的规格类型ID。', - 'type' => 'string', - 'example' => 'appstreaming.vgpu.4c8g.2g', - ], - 'NodeAmount' => [ - 'description' => '当前包年包月资源的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'NodeUsed' => [ - 'description' => '使用中的包年包月资源数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'NodeCapacity' => [ - 'description' => '并发会话数,即单个资源可同时连接的会话数。如果同时连接的会话数过多,可能导致应用的使用体验下降。取值范围因资源规格不同而不同。各资源规格对应的取值范围分别是:'."\n" - ."\n" - .'- appstreaming.general.4c8g:1\\~2;'."\n" - .'- appstreaming.general.8c16g:1\\~4;'."\n" - .'- appstreaming.vgpu.8c16g.4g:1\\~4;'."\n" - .'- appstreaming.vgpu.8c31g.16g:1\\~4;'."\n" - .'- appstreaming.vgpu.14c93g.12g:1\\~6;', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ScalingNodeAmount' => [ - 'description' => '弹性资源总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'ScalingNodeUsed' => [ - 'description' => '使用中的弹性资源数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], + 'NodePoolId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-g6922kced36hx****'], + 'NodeInstanceType' => ['description' => '购买资源的规格类型ID。', 'type' => 'string', 'example' => 'appstreaming.vgpu.4c8g.2g'], + 'NodeAmount' => ['description' => '当前包年包月资源的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'NodeUsed' => ['description' => '使用中的包年包月资源数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'NodeCapacity' => ['description' => '并发会话数,即单个资源可同时连接的会话数。如果同时连接的会话数过多,可能导致应用的使用体验下降。取值范围因资源规格不同而不同。各资源规格对应的取值范围分别是:'."\n" + ."\n" + .'- appstreaming.general.4c8g:1\\~2;'."\n" + .'- appstreaming.general.8c16g:1\\~4;'."\n" + .'- appstreaming.vgpu.8c16g.4g:1\\~4;'."\n" + .'- appstreaming.vgpu.8c31g.16g:1\\~4;'."\n" + .'- appstreaming.vgpu.14c93g.12g:1\\~6;', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'ScalingNodeAmount' => ['description' => '弹性资源总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'ScalingNodeUsed' => ['description' => '使用中的弹性资源数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], 'StrategyType' => [ 'description' => '弹性策略类型。'."\n" ."\n" .'> `NODE_SCALING_BY_USAGE`(按用量伸缩策略)仅适用于`PrePaid`(包年包月)资源;`NODE_SCALING_BY_SCHEDULE`(定时伸缩策略)仅适用于`PostPaid`(按量付费)资源。', 'type' => 'string', - 'enumValueTitles' => [ - 'NODE_FIXED' => '不使用弹性资源', - 'NODE_SCALING_BY_SCHEDULE' => '定时伸缩', - 'NODE_SCALING_BY_USAGE' => '按用量伸缩策略', - ], + 'enumValueTitles' => ['NODE_FIXED' => '不使用弹性资源', 'NODE_SCALING_BY_SCHEDULE' => '定时伸缩', 'NODE_SCALING_BY_USAGE' => '按用量伸缩策略'], 'example' => 'NODE_FIXED', ], - 'Amount' => [ - 'description' => '创建交付组时购买资源的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'MaxScalingAmount' => [ - 'description' => '扩容时最多创建资源的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'MaxIdleAppInstanceAmount' => [ - 'description' => '空闲会话数上限。指定该值时,当会话使用率超过`ScalingUsageThreshold`且当前交付组空闲会话数小于`MaxIdleAppInstanceAmount`时,才会触发自动扩容,否则认为交付组空闲会话已足够使用,不自动扩容。该参数可用于灵活控制弹性扩容行为和降低使用成本。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'ScalingStep' => [ - 'description' => '扩容时每次创建资源的数量。取值范围:1~10。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ScalingUsageThreshold' => [ - 'description' => '会话使用率上限阈值(%)。当会话使用率超过该阈值时,将触发自动扩容。会话使用率的计算公式为`会话使用率=当前会话数÷(资源总数×资源并发会话数)×100%`。', - 'type' => 'string', - 'example' => '85', - ], - 'ScalingDownAfterIdleMinutes' => [ - 'description' => '无会话连接时长,单位为分钟。当资源内处于无会话连接状态达到此处设置的时长后,将触发自动缩容。默认值:5。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], + 'Amount' => ['description' => '创建交付组时购买资源的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'MaxScalingAmount' => ['description' => '扩容时最多创建资源的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'MaxIdleAppInstanceAmount' => ['description' => '空闲会话数上限。指定该值时,当会话使用率超过`ScalingUsageThreshold`且当前交付组空闲会话数小于`MaxIdleAppInstanceAmount`时,才会触发自动扩容,否则认为交付组空闲会话已足够使用,不自动扩容。该参数可用于灵活控制弹性扩容行为和降低使用成本。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'ScalingStep' => ['description' => '扩容时每次创建资源的数量。取值范围:1~10。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'ScalingUsageThreshold' => ['description' => '会话使用率上限阈值(%)。当会话使用率超过该阈值时,将触发自动扩容。会话使用率的计算公式为`会话使用率=当前会话数÷(资源总数×资源并发会话数)×100%`。', 'type' => 'string', 'example' => '85'], + 'ScalingDownAfterIdleMinutes' => ['description' => '无会话连接时长,单位为分钟。当资源内处于无会话连接状态达到此处设置的时长后,将触发自动缩容。默认值:5。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], 'RecurrenceSchedules' => [ 'description' => '策略执行周期列表。', 'type' => 'array', @@ -4194,20 +3201,11 @@ 'description' => '策略执行周期。', 'type' => 'object', 'properties' => [ - 'RecurrenceType' => [ - 'description' => '策略执行周期的类型。必须同时指定`RecurrenceType`和`RecurrenceValues`。 ', - 'type' => 'string', - 'example' => 'Weekly', - ], + 'RecurrenceType' => ['description' => '策略执行周期的类型。必须同时指定`RecurrenceType`和`RecurrenceValues`。 ', 'type' => 'string', 'example' => 'Weekly'], 'RecurrenceValues' => [ 'description' => '策略执行周期的数值列表。', 'type' => 'array', - 'items' => [ - 'description' => '策略执行周期的数值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'items' => ['description' => '策略执行周期的数值。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], 'TimerPeriods' => [ 'description' => '策略执行周期的时间段列表。', @@ -4216,93 +3214,33 @@ 'description' => '策略执行周期的时间段。', 'type' => 'object', 'properties' => [ - 'Amount' => [ - 'description' => '目标资源数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'EndTime' => [ - 'description' => '结束时间。格式为HH:mm', - 'type' => 'string', - 'example' => '11:00', - ], - 'StartTime' => [ - 'description' => '开始时间。格式为HH:mm', - 'type' => 'string', - 'example' => '09:30', - ], + 'Amount' => ['description' => '目标资源数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'EndTime' => ['description' => '结束时间。格式为HH:mm', 'type' => 'string', 'example' => '11:00'], + 'StartTime' => ['description' => '开始时间。格式为HH:mm', 'type' => 'string', 'example' => '09:30'], ], ], ], ], ], ], - 'StrategyDisableDate' => [ - 'description' => '策略失效日期。格式为:yyyy-MM-dd。', - 'type' => 'string', - 'example' => '2022-09-08', - ], - 'StrategyEnableDate' => [ - 'description' => '策略生效日期。格式为:yyyy-MM-dd。', - 'type' => 'string', - 'example' => '2022-08-01', - ], - 'WarmUp' => [ - 'description' => '是否开启资源预热策略。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'NodeTypeName' => [ - 'description' => '资源规格名称。', - 'type' => 'string', - 'example' => '无影-通用型_4核8G', - ], + 'StrategyDisableDate' => ['description' => '策略失效日期。格式为:yyyy-MM-dd。', 'type' => 'string', 'example' => '2022-09-08'], + 'StrategyEnableDate' => ['description' => '策略生效日期。格式为:yyyy-MM-dd。', 'type' => 'string', 'example' => '2022-08-01'], + 'WarmUp' => ['description' => '是否开启资源预热策略。', 'type' => 'boolean', 'example' => 'false'], + 'NodeTypeName' => ['description' => '资源规格名称。', 'type' => 'string', 'example' => '无影-通用型_4核8G'], ], ], ], - 'SpecId' => [ - 'description' => '与交付组ID唯一对应的ID。', - 'type' => 'string', - 'example' => 'spec-8o18t8uc31qib0****', - ], - 'SessionTimeout' => [ - 'description' => '会话断连保留时长,单位为分钟。终端用户会话断开连接后,会话将保留此处设置的时长,然后再注销。如果始终保留,则填写`-1`。取值范围:-1和3~300。默认值为`15`。', - 'type' => 'string', - 'example' => '15', - ], - 'AppInstanceGroupName' => [ - 'description' => '交付组名称。', - 'type' => 'string', - 'example' => '办公应用', - ], - 'ExpiredTime' => [ - 'description' => '交付组到期时间。', - 'type' => 'string', - 'example' => '2022-04-27T16:00:00.000+00:00', - ], + 'SpecId' => ['description' => '与交付组ID唯一对应的ID。', 'type' => 'string', 'example' => 'spec-8o18t8uc31qib0****'], + 'SessionTimeout' => ['description' => '会话断连保留时长,单位为分钟。终端用户会话断开连接后,会话将保留此处设置的时长,然后再注销。如果始终保留,则填写`-1`。取值范围:-1和3~300。默认值为`15`。', 'type' => 'string', 'example' => '15'], + 'AppInstanceGroupName' => ['description' => '交付组名称。', 'type' => 'string', 'example' => '办公应用'], + 'ExpiredTime' => ['description' => '交付组到期时间。', 'type' => 'string', 'example' => '2022-04-27T16:00:00.000+00:00'], 'OtaInfo' => [ 'description' => 'OTA升级任务信息。', 'type' => 'object', 'properties' => [ - 'OtaVersion' => [ - 'title' => '当前ota版本', - 'description' => '当前OTA版本。', - 'type' => 'string', - 'example' => '0.0.1-D-20220615.11****', - ], - 'NewOtaVersion' => [ - 'title' => '新ota版本,为空表示没有新版本', - 'description' => '新的OTA版本。为空表示没有新版本。', - 'type' => 'string', - 'example' => '0.0.1-D-20220630.11****', - ], - 'TaskId' => [ - 'title' => '任务id', - 'description' => 'OTA升级任务ID。', - 'type' => 'string', - 'example' => 'ota-e49929gv8acz5****', - ], + 'OtaVersion' => ['title' => '当前ota版本', 'description' => '当前OTA版本。', 'type' => 'string', 'example' => '0.0.1-D-20220615.11****'], + 'NewOtaVersion' => ['title' => '新ota版本,为空表示没有新版本', 'description' => '新的OTA版本。为空表示没有新版本。', 'type' => 'string', 'example' => '0.0.1-D-20220630.11****'], + 'TaskId' => ['title' => '任务id', 'description' => 'OTA升级任务ID。', 'type' => 'string', 'example' => 'ota-e49929gv8acz5****'], ], ], 'OsType' => [ @@ -4310,48 +3248,22 @@ 'description' => '系统类型。', 'type' => 'string', 'example' => 'Windows', - 'enum' => [ - 'Windows', - 'Linux', - 'Android', - ], - ], - 'AppCenterImageName' => [ - 'description' => '应用镜像名称。', - 'type' => 'string', - 'example' => 'OfficeApps', - ], - 'ResourceStatus' => [ - 'description' => '资源状态。', - 'type' => 'string', - 'example' => 'AVAILABLE', - ], - 'OfficeSiteId' => [ - 'description' => '办公网络ID。', - 'type' => 'string', - 'example' => 'cn-beijing+dir-172301****'."\n", - ], - 'AppPolicyId' => [ - 'description' => '应用策略ID。', - 'type' => 'string', - 'example' => 'pg-g3k5wa2ms2****', + 'enum' => ['Windows', 'Linux', 'Android'], ], + 'AppCenterImageName' => ['description' => '应用镜像名称。', 'type' => 'string', 'example' => 'OfficeApps'], + 'ResourceStatus' => ['description' => '资源状态。', 'type' => 'string', 'example' => 'AVAILABLE'], + 'OfficeSiteId' => ['description' => '办公网络ID。', 'type' => 'string', 'example' => 'cn-beijing+dir-172301****'."\n"], + 'AppPolicyId' => ['description' => '应用策略ID。', 'type' => 'string', 'example' => 'pg-g3k5wa2ms2****'], 'SkipUserAuthCheck' => [ 'description' => '是否跳过用户授权校验。', 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '不校验', - 'false' => '校验 [默认值]', - ], + 'enumValueTitles' => ['true' => '不校验', 'false' => '校验 [默认值]'], 'example' => 'false', ], 'SessionType' => [ 'description' => '会话类型。', 'type' => 'string', - 'enumValueTitles' => [ - 'CONSOLE' => 'Console会话', - 'NORMAL' => 'RDP会话', - ], + 'enumValueTitles' => ['CONSOLE' => 'Console会话', 'NORMAL' => 'RDP会话'], 'example' => 'NORMAL', ], 'Tags' => [ @@ -4363,28 +3275,15 @@ 'description' => '资源标签。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '标签键。', - 'description' => '标签键。', - 'type' => 'string', - 'example' => 'department', - ], - 'Value' => [ - 'title' => '标签值。', - 'description' => '标签值。', - 'type' => 'string', - 'example' => 'design', - ], + 'Key' => ['title' => '标签键。', 'description' => '标签键。', 'type' => 'string', 'example' => 'department'], + 'Value' => ['title' => '标签值。', 'description' => '标签值。', 'type' => 'string', 'example' => 'design'], 'Scope' => [ 'title' => '标签类型。取值范围:'."\n" .'Custom:自定义标签。'."\n" .'System:系统标签。', 'description' => '标签类型。', 'type' => 'string', - 'enumValueTitles' => [ - 'Custom' => '自定义标签', - 'System' => '系统标签', - ], + 'enumValueTitles' => ['Custom' => '自定义标签', 'System' => '系统标签'], 'example' => 'Custom', ], ], @@ -4394,53 +3293,26 @@ 'title' => '授权模式。', 'description' => '授权模式。', 'type' => 'string', - 'enumValueTitles' => [ - 'App' => '应用授权', - 'AppInstanceGroup' => '交付组授权', - 'Session' => '会话授权', - ], + 'enumValueTitles' => ['App' => '应用授权', 'AppInstanceGroup' => '交付组授权', 'Session' => '会话授权'], 'example' => 'App', 'default' => 'App', - 'enum' => [ - 'App', - 'Session', - 'AppInstanceGroup', - ], + 'enum' => ['App', 'Session', 'AppInstanceGroup'], ], 'AccessType' => [ 'title' => '接入类型。', 'description' => '接入类型。', 'type' => 'string', - 'enumValueTitles' => [ - 'INTERNET' => '互联网', - 'VPC' => '企业专网(VPC)', - 'ANY' => '互联网和企业专网(VPC)', - ], + 'enumValueTitles' => ['INTERNET' => '互联网', 'VPC' => '企业专网(VPC)', 'ANY' => '互联网和企业专网(VPC)'], 'example' => 'INTERNET', 'default' => 'INTERNET', - 'enum' => [ - 'INTERNET', - 'VPC', - 'ANY', - ], - ], - 'SupportUserGroupMixedAuth' => [ - 'title' => '是否支持用户和用户组混合授权。', - 'description' => '是否支持用户和用户组混合授权。', - 'type' => 'boolean', - 'default' => 'true', + 'enum' => ['INTERNET', 'VPC', 'ANY'], ], + 'SupportUserGroupMixedAuth' => ['type' => 'boolean', 'default' => 'true'], 'UserGroupAuthMode' => [ - 'title' => '用户和用户组授权模式。', - 'description' => '用户和用户组授权模式。', 'type' => 'string', 'example' => 'Mixed', 'default' => 'Mixed', - 'enum' => [ - 'Mixed', - 'User', - 'UserGroup', - ], + 'enum' => ['Mixed', 'User', 'UserGroup'], ], ], ], @@ -4448,101 +3320,468 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"AppInstanceGroupModels\\": {\\n \\"Apps\\": [\\n {\\n \\"AppId\\": \\"ca-i87mycyn419nu****\\",\\n \\"AppName\\": \\"办公应用\\",\\n \\"AppVersion\\": \\"1.0.0\\",\\n \\"AppVersionName\\": \\"初始版本\\",\\n \\"AppIcon\\": \\"https://app-center-icon-****.png\\"\\n }\\n ],\\n \\"AppCenterImageId\\": \\"img-8z4nztpaqvay4****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ProductType\\": \\"CloudApp\\",\\n \\"AppInstanceType\\": \\"__dynamic__\\",\\n \\"AppInstanceTypeName\\": \\"test001\\",\\n \\"AppInstanceGroupId\\": \\"aig-9ciijz60n4xsv****\\",\\n \\"Amount\\": 1,\\n \\"MinAmount\\": 1,\\n \\"MaxAmount\\": 10,\\n \\"ReserveAmountRatio\\": \\"20\\",\\n \\"ReserveMinAmount\\": 1,\\n \\"ReserveMaxAmount\\": 5,\\n \\"ScalingStep\\": 10,\\n \\"ScalingUsageThreshold\\": \\"85\\",\\n \\"ScalingDownAfterIdleMinutes\\": 5,\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"ChargeResourceMode\\": \\"Node\\",\\n \\"GmtCreate\\": \\"2022-04-26T15:06:16.000+00:00\\",\\n \\"Status\\": \\"PUBLISHED\\",\\n \\"NodePool\\": [\\n {\\n \\"NodePoolId\\": \\"rg-g6922kced36hx****\\",\\n \\"NodeInstanceType\\": \\"appstreaming.vgpu.4c8g.2g\\",\\n \\"NodeAmount\\": 1,\\n \\"NodeUsed\\": 1,\\n \\"NodeCapacity\\": 2,\\n \\"ScalingNodeAmount\\": 8,\\n \\"ScalingNodeUsed\\": 4,\\n \\"StrategyType\\": \\"NODE_FIXED\\",\\n \\"Amount\\": 2,\\n \\"MaxScalingAmount\\": 8,\\n \\"MaxIdleAppInstanceAmount\\": 3,\\n \\"ScalingStep\\": 2,\\n \\"ScalingUsageThreshold\\": \\"85\\",\\n \\"ScalingDownAfterIdleMinutes\\": 5,\\n \\"RecurrenceSchedules\\": [\\n {\\n \\"RecurrenceType\\": \\"Weekly\\",\\n \\"RecurrenceValues\\": [\\n 1\\n ],\\n \\"TimerPeriods\\": [\\n {\\n \\"Amount\\": 5,\\n \\"EndTime\\": \\"11:00\\",\\n \\"StartTime\\": \\"09:30\\"\\n }\\n ]\\n }\\n ],\\n \\"StrategyDisableDate\\": \\"2022-09-08\\",\\n \\"StrategyEnableDate\\": \\"2022-08-01\\",\\n \\"WarmUp\\": false,\\n \\"NodeTypeName\\": \\"无影-通用型_4核8G\\"\\n }\\n ],\\n \\"SpecId\\": \\"spec-8o18t8uc31qib0****\\",\\n \\"SessionTimeout\\": \\"15\\",\\n \\"AppInstanceGroupName\\": \\"办公应用\\",\\n \\"ExpiredTime\\": \\"2022-04-27T16:00:00.000+00:00\\",\\n \\"OtaInfo\\": {\\n \\"OtaVersion\\": \\"0.0.1-D-20220615.11****\\",\\n \\"NewOtaVersion\\": \\"0.0.1-D-20220630.11****\\",\\n \\"TaskId\\": \\"ota-e49929gv8acz5****\\"\\n },\\n \\"OsType\\": \\"Windows\\",\\n \\"AppCenterImageName\\": \\"OfficeApps\\",\\n \\"ResourceStatus\\": \\"AVAILABLE\\",\\n \\"OfficeSiteId\\": \\"cn-beijing+dir-172301****\\\\n\\",\\n \\"AppPolicyId\\": \\"pg-g3k5wa2ms2****\\",\\n \\"SkipUserAuthCheck\\": false,\\n \\"SessionType\\": \\"NORMAL\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"design\\",\\n \\"Scope\\": \\"Custom\\"\\n }\\n ],\\n \\"AuthMode\\": \\"App\\",\\n \\"AccessType\\": \\"INTERNET\\",\\n \\"SupportUserGroupMixedAuth\\": true,\\n \\"UserGroupAuthMode\\": \\"Mixed\\"\\n }\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '查询指定交付组详细信息', - ], - 'ListAppInstanceGroup' => [ - 'summary' => '查询多个交付组详细信息,即不指定特定的交付组,而是查询所有满足条件的交付组的详细信息。', - 'methods' => [ - 'get', - 'post', + 'summary' => '查询指定交付组详细信息。', + 'changeSet' => [ + ['createdAt' => '2025-06-23T12:30:44.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2025-04-27T12:11:15.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-12-11T12:26:57.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-10-22T08:05:48.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-09-12T07:33:20.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-12-28T12:03:17.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-05-12T13:36:18.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-04-28T12:41:12.000Z', 'description' => '响应参数发生变更、响应参数发生变更'], + ['createdAt' => '2023-03-24T06:16:27.000Z', 'description' => '响应参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAppInstanceGroup'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:GetAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"AppInstanceGroupModels\\": {\\n \\"Apps\\": [\\n {\\n \\"AppId\\": \\"ca-i87mycyn419nu****\\",\\n \\"AppName\\": \\"办公应用\\",\\n \\"AppVersion\\": \\"1.0.0\\",\\n \\"AppVersionName\\": \\"初始版本\\",\\n \\"AppIcon\\": \\"https://app-center-icon-****.png\\"\\n }\\n ],\\n \\"AppCenterImageId\\": \\"img-8z4nztpaqvay4****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ProductType\\": \\"CloudApp\\",\\n \\"AppInstanceType\\": \\"__dynamic__\\",\\n \\"AppInstanceTypeName\\": \\"test001\\",\\n \\"AppInstanceGroupId\\": \\"aig-9ciijz60n4xsv****\\",\\n \\"Amount\\": 1,\\n \\"MinAmount\\": 1,\\n \\"MaxAmount\\": 10,\\n \\"ReserveAmountRatio\\": \\"20\\",\\n \\"ReserveMinAmount\\": 1,\\n \\"ReserveMaxAmount\\": 5,\\n \\"ScalingStep\\": 10,\\n \\"ScalingUsageThreshold\\": \\"85\\",\\n \\"ScalingDownAfterIdleMinutes\\": 5,\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"ChargeResourceMode\\": \\"Node\\",\\n \\"GmtCreate\\": \\"2022-04-26T15:06:16.000+00:00\\",\\n \\"Status\\": \\"PUBLISHED\\",\\n \\"NodePool\\": [\\n {\\n \\"NodePoolId\\": \\"rg-g6922kced36hx****\\",\\n \\"NodeInstanceType\\": \\"appstreaming.vgpu.4c8g.2g\\",\\n \\"NodeAmount\\": 1,\\n \\"NodeUsed\\": 1,\\n \\"NodeCapacity\\": 2,\\n \\"ScalingNodeAmount\\": 8,\\n \\"ScalingNodeUsed\\": 4,\\n \\"StrategyType\\": \\"NODE_FIXED\\",\\n \\"Amount\\": 2,\\n \\"MaxScalingAmount\\": 8,\\n \\"MaxIdleAppInstanceAmount\\": 3,\\n \\"ScalingStep\\": 2,\\n \\"ScalingUsageThreshold\\": \\"85\\",\\n \\"ScalingDownAfterIdleMinutes\\": 5,\\n \\"RecurrenceSchedules\\": [\\n {\\n \\"RecurrenceType\\": \\"Weekly\\",\\n \\"RecurrenceValues\\": [\\n 1\\n ],\\n \\"TimerPeriods\\": [\\n {\\n \\"Amount\\": 5,\\n \\"EndTime\\": \\"11:00\\",\\n \\"StartTime\\": \\"09:30\\"\\n }\\n ]\\n }\\n ],\\n \\"StrategyDisableDate\\": \\"2022-09-08\\",\\n \\"StrategyEnableDate\\": \\"2022-08-01\\",\\n \\"WarmUp\\": false,\\n \\"NodeTypeName\\": \\"无影-通用型_4核8G\\"\\n }\\n ],\\n \\"SpecId\\": \\"spec-8o18t8uc31qib0****\\",\\n \\"SessionTimeout\\": \\"15\\",\\n \\"AppInstanceGroupName\\": \\"办公应用\\",\\n \\"ExpiredTime\\": \\"2022-04-27T16:00:00.000+00:00\\",\\n \\"OtaInfo\\": {\\n \\"OtaVersion\\": \\"0.0.1-D-20220615.11****\\",\\n \\"NewOtaVersion\\": \\"0.0.1-D-20220630.11****\\",\\n \\"TaskId\\": \\"ota-e49929gv8acz5****\\"\\n },\\n \\"OsType\\": \\"Windows\\",\\n \\"AppCenterImageName\\": \\"OfficeApps\\",\\n \\"ResourceStatus\\": \\"AVAILABLE\\",\\n \\"OfficeSiteId\\": \\"cn-beijing+dir-172301****\\\\n\\",\\n \\"AppPolicyId\\": \\"pg-g3k5wa2ms2****\\",\\n \\"SkipUserAuthCheck\\": false,\\n \\"SessionType\\": \\"NORMAL\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"design\\",\\n \\"Scope\\": \\"Custom\\"\\n }\\n ],\\n \\"AuthMode\\": \\"App\\",\\n \\"AccessType\\": \\"INTERNET\\",\\n \\"SupportUserGroupMixedAuth\\": true,\\n \\"UserGroupAuthMode\\": \\"Mixed\\"\\n }\\n}","type":"json"}]', + ], + 'GetConnectionTicket' => [ + 'summary' => '获取云应用连接凭证。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '134196', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingBC1NTD', - ], + 'abilityTreeCode' => '169756', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'PageSize', - 'in' => 'query', + 'name' => 'ProductType', + 'in' => 'formData', 'schema' => [ - 'description' => '每页的查询结果数量,不可超过`100`。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '10', - 'default' => '20', + 'description' => '产品类型。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['CloudApp' => '云应用', 'AndroidCloud' => '安卓云'], + 'example' => 'CloudApp', ], ], [ - 'name' => 'PageNumber', - 'in' => 'query', + 'name' => 'EndUserId', + 'in' => 'formData', + 'schema' => ['description' => '用户名称。', 'type' => 'string', 'required' => true, 'example' => 'alice'], + ], + [ + 'name' => 'BizRegionId', + 'in' => 'formData', 'schema' => [ - 'description' => '需展示的查询结果页码。', - 'type' => 'integer', - 'format' => 'int32', + 'description' => '地域ID。'."\n" + ."\n" + .'> 当传入本参数时,仅会在参数指定地域的交付组中分配应用实例。', + 'type' => 'string', 'required' => false, - 'example' => '1', + 'enumValueTitles' => ['cn-shenzhen' => 'cn-shenzhen', 'cn-beijing' => 'cn-beijing', 'cn-shanghai' => 'cn-shanghai', 'cn-zhangjiakou' => 'cn-zhangjiakou', 'cn-hangzhou' => 'cn-hangzhou'], + 'example' => 'cn-hangzhou', ], ], [ - 'name' => 'Status', + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => ['description' => '任务ID。'."\n" + ."\n" + .'> 非首次调用时必填。使用本参数查询任务状态和连接凭证。', 'type' => 'string', 'required' => false, 'example' => '28778acb-a469-4bc0-8e0f****'], + ], + [ + 'name' => 'AppId', + 'in' => 'formData', + 'schema' => ['description' => '应用ID。'."\n" + ."\n" + .'> 首次调用时必填,后续调用时选填。', 'type' => 'string', 'required' => false, 'example' => 'ca-e4s0puhmwi7v****'], + ], + [ + 'name' => 'AppVersion', + 'in' => 'formData', + 'schema' => ['description' => '应用版本。传入本参数时,仅会打开参数所指定版本的应用。如果不传入本参数,则会打开已授权的任意版本的应用。', 'type' => 'string', 'required' => false, 'example' => '1.0.0'], + ], + [ + 'name' => 'AppStartParam', + 'in' => 'formData', + 'schema' => ['description' => '应用启动参数。关于启动参数的获取方法,请参见[如何获取应用安装参数与启动参数](~~426045~~)。', 'type' => 'string', 'required' => false, 'example' => '/q /n'], + ], + [ + 'name' => 'EnvironmentConfig', + 'in' => 'formData', + 'schema' => ['title' => '环境配置。', 'description' => '环境配置。', 'type' => 'string', 'required' => false], + ], + [ + 'name' => 'AppInstanceGroupIdList', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ - 'description' => '交付组状态列表。', + 'description' => '交付组列表。'."\n" + ."\n" + .'> - 当传入本参数时,仅会在参数指定的且已授权的交付组中分配应用实例。'."\n" + .'> - 当传入`AppInstanceId`或`AppInstancePersistentId `参数时,本参数必填。', 'type' => 'array', - 'items' => [ - 'description' => '交付组状态。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'PUBLISHED' => '发布成功', - 'FAILED' => '发布失败', - 'MAINTAIN_FAILED' => '更新失败', - 'EXPIRED' => '已到期', - 'MAINTAINING' => '更新中', - 'CEASED' => '已欠费', - 'EXPIRED_RECYCLING' => '过期回收中', - 'DEPLOYING' => '发布中', + 'items' => ['description' => '交付组ID。', 'type' => 'string', 'required' => false, 'example' => 'aig-4xz0oy8x4ipyv****'], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'AppInstancePersistentId', + 'in' => 'formData', + 'schema' => ['description' => '持久会话ID。', 'type' => 'string', 'required' => false, 'example' => 'p-0bxls9m3cl7s****'], + ], + [ + 'name' => 'AppInstanceId', + 'in' => 'formData', + 'schema' => ['description' => '应用实例ID。'."\n" + ."\n" + .'> '."\n" + .'> - 当传入本参数时,仅会尝试分配参数所指定的应用实例。'."\n" + .'> - 当传入本参数时,必须同时传入`AppInstanceGroupIdList`参数,且`AppInstanceGroupIdList`中交付组ID的数量为1。', 'type' => 'string', 'required' => false, 'example' => 'ai-1rznfnrvsa99d****'], + ], + [ + 'name' => 'AccessType', + 'in' => 'formData', + 'schema' => [ + 'title' => '接入类型,不传表示两种都显示。'."\n" + .'取值范围:'."\n" + .'互联网:INTERNET'."\n" + .'专线:VPC', + 'description' => '接入类型,不传表示两种都显示。'."\n" + .'取值范围:'."\n" + .'互联网:INTERNET'."\n" + .'专线:VPC', + 'type' => 'string', + 'required' => false, + 'example' => 'INTERNET', + 'maxLength' => 10, + 'minLength' => 0, + 'default' => 'INTERNET', + 'enum' => ['INTERNET', 'VPC'], + ], + ], + [ + 'name' => 'AppPolicyId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'TaskStatus' => [ + 'description' => '任务状态。', + 'type' => 'string', + 'enumValueTitles' => ['Finished' => '已完成', 'Failed' => '已失败', 'Running' => '执行中'], + 'example' => 'Running', ], - 'example' => '"Status.1":"PUBLISHED","Status.2":"FAILED"', + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'f3d1b31c-605e-4d04-a896****'], + 'BizRegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'Ticket' => ['description' => '连接云应用的凭证。'."\n" + .'> 非首次调用时显示此参数。', 'type' => 'string', 'example' => 'DQpbRGVza3RvcF0NCkZvcmNlVGxzVHlwZT0xDQpHV1Rva2VuUGFydDE9MDAva09ROW1FUTU3dU****'], + 'AppInstanceGroupId' => ['description' => '交付组ID。', 'type' => 'string', 'example' => 'aig-53fvrq1oan****'], + 'AppInstancePersistentId' => ['description' => '持久会话ID。', 'type' => 'string', 'example' => 'p-0bxls9m3cl7s****'], + 'AppInstanceId' => ['description' => '应用实例ID。', 'type' => 'string', 'example' => 'ai-7ybdeiyoeh5e****'], + 'OsType' => [ + 'description' => '操作系统类型。', + 'type' => 'string', + 'enumValueTitles' => ['Windows' => 'Windows操作系统'], + 'example' => 'Windows', + ], + 'TenantId' => ['description' => '租户ID(阿里云账号UID)。', 'type' => 'integer', 'format' => 'int64', 'example' => '148871678899****'], + 'AvatarId' => ['title' => '分身ID。', 'description' => '分身ID。', 'type' => 'string'], ], - 'required' => false, - 'maxItems' => 1000, + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取云应用连接凭证', + 'description' => '本接口需要多次调用(至少两次)才能最终获得连接凭证。'."\n" + ."\n" + .'第一次调用,会为指定的便捷账号分配应用实例,并启动应用。返回启动任务ID(`TaskID`)。'."\n" + ."\n" + .'后续调用,需要在请求参数中传入`TaskID`参数,查询任务是否结束,当返回的任务状态(`TaskStatus`)为已完成(`Finished`)时,会同时返回连接凭证(`Ticket`)。', + 'changeSet' => [ + ['createdAt' => '2025-06-25T07:38:22.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2025-06-23T03:33:07.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-04-07T11:39:27.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-12-22T07:18:41.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2023-06-29T04:01:39.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-03-20T11:12:59.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConnectionTicket'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'appstreaming:GetConnectionTicket', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TaskStatus\\": \\"Running\\",\\n \\"TaskId\\": \\"f3d1b31c-605e-4d04-a896****\\",\\n \\"BizRegionId\\": \\"cn-hangzhou\\",\\n \\"Ticket\\": \\"DQpbRGVza3RvcF0NCkZvcmNlVGxzVHlwZT0xDQpHV1Rva2VuUGFydDE9MDAva09ROW1FUTU3dU****\\",\\n \\"AppInstanceGroupId\\": \\"aig-53fvrq1oan****\\",\\n \\"AppInstancePersistentId\\": \\"p-0bxls9m3cl7s****\\",\\n \\"AppInstanceId\\": \\"ai-7ybdeiyoeh5e****\\",\\n \\"OsType\\": \\"Windows\\",\\n \\"TenantId\\": 0,\\n \\"AvatarId\\": \\"\\"\\n}","type":"json"}]', + ], + 'GetDebugAppInstance' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'ProductType', + 'in' => 'formData', + 'schema' => [ + 'description' => '产品类型。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['CloudApp' => '无影云应用'], + 'example' => 'CloudApp', ], ], [ 'name' => 'AppInstanceGroupId', + 'in' => 'formData', + 'schema' => ['description' => '交付组ID。可通过`listAppInstanceGroup`接口获取。', 'type' => 'string', 'required' => true, 'example' => 'aig-9ciijz60n4xsv****'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'AppInstanceGroupId' => ['description' => '交付组ID。', 'type' => 'string', 'example' => 'aig-9ciijz60n4xsv****'], + 'AppInstanceId' => ['description' => '应用实例ID。', 'type' => 'string', 'example' => 'ai-7ybdeiyoeh5e****'], + 'AppId' => ['description' => '应用ID。', 'type' => 'string', 'example' => '__DEBUG_APP'], + 'UserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => '__debug__'], + 'AuthCode' => ['description' => '授权码。该授权码有效期为3分钟,且无论校验成功或失败,只能被使用一次。当为一个用户生成多个授权码时,只有最后一次生成的有效。', 'type' => 'string', 'example' => 'e4e169bea1cc48e8afac53**********'], + 'AppVersion' => ['description' => '应用版本ID。', 'type' => 'string', 'example' => '1.1'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取调试应用实例信息', + 'summary' => '获取调试应用实例信息。', + 'responseParamsDescription' => '根据获得的返回参数,您可以拼接URL来获取建连信息。URL拼接示例:'."\n" + ."\n" + .'`<https://wuying.aliyun.com/appMyBank>?AppId=__DEBUG_APP&AppVersion=1.0&AppInstanceGroupId=aig-5wfetbb7aovy8****&Env=online&AppInstanceId=ai-c7ruhxqww38ws****&AuthCode=acv2j%2BqjU3GAIBVOz33KxdcVyHJ58Dc2N2GC3ZpWNu9Q3zX84cxbNJcPX5enF%2BPePBEgBHxvF28QQcUOjgMk5tHgQKbe%2FUXbIDfg83vN7C3XMzkXo8ByHepfSLQwFLdP4S83zA327ugaB1w1pNnDwhbSvkfRmTA3JOc%2FNEqNs6w%2FePg5NmS4bRhodpYkb4wL****`'."\n" + ."\n" + .'> `<https://wuying.aliyun.com/appMyBank>`需根据您的业务实际情况替换。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDebugAppInstance'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:GetDebugAppInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"AppInstanceGroupId\\": \\"aig-9ciijz60n4xsv****\\",\\n \\"AppInstanceId\\": \\"ai-7ybdeiyoeh5e****\\",\\n \\"AppId\\": \\"__DEBUG_APP\\",\\n \\"UserId\\": \\"__debug__\\",\\n \\"AuthCode\\": \\"e4e169bea1cc48e8afac53**********\\",\\n \\"AppVersion\\": \\"1.1\\"\\n}","type":"json"}]', + ], + 'GetModelProviderTemplate' => [ + 'summary' => '查询模型提供商模板详情', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + ], + 'parameters' => [ + [ + 'name' => 'ProviderTemplateId', 'in' => 'query', + 'schema' => ['title' => '提供商模板 ID', 'description' => '模型服务商模板ID。', 'type' => 'string', 'required' => true, 'example' => 'mpt-xxxx'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<ModelProviderTemplateModel>', + 'description' => '请求结果。', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '返回数据对象。', + 'type' => 'object', + 'properties' => [ + 'ProviderTemplateId' => ['title' => '提供商模板 ID', 'description' => '模型服务商模板ID。', 'type' => 'string', 'example' => 'mpt-xxxx'], + 'ProviderName' => ['title' => '提供商名称', 'description' => '模型服务商名称。', 'type' => 'string', 'example' => 'bailian'], + 'Name' => ['title' => '模板名称', 'description' => '模型服务商模板名称。', 'type' => 'string', 'example' => '阿里云百炼。'], + 'Description' => ['title' => '模板描述', 'description' => '模型服务商模板描述。', 'type' => 'string', 'example' => '阿里云百炼服务商。'], + 'Config' => ['title' => '模型配置 JSON', 'description' => '模型服务商模板配置JSON对象。', 'type' => 'string', 'example' => '{'."\n" + .' "api": "openai-completions",'."\n" + .' "apiKey": "sk-xxxx",'."\n" + .' "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1"'."\n" + .'}'], + 'EnableWuyingProxy' => [ + 'title' => '是否启用无影安全代理', + 'description' => '是否启用无影安全网关代理。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', + ], + ], + ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询模型服务商模板详情', + 'description' => '您可以查询无影 Agent 管理中心中指定模型服务商模板的详细信息,包括服务商名称、描述及连接配置列表。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ProviderTemplateId\\": \\"mpt-xxxx\\",\\n \\"ProviderName\\": \\"bailian\\",\\n \\"Name\\": \\"阿里云百炼。\\",\\n \\"Description\\": \\"阿里云百炼服务商。\\",\\n \\"Config\\": \\"{\\\\n\\\\t\\\\\\"api\\\\\\": \\\\\\"openai-completions\\\\\\",\\\\n\\\\t\\\\\\"apiKey\\\\\\": \\\\\\"sk-xxxx\\\\\\",\\\\n\\\\t\\\\\\"baseUrl\\\\\\": \\\\\\"https://dashscope.aliyuncs.com/compatible-mode/v1\\\\\\"\\\\n}\\",\\n \\"EnableWuyingProxy\\": true\\n },\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'GetOtaTaskByTaskId' => [ + 'summary' => '查询OTA升级任务明细,包括可升级版本、版本说明等。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'TaskId', + 'in' => 'formData', + 'schema' => ['title' => 'ota任务id', 'description' => 'OTA升级任务ID。可调用[ListAppInstanceGroup](~~428506~~)获取。', 'type' => 'string', 'required' => true, 'example' => 'ota-be7jzm29wrrz5****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '交付组ID。', + 'title' => 'Schema of Response', + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'Code' => ['title' => '错误码', 'description' => '出错时的错误码。', 'type' => 'string', 'example' => 'OtaTask.Running'], + 'Message' => ['title' => '提示', 'description' => '出错时的错误消息。', 'type' => 'string', 'example' => 'The task is running and cannot be sumitted.'], + 'ReleaseNote' => ['title' => '版本说明', 'description' => '版本说明,描述OTA升级的内容。', 'type' => 'string', 'example' => '测试升级'], + 'OtaVersion' => ['title' => '版本号', 'description' => 'OTA版本。', 'type' => 'string', 'example' => '0.0.1-R-20220708.110604'], + 'TaskStartTime' => ['title' => '任务执行时间,ISO-8601格式', 'description' => '任务执行时间,ISO 8601格式。', 'type' => 'string', 'format' => 'iso8601', 'example' => '2022-08-04T14:36:00+08:00'], + ], + ], + ], + ], + 'title' => '查询OTA升级任务明细', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOtaTaskByTaskId'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ModifyAppInstanceGroupAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Code\\": \\"OtaTask.Running\\",\\n \\"Message\\": \\"The task is running and cannot be sumitted.\\",\\n \\"ReleaseNote\\": \\"测试升级\\",\\n \\"OtaVersion\\": \\"0.0.1-R-20220708.110604\\",\\n \\"TaskStartTime\\": \\"2022-08-04T14:36:00+08:00\\"\\n}","type":"json"}]', + ], + 'GetResourcePrice' => [ + 'summary' => '查询资源的价格信息。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'NodeInstanceType', + 'in' => 'query', + 'schema' => [ + 'description' => '购买资源的规格类型ID,可通过[ListNodeInstanceType](~~428502~~)接口获取。'."\n" + ."\n" + .'AppInstanceType与NodeInstanceType其中一个必须有值。若两个都有值则使用NodeInstanceType。', 'type' => 'string', 'required' => false, - 'example' => 'aig-9ciijz60n4xsv****', + 'enumValueTitles' => ['appstreaming.vgpu.8c16g.4g' => '无影-图形型_8核16G 4G显存', 'appstreaming.general.8c16g' => '无影-通用型_8核16G', 'appstreaming.general.4c8g' => '无影-通用型_4核8G', 'appstreaming.vgpu.14c93g.12g' => '无影-图形型_14核93G 12G显存', 'appstreaming.vgpu.8c31g.16g' => '无影-图形型_8核31G 16G显存'], + 'example' => 'appstreaming.vgpu.4c8g.2g', ], ], [ @@ -4552,80 +3791,823 @@ 'description' => '产品类型。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', + 'enumValueTitles' => ['CloudApp' => '无影云应用'], + 'example' => 'CloudApp', + ], + ], + [ + 'name' => 'ChargeType', + 'in' => 'query', + 'schema' => [ + 'description' => '付费方式。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['PostPaid' => '按量付费', 'PrePaid' => '包年包月'], + 'example' => 'PrePaid', + ], + ], + [ + 'name' => 'Period', + 'in' => 'query', + 'schema' => ['description' => '资源购买时长的数量部分,与`PeriodUnit`一起表示完整的购买时长。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PeriodUnit', + 'in' => 'query', + 'schema' => [ + 'description' => '资源购买时长的单位部分,与`Period`一起表示完整的购买时长。可使用的`Period`与`PeriodUnit`的搭配如下:'."\n" + ."\n" + .'- 1 Week(1周)'."\n" + .'- 1 Month(1个月)'."\n" + .'- 2 Month(2个月)'."\n" + .'- 3 Month(3个月)'."\n" + .'- 6 Month(6个月)'."\n" + .'- 1 Year(1年)'."\n" + .'- 2 Year(2年)'."\n" + .'- 3 Year(3年)'."\n" + ."\n" + .'> 该参数区分大小写。例如,`Week`是有效的,`week`是无效的。另外,如果请求参数不符合上述搭配,例如`2 Week`,虽然调用本接口会成功,但最终在下单阶段会出错。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['Month' => '月', 'Year' => '年', 'Week' => '周'], + 'example' => 'Week', + ], + ], + [ + 'name' => 'Amount', + 'in' => 'query', + 'schema' => ['description' => '购买资源的数量。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'BizRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '交付组所属的地域ID。关于支持的地域详情,请参见[使用限制](~~426036~~)。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['cn-shanghai' => '华东2(上海)', 'cn-hangzhou' => '华东1(杭州)'], + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'AppInstanceType', + 'in' => 'query', + 'schema' => ['description' => '购买会话的规格类型ID,可通过`ListAppInstanceType`接口获取。'."\n" + ."\n" + .'AppInstanceType与NodeInstanceType其中一个必须有值。若两个都有值则使用NodeInstanceType。', 'type' => 'string', 'required' => false, 'example' => 'appstreaming.general'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'Code' => ['description' => '出错时的错误码。', 'type' => 'string', 'example' => 'InvalidParameter.ProductType'], + 'Message' => ['description' => '出错时的错误消息。', 'type' => 'string', 'example' => 'The parameter ProductType is invalid.'], + 'PriceModel' => [ + 'description' => '价格对象。'."\n" + ."\n" + .'请求参数NodeInstanceType有值时返回此参数。', + 'type' => 'object', + 'properties' => [ + 'Price' => [ + 'description' => '价格详情。', + 'type' => 'object', + 'properties' => [ + 'OriginalPrice' => ['description' => '原价。', 'type' => 'string', 'example' => '11.00'], + 'DiscountPrice' => ['description' => '折减的价格,原价减去折减的价格即为实际价格。', 'type' => 'string', 'example' => '1.00'], + 'TradePrice' => ['description' => '实际价格,原价减去折减的价格即为实际价格。', 'type' => 'string', 'example' => '10.00'], + 'Currency' => ['description' => '币种。', 'type' => 'string', 'example' => 'CNY'], + 'Promotions' => [ + 'description' => '优惠券元数据。', + 'type' => 'array', + 'items' => [ + 'description' => '优惠券元数据。', + 'type' => 'object', + 'properties' => [ + 'OptionCode' => ['description' => '优惠券代号。', 'type' => 'string', 'example' => 'coupon****'], + 'PromotionId' => ['description' => '优惠券ID。', 'type' => 'string', 'example' => '17440009****'], + 'PromotionName' => ['description' => '优惠券名称。', 'type' => 'string', 'example' => '**优惠'], + 'PromotionDesc' => ['description' => '优惠券描述。', 'type' => 'string', 'example' => '**活动期间的优惠'], + 'Selected' => [ + 'description' => '是否选用优惠券。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '选用', 'false' => '不选用'], + 'example' => 'true', + ], + ], + ], + ], + ], + ], + 'Rules' => [ + 'description' => '价格计算规则。', + 'type' => 'array', + 'items' => [ + 'description' => '价格计算规则。', + 'type' => 'object', + 'properties' => [ + 'RuleId' => ['description' => '价格计算规则ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '102002100393****'], + 'Description' => ['description' => '价格计算规则描述。', 'type' => 'string', 'example' => '用户优惠'], + ], + ], + ], + ], + ], + 'PriceList' => [ + 'description' => '价格对象列表。'."\n" + ."\n" + .'请求参数AppInstanceType有值时返回此参数。', + 'type' => 'array', + 'items' => [ + 'description' => '价格对象。', + 'type' => 'object', + 'properties' => [ + 'PriceType' => [ + 'description' => '价格类型。', + 'type' => 'string', + 'enumValueTitles' => ['Connected' => '使用阶段', 'Standby' => '预开阶段'], + 'example' => 'Standby', + ], + 'Price' => [ + 'description' => '价格详情。', + 'type' => 'object', + 'properties' => [ + 'OriginalPrice' => ['description' => '原价。', 'type' => 'string', 'example' => '6700'], + 'DiscountPrice' => ['description' => '折减的价格,原价减去折减的价格即为实际价格。', 'type' => 'string', 'example' => '999.0'], + 'TradePrice' => ['description' => '实际价格,原价减去折减的价格即为实际价格。', 'type' => 'string', 'example' => '5278.0'], + 'Currency' => ['description' => '币种。', 'type' => 'string', 'example' => 'CNY'], + 'Promotions' => [ + 'description' => '优惠券元数据。', + 'type' => 'array', + 'items' => [ + 'description' => '优惠券元数据。', + 'type' => 'object', + 'properties' => [ + 'OptionCode' => ['description' => '优惠券代号。', 'type' => 'string', 'example' => 'coupon****'], + 'PromotionId' => ['description' => '优惠券ID。', 'type' => 'string', 'example' => '1847709****'], + 'PromotionName' => ['description' => '优惠券名称。', 'type' => 'string', 'example' => '**优惠'], + 'PromotionDesc' => ['description' => '优惠券描述。', 'type' => 'string', 'example' => '**活动期间的优惠'], + 'Selected' => [ + 'description' => '是否选用优惠券。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '选用', 'false' => '不选用'], + 'example' => 'true', + ], + ], + ], + ], + ], + ], + 'Rules' => [ + 'description' => '价格计算规则。', + 'type' => 'array', + 'items' => [ + 'description' => '价格计算规则。', + 'type' => 'object', + 'properties' => [ + 'RuleId' => ['description' => '价格计算规则ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '260904273633****'], + 'Description' => ['description' => '价格计算规则描述。', 'type' => 'string', 'example' => '用户优惠。'], + ], + ], + ], + ], + ], + ], ], + ], + ], + ], + 'title' => '查询资源价格', + 'changeSet' => [ + ['createdAt' => '2023-05-12T13:36:18.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-12-02T08:12:41.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-05-09T14:31:31.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2022-05-09T14:31:31.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourcePrice'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:GetResourcePrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Code\\": \\"InvalidParameter.ProductType\\",\\n \\"Message\\": \\"The parameter ProductType is invalid.\\",\\n \\"PriceModel\\": {\\n \\"Price\\": {\\n \\"OriginalPrice\\": \\"11.00\\",\\n \\"DiscountPrice\\": \\"1.00\\",\\n \\"TradePrice\\": \\"10.00\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"Promotions\\": [\\n {\\n \\"OptionCode\\": \\"coupon****\\",\\n \\"PromotionId\\": \\"17440009****\\",\\n \\"PromotionName\\": \\"**优惠\\",\\n \\"PromotionDesc\\": \\"**活动期间的优惠\\",\\n \\"Selected\\": true\\n }\\n ]\\n },\\n \\"Rules\\": [\\n {\\n \\"RuleId\\": 0,\\n \\"Description\\": \\"用户优惠\\"\\n }\\n ]\\n },\\n \\"PriceList\\": [\\n {\\n \\"PriceType\\": \\"Standby\\",\\n \\"Price\\": {\\n \\"OriginalPrice\\": \\"6700\\",\\n \\"DiscountPrice\\": \\"999.0\\",\\n \\"TradePrice\\": \\"5278.0\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"Promotions\\": [\\n {\\n \\"OptionCode\\": \\"coupon****\\",\\n \\"PromotionId\\": \\"1847709****\\",\\n \\"PromotionName\\": \\"**优惠\\",\\n \\"PromotionDesc\\": \\"**活动期间的优惠\\",\\n \\"Selected\\": true\\n }\\n ]\\n },\\n \\"Rules\\": [\\n {\\n \\"RuleId\\": 0,\\n \\"Description\\": \\"用户优惠。\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetResourceRenewPrice' => [ + 'summary' => '查询无影云应用资源的续费价格。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'ProductType', + 'in' => 'query', + 'schema' => [ + 'description' => '产品类型。'."\n", + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['CloudApp' => '无影云应用'], 'example' => 'CloudApp', ], ], [ - 'name' => 'AppInstanceGroupName', + 'name' => 'Period', + 'in' => 'query', + 'schema' => ['description' => '资源购买时长的数量部分,与`PeriodUnit`一起表示完整的购买时长。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PeriodUnit', + 'in' => 'query', + 'schema' => [ + 'description' => '资源购买时长的单位部分,与`Period`一起表示完整的购买时长。可使用的`Period`与`PeriodUnit`的搭配如下:'."\n" + ."\n" + .'- 1 Week(1周)'."\n" + .'- 1 Month(1个月)'."\n" + .'- 2 Month(2个月)'."\n" + .'- 3 Month(3个月)'."\n" + .'- 6 Month(6个月)'."\n" + .'- 1 Year(1年)'."\n" + .'- 2 Year(2年)'."\n" + .'- 3 Year(3年)'."\n" + ."\n" + .'> 该参数区分大小写。例如,`Week`是有效的,`week`是无效的。另外,如果请求参数不符合上述搭配,例如`2 Week`,虽然调用本接口会成功,但最终在下单阶段会出错。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['Month' => '月', 'Year' => '年', 'Week' => '周'], + 'example' => 'Week', + ], + ], + [ + 'name' => 'AppInstanceGroupId', 'in' => 'query', + 'schema' => ['description' => '交付组ID。可通过接口[ListAppInstanceGroup](~~428506~~)获取。', 'type' => 'string', 'required' => true, 'example' => 'aig-9ciijz60n4xsv****'], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], 'schema' => [ - 'description' => '交付组名称,查询时采用模糊匹配规则。例如,假设填写的交付组名称为`办公应用`,则名称中包含`办公应用`的交付组都会被查询到,例如名为`我的办公应用`、`办公应用A`的交付组。', + 'title' => 'Schema of Response', + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'Data' => [ + 'description' => '价格对象。', + 'type' => 'object', + 'properties' => [ + 'Price' => [ + 'description' => '价格详情。', + 'type' => 'object', + 'properties' => [ + 'OriginalPrice' => ['description' => '原价。', 'type' => 'string', 'example' => '11'."\n"], + 'DiscountPrice' => ['description' => '折减的价格,原价减去折减的价格即为实际价格。', 'type' => 'string', 'example' => '1'], + 'TradePrice' => ['description' => '实际价格,原价减去折减的价格即为实际价格。', 'type' => 'string', 'example' => '10'], + 'Currency' => ['description' => '币种。', 'type' => 'string', 'example' => 'CNY'], + 'Promotions' => [ + 'description' => '优惠券描述。', + 'type' => 'array', + 'items' => [ + 'description' => '优惠券元数据。', + 'type' => 'object', + 'properties' => [ + 'OptionCode' => ['description' => '优惠券代号。', 'type' => 'string', 'example' => 'coupon****'], + 'PromotionId' => ['description' => '优惠券ID。', 'type' => 'string', 'example' => '139965*****'], + 'PromotionName' => ['description' => '优惠券名称。', 'type' => 'string', 'example' => '**活动'], + 'PromotionDesc' => ['description' => '优惠券描述。', 'type' => 'string', 'example' => '**活动'], + 'Selected' => [ + 'description' => '是否选用优惠券。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '选用', 'false' => '不选用'], + 'example' => 'true', + ], + ], + ], + ], + ], + ], + 'Rules' => [ + 'description' => '价格计算规则。', + 'type' => 'array', + 'items' => [ + 'description' => '价格计算规则。', + 'type' => 'object', + 'properties' => [ + 'RuleId' => ['description' => '价格计算规则ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '20002****'], + 'Description' => ['description' => '价格计算规则描述。', 'type' => 'string', 'example' => '**活动'], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'title' => '查询资源续费价格', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceRenewPrice'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:GetResourceRenewPrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Data\\": {\\n \\"Price\\": {\\n \\"OriginalPrice\\": \\"11\\\\n\\",\\n \\"DiscountPrice\\": \\"1\\",\\n \\"TradePrice\\": \\"10\\",\\n \\"Currency\\": \\"CNY\\",\\n \\"Promotions\\": [\\n {\\n \\"OptionCode\\": \\"coupon****\\",\\n \\"PromotionId\\": \\"139965*****\\",\\n \\"PromotionName\\": \\"**活动\\",\\n \\"PromotionDesc\\": \\"**活动\\",\\n \\"Selected\\": true\\n }\\n ]\\n },\\n \\"Rules\\": [\\n {\\n \\"RuleId\\": 0,\\n \\"Description\\": \\"**活动\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'GetRuntimeChannel' => [ + 'summary' => '查询Agent运行时的三方通道配置。', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + ], + 'parameters' => [ + [ + 'name' => 'RuntimeType', + 'in' => 'query', + 'schema' => [ + 'title' => 'Runtime资源运行环境类型', + 'description' => 'Agent运行时类型。', 'type' => 'string', - 'required' => false, - 'example' => '办公应用', + 'required' => true, + 'enumValueTitles' => ['CloudDesktop' => '云电脑'], + 'example' => 'CloudDesktop', ], ], [ - 'name' => 'AppCenterImageId', + 'name' => 'RuntimeId', + 'in' => 'query', + 'schema' => ['title' => '云电脑ID', 'description' => 'Agent 运行时 ID,ID 对应关系如下:'."\n" + ."\n" + .'- JVS Computer:JVS Computer ID,格式如 jvs-xxxx。'."\n" + .'- OpenClaw:云电脑 ID,格式如 ecd-xxxx。'."\n" + .'- Hermes Agent:Hermes Agent ID,格式如 jvs-xxxx。', 'type' => 'string', 'required' => true, 'example' => 'jvs-xxxx'], + ], + [ + 'name' => 'AgentProvider', + 'in' => 'query', + 'schema' => [ + 'title' => 'Agent提供商', + 'description' => 'Agent提供商。'."\n" + ."\n" + .'- JVS Computer:填入OpenClaw。'."\n" + .'- OpenClaw:填入OpenClaw。'."\n" + .'- Hermes Agent:填入HermesAgent。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['HermesAgent' => 'Hermes Agent', 'OpenClaw' => 'OpenClaw'], + 'example' => 'OpenClaw', + ], + ], + [ + 'name' => 'AgentPlatform', 'in' => 'query', 'schema' => [ - 'title' => '应用中心镜像ID', - 'description' => '应用镜像ID,可从无影云应用控制台的镜像管理页面获取。', + 'title' => 'Agent平台(如 ENTERPRISE, JVS)', + 'description' => 'Agent平台。', 'type' => 'string', 'required' => false, - 'example' => 'img-8z4nztpaqvay4****', + 'enumValueTitles' => ['ENTERPRISE' => 'OpenClaw', 'ENTERPRISE_JVS' => 'JVS Computer、Hermes Agent'], + 'example' => 'ENTERPRISE', ], ], [ - 'name' => 'RegionId', + 'name' => 'IncludeRiskInfo', + 'in' => 'query', + 'schema' => [ + 'title' => '是否包含风险信息', + 'description' => '是否包含风险信息。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'ListResult<ChannelConfigModel>', + 'description' => '请求结果。', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '返回对象。', + 'type' => 'array', + 'items' => [ + 'description' => '返回数据对象。', + 'type' => 'object', + 'properties' => [ + 'Code' => [ + 'title' => '通道编码(如 dingtalk-connector、feishu、wecom、wechat、qqbot)', + 'description' => '通道编码。', + 'type' => 'string', + 'enumValueTitles' => ['dingtalk-connector' => '钉钉', 'wechat' => '微信', 'feishu' => '飞书', 'qqbot' => 'QQ', 'wecom' => '企业微信'], + 'example' => 'dingtalk-connector', + ], + 'Status' => [ + 'title' => '配置状态:Configured(已配置)/ Unconfigured(未配置)', + 'description' => '配置状态。', + 'type' => 'string', + 'enumValueTitles' => ['Unconfigured' => '未配置', 'Configured' => '已配置'], + 'example' => 'Configured', + ], + 'Config' => ['title' => '通道配置 JSON 字符串', 'description' => '通道配置 JSON 字符串。'."\n" + ."\n" + .'目前仅支持简单配置模式,需要固定传递AppKey和AppSecret。', 'type' => 'string', 'example' => '{'."\n" + .' "appKey": "abc",'."\n" + .' "appSecret": "efg"'."\n" + .'}'], + 'ConfigMode' => [ + 'title' => '配置模式。Simple:简单配置模式,Custom:自定义配置模式', + 'description' => '配置模式。', + 'type' => 'string', + 'enumValueTitles' => ['Custom' => '自定义配置模式', 'Simple' => '简单配置模式'], + 'example' => 'Simple', + ], + 'AvatarUrl' => ['title' => '通道头像 URL', 'description' => '通道头像 URL', 'type' => 'string', 'example' => 'https://test.com/test.jpg'], + 'RiskType' => [ + 'title' => '风险类型(仅 includeRiskInfo=true 时返回)', + 'description' => '风险类型(仅 **includeRiskInfo=true** 时返回)。', + 'type' => 'string', + 'enumValueTitles' => ['UserAdded' => '用户新增的、管理员未配置的通道', 'UserRemoved' => '管理员配置了但被用户删除的通道', 'Normal' => '与管理员配置一致(无风险)'], + 'example' => 'Normal', + ], + 'QrCodeStatus' => ['title' => '扫码配置状态(仅非终态时返回)', 'description' => '扫码配置状态(仅非终态时返回)', 'type' => 'string', 'example' => 'https://q.qq.com/qqbot/openclaw/entity-picker.html?session_id=c0882266-77c0-4094-af93-442*****2a58'], + 'QrCodeNotifyUrl' => ['title' => '二维码配置通知页面URL(仅 ENTERPRISE/ENTERPRISE_JVS 平台返回)', 'description' => '二维码配置通知页面URL(仅 ENTERPRISE/ENTERPRISE_JVS 平台返回)', 'type' => 'string', 'example' => 'https://eds.console.aliyun.com/public/scan-pair?taskId=e7eb5d86-1b94-4d58-****-3b78b01df99e&code=dingtalk-connector®ion=cn-shanghai'], + 'ChannelType' => [ + 'title' => '通道类型:System(系统支持的通道)/ Custom(自定义通道)', + 'description' => '通道类型。', + 'type' => 'string', + 'enumValueTitles' => ['Custom' => '自定义通道', 'System' => '系统支持的通道'], + 'example' => 'System', + ], + ], + ], + ], + 'TotalCount' => ['title' => '总数量', 'description' => '总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'RequestId' => ['title' => '请求ID,用于标识请求的唯一 ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询Agent运行时的三方通道配置', + 'description' => '您可以查询无影 Agent 管理中心内的 JVS Computer、OpenClaw、Hermes Agent等 Agent 运行时的三方通道配置状态。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:GetRuntimeChannel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"Code\\": \\"dingtalk-connector\\",\\n \\"Status\\": \\"Configured\\",\\n \\"Config\\": \\"{\\\\n \\\\\\"appKey\\\\\\": \\\\\\"abc\\\\\\",\\\\n \\\\\\"appSecret\\\\\\": \\\\\\"efg\\\\\\"\\\\n}\\",\\n \\"ConfigMode\\": \\"Simple\\",\\n \\"AvatarUrl\\": \\"https://test.com/test.jpg\\",\\n \\"RiskType\\": \\"Normal\\",\\n \\"QrCodeStatus\\": \\"https://q.qq.com/qqbot/openclaw/entity-picker.html?session_id=c0882266-77c0-4094-af93-442*****2a58\\",\\n \\"QrCodeNotifyUrl\\": \\"https://eds.console.aliyun.com/public/scan-pair?taskId=e7eb5d86-1b94-4d58-****-3b78b01df99e&code=dingtalk-connector®ion=cn-shanghai\\",\\n \\"ChannelType\\": \\"System\\"\\n }\\n ],\\n \\"TotalCount\\": 6,\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'GetRuntimeModelConfig' => [ + 'summary' => '查询云电脑模型配置详情', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + ], + 'parameters' => [ + [ + 'name' => 'RuntimeType', 'in' => 'query', 'schema' => [ - 'title' => '地域ID', - 'description' => '地域ID。', + 'title' => 'Runtime资源运行环境类型', + 'description' => 'Agent运行时类型。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['CloudDesktop' => '云电脑'], + 'example' => 'CloudDesktop', + ], + ], + [ + 'name' => 'RuntimeId', + 'in' => 'query', + 'schema' => ['title' => '云电脑ID', 'description' => 'Agent 运行时 ID ,ID 对应关系如下:'."\n" + ."\n" + .'JVS Computer:JVS Computer ID,格式如 jvs-xxxx。'."\n" + ."\n" + .'OpenClaw:云电脑 ID,格式如 ecd-xxxx。'."\n" + ."\n" + .'Hermes Agent:Hermes Agent ID,格式如 jvs-xxxx。', 'type' => 'string', 'required' => true, 'example' => 'ecd-xxxx'], + ], + [ + 'name' => 'AgentPlatform', + 'in' => 'query', + 'schema' => [ + 'description' => 'Agent平台。', 'type' => 'string', - 'deprecated' => true, 'required' => false, - 'example' => 'cn-hangzhou', + 'enumValueTitles' => ['ENTERPRISE' => '企业版', 'ENTERPRISE_JVS' => '企业版JVS Computer、企业版Hermes Agent'], + 'example' => 'ENTERPRISE', ], ], [ - 'name' => 'BizRegionId', + 'name' => 'AgentProvider', 'in' => 'query', 'schema' => [ - 'description' => '交付组所属的地域ID。关于支持的地域详情,请参见[使用限制](~~426036~~)。', + 'title' => 'Agent提供商', + 'description' => 'Agent提供商。', 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['OpenClaw' => 'OpenClaw'], + 'example' => 'OpenClaw', + ], + ], + [ + 'name' => 'IncludeRiskInfo', + 'in' => 'query', + 'schema' => [ + 'title' => '是否包含风险信息', + 'description' => '是否包含风险信息。', + 'type' => 'boolean', 'required' => false, - 'enumValueTitles' => [ - 'cn-shanghai' => '华东2(上海)', - 'cn-hangzhou' => '华东1(杭州)', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'PlainResult<ModelConfigModel>', + 'description' => '查询结果。', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '返回的结果对象。', + 'type' => 'object', + 'properties' => [ + 'ModelTemplateId' => ['title' => '当前绑定的模型模板 ID(未配置时为 null)', 'description' => '已配置的模型分组ID。', 'type' => 'string', 'example' => 'mt-xxxx'], + 'ModelTemplateName' => ['title' => '模型模板名称', 'description' => '模型分组名称。', 'type' => 'string', 'example' => 'model-template-001'], + 'DefaultModel' => ['title' => '默认模型(格式:providerName/llmCode,如 bailian/qwen-plus)', 'description' => '默认模型(格式:providerName/llmCode)。', 'type' => 'string', 'example' => 'bailian/qwen3.6-plus'], + 'ModelTemplateRefType' => [ + 'title' => '模型模板关联类型(仅在存在', + 'description' => '模型模板关联类型(仅在存在', + 'type' => 'string', + 'enumValueTitles' => ['Runtime' => 'Runtime维度', 'ResourceGroup' => '资源组维度'], + 'example' => 'Runtime', + ], + 'ResourceGroupId' => ['title' => 'Runtime 所属的资源组 ID(未归属资源组时为 null)', 'description' => 'Runtime 所属的资源组 ID(未归属资源组时为 null)', 'type' => 'string', 'example' => 'rg-xxxxx'], + 'ModelProviderList' => [ + 'title' => '厂商列表', + 'description' => '模型服务商列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ModelProviderTemplateId' => ['title' => '提供商模板 ID', 'description' => '模型服务商模板ID。', 'type' => 'string', 'example' => 'mpt-xxxx'], + 'ProviderName' => ['title' => '提供商名称(如 bailian, moonshot)', 'description' => '模型服务商名称。', 'type' => 'string', 'example' => 'bailian'], + 'Name' => ['title' => '提供商模板名称', 'description' => '模型服务商模板名称。', 'type' => 'string', 'example' => '百炼'], + 'LlmInfoList' => [ + 'title' => 'LLM 信息列表(不含 modelInfo 和 prices)', + 'description' => '模型信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LlmCode' => ['title' => 'LLM 编码(如:qwen-image-2.0)', 'description' => '模型编码。', 'type' => 'string', 'example' => 'qwen3.6-plus'], + 'Name' => ['title' => '模型名称(如:Qwen-Image-2.0)', 'description' => '模型名称。', 'type' => 'string', 'example' => 'Qwen3.6-Plus'], + 'Description' => ['title' => '模型描述', 'description' => '模型描述。', 'type' => 'string', 'example' => 'Qwen3.6原生视觉语言系列Plus模型,展现出与当前顶尖前沿模型相媲美的卓越性能,模型效果相较3.5系列显著提升。模型在Agentic coding、前端编程、Vibe coding等代码能力、多模态万物识别、OCR、物体定位等能力上显著增强。'], + 'PublishedTime' => ['title' => '发布时间(ISO 8601 格式,如:2026-03-04T06:25:17.000+00:00)', 'description' => '发布时间(ISO 8601 格式)。', 'type' => 'string', 'example' => '2026-03-04T06:25:17.000+00:00'], + 'Features' => [ + 'title' => '模型特性列表(如:function-calling、web-search、structured-outputs 等)', + 'description' => '模型特性列表(如:function-calling、web-search、structured-outputs 等)。', + 'type' => 'array', + 'items' => ['description' => '模型特性。', 'type' => 'string', 'example' => 'function-calling'], + ], + 'InferenceMetadata' => [ + 'title' => '推理元数据(请求和响应模态)', + 'description' => '推理元数据(请求和响应模态)。', + 'type' => 'object', + 'properties' => [ + 'RequestModality' => [ + 'title' => '请求模态列表(如:Text、Image、Audio)', + 'description' => '请求模态列表(如:Text、Image、Audio)。', + 'type' => 'array', + 'items' => ['description' => '请求模态。', 'type' => 'string', 'example' => 'Text'], + ], + 'ResponseModality' => [ + 'title' => '响应模态列表(如:Text、Image、Audio)', + 'description' => '响应模态列表(如:Text、Image、Audio)。', + 'type' => 'array', + 'items' => ['description' => '响应模态。', 'type' => 'string', 'example' => 'Text'], + ], + ], + ], + 'RiskType' => [ + 'title' => '模型风险类型(仅 includeRiskInfo=true 时返回)', + 'description' => '模型风险类型(仅在请求参数 IncludeRiskInfo=true 时返回)。', + 'type' => 'string', + 'enumValueTitles' => ['UserAdded' => '用户新增的、管理员未配置的模型', 'UserRemoved' => '管理员配置了但被用户删除的模型', 'Normal' => '与管理员配置一致(无风险)'], + 'example' => 'Normal', + ], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + ], + ], + ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], ], - 'example' => 'cn-hangzhou', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询Agent运行时的模型配置', + 'description' => '您可以查询无影 Agent 管理中心中指定云电脑当前绑定的模型配置详情,包括模型分组、模型提供商商列表及其关联的模型信息。开启风险信息模式后,还可识别终端用户实际配置与管理员下发配置之间的差异。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'NodeInstanceType', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:GetRuntimeModelConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"ModelTemplateId\\": \\"mt-xxxx\\",\\n \\"ModelTemplateName\\": \\"model-template-001\\",\\n \\"DefaultModel\\": \\"bailian/qwen3.6-plus\\",\\n \\"ModelTemplateRefType\\": \\"Runtime\\",\\n \\"ResourceGroupId\\": \\"rg-xxxxx\\",\\n \\"ModelProviderList\\": [\\n {\\n \\"ModelProviderTemplateId\\": \\"mpt-xxxx\\",\\n \\"ProviderName\\": \\"bailian\\",\\n \\"Name\\": \\"百炼\\",\\n \\"LlmInfoList\\": [\\n {\\n \\"LlmCode\\": \\"qwen3.6-plus\\",\\n \\"Name\\": \\"Qwen3.6-Plus\\",\\n \\"Description\\": \\"Qwen3.6原生视觉语言系列Plus模型,展现出与当前顶尖前沿模型相媲美的卓越性能,模型效果相较3.5系列显著提升。模型在Agentic coding、前端编程、Vibe coding等代码能力、多模态万物识别、OCR、物体定位等能力上显著增强。\\",\\n \\"PublishedTime\\": \\"2026-03-04T06:25:17.000+00:00\\",\\n \\"Features\\": [\\n \\"function-calling\\"\\n ],\\n \\"InferenceMetadata\\": {\\n \\"RequestModality\\": [\\n \\"Text\\"\\n ],\\n \\"ResponseModality\\": [\\n \\"Text\\"\\n ]\\n },\\n \\"RiskType\\": \\"Normal\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'ListAppInstanceGroup' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '134196', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'PageSize', 'in' => 'query', + 'schema' => ['description' => '每页的查询结果数量,不可超过`100`。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '20'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '需展示的查询结果页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => '购买资源的规格类型ID。可通过[ListNodeInstanceType](~~ListNodeInstanceType~~)接口获取。', - 'type' => 'string', + 'description' => '交付组状态列表。', + 'type' => 'array', + 'items' => [ + 'description' => '交付组状态。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['PUBLISHED' => '发布成功', 'FAILED' => '发布失败', 'MAINTAIN_FAILED' => '更新失败', 'EXPIRED' => '已到期', 'MAINTAINING' => '更新中', 'CEASED' => '已欠费', 'EXPIRED_RECYCLING' => '过期回收中', 'DEPLOYING' => '发布中'], + 'example' => '"Status.1":"PUBLISHED","Status.2":"FAILED"', + ], 'required' => false, - 'example' => 'appstreaming.vgpu.4c8g.2g', + 'maxItems' => 1000, ], ], [ - 'name' => 'OfficeSiteId', + 'name' => 'AppInstanceGroupId', + 'in' => 'query', + 'schema' => ['description' => '交付组ID。', 'type' => 'string', 'required' => false, 'example' => 'aig-9ciijz60n4xsv****'], + ], + [ + 'name' => 'ProductType', 'in' => 'query', 'schema' => [ - 'description' => '办公网络ID。', + 'description' => '产品类型。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['CloudApp' => '无影云应用'], + 'example' => 'CloudApp', + ], + ], + [ + 'name' => 'AppInstanceGroupName', + 'in' => 'query', + 'schema' => ['description' => '交付组名称,查询时采用模糊匹配规则。例如,假设填写的交付组名称为`办公应用`,则名称中包含`办公应用`的交付组都会被查询到,例如名为`我的办公应用`、`办公应用A`的交付组。', 'type' => 'string', 'required' => false, 'example' => '办公应用'], + ], + [ + 'name' => 'AppCenterImageId', + 'in' => 'query', + 'schema' => ['title' => '应用中心镜像ID', 'description' => '应用镜像ID,可从无影云应用控制台的镜像管理页面获取。', 'type' => 'string', 'required' => false, 'example' => 'img-8z4nztpaqvay4****'], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['title' => '地域ID', 'description' => '地域ID。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'BizRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '交付组所属的地域ID。关于支持的地域详情,请参见[使用限制](~~426036~~)。', 'type' => 'string', 'required' => false, - 'example' => 'cn-hongkong+dir-643067****', + 'enumValueTitles' => ['cn-shanghai' => '华东2(上海)', 'cn-hangzhou' => '华东1(杭州)'], + 'example' => 'cn-hangzhou', ], ], [ + 'name' => 'NodeInstanceType', + 'in' => 'query', + 'schema' => ['description' => '购买资源的规格类型ID。可通过[ListNodeInstanceType](~~ListNodeInstanceType~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'appstreaming.vgpu.4c8g.2g'], + ], + [ + 'name' => 'OfficeSiteId', + 'in' => 'query', + 'schema' => ['description' => '办公网络ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hongkong+dir-643067****'], + ], + [ 'name' => 'Tag', 'in' => 'query', 'style' => 'flat', @@ -4638,20 +4620,8 @@ 'description' => '标签。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '标签键。', - 'description' => '标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'department', - ], - 'Value' => [ - 'title' => '标签值。', - 'description' => '标签值。', - 'type' => 'string', - 'required' => false, - 'example' => 'design', - ], + 'Key' => ['title' => '标签键。', 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'department'], + 'Value' => ['title' => '标签值。', 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'design'], ], 'required' => false, ], @@ -4665,16 +4635,8 @@ 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ - 'title' => '授权用户组ID列表。', - 'description' => '授权用户组ID列表。', 'type' => 'array', - 'items' => [ - 'title' => '授权用户组ID。', - 'description' => '授权用户组ID。', - 'type' => 'string', - 'required' => false, - ], - 'required' => false, + 'items' => ['type' => 'string'], 'maxItems' => 10, ], ], @@ -4683,16 +4645,8 @@ 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ - 'title' => '排除授权用户组ID列表。', - 'description' => '排除授权用户组ID列表。', 'type' => 'array', - 'items' => [ - 'title' => '排除授权用户组ID。', - 'description' => '排除授权用户组ID。', - 'type' => 'string', - 'required' => false, - ], - 'required' => false, + 'items' => ['type' => 'string'], 'maxItems' => 10, ], ], @@ -4704,30 +4658,10 @@ 'description' => '返回信息集合。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'TotalCount' => [ - 'description' => '查询结果的总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', - ], - 'PageSize' => [ - 'description' => '每页的查询结果数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '当前展示的查询结果页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'TotalCount' => ['description' => '查询结果的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'], + 'PageSize' => ['description' => '每页的查询结果数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '当前展示的查询结果页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'AppInstanceGroupModels' => [ 'title' => 'AppInstanceGroupModels', 'description' => '交付组信息。', @@ -4743,39 +4677,15 @@ 'description' => '应用信息。', 'type' => 'object', 'properties' => [ - 'AppId' => [ - 'description' => '应用ID。', - 'type' => 'string', - 'example' => 'ca-i87mycyn419nu****', - ], - 'AppName' => [ - 'description' => '应用名称。', - 'type' => 'string', - 'example' => '办公应用', - ], - 'AppVersion' => [ - 'description' => '应用版本。', - 'type' => 'string', - 'example' => '1.0.0', - ], - 'AppVersionName' => [ - 'description' => '应用版本名称。', - 'type' => 'string', - 'example' => '初始版本', - ], - 'AppIcon' => [ - 'description' => '应用图标。', - 'type' => 'string', - 'example' => 'https://app-center-icon-****.png', - ], + 'AppId' => ['description' => '应用ID。', 'type' => 'string', 'example' => 'ca-i87mycyn419nu****'], + 'AppName' => ['description' => '应用名称。', 'type' => 'string', 'example' => '办公应用'], + 'AppVersion' => ['description' => '应用版本。', 'type' => 'string', 'example' => '1.0.0'], + 'AppVersionName' => ['description' => '应用版本名称。', 'type' => 'string', 'example' => '初始版本'], + 'AppIcon' => ['description' => '应用图标。', 'type' => 'string', 'example' => 'https://app-center-icon-****.png'], ], ], ], - 'AppCenterImageId' => [ - 'description' => '应用镜像ID。', - 'type' => 'string', - 'example' => 'img-8z4nztpaqvay4****', - ], + 'AppCenterImageId' => ['description' => '应用镜像ID。', 'type' => 'string', 'example' => 'img-8z4nztpaqvay4****'], 'RegionId' => [ 'description' => '交付组所属的地域ID。关于支持的地域详情,请参见[使用限制](~~426036~~)。', 'type' => 'string', @@ -4785,100 +4695,31 @@ 'ProductType' => [ 'description' => '产品类型。', 'type' => 'string', - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], + 'enumValueTitles' => ['CloudApp' => '无影云应用'], 'example' => 'CloudApp', ], - 'AppInstanceType' => [ - 'description' => '交付组规格类型。', - 'type' => 'string', - 'example' => '__dynamic__', - ], - 'AppInstanceGroupId' => [ - 'description' => '交付组ID。', - 'type' => 'string', - 'example' => 'aig-9ciijz60n4xsv****', - ], - 'Amount' => [ - 'description' => '用户设置的包年包月资源的数量。最小值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'MinAmount' => [ - 'description' => '实例数最小值。最小值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'MaxAmount' => [ - 'description' => '实例数最大值。最小值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'ReserveAmountRatio' => [ - 'description' => '预留实例百分比,即交付组中未使用的会话比例。取值范围为0~99。', - 'type' => 'string', - 'example' => '20', - ], - 'ReserveMinAmount' => [ - 'description' => '最小预留实例数,即交付组中未使用会话的最小数量。最小值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ReserveMaxAmount' => [ - 'description' => '最大预留实例数,即交付组中未使用会话的最大数量。最小值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'ScalingStep' => [ - 'description' => '扩容时每次创建会话的数量。最小值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'ScalingUsageThreshold' => [ - 'description' => '会话使用率上限阈值(%)。当会话使用率超过该阈值时,将触发自动扩容。会话使用率的计算公式为会话使用率=当前使用中的会话数÷总会话数×100%。取值范围为0~99。', - 'type' => 'string', - 'example' => '85', - ], - 'ScalingDownAfterIdleMinutes' => [ - 'description' => '无会话连接时长,单位为分钟。当资源内处于无会话连接状态达到此处设置的时长后,将触发自动缩容。最小值为0。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], + 'AppInstanceType' => ['description' => '交付组规格类型。', 'type' => 'string', 'example' => '__dynamic__'], + 'AppInstanceGroupId' => ['description' => '交付组ID。', 'type' => 'string', 'example' => 'aig-9ciijz60n4xsv****'], + 'Amount' => ['description' => '用户设置的包年包月资源的数量。最小值为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'MinAmount' => ['description' => '实例数最小值。最小值为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'MaxAmount' => ['description' => '实例数最大值。最小值为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'ReserveAmountRatio' => ['description' => '预留实例百分比,即交付组中未使用的会话比例。取值范围为0~99。', 'type' => 'string', 'example' => '20'], + 'ReserveMinAmount' => ['description' => '最小预留实例数,即交付组中未使用会话的最小数量。最小值为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ReserveMaxAmount' => ['description' => '最大预留实例数,即交付组中未使用会话的最大数量。最小值为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'ScalingStep' => ['description' => '扩容时每次创建会话的数量。最小值为1。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'ScalingUsageThreshold' => ['description' => '会话使用率上限阈值(%)。当会话使用率超过该阈值时,将触发自动扩容。会话使用率的计算公式为会话使用率=当前使用中的会话数÷总会话数×100%。取值范围为0~99。', 'type' => 'string', 'example' => '85'], + 'ScalingDownAfterIdleMinutes' => ['description' => '无会话连接时长,单位为分钟。当资源内处于无会话连接状态达到此处设置的时长后,将触发自动缩容。最小值为0。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], 'ChargeType' => [ 'description' => '付费方式。', 'type' => 'string', - 'enumValueTitles' => [ - 'PostPaid' => '按量付费', - 'PrePaid' => '包年包月', - ], + 'enumValueTitles' => ['PostPaid' => '按量付费', 'PrePaid' => '包年包月'], 'example' => 'PrePaid', ], - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2022-04-26T15:06:16.000+00:00', - ], + 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2022-04-26T15:06:16.000+00:00'], 'Status' => [ 'description' => '交付组状态。', 'type' => 'string', - 'enumValueTitles' => [ - 'PUBLISHED' => '发布成功', - 'FAILED' => '发布失败', - 'MAINTAIN_FAILED' => '更新失败', - 'EXPIRED' => '已到期', - 'MAINTAINING' => '更新中', - 'CEASED' => '已欠费', - 'EXPIRED_RECYCLING' => '过期回收中', - 'DEPLOYING' => '发布中', - ], + 'enumValueTitles' => ['PUBLISHED' => '发布成功', 'FAILED' => '发布失败', 'MAINTAIN_FAILED' => '更新失败', 'EXPIRED' => '已到期', 'MAINTAINING' => '更新中', 'CEASED' => '已欠费', 'EXPIRED_RECYCLING' => '过期回收中', 'DEPLOYING' => '发布中'], 'example' => 'PUBLISHED', ], 'NodePool' => [ @@ -4888,94 +4729,32 @@ 'description' => '资源组对象。', 'type' => 'object', 'properties' => [ - 'NodePoolId' => [ - 'description' => '资源组ID。', - 'type' => 'string', - 'example' => 'rg-g6922kced36hx****', - ], + 'NodePoolId' => ['description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-g6922kced36hx****'], 'NodeInstanceType' => [ 'description' => '购买资源的规格类型ID。', 'type' => 'string', 'enumValueTitles' => [], 'example' => 'appstreaming.vgpu.4c8g.2g', ], - 'NodeAmount' => [ - 'description' => '当前包年包月资源的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'NodeUsed' => [ - 'description' => '使用中的包年包月资源数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'NodeCapacity' => [ - 'description' => '并发会话数,即单个资源可同时连接的会话数。如果同时连接的会话数过多,可能导致应用的使用体验下降。取值范围因资源规格不同而不同。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ScalingNodeAmount' => [ - 'description' => '弹性资源总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'ScalingNodeUsed' => [ - 'description' => '使用中的弹性资源数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], + 'NodeAmount' => ['description' => '当前包年包月资源的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'NodeUsed' => ['description' => '使用中的包年包月资源数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'NodeCapacity' => ['description' => '并发会话数,即单个资源可同时连接的会话数。如果同时连接的会话数过多,可能导致应用的使用体验下降。取值范围因资源规格不同而不同。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'ScalingNodeAmount' => ['description' => '弹性资源总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'ScalingNodeUsed' => ['description' => '使用中的弹性资源数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], 'StrategyType' => [ 'description' => '弹性策略类型。'."\n" ."\n" .'> `NODE_SCALING_BY_USAGE`(按用量伸缩策略)仅适用于`PrePaid`(包年包月)资源;`NODE_SCALING_BY_SCHEDULE`(定时伸缩策略)仅适用于`PostPaid`(按量付费)资源。', 'type' => 'string', - 'enumValueTitles' => [ - 'NODE_FIXED' => '不使用弹性资源', - 'NODE_SCALING_BY_SCHEDULE' => '定时伸缩', - 'NODE_SCALING_BY_USAGE' => '按用量伸缩策略', - ], + 'enumValueTitles' => ['NODE_FIXED' => '不使用弹性资源', 'NODE_SCALING_BY_SCHEDULE' => '定时伸缩', 'NODE_SCALING_BY_USAGE' => '按用量伸缩策略'], 'example' => 'NODE_FIXED', ], - 'Amount' => [ - 'description' => '创建交付组时购买资源的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'MaxScalingAmount' => [ - 'description' => '扩容时最多创建资源的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'MaxIdleAppInstanceAmount' => [ - 'description' => '空闲会话数上限。指定该值时,当会话使用率超过`ScalingUsageThreshold`且当前交付组空闲会话数小于`MaxIdleAppInstanceAmount`时,才会触发自动扩容,否则认为交付组空闲会话已足够使用,不自动扩容。该参数可用于灵活控制弹性扩容行为和降低使用成本。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'ScalingStep' => [ - 'description' => '扩容时每次创建资源的数量。取值范围:1~10。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ScalingUsageThreshold' => [ - 'description' => '会话使用率上限阈值(%)。当会话使用率超过该阈值时,将触发自动扩容。会话使用率的计算公式为`会话使用率=当前会话数÷(资源总数×资源并发会话数)×100%`。', - 'type' => 'string', - 'example' => '85', - ], - 'ScalingDownAfterIdleMinutes' => [ - 'description' => '无会话连接时长,单位为分钟。当资源内处于无会话连接状态达到此处设置的时长后,将触发自动缩容。默认值:5。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], + 'Amount' => ['description' => '创建交付组时购买资源的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'MaxScalingAmount' => ['description' => '扩容时最多创建资源的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'MaxIdleAppInstanceAmount' => ['description' => '空闲会话数上限。指定该值时,当会话使用率超过`ScalingUsageThreshold`且当前交付组空闲会话数小于`MaxIdleAppInstanceAmount`时,才会触发自动扩容,否则认为交付组空闲会话已足够使用,不自动扩容。该参数可用于灵活控制弹性扩容行为和降低使用成本。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'ScalingStep' => ['description' => '扩容时每次创建资源的数量。取值范围:1~10。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'ScalingUsageThreshold' => ['description' => '会话使用率上限阈值(%)。当会话使用率超过该阈值时,将触发自动扩容。会话使用率的计算公式为`会话使用率=当前会话数÷(资源总数×资源并发会话数)×100%`。', 'type' => 'string', 'example' => '85'], + 'ScalingDownAfterIdleMinutes' => ['description' => '无会话连接时长,单位为分钟。当资源内处于无会话连接状态达到此处设置的时长后,将触发自动缩容。默认值:5。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], 'RecurrenceSchedules' => [ 'description' => '策略执行周期列表。', 'type' => 'array', @@ -4986,9 +4765,7 @@ 'RecurrenceType' => [ 'description' => '策略执行周期的类型。必须同时指定`RecurrenceType`和`RecurrenceValues`。 ', 'type' => 'string', - 'enumValueTitles' => [ - 'weekly' => '周(每周指定几天重复执行一次定时任务)', - ], + 'enumValueTitles' => ['weekly' => '周(每周指定几天重复执行一次定时任务)'], 'example' => 'Weekly', ], 'RecurrenceValues' => [ @@ -4998,15 +4775,7 @@ 'description' => '策略执行周期的数值。', 'type' => 'integer', 'format' => 'int32', - 'enumValueTitles' => [ - 1 => '周一', - '周二', - '周三', - '周四', - '周五', - '周六', - '周日', - ], + 'enumValueTitles' => [1 => '周一', '周二', '周三', '周四', '周五', '周六', '周日'], 'example' => '1', ], ], @@ -5017,166 +4786,73 @@ 'description' => '策略执行周期的时间段。', 'type' => 'object', 'properties' => [ - 'Amount' => [ - 'description' => '目标资源数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'EndTime' => [ - 'description' => '结束时间。格式为HH:mm', - 'type' => 'string', - 'example' => '11:00', - ], - 'StartTime' => [ - 'description' => '开始时间。格式为HH:mm', - 'type' => 'string', - 'example' => '09:30', - ], + 'Amount' => ['description' => '目标资源数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'EndTime' => ['description' => '结束时间。格式为HH:mm', 'type' => 'string', 'example' => '11:00'], + 'StartTime' => ['description' => '开始时间。格式为HH:mm', 'type' => 'string', 'example' => '09:30'], ], ], ], ], ], ], - 'StrategyDisableDate' => [ - 'description' => '策略失效日期。格式为:yyyy-MM-dd。', - 'type' => 'string', - 'example' => '2022-09-08', - ], - 'StrategyEnableDate' => [ - 'description' => '策略生效日期。格式为:yyyy-MM-dd。', - 'type' => 'string', - 'example' => '2022-08-01', - ], - 'WarmUp' => [ - 'description' => '是否开启资源预热策略。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'NodeTypeName' => [ - 'description' => '资源规格名称。', - 'type' => 'string', - 'example' => '无影-通用型_4核8G', - ], + 'StrategyDisableDate' => ['description' => '策略失效日期。格式为:yyyy-MM-dd。', 'type' => 'string', 'example' => '2022-09-08'], + 'StrategyEnableDate' => ['description' => '策略生效日期。格式为:yyyy-MM-dd。', 'type' => 'string', 'example' => '2022-08-01'], + 'WarmUp' => ['description' => '是否开启资源预热策略。', 'type' => 'boolean', 'example' => 'false'], + 'NodeTypeName' => ['description' => '资源规格名称。', 'type' => 'string', 'example' => '无影-通用型_4核8G'], ], ], ], - 'SpecId' => [ - 'description' => '与交付组ID唯一对应的ID。', - 'type' => 'string', - 'example' => 'spec-8o18t8uc31qib0****', - ], - 'SessionTimeout' => [ - 'description' => '会话断连保留时长,单位为分钟。终端用户会话断开连接后,会话将保留此处设置的时长,然后再注销。如果始终保留,则填写`-1`。取值范围:-1和3~300。默认值为`15`。', - 'type' => 'string', - 'example' => '15', - ], - 'AppInstanceGroupName' => [ - 'description' => '交付组名称。', - 'type' => 'string', - 'example' => '办公应用', - ], - 'ExpiredTime' => [ - 'description' => '交付组到期时间。', - 'type' => 'string', - 'example' => '2022-04-27T16:00:00.000+00:00', - ], + 'SpecId' => ['description' => '与交付组ID唯一对应的ID。', 'type' => 'string', 'example' => 'spec-8o18t8uc31qib0****'], + 'SessionTimeout' => ['description' => '会话断连保留时长,单位为分钟。终端用户会话断开连接后,会话将保留此处设置的时长,然后再注销。如果始终保留,则填写`-1`。取值范围:-1和3~300。默认值为`15`。', 'type' => 'string', 'example' => '15'], + 'AppInstanceGroupName' => ['description' => '交付组名称。', 'type' => 'string', 'example' => '办公应用'], + 'ExpiredTime' => ['description' => '交付组到期时间。', 'type' => 'string', 'example' => '2022-04-27T16:00:00.000+00:00'], 'OtaInfo' => [ 'description' => 'OTA升级任务信息。', 'type' => 'object', 'properties' => [ - 'OtaVersion' => [ - 'title' => '当前ota版本', - 'description' => '当前OTA版本。', - 'type' => 'string', - 'example' => '0.0.1-D-20220615.11****', - ], - 'NewOtaVersion' => [ - 'title' => '新ota版本,为空表示没有新版本', - 'description' => '新的OTA版本。为空表示没有新版本。', - 'type' => 'string', - 'example' => '0.0.1-D-20220630.11****', - ], - 'TaskId' => [ - 'title' => '任务id', - 'description' => 'OTA升级任务ID。', - 'type' => 'string', - 'example' => 'ota-e49929gv8acz5****', - ], + 'OtaVersion' => ['title' => '当前ota版本', 'description' => '当前OTA版本。', 'type' => 'string', 'example' => '0.0.1-D-20220615.11****'], + 'NewOtaVersion' => ['title' => '新ota版本,为空表示没有新版本', 'description' => '新的OTA版本。为空表示没有新版本。', 'type' => 'string', 'example' => '0.0.1-D-20220630.11****'], + 'TaskId' => ['title' => '任务id', 'description' => 'OTA升级任务ID。', 'type' => 'string', 'example' => 'ota-e49929gv8acz5****'], ], ], 'OsType' => [ 'title' => '系统类型', 'description' => '系统类型。', 'type' => 'string', - 'enumValueTitles' => [ - 'Windows' => 'Windows', - ], + 'enumValueTitles' => ['Windows' => 'Windows'], 'example' => 'Windows', - 'enum' => [ - 'Windows', - 'Linux', - 'Android', - ], + 'enum' => ['Windows', 'Linux', 'Android'], ], 'ResourceStatus' => [ 'description' => '资源状态。', 'type' => 'string', - 'enumValueTitles' => [ - 'AVAILABLE' => '可用', - 'RELEASED' => '已释放', - 'EXPIRED_IN_7_DAYS' => '7天内过期', - 'UNAVAILABLE' => '不可用', - 'UPGRADING' => '更新中', - 'CREATING' => '创建中', - ], + 'enumValueTitles' => ['AVAILABLE' => '可用', 'RELEASED' => '已释放', 'EXPIRED_IN_7_DAYS' => '7天内过期', 'UNAVAILABLE' => '不可用', 'UPGRADING' => '更新中', 'CREATING' => '创建中'], 'example' => 'AVAILABLE', ], - 'AppPolicyId' => [ - 'description' => '策略ID。', - 'type' => 'string', - 'example' => 'pg-g3k5wa2ms2****', - ], + 'AppPolicyId' => ['description' => '策略ID。', 'type' => 'string', 'example' => 'pg-g3k5wa2ms2****'], 'ChargeResourceMode' => [ 'description' => '售卖模式。', 'type' => 'string', - 'enumValueTitles' => [ - 'AppInstance' => '按会话售卖', - 'Node' => '按资源售卖', - ], + 'enumValueTitles' => ['AppInstance' => '按会话售卖', 'Node' => '按资源售卖'], 'example' => 'Node', ], 'SkipUserAuthCheck' => [ 'description' => '是否跳过用户授权校验。', 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '不校验', - 'false' => '校验 [默认值]', - ], + 'enumValueTitles' => ['true' => '不校验', 'false' => '校验 [默认值]'], 'example' => 'false', ], - 'OfficeSiteId' => [ - 'description' => '办公网络ID。', - 'type' => 'string', - 'example' => 'cn-beijing+dir-172301****'."\n", - ], + 'OfficeSiteId' => ['description' => '办公网络ID。', 'type' => 'string', 'example' => 'cn-beijing+dir-172301****'."\n"], 'AppPolicyVersion' => [ 'description' => '策略版本。', 'type' => 'string', - 'enumValueTitles' => [ - 'CENTER' => '统一策略[新策略]', - 'DEFAULT' => '默认策略[旧策略]', - ], + 'enumValueTitles' => ['CENTER' => '统一策略[新策略]', 'DEFAULT' => '默认策略[旧策略]'], 'example' => 'CENTER', ], 'AppPolicyImageCheck' => [ 'description' => '当前镜像是否支持统一策略。', 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '支持', - 'false' => '不支持', - ], + 'enumValueTitles' => ['true' => '支持', 'false' => '不支持'], 'example' => 'false', ], 'ResourceTags' => [ @@ -5188,28 +4864,15 @@ 'description' => '资源标签。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '标签键。', - 'description' => '标签键。', - 'type' => 'string', - 'example' => 'department', - ], - 'Value' => [ - 'title' => '标签值。', - 'description' => '标签值。', - 'type' => 'string', - 'example' => 'design', - ], + 'Key' => ['title' => '标签键。', 'description' => '标签键。', 'type' => 'string', 'example' => 'department'], + 'Value' => ['title' => '标签值。', 'description' => '标签值。', 'type' => 'string', 'example' => 'design'], 'Scope' => [ 'title' => '标签类型。取值范围:'."\n" .'Custom:自定义标签。'."\n" .'System:系统标签。', 'description' => '标签类型。', 'type' => 'string', - 'enumValueTitles' => [ - 'Custom' => '自定义标签', - 'System' => '系统标签', - ], + 'enumValueTitles' => ['Custom' => '自定义标签', 'System' => '系统标签'], 'example' => 'Custom', ], ], @@ -5224,28 +4887,15 @@ 'description' => '资源标签。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '标签键。', - 'description' => '标签键。', - 'type' => 'string', - 'example' => 'department', - ], - 'Value' => [ - 'title' => '标签值。', - 'description' => '标签值。', - 'type' => 'string', - 'example' => 'design', - ], + 'Key' => ['title' => '标签键。', 'description' => '标签键。', 'type' => 'string', 'example' => 'department'], + 'Value' => ['title' => '标签值。', 'description' => '标签值。', 'type' => 'string', 'example' => 'design'], 'Scope' => [ 'title' => '标签类型。取值范围:'."\n" .'Custom:自定义标签。'."\n" .'System:系统标签。', 'description' => '标签类型。', 'type' => 'string', - 'enumValueTitles' => [ - 'Custom' => '自定义标签', - 'System' => '系统标签', - ], + 'enumValueTitles' => ['Custom' => '自定义标签', 'System' => '系统标签'], 'example' => 'Custom', ], ], @@ -5255,53 +4905,26 @@ 'title' => '授权模式。', 'description' => '授权模式。', 'type' => 'string', - 'enumValueTitles' => [ - 'App' => '应用授权', - 'AppInstanceGroup' => '交付组授权', - 'Session' => '会话授权', - ], + 'enumValueTitles' => ['App' => '应用授权', 'AppInstanceGroup' => '交付组授权', 'Session' => '会话授权'], 'example' => 'App', 'default' => 'App', - 'enum' => [ - 'App', - 'Session', - 'AppInstanceGroup', - ], + 'enum' => ['App', 'Session', 'AppInstanceGroup'], ], 'AccessType' => [ 'title' => '接入类型。', 'description' => '接入类型。', 'type' => 'string', - 'enumValueTitles' => [ - 'INTERNET' => '互联网', - 'VPC' => '企业专网(VPC)', - 'ANY' => '互联网和企业专网(VPC)', - ], + 'enumValueTitles' => ['INTERNET' => '互联网', 'VPC' => '企业专网(VPC)', 'ANY' => '互联网和企业专网(VPC)'], 'example' => 'INTERNET', 'default' => 'INTERNET', - 'enum' => [ - 'INTERNET', - 'VPC', - 'ANY', - ], - ], - 'SupportUserGroupMixedAuth' => [ - 'title' => '是否支持用户和用户组混合授权。', - 'description' => '是否支持用户和用户组混合授权。', - 'type' => 'boolean', - 'default' => 'true', + 'enum' => ['INTERNET', 'VPC', 'ANY'], ], + 'SupportUserGroupMixedAuth' => ['type' => 'boolean', 'default' => 'true'], 'UserGroupAuthMode' => [ - 'title' => '用户和用户组授权模式。', - 'description' => '用户和用户组授权模式。', 'type' => 'string', 'example' => 'Mixed', 'default' => 'Mixed', - 'enum' => [ - 'Mixed', - 'User', - 'UserGroup', - ], + 'enum' => ['Mixed', 'User', 'UserGroup'], ], ], ], @@ -5310,22 +4933,52 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询多个交付组详细信息', + 'summary' => '查询多个交付组详细信息,即不指定特定的交付组,而是查询所有满足条件的交付组的详细信息。', + 'changeSet' => [ + ['createdAt' => '2025-06-23T12:30:44.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2025-04-24T09:51:03.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2025-03-12T12:08:38.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2025-01-15T13:14:10.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-10-22T08:05:48.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2024-09-12T07:33:20.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-07-19T11:36:17.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-11-15T08:50:27.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-11-15T08:48:15.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-05-12T13:36:18.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-04-28T12:41:12.000Z', 'description' => '响应参数发生变更、响应参数发生变更'], + ['createdAt' => '2023-03-07T02:09:14.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-11-24T14:44:35.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-10-28T06:14:01.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-10-25T15:36:54.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-08-02T07:52:10.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-05-09T14:31:31.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAppInstanceGroup'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TotalCount\\": 15,\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"AppInstanceGroupModels\\": [\\n {\\n \\"Apps\\": [\\n {\\n \\"AppId\\": \\"ca-i87mycyn419nu****\\",\\n \\"AppName\\": \\"办公应用\\",\\n \\"AppVersion\\": \\"1.0.0\\",\\n \\"AppVersionName\\": \\"初始版本\\",\\n \\"AppIcon\\": \\"https://app-center-icon-****.png\\"\\n }\\n ],\\n \\"AppCenterImageId\\": \\"img-8z4nztpaqvay4****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ProductType\\": \\"CloudApp\\",\\n \\"AppInstanceType\\": \\"__dynamic__\\",\\n \\"AppInstanceGroupId\\": \\"aig-9ciijz60n4xsv****\\",\\n \\"Amount\\": 1,\\n \\"MinAmount\\": 1,\\n \\"MaxAmount\\": 10,\\n \\"ReserveAmountRatio\\": \\"20\\",\\n \\"ReserveMinAmount\\": 1,\\n \\"ReserveMaxAmount\\": 5,\\n \\"ScalingStep\\": 10,\\n \\"ScalingUsageThreshold\\": \\"85\\",\\n \\"ScalingDownAfterIdleMinutes\\": 5,\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"GmtCreate\\": \\"2022-04-26T15:06:16.000+00:00\\",\\n \\"Status\\": \\"PUBLISHED\\",\\n \\"NodePool\\": [\\n {\\n \\"NodePoolId\\": \\"rg-g6922kced36hx****\\",\\n \\"NodeInstanceType\\": \\"appstreaming.vgpu.4c8g.2g\\",\\n \\"NodeAmount\\": 1,\\n \\"NodeUsed\\": 1,\\n \\"NodeCapacity\\": 2,\\n \\"ScalingNodeAmount\\": 8,\\n \\"ScalingNodeUsed\\": 4,\\n \\"StrategyType\\": \\"NODE_FIXED\\",\\n \\"Amount\\": 2,\\n \\"MaxScalingAmount\\": 8,\\n \\"MaxIdleAppInstanceAmount\\": 3,\\n \\"ScalingStep\\": 2,\\n \\"ScalingUsageThreshold\\": \\"85\\",\\n \\"ScalingDownAfterIdleMinutes\\": 5,\\n \\"RecurrenceSchedules\\": [\\n {\\n \\"RecurrenceType\\": \\"Weekly\\",\\n \\"RecurrenceValues\\": [\\n 1\\n ],\\n \\"TimerPeriods\\": [\\n {\\n \\"Amount\\": 5,\\n \\"EndTime\\": \\"11:00\\",\\n \\"StartTime\\": \\"09:30\\"\\n }\\n ]\\n }\\n ],\\n \\"StrategyDisableDate\\": \\"2022-09-08\\",\\n \\"StrategyEnableDate\\": \\"2022-08-01\\",\\n \\"WarmUp\\": false,\\n \\"NodeTypeName\\": \\"无影-通用型_4核8G\\"\\n }\\n ],\\n \\"SpecId\\": \\"spec-8o18t8uc31qib0****\\",\\n \\"SessionTimeout\\": \\"15\\",\\n \\"AppInstanceGroupName\\": \\"办公应用\\",\\n \\"ExpiredTime\\": \\"2022-04-27T16:00:00.000+00:00\\",\\n \\"OtaInfo\\": {\\n \\"OtaVersion\\": \\"0.0.1-D-20220615.11****\\",\\n \\"NewOtaVersion\\": \\"0.0.1-D-20220630.11****\\",\\n \\"TaskId\\": \\"ota-e49929gv8acz5****\\"\\n },\\n \\"OsType\\": \\"Windows\\",\\n \\"ResourceStatus\\": \\"AVAILABLE\\",\\n \\"AppPolicyId\\": \\"pg-g3k5wa2ms2****\\",\\n \\"ChargeResourceMode\\": \\"Node\\",\\n \\"SkipUserAuthCheck\\": false,\\n \\"OfficeSiteId\\": \\"cn-beijing+dir-172301****\\\\n\\",\\n \\"AppPolicyVersion\\": \\"CENTER\\",\\n \\"AppPolicyImageCheck\\": false,\\n \\"ResourceTags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"design\\",\\n \\"Scope\\": \\"Custom\\"\\n }\\n ],\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"department\\",\\n \\"Value\\": \\"design\\",\\n \\"Scope\\": \\"Custom\\"\\n }\\n ],\\n \\"AuthMode\\": \\"App\\",\\n \\"AccessType\\": \\"INTERNET\\",\\n \\"SupportUserGroupMixedAuth\\": true,\\n \\"UserGroupAuthMode\\": \\"Mixed\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询多个交付组详细信息', ], - 'PageListAppInstanceGroupUser' => [ - 'summary' => '分页查询交付组中已添加的分配用户。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListAppInstances' => [ + 'summary' => '查询交付组内会话实例的详细信息,包括实例ID、实例状态、创建时间、更新时间、会话状态、主网卡公网IP等。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5337,57 +4990,87 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingV87T4P', - ], + 'abilityTreeCode' => '170357', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'AppInstanceGroupId', + 'in' => 'query', + 'schema' => ['description' => '交付组ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-4p5f8tj16yb8b****'], + ], + [ + 'name' => 'AppInstanceId', + 'in' => 'query', + 'schema' => ['description' => '应用实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ai-azn3kmwruh1vl****'], + ], + [ + 'name' => 'Status', 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => '交付组ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-9ciijz60n4xsv****', + 'description' => '应用实例状态列表。', + 'type' => 'array', + 'items' => [ + 'description' => '应用实例状态。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['INIT' => '初始化', 'STARTING' => '应用启动中', 'CLOSING' => '应用停止中', 'CLOSED' => '应用已关闭', 'RUNNING' => '应用运行中', 'IDLE' => '空闲', 'BOUND' => '已绑定', 'UNAVAILABLE' => '不可用'], + 'example' => 'INIT', + ], + 'required' => false, 'maxItems' => 100, + 'minItems' => 1, ], ], [ - 'name' => 'ProductType', + 'name' => 'AppInstanceIdList', 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => '产品类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], - 'example' => 'CloudApp', + 'description' => '应用实例ID列表,最大长度为100。', + 'type' => 'array', + 'items' => ['description' => '应用实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ai-azn3kmwruh1vl****'], + 'required' => false, + 'maxItems' => 100, + 'minItems' => 1, ], ], [ 'name' => 'PageSize', - 'in' => 'formData', + 'in' => 'query', + 'schema' => ['description' => '每页的查询结果数量,不可超过`100`。默认值为`20`。建议填写该参数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '需展示的查询结果页码。默认值为`1`。建议填写该参数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'], + ], + [ + 'name' => 'IncludeDeleted', + 'in' => 'query', 'schema' => [ - 'description' => '每页的查询结果数量,不可超过`100`。建议填写该参数。', - 'type' => 'integer', - 'format' => 'int32', + 'description' => '是否查询已删除的实例信息。'."\n" + .'该参数为true时AppInstanceIdList的字段必填,否则会报参数错误。', + 'type' => 'boolean', 'required' => false, - 'example' => '10', + 'enumValueTitles' => ['true' => '查询', 'false' => '不查询[默认值]'], + 'example' => 'true', + 'default' => 'false', ], ], [ - 'name' => 'PageNumber', - 'in' => 'formData', + 'name' => 'UserIdList', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '需展示的查询结果页码。建议填写该参数。', - 'type' => 'integer', - 'format' => 'int32', + 'description' => '用户ID列表,最大长度为100。', + 'type' => 'array', + 'items' => ['description' => '用户ID', 'type' => 'string', 'required' => false, 'example' => 'Alice'], 'required' => false, - 'example' => '1', + 'maxItems' => 100, ], ], ], @@ -5398,1434 +5081,1702 @@ 'description' => '返回信息集合。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'Users' => [ - 'description' => '查询到的一组用户。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'TotalCount' => ['description' => '查询结果的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '18'], + 'PageSize' => ['description' => '每页的查询结果数量,不可超过`100`。建议填写该参数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '需展示的查询结果页码。建议填写该参数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'AppInstanceModels' => [ + 'description' => '查询的应用实例列表。', 'type' => 'array', 'items' => [ - 'description' => '查询到的用户名。', - 'type' => 'string', - 'example' => 'username1', + 'description' => '查询的应用实例。', + 'type' => 'object', + 'properties' => [ + 'AppInstanceId' => ['description' => '应用实例ID。', 'type' => 'string', 'example' => 'ai-8dl7dzchklmka****'], + 'AppInstanceGroupId' => ['description' => '交付组ID。', 'type' => 'string', 'example' => 'aig-dk8p95irqfst9****'], + 'Status' => ['description' => '应用实例状态。', 'type' => 'string', 'example' => 'BOUND'], + 'MainEthPublicIp' => ['description' => '主网卡公网IP。交付组网络策略(`StrategyType`)为混合模式(`Mixed`)时才返回该值,否则为空。', 'type' => 'string', 'example' => '10.13.13.211'], + 'NetworkInterfaceIp' => ['type' => 'string', 'description' => ''], + 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2023-03-07T20:29:19.000+08:00'], + 'GmtModified' => ['description' => '更新时间。', 'type' => 'string', 'example' => '2023-03-07T20:29:19.000+08:00'], + 'SessionStatus' => [ + 'description' => '会话连接状态。实例状态为应用运行中(`RUNNING`)时才返回该值,否则为空。', + 'type' => 'string', + 'enumValueTitles' => ['disconnect' => '已关闭', 'connect' => '已连接'], + 'example' => 'connect', + ], + 'BindInfo' => [ + 'description' => '实例与用户绑定相关信息。', + 'type' => 'object', + 'properties' => [ + 'EndUserId' => ['description' => '实例绑定的最终用户ID。', 'type' => 'string', 'example' => 'app.test'], + 'UsageDuration' => ['description' => '实例使用时长。单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '2000'], + ], + ], + 'NodeId' => ['description' => '运行实例的节点ID。'."\n" + .'> 只有本实例所属交付组的售卖模式为按资源售卖(ChargeResourceMode=Node)时,才会返回本参数。', 'type' => 'string', 'example' => 'i-bp13********'], + 'ChargeType' => [ + 'description' => '实例的付费类型,返回值:'."\n" + .'- **PrePaid**:包年包月(预付费)。'."\n" + .'- **PostPaid**:按量付费(后付费)。'."\n" + .'> 只有本实例所属交付组的售卖模式为按资源售卖(ChargeResourceMode=Node)时,才会返回本参数。', + 'type' => 'string', + 'enumValueTitles' => ['PostPaid' => '按量付费(后付费)', 'PrePaid' => '包年包月(预付费)'], + 'example' => 'PostPaid', + ], + 'NetworkInterfaceId' => ['type' => 'string'], + ], ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询交付组内实例详细信息', + 'changeSet' => [ + ['createdAt' => '2025-03-12T11:30:40.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2025-02-21T08:17:54.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-02-18T11:55:37.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-05-09T08:37:28.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Users\\": [\\n \\"username1\\"\\n ]\\n}","type":"json"}]', - 'title' => '分页查询交付组的分配用户', - ], - 'RenewAppInstanceGroup' => [ - 'summary' => '为交付组续费。', - 'methods' => [ - 'get', - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAppInstances'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListAppInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TotalCount\\": 18,\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"AppInstanceModels\\": [\\n {\\n \\"AppInstanceId\\": \\"ai-8dl7dzchklmka****\\",\\n \\"AppInstanceGroupId\\": \\"aig-dk8p95irqfst9****\\",\\n \\"Status\\": \\"BOUND\\",\\n \\"MainEthPublicIp\\": \\"10.13.13.211\\",\\n \\"NetworkInterfaceIp\\": \\"\\",\\n \\"GmtCreate\\": \\"2023-03-07T20:29:19.000+08:00\\",\\n \\"GmtModified\\": \\"2023-03-07T20:29:19.000+08:00\\",\\n \\"SessionStatus\\": \\"connect\\",\\n \\"BindInfo\\": {\\n \\"EndUserId\\": \\"app.test\\",\\n \\"UsageDuration\\": 2000\\n },\\n \\"NodeId\\": \\"i-bp13********\\",\\n \\"ChargeType\\": \\"PostPaid\\",\\n \\"NetworkInterfaceId\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListAuthorizedUserGroups' => [ + 'summary' => '通过交付组查询该交付组授权的用户组列表。', + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', - 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingU1TTUH', - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingD8SMIE'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'ProductType', - 'in' => 'query', + 'in' => 'formData', 'schema' => [ + 'title' => '产品类型。', 'description' => '产品类型。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], + 'enumValueTitles' => ['CloudApp' => '无影云应用'], 'example' => 'CloudApp', ], ], [ - 'name' => 'PromotionId', - 'in' => 'query', - 'schema' => [ - 'description' => '优惠ID。可通过[GetResourcePrice](~~428503~~)接口获得。', - 'type' => 'string', - 'required' => false, - 'example' => '17440009****', - ], + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['title' => '每页最大返回的数量。', 'description' => '每页最大返回的数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'example' => '10'], ], [ - 'name' => 'AutoPay', - 'in' => 'query', + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['title' => '页码,从1开始。', 'description' => '页码,从1开始。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'example' => '1'], + ], + [ + 'name' => 'AppInstanceGroupId', + 'in' => 'formData', + 'schema' => ['title' => '交付组ID。', 'description' => '交付组ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-9ciijz60n4xsv****'], + ], + [ + 'name' => 'GroupId', + 'in' => 'formData', + 'schema' => ['title' => '用户组ID,精确查询。', 'description' => '用户组ID,精确查询。', 'type' => 'string', 'required' => false, 'example' => 'ug-00001'], + ], + [ + 'name' => 'GroupName', + 'in' => 'formData', + 'schema' => ['title' => '用户组名称,模糊查询。', 'description' => '用户组名称,模糊查询。', 'type' => 'string', 'required' => false, 'example' => '用户组001'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '是否自动付费。', - 'type' => 'boolean', - 'required' => false, - 'enumValueTitles' => [ - 'true' => '自动付费', - 'false' => '手动付费 [默认值]', + 'title' => 'Schema of Response', + 'description' => '响应体。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'TotalCount' => ['title' => '总数。', 'description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'PageSize' => ['title' => '每页返回的最大数量。', 'description' => '每页返回的最大数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['title' => '页码。', 'description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'UserGroups' => [ + 'title' => '用户组信息列表。', + 'description' => '用户组信息列表。', + 'type' => 'array', + 'items' => [ + 'title' => '用户组信息。', + 'description' => '用户组信息。', + 'type' => 'object', + 'properties' => [ + 'GroupName' => ['title' => '用户组名称。', 'description' => '用户组名称。', 'type' => 'string', 'example' => '用户组001'], + 'AppInstanceGroupId' => ['title' => '交付组ID。', 'description' => '交付组ID。', 'type' => 'string', 'example' => 'aig-9ciijz60n4xsv****'], + 'AuthMode' => [ + 'title' => '授权模式。', + 'description' => '授权模式。', + 'type' => 'string', + 'enumValueTitles' => ['App' => '应用授权', 'AppInstanceGroup' => '交付组授权', 'Session' => '会话授权'], + 'example' => 'App', + 'default' => 'App', + 'enum' => ['App', 'Session', 'AppInstanceGroup'], + ], + 'GroupId' => ['title' => '用户组ID。', 'description' => '用户组ID。', 'type' => 'string', 'example' => 'ug-00001'], + ], + ], + ], ], - 'example' => 'false', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TotalCount\\": 6,\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"UserGroups\\": [\\n {\\n \\"GroupName\\": \\"用户组001\\",\\n \\"AppInstanceGroupId\\": \\"aig-9ciijz60n4xsv****\\",\\n \\"AuthMode\\": \\"App\\",\\n \\"GroupId\\": \\"ug-00001\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询交付组授权的用户组列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Period', - 'in' => 'query', - 'schema' => [ - 'description' => '资源购买时长的数量部分,与`PeriodUnit`一起表示完整的购买时长。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListAuthorizedUserGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + ], + 'ListBindInfo' => [ + 'summary' => '查询用户与资源之间的绑定信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'PeriodUnit', - 'in' => 'query', + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '262111', + 'abilityTreeNodes' => ['FEATUREappstreamingV87T4P'], + ], + 'parameters' => [ + [ + 'name' => 'UserIdList', + 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => '资源购买时长的单位部分,与`Period`一起表示完整的购买时长。可使用的`Period`与`PeriodUnit`的搭配如下:'."\n" - ."\n" - .'- 1 Week(1周)'."\n" - .'- 1 Month(1个月)'."\n" - .'- 2 Month(2个月)'."\n" - .'- 3 Month(3个月)'."\n" - .'- 6 Month(6个月)'."\n" - .'- 1 Year(1年)'."\n" - .'- 2 Year(2年)'."\n" - .'- 3 Year(3年)'."\n" + 'description' => '用户ID列表。可以传入1\\~100个ID。'."\n" ."\n" - .'> 该参数区分大小写。例如,`Week`是有效的,`week`是无效的。另外,如果请求参数不符合上述搭配,例如`2 Week`,虽然调用本接口会成功,但最终在下单阶段会出错。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'Month' => '月', - 'Year' => '年', - 'Week' => '周', - ], - 'example' => 'Week', + .'> 当传入本参数时,仅会返回指定的用户的绑定信息。', + 'type' => 'array', + 'items' => ['description' => '用户ID。', 'type' => 'string', 'required' => false, 'example' => 'Alice'], + 'required' => false, + 'maxItems' => 100, ], ], [ - 'name' => 'AppInstanceGroupId', - 'in' => 'query', + 'name' => 'WyIdList', + 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => '交付组ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-9ciijz60n4xsv****', + 'description' => '无影用户ID列表。可以传入1\\~100个ID。'."\n" + ."\n" + .'> 当传入本参数时,仅会返回指定的无影用户的绑定信息。', + 'type' => 'array', + 'items' => ['description' => '无影用户ID。', 'type' => 'string', 'required' => false, 'example' => '2ca6f5a93536****'], + 'required' => false, + 'maxItems' => 100, ], ], [ - 'name' => 'RenewMode', - 'in' => 'query', + 'name' => 'AppInstanceGroupIdList', + 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'string', + 'description' => '交付组ID列表。可以传入1\\~100个ID。'."\n" + ."\n" + .'> 当传入本参数时,仅会返回指定的交付组的绑定信息。', + 'type' => 'array', + 'items' => ['description' => '交付组ID。', 'type' => 'string', 'required' => false, 'example' => 'aig-4xz0oy8x4ipyv****'], 'required' => false, + 'maxItems' => 100, ], ], [ - 'name' => 'RenewAmount', - 'in' => 'query', + 'name' => 'AppInstanceIdList', + 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'description' => '应用实例ID列表。可以传入1\\~100个ID。'."\n" + ."\n" + .'> 当传入本参数时,仅会返回指定的应用实例的绑定信息。', + 'type' => 'array', + 'items' => ['description' => '应用实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ai-azn3kmwruh1vl****'], 'required' => false, + 'maxItems' => 100, ], ], [ - 'name' => 'RenewNodes', - 'in' => 'query', - 'style' => 'json', + 'name' => 'AppIdList', + 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ + 'description' => '应用ID列表。可以传入1\\~100个ID。'."\n" + ."\n" + .'> 当传入本参数时,仅会返回指定的应用的绑定信息。', 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['description' => '应用ID。', 'type' => 'string', 'required' => false, 'example' => 'ca-fq738or6vd854****'], 'required' => false, + 'maxItems' => 100, ], ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页的查询结果数量,不可超过`100`。默认值为`20`。建议填写该参数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '20'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '需展示的查询结果页码。默认值为`1`。建议填写该参数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => '返回信息集合。', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'Code' => [ - 'description' => '出错时的错误码。', - 'type' => 'string', - 'example' => 'InvalidParameter.ProductType', - ], - 'OrderId' => [ - 'description' => '订单ID。', - 'type' => 'string', - 'example' => '123456****', - ], - 'Message' => [ - 'description' => '出错时的错误消息。', - 'type' => 'string', - 'example' => 'The parameter ProductType is invalid.', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'AD2D0761-1FE5-549D-B169-D3F8D19C****'], + 'TotalCount' => ['description' => '查询结果的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'], + 'PageSize' => ['description' => '每页的查询结果数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '当前展示的查询结果页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'BindInfoModels' => [ + 'description' => '返回的绑定信息列表。', + 'type' => 'array', + 'items' => [ + 'description' => '返回的绑定信息。', + 'type' => 'object', + 'properties' => [ + 'AppId' => ['description' => '应用ID。', 'type' => 'string', 'example' => 'ca-fq738or6vd854****'], + 'AppVersion' => ['description' => '应用版本号。', 'type' => 'string', 'example' => '1.0'], + 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'], + 'UserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'Alice'], + 'WyId' => ['description' => '无影用户ID。', 'type' => 'string', 'example' => '2ca6f5a93536****'], + 'AccountType' => [ + 'description' => '账号类型。', + 'type' => 'string', + 'enumValueTitles' => ['ad' => 'AD域账号', 'simple' => '便捷账号'], + 'example' => 'simple', + ], + 'AppInstanceGroupId' => ['description' => '交付组ID。', 'type' => 'string', 'example' => 'aig-0abxhr6ce35w8****'], + 'AppInstanceId' => ['description' => '应用实例ID。', 'type' => 'string', 'example' => 'ai-83oe276fre4l3****'], + 'ProductType' => [ + 'description' => '产品类型。', + 'type' => 'string', + 'enumValueTitles' => ['CloudApp' => '云应用', 'CloudBrowser' => '云浏览器', 'AndroidCloud' => '云手机'], + 'example' => 'CloudApp', + ], + ], + ], ], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Code\\": \\"InvalidParameter.ProductType\\",\\n \\"OrderId\\": \\"123456****\\",\\n \\"Message\\": \\"The parameter ProductType is invalid.\\"\\n}","type":"json"}]', - 'title' => '为交付组续费', - 'description' => '请确保在使用该接口前,已充分了解无影云应用的[计费方式和价格](~~426039~~)。', - ], - 'UpdateAppInstanceGroupImage' => [ - 'summary' => '更新交付组的镜像。', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD2D0761-1FE5-549D-B169-D3F8D19C****\\",\\n \\"TotalCount\\": 15,\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"BindInfoModels\\": [\\n {\\n \\"AppId\\": \\"ca-fq738or6vd854****\\",\\n \\"AppVersion\\": \\"1.0\\",\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"UserId\\": \\"Alice\\",\\n \\"WyId\\": \\"2ca6f5a93536****\\",\\n \\"AccountType\\": \\"simple\\",\\n \\"AppInstanceGroupId\\": \\"aig-0abxhr6ce35w8****\\",\\n \\"AppInstanceId\\": \\"ai-83oe276fre4l3****\\",\\n \\"ProductType\\": \\"CloudApp\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询绑定信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'appstreaming:ListBindInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListDesktopAgentRuntime' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], ], 'parameters' => [ [ - 'name' => 'ProductType', + 'name' => 'AgentProvider', 'in' => 'query', - 'schema' => [ - 'description' => '产品类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], - 'example' => 'CloudApp', - ], + 'schema' => ['title' => 'Agent提供商名称', 'description' => 'Agent提供商名称。', 'type' => 'string', 'required' => true, 'example' => 'OpenClaw'], ], [ - 'name' => 'AppInstanceGroupId', + 'name' => 'ModelTemplateId', + 'in' => 'query', + 'schema' => ['title' => '模型模板ID', 'description' => '模型分组ID。', 'type' => 'string', 'required' => false, 'example' => 'mt-xxxx'], + ], + [ + 'name' => 'DesktopIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '交付组ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-9ciijz60n4xsv****', + 'title' => '运行时ID列表', + 'description' => 'Agent运行时ID列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'Agent 运行时 ID ,ID 对应关系如下:'."\n" + ."\n" + .'JVS Computer:JVS Computer ID,格式如 jvs-xxxx。'."\n" + ."\n" + .'OpenClaw:云电脑 ID,格式如 ecd-xxxx。'."\n" + ."\n" + .'Hermes Agent:Hermes Agent ID,格式如 jvs-xxxx。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [], + 'example' => 'ecd-xxxx', + ], + 'required' => false, + 'maxItems' => 100, + 'example' => 'jvs-xxxxx', ], ], [ - 'name' => 'AppCenterImageId', + 'name' => 'ResourceIds', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '应用镜像ID,可从无影云应用控制台的镜像管理页面获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'img-8z4nztpaqvay4****', + 'title' => '资源ID列表(底层真实资源ID)', + 'description' => '资源ID列表(底层真实资源ID)', + 'type' => 'array', + 'items' => ['description' => '资源ID。', 'type' => 'string', 'required' => false, 'example' => 'ecd-xxxx'], + 'required' => false, + 'maxItems' => 100, + 'example' => 'ecd-xxxxx', ], ], [ - 'name' => 'BizRegionId', + 'name' => 'DesktopStatuses', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '交付组所属的地域ID。关于支持的地域详情,请参见[使用限制](~~426036~~)。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'cn-shanghai' => '华东2(上海)', - 'cn-hangzhou' => '华东1(杭州)', + 'title' => '云电脑状态列表', + 'description' => '云电脑状态列表。', + 'type' => 'array', + 'items' => [ + 'description' => '云电脑状态。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['Stopped' => '已关机', 'Starting' => '启动中', 'Rebuilding' => '重建中', 'Running' => '运行中', 'Stopping' => '停止中', 'Expired' => '已过期', 'Deleted' => '已删除', 'Pending' => '等待中'], + 'example' => 'Running', ], - 'example' => 'cn-hangzhou', + 'required' => false, + 'maxItems' => 10, + 'example' => 'Running', ], ], - ], - 'responses' => [ - 200 => [ - 'headers' => [], + [ + 'name' => 'AuthUsers', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回信息集合。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'Code' => [ - 'description' => '出错时的错误码。', - 'type' => 'string', - 'example' => 'InvalidParameter.ProductType', - ], - 'Message' => [ - 'description' => '出错时的错误消息。', - 'type' => 'string', - 'example' => 'The parameter ProductType is invalid.', - ], - ], + 'title' => '授权用户列表', + 'description' => '授权用户列表。', + 'type' => 'array', + 'items' => ['description' => '授权用户。', 'type' => 'string', 'required' => true, 'example' => 'user-001'], + 'required' => false, + 'maxItems' => 100, + 'example' => 'user001', ], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Code\\": \\"InvalidParameter.ProductType\\",\\n \\"Message\\": \\"The parameter ProductType is invalid.\\"\\n}","type":"json"}]', - 'title' => '更新交付组镜像', - 'description' => '><warning>开始更新镜像后,终端用户访问云应用的会话将会断开,请谨慎操作,以免造成终端用户的数据丢失。></warning>'."\n" - ."\n" - .'> 更新发布成功后,一般需要等待2分钟左右,变更才会在终端生效。', - ], - 'ModifyAppInstanceGroupAttribute' => [ - 'summary' => '修改交付组的通用策略,包括并发会话数、会话断连保留时长等。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'abilityTreeCode' => '134213', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingBC1NTD', + 'name' => 'AgentInstanceVersions', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => 'Agent实例版本列表', + 'description' => 'Agent实例版本列表。', + 'type' => 'array', + 'items' => ['description' => 'Agent 实例版本。', 'type' => 'string', 'required' => true, 'example' => '2026.3.13'], + 'required' => false, + 'maxItems' => 10, + 'example' => 'OpenClaw 2026.4.15', + ], ], - ], - 'parameters' => [ [ - 'name' => 'ProductType', + 'name' => 'AgentInstanceStatuses', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '产品类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', + 'title' => 'Agent实例状态列表', + 'description' => 'Agent实例状态列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'Agent 实例状态。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['Undeployed' => '未部署', 'Deploying' => '部署中', 'Stopped' => '已停止', 'Starting' => '启动中', 'Running' => '运行中', 'Stopping' => '停止中', 'Deleted' => '已删除', 'Deployed' => '已部署', 'Unavailable' => '不可用'], + 'example' => 'Running', ], - 'example' => 'CloudApp', + 'required' => false, + 'maxItems' => 10, + 'example' => 'Running', ], ], [ - 'name' => 'AppInstanceGroupId', + 'name' => 'DeploymentSource', 'in' => 'query', 'schema' => [ - 'description' => '交付组ID。', + 'title' => '部署来源(Admin/User)', + 'description' => '部署来源。', 'type' => 'string', - 'required' => true, - 'example' => 'aig-9ciijz60n4xsv****', + 'required' => false, + 'enumValueTitles' => ['User' => '用户部署', 'Admin' => '管理员部署'], + 'example' => 'Admin', ], ], [ - 'name' => 'AppInstanceGroupName', + 'name' => 'ModelConfigure', 'in' => 'query', 'schema' => [ - 'description' => '交付组名称。', - 'type' => 'string', + 'title' => '是否已配置模型', + 'description' => '是否已配置模型。', + 'type' => 'boolean', 'required' => false, - 'example' => '办公应用', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', ], ], [ - 'name' => 'SessionTimeout', + 'name' => 'ChannelConfigure', 'in' => 'query', 'schema' => [ - 'description' => '会话断连保留时长,单位为分钟。终端用户会话断开连接后,会话将保留此处设置的时长,然后再注销。如果始终保留,则填写`-1`。取值范围:-1和3~300。默认值为`15`。', - 'type' => 'integer', - 'format' => 'int32', + 'title' => '是否已配置通道', + 'description' => '是否已配置三方通道。', + 'type' => 'boolean', 'required' => false, - 'maximum' => '300', - 'example' => '15', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', ], ], [ - 'name' => 'NodePool', + 'name' => 'ResourceGroupId', 'in' => 'query', - 'style' => 'json', + 'schema' => ['title' => '资源组ID', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-xxxx'], + ], + [ + 'name' => 'DesktopNames', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '资源组对象。', - 'type' => 'object', - 'properties' => [ - 'NodePoolId' => [ - 'description' => '资源组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'rg-ew7va2g1wl3vm****', - ], - 'NodeCapacity' => [ - 'description' => '并发会话数,即单个资源可同时连接的会话数。如果同时连接的会话数过多,可能导致应用的使用体验下降。取值范围因资源规格不同而不同。各资源规格对应的取值范围可通过ListNodeInstanceType接口获取。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], - ], + 'title' => '云电脑名称列表(模糊匹配)', + 'description' => 'Agent运行时名称列表。', + 'type' => 'array', + 'items' => ['description' => 'Agent运行时名称。', 'type' => 'string', 'required' => true, 'example' => 'Agent-001'], 'required' => false, + 'maxItems' => 10, + 'example' => 'Desktop001', ], ], [ - 'name' => 'StoragePolicy', - 'in' => 'formData', - 'style' => 'json', + 'name' => 'BizType', + 'in' => 'query', 'schema' => [ - 'description' => '存储策略。', - 'type' => 'object', - 'properties' => [ - 'StorageTypeList' => [ - 'description' => '存储类型列表。', - 'type' => 'array', - 'items' => [ - 'description' => '存储类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'OFF' => '关闭', - 'PDS' => '网盘与相册服务(Drive and Photo Service)', - ], - 'example' => 'PDS', - ], - 'required' => false, - ], - 'UserProfileFollow' => [ - 'type' => 'object', - 'properties' => [ - 'ProfileFollowSwitch' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'FileSystemId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'UserProfile' => [ - 'description' => '用户数据漫游配置。', - 'type' => 'object', - 'properties' => [ - 'UserProfileSwitch' => [ - 'description' => '用户数据漫游开关。', - 'type' => 'boolean', - 'required' => false, - 'enumValueTitles' => [ - 'true' => '开启', - 'false' => '关闭', - ], - 'example' => 'false', - ], - 'FileSystemId' => [ - 'description' => '用户数据存储系统ID(NAS ID)。', - 'type' => 'string', - 'required' => false, - 'example' => '06ae94****', - ], - ], - 'required' => false, - ], - ], + 'title' => '业务类型', + 'description' => '业务类型。', + 'type' => 'integer', + 'format' => 'int32', 'required' => false, + 'enumValueTitles' => [1 => '企业版'], + 'example' => '1', + 'default' => '1', ], ], [ - 'name' => 'SecurityPolicy', - 'in' => 'formData', - 'style' => 'json', + 'name' => 'AgentPlatform', + 'in' => 'query', 'schema' => [ - 'description' => '安全策略。', - 'type' => 'object', - 'properties' => [ - 'SkipUserAuthCheck' => [ - 'description' => '是否跳过用户授权校验。', - 'type' => 'boolean', - 'required' => false, - 'enumValueTitles' => [ - 'true' => '不校验', - 'false' => '校验 [默认值]', - ], - 'example' => 'false', - ], - 'ResetAfterUnbind' => [ - 'description' => '解绑后是否重置。', - 'type' => 'boolean', - 'required' => false, - 'enumValueTitles' => [ - 'true' => '重置', - 'false' => '不重置', - ], - 'example' => 'true', - ], - ], + 'title' => 'Agent平台', + 'description' => 'Agent平台。', + 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['ENTERPRISE' => '企业版', 'ENTERPRISE_JVS' => '企业版JVS Computer、企业版Hermes Agent'], + 'example' => 'ENTERPRISE', ], ], [ - 'name' => 'PreOpenMode', - 'in' => 'formData', + 'name' => 'HasAuthUser', + 'in' => 'query', 'schema' => [ - 'description' => '预开模式。', - 'type' => 'string', + 'title' => '是否有授权用户', + 'description' => '是否已授权用户。', + 'type' => 'boolean', 'required' => false, - 'enumValueTitles' => [ - 'SINGLE_APP' => '单应用预开', - 'OFF' => '关闭预开[默认值]', - ], - 'example' => 'OFF', + 'enumValueTitles' => ['true' => '是', 'false' => 'false'], + 'example' => 'true', ], ], [ - 'name' => 'PreOpenAppId', - 'in' => 'formData', + 'name' => 'IncludeRiskInfo', + 'in' => 'query', 'schema' => [ - 'description' => '预开应用的AppId。如果`PreOpenMode`参数为`SINGLE_APP`,则`PreOpenAppId`不能为空字符串。', - 'type' => 'string', + 'title' => '是否查询并返回风险信息', + 'description' => '是否查询并返回风险信息。默认为 false。设置为 true 时,响应中将包含 RiskInfo 字段,同时 HasRisk 筛选条件才会生效。', + 'type' => 'boolean', 'required' => false, - 'example' => 'ca-b2ronxxd****'."\n", + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', ], ], [ - 'name' => 'PerSessionPerApp', - 'in' => 'formData', + 'name' => 'HasRisk', + 'in' => 'query', 'schema' => [ - 'description' => '一个会话内只允许打开一个应用。'."\n" - .'- 开启后,如果打开交付组内的多个应用,将会为每个应用分配一个会话,消耗更多的会话数量', + 'title' => '是否存在风险,仅当IncludeRiskInfo为true时生效', + 'description' => '是否存在风险。用于过滤有风险或无风险的云电脑,仅当 IncludeRiskInfo 为 true 时生效。'."\n" + ."\n" + .'设置为 true 表示仅返回存在风险的记录,设置为 false 表示仅返回无风险的记录,不传则不做过滤。', 'type' => 'boolean', 'required' => false, - 'enumValueTitles' => [ - 'true' => '开启', - 'false' => '关闭', - ], - 'example' => 'false', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', ], ], [ - 'name' => 'Network', - 'in' => 'formData', - 'style' => 'json', + 'name' => 'ManagementStatus', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => 'Hibernated'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['title' => '每页大小', 'description' => '每页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['title' => '页码,从1开始,0和1返回相同结果', 'description' => '页码,从1开始,0和1返回相同结果。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '网络配置。'."\n" - ."\n" - .'> 如需使用该参数,请提交工单。', + 'title' => 'PageListResult<DesktopAgentRuntimeModel>', + 'description' => '查询结果。', 'type' => 'object', 'properties' => [ - 'DomainRules' => [ - 'description' => '域名规则配置。', + 'PageSize' => ['title' => '每页大小', 'description' => '每页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'PageNumber' => ['title' => '页码', 'description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Data' => [ + 'description' => '返回的结果对象列表。', 'type' => 'array', 'items' => [ - 'description' => '域名规则。', + 'description' => '返回的结果对象。', 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'description' => '域名。', + 'DesktopId' => ['title' => '云电脑ID(= runtimeId)', 'description' => 'Agent运行时ID。', 'type' => 'string', 'example' => 'ecd-xxxx'], + 'ResourceId' => ['title' => '资源ID(底层云电脑真实ID,如 ecd-xxx)', 'description' => '资源ID,即云电脑ID。', 'type' => 'string', 'example' => 'ecd-xxxx'], + 'RegionId' => ['title' => '地域ID', 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'RegionLocation' => [ + 'title' => '地域位置(国内/海外)', + 'description' => '地域位置(国内/海外)', 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com', + 'enumValueTitles' => ['Mainland' => '中国大陆', 'Overseas' => '海外(含中国香港)'], + 'example' => 'Mainland', ], - 'Policy' => [ - 'description' => '策略值。', + 'DesktopName' => ['title' => '云电脑名称', 'description' => 'Agent运行时名称。', 'type' => 'string', 'example' => 'Agent-001'], + 'DesktopStatus' => [ + 'title' => '云电脑状态', + 'description' => '云电脑状态。', 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'allow' => '允许访问', - 'block' => '禁止访问', + 'enumValueTitles' => ['Stopped' => '已关机', 'Starting' => '启动中', 'Rebuilding' => '重建中', 'Running' => '运行中', 'Stopping' => '停止中', 'Expired' => '已过期', 'Deleted' => '已删除', 'Pending' => '等待中'], + 'example' => 'Running', + ], + 'OsType' => [ + 'title' => '操作系统类型', + 'description' => '操作系统类型', + 'type' => 'string', + 'enumValueTitles' => ['Linux' => 'Linux', 'Windows' => 'Windows'], + 'example' => 'Windows', + ], + 'AuthUsers' => [ + 'title' => '授权用户列表', + 'description' => '授权用户列表。', + 'type' => 'array', + 'items' => ['description' => '授权用户。', 'type' => 'string', 'example' => 'user-001'], + ], + 'HasAuthUser' => [ + 'title' => '是否有授权用户', + 'description' => '是否已授权用户。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', + ], + 'AgentInstanceInfoList' => [ + 'title' => 'Agent实例信息列表(支持一对多)', + 'description' => 'Agent实例信息列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'Agent 实例信息对象。', + 'type' => 'object', + 'properties' => [ + 'AgentPlatform' => ['type' => 'string'], + 'AgentProvider' => ['type' => 'string'], + 'AgentInstanceVersion' => ['title' => 'Agent实例版本', 'description' => 'Agent实例版本。', 'type' => 'string', 'example' => '2026.3.13'], + 'AgentInstanceStatus' => [ + 'title' => 'Agent实例状态(枚举 name)', + 'description' => 'Agent实例状态。', + 'type' => 'string', + 'enumValueTitles' => ['Undeployed' => '未部署', 'Deploying' => '部署中', 'Stopped' => '已停止', 'Starting' => '启动中', 'Running' => '运行中', 'Stopping' => '停止中', 'Deleted' => '已删除', 'Deployed' => '已部署', 'Unavailable' => '不可用'], + 'example' => 'Running', + ], + 'ModelConfigure' => [ + 'title' => '模型配置是否已配置', + 'description' => 'Agent实例是否已配置模型。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', + ], + 'ChannelConfigure' => [ + 'title' => '通道配置是否已配置', + 'description' => 'Agent 实例是否已配置三方通道。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', + ], + 'ChannelConfiguredList' => [ + 'title' => 'Agent实例级别已配置的通道编码列表', + 'description' => 'Agent实例已配置的三方通道列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'Agent实例已配置的三方通道。', + 'type' => 'string', + 'enumValueTitles' => ['dingtalk-connector' => '钉钉', 'wechat' => '微信', 'feishu' => '飞书', 'qqbot' => 'QQ', 'wecom' => '企业微信'], + 'example' => 'dingtalk-connector', + ], + ], + 'DeploymentSource' => [ + 'title' => '部署来源(枚举 name)', + 'description' => '部署来源。', + 'type' => 'string', + 'enumValueTitles' => ['User' => '用户部署', 'Admin' => '管理员部署'], + 'example' => 'Admin', + ], + 'ModelTemplateId' => ['title' => '关联的模型模板ID', 'description' => '已配置的模型分组ID。', 'type' => 'string', 'example' => 'mt-xxxx'], + ], + ], + ], + 'ModelConfigure' => [ + 'title' => 'Runtime级别是否已配置模型(取 runtimeConfigTemplateRef 的 MODEL 类型记录)', + 'description' => 'Agent运行时是否已配置模型。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是', 'false' => 'false'], + 'example' => 'true', + ], + 'ModelTemplateId' => ['title' => '已生效的模型模板 ID(仅 modelConfigure=true 时返回)', 'description' => '已生效的模型模板 ID(仅 modelConfigure=true 时返回)', 'type' => 'string', 'example' => 'mt-xxxx'], + 'ModelTemplateName' => ['title' => '已生效的模型模板名称(仅 modelConfigure=true 时返回)', 'description' => '已生效的模型模板名称(仅 modelConfigure=true 时返回)', 'type' => 'string', 'example' => 'model-template-001'], + 'ChannelConfigure' => [ + 'title' => 'Runtime级别是否已配置通道(取 runtimeChannelConfig 记录)', + 'description' => 'Agent运行时是否已配置三方通道。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', + ], + 'ChannelConfiguredList' => [ + 'title' => 'Runtime级别已配置的通道编码列表(排除系统自动下发的通道)', + 'description' => 'Agent 运行时已配置的三方通道列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'Agent 运行时已配置的三方通道。', + 'type' => 'string', + 'enumValueTitles' => ['dingtalk-connector' => '钉钉', 'wechat' => '微信', 'feishu' => '飞书', 'qqbot' => 'QQ', 'wecom' => '企业微信'], + 'example' => 'dingtalk-connector', + ], + ], + 'QrCodeConfiguringList' => [ + 'title' => '扫码配置中的通道编码列表', + 'description' => '扫码配置中的通道编码列表', + 'type' => 'array', + 'items' => ['description' => '扫码配置中的通道编码', 'type' => 'string', 'example' => 'wechat'], + ], + 'AgentImInfo' => [ + 'title' => 'Agent IM 信息(AgentIm 通道状态和 CloudSpace 状态)', + 'description' => 'Agent IM 信息。', + 'type' => 'object', + 'properties' => [ + 'AgentImStatus' => [ + 'title' => 'Agent IM 状态', + 'description' => 'Agent IM 状态。', + 'type' => 'string', + 'enumValueTitles' => ['Enabled' => '已启用', 'Disabled' => '已禁用'], + 'example' => 'Enabled', + ], + 'CloudSpaceStatus' => [ + 'title' => 'CloudSpace 状态', + 'description' => 'CloudSpace 状态。', + 'type' => 'string', + 'enumValueTitles' => ['Enabled' => '已启用', 'Disabled' => '已禁用'], + 'example' => 'Enabled', + ], ], - 'example' => 'block', + ], + 'RiskInfo' => [ + 'title' => '风险信息(仅当入参 IncludeRiskInfo 为 true 时返回,否则为 null)', + 'description' => '风险信息(仅当请求参数 IncludeRiskInfo 为 true 时返回,否则为 null)', + 'type' => 'object', + 'properties' => [ + 'ModelModified' => [ + 'title' => '模型配置是否被修改(与管理员下发的配置不一致)', + 'description' => '模型配置是否被修改(与管理员下发的配置不一致)。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', + ], + 'ChannelModified' => [ + 'title' => '通道配置是否被修改(与管理员下发的配置不一致)', + 'description' => '三方通道配置是否被修改(与管理员下发的配置不一致)。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', + ], + 'AgentUninstalled' => [ + 'title' => 'Agent 是否被卸载', + 'description' => 'Agent 是否被卸载。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', + ], + ], + ], + 'ResourceGroup' => [ + 'title' => '资源组信息', + 'description' => '资源组信息。', + 'type' => 'object', + 'properties' => [ + 'ResourceGroupId' => ['title' => '资源组ID', 'description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-xxxx'], + 'ResourceGroupName' => ['title' => '资源组名称', 'description' => '资源组名称。', 'type' => 'string', 'example' => 'resource-group-001'], + ], + ], + 'ManagementStatuses' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], ], ], - 'required' => false, ], - 'required' => false, ], + 'TotalCount' => ['title' => '总数量', 'description' => '总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + 'RequestId' => ['title' => '请求ID,用于标识请求的唯一 ID', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], ], - 'required' => false, ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回信息集合。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'Code' => [ - 'description' => '出错时的错误码。', - 'type' => 'string', - 'example' => 'InvalidParameter.ProductType', - ], - 'Message' => [ - 'description' => '出错时的错误消息。', - 'type' => 'string', - 'example' => 'The parameter ProductType is invalid.', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询Agent运行时列表', + 'summary' => '查询桌面Agent运行时列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListDesktopAgentRuntime', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Code\\": \\"InvalidParameter.ProductType\\",\\n \\"Message\\": \\"The parameter ProductType is invalid.\\"\\n}","type":"json"}]', - 'title' => '修改交付组通用策略', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"Data\\": [\\n {\\n \\"DesktopId\\": \\"ecd-xxxx\\",\\n \\"ResourceId\\": \\"ecd-xxxx\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"RegionLocation\\": \\"Mainland\\",\\n \\"DesktopName\\": \\"Agent-001\\",\\n \\"DesktopStatus\\": \\"Running\\",\\n \\"OsType\\": \\"Windows\\",\\n \\"AuthUsers\\": [\\n \\"user-001\\"\\n ],\\n \\"HasAuthUser\\": true,\\n \\"AgentInstanceInfoList\\": [\\n {\\n \\"AgentPlatform\\": \\"\\",\\n \\"AgentProvider\\": \\"\\",\\n \\"AgentInstanceVersion\\": \\"2026.3.13\\",\\n \\"AgentInstanceStatus\\": \\"Running\\",\\n \\"ModelConfigure\\": true,\\n \\"ChannelConfigure\\": true,\\n \\"ChannelConfiguredList\\": [\\n \\"dingtalk-connector\\"\\n ],\\n \\"DeploymentSource\\": \\"Admin\\",\\n \\"ModelTemplateId\\": \\"mt-xxxx\\"\\n }\\n ],\\n \\"ModelConfigure\\": true,\\n \\"ModelTemplateId\\": \\"mt-xxxx\\",\\n \\"ModelTemplateName\\": \\"model-template-001\\",\\n \\"ChannelConfigure\\": true,\\n \\"ChannelConfiguredList\\": [\\n \\"dingtalk-connector\\"\\n ],\\n \\"QrCodeConfiguringList\\": [\\n \\"wechat\\"\\n ],\\n \\"AgentImInfo\\": {\\n \\"AgentImStatus\\": \\"Enabled\\",\\n \\"CloudSpaceStatus\\": \\"Enabled\\"\\n },\\n \\"RiskInfo\\": {\\n \\"ModelModified\\": true,\\n \\"ChannelModified\\": true,\\n \\"AgentUninstalled\\": true\\n },\\n \\"ResourceGroup\\": {\\n \\"ResourceGroupId\\": \\"rg-xxxx\\",\\n \\"ResourceGroupName\\": \\"resource-group-001\\"\\n },\\n \\"ManagementStatuses\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"TotalCount\\": 30,\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', ], - 'ModifyNodePoolAttribute' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListImage' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '213313', + 'abilityTreeNodes' => ['FEATUREappstreamingSH8DGI', 'FEATUREappstreamingDG81PX'], ], 'parameters' => [ [ - 'name' => 'ProductType', + 'name' => 'ImageId', 'in' => 'formData', - 'schema' => [ - 'title' => '产品类型', - 'description' => '产品类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], - 'example' => 'CloudApp', - ], + 'schema' => ['title' => '镜像id', 'description' => '镜像ID。', 'type' => 'string', 'required' => false, 'example' => 'img-bp13mu****'], ], [ - 'name' => 'PoolId', + 'name' => 'ImageName', + 'in' => 'formData', + 'schema' => ['title' => '镜像名称', 'description' => '镜像名称,支持模糊搜索。', 'type' => 'string', 'required' => false, 'example' => 'DemoImage'], + ], + [ + 'name' => 'Status', 'in' => 'formData', 'schema' => [ - 'title' => '资源组id', - 'description' => '资源组ID。', + 'title' => '镜像状态:INIT/CREATING/AVAILABLE/CREATE_FAILED', + 'description' => '镜像状态,用户查询对应状态的镜像,默认是查询所有未删除状态的镜像。', 'type' => 'string', 'required' => false, - 'example' => 'rg-ew7va2g1wl3vm****', + 'enumValueTitles' => ['AVAILABLE' => '可用', 'INIT' => '初始化中', 'CREATE_FAILED' => '创建失败', 'CREATING' => '创建中'], + 'example' => 'INIT', ], ], [ - 'name' => 'NodeCapacity', + 'name' => 'ImageType', 'in' => 'formData', 'schema' => [ - 'title' => '按资源售卖的,单个节点允许运行的应用实例数', - 'description' => '并发会话数,即单个资源可同时连接的会话数。如果同时连接的会话数过多,可能导致应用的使用体验下降。取值范围因资源规格不同而不同。各资源规格对应的取值范围分别是:'."\n" - ."\n" - .'- appstreaming.general.4c8g:1\\~2;'."\n" - .'- appstreaming.general.8c16g:1\\~4;'."\n" - .'- appstreaming.vgpu.8c16g.4g:1\\~4;'."\n" - .'- appstreaming.vgpu.8c31g.16g:1\\~4;'."\n" - .'- appstreaming.vgpu.14c93g.12g:1\\~6;', - 'type' => 'integer', - 'format' => 'int32', + 'title' => '镜像类型', + 'description' => '镜像类型。', + 'type' => 'string', 'required' => false, - 'example' => '2', + 'enumValueTitles' => ['User' => '自定义镜像', 'Shared' => '共享镜像', 'System' => '系统镜像', 'Community' => '社区镜像'], + 'example' => 'User', ], ], [ - 'name' => 'NodePoolStrategy', + 'name' => 'PackageType', 'in' => 'formData', - 'style' => 'json', 'schema' => [ - 'title' => '节点池策略', - 'description' => '交付组的自动扩缩容策略。', - 'type' => 'object', - 'properties' => [ - 'StrategyType' => [ - 'title' => '策略类型,默认为NODE_FIXED', - 'description' => '弹性模式。'."\n" - ."\n" - .'> '."\n" - .'- `NODE_FIXED`(固定数量):适用于包年包月资源和按量付费资源。'."\n" - .'- `NODE_SCALING_BY_USAGE`(自动扩缩容):适用于包年包月资源和按量付费资源。'."\n" - .'- `NODE_SCALING_BY_SCHEDULE`(定时扩缩容):仅适用于按量付费资源。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'NODE_FIXED' => '固定数量(不使用弹性扩缩容)', - 'NODE_SCALING_BY_SCHEDULE' => '定时扩缩容', - 'NODE_SCALING_BY_USAGE' => '自动扩缩容', - ], - 'example' => 'NODE_FIXED', - ], - 'NodeAmount' => [ - 'description' => '购买资源的数量。取值范围:1~100。'."\n" - ."\n" - .'> '."\n" - .'- 若为包年包月资源,则该参数不可修改。'."\n" - .'- 若为按量付费资源,则当弹性模式(`StrategyType`)为固定数量(`NODE_FIXED`)或自动扩缩容(`NODE_SCALING_BY_USAGE`)时该参数可修改。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - 'MaxScalingAmount' => [ - 'title' => '最大弹性数量', - 'description' => '扩容时最多创建资源的数量。`StrategyType`设为`NODE_SCALING_BY_USAGE`时,该字段必填。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - 'MaxIdleAppInstanceAmount' => [ - 'description' => '空闲会话数上限。指定该值时,当会话使用率超过`ScalingUsageThreshold`且当前交付组空闲会话数小于`MaxIdleAppInstanceAmount`时,才会触发自动扩容,否则认为交付组空闲会话已足够使用,不自动扩容。该参数可用于灵活控制弹性扩容行为和降低使用成本。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - ], - 'ScalingStep' => [ - 'title' => '弹性扩容步长', - 'description' => '扩容时每次创建资源的数量。取值范围:1~10。`StrategyType`设为`NODE_SCALING_BY_USAGE`时,该字段必填。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], - 'ScalingUsageThreshold' => [ - 'title' => '触发弹性扩容的会话百分比', - 'description' => '会话使用率上限阈值(%)。当会话使用率超过该阈值时,将触发自动扩容。会话使用率的计算公式为`会话使用率=当前会话数÷(资源总数×资源并发会话数)×100%`。`StrategyType`设为`NODE_SCALING_BY_USAGE`时,该字段必填。取值范围:0\\~100。默认值:85。', - 'type' => 'string', - 'required' => false, - 'example' => '85', - ], - 'ScalingDownAfterIdleMinutes' => [ - 'title' => '资源回收时间', - 'description' => '无会话连接的资源最多保留的时长(分钟)。当资源内无会话连接时,将按照此处设置的时长开始倒计时,倒计时结束时将完成缩容。取值范围:5~120。默认值:5。但有以下例外情况:'."\n" - ."\n" - .'- 若缩容后将导致重新触发自动扩容,则不会执行缩容,以免导致反复产生缩容、扩容。'."\n" - .'- 若此时间段内,因会话数增加而触发自动扩容,则该资源不会按原计划缩容,倒计时也将重新开始。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '5', - ], - 'StrategyEnableDate' => [ - 'description' => '策略生效日期。格式为:yyyy-MM-dd。该日期必须大于或等于当前日期。`StrategyType`(弹性模式)设为`NODE_SCALING_BY_SCHEDULE`(定时扩缩容)时,该字段必填。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-01-05', - ], - 'StrategyDisableDate' => [ - 'description' => '策略失效日期。格式为:yyyy-MM-dd。失效日期与生效日期的间隔必须介于7天到1年之间(含7天和1年)。`StrategyType`(弹性模式)设为`NODE_SCALING_BY_SCHEDULE`(定时扩缩容)时,该字段必填。', - 'type' => 'string', - 'required' => false, - 'example' => '2023-01-19', - ], - 'WarmUp' => [ - 'description' => '是否开启资源预热策略。`StrategyType`(弹性模式)设为`NODE_SCALING_BY_SCHEDULE`(定时扩缩容)时,该字段必填。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], - 'RecurrenceSchedules' => [ - 'description' => '策略执行周期列表。`StrategyType`(弹性模式)设为`NODE_SCALING_BY_SCHEDULE`(定时扩缩容)时,该字段必填。', - 'type' => 'array', - 'items' => [ - 'description' => '策略执行周期。', - 'type' => 'object', - 'properties' => [ - 'RecurrenceType' => [ - 'description' => '策略执行周期的类型。必须同时指定`RecurrenceType`和`RecurrenceValues`。 ', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'weekly' => '周(每周指定几天重复执行一次定时任务)', - ], - 'example' => 'weekly', - ], - 'RecurrenceValues' => [ - 'description' => '策略执行周期的数值列表。', - 'type' => 'array', - 'items' => [ - 'description' => '策略执行周期的数值。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'enumValueTitles' => [ - 1 => '周一', - '周二', - '周三', - '周四', - '周五', - '周六', - '周日', - ], - 'example' => '1', - ], - 'required' => false, - 'maxItems' => 7, - ], - 'TimerPeriods' => [ - 'description' => '策略执行周期的时间段列表。时间段设置要求:'."\n" - ."\n" - .'- 最多可添加3个时间段。'."\n" - .'- 时间段之间不重叠。'."\n" - .'- 时间段之间的间隔大于或等于5分钟。'."\n" - .'- 单个时间段的时长大于或等于15分钟。'."\n" - .'- 所有时间段累计不跨天。', - 'type' => 'array', - 'items' => [ - 'description' => '策略执行周期的时间段。', - 'type' => 'object', - 'properties' => [ - 'StartTime' => [ - 'description' => '开始时间。格式为HH:mm。', - 'type' => 'string', - 'required' => false, - 'example' => '12:00', - ], - 'EndTime' => [ - 'description' => '结束时间。格式为HH:mm。', - 'type' => 'string', - 'required' => false, - 'example' => '15:00', - ], - 'Amount' => [ - 'description' => '资源数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 5, - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 7, - ], - ], + 'title' => '镜像封装类型', + 'description' => '镜像封装类型。', + 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['Ecs_Container' => 'ECS+Docker镜像', 'Ecs' => 'Ecs镜像'], + 'example' => 'Ecs', ], ], [ - 'name' => 'BizRegionId', + 'name' => 'OsType', 'in' => 'formData', 'schema' => [ - 'description' => '交付组所属的地域ID。关于支持的地域详情,请参见[使用限制](~~426036~~)。', + 'title' => '镜像操作系统类型', + 'description' => '镜像操作系统类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'cn-shanghai' => '华东2(上海)', - 'cn-hangzhou' => '华东1(杭州)', - ], - 'example' => 'cn-hangzhou', + 'enumValueTitles' => ['Linux' => 'Linux', 'Unknown' => '未知', 'Windows' => 'Windows', 'Android' => 'Android'], + 'example' => 'Windows', ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'BizType', + 'in' => 'formData', 'schema' => [ - 'title' => 'BaseResult', - 'description' => '返回信息集合。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'Code' => [ - 'description' => '出错时的错误码。', - 'type' => 'string', - 'example' => 'InvalidParameter.PoolId', - ], - 'Message' => [ - 'description' => '出错时的错误消息。', - 'type' => 'string', - 'example' => 'The parameter PoolId is invalid.', - ], - ], + 'title' => '业务类型', + 'description' => '业务类型。暂不对外透出使用。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'enumValueTitles' => [1 => '[默认值]'], + 'example' => '1', ], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Code\\": \\"InvalidParameter.PoolId\\",\\n \\"Message\\": \\"The parameter PoolId is invalid.\\"\\n}","type":"json"}]', - 'title' => '修改交付组弹性模式', - 'summary' => '修改交付组的弹性模式,包括固定数量(不使用弹性扩缩容)、定时扩缩容和自动扩缩容。', - 'description' => '您可以设置无影云应用资源的弹性模式:'."\n" - ."\n" - .'- 固定数量:不使用弹性扩缩容。'."\n" - .'- 自动扩缩容:根据连接会话的数量和无会话连接时长实现资源的自动扩缩容。'."\n" - .'- 定时扩缩容:在指定日期的指定时间段执行资源的定时扩缩容。'."\n" - ."\n" - .'请确保在使用该接口前,已充分了解无影云应用的[计费方式和价格](~~426039~~)。', - ], - 'AuthorizeInstanceGroup' => [ - 'summary' => '为交付组添加或移除分配用户。只有添加到分配用户的用户可访问云应用。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '83450', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingBC1NTD', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'AppInstanceGroupId', + 'name' => 'ProductType', 'in' => 'formData', 'schema' => [ - 'description' => '交付组ID。可调用[ListAppInstanceGroup](~~428506~~)接口获取。', + 'title' => '产品类型', + 'description' => '产品类型。', 'type' => 'string', - 'required' => true, - 'example' => 'aig-9ciijz60n4xsv****', - 'maxItems' => 100, + 'required' => false, + 'enumValueTitles' => ['CloudDesktop' => '无影云电脑', 'CloudApp' => '无影云应用', 'WuyingServer' => '无影工作站'], + 'example' => 'CloudApp', ], ], [ - 'name' => 'ProductType', + 'name' => 'ProtocolType', 'in' => 'formData', 'schema' => [ - 'description' => '产品类型。'."\n", + 'title' => '镜像协议类型', + 'description' => '镜像协议类型。', 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], - 'example' => 'CloudApp', + 'required' => false, + 'enumValueTitles' => ['HDX' => 'HDX协议', 'ASP' => '阿里云自研ASP协议'], + 'example' => 'ASP', ], ], [ - 'name' => 'AuthorizeUserIds', + 'name' => 'PageSize', 'in' => 'formData', - 'style' => 'flat', + 'schema' => ['description' => '分页查询时每页的行数。最大值:100。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'ProductTypeList', + 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => '要添加交付组授权的用户名列表。可设置1\\~100个。', + 'description' => '当镜像支持多个产品时可以支持的产品列表。', 'type' => 'array', 'items' => [ - 'description' => '要添加交付组授权的用户名。可调用[DescribeUsers](~~436936~~)接口获取。', + 'description' => '产品类型。', 'type' => 'string', 'required' => false, - 'example' => 'alice', + 'enumValueTitles' => ['CloudDesktop' => '无影云电脑', 'CloudApp' => '无影云应用', 'WuyingServer' => '无影工作站'], + 'example' => 'CloudApp', ], 'required' => false, - 'maxItems' => 200, + 'maxItems' => 100, ], ], [ - 'name' => 'UnAuthorizeUserIds', + 'name' => 'BizTypeList', 'in' => 'formData', - 'style' => 'flat', + 'style' => 'repeatList', 'schema' => [ - 'description' => '要移除交付组授权的用户名列表。可设置1\\~100个。', + 'description' => '所有业务类型列表,暂不对外透出使用。', 'type' => 'array', 'items' => [ - 'description' => '要移除交付组授权的用户名。可调用[DescribeUsers](~~436936~~)接口获取。', - 'type' => 'string', + 'description' => '业务类型。根据您使用的业务填写使用。', + 'type' => 'integer', + 'format' => 'int32', 'required' => false, - 'example' => 'tom', + 'enumValueTitles' => [1 => '[默认值]'], + 'example' => '1', ], 'required' => false, - 'maxItems' => 200, + 'maxItems' => 100, ], ], [ - 'name' => 'UserMeta', + 'name' => 'FeatureList', 'in' => 'formData', - 'style' => 'json', + 'style' => 'repeatList', 'schema' => [ - 'description' => '用户信息。', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '用户类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'ad' => 'AD账号', - 'simple' => '无影便捷账号', - ], - 'example' => 'simple', - ], - 'AdDomain' => [ - 'description' => 'AD域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'description' => '镜像支持的特征列表。', + 'type' => 'array', + 'items' => [ + 'description' => '镜像支持的特征。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['FotaChannel' => '支持的fota渠道', 'Builder' => '支持镜像Builder', 'MultiSession' => '支持多Session', 'GPU' => '支持GPU'], + 'example' => 'GPU', ], 'required' => false, + 'maxItems' => 100, ], ], [ - 'name' => 'AppInstancePersistentId', + 'name' => 'LanguageType', 'in' => 'formData', 'schema' => [ - 'title' => '持久会话ID。', - 'description' => '持久会话ID。', + 'title' => 'zh-CN,zh-HK,en-US,ja-JP,CN,EN,JP,CN-HK', + 'description' => '语言。', 'type' => 'string', 'required' => false, - 'example' => 'p-0cc7s3mw2fg4j****', + 'enumValueTitles' => ['en-US' => '英语', 'zh-HK' => '繁体中文(香港)', 'zh-CN' => '简体中文', 'ja-JP' => '日语'], + 'example' => 'zh-CN', ], ], [ - 'name' => 'AvatarId', + 'name' => 'ResourceInstanceType', + 'in' => 'formData', + 'schema' => ['description' => '查找某些固定规格的镜像。', 'type' => 'string', 'required' => false, 'example' => 'eds.enterprise_office.2c4g'], + ], + [ + 'name' => 'FotaVersion', + 'in' => 'formData', + 'schema' => ['description' => '镜像版本信息。', 'type' => 'string', 'required' => false, 'example' => '2.0.3-xxxx'], + ], + [ + 'name' => 'PlatformName', 'in' => 'formData', 'schema' => [ - 'title' => '用户分身ID。', - 'description' => '用户分身ID。'."\n" - ."\n" - .'> 此参数不开放使用。', + 'description' => '操作系统平台名称。', 'type' => 'string', 'required' => false, - 'example' => 'default', - 'default' => 'default', + 'enumValueTitles' => ['Ubuntu' => 'Ubuntu操作系统', 'Debian' => 'Debian操作系统', 'Windows Server 2022' => 'Windows Server 2022操作系统', 'Windows Server 2019' => 'Windows Server 2019操作系统', 'Windows Server 2016' => 'Windows Server 2016操作系统', 'Windows 11' => 'Windows 11操作系统', 'Windows 10' => 'Windows 10操作系统'], + 'example' => 'Windows Server 2019', ], ], [ - 'name' => 'AuthorizeUserGroupIds', + 'name' => 'BizRegionIdList', 'in' => 'formData', - 'style' => 'flat', + 'style' => 'repeatList', 'schema' => [ - 'title' => '授权用户组ID列表。', - 'description' => '授权用户组ID列表。', + 'description' => '支持地域列表。'."\n" + .'无影镜像是中心化的,通过这个查询该镜像部署的地域。', + 'type' => 'array', + 'items' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'TagList', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '标签查询。', 'type' => 'array', 'items' => [ - 'title' => '授权用户组ID。', - 'description' => '授权用户组ID。', - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '用户自定义的标签Key。', 'type' => 'string', 'required' => false, 'example' => 'env'], + 'Value' => ['description' => '用户自定义的标签Value。', 'type' => 'string', 'required' => false, 'example' => 'test'], + ], 'required' => false, - 'example' => 'ug-00001', + 'description' => '', ], 'required' => false, - 'maxItems' => 20, + 'maxItems' => 100, ], ], [ - 'name' => 'UnAuthorizeUserGroupIds', + 'name' => 'PlatformNameList', 'in' => 'formData', - 'style' => 'flat', + 'style' => 'repeatList', 'schema' => [ - 'title' => '取消授权用户组ID列表。', - 'description' => '取消授权用户组ID列表。', + 'description' => '支持的平台类型列表,枚举值参考上面的PlatformName。', 'type' => 'array', - 'items' => [ - 'title' => '取消授权用户组ID列表。', - 'description' => '取消授权用户组ID列表。', - 'type' => 'string', - 'required' => false, - 'example' => 'ug-00002', - ], + 'items' => ['description' => '镜像平台名称。', 'type' => 'string', 'required' => false, 'example' => 'Windows 11'], 'required' => false, - 'maxItems' => 20, + 'maxItems' => 100, ], ], + [ + 'name' => 'Distro', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => 'ImageBaseInfoModel', + 'description' => '镜像信息结构体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + 'PageSize' => ['description' => '每页展示数据条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '返回数据的页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Data' => [ + 'description' => '返回数据对象。', + 'type' => 'array', + 'items' => [ + 'description' => '返回对象。', + 'type' => 'object', + 'properties' => [ + 'GmtCreate' => ['title' => '创建时间', 'description' => '创建时间。', 'type' => 'string', 'example' => '2025-04-25 15:13:57'], + 'GmtModified' => ['title' => '更新时间', 'description' => '更新时间。', 'type' => 'string', 'example' => '2025-04-25 15:13:57'], + 'AliUid' => ['title' => '租户ID,0=系统镜像', 'description' => '租户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '123456789'], + 'ImageId' => ['title' => '系统镜像id有含义,自定义镜像自动生成', 'description' => '系统镜像ID有含义,自定义镜像自动生成。', 'type' => 'string', 'example' => 'imgc-xxxx'], + 'ImageName' => ['title' => '镜像名称', 'description' => '镜像名称。', 'type' => 'string', 'example' => 'DemoImage'], + 'ImageType' => ['title' => '镜像类型', 'description' => '镜像类型。', 'type' => 'string', 'example' => 'User'], + 'PackageType' => ['title' => '镜像封装类型 ECS/VHD/Container/ECS_APP', 'description' => '镜像封装类型。', 'type' => 'string', 'example' => 'ECS'], + 'Description' => ['title' => '镜像描述', 'description' => '镜像描述。', 'type' => 'string', 'example' => '描述'], + 'OsType' => ['title' => '镜像类型', 'description' => '镜像类型。', 'type' => 'string', 'example' => 'Windows'], + 'ProtocolType' => ['title' => '协议类型 ASP/HDX/ALL', 'description' => '协议类型。', 'type' => 'string', 'example' => 'ASP'], + 'BizType' => ['title' => '业务线', 'description' => '业务类型。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ProductType' => ['title' => '产品线', 'description' => '产品类型。', 'type' => 'string', 'example' => 'CloudApp'], + 'VersionId' => ['title' => '镜像版本', 'description' => '镜像版本。', 'type' => 'string', 'example' => 'iv-xxx'], + 'OnlineVersionId' => ['title' => '当前镜像最新版本', 'description' => '当前镜像标记从该子版本读取主镜像信息。(一个镜像是由多个子版本组成)', 'type' => 'string', 'example' => 'iv-xxxx'], + 'LatestVersionId' => ['title' => '该镜像的最新版本', 'description' => '该镜像的最新子版本。(一个镜像是由多个子版本组成)', 'type' => 'string', 'example' => 'iv-xxx'], + 'Status' => ['title' => '状态 ImageStatusEnum', 'description' => '镜像状态。', 'type' => 'string', 'example' => 'INIT'], + 'ParentImageId' => ['title' => '父镜像ID,只表示继承关系,系统镜像无父镜像', 'description' => '父镜像ID,只表示继承关系,系统镜像无父镜像。', 'type' => 'string', 'example' => 'imgc-xxx'], + 'ParentImageVersion' => ['title' => '父镜像版本', 'description' => '父镜像版本。', 'type' => 'string', 'example' => 'iv-xxx'], + 'BaseImageId' => ['title' => '基础镜像ID', 'description' => '基础镜像ID。', 'type' => 'string', 'example' => 'imgc-xxx'], + 'BaseImageVersion' => ['title' => '基础镜像版本', 'description' => '基础镜像版本。', 'type' => 'string', 'example' => 'iv-xxx'], + 'FotaVersion' => ['title' => 'fota版本', 'description' => 'FOTA版本。', 'type' => 'string', 'example' => '2.3.0-xxx'], + 'Language' => ['title' => '镜像语言 如果封装类型为VHD/Container时, 继承于该镜像组合的封装类型为ECS的镜像属性', 'description' => '镜像语言。如果封装类型为VHD/Container时,继承于该镜像组合的封装类型为ECS的镜像属性。', 'type' => 'string', 'example' => 'zh-CN'], + 'Platform' => ['title' => '镜像操作系统平台 如果封装类型为VHD/Container时, 继承于该镜像组合的封装类型为ECS的镜像属性', 'description' => '镜像操作系统平台。'."\n" + ."\n" + .'> 如果封装类型为VHD/Container,继承于该镜像组合的封装类型为ECS的镜像属性。', 'type' => 'integer', 'format' => 'int32', 'example' => 'Windows'], + 'OnlineVersion' => ['title' => '当前版本是否是生效版本', 'description' => '当前版本是否是生效版本。', 'type' => 'boolean', 'example' => 'true'], + 'SystemDiskSize' => ['description' => '系统盘大小。单位:GiB。'."\n" + ."\n" + .'> 系统盘大小不能小于镜像文件。', 'type' => 'integer', 'format' => 'int32', 'example' => '40'], + 'DataDiskSize' => ['description' => '数据盘大小。单位:GiB。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'AppList' => [ + 'description' => '应用配置。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AppId' => ['description' => '应用ID。', 'type' => 'string', 'example' => 'ca-xxx'], + 'AppName' => ['description' => '应用名称。', 'type' => 'string', 'example' => '应用名称'], + ], + 'description' => '', + ], + ], + 'FeatureList' => [ + 'description' => '镜像特征标记列表。', + 'type' => 'array', + 'items' => ['description' => '镜像特征标记。', 'type' => 'string', 'example' => 'Builder'], + ], + 'ImageCreateMode' => [ + 'description' => '镜像创建类型', + 'type' => 'string', + 'enumValueTitles' => ['BY_SNAPSHOT_ID' => '从快照创建或者只包含系统盘时', 'BUILDER_MANUAL' => '手动生成镜像', 'INSTANCE_AUTO' => '基于实例自动化生成镜像', 'BY_INSTANCE_ID' => '从实例创建或者包含系统盘和数据盘时'], + 'example' => 'BUILDER_MANUAL', + ], + 'ImageRegionList' => [ + 'description' => '地域。', + 'type' => 'array', + 'items' => ['description' => '地域对象。', 'type' => 'string', 'example' => '地域对象。'], + ], + 'Distro' => ['description' => '发行版名字。', 'type' => 'string', 'example' => 'Ubuntu 22.04 64位'], + 'VersionName' => ['description' => '版本名称。', 'type' => 'string', 'example' => 'v0.1.0'], + 'ResourceInstanceCategory' => ['description' => '镜像支持资源类型。', 'type' => 'string', 'example' => '["eds.cpu.category"]'], + 'PlatformName' => ['description' => '系统平台名称。', 'type' => 'string', 'example' => 'Windows Server 2022'], + 'SupportedLanguageList' => [ + 'description' => '支持语言列表。', + 'type' => 'array', + 'items' => ['description' => '支持语言。', 'type' => 'string', 'example' => 'zh-CN'], + ], + 'VolumeEncryptionEnabled' => ['description' => '是否开启磁盘加密。', 'type' => 'boolean', 'example' => 'true'], + 'VolumeEncryptionKey' => ['description' => '开启磁盘加密的情况下使用的KMS的密钥ID。', 'type' => 'string', 'example' => 'a7b3c0c8-xxxx'], + 'SessionType' => [ + 'description' => '会话类型。', + 'type' => 'string', + 'enumValueTitles' => ['SINGLE_SESSION' => '单会话', 'MULTIPLE_SESSION' => '多会话'], + 'example' => 'SINGLE_SESSION', + ], + 'ImageRegionDistributeList' => [ + 'title' => '叠层有效地域信息', + 'description' => '叠层有效地域信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ImageId' => ['title' => '系统镜像id有含义,自定义镜像自动生成', 'description' => '系统镜像ID有含义,自定义镜像自动生成。', 'type' => 'string', 'example' => 'imgc-xxx'], + 'RegionId' => ['title' => '支持地域', 'description' => '支持地域。', 'type' => 'string', 'example' => 'cn-shanghai'], + 'Status' => ['title' => '状态', 'description' => '状态。', 'type' => 'string', 'example' => 'INIT'], + 'VersionId' => ['title' => '镜像版本', 'description' => '镜像版本。', 'type' => 'string', 'example' => 'iv-xxx'], + 'Progress' => ['title' => '进度百分比', 'description' => '进度百分比。', 'type' => 'string', 'example' => '70%'], + ], + 'description' => '', + ], + ], + 'FotaChannel' => ['description' => '> 此参数暂未对外开放使用。', 'type' => 'string', 'example' => '镜像支持的fota渠道,暂未启用'], + 'CompatibleMode' => ['description' => '是否为兼容模式。', 'type' => 'boolean', 'example' => 'true'], + 'DriverList' => [ + 'description' => '驱动信息列表。', + 'type' => 'array', + 'items' => ['description' => '驱动列表。', 'type' => 'string', 'example' => '["00be80de-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]'], + ], + 'Scene' => ['type' => 'string', 'example' => 'AIGC'], + 'Rating' => ['type' => 'integer', 'format' => 'int32', 'example' => '95'], + 'ImageIconUrl' => ['type' => 'string'], + 'EnvironmentId' => ['type' => 'string', 'example' => 'env-164c321f405ca84143e4b730dbe4'], + 'TagList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => ['type' => 'string', 'example' => '1630348213973321'], + 'Value' => ['type' => 'string', 'example' => 'inner'], + ], + ], + ], + 'SnapshotList' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'SnapshotId' => ['type' => 'string'], + 'VersionId' => ['type' => 'string'], + 'DiskType' => ['type' => 'string'], + 'DiskSubType' => ['type' => 'string'], + 'BindType' => ['type' => 'string'], + 'DiskCategory' => ['type' => 'string'], + 'Size' => ['type' => 'integer', 'format' => 'int32'], + ], + ], + ], + ], + ], ], + 'Count' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '22'], + 'Success' => [ + 'description' => '是否调用成功。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '调用成功', 'false' => '调用失败'], + 'example' => 'true', + ], + 'Code' => ['description' => '错误码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '接口请求返回的信息。', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '8737D130-BFD0-5D51-96F6-C08EB1139A25'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'InternalError', 'errorMessage' => 'Internal error.', 'description' => '内部错误'], + ['errorCode' => 'InvalidBizType', 'errorMessage' => 'The bizType parameter is invalid.', 'description' => '业务类型不合法。'], + ], + 403 => [ + ['errorCode' => 'Forbidden.NoPermission', 'errorMessage' => 'You are not authorized to access this page.', 'description' => '您没有权限访问当前页面。'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', - 'title' => '为交付组添加或移除分配用户', - 'description' => '> 变更分配用户后,选中的用户将收到相应的通知邮件。一般需要等待2分钟左右,变更才会在终端生效。'."\n", - ], - 'LogOffAllSessionsInAppInstanceGroup' => [ - 'summary' => '注销已开启定时扩缩容策略的按量付费交付组下所有会话。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询镜像信息', + 'summary' => '查询镜像信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', - 'http', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'appstreaming:ListImage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"Data\\": [\\n {\\n \\"GmtCreate\\": \\"2025-04-25 15:13:57\\",\\n \\"GmtModified\\": \\"2025-04-25 15:13:57\\",\\n \\"AliUid\\": 123456789,\\n \\"ImageId\\": \\"imgc-xxxx\\",\\n \\"ImageName\\": \\"DemoImage\\",\\n \\"ImageType\\": \\"User\\",\\n \\"PackageType\\": \\"ECS\\",\\n \\"Description\\": \\"描述\\",\\n \\"OsType\\": \\"Windows\\",\\n \\"ProtocolType\\": \\"ASP\\",\\n \\"BizType\\": 1,\\n \\"ProductType\\": \\"CloudApp\\",\\n \\"VersionId\\": \\"iv-xxx\\",\\n \\"OnlineVersionId\\": \\"iv-xxxx\\",\\n \\"LatestVersionId\\": \\"iv-xxx\\",\\n \\"Status\\": \\"INIT\\",\\n \\"ParentImageId\\": \\"imgc-xxx\\",\\n \\"ParentImageVersion\\": \\"iv-xxx\\",\\n \\"BaseImageId\\": \\"imgc-xxx\\",\\n \\"BaseImageVersion\\": \\"iv-xxx\\",\\n \\"FotaVersion\\": \\"2.3.0-xxx\\",\\n \\"Language\\": \\"zh-CN\\",\\n \\"Platform\\": 0,\\n \\"OnlineVersion\\": true,\\n \\"SystemDiskSize\\": 40,\\n \\"DataDiskSize\\": 100,\\n \\"AppList\\": [\\n {\\n \\"AppId\\": \\"ca-xxx\\",\\n \\"AppName\\": \\"应用名称\\"\\n }\\n ],\\n \\"FeatureList\\": [\\n \\"Builder\\"\\n ],\\n \\"ImageCreateMode\\": \\"BUILDER_MANUAL\\",\\n \\"ImageRegionList\\": [\\n \\"地域对象。\\"\\n ],\\n \\"Distro\\": \\"Ubuntu 22.04 64位\\",\\n \\"VersionName\\": \\"v0.1.0\\",\\n \\"ResourceInstanceCategory\\": \\"[\\\\\\"eds.cpu.category\\\\\\"]\\",\\n \\"PlatformName\\": \\"Windows Server 2022\\",\\n \\"SupportedLanguageList\\": [\\n \\"zh-CN\\"\\n ],\\n \\"VolumeEncryptionEnabled\\": true,\\n \\"VolumeEncryptionKey\\": \\"a7b3c0c8-xxxx\\",\\n \\"SessionType\\": \\"SINGLE_SESSION\\",\\n \\"ImageRegionDistributeList\\": [\\n {\\n \\"ImageId\\": \\"imgc-xxx\\",\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"Status\\": \\"INIT\\",\\n \\"VersionId\\": \\"iv-xxx\\",\\n \\"Progress\\": \\"70%\\"\\n }\\n ],\\n \\"FotaChannel\\": \\"镜像支持的fota渠道,暂未启用\\",\\n \\"CompatibleMode\\": true,\\n \\"DriverList\\": [\\n \\"[\\\\\\"00be80de-xxxx-xxxx-xxxx-xxxxxxxxxxxx\\\\\\"]\\"\\n ],\\n \\"Scene\\": \\"AIGC\\",\\n \\"Rating\\": 95,\\n \\"ImageIconUrl\\": \\"\\",\\n \\"EnvironmentId\\": \\"env-164c321f405ca84143e4b730dbe4\\",\\n \\"TagList\\": [\\n {\\n \\"Key\\": \\"1630348213973321\\",\\n \\"Value\\": \\"inner\\"\\n }\\n ],\\n \\"SnapshotList\\": [\\n {\\n \\"SnapshotId\\": \\"\\",\\n \\"VersionId\\": \\"\\",\\n \\"DiskType\\": \\"\\",\\n \\"DiskSubType\\": \\"\\",\\n \\"BindType\\": \\"\\",\\n \\"DiskCategory\\": \\"\\",\\n \\"Size\\": 0\\n }\\n ]\\n }\\n ],\\n \\"Count\\": 22,\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"8737D130-BFD0-5D51-96F6-C08EB1139A25\\"\\n}","type":"json"}]', + ], + 'ListLlmTemplates' => [ + 'summary' => '查询LLM模板列表', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], ], 'parameters' => [ [ - 'name' => 'ProductType', - 'in' => 'formData', - 'schema' => [ - 'title' => '产品类型', - 'description' => '产品类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], - 'example' => 'CloudApp', - ], + 'name' => 'ModelTemplateId', + 'in' => 'query', + 'schema' => ['title' => '所属模型模板 ID', 'description' => '关联的模型分组ID。', 'type' => 'string', 'required' => false, 'example' => 'mt-xxxx'], ], [ - 'name' => 'AppInstanceGroupId', - 'in' => 'formData', + 'name' => 'ProviderTemplateId', + 'in' => 'query', + 'schema' => ['title' => '所属提供商模板 ID', 'description' => '所属模型服务商模板 ID。', 'type' => 'string', 'required' => false, 'example' => 'mpt-xxxx'], + ], + [ + 'name' => 'LlmTemplateIds', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => '实例组id', - 'description' => '交付组ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-9ciijz60n4xsv****', + 'title' => '筛选 LLM 模板 ID 列表', + 'description' => '模型模板 ID 筛选。', + 'type' => 'array', + 'items' => ['description' => '模型模板 ID。', 'type' => 'string', 'required' => false, 'example' => 'llmt-xxxx'], + 'required' => false, ], ], + [ + 'name' => 'LlmCode', + 'in' => 'query', + 'schema' => ['title' => 'LLM 代号筛选(模糊查询)', 'description' => '模型编码筛选,支持模糊查询。', 'type' => 'string', 'required' => false, 'example' => 'qwen3.6-plus'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['title' => '每页大小', 'description' => '每页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['title' => '页码,从1开始,0和1返回相同结果', 'description' => '页码,从1开始,0和1返回相同结果。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'title' => 'BaseResult', - 'description' => '返回信息集合。', + 'title' => 'PageListResult<LlmTemplateModel>', + 'description' => '请求结果。', 'type' => 'object', 'properties' => [ - 'Code' => [ - 'description' => '出错时的错误码。', - 'type' => 'string', - 'example' => 'InvalidParameter.ProductType', - ], - 'Message' => [ - 'description' => '出错时的错误消息。', - 'type' => 'string', - 'example' => 'The parameter ProductType is invalid.', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'TotalCount' => ['description' => '查询结果的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'PageNumber' => ['description' => '当前展示的查询结果页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页的查询结果数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'Data' => [ + 'description' => '返回数据对象列表。', + 'type' => 'array', + 'items' => [ + 'description' => '返回数据对象。', + 'type' => 'object', + 'properties' => [ + 'LlmTemplateId' => ['title' => 'LLM 模板 ID', 'description' => '模型模板 ID。', 'type' => 'string', 'example' => 'llmt-xxxx'], + 'ProviderTemplateId' => ['title' => '所属提供商模板 ID', 'description' => '所属模型服务商模板 ID。', 'type' => 'string', 'example' => 'mpt-xxxx'], + 'LlmCode' => ['title' => 'LLM 代号', 'description' => '模型编码。', 'type' => 'string', 'example' => 'qwen3.6-plus'], + 'Name' => ['title' => '模板名称', 'description' => '模板名称。', 'type' => 'string', 'example' => 'Qwen3.6-Plus'], + 'Description' => ['title' => '模板描述', 'description' => '模板描述。', 'type' => 'string', 'example' => '千问Plus系列模型'], + 'Config' => ['title' => 'LLM 配置 JSON', 'description' => '模型配置 JSON 对象。', 'type' => 'string', 'example' => '{'."\n" + .' "id": "qwen3.6-plus",'."\n" + .' "cost": {'."\n" + .' "input": 0,'."\n" + .' "output": 0,'."\n" + .' "cacheRead": 0,'."\n" + .' "cacheWrite": 0'."\n" + .' },'."\n" + .' "name": "Qwen3.6-Plus",'."\n" + .' "input": ["image", "text"],'."\n" + .' "compat": {'."\n" + .' "supportsUsageInStreaming": true'."\n" + .' },'."\n" + .' "maxTokens": 65536,'."\n" + .' "reasoning": false,'."\n" + .' "contextWindow": 1000000'."\n" + .'}'], + 'IsDefaultModel' => [ + 'title' => '是否为默认模型', + 'description' => '是否为关联模型分组下的默认模型。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', + ], + ], + ], ], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"InvalidParameter.ProductType\\",\\n \\"Message\\": \\"The parameter ProductType is invalid.\\",\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', - 'title' => '注销交付组下所有会话', - 'description' => '> 本接口仅适用于已启用定时扩缩容策略的按量付费资源交付组,且仅可在定时扩缩容策略中设置的扩缩容时间段以外的时间调用成功。', - ], - 'DeleteAppInstanceGroup' => [ - 'summary' => '删除"资源型-按量付费"形式的交付组。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询模型模板列表', + 'description' => '您可以分页查询无影 Agent 管理中心中模型服务商模板下的模型模板列表,支持按模型分组 ID、模型服务商模板 ID、模型模板 ID 及模型编码等条件筛选。通过模型分组维度查询时,默认模型将自动置顶。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TotalCount\\": 20,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"Data\\": [\\n {\\n \\"LlmTemplateId\\": \\"llmt-xxxx\\",\\n \\"ProviderTemplateId\\": \\"mpt-xxxx\\",\\n \\"LlmCode\\": \\"qwen3.6-plus\\",\\n \\"Name\\": \\"Qwen3.6-Plus\\",\\n \\"Description\\": \\"千问Plus系列模型\\",\\n \\"Config\\": \\"{\\\\n\\\\t\\\\\\"id\\\\\\": \\\\\\"qwen3.6-plus\\\\\\",\\\\n\\\\t\\\\\\"cost\\\\\\": {\\\\n\\\\t\\\\t\\\\\\"input\\\\\\": 0,\\\\n\\\\t\\\\t\\\\\\"output\\\\\\": 0,\\\\n\\\\t\\\\t\\\\\\"cacheRead\\\\\\": 0,\\\\n\\\\t\\\\t\\\\\\"cacheWrite\\\\\\": 0\\\\n\\\\t},\\\\n\\\\t\\\\\\"name\\\\\\": \\\\\\"Qwen3.6-Plus\\\\\\",\\\\n\\\\t\\\\\\"input\\\\\\": [\\\\\\"image\\\\\\", \\\\\\"text\\\\\\"],\\\\n\\\\t\\\\\\"compat\\\\\\": {\\\\n\\\\t\\\\t\\\\\\"supportsUsageInStreaming\\\\\\": true\\\\n\\\\t},\\\\n\\\\t\\\\\\"maxTokens\\\\\\": 65536,\\\\n\\\\t\\\\\\"reasoning\\\\\\": false,\\\\n\\\\t\\\\\\"contextWindow\\\\\\": 1000000\\\\n}\\",\\n \\"IsDefaultModel\\": true\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListModelProviderEndpoints' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], ], 'parameters' => [ [ - 'name' => 'AppInstanceGroupId', - 'in' => 'formData', - 'schema' => [ - 'description' => '交付组ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-9ciijz60n4xsv****', - 'maxItems' => 100, - ], + 'name' => 'ProviderName', + 'in' => 'query', + 'schema' => ['title' => '模型提供商名称(如 bailian、moonshot、siliconflow)。不传则返回所有纳管提供商的 endpoint 配置', 'type' => 'string', 'description' => ''], ], [ - 'name' => 'ProductType', - 'in' => 'formData', - 'schema' => [ - 'description' => '产品类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], - 'example' => 'CloudApp', - ], + 'name' => 'BizType', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32'], + ], + [ + 'name' => 'AgentPlatform', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'AgentProvider', + 'in' => 'query', + 'schema' => ['type' => 'string'], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => 'PlainResult<List<ModelProviderEndpointConfig>>', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + 'Data' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ProviderName' => ['title' => '提供商名称,如 bailian、moonshot', 'type' => 'string', 'description' => ''], + 'Description' => ['title' => '提供商描述,如 阿里云百炼', 'type' => 'string', 'description' => ''], + 'ProviderUrl' => ['type' => 'string'], + 'Endpoints' => [ + 'title' => '该提供商下的所有 endpoint 列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => 'endpoint 标识名称,如 coding-openai、cn-beijing', 'type' => 'string', 'description' => ''], + 'Description' => ['title' => 'endpoint 描述,如 Coding Plan - OpenAI 兼容协议', 'type' => 'string', 'description' => ''], + 'BaseUrl' => ['title' => 'API 基础地址,如 https://coding.dashscope.aliyuncs.com/v1', 'type' => 'string', 'description' => ''], + 'ProviderUrl' => ['type' => 'string'], + 'ApiType' => ['title' => 'API 兼容性类型,如 openai-compatible、anthropic-compatible', 'type' => 'string', 'description' => ''], + 'Tags' => [ + 'title' => '标签列表,用于分类筛选,如 coding-plan、on-demand、cn-beijing', + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => ''], + 'description' => '', + ], + ], + 'description' => '', + ], + 'description' => '', + ], + ], + 'description' => '', + ], + 'description' => '', ], + 'RequestId' => ['type' => 'string', 'example' => 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', 'description' => ''], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvalidAppInstanceGroupSpecItem.NotFound', - 'errorMessage' => 'The app instance group spec item is not found.', - ], - [ - 'errorCode' => 'InvalidBrowserInstanceGroup.NotFound', - 'errorMessage' => 'The browser instance group is not found.', - ], - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'summary' => '查询模型提供商 Endpoint 列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', - 'title' => '删除按量付费交付组', - 'description' => '> 本接口不支持删除使用包年包月资源的交付组。', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"ProviderName\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"ProviderUrl\\": \\"\\",\\n \\"Endpoints\\": [\\n {\\n \\"Name\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"BaseUrl\\": \\"\\",\\n \\"ProviderUrl\\": \\"\\",\\n \\"ApiType\\": \\"\\",\\n \\"Tags\\": [\\n \\"\\"\\n ]\\n }\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\\"\\n}","type":"json"}]', ], - 'ModifyAppPolicy' => [ - 'summary' => '修改交付组显示策略,包括帧率、分辨率、协议类型等设置。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListModelProviderTemplates' => [ + 'summary' => '查询模型提供商模板列表', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], ], 'parameters' => [ [ - 'name' => 'ProductType', + 'name' => 'BizType', 'in' => 'query', 'schema' => [ - 'description' => '产品类型。', - 'type' => 'string', + 'title' => '业务类型', + 'description' => '业务类型。', + 'type' => 'integer', + 'format' => 'int32', 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], - 'example' => 'CloudApp', + 'enumValueTitles' => [1 => '企业版'], + 'example' => '1', ], ], [ - 'name' => 'AppPolicyId', + 'name' => 'AgentPlatform', 'in' => 'query', 'schema' => [ - 'description' => '策略ID。', + 'description' => 'Agent平台。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['ENTERPRISE' => '企业版', 'ENTERPRISE_JVS' => '企业版JVS Computer、企业版Hermes Agent'], + 'example' => 'ENTERPRISE', + ], + ], + [ + 'name' => 'AgentProvider', + 'in' => 'query', + 'schema' => [ + 'title' => 'Agent 提供商筛选', + 'description' => 'Agent 提供商名称。', 'type' => 'string', 'required' => true, - 'example' => 'pg-ee2znjktwgxu2****', + 'enumValueTitles' => ['OpenClaw' => 'OpenClaw'], + 'example' => 'OpenClaw', ], ], [ - 'name' => 'VideoPolicy', + 'name' => 'ProviderName', + 'in' => 'query', + 'schema' => ['title' => '提供商名称筛选', 'description' => '模型服务商名称筛选。', 'type' => 'string', 'required' => false, 'example' => 'bailian'], + ], + [ + 'name' => 'ModelTemplateId', + 'in' => 'query', + 'schema' => ['title' => '筛选模型模板 ID', 'description' => '模型分组 ID 筛选。', 'type' => 'string', 'required' => false, 'example' => 'mt-xxxx'], + ], + [ + 'name' => 'ProviderTemplateIds', 'in' => 'query', 'style' => 'json', 'schema' => [ - 'description' => '显示策略。', - 'type' => 'object', - 'properties' => [ - 'FrameRate' => [ - 'description' => '帧率(FPS)。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'enumValueTitles' => [ - 30 => '30 FPS', - 60 => '60 FPS', - ], - 'example' => '60', - ], - 'TerminalResolutionAdaptive' => [ - 'description' => '是否使用自适应分辨率。'."\n" - ."\n" - .'- `true`:会话分辨率跟随终端显示区域变化。此时`SessionResolutionWidth`和`SessionResolutionHeight`为分辨率变化的最大值。'."\n" - ."\n" - .'- `false`:会话分辨率不跟随终端显示区域变化。此时分辨率固定为`SessionResolutionWidth`和`SessionResolutionHeight`的值。', - 'type' => 'boolean', - 'required' => false, - 'enumValueTitles' => [ - 'true' => 'true', - 'false' => 'false', - ], - 'example' => 'false', - ], - 'SessionResolutionWidth' => [ - 'description' => '分辨率的宽度,单位为像素。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1920', - ], - 'SessionResolutionHeight' => [ - 'description' => '分辨率的高度,单位为像素。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1080', - ], - 'StreamingMode' => [ - 'description' => '流模式。与`Webrtc`参数搭配表示协议类型。'."\n" - ."\n" - .'- `Webrtc`=`true`且`StreamingMode`=`video`,表示WebRTC流。'."\n" - .'- `Webrtc`=`false`且`StreamingMode`=`video`,表示视频流。'."\n" - .'- `Webrtc`=`false`且`StreamingMode`=`mix`,表示混合流。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'video' => '视频流', - 'mix' => '混合流', - ], - 'example' => 'video', - ], - 'Webrtc' => [ - 'description' => '是否开启WebRTC。与`StreamingMode`参数搭配表示协议类型。'."\n" - ."\n" - .'- `Webrtc`=`true`且`StreamingMode`=`video`,表示WebRTC流。'."\n" - .'- `Webrtc`=`false`且`StreamingMode`=`video`,表示视频流。'."\n" - .'- `Webrtc`=`false`且`StreamingMode`=`mix`,表示混合流。', - 'type' => 'boolean', - 'required' => false, - 'enumValueTitles' => [ - 'true' => 'true', - 'false' => 'false', - ], - 'example' => 'true', - ], - 'VisualQualityStrategy' => [ - 'description' => '画质策略。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'adaptive' => '自适应', - 'smooth' => '流畅优先', - 'quality' => '画质优先', - ], - 'example' => 'smooth', - ], - ], + 'title' => '筛选提供商模板 ID 列表', + 'description' => '模型服务商模板 ID 筛选。', + 'type' => 'array', + 'items' => ['description' => '模型服务商模板 ID 。', 'type' => 'string', 'required' => false, 'example' => 'mpt-xxxx'], 'required' => false, ], ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['title' => '每页大小', 'description' => '每页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['title' => '页码,从1开始,0和1返回相同结果', 'description' => '页码,从1开始,0和1返回相同结果。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回信息集合。', + 'title' => 'PageListResult<ModelProviderTemplateModel>', + 'description' => '请求结果。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + 'PageSize' => ['title' => '每页大小', 'description' => '每页的查询结果数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'PageNumber' => ['title' => '页码', 'description' => '当前展示的查询结果页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Data' => [ + 'description' => '返回数据对象列表。', + 'type' => 'array', + 'items' => [ + 'description' => '返回数据对象。', + 'type' => 'object', + 'properties' => [ + 'ProviderTemplateId' => ['title' => '提供商模板 ID', 'description' => '模型服务商模板 ID。', 'type' => 'string', 'example' => 'mpt-xxxx'], + 'ProviderType' => [ + 'description' => '模型服务商类型。', + 'type' => 'string', + 'enumValueTitles' => ['WuyingCredit' => '无影积分包模型,需购买积分包后解锁使用', 'Custom' => '自定义配置接入的服务商', 'Managed' => '第三方纳管,平台统一管理接入的服务商(如:百炼、月之暗面)', 'WuyingPlan' => '无影套餐内模型,随套餐开箱即用,用户无需额外配置'], + 'example' => 'WuyingCredit', + ], + 'ProviderName' => ['title' => '提供商名称', 'description' => '模型服务商名称。', 'type' => 'string', 'example' => 'bailian'], + 'Name' => ['title' => '模板名称', 'description' => '模型服务商模板名称。', 'type' => 'string', 'example' => '阿里云百炼'], + 'Description' => ['title' => '模板描述', 'description' => '模型服务商模板描述。', 'type' => 'string', 'example' => '阿里云百炼服务商'], + 'Config' => ['title' => '模型配置 JSON', 'description' => '模型服务商配置 JSON对象。', 'type' => 'string', 'example' => '{'."\n" + .' "api": "openai-completions",'."\n" + .' "apiKey": "sk-xxxx",'."\n" + .' "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1"'."\n" + .'}'], + 'EnableWuyingProxy' => [ + 'title' => '是否启用无影安全代理', + 'description' => '是否启用无影安全网关代理。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', + ], + ], + ], ], + 'TotalCount' => ['title' => '总数量', 'description' => '查询结果的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', - 'title' => '修改交付组显示策略', - ], - 'ListAuthorizedUserGroups' => [ - 'summary' => '通过交付组查询该交付组授权的用户组列表。', - 'path' => '', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询模型服务商模板列表', + 'description' => '您可以分页查询无影 Agent 管理中心中指定模型分组下的模型服务商模板列表,支持按服务商名称、模型分组 ID 及服务商模板 ID 等条件筛选。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'appstreaming:ListModelProviderTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"Data\\": [\\n {\\n \\"ProviderTemplateId\\": \\"mpt-xxxx\\",\\n \\"ProviderType\\": \\"WuyingCredit\\",\\n \\"ProviderName\\": \\"bailian\\",\\n \\"Name\\": \\"阿里云百炼\\",\\n \\"Description\\": \\"阿里云百炼服务商\\",\\n \\"Config\\": \\"{\\\\n\\\\t\\\\\\"api\\\\\\": \\\\\\"openai-completions\\\\\\",\\\\n\\\\t\\\\\\"apiKey\\\\\\": \\\\\\"sk-xxxx\\\\\\",\\\\n\\\\t\\\\\\"baseUrl\\\\\\": \\\\\\"https://dashscope.aliyuncs.com/compatible-mode/v1\\\\\\"\\\\n}\\",\\n \\"EnableWuyingProxy\\": true\\n }\\n ],\\n \\"TotalCount\\": 30,\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'ListModelTemplateResourceGroup' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -6837,164 +6788,208 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingD8SMIE', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], ], 'parameters' => [ [ - 'name' => 'ProductType', - 'in' => 'formData', + 'name' => 'ModelTemplateId', + 'in' => 'query', + 'schema' => ['title' => '模型分组ID', 'description' => '模型分组ID。', 'type' => 'string', 'required' => true, 'example' => 'mt-xxxxx'], + ], + [ + 'name' => 'ResourceGroupIds', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'title' => '产品类型。', - 'description' => '产品类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], - 'example' => 'CloudApp', + 'title' => '资源组ID列表', + 'description' => '资源组ID列表。', + 'type' => 'array', + 'items' => ['description' => '资源组ID列表,用于查询的过滤条件。'."\n" + ."\n" + .'最多可以设置100个资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-xxxxx'], + 'required' => false, + 'maxItems' => 100, ], ], [ 'name' => 'PageSize', - 'in' => 'formData', + 'in' => 'query', + 'schema' => ['title' => '每页大小', 'description' => '每页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['title' => '页码,从1开始,0和1返回相同结果', 'description' => '页码,从1开始,0和1返回相同结果。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '每页最大返回的数量。', - 'description' => '每页最大返回的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '100', - 'example' => '10', + 'title' => 'PageListResult<ModelTemplateResourceGroupModel>', + 'description' => '查询结果。', + 'type' => 'object', + 'properties' => [ + 'PageSize' => ['title' => '每页大小', 'description' => '每页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'PageNumber' => ['title' => '页码', 'description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Data' => [ + 'description' => '返回的结果。', + 'type' => 'array', + 'items' => [ + 'description' => '返回数据对象。', + 'type' => 'object', + 'properties' => [ + 'ResourceGroupId' => ['title' => '资源组ID', 'description' => '资源组ID。', 'type' => 'string', 'example' => 'rg-xxxxx'], + ], + ], + ], + 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '15'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询模型分组绑定的资源组列表', + 'summary' => '查询模型分组绑定的资源组列表。', + 'description' => '您可以通过此接口查询无影 Agent 管理中心内模型分组授权的资源组列表。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"Data\\": [\\n {\\n \\"ResourceGroupId\\": \\"rg-xxxxx\\"\\n }\\n ],\\n \\"TotalCount\\": 15,\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'ListModelTemplates' => [ + 'summary' => '查询模型模板列表', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'PageNumber', - 'in' => 'formData', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'BizType', + 'in' => 'query', 'schema' => [ - 'title' => '页码,从1开始。', - 'description' => '页码,从1开始。', + 'title' => '业务类型', + 'description' => '业务类型。', 'type' => 'integer', 'format' => 'int32', 'required' => true, - 'minimum' => '1', + 'enumValueTitles' => [1 => '企业版'], 'example' => '1', ], ], [ - 'name' => 'AppInstanceGroupId', - 'in' => 'formData', + 'name' => 'AgentPlatform', + 'in' => 'query', 'schema' => [ - 'title' => '交付组ID。', - 'description' => '交付组ID。', + 'description' => 'Agent平台。', 'type' => 'string', - 'required' => true, - 'example' => 'aig-9ciijz60n4xsv****', + 'required' => false, + 'enumValueTitles' => ['ENTERPRISE' => '企业版', 'ENTERPRISE_JVS' => '企业版JVS Computer、企业版Hermes Agent'], + 'example' => 'ENTERPRISE', ], ], [ - 'name' => 'GroupId', - 'in' => 'formData', + 'name' => 'AgentProvider', + 'in' => 'query', 'schema' => [ - 'title' => '用户组ID,精确查询。', - 'description' => '用户组ID,精确查询。', + 'title' => 'Agent 提供商筛选', + 'description' => 'Agent 提供商名称。', 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['OpenClaw' => 'OpenClaw'], + 'example' => 'OpenClaw', + ], + ], + [ + 'name' => 'ModelTemplateIdList', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '筛选模板 ID 列表', + 'description' => '筛选模板分组ID列表。', + 'type' => 'array', + 'items' => ['description' => '筛选模板分组ID。', 'type' => 'string', 'required' => false, 'example' => 'mt-xxxx'], 'required' => false, - 'example' => 'ug-00001', ], ], [ - 'name' => 'GroupName', - 'in' => 'formData', + 'name' => 'HasModel', + 'in' => 'query', 'schema' => [ - 'title' => '用户组名称,模糊查询。', - 'description' => '用户组名称,模糊查询。', - 'type' => 'string', + 'description' => '分组内是否配置模型。', + 'type' => 'boolean', 'required' => false, - 'example' => '用户组001', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', ], ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['title' => '每页大小', 'description' => '每页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['title' => '页码,从1开始,0和1返回相同结果', 'description' => '页码,从1开始,0和1返回相同结果。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '响应体。', + 'title' => 'PageListResult<ModelTemplateModel>', + 'description' => '请求结果。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'TotalCount' => [ - 'title' => '总数。', - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'PageSize' => [ - 'title' => '每页返回的最大数量。', - 'description' => '每页返回的最大数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'title' => '页码。', - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'UserGroups' => [ - 'title' => '用户组信息列表。', - 'description' => '用户组信息列表。', + 'PageSize' => ['description' => '每页的查询结果数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'PageNumber' => ['description' => '当前展示的查询结果页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCount' => ['description' => '查询结果的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'Data' => [ + 'description' => '返回数据对象列表。', 'type' => 'array', 'items' => [ - 'title' => '用户组信息。', - 'description' => '用户组信息。', + 'description' => '返回数据对象。', 'type' => 'object', 'properties' => [ - 'GroupName' => [ - 'title' => '用户组名称。', - 'description' => '用户组名称。', - 'type' => 'string', - 'example' => '用户组001', - ], - 'AppInstanceGroupId' => [ - 'title' => '交付组ID。', - 'description' => '交付组ID。', - 'type' => 'string', - 'example' => 'aig-9ciijz60n4xsv****', - ], - 'AuthMode' => [ - 'title' => '授权模式。', - 'description' => '授权模式。', - 'type' => 'string', - 'enumValueTitles' => [ - 'App' => '应用授权', - 'AppInstanceGroup' => '交付组授权', - 'Session' => '会话授权', - ], - 'example' => 'App', - 'default' => 'App', - 'enum' => [ - 'App', - 'Session', - 'AppInstanceGroup', - ], - ], - 'GroupId' => [ - 'title' => '用户组ID。', - 'description' => '用户组ID。', - 'type' => 'string', - 'example' => 'ug-00001', + 'ModelTemplateId' => ['title' => '模型模板 ID', 'description' => '模型分组ID。', 'type' => 'string', 'example' => 'mt-xxxx'], + 'AgentProvider' => [ + 'title' => 'Agent 提供商', + 'description' => 'Agent 提供商名称。', + 'type' => 'string', + 'enumValueTitles' => ['OpenClaw' => 'OpenClaw'], + 'example' => 'OpenClaw', + ], + 'Name' => ['title' => '模板名称', 'description' => '模板分组名称。', 'type' => 'string', 'example' => 'model-template-001'], + 'Description' => ['title' => '模板描述', 'description' => '模板分组描述。', 'type' => 'string', 'example' => '测试模型分组'], + 'Config' => ['title' => '模型配置 JSON', 'description' => '模型分组配置 JSON 对象。', 'type' => 'string', 'example' => '{'."\n" + .' "defaults": {'."\n" + .' "model": {'."\n" + .' "primary": "bailian/qwen3.5-plus"'."\n" + .' }'."\n" + .' }'."\n" + .'}'], + 'HasModel' => [ + 'description' => '分组内是否配置模型。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', ], ], ], @@ -7003,26 +6998,33 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询模型分组列表', + 'description' => '您可以分页查询无影 Agent 管理中心中已创建的模型分组列表,支持按 Agent 提供商、Agent 平台、模板分组 ID 及是否已配置模型等条件进行筛选。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'appstreaming:ListModelTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TotalCount\\": 6,\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"UserGroups\\": [\\n {\\n \\"GroupName\\": \\"用户组001\\",\\n \\"AppInstanceGroupId\\": \\"aig-9ciijz60n4xsv****\\",\\n \\"AuthMode\\": \\"App\\",\\n \\"GroupId\\": \\"ug-00001\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询交付组授权的用户组列表', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 30,\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Data\\": [\\n {\\n \\"ModelTemplateId\\": \\"mt-xxxx\\",\\n \\"AgentProvider\\": \\"OpenClaw\\",\\n \\"Name\\": \\"model-template-001\\",\\n \\"Description\\": \\"测试模型分组\\",\\n \\"Config\\": \\"{\\\\n\\\\t\\\\\\"defaults\\\\\\": {\\\\n\\\\t\\\\t\\\\\\"model\\\\\\": {\\\\n\\\\t\\\\t\\\\t\\\\\\"primary\\\\\\": \\\\\\"bailian/qwen3.5-plus\\\\\\"\\\\n\\\\t\\\\t}\\\\n\\\\t}\\\\n}\\",\\n \\"HasModel\\": true\\n }\\n ]\\n}","type":"json"}]', ], - 'ListAppInstances' => [ - 'summary' => '查询交付组内会话实例的详细信息,包括实例ID、实例状态、创建时间、更新时间、会话状态、主网卡公网IP等。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListNodeInstanceType' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7034,139 +7036,112 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '170357', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingBC1NTD', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], ], 'parameters' => [ [ - 'name' => 'AppInstanceGroupId', + 'name' => 'ProductType', 'in' => 'query', 'schema' => [ - 'description' => '交付组ID。', + 'description' => '产品类型。', 'type' => 'string', 'required' => true, - 'example' => 'aig-4p5f8tj16yb8b****', + 'enumValueTitles' => ['CloudApp' => '无影云应用'], + 'example' => 'CloudApp', ], ], [ - 'name' => 'AppInstanceId', + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '需展示的查询结果页码。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '每页的查询结果数量。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '10'], + ], + [ + 'name' => 'OsType', 'in' => 'query', 'schema' => [ - 'description' => '应用实例ID。', + 'description' => '支持的操作系统类型。', 'type' => 'string', 'required' => false, - 'example' => 'ai-azn3kmwruh1vl****', + 'enumValueTitles' => ['Windows' => 'Windows操作系统'], + 'example' => 'Windows', ], ], [ - 'name' => 'Status', - 'in' => 'formData', - 'style' => 'repeatList', + 'name' => 'BizRegionId', + 'in' => 'query', 'schema' => [ - 'description' => '应用实例状态列表。', - 'type' => 'array', - 'items' => [ - 'description' => '应用实例状态。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'INIT' => '初始化', - 'STARTING' => '应用启动中', - 'CLOSING' => '应用停止中', - 'CLOSED' => '应用已关闭', - 'RUNNING' => '应用运行中', - 'IDLE' => '空闲', - 'BOUND' => '已绑定', - 'UNAVAILABLE' => '不可用', - ], - 'example' => 'INIT', - ], + 'description' => '资源所属的地域ID。关于支持的地域详情,请参见[使用限制](~~426036~~)。', + 'type' => 'string', 'required' => false, - 'maxItems' => 100, - 'minItems' => 1, + 'enumValueTitles' => ['cn-shanghai' => '华东2(上海)', 'cn-hangzhou' => '华东1(杭州)'], + 'example' => 'cn-hangzhou', ], ], [ - 'name' => 'AppInstanceIdList', - 'in' => 'formData', - 'style' => 'repeatList', + 'name' => 'Language', + 'in' => 'query', 'schema' => [ - 'description' => '应用实例ID列表,最大长度为100。', - 'type' => 'array', - 'items' => [ - 'description' => '应用实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ai-azn3kmwruh1vl****', - ], + 'description' => '语言类型。', + 'type' => 'string', 'required' => false, - 'maxItems' => 100, - 'minItems' => 1, + 'enumValueTitles' => ['en-US' => '英语(美国)', 'zh-CN' => '简体中文'], + 'example' => 'zh-CN', ], ], [ - 'name' => 'PageSize', + 'name' => 'NodeInstanceType', 'in' => 'query', - 'schema' => [ - 'description' => '每页的查询结果数量,不可超过`100`。默认值为`20`。建议填写该参数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '20', - 'default' => '20', - ], + 'schema' => ['description' => '指定要查询的资源规格类型。如果不填写,则返回所有规格类型。', 'type' => 'string', 'required' => false, 'example' => 'appstreaming.vgpu.4c8g.2g'], ], [ - 'name' => 'PageNumber', + 'name' => 'NodeInstanceTypeFamily', 'in' => 'query', - 'schema' => [ - 'description' => '需展示的查询结果页码。默认值为`1`。建议填写该参数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => '规格族', 'type' => 'string', 'required' => false, 'example' => 'appstreaming.vgpu'], ], [ - 'name' => 'IncludeDeleted', + 'name' => 'Cpu', 'in' => 'query', - 'schema' => [ - 'description' => '是否查询已删除的实例信息。'."\n" - .'该参数为true时AppInstanceIdList的字段必填,否则会报参数错误。', - 'type' => 'boolean', - 'required' => false, - 'enumValueTitles' => [ - 'true' => '查询', - 'false' => '不查询[默认值]', - ], - 'example' => 'true', - 'default' => 'false', - ], + 'schema' => ['description' => 'CPU核数。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '2'], ], [ - 'name' => 'UserIdList', + 'name' => 'Gpu', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '用户ID列表,最大长度为100。', - 'type' => 'array', - 'items' => [ - 'description' => '用户ID', - 'type' => 'string', - 'required' => false, - 'example' => 'Alice', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => 'GPU数量。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'Memory', + 'in' => 'query', + 'schema' => ['description' => '内存大小,单位为MB。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10240'], + ], + [ + 'name' => 'GpuMemory', + 'in' => 'query', + 'schema' => ['description' => '显存大小。对于GPU型云电脑,该返回值有实际意义。单位:MB。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2048'], + ], + [ + 'name' => 'SortType', + 'in' => 'query', + 'schema' => ['title' => 'DESC/ASC', 'description' => 'DESC/ASC', 'type' => 'string', 'required' => false, 'example' => 'ASC'], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'schema' => ['title' => 'CPU/Memory', 'description' => 'CPU/Memory', 'type' => 'string', 'required' => false, 'example' => 'CPU'], + ], + [ + 'name' => 'InstanceTypeForModify', + 'in' => 'query', + 'schema' => ['type' => 'string'], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -7176,117 +7151,53 @@ 'description' => '返回信息集合。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'TotalCount' => [ - 'description' => '查询结果的总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '18', - ], - 'PageSize' => [ - 'description' => '每页的查询结果数量,不可超过`100`。建议填写该参数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '需展示的查询结果页码。建议填写该参数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'AppInstanceModels' => [ - 'description' => '查询的应用实例列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'TotalCount' => ['description' => '查询结果的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'PageSize' => ['description' => '每页的查询结果数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['description' => '当前展示的查询结果页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'NodeInstanceTypeModels' => [ + 'description' => '资源规格列表。', 'type' => 'array', 'items' => [ - 'description' => '查询的应用实例。', + 'description' => '资源规格。', 'type' => 'object', 'properties' => [ - 'AppInstanceId' => [ - 'description' => '应用实例ID。', - 'type' => 'string', - 'example' => 'ai-8dl7dzchklmka****', - ], - 'AppInstanceGroupId' => [ - 'description' => '交付组ID。', - 'type' => 'string', - 'example' => 'aig-dk8p95irqfst9****', - ], - 'Status' => [ - 'description' => '应用实例状态。', - 'type' => 'string', - 'example' => 'BOUND', - ], - 'MainEthPublicIp' => [ - 'description' => '主网卡公网IP。交付组网络策略(`StrategyType`)为混合模式(`Mixed`)时才返回该值,否则为空。', - 'type' => 'string', - 'example' => '10.13.13.211', - ], - 'NetworkInterfaceIp' => [ - 'type' => 'string', - ], - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-03-07T20:29:19.000+08:00', - ], - 'GmtModified' => [ - 'description' => '更新时间。', - 'type' => 'string', - 'example' => '2023-03-07T20:29:19.000+08:00', - ], - 'SessionStatus' => [ - 'description' => '会话连接状态。实例状态为应用运行中(`RUNNING`)时才返回该值,否则为空。', - 'type' => 'string', - 'enumValueTitles' => [ - 'disconnect' => '已关闭', - 'connect' => '已连接', - ], - 'example' => 'connect', - ], - 'BindInfo' => [ - 'description' => '实例与用户绑定相关信息。', - 'type' => 'object', - 'properties' => [ - 'EndUserId' => [ - 'description' => '实例绑定的最终用户ID。', - 'type' => 'string', - 'example' => 'app.test', - ], - 'UsageDuration' => [ - 'description' => '实例使用时长。单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2000', - ], - ], - ], - 'NodeId' => [ - 'description' => '运行实例的节点ID。'."\n" - .'> 只有本实例所属交付组的售卖模式为按资源售卖(ChargeResourceMode=Node)时,才会返回本参数。', - 'type' => 'string', - 'example' => 'i-bp13********', - ], - 'ChargeType' => [ - 'description' => '实例的付费类型,返回值:'."\n" - .'- **PrePaid**:包年包月(预付费)。'."\n" - .'- **PostPaid**:按量付费(后付费)。'."\n" - .'> 只有本实例所属交付组的售卖模式为按资源售卖(ChargeResourceMode=Node)时,才会返回本参数。', + 'NodeInstanceType' => [ + 'description' => '资源规格类型ID。', 'type' => 'string', - 'enumValueTitles' => [ - 'PostPaid' => '按量付费(后付费)', - 'PrePaid' => '包年包月(预付费)', - ], - 'example' => 'PostPaid', + 'enumValueTitles' => [], + 'example' => 'appstreaming.vgpu.4c8g.2g', ], - 'NetworkInterfaceId' => [ + 'NodeInstanceTypeFamily' => [ + 'description' => '资源规格族。', 'type' => 'string', + 'enumValueTitles' => ['appstreaming.general' => '无影-通用型', 'appstreaming.vgpu' => '无影-图形型'], + 'example' => 'appstreaming.vgpu', ], + 'Cpu' => ['description' => 'vCPU数量。', 'type' => 'string', 'example' => '4'], + 'Gpu' => ['description' => 'GPU数量。', 'type' => 'string', 'example' => '2'], + 'Memory' => ['description' => '内存大小,单位为MB。'."\n" + ."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '8192'], + 'GpuMemory' => ['description' => '显卡内存大小,单位为MB。', 'type' => 'integer', 'format' => 'int64', 'example' => '8192'], + 'MaxCapacity' => ['description' => '最大并发会话数,即单个资源可同时连接的会话数。如果同时连接的会话数过多,可能导致应用的使用体验下降。取值范围因资源规格不同而不同。各资源规格对应的取值范围分别是:'."\n" + ."\n" + .'- appstreaming.general.2c4g: 1;'."\n" + .'- appstreaming.general.4c8g:1\\~2;'."\n" + .'- appstreaming.general.8c16g:1\\~4;'."\n" + .'- appstreaming.vgpu.8c16g.4g:1\\~4;'."\n" + .'- appstreaming.vgpu.8c31g.16g:1\\~4;'."\n" + .'- appstreaming.vgpu.14c93g.12g:1\\~7;'."\n" + .'- appstreaming.vgpu.4c10g.2gt4:1\\~2;'."\n" + .'- appstreaming.vgpu.4c16g.2ga10:1\\~2;'."\n" + .'- appstreaming.vgpu.8c16g.4g:1\\~4;'."\n" + .'- appstreaming.vgpu.8c31g.16g:1\\~4;'."\n" + .'- appstreaming.vgpu.8c16g.4gt4:1\\~4;'."\n" + .'- appstreaming.vgpu.8c32g.4ga10:1\\~4;'."\n" + .'- appstreaming.vgpu.12c46g.11g28:1\\~6;'."\n" + .'- appstreaming.vgpu.14c93g.12g:1\\~7;'."\n" + .'- appstreaming.vgpu.16c32g.8g:1\\~8;'."\n" + .'- appstreaming.vgpu.16c62g.8ga10:1\\~8;', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'NodeTypeName' => ['description' => '资源规格名称。', 'type' => 'string', 'example' => '无影-通用型_4核8G'], ], ], ], @@ -7294,73 +7205,181 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TotalCount\\": 18,\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"AppInstanceModels\\": [\\n {\\n \\"AppInstanceId\\": \\"ai-8dl7dzchklmka****\\",\\n \\"AppInstanceGroupId\\": \\"aig-dk8p95irqfst9****\\",\\n \\"Status\\": \\"BOUND\\",\\n \\"MainEthPublicIp\\": \\"10.13.13.211\\",\\n \\"NetworkInterfaceIp\\": \\"\\",\\n \\"GmtCreate\\": \\"2023-03-07T20:29:19.000+08:00\\",\\n \\"GmtModified\\": \\"2023-03-07T20:29:19.000+08:00\\",\\n \\"SessionStatus\\": \\"connect\\",\\n \\"BindInfo\\": {\\n \\"EndUserId\\": \\"app.test\\",\\n \\"UsageDuration\\": 2000\\n },\\n \\"NodeId\\": \\"i-bp13********\\",\\n \\"ChargeType\\": \\"PostPaid\\",\\n \\"NetworkInterfaceId\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询交付组内实例详细信息', - ], - 'DeleteAppInstances' => [ - 'summary' => '删除指定应用实例。', - 'methods' => [ - 'get', - 'post', + 'title' => '查询资源规格', + 'summary' => '查询创建交付组时可选购的资源规格。', + 'changeSet' => [ + ['createdAt' => '2024-10-22T07:52:55.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2023-03-24T06:16:27.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-08-01T03:08:19.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-05-09T14:31:31.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListNodeInstanceType'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListNodeInstanceType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TotalCount\\": 6,\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"NodeInstanceTypeModels\\": [\\n {\\n \\"NodeInstanceType\\": \\"appstreaming.vgpu.4c8g.2g\\",\\n \\"NodeInstanceTypeFamily\\": \\"appstreaming.vgpu\\",\\n \\"Cpu\\": \\"4\\",\\n \\"Gpu\\": \\"2\\",\\n \\"Memory\\": 8192,\\n \\"GpuMemory\\": 8192,\\n \\"MaxCapacity\\": 4,\\n \\"NodeTypeName\\": \\"无影-通用型_4核8G\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListNodes' => [ + 'summary' => '查询资源节点列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '265984', + 'abilityTreeNodes' => ['FEATUREappstreamingEP3FXS'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页的查询结果数量。取值范围:1\\~200。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '需展示的查询结果页码,从1开始。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'AppInstanceGroupId', + 'in' => 'formData', + 'schema' => ['description' => '交付组ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-53fvrq1oanz6c****'], + ], + [ 'name' => 'ProductType', 'in' => 'formData', 'schema' => [ 'description' => '产品类型。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], + 'enumValueTitles' => ['CloudApp' => '无影云应用'], 'example' => 'CloudApp', ], ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'PerPageSize' => ['description' => '当前分页页面大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'ToPage' => ['description' => '当前返回是第几页数据。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Count' => ['description' => '可返回的数据总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'NodeModels' => [ + 'description' => '资源节点列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NodeId' => ['description' => '资源节点ID。'."\n" + .'> 只有所属交付组的售卖模式为按资源售卖(ChargeResourceMode=Node)时,才会返回本参数。', 'type' => 'string', 'example' => 'i-bp13********'], + 'ChargeType' => [ + 'description' => '资源节点的付费类型。'."\n" + ."\n" + .'> 只有所属交付组的售卖模式为按资源售卖(ChargeResourceMode=Node)时,才会返回本参数。', + 'type' => 'string', + 'enumValueTitles' => ['PostPaid' => '按量付费(后付费)', 'PrePaid' => '包年包月(预付费)'], + 'example' => 'PostPaid', + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"PerPageSize\\": 10,\\n \\"ToPage\\": 1,\\n \\"Count\\": 100,\\n \\"NodeModels\\": [\\n {\\n \\"NodeId\\": \\"i-bp13********\\",\\n \\"ChargeType\\": \\"PostPaid\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询资源节点列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'appstreaming:ListNodes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListOtaTask' => [ + 'summary' => '查询OTA升级历史记录。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [ + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['title' => '每页数量', 'description' => '每页的查询结果数量。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '10'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['title' => '页码', 'description' => '当前展示的查询结果页码。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + ], [ 'name' => 'AppInstanceGroupId', 'in' => 'formData', - 'schema' => [ - 'description' => '交付组ID。可通过接口[ListAppInstanceGroup](~~428506~~)获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-9ciijz60n4xsv****', - ], + 'schema' => ['title' => '实例组id', 'description' => '交付组ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-53fvrq1oanz6c****'], ], [ - 'name' => 'AppInstanceIds', + 'name' => 'OtaType', 'in' => 'formData', - 'style' => 'repeatList', 'schema' => [ - 'description' => '应用实例ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '应用实例ID。'."\n" - ."\n" - .'> 仅特定客户可获取到该参数。', - 'type' => 'string', - 'required' => true, - 'example' => 'ai-gbuea*****', - ], + 'title' => 'ota类型,取值:'."\n" + .'Fota : agent组件更新'."\n" + .'ImageUpdate : 镜像更新'."\n" + .'AppUpdate : 应用更新', + 'description' => 'OTA升级任务类型。', + 'type' => 'string', 'required' => true, - 'maxItems' => 100, - 'minItems' => 1, + 'enumValueTitles' => ['Fota' => '无影系统组件更新'], + 'example' => 'Fota', + 'enum' => ['Fota', 'ImageUpdate', 'AppUpdate'], ], ], ], @@ -7372,43 +7391,29 @@ 'description' => '返回信息集合。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'DeleteAppInstanceModels' => [ - 'description' => '实例删除结果列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'TotalCount' => ['description' => 'OTA升级任务总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'PageSize' => ['title' => '每页数量', 'description' => '每页的查询结果数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['title' => '页码', 'description' => '当前展示的查询结果页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TaskList' => [ + 'title' => 'AppInstanceGroupModels', + 'description' => 'OTA升级任务列表。', 'type' => 'array', 'items' => [ - 'description' => '实例删除结果。', + 'description' => 'OTA升级任务。', 'type' => 'object', 'properties' => [ - 'AppInstanceId' => [ - 'description' => '应用实例ID。', - 'type' => 'string', - 'example' => 'ai-gbuea*****'."\n", - ], - 'Success' => [ - 'description' => '是否成功触发删除。', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '触发成功', - 'false' => '触发失败', - ], - 'example' => 'true', - ], - 'Code' => [ - 'description' => '出错时的错误码。', - 'type' => 'string', - 'example' => 'InvalidParameter.ProductType', - ], - 'Message' => [ - 'description' => '出错时的错误消息。', + 'OtaVersion' => ['title' => 'ota版本,格式举例:0.0.1-R-20220708.110604', 'description' => 'OTA版本。', 'type' => 'string', 'example' => '0.0.1-R-20220708.110604'], + 'TaskDisplayStatus' => [ + 'title' => '任务展示状态', + 'description' => '任务状态。', 'type' => 'string', - 'example' => 'The parameter ProductType is invalid.', + 'enumValueTitles' => ['FAILED' => '升级失败', 'RUNNING' => '升级中', 'TERMINATED' => '升级停止', 'PART_FINISHED' => '升级成功', 'STANDBY' => '等待升级', 'FINISHED' => '升级成功'], + 'example' => 'RUNNING', + 'enum' => ['STANDBY', 'RUNNING', 'FAILED', 'TERMINATED', 'FINISHED', 'PART_FINISHED'], ], + 'TaskStartTime' => ['title' => '任务开始时间,ISO-8601格式', 'description' => '任务开始时间,ISO 8601格式。', 'type' => 'string', 'format' => 'iso8601', 'example' => '2022-08-04T14:36:00+08:00'], + 'TaskId' => ['title' => '任务id', 'description' => '任务ID。', 'type' => 'string', 'example' => 'ota-be7jzm29wrrz5****'], ], ], ], @@ -7416,22 +7421,32 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '查询OTA升级历史记录', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListOtaTask'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"DeleteAppInstanceModels\\": [\\n {\\n \\"AppInstanceId\\": \\"ai-gbuea*****\\\\n\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"InvalidParameter.ProductType\\",\\n \\"Message\\": \\"The parameter ProductType is invalid.\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '删除指定应用实例', - 'description' => '处于初始化状态或空闲状态的实例才能被删除。该接口仅向特定客户开放。', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TotalCount\\": 6,\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TaskList\\": [\\n {\\n \\"OtaVersion\\": \\"0.0.1-R-20220708.110604\\",\\n \\"TaskDisplayStatus\\": \\"RUNNING\\",\\n \\"TaskStartTime\\": \\"2022-08-04T14:36:00+08:00\\",\\n \\"TaskId\\": \\"ota-be7jzm29wrrz5****\\"\\n }\\n ]\\n}","type":"json"}]', ], 'ListPersistentAppInstances' => [ 'summary' => '查询交付组内的持久会话应用实例列表。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -7444,9 +7459,7 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '268317', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingBC1NTD', - ], + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -7458,23 +7471,14 @@ 'description' => '产品类型。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '云应用', - 'CloudBrowser' => '云浏览器', - 'AndroidCloud' => '云手机', - ], + 'enumValueTitles' => ['CloudApp' => '云应用', 'CloudBrowser' => '云浏览器', 'AndroidCloud' => '云手机'], 'example' => 'CloudApp', ], ], [ 'name' => 'AppInstanceGroupId', 'in' => 'query', - 'schema' => [ - 'description' => '交付组ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-0bxls9m9arax6****', - ], + 'schema' => ['description' => '交付组ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-0bxls9m9arax6****'], ], [ 'name' => 'AppInstancePersistentIds', @@ -7483,12 +7487,7 @@ 'schema' => [ 'description' => '持久会话ID列表。', 'type' => 'array', - 'items' => [ - 'description' => '持久会话ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'p-0cc7s3mw2fg4j****', - ], + 'items' => ['description' => '持久会话ID。', 'type' => 'string', 'required' => true, 'example' => 'p-0cc7s3mw2fg4j****'], 'required' => false, 'maxItems' => 100, 'minItems' => 1, @@ -7497,29 +7496,12 @@ [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '每页的查询结果数量,不可超过**100**,默认值为**20**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '20', - 'default' => '20', - ], + 'schema' => ['description' => '每页的查询结果数量,不可超过**100**,默认值为**20**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '20', 'default' => '20'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '需展示的查询结果页码,从**1**开始,默认为**1**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => '需展示的查询结果页码,从**1**开始,默认为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'], ], ], 'responses' => [ @@ -7529,30 +7511,10 @@ 'description' => '响应体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'TotalCount' => [ - 'description' => '查询结果的总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', - ], - 'PageSize' => [ - 'description' => '每页的查询结果数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'PageNumber' => [ - 'description' => '当前展示的查询结果页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'TotalCount' => ['description' => '查询结果的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'], + 'PageSize' => ['description' => '每页的查询结果数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'PageNumber' => ['description' => '当前展示的查询结果页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], 'PersistentAppInstanceModels' => [ 'description' => '持久会话应用实例信息列表。', 'type' => 'array', @@ -7560,71 +7522,27 @@ 'description' => '持久会话应用实例信息。', 'type' => 'object', 'properties' => [ - 'AppInstancePersistentId' => [ - 'description' => '持久会话ID。', - 'type' => 'string', - 'example' => 'p-0cc7s3mw2fg4j****', - ], - 'AppInstancePersistentName' => [ - 'description' => '持久会话应用实例名称。', - 'type' => 'string', - 'example' => 'test-persistent-name', - ], + 'AppInstancePersistentId' => ['description' => '持久会话ID。', 'type' => 'string', 'example' => 'p-0cc7s3mw2fg4j****'], + 'AppInstancePersistentName' => ['description' => '持久会话应用实例名称。', 'type' => 'string', 'example' => 'test-persistent-name'], 'AppInstancePersistentStatus' => [ 'description' => '持久会话应用实例状态。', 'type' => 'string', - 'enumValueTitles' => [ - 'STARTING' => '启动中', - 'RUNNING' => '运行中', - 'STOPPED' => '已停止', - 'UNAVAILABLE' => '不可用', - 'DELETING' => '删除中', - 'PENDING' => '创建中', - 'STOPPING' => '停止中', - 'DELETED' => '已删除', - 'REBUILDING' => '重置中', - ], + 'enumValueTitles' => ['STARTING' => '启动中', 'RUNNING' => '运行中', 'STOPPED' => '已停止', 'UNAVAILABLE' => '不可用', 'DELETING' => '删除中', 'PENDING' => '创建中', 'STOPPING' => '停止中', 'DELETED' => '已删除', 'REBUILDING' => '重置中'], 'example' => 'RUNNING', ], - 'AppInstanceGroupId' => [ - 'description' => '交付组ID。', - 'type' => 'string', - 'example' => 'aig-0bxls9m9arax6****', - ], - 'AppInstanceId' => [ - 'description' => '应用实例ID。', - 'type' => 'string', - 'example' => 'ai-azn3kmwruh1vl****', - ], + 'AppInstanceGroupId' => ['description' => '交付组ID。', 'type' => 'string', 'example' => 'aig-0bxls9m9arax6****'], + 'AppInstanceId' => ['description' => '应用实例ID。', 'type' => 'string', 'example' => 'ai-azn3kmwruh1vl****'], 'AppInstanceStatus' => [ 'description' => '应用实例状态。', 'type' => 'string', - 'enumValueTitles' => [ - 'INIT' => '初始化', - 'STARTING' => '应用启动中', - 'CLOSING' => '应用停止中', - 'CLOSED' => '应用已关闭', - 'RUNNING' => '应用运行中', - 'IDLE' => '空闲', - 'BOUND' => '已绑定', - 'UNAVAILABLE' => '不可用', - 'DELETED' => '已删除', - ], + 'enumValueTitles' => ['INIT' => '初始化', 'STARTING' => '应用启动中', 'CLOSING' => '应用停止中', 'CLOSED' => '应用已关闭', 'RUNNING' => '应用运行中', 'IDLE' => '空闲', 'BOUND' => '已绑定', 'UNAVAILABLE' => '不可用', 'DELETED' => '已删除'], 'example' => 'RUNNING', ], - 'GmtCreate' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2025-03-13T03:22:18.000+00:00', - ], + 'GmtCreate' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2025-03-13T03:22:18.000+00:00'], 'AuthorizedUsers' => [ 'description' => '授权的用户名列表。', 'type' => 'array', - 'items' => [ - 'description' => '授权的用户名。', - 'type' => 'string', - 'example' => 'user-001', - ], + 'items' => ['description' => '授权的用户名。', 'type' => 'string', 'example' => 'user-001'], ], ], ], @@ -7633,540 +7551,474 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TotalCount\\": 15,\\n \\"PageSize\\": 20,\\n \\"PageNumber\\": 1,\\n \\"PersistentAppInstanceModels\\": [\\n {\\n \\"AppInstancePersistentId\\": \\"p-0cc7s3mw2fg4j****\\",\\n \\"AppInstancePersistentName\\": \\"test-persistent-name\\",\\n \\"AppInstancePersistentStatus\\": \\"RUNNING\\",\\n \\"AppInstanceGroupId\\": \\"aig-0bxls9m9arax6****\\",\\n \\"AppInstanceId\\": \\"ai-azn3kmwruh1vl****\\",\\n \\"AppInstanceStatus\\": \\"RUNNING\\",\\n \\"GmtCreate\\": \\"2025-03-13T03:22:18.000+00:00\\",\\n \\"AuthorizedUsers\\": [\\n \\"user-001\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', 'title' => '查询持久会话应用实例列表', - ], - 'GetConnectionTicket' => [ - 'summary' => '获取云应用连接凭证。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListPersistentAppInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListRegions' => [ + 'summary' => '查询无影云应用支持的地域。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '169756', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingBC1NTD', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'ProductType', - 'in' => 'formData', + 'in' => 'query', 'schema' => [ - 'description' => '产品类型。', + 'description' => '指定产品类型。', 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '云应用', - 'AndroidCloud' => '安卓云', - ], + 'required' => false, + 'enumValueTitles' => ['CloudApp' => '无影云应用'], 'example' => 'CloudApp', ], ], [ - 'name' => 'EndUserId', - 'in' => 'formData', - 'schema' => [ - 'description' => '用户名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'alice', - ], + 'name' => 'BizSource', + 'in' => 'query', + 'schema' => ['description' => '> 该参数不对外开放使用。', 'type' => 'string', 'required' => false, 'example' => 'null'], ], - [ - 'name' => 'BizRegionId', - 'in' => 'formData', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '地域ID。'."\n" - ."\n" - .'> 当传入本参数时,仅会在参数指定地域的交付组中分配应用实例。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'cn-shenzhen' => 'cn-shenzhen', - 'cn-beijing' => 'cn-beijing', - 'cn-shanghai' => 'cn-shanghai', - 'cn-zhangjiakou' => 'cn-zhangjiakou', - 'cn-hangzhou' => 'cn-hangzhou', + 'title' => 'Schema of Response', + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'RegionModels' => [ + 'description' => '地域ID列表。', + 'type' => 'array', + 'items' => [ + 'description' => '地域ID。', + 'type' => 'object', + 'properties' => [ + 'regionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'cn-hangzhou', + ], + ], + 'example' => 'cn-hangzhou', + ], + ], ], - 'example' => 'cn-hangzhou', ], ], - [ - 'name' => 'TaskId', - 'in' => 'formData', - 'schema' => [ - 'description' => '任务ID。'."\n" - ."\n" - .'> 非首次调用时必填。使用本参数查询任务状态和连接凭证。', - 'type' => 'string', - 'required' => false, - 'example' => '28778acb-a469-4bc0-8e0f****', - ], - ], - [ - 'name' => 'AppId', - 'in' => 'formData', - 'schema' => [ - 'description' => '应用ID。'."\n" - ."\n" - .'> 首次调用时必填,后续调用时选填。', - 'type' => 'string', - 'required' => false, - 'example' => 'ca-e4s0puhmwi7v****', - ], + ], + 'title' => '查询支持的地域', + 'description' => '> 通过该接口查询到的地域,并非全部是可用地域。关于可用地域的信息,参见[支持的地域](~~426036~~)。', + 'changeSet' => [ + ['createdAt' => '2024-08-02T10:08:42.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-04-29T08:09:07.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-06-27T13:14:46.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2021-09-26T14:02:32.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegions'], ], + ], + 'ramActions' => [ [ - 'name' => 'AppVersion', - 'in' => 'formData', - 'schema' => [ - 'description' => '应用版本。传入本参数时,仅会打开参数所指定版本的应用。如果不传入本参数,则会打开已授权的任意版本的应用。', - 'type' => 'string', - 'required' => false, - 'example' => '1.0.0', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListRegions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"RegionModels\\": [\\n {\\n \\"regionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListTagCloudResources' => [ + 'summary' => '查询一个或多个指定云资源的标签列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'AppStartParam', - 'in' => 'formData', - 'schema' => [ - 'description' => '应用启动参数。关于启动参数的获取方法,请参见[如何获取应用安装参数与启动参数](~~426045~~)。', - 'type' => 'string', - 'required' => false, - 'example' => '/q /n', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '266102', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'EnvironmentConfig', + 'name' => 'ResourceType', 'in' => 'formData', 'schema' => [ - 'title' => '环境配置。', - 'description' => '环境配置。', + 'title' => '资源类型。取值范围:'."\n" + .'AliUid:租户 '."\n" + .'AppId:应用ID'."\n" + .'AppInstanceGroupId:交付组'."\n" + .'WyId:用户', + 'description' => '云资源类型。', 'type' => 'string', - 'required' => false, + 'required' => true, + 'enumValueTitles' => ['AppId' => '应用ID', 'WyId' => '无影用户唯一ID', 'AppInstanceGroupId' => '交付组ID', 'AliUid' => '租户ID'], + 'example' => 'AppInstanceGroupId', ], ], [ - 'name' => 'AppInstanceGroupIdList', + 'name' => 'ResourceIds', 'in' => 'formData', 'style' => 'repeatList', 'schema' => [ - 'description' => '交付组列表。'."\n" - ."\n" - .'> - 当传入本参数时,仅会在参数指定的且已授权的交付组中分配应用实例。'."\n" - .'> - 当传入`AppInstanceId`或`AppInstancePersistentId `参数时,本参数必填。', + 'title' => '资源ID列表,最多支持50个。'."\n" + .'资源类型为租户的时候不需要指定。', + 'description' => '资源ID列表,最多支持50个。资源类型为租户ID时不需要指定。', 'type' => 'array', - 'items' => [ - 'description' => '交付组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'aig-4xz0oy8x4ipyv****', - ], - 'required' => false, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'AppInstancePersistentId', - 'in' => 'formData', - 'schema' => [ - 'description' => '持久会话ID。', - 'type' => 'string', + 'items' => ['title' => '资源ID。', 'description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-001', 'maxLength' => 64, 'minLength' => 1], 'required' => false, - 'example' => 'p-0bxls9m3cl7s****', + 'maxItems' => 50, + 'minItems' => 0, ], ], [ - 'name' => 'AppInstanceId', + 'name' => 'Scope', 'in' => 'formData', 'schema' => [ - 'description' => '应用实例ID。'."\n" - ."\n" - .'> '."\n" - .'> - 当传入本参数时,仅会尝试分配参数所指定的应用实例。'."\n" - .'> - 当传入本参数时,必须同时传入`AppInstanceGroupIdList`参数,且`AppInstanceGroupIdList`中交付组ID的数量为1。', + 'title' => '标签类型。取值范围:'."\n" + .'Custom:自定义标签。'."\n" + .'System:系统标签。'."\n" + .'All:全部标签。'."\n" + .'默认值:All。', + 'description' => '标签类型。', 'type' => 'string', 'required' => false, - 'example' => 'ai-1rznfnrvsa99d****', + 'enumValueTitles' => ['All' => '全部标签 [默认值]', 'Custom' => '自定义标签', 'System' => '系统标签'], + 'example' => 'Custom', + 'maxLength' => 20, + 'minLength' => 0, + 'enum' => ['Custom', 'System', 'All'], ], ], [ - 'name' => 'AccessType', + 'name' => 'MaxResults', 'in' => 'formData', - 'schema' => [ - 'title' => '接入类型,不传表示两种都显示。'."\n" - .'取值范围:'."\n" - .'互联网:INTERNET'."\n" - .'专线:VPC', - 'description' => '接入类型,不传表示两种都显示。'."\n" - .'取值范围:'."\n" - .'互联网:INTERNET'."\n" - .'专线:VPC', - 'type' => 'string', - 'required' => false, - 'example' => 'INTERNET', - 'maxLength' => 10, - 'minLength' => 0, - 'default' => 'INTERNET', - 'enum' => [ - 'INTERNET', - 'VPC', - ], - ], + 'schema' => ['title' => '分页时每页显示的数据行数。'."\n" + .'最大值:1000。默认值:50。', 'description' => '分页时每页显示的数据行数。'."\n" + .'最大值:1000。默认值:50。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '1000', 'minimum' => '1', 'example' => '50', 'default' => '50'], ], [ - 'name' => 'AppPolicyId', + 'name' => 'NextToken', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['title' => '下一个查询开始的 Token。', 'description' => '下一个查询开始的 Token。', 'type' => 'string', 'required' => false, 'example' => 'ptnJAAAAAAAxNzE5OTEwNQ=='], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => '返回信息集合。', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'TaskStatus' => [ - 'description' => '任务状态。', - 'type' => 'string', - 'enumValueTitles' => [ - 'Finished' => '已完成', - 'Failed' => '已失败', - 'Running' => '执行中', - ], - 'example' => 'Running', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'f3d1b31c-605e-4d04-a896****', - ], - 'BizRegionId' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'Ticket' => [ - 'description' => '连接云应用的凭证。'."\n" - .'> 非首次调用时显示此参数。', - 'type' => 'string', - 'example' => 'DQpbRGVza3RvcF0NCkZvcmNlVGxzVHlwZT0xDQpHV1Rva2VuUGFydDE9MDAva09ROW1FUTU3dU****', - ], - 'AppInstanceGroupId' => [ - 'description' => '交付组ID。', - 'type' => 'string', - 'example' => 'aig-53fvrq1oan****', - ], - 'AppInstancePersistentId' => [ - 'description' => '持久会话ID。', - 'type' => 'string', - 'example' => 'p-0bxls9m3cl7s****', - ], - 'AppInstanceId' => [ - 'description' => '应用实例ID。', - 'type' => 'string', - 'example' => 'ai-7ybdeiyoeh5e****', - ], - 'OsType' => [ - 'description' => '操作系统类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'Windows' => 'Windows操作系统', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'NextToken' => ['title' => '根据NextToken判断是否具备下一个查询开始的 Token。', 'description' => '根据NextToken判断是否具备下一个查询开始的 Token。', 'type' => 'string', 'example' => 'AAAAAYRHtOLVQzCYj17y+OP7LZRrUJaF4rnBGQkWwMiVHlLZBB1w3Us37CVvhvyM0TXavA=='], + 'TotalCount' => ['title' => '总数。', 'description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'], + 'ResourceTags' => [ + 'title' => '资源绑定的标签信息列表。', + 'description' => '资源绑定的标签信息列表。', + 'type' => 'array', + 'items' => [ + 'title' => '资源绑定的标签信息。', + 'description' => '资源绑定的标签信息。', + 'type' => 'object', + 'properties' => [ + 'ResourceType' => [ + 'title' => '资源类型。取值范围:'."\n" + .'AliUid:租户 '."\n" + .'AppId:应用ID'."\n" + .'AppInstanceGroupId:交付组'."\n" + .'WyId:用户', + 'description' => '云资源类型。', + 'type' => 'string', + 'enumValueTitles' => ['AppId' => '应用ID', 'WyId' => '无影用户唯一ID', 'AppInstanceGroupId' => '交付组ID', 'AliUid' => '租户ID'], + 'example' => 'AppInstanceGroupId', + ], + 'ResourceId' => ['title' => '资源ID。', 'description' => '资源ID。', 'type' => 'string', 'example' => 'aig-0001'], + 'Tags' => [ + 'title' => '标签信息列表。', + 'description' => '标签信息列表。', + 'type' => 'array', + 'items' => [ + 'title' => '标签信息。', + 'description' => '标签信息。', + 'type' => 'object', + 'properties' => [ + 'Key' => ['title' => '标签键', 'description' => '标签键。', 'type' => 'string', 'example' => 'Resolution'], + 'Value' => ['title' => '标签值', 'description' => '标签值。', 'type' => 'string', 'example' => '1080p'], + 'Scope' => [ + 'title' => '标签类型。取值范围:'."\n" + .'Custom:自定义标签。'."\n" + .'System:系统标签。', + 'description' => '标签类型。', + 'type' => 'string', + 'enumValueTitles' => ['Custom' => '自定义标签', 'System' => '系统标签'], + 'example' => 'Custom', + ], + ], + ], + ], + ], ], - 'example' => 'Windows', - ], - 'TenantId' => [ - 'description' => '租户ID(阿里云账号UID)。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '148871678899****', - ], - 'AvatarId' => [ - 'title' => '分身ID。', - 'description' => '分身ID。', - 'type' => 'string', ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 500 => [ + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'Service unavailable. Please try again later.', 'description' => '服务不可用,请稍后再试。'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TaskStatus\\": \\"Running\\",\\n \\"TaskId\\": \\"f3d1b31c-605e-4d04-a896****\\",\\n \\"BizRegionId\\": \\"cn-hangzhou\\",\\n \\"Ticket\\": \\"DQpbRGVza3RvcF0NCkZvcmNlVGxzVHlwZT0xDQpHV1Rva2VuUGFydDE9MDAva09ROW1FUTU3dU****\\",\\n \\"AppInstanceGroupId\\": \\"aig-53fvrq1oan****\\",\\n \\"AppInstancePersistentId\\": \\"p-0bxls9m3cl7s****\\",\\n \\"AppInstanceId\\": \\"ai-7ybdeiyoeh5e****\\",\\n \\"OsType\\": \\"Windows\\",\\n \\"TenantId\\": 0,\\n \\"AvatarId\\": \\"\\"\\n}","type":"json"}]', - 'title' => '获取云应用连接凭证', - 'description' => '本接口需要多次调用(至少两次)才能最终获得连接凭证。'."\n" - ."\n" - .'第一次调用,会为指定的便捷账号分配应用实例,并启动应用。返回启动任务ID(`TaskID`)。'."\n" - ."\n" - .'后续调用,需要在请求参数中传入`TaskID`参数,查询任务是否结束,当返回的任务状态(`TaskStatus`)为已完成(`Finished`)时,会同时返回连接凭证(`Ticket`)。', - ], - 'Unbind' => [ - 'summary' => '解绑用户和会话。', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"NextToken\\": \\"AAAAAYRHtOLVQzCYj17y+OP7LZRrUJaF4rnBGQkWwMiVHlLZBB1w3Us37CVvhvyM0TXavA==\\",\\n \\"TotalCount\\": 15,\\n \\"ResourceTags\\": [\\n {\\n \\"ResourceType\\": \\"AppInstanceGroupId\\",\\n \\"ResourceId\\": \\"aig-0001\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"Resolution\\",\\n \\"Value\\": \\"1080p\\",\\n \\"Scope\\": \\"Custom\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询云资源的标签列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'appstreaming:ListTagCloudResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListTenantConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - ], - 'parameters' => [ - [ - 'name' => 'ProductType', - 'in' => 'formData', - 'schema' => [ - 'description' => '产品类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], - 'example' => 'CloudApp', - ], - ], - [ - 'name' => 'EndUserId', - 'in' => 'formData', - 'schema' => [ - 'description' => '用户名。', - 'type' => 'string', - 'required' => true, - 'example' => 'alice', - ], - ], - [ - 'name' => 'AppInstanceGroupId', - 'in' => 'formData', - 'schema' => [ - 'description' => '交付组ID。可调用[GetConnectionTicket](~~609336~~)接口获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-9ciijz60n4xsv****', - ], - ], - [ - 'name' => 'AppInstancePersistentId', - 'in' => 'formData', - 'schema' => [ - 'description' => '持久会话ID。可调用[GetConnectionTicket](~~609336~~)接口获取。', - 'type' => 'string', - 'required' => false, - 'example' => 'p-0bxls9m3cl7s****', - ], - ], - [ - 'name' => 'AppInstanceId', - 'in' => 'formData', - 'schema' => [ - 'description' => '会话ID。可调用[GetConnectionTicket](~~609336~~)接口获取。', - 'type' => 'string', - 'required' => false, - 'example' => 'ai-d297eyf83g5ni****', - ], - ], + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], ], + 'parameters' => [], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ - 'title' => 'Schema of Response', + 'title' => 'PlainResult<ListAliUserPropertyModel>', 'description' => '返回信息集合。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'TenantConfigModel' => [ + 'description' => '用户配置信息。', + 'type' => 'object', + 'properties' => [ + 'AppInstanceGroupExpireRemind' => [ + 'description' => '是否开启资源到期提醒。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '不开启'], + 'example' => 'true', + ], + 'MultiSessionSupportType' => [ + 'type' => 'string', + 'example' => 'None', + 'maxLength' => 16, + 'minLength' => 0, + 'default' => 'None', + 'enum' => ['All', 'Specific', 'None'], + ], + 'MultiSessionSupportedRegions' => [ + 'type' => 'array', + 'items' => ['type' => 'string'], + ], + ], ], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', - 'title' => '解绑用户和会话', - ], - 'ListBindInfo' => [ - 'summary' => '查询用户与资源之间的绑定信息。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询管理员账号配置信息', + 'summary' => '查询管理员账号配置信息,例如是否已开启资源到期提醒。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTenantConfig'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListTenantConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TenantConfigModel\\": {\\n \\"AppInstanceGroupExpireRemind\\": true,\\n \\"MultiSessionSupportType\\": \\"None\\",\\n \\"MultiSessionSupportedRegions\\": [\\n \\"\\"\\n ]\\n }\\n}","type":"json"}]', + ], + 'ListWuyingServer' => [ + 'summary' => '查询工作站列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', - 'abilityTreeCode' => '262111', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingV87T4P', - ], + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], ], 'parameters' => [ [ - 'name' => 'UserIdList', + 'name' => 'PageSize', 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '用户ID列表。可以传入1\\~100个ID。'."\n" - ."\n" - .'> 当传入本参数时,仅会返回指定的用户的绑定信息。', - 'type' => 'array', - 'items' => [ - 'description' => '用户ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'Alice', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['title' => '分页大小。', 'description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '100', 'default' => '20'], ], [ - 'name' => 'WyIdList', + 'name' => 'PageNumber', 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '无影用户ID列表。可以传入1\\~100个ID。'."\n" - ."\n" - .'> 当传入本参数时,仅会返回指定的无影用户的绑定信息。', - 'type' => 'array', - 'items' => [ - 'description' => '无影用户ID。', - 'type' => 'string', - 'required' => false, - 'example' => '2ca6f5a93536****', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['title' => '页码。', 'description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'AppInstanceGroupIdList', + 'name' => 'ProductType', 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '交付组ID列表。可以传入1\\~100个ID。'."\n" - ."\n" - .'> 当传入本参数时,仅会返回指定的交付组的绑定信息。', - 'type' => 'array', - 'items' => [ - 'description' => '交付组ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'aig-4xz0oy8x4ipyv****', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['title' => '产品类型。', 'type' => 'string', 'example' => 'wuying_server'], ], [ - 'name' => 'AppInstanceIdList', + 'name' => 'BizType', 'in' => 'formData', - 'style' => 'repeatList', + 'schema' => ['title' => '业务类型。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + [ + 'name' => 'WuyingServerNameOrId', + 'in' => 'formData', + 'schema' => ['title' => '研发主机名称或ID,支持模糊搜索。', 'description' => '工作站名称或工作站ID。', 'type' => 'string', 'required' => false, 'example' => 'exampleServerName'], + ], + [ + 'name' => 'WuyingServerIdList', + 'in' => 'formData', + 'style' => 'flat', 'schema' => [ - 'description' => '应用实例ID列表。可以传入1\\~100个ID。'."\n" - ."\n" - .'> 当传入本参数时,仅会返回指定的应用实例的绑定信息。', + 'description' => '工作站ID列表。', 'type' => 'array', - 'items' => [ - 'description' => '应用实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ai-azn3kmwruh1vl****', - ], + 'items' => ['description' => '工作站ID。', 'type' => 'string', 'required' => false, 'example' => 'ws-0bydg****2lwi'], 'required' => false, - 'maxItems' => 100, + 'title' => '研发主机ID列表。', + 'example' => 'aig-bp1234567890abcde', ], ], [ - 'name' => 'AppIdList', + 'name' => 'ServerInstanceType', 'in' => 'formData', - 'style' => 'repeatList', + 'schema' => ['title' => '实例规格。', 'description' => '工作站规格。', 'type' => 'string', 'required' => false, 'example' => 'eds.proworkstation_flagship_elite.32c64g.48g1x'], + ], + [ + 'name' => 'ImageId', + 'in' => 'formData', + 'schema' => ['title' => '镜像ID。', 'description' => '镜像ID。', 'type' => 'string', 'required' => false, 'example' => 'img-bp13mu****'], + ], + [ + 'name' => 'BizRegionId', + 'in' => 'formData', + 'schema' => ['title' => '地域ID。', 'description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'OfficeSiteId', + 'in' => 'formData', + 'schema' => ['title' => '工作区ID。', 'description' => '办公网络ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou+dir-172301****'], + ], + [ + 'name' => 'ChargeType', + 'in' => 'formData', + 'schema' => ['title' => '付费类型。', 'description' => '付费类型。', 'type' => 'string', 'required' => false, 'example' => 'PrePaid'], + ], + [ + 'name' => 'VirtualNodePoolId', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => false, 'title' => '虚拟节点池ID。', 'example' => 'vnp-bp1234567890abcde', 'description' => '虚拟节点池ID。'], + ], + [ + 'name' => 'AddVirtualNodePoolStatusList', + 'in' => 'formData', + 'style' => 'flat', 'schema' => [ - 'description' => '应用ID列表。可以传入1\\~100个ID。'."\n" - ."\n" - .'> 当传入本参数时,仅会返回指定的应用的绑定信息。', 'type' => 'array', - 'items' => [ - 'description' => '应用ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ca-fq738or6vd854****', - ], + 'items' => ['type' => 'string', 'required' => false, 'description' => ''], 'required' => false, - 'maxItems' => 100, + 'title' => '加入虚拟节点池状态列表。', + 'example' => 'Added', + 'description' => '加入虚拟节点池状态列表。', ], ], [ - 'name' => 'PageSize', + 'name' => 'Status', 'in' => 'formData', - 'schema' => [ - 'description' => '每页的查询结果数量,不可超过`100`。默认值为`20`。建议填写该参数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '10', - 'default' => '20', - ], + 'schema' => ['title' => '研发主机状态。', 'description' => '工作站状态。', 'type' => 'string', 'required' => false, 'example' => 'RUNNING'], ], [ - 'name' => 'PageNumber', + 'name' => 'Users', 'in' => 'formData', + 'style' => 'flat', 'schema' => [ - 'description' => '需展示的查询结果页码。默认值为`1`。建议填写该参数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '1', - 'example' => '1', - 'default' => '1', + 'title' => '授权用户列表。', + 'type' => 'array', + 'items' => ['type' => 'string'], + 'example' => 'user1', ], ], ], @@ -8174,199 +8026,239 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'AD2D0761-1FE5-549D-B169-D3F8D19C****', - ], - 'TotalCount' => [ - 'description' => '查询结果的总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', - ], - 'PageSize' => [ - 'description' => '每页的查询结果数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'description' => '当前展示的查询结果页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'BindInfoModels' => [ - 'description' => '返回的绑定信息列表。', + 'RequestId' => ['title' => '请求ID。', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'TotalCount' => ['title' => '总数量。', 'description' => '总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'], + 'PageSize' => ['title' => '分页大小。', 'description' => '分页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PageNumber' => ['title' => '页码。', 'description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'WuyingServerList' => [ + 'description' => '工作站信息列表。', 'type' => 'array', 'items' => [ - 'description' => '返回的绑定信息。', 'type' => 'object', 'properties' => [ - 'AppId' => [ - 'description' => '应用ID。', - 'type' => 'string', - 'example' => 'ca-fq738or6vd854****', - ], - 'AppVersion' => [ - 'description' => '应用版本号。', - 'type' => 'string', - 'example' => '1.0', + 'AliUid' => ['title' => '租户UID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1234567890123456'], + 'WuyingServerId' => ['description' => '工作站ID。', 'type' => 'string', 'example' => 'ws-0byd****8wn2lwi', 'title' => '研发主机ID。'], + 'WuyingServerName' => ['description' => '工作站名称。', 'type' => 'string', 'example' => 'exampleServerName', 'title' => '研发主机名称。'], + 'Status' => ['description' => '工作站状态。', 'type' => 'string', 'example' => 'RUNNING', 'title' => '研发主机状态。'], + 'ServerInstanceTypeInfo' => [ + 'description' => '规格信息。', + 'type' => 'object', + 'properties' => [ + 'ServerInstanceType' => ['description' => '工作站规格。', 'type' => 'string', 'example' => 'eds.proworkstation_flagship_elite_ne.96c384g.192g4x', 'title' => '实例规格。'], + 'Cpu' => ['description' => 'vCPU数量。', 'type' => 'string', 'example' => '96', 'title' => 'CPU核数。'], + 'Memory' => ['description' => '内存大小,单位为MB。', 'type' => 'integer', 'format' => 'int32', 'example' => '393,216', 'title' => '内存大小,单位MB。'], + 'Gpu' => ['description' => 'GPU数量。', 'type' => 'string', 'example' => '4', 'title' => 'GPU'], + 'GpuMemory' => ['description' => '显存大小,单位为MB。', 'type' => 'integer', 'format' => 'int32', 'example' => '196,608', 'title' => 'GPU显存大小,单位MB。'], + 'GpuSpec' => ['title' => 'GPU规格描述。', 'type' => 'string', 'example' => 'NVIDIA T4'], + ], + 'title' => '实例规格信息。', ], - 'RegionId' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-shanghai', + 'SystemDiskSize' => ['description' => '系统盘大小,单位为GB。', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => '系统盘大小,单位GB。'], + 'SystemDiskCategory' => ['description' => '系统盘类型。', 'type' => 'string', 'example' => 'cloud_auto', 'title' => '系统盘类型。'], + 'SystemDiskPerformanceLevel' => ['description' => '系统盘性能等级。', 'type' => 'string', 'example' => 'PL0', 'title' => '系统盘性能等级。'], + 'DataDisk' => [ + 'description' => '数据盘列表。', + 'type' => 'array', + 'items' => [ + 'description' => '数据盘信息。', + 'type' => 'object', + 'properties' => [ + 'DataDiskSize' => ['description' => '数据盘大小,单位为GB。', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => '数据盘大小,单位GB。'], + 'DataDiskCategory' => ['description' => '数据盘类型。', 'type' => 'string', 'example' => 'cloud_auto', 'title' => '数据盘类型。'], + 'DataDiskPerformanceLevel' => ['description' => '数据盘性能等级。', 'type' => 'string', 'example' => 'PL0', 'title' => '数据盘性能等级。'], + 'DataDiskId' => ['title' => '数据盘ID。', 'type' => 'string', 'example' => 'd-bp1234567890abcde'], + 'DataDiskNo' => ['title' => '数据盘序号。', 'type' => 'string', 'example' => '1'], + ], + ], + 'title' => '数据盘列表。', + ], + 'ImageId' => ['description' => '镜像ID。', 'type' => 'string', 'example' => 'imgc-06****oagaev', 'title' => '镜像ID。'], + 'ImageName' => ['description' => '镜像名称。', 'type' => 'string', 'example' => 'Alibaba Cloud Linux 3.2104 LTS 64位', 'title' => '镜像名称。'], + 'OsType' => ['description' => '操作系统类型。', 'type' => 'string', 'example' => 'Linux', 'title' => '操作系统类型。'], + 'BizRegionId' => ['description' => '地域。', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => '地域ID。'], + 'OfficeSiteId' => ['description' => '办公网络ID。', 'type' => 'string', 'example' => 'cn-hangzhou+dir-1b****ayv2', 'title' => '工作区ID。'], + 'OfficeSiteName' => ['description' => '办公网络名称。', 'type' => 'string', 'example' => 'exampleOfficeSite', 'title' => '工作区名称。'], + 'OfficeSiteType' => ['description' => '办公网络类型。', 'type' => 'string', 'example' => 'SIMPLE', 'title' => '工作区类型。'], + 'NetworkInterfaceIp' => ['description' => '内网IP。', 'type' => 'string', 'example' => '10.80.21.149', 'title' => '内网IP。'], + 'ChargeType' => ['description' => '付费方式。', 'type' => 'string', 'example' => 'PrePaid', 'title' => '付费类型。'], + 'CreateTime' => ['description' => '创建时间。', 'type' => 'string', 'example' => '2025-08-02T16:52:11.000+00:00', 'title' => '创建时间。'], + 'ExpiredTime' => ['description' => '到期时间。', 'type' => 'string', 'example' => '2025-09-03T16:00:00.000+00:00', 'title' => '到期时间。'], + 'VirtualNodePoolId' => ['type' => 'string', 'title' => '虚拟节点池ID。', 'example' => 'vnp-bp1234567890abcde', 'description' => '虚拟节点池ID。'], + 'AddVirtualNodePoolStatus' => ['type' => 'string', 'title' => '加入虚拟节点池状态。', 'example' => 'Added', 'description' => '加入虚拟节点池状态。'], + 'SubPayType' => ['title' => '子付费类型。', 'type' => 'string', 'example' => 'spot'], + 'MaxPrice' => ['title' => '抢占式实例最大价格。', 'type' => 'number', 'format' => 'float', 'example' => '0.5'], + 'VirtualKubeletIp' => ['title' => 'Virtual Kubelet节点IP。', 'type' => 'string', 'example' => '10.0.0.100'], + 'ResourceSessionStatus' => ['title' => '资源会话状态。', 'type' => 'string', 'example' => 'Connected'], + 'Bandwidth' => ['title' => '带宽大小,单位Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'FotaVersion' => ['title' => 'FOTA版本号。', 'type' => 'string', 'example' => '2.0.0'], + 'TimerGroupId' => ['title' => '定时任务组ID。', 'type' => 'string', 'example' => 'tg-bp1234567890abcde'], + 'SystemDiskId' => ['title' => '系统盘ID。', 'type' => 'string', 'example' => 'd-bp1234567890abcde'], + 'InstanceInfoList' => [ + 'description' => '工作站实例信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'p-0ceitx****c5', 'title' => '实例ID。'], + 'NetworkInterfaceId' => ['description' => '网卡ID。', 'type' => 'string', 'example' => 'eni-uf65b****dfnt3wb', 'title' => '弹性网卡ID。'], + ], + 'title' => '实例信息。', + 'description' => '实例信息。', + ], + 'title' => '实例信息列表。', ], - 'UserId' => [ - 'description' => '用户ID。', - 'type' => 'string', - 'example' => 'Alice', + 'SecurityGroupIds' => [ + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => ''], + 'title' => '安全组ID列表。', + 'description' => '安全组ID列表。', ], - 'WyId' => [ - 'description' => '无影用户ID。', - 'type' => 'string', - 'example' => '2ca6f5a93536****', + 'Users' => [ + 'title' => '授权用户列表。', + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'AccountType' => [ - 'description' => '账号类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'ad' => 'AD域账号', - 'simple' => '便捷账号', + 'Sessions' => [ + 'title' => '会话列表。', + 'type' => 'array', + 'items' => [ + 'title' => '会话信息。', + 'type' => 'object', + 'properties' => [ + 'ResourceSessionStartTime' => ['title' => '会话开始时间。', 'type' => 'string', 'example' => '2026-01-01T08:00:00Z'], + 'UserId' => ['title' => '用户ID。', 'type' => 'string', 'example' => 'user1'], + ], ], - 'example' => 'simple', - ], - 'AppInstanceGroupId' => [ - 'description' => '交付组ID。', - 'type' => 'string', - 'example' => 'aig-0abxhr6ce35w8****', ], - 'AppInstanceId' => [ - 'description' => '应用实例ID。', - 'type' => 'string', - 'example' => 'ai-83oe276fre4l3****', + 'PolicyGroupIdList' => [ + 'title' => '策略组ID列表。', + 'type' => 'array', + 'items' => ['type' => 'string'], ], - 'ProductType' => [ - 'description' => '产品类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'CloudApp' => '云应用', - 'CloudBrowser' => '云浏览器', - 'AndroidCloud' => '云手机', + 'VkVersion' => ['title' => 'Virtual Kubelet 版本', 'type' => 'string', 'example' => '1.0.0'], + 'VkUpgradeNeeded' => ['title' => '是否需要升级VirtualKubelet', 'type' => 'boolean'], + 'EniPrivateIpAddressQuantity' => ['title' => '单块网卡私有IP地址上限(含主IP)。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'PrivateIpSets' => [ + 'title' => '私有IP集合(含主IP和辅助IP)。', + 'type' => 'array', + 'items' => [ + 'title' => '私有IP信息。', + 'type' => 'object', + 'properties' => [ + 'PrivateIpAddress' => ['title' => '私有IP地址。', 'type' => 'string', 'example' => '10.0.0.1'], + 'Primary' => ['title' => '是否为主私有IP。true表示主私有IP,false表示辅助私有IP。', 'type' => 'boolean', 'example' => 'true'], + ], ], - 'example' => 'CloudApp', ], ], + 'description' => '', ], + 'title' => '研发主机列表。', ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD2D0761-1FE5-549D-B169-D3F8D19C****\\",\\n \\"TotalCount\\": 15,\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"BindInfoModels\\": [\\n {\\n \\"AppId\\": \\"ca-fq738or6vd854****\\",\\n \\"AppVersion\\": \\"1.0\\",\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"UserId\\": \\"Alice\\",\\n \\"WyId\\": \\"2ca6f5a93536****\\",\\n \\"AccountType\\": \\"simple\\",\\n \\"AppInstanceGroupId\\": \\"aig-0abxhr6ce35w8****\\",\\n \\"AppInstanceId\\": \\"ai-83oe276fre4l3****\\",\\n \\"ProductType\\": \\"CloudApp\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询绑定信息', - ], - 'CreateImageFromAppInstanceGroup' => [ - 'summary' => '通过调试交付组创建新镜像。', - 'methods' => [ - 'get', - 'post', + 'title' => '查询工作站', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'appstreaming:ListWuyingServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TotalCount\\": 15,\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"WuyingServerList\\": [\\n {\\n \\"AliUid\\": 1234567890123456,\\n \\"WuyingServerId\\": \\"ws-0byd****8wn2lwi\\",\\n \\"WuyingServerName\\": \\"exampleServerName\\",\\n \\"Status\\": \\"RUNNING\\",\\n \\"ServerInstanceTypeInfo\\": {\\n \\"ServerInstanceType\\": \\"eds.proworkstation_flagship_elite_ne.96c384g.192g4x\\",\\n \\"Cpu\\": \\"96\\",\\n \\"Memory\\": 0,\\n \\"Gpu\\": \\"4\\",\\n \\"GpuMemory\\": 0,\\n \\"GpuSpec\\": \\"NVIDIA T4\\"\\n },\\n \\"SystemDiskSize\\": 100,\\n \\"SystemDiskCategory\\": \\"cloud_auto\\",\\n \\"SystemDiskPerformanceLevel\\": \\"PL0\\",\\n \\"DataDisk\\": [\\n {\\n \\"DataDiskSize\\": 200,\\n \\"DataDiskCategory\\": \\"cloud_auto\\",\\n \\"DataDiskPerformanceLevel\\": \\"PL0\\",\\n \\"DataDiskId\\": \\"d-bp1234567890abcde\\",\\n \\"DataDiskNo\\": \\"1\\"\\n }\\n ],\\n \\"ImageId\\": \\"imgc-06****oagaev\\",\\n \\"ImageName\\": \\"Alibaba Cloud Linux 3.2104 LTS 64位\\",\\n \\"OsType\\": \\"Linux\\",\\n \\"BizRegionId\\": \\"cn-hangzhou\\",\\n \\"OfficeSiteId\\": \\"cn-hangzhou+dir-1b****ayv2\\",\\n \\"OfficeSiteName\\": \\"exampleOfficeSite\\",\\n \\"OfficeSiteType\\": \\"SIMPLE\\",\\n \\"NetworkInterfaceIp\\": \\"10.80.21.149\\",\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"CreateTime\\": \\"2025-08-02T16:52:11.000+00:00\\",\\n \\"ExpiredTime\\": \\"2025-09-03T16:00:00.000+00:00\\",\\n \\"VirtualNodePoolId\\": \\"vnp-bp1234567890abcde\\",\\n \\"AddVirtualNodePoolStatus\\": \\"Added\\",\\n \\"SubPayType\\": \\"spot\\",\\n \\"MaxPrice\\": 0.5,\\n \\"VirtualKubeletIp\\": \\"10.0.0.100\\",\\n \\"ResourceSessionStatus\\": \\"Connected\\",\\n \\"Bandwidth\\": 10,\\n \\"FotaVersion\\": \\"2.0.0\\",\\n \\"TimerGroupId\\": \\"tg-bp1234567890abcde\\",\\n \\"SystemDiskId\\": \\"d-bp1234567890abcde\\",\\n \\"InstanceInfoList\\": [\\n {\\n \\"InstanceId\\": \\"p-0ceitx****c5\\",\\n \\"NetworkInterfaceId\\": \\"eni-uf65b****dfnt3wb\\"\\n }\\n ],\\n \\"SecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"Users\\": [\\n \\"\\"\\n ],\\n \\"Sessions\\": [\\n {\\n \\"ResourceSessionStartTime\\": \\"2026-01-01T08:00:00Z\\",\\n \\"UserId\\": \\"user1\\"\\n }\\n ],\\n \\"PolicyGroupIdList\\": [\\n \\"\\"\\n ],\\n \\"VkVersion\\": \\"1.0.0\\",\\n \\"VkUpgradeNeeded\\": true,\\n \\"EniPrivateIpAddressQuantity\\": 10,\\n \\"PrivateIpSets\\": [\\n {\\n \\"PrivateIpAddress\\": \\"10.0.0.1\\",\\n \\"Primary\\": true\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'LogOffAllSessionsInAppInstanceGroup' => [ + 'summary' => '注销已开启定时扩缩容策略的按量付费交付组下所有会话。', + 'methods' => ['post', 'get'], + 'schemes' => ['https', 'http'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'ProductType', 'in' => 'formData', 'schema' => [ + 'title' => '产品类型', 'description' => '产品类型。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], + 'enumValueTitles' => ['CloudApp' => '无影云应用'], 'example' => 'CloudApp', ], ], [ - 'name' => 'AppCenterImageName', - 'in' => 'formData', - 'schema' => [ - 'description' => '应用镜像名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'test_name', - ], - ], - [ 'name' => 'AppInstanceGroupId', 'in' => 'formData', - 'schema' => [ - 'description' => '交付组ID。可调用[ListAppInstanceGroup](~~428506~~)接口获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-9ciijz60n4xsv****', - ], + 'schema' => ['title' => '实例组id', 'description' => '交付组ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-9ciijz60n4xsv****'], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ - 'title' => 'Schema of Response', + 'title' => 'BaseResult', 'description' => '返回信息集合。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'ImageId' => [ - 'description' => '镜像ID。', - 'type' => 'string', - 'example' => 'img-bp13mu****', - ], + 'Code' => ['description' => '出错时的错误码。', 'type' => 'string', 'example' => 'InvalidParameter.ProductType'], + 'Message' => ['description' => '出错时的错误消息。', 'type' => 'string', 'example' => 'The parameter ProductType is invalid.'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"ImageId\\": \\"img-bp13mu****\\"\\n}","type":"json"}]', - 'title' => '通过调试交付组创建新镜像', - ], - 'GetDebugAppInstance' => [ - 'summary' => '获取调试应用实例信息。', - 'methods' => [ - 'get', - 'post', + 'title' => '注销交付组下所有会话', + 'description' => '> 本接口仅适用于已启用定时扩缩容策略的按量付费资源交付组,且仅可在定时扩缩容策略中设置的扩缩容时间段以外的时间调用成功。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'LogOffAllSessionsInAppInstanceGroup'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:LogOffAllSessionsInAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"InvalidParameter.ProductType\\",\\n \\"Message\\": \\"The parameter ProductType is invalid.\\",\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'ModifyAppInstanceGroupAttribute' => [ + 'summary' => '修改交付组的通用策略,包括并发会话数、会话断连保留时长等。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -8374,1735 +8266,1735 @@ ], 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', + 'abilityTreeCode' => '134213', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], ], 'parameters' => [ [ 'name' => 'ProductType', - 'in' => 'formData', + 'in' => 'query', 'schema' => [ 'description' => '产品类型。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'CloudApp' => '无影云应用', - ], + 'enumValueTitles' => ['CloudApp' => '无影云应用'], 'example' => 'CloudApp', ], ], [ 'name' => 'AppInstanceGroupId', - 'in' => 'formData', + 'in' => 'query', + 'schema' => ['description' => '交付组ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-9ciijz60n4xsv****'], + ], + [ + 'name' => 'AppInstanceGroupName', + 'in' => 'query', + 'schema' => ['description' => '交付组名称。', 'type' => 'string', 'required' => false, 'example' => '办公应用'], + ], + [ + 'name' => 'SessionTimeout', + 'in' => 'query', + 'schema' => ['description' => '会话断连保留时长,单位为分钟。终端用户会话断开连接后,会话将保留此处设置的时长,然后再注销。如果始终保留,则填写`-1`。取值范围:-1和3~300。默认值为`15`。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '300', 'example' => '15'], + ], + [ + 'name' => 'NodePool', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '交付组ID。可通过`listAppInstanceGroup`接口获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-9ciijz60n4xsv****', + 'description' => '资源组对象。', + 'type' => 'object', + 'properties' => [ + 'NodePoolId' => ['description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-ew7va2g1wl3vm****'], + 'NodeCapacity' => ['description' => '并发会话数,即单个资源可同时连接的会话数。如果同时连接的会话数过多,可能导致应用的使用体验下降。取值范围因资源规格不同而不同。各资源规格对应的取值范围可通过ListNodeInstanceType接口获取。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'], + ], + 'required' => false, ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'StoragePolicy', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回信息集合。', + 'description' => '存储策略。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'AppInstanceGroupId' => [ - 'description' => '交付组ID。', - 'type' => 'string', - 'example' => 'aig-9ciijz60n4xsv****', - ], - 'AppInstanceId' => [ - 'description' => '应用实例ID。', - 'type' => 'string', - 'example' => 'ai-7ybdeiyoeh5e****', - ], - 'AppId' => [ - 'description' => '应用ID。', - 'type' => 'string', - 'example' => '__DEBUG_APP', - ], - 'UserId' => [ - 'description' => '用户ID。', - 'type' => 'string', - 'example' => '__debug__', + 'StorageTypeList' => [ + 'description' => '存储类型列表。', + 'type' => 'array', + 'items' => [ + 'description' => '存储类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['OFF' => '关闭', 'PDS' => '网盘与相册服务(Drive and Photo Service)'], + 'example' => 'PDS', + ], + 'required' => false, ], - 'AuthCode' => [ - 'description' => '授权码。该授权码有效期为3分钟,且无论校验成功或失败,只能被使用一次。当为一个用户生成多个授权码时,只有最后一次生成的有效。', - 'type' => 'string', - 'example' => 'e4e169bea1cc48e8afac53**********', + 'UserProfileFollow' => [ + 'type' => 'object', + 'properties' => [ + 'ProfileFollowSwitch' => ['type' => 'boolean', 'required' => false], + 'FileSystemId' => ['type' => 'string', 'required' => false], + ], + 'required' => false, ], - 'AppVersion' => [ - 'description' => '应用版本ID。', - 'type' => 'string', - 'example' => '1.1', + 'UserProfile' => [ + 'description' => '用户数据漫游配置。', + 'type' => 'object', + 'properties' => [ + 'UserProfileSwitch' => [ + 'description' => '用户数据漫游开关。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'FileSystemId' => ['description' => '用户数据存储系统ID(NAS ID)。', 'type' => 'string', 'required' => false, 'example' => '06ae94****'], + ], + 'required' => false, ], ], + 'required' => false, ], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"AppInstanceGroupId\\": \\"aig-9ciijz60n4xsv****\\",\\n \\"AppInstanceId\\": \\"ai-7ybdeiyoeh5e****\\",\\n \\"AppId\\": \\"__DEBUG_APP\\",\\n \\"UserId\\": \\"__debug__\\",\\n \\"AuthCode\\": \\"e4e169bea1cc48e8afac53**********\\",\\n \\"AppVersion\\": \\"1.1\\"\\n}","type":"json"}]', - 'title' => '获取调试应用实例信息', - 'responseParamsDescription' => '根据获得的返回参数,您可以拼接URL来获取建连信息。URL拼接示例:'."\n" - ."\n" - .'`<https://wuying.aliyun.com/appMyBank>?AppId=__DEBUG_APP&AppVersion=1.0&AppInstanceGroupId=aig-5wfetbb7aovy8****&Env=online&AppInstanceId=ai-c7ruhxqww38ws****&AuthCode=acv2j%2BqjU3GAIBVOz33KxdcVyHJ58Dc2N2GC3ZpWNu9Q3zX84cxbNJcPX5enF%2BPePBEgBHxvF28QQcUOjgMk5tHgQKbe%2FUXbIDfg83vN7C3XMzkXo8ByHepfSLQwFLdP4S83zA327ugaB1w1pNnDwhbSvkfRmTA3JOc%2FNEqNs6w%2FePg5NmS4bRhodpYkb4wL****`'."\n" - ."\n" - .'> `<https://wuying.aliyun.com/appMyBank>`需根据您的业务实际情况替换。', - ], - 'ListOtaTask' => [ - 'summary' => '查询OTA升级历史记录。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'SecurityPolicy', 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => '每页数量', - 'description' => '每页的查询结果数量。取值范围:1~100。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '10', + 'description' => '安全策略。', + 'type' => 'object', + 'properties' => [ + 'SkipUserAuthCheck' => [ + 'description' => '是否跳过用户授权校验。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '不校验', 'false' => '校验 [默认值]'], + 'example' => 'false', + ], + 'ResetAfterUnbind' => [ + 'description' => '解绑后是否重置。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '重置', 'false' => '不重置'], + 'example' => 'true', + ], + ], + 'required' => false, ], ], [ - 'name' => 'PageNumber', + 'name' => 'PreOpenMode', 'in' => 'formData', 'schema' => [ - 'title' => '页码', - 'description' => '当前展示的查询结果页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', + 'description' => '预开模式。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['SINGLE_APP' => '单应用预开', 'OFF' => '关闭预开[默认值]'], + 'example' => 'OFF', ], ], [ - 'name' => 'AppInstanceGroupId', + 'name' => 'PreOpenAppId', 'in' => 'formData', - 'schema' => [ - 'title' => '实例组id', - 'description' => '交付组ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-53fvrq1oanz6c****', - ], + 'schema' => ['description' => '预开应用的AppId。如果`PreOpenMode`参数为`SINGLE_APP`,则`PreOpenAppId`不能为空字符串。', 'type' => 'string', 'required' => false, 'example' => 'ca-b2ronxxd****'."\n"], ], [ - 'name' => 'OtaType', + 'name' => 'PerSessionPerApp', 'in' => 'formData', 'schema' => [ - 'title' => 'ota类型,取值:'."\n" - .'Fota : agent组件更新'."\n" - .'ImageUpdate : 镜像更新'."\n" - .'AppUpdate : 应用更新', - 'description' => 'OTA升级任务类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'Fota' => '无影系统组件更新', - ], - 'example' => 'Fota', - 'enum' => [ - 'Fota', - 'ImageUpdate', - 'AppUpdate', - ], + 'description' => '一个会话内只允许打开一个应用。'."\n" + .'- 开启后,如果打开交付组内的多个应用,将会为每个应用分配一个会话,消耗更多的会话数量', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', ], ], - ], - 'responses' => [ - 200 => [ - 'headers' => [], + [ + 'name' => 'Network', + 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回信息集合。', + 'description' => '网络配置。'."\n" + ."\n" + .'> 如需使用该参数,请提交工单。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'TotalCount' => [ - 'description' => 'OTA升级任务总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'PageSize' => [ - 'title' => '每页数量', - 'description' => '每页的查询结果数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'title' => '页码', - 'description' => '当前展示的查询结果页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TaskList' => [ - 'title' => 'AppInstanceGroupModels', - 'description' => 'OTA升级任务列表。', + 'DomainRules' => [ + 'description' => '域名规则配置。', 'type' => 'array', 'items' => [ - 'description' => 'OTA升级任务。', + 'description' => '域名规则。', 'type' => 'object', 'properties' => [ - 'OtaVersion' => [ - 'title' => 'ota版本,格式举例:0.0.1-R-20220708.110604', - 'description' => 'OTA版本。', - 'type' => 'string', - 'example' => '0.0.1-R-20220708.110604', - ], - 'TaskDisplayStatus' => [ - 'title' => '任务展示状态', - 'description' => '任务状态。', - 'type' => 'string', - 'enumValueTitles' => [ - 'FAILED' => '升级失败', - 'RUNNING' => '升级中', - 'TERMINATED' => '升级停止', - 'PART_FINISHED' => '升级成功', - 'STANDBY' => '等待升级', - 'FINISHED' => '升级成功', - ], - 'example' => 'RUNNING', - 'enum' => [ - 'STANDBY', - 'RUNNING', - 'FAILED', - 'TERMINATED', - 'FINISHED', - 'PART_FINISHED', - ], - ], - 'TaskStartTime' => [ - 'title' => '任务开始时间,ISO-8601格式', - 'description' => '任务开始时间,ISO 8601格式。', - 'type' => 'string', - 'format' => 'iso8601', - 'example' => '2022-08-04T14:36:00+08:00', - ], - 'TaskId' => [ - 'title' => '任务id', - 'description' => '任务ID。', + 'Domain' => ['description' => '域名。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'], + 'Policy' => [ + 'description' => '策略值。', 'type' => 'string', - 'example' => 'ota-be7jzm29wrrz5****', + 'required' => false, + 'enumValueTitles' => ['allow' => '允许访问', 'block' => '禁止访问'], + 'example' => 'block', ], ], + 'required' => false, ], + 'required' => false, ], ], + 'required' => false, ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TotalCount\\": 6,\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"TaskList\\": [\\n {\\n \\"OtaVersion\\": \\"0.0.1-R-20220708.110604\\",\\n \\"TaskDisplayStatus\\": \\"RUNNING\\",\\n \\"TaskStartTime\\": \\"2022-08-04T14:36:00+08:00\\",\\n \\"TaskId\\": \\"ota-be7jzm29wrrz5****\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询OTA升级历史记录', - ], - 'GetOtaTaskByTaskId' => [ - 'summary' => '查询OTA升级任务明细,包括可升级版本、版本说明等。', - 'methods' => [ - 'get', - 'post', + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'Code' => ['description' => '出错时的错误码。', 'type' => 'string', 'example' => 'InvalidParameter.ProductType'], + 'Message' => ['description' => '出错时的错误消息。', 'type' => 'string', 'example' => 'The parameter ProductType is invalid.'], + ], + ], + ], + ], + 'title' => '修改交付组通用策略', + 'changeSet' => [ + ['createdAt' => '2025-02-13T06:59:59.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-11-27T12:30:10.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-08-21T02:35:31.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-06-08T10:07:31.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-04-28T12:41:12.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-05-09T14:31:31.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2022-05-09T14:31:31.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyAppInstanceGroupAttribute'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ModifyAppInstanceGroupAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Code\\": \\"InvalidParameter.ProductType\\",\\n \\"Message\\": \\"The parameter ProductType is invalid.\\"\\n}","type":"json"}]', + ], + 'ModifyAppPolicy' => [ + 'summary' => '修改交付组显示策略,包括帧率、分辨率、协议类型等设置。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'TaskId', - 'in' => 'formData', + 'name' => 'ProductType', + 'in' => 'query', 'schema' => [ - 'title' => 'ota任务id', - 'description' => 'OTA升级任务ID。可调用[ListAppInstanceGroup](~~428506~~)获取。', + 'description' => '产品类型。', 'type' => 'string', 'required' => true, - 'example' => 'ota-be7jzm29wrrz5****', + 'enumValueTitles' => ['CloudApp' => '无影云应用'], + 'example' => 'CloudApp', ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'AppPolicyId', + 'in' => 'query', + 'schema' => ['description' => '策略ID。', 'type' => 'string', 'required' => true, 'example' => 'pg-ee2znjktwgxu2****'], + ], + [ + 'name' => 'VideoPolicy', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回信息集合。', + 'description' => '显示策略。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'Code' => [ - 'title' => '错误码', - 'description' => '出错时的错误码。', - 'type' => 'string', - 'example' => 'OtaTask.Running', + 'FrameRate' => [ + 'description' => '帧率(FPS)。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'enumValueTitles' => [30 => '30 FPS', 60 => '60 FPS'], + 'example' => '60', ], - 'Message' => [ - 'title' => '提示', - 'description' => '出错时的错误消息。', - 'type' => 'string', - 'example' => 'The task is running and cannot be sumitted.', + 'TerminalResolutionAdaptive' => [ + 'description' => '是否使用自适应分辨率。'."\n" + ."\n" + .'- `true`:会话分辨率跟随终端显示区域变化。此时`SessionResolutionWidth`和`SessionResolutionHeight`为分辨率变化的最大值。'."\n" + ."\n" + .'- `false`:会话分辨率不跟随终端显示区域变化。此时分辨率固定为`SessionResolutionWidth`和`SessionResolutionHeight`的值。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], + 'example' => 'false', ], - 'ReleaseNote' => [ - 'title' => '版本说明', - 'description' => '版本说明,描述OTA升级的内容。', + 'SessionResolutionWidth' => ['description' => '分辨率的宽度,单位为像素。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1920'], + 'SessionResolutionHeight' => ['description' => '分辨率的高度,单位为像素。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1080'], + 'StreamingMode' => [ + 'description' => '流模式。与`Webrtc`参数搭配表示协议类型。'."\n" + ."\n" + .'- `Webrtc`=`true`且`StreamingMode`=`video`,表示WebRTC流。'."\n" + .'- `Webrtc`=`false`且`StreamingMode`=`video`,表示视频流。'."\n" + .'- `Webrtc`=`false`且`StreamingMode`=`mix`,表示混合流。', 'type' => 'string', - 'example' => '测试升级', + 'required' => false, + 'enumValueTitles' => ['video' => '视频流', 'mix' => '混合流'], + 'example' => 'video', ], - 'OtaVersion' => [ - 'title' => '版本号', - 'description' => 'OTA版本。', - 'type' => 'string', - 'example' => '0.0.1-R-20220708.110604', + 'Webrtc' => [ + 'description' => '是否开启WebRTC。与`StreamingMode`参数搭配表示协议类型。'."\n" + ."\n" + .'- `Webrtc`=`true`且`StreamingMode`=`video`,表示WebRTC流。'."\n" + .'- `Webrtc`=`false`且`StreamingMode`=`video`,表示视频流。'."\n" + .'- `Webrtc`=`false`且`StreamingMode`=`mix`,表示混合流。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], + 'example' => 'true', ], - 'TaskStartTime' => [ - 'title' => '任务执行时间,ISO-8601格式', - 'description' => '任务执行时间,ISO 8601格式。', + 'VisualQualityStrategy' => [ + 'description' => '画质策略。', 'type' => 'string', - 'format' => 'iso8601', - 'example' => '2022-08-04T14:36:00+08:00', + 'required' => false, + 'enumValueTitles' => ['adaptive' => '自适应', 'smooth' => '流畅优先', 'quality' => '画质优先'], + 'example' => 'smooth', ], ], + 'required' => false, ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Code\\": \\"OtaTask.Running\\",\\n \\"Message\\": \\"The task is running and cannot be sumitted.\\",\\n \\"ReleaseNote\\": \\"测试升级\\",\\n \\"OtaVersion\\": \\"0.0.1-R-20220708.110604\\",\\n \\"TaskStartTime\\": \\"2022-08-04T14:36:00+08:00\\"\\n}","type":"json"}]', - 'title' => '查询OTA升级任务明细', - ], - 'ApproveOtaTask' => [ - 'summary' => '设置OTA升级的执行时间。', - 'methods' => [ - 'get', - 'post', + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '修改交付组显示策略', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyAppPolicy'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ModifyAppPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'ModifyBrowserInstanceGroup' => [ + 'summary' => '修改无影云浏览器属性。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '219753', + 'abilityTreeNodes' => ['FEATUREappstreaming4BR4QS', 'FEATUREappstreamingKE839Q', 'FEATUREappstreaming50MBS2'], ], 'parameters' => [ [ - 'name' => 'AppInstanceGroupId', - 'in' => 'formData', - 'schema' => [ - 'title' => '实例组id', - 'description' => '交付组ID。可调用[ListAppInstanceGroup](~~ListAppInstanceGroup~~)接口获取。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-9ciijz60n4xsv****', - ], + 'name' => 'BrowserInstanceGroupId', + 'in' => 'query', + 'schema' => ['description' => '需要修改的云浏览器ID。', 'type' => 'string', 'required' => true, 'example' => 'big-0bz55ixxxxx9xi9w9'], ], [ - 'name' => 'BizRegionId', + 'name' => 'CloudBrowserName', 'in' => 'formData', - 'schema' => [ - 'title' => '请求发起者所在地域', - 'description' => '交付组所属的地域ID。可以调用[ListRegions](~~ListRegions~~)查询无影云应用支持的地域列表。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [], - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '云浏览器名称。', 'type' => 'string', 'required' => false, 'example' => 'BrowserTest'], ], [ - 'name' => 'TaskId', + 'name' => 'Network', 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => 'ota任务id', - 'description' => 'OTA升级任务ID。可调用[ListAppInstanceGroup](~~ListAppInstanceGroup~~)获取。'."\n" - ."\n" - .'> 每次调用`ApproveOtaTask`成功后,都会导致`TaskId`变更。因此,再次调用本接口之前,请重新调用`ListAppInstanceGroup`以获取最新的`TaskId`。', - 'type' => 'string', - 'required' => true, - 'example' => 'ota-be7jzm29wrrz5****', + 'description' => '网络配置。', + 'type' => 'object', + 'properties' => [ + 'AccessRestriction' => [ + 'description' => '访问限制类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['ALLOW_LIST' => '白名单模式'], + 'example' => 'ALLOW_LIST', + ], + 'RestrictedURLs' => [ + 'description' => '限制域名配置。', + 'type' => 'array', + 'items' => [ + 'description' => '关联的域名限制。', + 'type' => 'object', + 'properties' => [ + 'URL' => ['description' => '域名。', 'type' => 'string', 'required' => false, 'example' => 'aliyun.com'], + 'RestrictedURLId' => ['description' => '域名配置ID,仅修改需要传入。', 'type' => 'string', 'required' => false, 'example' => 'ru-12345'], + ], + 'required' => false, + ], + 'required' => false, + ], + 'RemoveRestrictedURLIds' => [ + 'description' => '需要移除的域名列表。', + 'type' => 'array', + 'items' => ['description' => '域名配置ID。', 'type' => 'string', 'required' => false, 'example' => 'ru-12345'], + 'required' => false, + ], + 'RestrictedURLsFilePath' => ['title' => '网络受限URL文件路径', 'type' => 'string', 'example' => 'cn-hangzhou/aig_upm/xxx/temp/BrowserRestrictionUrls/URL白名单模版.csv'], + ], + 'required' => false, ], ], [ - 'name' => 'OtaType', - 'in' => 'formData', + 'name' => 'Policy', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => 'ota类型,取值:'."\n" - .'Fota : agent组件更新'."\n" - .'ImageUpdate : 镜像更新'."\n" - .'AppUpdate : 应用更新', - 'description' => 'OTA升级任务类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'Fota' => '无影系统组件更新', - ], - 'example' => 'Fota', - 'enum' => [ - 'Fota', - 'ImageUpdate', - 'AppUpdate', + 'description' => '访问策略。', + 'type' => 'object', + 'properties' => [ + 'ClipboardPolicy' => [ + 'description' => '剪切板相关策略。', + 'type' => 'object', + 'properties' => [ + 'Clipboard' => [ + 'description' => '剪切板策略。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['read' => '允许本地往云浏览器复制粘贴', 'readwrite' => '双向允许', 'write' => '允许云浏览器往本地复制粘贴', 'off' => '双向禁止'], + 'example' => 'off', + ], + 'ClipboardScope' => [ + 'description' => '剪切板管控范围。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['grained' => '精细化管控', 'global' => '全局管控'], + 'example' => 'global', + ], + 'TextClipboard' => [ + 'description' => '文本剪切板策略。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['read' => '允许本地往云浏览器复制粘贴', 'readwrite' => '双向允许', 'write' => '允许云浏览器往本地复制粘贴', 'off' => '双向禁止'], + 'example' => 'off', + ], + 'RichTextClipboard' => [ + 'description' => '富文本剪切板策略。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['read' => '允许本地往云浏览器复制粘贴', 'readwrite' => '双向允许', 'write' => '允许云浏览器往本地复制粘贴', 'off' => '双向禁止'], + 'example' => 'off', + ], + 'FileClipboard' => [ + 'description' => '文件剪切板策略。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['read' => '允许本地往云浏览器复制粘贴', 'readwrite' => '双向允许', 'write' => '允许云浏览器往本地复制粘贴', 'off' => '双向禁止'], + 'example' => 'off', + ], + 'ClipboardReadLimit' => ['description' => '剪切板读取长度限制。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1000'], + 'ClipboardWriteLimit' => ['description' => '剪切板写入长度限制。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1000'], + 'ClipboardSizeUnit' => ['title' => '剪贴板大小单位', 'type' => 'string', 'example' => 'B'], + 'RichTextClipboardLimit' => ['title' => '富文本剪贴板限制', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RichTextClipboardSizeUnit' => ['title' => '富文本剪贴板大小单位', 'type' => 'string', 'example' => 'B'], + 'TextClipboardWriteLimit' => ['title' => '剪切板文本入云大小', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TextClipboardWriteSizeUnit' => [ + 'title' => '剪切板文本入云单位', + 'type' => 'string', + 'example' => 'KB', + 'default' => 'KB', + 'enum' => ['B', 'KB'], + ], + 'TextClipboardReadLimit' => ['title' => '剪切板文本出云大小', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TextClipboardReadSizeUnit' => [ + 'title' => '剪切板文本出云单位', + 'type' => 'string', + 'example' => 'KB', + 'default' => 'KB', + 'enum' => ['B', 'KB'], + ], + 'RichTextClipboardWriteLimit' => ['title' => '剪切板富文本入云大小', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RichTextClipboardWriteSizeUnit' => [ + 'title' => '剪切板富文本入云单位', + 'type' => 'string', + 'example' => 'KB', + 'default' => 'KB', + 'enum' => ['B', 'KB'], + ], + 'RichTextClipboardReadLimit' => ['title' => '剪切板富文本出云大小', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RichTextClipboardReadSizeUnit' => [ + 'title' => '剪切板富文本出云单位', + 'type' => 'string', + 'example' => 'KB', + 'default' => 'KB', + 'enum' => ['B', 'KB'], + ], + ], + 'required' => false, + ], + 'VideoPolicy' => [ + 'description' => '画面策略。', + 'type' => 'object', + 'properties' => [ + 'FrameRate' => ['description' => '帧率。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60'], + ], + 'required' => false, + ], + 'WatermarkPolicy' => [ + 'description' => '水印配置。', + 'type' => 'object', + 'properties' => [ + 'WatermarkSwitch' => [ + 'description' => '水印开关。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['off' => '关闭', 'on' => '打开'], + 'example' => 'off', + ], + 'WatermarkTypes' => [ + 'description' => '水印类型列表。', + 'type' => 'array', + 'items' => [ + 'description' => '水印类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['EndUserId' => '便捷账号ID', 'ClientTime' => '系统时间', 'InstanceGroup' => '浏览器组ID'], + 'example' => 'EndUserId', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'PolicyId' => ['description' => '策略ID。', 'type' => 'string', 'required' => false, 'example' => 'pg-12345'], + 'PolicyVersion' => [ + 'description' => '策略版本。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['Center' => '中心策略'], + 'example' => 'Center', + ], + 'DisconnectKeepSession' => [ + 'description' => '断连保留策略。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['customTime' => '自定义时间', 'persistent' => '用不释放'], + 'example' => 'customTime', + 'title' => '', + ], + 'DisconnectKeepSessionTime' => ['description' => '会话断连保留时长。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '15'], + 'Html5FileTransfer' => ['description' => 'Web客户端文件传输策略。', 'type' => 'string', 'required' => false, 'example' => 'off'], + 'NoOperationDisconnect' => ['type' => 'string', 'required' => false, 'title' => '策略无操作断开连接', 'example' => 'on', 'description' => '策略无操作断开连接'], + 'NoOperationDisconnectTime' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'title' => '无操作断连接时间,单位秒', 'example' => '1', 'description' => '无操作断连接时间,单位秒'], + 'FileManager' => [ + 'title' => '悬浮球文件管理器开关', + 'type' => 'string', + 'example' => 'off', + 'default' => 'off', + 'enum' => ['on', 'off'], + ], ], + 'required' => false, ], ], [ - 'name' => 'StartTime', - 'in' => 'formData', + 'name' => 'Timers', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => '开始时间,iso8601格式', - 'description' => 'OTA升级任务的开始时间。按照ISO 8601格式填写。', - 'type' => 'string', - 'format' => 'iso8601', - 'required' => true, - 'example' => '2022-08-04T14:36:00+08:00', + 'description' => '定时器。', + 'type' => 'array', + 'items' => [ + 'description' => '关联的定时任务。', + 'type' => 'object', + 'properties' => [ + 'TimerType' => [ + 'description' => '定时器类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['SESSION_TIMEOUT' => '连接断开会话释放超时时间。'], + 'example' => 'SESSION_TIMEOUT', + ], + 'Interval' => ['description' => '间隔。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '15'], + ], + 'required' => false, + ], + 'required' => false, ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'BrowserConfig', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回信息集合。', + 'description' => '浏览器配置。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + 'Homepage' => ['description' => '主页。', 'type' => 'string', 'required' => false, 'example' => 'https://www.aliyun.com'], + 'BrowserParam' => ['description' => '启动参数。', 'type' => 'string', 'required' => false, 'example' => '--incognito'], + 'Bookmarks' => [ + 'description' => '书签。', + 'type' => 'array', + 'items' => [ + 'description' => '关联的书签说明。', + 'type' => 'object', + 'properties' => [ + 'BookmarkId' => ['description' => '书签ID,仅修改场景需要传递。', 'type' => 'string', 'required' => false, 'example' => 'bm-12345'], + 'BookmarkName' => ['description' => '书签名。', 'type' => 'string', 'required' => true, 'example' => 'test'], + 'BookmarkURL' => ['description' => '书签地址。', 'type' => 'string', 'required' => true, 'example' => 'https://www.aliyun.com'], + 'BookmarkFolder' => ['description' => '书签所属文件夹。', 'type' => 'string', 'required' => false, 'example' => 'test'], + ], + 'required' => false, + ], + 'required' => false, ], - 'Code' => [ - 'description' => '执行结果。返回`success`表示成功,否则将返回错误信息。', - 'type' => 'string', - 'example' => 'OtaTask.Running', + 'RemoveBookmarks' => [ + 'description' => '移除的书签列表。', + 'type' => 'array', + 'items' => ['description' => '移除的书签ID。', 'type' => 'string', 'required' => false, 'example' => 'bm-12345'], + 'required' => false, ], - 'Message' => [ - 'description' => '错误信息。当`Code`为`success`时,不返回该参数。', - 'type' => 'string', - 'example' => 'The task is running and cannot be sumitted.', + 'BookmarksFilePath' => ['title' => '书签列表文件路径', 'type' => 'string', 'example' => 'cn-hangzhou/aig_upm/xxx/temp/BrowserBookmarks/浏览器书签模版.csv'], + 'CookiesSync' => ['title' => '是否启用cookies同步能力', 'type' => 'boolean', 'default' => 'false'], + ], + 'required' => false, + ], + ], + [ + 'name' => 'StoragePolicy', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '存储相关策略', + 'type' => 'object', + 'properties' => [ + 'UserProfile' => [ + 'title' => '用户漫游相关策略', + 'type' => 'object', + 'properties' => [ + 'UserProfileSwitch' => ['title' => '漫游开关', 'type' => 'boolean'], + ], ], ], ], ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Code\\": \\"OtaTask.Running\\",\\n \\"Message\\": \\"The task is running and cannot be sumitted.\\"\\n}","type":"json"}]', - 'title' => '设置OTA升级执行时间', - ], - 'ListTenantConfig' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - 'http', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'MaxAmount', + 'in' => 'formData', + 'schema' => ['title' => '最大资源数量,月活后付费生效', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], ], ], - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'title' => 'PlainResult<ListAliUserPropertyModel>', - 'description' => '返回信息集合。', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'TenantConfigModel' => [ - 'description' => '用户配置信息。', - 'type' => 'object', - 'properties' => [ - 'AppInstanceGroupExpireRemind' => [ - 'description' => '是否开启资源到期提醒。', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '开启', - 'false' => '不开启', - ], - 'example' => 'true', - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TenantConfigModel\\": {\\n \\"AppInstanceGroupExpireRemind\\": true\\n }\\n}","type":"json"}]', - 'title' => '查询管理员账号配置信息', - 'summary' => '查询管理员账号配置信息,例如是否已开启资源到期提醒。', - ], - 'ModifyTenantConfig' => [ - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '修改云浏览器', + 'description' => '修改无影云浏览器属性。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', - 'http', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:CreateAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'ModifyNodePoolAmount' => [ + 'summary' => '包年包月交付组节点数量升级。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'paid', + 'abilityTreeCode' => '263378', + 'abilityTreeNodes' => ['FEATUREappstreamingU1TTUH'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'AppInstanceGroupExpireRemind', + 'name' => 'ProductType', 'in' => 'formData', 'schema' => [ - 'description' => '是否开启资源到期提醒。', - 'type' => 'boolean', - 'required' => false, - 'enumValueTitles' => [ - 'true' => '开启', - 'false' => '不开启', + 'title' => '产品类型。', + 'description' => '产品类型。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['CloudApp' => '无影云应用'], + 'example' => 'CloudApp', + ], + ], + [ + 'name' => 'AppInstanceGroupId', + 'in' => 'formData', + 'schema' => ['title' => '交付组ID。', 'description' => '交付组ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-9ciijz60n4xsv****'], + ], + [ + 'name' => 'NodePool', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '节点池相关变配参数', + 'description' => '节点池变配相关参数。', + 'type' => 'object', + 'properties' => [ + 'NodeAmount' => ['title' => '升级后固定节点的数量', 'description' => '升级后预付费节点的总数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], + 'PrePaidNodeAmountModifyMode' => [ + 'title' => '预付费节点修改模式。EXPAND_FROM_POST_PAID_EXPLICIT:指定按量节点转换。', + 'description' => '预付费节点修改模式。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['EXPAND_FROM_POST_PAID_EXPLICIT' => '指定按量节点转换'], + 'example' => 'EXPAND_FROM_POST_PAID_EXPLICIT', + ], + 'PrePaidNodeAmountModifyNodeIds' => [ + 'title' => '待修改计费类型节点列表。', + 'description' => '待修改计费类型节点列表。', + 'type' => 'array', + 'items' => ['description' => '待修改计费类型的节点。', 'type' => 'string', 'required' => false, 'example' => 'i-fgssxxx'], + 'required' => false, + ], ], - 'example' => 'true', + 'required' => true, ], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'title' => 'BaseResult', - 'description' => '返回信息集合。', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'Data' => [ + 'description' => '返回数据对象。', + 'type' => 'object', + 'properties' => [ + 'OrderId' => ['description' => '订单ID。', 'type' => 'string', 'example' => '23429322113****'], + ], ], ], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', - 'title' => '修改管理员账号配置信息', - 'summary' => '修改管理员账号配置信息,例如是否开启资源到期提醒。', - ], - 'ListTagCloudResources' => [ - 'summary' => '查询一个或多个指定云资源的标签列表。', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Data\\": {\\n \\"OrderId\\": \\"23429322113****\\"\\n }\\n}","type":"json"}]', + 'title' => '资源节点池中节点变配', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ModifyNodePoolAmount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'ModifyNodePoolAttribute' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '266102', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingBC1NTD', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'ResourceType', + 'name' => 'ProductType', 'in' => 'formData', 'schema' => [ - 'title' => '资源类型。取值范围:'."\n" - .'AliUid:租户 '."\n" - .'AppId:应用ID'."\n" - .'AppInstanceGroupId:交付组'."\n" - .'WyId:用户', - 'description' => '云资源类型。', + 'title' => '产品类型', + 'description' => '产品类型。', 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'AppId' => '应用ID', - 'WyId' => '无影用户唯一ID', - 'AppInstanceGroupId' => '交付组ID', - 'AliUid' => '租户ID', - ], - 'example' => 'AppInstanceGroupId', - ], - ], - [ - 'name' => 'ResourceIds', - 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '资源ID列表,最多支持50个。'."\n" - .'资源类型为租户的时候不需要指定。', - 'description' => '资源ID列表,最多支持50个。资源类型为租户ID时不需要指定。', - 'type' => 'array', - 'items' => [ - 'title' => '资源ID。', - 'description' => '资源ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-001', - 'maxLength' => 64, - 'minLength' => 1, - ], 'required' => false, - 'maxItems' => 50, - 'minItems' => 0, + 'enumValueTitles' => ['CloudApp' => '无影云应用'], + 'example' => 'CloudApp', ], ], [ - 'name' => 'Scope', + 'name' => 'PoolId', 'in' => 'formData', - 'schema' => [ - 'title' => '标签类型。取值范围:'."\n" - .'Custom:自定义标签。'."\n" - .'System:系统标签。'."\n" - .'All:全部标签。'."\n" - .'默认值:All。', - 'description' => '标签类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'All' => '全部标签 [默认值]', - 'Custom' => '自定义标签', - 'System' => '系统标签', - ], - 'example' => 'Custom', - 'maxLength' => 20, - 'minLength' => 0, - 'enum' => [ - 'Custom', - 'System', - 'All', - ], - ], + 'schema' => ['title' => '资源组id', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-ew7va2g1wl3vm****'], ], [ - 'name' => 'MaxResults', + 'name' => 'NodeCapacity', 'in' => 'formData', - 'schema' => [ - 'title' => '分页时每页显示的数据行数。'."\n" - .'最大值:1000。默认值:50。', - 'description' => '分页时每页显示的数据行数。'."\n" - .'最大值:1000。默认值:50。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '1000', - 'minimum' => '1', - 'example' => '50', - 'default' => '50', - ], + 'schema' => ['title' => '按资源售卖的,单个节点允许运行的应用实例数', 'description' => '并发会话数,即单个资源可同时连接的会话数。如果同时连接的会话数过多,可能导致应用的使用体验下降。取值范围因资源规格不同而不同。各资源规格对应的取值范围分别是:'."\n" + ."\n" + .'- appstreaming.general.4c8g:1\\~2;'."\n" + .'- appstreaming.general.8c16g:1\\~4;'."\n" + .'- appstreaming.vgpu.8c16g.4g:1\\~4;'."\n" + .'- appstreaming.vgpu.8c31g.16g:1\\~4;'."\n" + .'- appstreaming.vgpu.14c93g.12g:1\\~6;', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'], ], [ - 'name' => 'NextToken', + 'name' => 'NodePoolStrategy', 'in' => 'formData', + 'style' => 'json', 'schema' => [ - 'title' => '下一个查询开始的 Token。', - 'description' => '下一个查询开始的 Token。', - 'type' => 'string', - 'required' => false, - 'example' => 'ptnJAAAAAAAxNzE5OTEwNQ==', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => '节点池策略', + 'description' => '交付组的自动扩缩容策略。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'NextToken' => [ - 'title' => '根据NextToken判断是否具备下一个查询开始的 Token。', - 'description' => '根据NextToken判断是否具备下一个查询开始的 Token。', + 'StrategyType' => [ + 'title' => '策略类型,默认为NODE_FIXED', + 'description' => '弹性模式。'."\n" + ."\n" + .'> '."\n" + .'- `NODE_FIXED`(固定数量):适用于包年包月资源和按量付费资源。'."\n" + .'- `NODE_SCALING_BY_USAGE`(自动扩缩容):适用于包年包月资源和按量付费资源。'."\n" + .'- `NODE_SCALING_BY_SCHEDULE`(定时扩缩容):仅适用于按量付费资源。', 'type' => 'string', - 'example' => 'AAAAAYRHtOLVQzCYj17y+OP7LZRrUJaF4rnBGQkWwMiVHlLZBB1w3Us37CVvhvyM0TXavA==', - ], - 'TotalCount' => [ - 'title' => '总数。', - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', + 'required' => false, + 'enumValueTitles' => ['NODE_FIXED' => '固定数量(不使用弹性扩缩容)', 'NODE_SCALING_BY_SCHEDULE' => '定时扩缩容', 'NODE_SCALING_BY_USAGE' => '自动扩缩容'], + 'example' => 'NODE_FIXED', ], - 'ResourceTags' => [ - 'title' => '资源绑定的标签信息列表。', - 'description' => '资源绑定的标签信息列表。', + 'NodeAmount' => ['description' => '购买资源的数量。取值范围:1~100。'."\n" + ."\n" + .'> '."\n" + .'- 若为包年包月资源,则该参数不可修改。'."\n" + .'- 若为按量付费资源,则当弹性模式(`StrategyType`)为固定数量(`NODE_FIXED`)或自动扩缩容(`NODE_SCALING_BY_USAGE`)时该参数可修改。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + 'MaxScalingAmount' => ['title' => '最大弹性数量', 'description' => '扩容时最多创建资源的数量。`StrategyType`设为`NODE_SCALING_BY_USAGE`时,该字段必填。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + 'MaxIdleAppInstanceAmount' => ['description' => '空闲会话数上限。指定该值时,当会话使用率超过`ScalingUsageThreshold`且当前交付组空闲会话数小于`MaxIdleAppInstanceAmount`时,才会触发自动扩容,否则认为交付组空闲会话已足够使用,不自动扩容。该参数可用于灵活控制弹性扩容行为和降低使用成本。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'], + 'ScalingStep' => ['title' => '弹性扩容步长', 'description' => '扩容时每次创建资源的数量。取值范围:1~10。`StrategyType`设为`NODE_SCALING_BY_USAGE`时,该字段必填。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'], + 'ScalingUsageThreshold' => ['title' => '触发弹性扩容的会话百分比', 'description' => '会话使用率上限阈值(%)。当会话使用率超过该阈值时,将触发自动扩容。会话使用率的计算公式为`会话使用率=当前会话数÷(资源总数×资源并发会话数)×100%`。`StrategyType`设为`NODE_SCALING_BY_USAGE`时,该字段必填。取值范围:0\\~100。默认值:85。', 'type' => 'string', 'required' => false, 'example' => '85'], + 'ScalingDownAfterIdleMinutes' => ['title' => '资源回收时间', 'description' => '无会话连接的资源最多保留的时长(分钟)。当资源内无会话连接时,将按照此处设置的时长开始倒计时,倒计时结束时将完成缩容。取值范围:5~120。默认值:5。但有以下例外情况:'."\n" + ."\n" + .'- 若缩容后将导致重新触发自动扩容,则不会执行缩容,以免导致反复产生缩容、扩容。'."\n" + .'- 若此时间段内,因会话数增加而触发自动扩容,则该资源不会按原计划缩容,倒计时也将重新开始。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5'], + 'StrategyEnableDate' => ['description' => '策略生效日期。格式为:yyyy-MM-dd。该日期必须大于或等于当前日期。`StrategyType`(弹性模式)设为`NODE_SCALING_BY_SCHEDULE`(定时扩缩容)时,该字段必填。', 'type' => 'string', 'required' => false, 'example' => '2023-01-05'], + 'StrategyDisableDate' => ['description' => '策略失效日期。格式为:yyyy-MM-dd。失效日期与生效日期的间隔必须介于7天到1年之间(含7天和1年)。`StrategyType`(弹性模式)设为`NODE_SCALING_BY_SCHEDULE`(定时扩缩容)时,该字段必填。', 'type' => 'string', 'required' => false, 'example' => '2023-01-19'], + 'WarmUp' => ['description' => '是否开启资源预热策略。`StrategyType`(弹性模式)设为`NODE_SCALING_BY_SCHEDULE`(定时扩缩容)时,该字段必填。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + 'RecurrenceSchedules' => [ + 'description' => '策略执行周期列表。`StrategyType`(弹性模式)设为`NODE_SCALING_BY_SCHEDULE`(定时扩缩容)时,该字段必填。', 'type' => 'array', 'items' => [ - 'title' => '资源绑定的标签信息。', - 'description' => '资源绑定的标签信息。', + 'description' => '策略执行周期。', 'type' => 'object', 'properties' => [ - 'ResourceType' => [ - 'title' => '资源类型。取值范围:'."\n" - .'AliUid:租户 '."\n" - .'AppId:应用ID'."\n" - .'AppInstanceGroupId:交付组'."\n" - .'WyId:用户', - 'description' => '云资源类型。', + 'RecurrenceType' => [ + 'description' => '策略执行周期的类型。必须同时指定`RecurrenceType`和`RecurrenceValues`。 ', 'type' => 'string', - 'enumValueTitles' => [ - 'AppId' => '应用ID', - 'WyId' => '无影用户唯一ID', - 'AppInstanceGroupId' => '交付组ID', - 'AliUid' => '租户ID', - ], - 'example' => 'AppInstanceGroupId', + 'required' => false, + 'enumValueTitles' => ['weekly' => '周(每周指定几天重复执行一次定时任务)'], + 'example' => 'weekly', ], - 'ResourceId' => [ - 'title' => '资源ID。', - 'description' => '资源ID。', - 'type' => 'string', - 'example' => 'aig-0001', + 'RecurrenceValues' => [ + 'description' => '策略执行周期的数值列表。', + 'type' => 'array', + 'items' => [ + 'description' => '策略执行周期的数值。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'enumValueTitles' => [1 => '周一', '周二', '周三', '周四', '周五', '周六', '周日'], + 'example' => '1', + ], + 'required' => false, + 'maxItems' => 7, ], - 'Tags' => [ - 'title' => '标签信息列表。', - 'description' => '标签信息列表。', + 'TimerPeriods' => [ + 'description' => '策略执行周期的时间段列表。时间段设置要求:'."\n" + ."\n" + .'- 最多可添加3个时间段。'."\n" + .'- 时间段之间不重叠。'."\n" + .'- 时间段之间的间隔大于或等于5分钟。'."\n" + .'- 单个时间段的时长大于或等于15分钟。'."\n" + .'- 所有时间段累计不跨天。', 'type' => 'array', 'items' => [ - 'title' => '标签信息。', - 'description' => '标签信息。', + 'description' => '策略执行周期的时间段。', 'type' => 'object', 'properties' => [ - 'Key' => [ - 'title' => '标签键', - 'description' => '标签键。', - 'type' => 'string', - 'example' => 'Resolution', - ], - 'Value' => [ - 'title' => '标签值', - 'description' => '标签值。', - 'type' => 'string', - 'example' => '1080p', - ], - 'Scope' => [ - 'title' => '标签类型。取值范围:'."\n" - .'Custom:自定义标签。'."\n" - .'System:系统标签。', - 'description' => '标签类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'Custom' => '自定义标签', - 'System' => '系统标签', - ], - 'example' => 'Custom', - ], + 'StartTime' => ['description' => '开始时间。格式为HH:mm。', 'type' => 'string', 'required' => false, 'example' => '12:00'], + 'EndTime' => ['description' => '结束时间。格式为HH:mm。', 'type' => 'string', 'required' => false, 'example' => '15:00'], + 'Amount' => ['description' => '资源数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'], ], + 'required' => false, ], + 'required' => false, + 'maxItems' => 5, ], ], + 'required' => false, ], + 'required' => false, + 'maxItems' => 7, ], ], + 'required' => false, + ], + ], + [ + 'name' => 'BizRegionId', + 'in' => 'formData', + 'schema' => [ + 'description' => '交付组所属的地域ID。关于支持的地域详情,请参见[使用限制](~~426036~~)。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['cn-shanghai' => '华东2(上海)', 'cn-hangzhou' => '华东1(杭州)'], + 'example' => 'cn-hangzhou', ], ], ], - 'errorCodes' => [ - 500 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'Service unavailable. Please try again later.', + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'BaseResult', + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'Code' => ['description' => '出错时的错误码。', 'type' => 'string', 'example' => 'InvalidParameter.PoolId'], + 'Message' => ['description' => '出错时的错误消息。', 'type' => 'string', 'example' => 'The parameter PoolId is invalid.'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '修改交付组弹性模式', + 'summary' => '修改交付组的弹性模式,包括固定数量(不使用弹性扩缩容)、定时扩缩容和自动扩缩容。', + 'description' => '您可以设置无影云应用资源的弹性模式:'."\n" + ."\n" + .'- 固定数量:不使用弹性扩缩容。'."\n" + .'- 自动扩缩容:根据连接会话的数量和无会话连接时长实现资源的自动扩缩容。'."\n" + .'- 定时扩缩容:在指定日期的指定时间段执行资源的定时扩缩容。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影云应用的[计费方式和价格](~~426039~~)。', + 'changeSet' => [ + ['createdAt' => '2024-09-12T07:33:20.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-03-31T13:54:46.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-08-05T08:22:21.000Z', 'description' => '请求参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"NextToken\\": \\"AAAAAYRHtOLVQzCYj17y+OP7LZRrUJaF4rnBGQkWwMiVHlLZBB1w3Us37CVvhvyM0TXavA==\\",\\n \\"TotalCount\\": 15,\\n \\"ResourceTags\\": [\\n {\\n \\"ResourceType\\": \\"AppInstanceGroupId\\",\\n \\"ResourceId\\": \\"aig-0001\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"Resolution\\",\\n \\"Value\\": \\"1080p\\",\\n \\"Scope\\": \\"Custom\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询云资源的标签列表', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNodePoolAttribute'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ModifyNodePoolAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Code\\": \\"InvalidParameter.PoolId\\",\\n \\"Message\\": \\"The parameter PoolId is invalid.\\"\\n}","type":"json"}]', ], - 'TagCloudResources' => [ - 'summary' => '为云资源创建并绑定标签,对于资源已有的标签,则更新标签的值。', - 'methods' => [ - 'post', - 'get', + 'ModifyTenantConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https', 'http'], + 'security' => [ + [ + 'AK' => [], + ], ], - 'schemes' => [ - 'https', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'AppInstanceGroupExpireRemind', + 'in' => 'formData', + 'schema' => [ + 'description' => '是否开启资源到期提醒。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '不开启'], + 'example' => 'true', + ], + ], ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'title' => 'BaseResult', + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], + ], + ], + ], + 'title' => '修改管理员账号配置信息', + 'summary' => '修改管理员账号配置信息,例如是否开启资源到期提醒。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTenantConfig'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ModifyTenantConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'ModifyWuyingServerAttribute' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '266104', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingBC1NTD', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], ], 'parameters' => [ [ - 'name' => 'ResourceType', + 'name' => 'ProductType', 'in' => 'formData', - 'schema' => [ - 'title' => '资源类型。取值范围:'."\n" - .'AliUid:租户 '."\n" - .'AppId:应用ID'."\n" - .'AppInstanceGroupId:交付组'."\n" - .'WyId:用户', - 'description' => '云资源类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'CenterImageId' => '中心镜像ID', - 'AppId' => '应用ID', - 'WyId' => '无影用户唯一ID', - 'AppInstanceGroupId' => '交付组ID', - 'AliUid' => '租户ID', - ], - 'example' => 'AppInstanceGroupId', - 'maxLength' => 30, - 'minLength' => 1, - 'enum' => [ - 'AliUid', - 'AppId', - 'AppInstanceGroupId', - 'WyId', - 'CenterImageId', - ], - ], + 'schema' => ['type' => 'string'], ], [ - 'name' => 'ResourceIds', + 'name' => 'WuyingServerId', 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '资源ID列表,最多支持50个'."\n" - .'资源类型为租户的时候不需要指定。', - 'description' => '资源ID列表,最多支持50个。资源类型为租户ID时不需要指定。', - 'type' => 'array', - 'items' => [ - 'title' => '资源ID', - 'description' => '资源ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-0002', - 'maxLength' => 64, - 'minLength' => 1, - ], - 'required' => false, - 'maxItems' => 50, - 'minItems' => 0, - ], + 'schema' => ['description' => '工作站ID。', 'type' => 'string', 'required' => false, 'example' => 'ws-0bw2f11****dial'], ], [ - 'name' => 'Tags', + 'name' => 'WuyingServerName', 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '自定义(Custom+指定范围的System)标签列表,最多支持10个'."\n" - .'● 标签键长度范围:1~128 个字符。'."\n" - .'● 标签值长度范围:1~128 个字符。'."\n" - .'● 区分大小写。'."\n" - .'● 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。', - 'description' => '标签列表。支持系统标签和自定义标签。'."\n" - ."\n" - .'- 系统标签枚举值:'."\n" - .' - `System/Scheduler/GRAYSCALE`:灰度标签'."\n" - .' - `System/Scheduler/STOP_NEW_USER_CONNECTION`:阻止交付组新绑定用户建连的标签'."\n" - ."\n" - .'- 自定义标签:最多可创建20个。'."\n" - ."\n" - .'> 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。', - 'type' => 'array', - 'items' => [ - 'title' => '标签信息。', - 'description' => '标签信息。', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '标签键。', - 'description' => '标签键。区分大小写。长度范围:1\\~128 个字符。', - 'type' => 'string', - 'required' => true, - 'example' => 'Resolution', - 'maxLength' => 128, - 'minLength' => 1, - ], - 'Value' => [ - 'title' => '标签值。', - 'description' => '标签值。区分大小写。长度范围:1\\~128 个字符。', - 'type' => 'string', - 'required' => true, - 'example' => '720p', - 'maxLength' => 256, - 'minLength' => 0, - ], - ], - 'required' => true, - ], - 'required' => true, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => '名称。', 'type' => 'string', 'required' => false, 'example' => 'exampleServerName'], + ], + [ + 'name' => 'Password', + 'in' => 'formData', + 'schema' => ['description' => '工作站登录密码。', 'type' => 'string', 'required' => false, 'example' => 'yourPassword'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'FailedResources' => [ - 'title' => '失败的资源与标签信息列表。', - 'description' => '失败的资源与标签信息列表。', - 'type' => 'array', - 'items' => [ - 'title' => '失败的资源与标签信息。', - 'description' => '失败的资源与标签信息。', - 'type' => 'object', - 'properties' => [ - 'ResourceType' => [ - 'title' => '资源类型。取值范围:'."\n" - .'AliUid:租户 '."\n" - .'AppId:应用ID'."\n" - .'AppInstanceGroupId:交付组'."\n" - .'WyId:用户', - 'description' => '云资源类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'CenterImageId' => '中心镜像ID', - 'AppId' => '应用ID', - 'WyId' => '无影用户唯一ID', - 'AppInstanceGroupId' => '交付组ID', - 'AliUid' => '租户ID', - ], - 'example' => 'AppInstanceGroupId', - ], - 'ResourceId' => [ - 'title' => '资源ID。', - 'description' => '资源ID。', - 'type' => 'string', - 'example' => 'aig-001', - ], - 'Tags' => [ - 'title' => '失败的标签信息列表。', - 'description' => '失败的标签信息列表。', - 'type' => 'array', - 'items' => [ - 'title' => '失败的标签信息。', - 'description' => '失败的标签信息。', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '标签键。', - 'description' => '标签键。', - 'type' => 'string', - 'example' => 'System/Scheduler/STOP_NEW_USER_CONNECTION', - ], - 'Value' => [ - 'title' => '标签值。', - 'description' => '标签值。', - 'type' => 'string', - 'example' => 'true', - ], - 'Scope' => [ - 'title' => '标签类型。取值范围:'."\n" - .'Custom:自定义标签。'."\n" - .'System:系统标签。', - 'description' => '标签类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'Custom' => '自定义标签', - 'System' => '系统标签', - ], - 'example' => 'System', - ], - ], - ], - ], - 'Code' => [ - 'title' => '错误码。', - 'description' => '错误码。', - 'type' => 'string', - 'example' => 'TAG_KEY_DUPLICATED', - ], - 'Message' => [ - 'title' => '错误描述', - 'description' => '错误描述。', - 'type' => 'string', - 'example' => 'Duplicate tag keys exist.', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], ], ], ], ], - 'errorCodes' => [ - 500 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'Service unavailable. Please try again later.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '修改工作站属性', + 'summary' => '修改工作站属性。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ModifyWuyingServerAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"FailedResources\\": [\\n {\\n \\"ResourceType\\": \\"AppInstanceGroupId\\",\\n \\"ResourceId\\": \\"aig-001\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"System/Scheduler/STOP_NEW_USER_CONNECTION\\",\\n \\"Value\\": \\"true\\",\\n \\"Scope\\": \\"System\\"\\n }\\n ],\\n \\"Code\\": \\"TAG_KEY_DUPLICATED\\",\\n \\"Message\\": \\"Duplicate tag keys exist.\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '为云资源创建并绑定标签', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', ], - 'UntagCloudResources' => [ - 'summary' => '为云资源统一解绑标签。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'PageListAppInstanceGroupUser' => [ + 'summary' => '分页查询交付组中已添加的分配用户。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '266118', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingBC1NTD', - ], + 'abilityTreeNodes' => ['FEATUREappstreamingV87T4P'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ResourceType', + 'name' => 'AppInstanceGroupId', + 'in' => 'formData', + 'schema' => ['description' => '交付组ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-9ciijz60n4xsv****', 'maxItems' => 100], + ], + [ + 'name' => 'ProductType', 'in' => 'formData', 'schema' => [ - 'title' => '资源类型。取值范围:'."\n" - .'AliUid:租户 '."\n" - .'AppId:应用ID'."\n" - .'AppInstanceGroupId:交付组'."\n" - .'WyId:用户', - 'description' => '资源类型。', + 'description' => '产品类型。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'AppId' => '应用ID', - 'WyId' => '无影用户唯一ID', - 'AppInstanceGroupId' => '交付组ID', - 'AliUid' => '租户ID', - ], - 'example' => 'AppInstanceGroupId', + 'enumValueTitles' => ['CloudApp' => '无影云应用'], + 'example' => 'CloudApp', ], ], [ - 'name' => 'ResourceIds', + 'name' => 'PageSize', 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '资源ID列表,最多支持50个'."\n" - .'资源类型为租户的时候不需要指定。', - 'description' => '资源ID列表,最多支持50个。资源类型为租户ID时不需要指定。', - 'type' => 'array', - 'items' => [ - 'title' => '资源ID', - 'description' => '资源ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'aig-0009', - 'maxLength' => 64, - 'minLength' => 1, - ], - 'required' => false, - 'maxItems' => 50, - 'minItems' => 0, - ], + 'schema' => ['description' => '每页的查询结果数量,不可超过`100`。建议填写该参数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ - 'name' => 'TagKeys', + 'name' => 'PageNumber', 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '自定义(Custom+指定范围的System)标签键列表,最多支持10个', - 'description' => '标签列表。支持系统标签和自定义标签。最多可传入10个标签。'."\n" - ."\n" - .'系统标签枚举值:'."\n" - .'- `System/Scheduler/GRAYSCALE`:灰度标签'."\n" - .'- `System/Scheduler/STOP_NEW_USER_CONNECTION`:阻止交付组新绑定用户建连的标签', - 'type' => 'array', - 'items' => [ - 'title' => '标签键', - 'description' => '标签键。区分大小写。长度范围:1\\~128 个字符。', - 'type' => 'string', - 'required' => true, - 'example' => 'System/Scheduler/GRAYSCALE', - 'maxLength' => 128, - 'minLength' => 1, - ], - 'required' => true, - 'maxItems' => 20, - 'minItems' => 1, - ], + 'schema' => ['description' => '需展示的查询结果页码。建议填写该参数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => '返回信息集合。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'E25FC620-6B6F-12D2-A992-AD8727DC****', - ], - 'FailedResources' => [ - 'title' => '失败的资源与标签信息列表。', - 'description' => '失败的资源与标签信息列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'Users' => [ + 'description' => '查询到的一组用户。', 'type' => 'array', - 'items' => [ - 'title' => '失败的资源与标签信息。', - 'description' => '失败的资源与标签信息。', - 'type' => 'object', - 'properties' => [ - 'ResourceType' => [ - 'title' => '资源类型。'."\n" - .'● 租户 AliUid'."\n" - .'● 应用ID AppId'."\n" - .'● 交付组 AppInstanceGroupId'."\n" - .'● 用户 WyId', - 'description' => '云资源类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'AppId' => '应用ID', - 'WyId' => '无影用户唯一ID', - 'AppInstanceGroupId' => '交付组ID', - 'AliUid' => '租户ID', - ], - 'example' => 'AppInstanceGroupId', - ], - 'ResourceId' => [ - 'title' => '资源ID。', - 'description' => '资源ID。', - 'type' => 'string', - 'example' => 'aig-00000001', - ], - 'Tags' => [ - 'title' => '失败的标签信息列表。', - 'description' => '失败的标签信息列表。', - 'type' => 'array', - 'items' => [ - 'title' => '失败的标签信息。', - 'description' => '失败的标签信息。', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => '标签键。', - 'description' => '标签键。', - 'type' => 'string', - 'example' => 'Resolution', - ], - 'Scope' => [ - 'title' => '标签类型。取值范围:'."\n" - .'Custom:自定义标签。'."\n" - .'System:系统标签。', - 'description' => '标签类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'Custom' => '自定义标签', - 'System' => '系统标签', - ], - 'example' => 'Custom', - ], - ], - ], - ], - 'Code' => [ - 'title' => '错误码。', - 'description' => '错误码。', - 'type' => 'string', - 'example' => 'UNTAG_RESOURCE_FAILED', - ], - 'Message' => [ - 'title' => '错误描述', - 'description' => '错误描述。', - 'type' => 'string', - 'example' => 'Failed to untag resource.', - ], - ], - ], + 'items' => ['description' => '查询到的用户名。', 'type' => 'string', 'example' => 'username1'], ], ], ], ], ], - 'errorCodes' => [ - 500 => [ - [ - 'errorCode' => 'ServiceUnavailable', - 'errorMessage' => 'Service unavailable. Please try again later.', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '分页查询交付组的分配用户', + 'changeSet' => [ + ['createdAt' => '2021-09-26T14:02:32.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2021-09-26T14:02:32.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PageListAppInstanceGroupUser'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:PageListAppInstanceGroupUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E25FC620-6B6F-12D2-A992-AD8727DC****\\",\\n \\"FailedResources\\": [\\n {\\n \\"ResourceType\\": \\"AppInstanceGroupId\\",\\n \\"ResourceId\\": \\"aig-00000001\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"Resolution\\",\\n \\"Scope\\": \\"Custom\\"\\n }\\n ],\\n \\"Code\\": \\"UNTAG_RESOURCE_FAILED\\",\\n \\"Message\\": \\"Failed to untag resource.\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '解除云资源的标签', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Users\\": [\\n \\"username1\\"\\n ]\\n}","type":"json"}]', ], - 'DescribeWuyingServerEipInfo' => [ - 'summary' => '查询无影工作站EIP信息。', - 'path' => '', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'RemoveResourceGroupModelTemplate' => [ + 'summary' => '移除资源组的模型分组。', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingBC1NTD', - ], + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'WuyingServerId', + 'name' => 'ModelTemplateId', 'in' => 'formData', - 'schema' => [ - 'description' => '工作站ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ws-0bw2f11****dial', - ], + 'schema' => ['title' => '模型模板ID', 'description' => '模型分组ID。', 'type' => 'string', 'required' => true, 'example' => 'mt-xxxx'], ], [ - 'name' => 'Isp', + 'name' => 'ResourceGroupIds', 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => '互联网服务运营商,取值范围: '."\n" - .'- ChinaMobile:移动。'."\n" - .'- ChinaTelecom:电信。'."\n" - .'- ChinaUnicom:联通。', - 'type' => 'string', - 'required' => false, - 'example' => 'ChinaTelecom', + 'title' => '资源组ID列表', + 'description' => '资源组ID列表。', + 'type' => 'array', + 'items' => ['description' => '资源组ID。', 'type' => 'string', 'required' => true, 'example' => 'rg-xxxx'], + 'required' => true, + 'maxItems' => 100, + 'minItems' => 1, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => 'ListResult<ResourceGroupModelTemplateConfigResult>', + 'description' => '请求结果。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'EipInfoModel' => [ - 'description' => '弹性公网IP信息。', - 'type' => 'object', - 'properties' => [ - 'NetworkInterfaceId' => [ - 'description' => '网卡ID。', - 'type' => 'string', - 'example' => 'eni-bp174p2xxxxxbyh02ix', - ], - 'IpAddress' => [ - 'description' => '公网 IP。', - 'type' => 'string', - 'example' => '171.xxx.xxx.221', - ], - 'ServerPortRange' => [ - 'description' => '端口范围。', - 'type' => 'string', - 'example' => '6606/6607', - ], - 'EipId' => [ - 'type' => 'string', + 'Data' => [ + 'description' => '移除结果。', + 'type' => 'array', + 'items' => [ + 'description' => '返回数据对象。', + 'type' => 'object', + 'properties' => [ + 'ResourceGroupId' => ['title' => '资源组 ID', 'description' => '资源组 ID', 'type' => 'string', 'example' => 'rg-xxxxx'], + 'Success' => ['title' => '是否执行成功', 'description' => '是否执行成功。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['title' => '错误码(失败时)', 'description' => '错误码(失败时)。', 'type' => 'string', 'example' => 'InvalidParameter.resourceGroupIds'], + 'Message' => ['title' => '错误信息(失败时)', 'description' => '错误信息(失败时)。', 'type' => 'string', 'example' => 'The parameter resourceGroupIds is invalid.'], ], ], ], + 'TotalCount' => ['title' => '总数量', 'description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"EipInfoModel\\": {\\n \\"NetworkInterfaceId\\": \\"eni-bp174p2xxxxxbyh02ix\\",\\n \\"IpAddress\\": \\"171.xxx.xxx.221\\",\\n \\"ServerPortRange\\": \\"6606/6607\\",\\n \\"EipId\\": \\"\\"\\n }\\n}","type":"json"}]', - 'title' => '查询无影工作站EIP信息', - ], - 'CreateWuyingServer' => [ - 'summary' => '创建一台或多台工作站。', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '移除资源组的模型分组', + 'description' => '您可以为无影 Agent 管理中心中的 JVS Computer、OpenClaw、Hermes Agent等 Agent 运行时所属的资源授权模型分组,作为 资源组内 Agent 执行任务的推理引擎。'."\n" + ."\n" + .'当一个 Agent 运行时自身配置了模型分组,且其所在的资源组也配置了模型分组时,资源组绑定的模型分组生效。即资源组设置优先级高于 Agent 运行时设置。'."\n" + ."\n" + .'当移除Agent运行时所属资源组的模型分组时,Agent运行时自身配置的模型分组会自动生效。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'appstreaming:RemoveResourceGroupModelTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"ResourceGroupId\\": \\"rg-xxxxx\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"InvalidParameter.resourceGroupIds\\",\\n \\"Message\\": \\"The parameter resourceGroupIds is invalid.\\"\\n }\\n ],\\n \\"TotalCount\\": 6,\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'RemoveRuntimeChannel' => [ + 'summary' => '移除Agent运行时的三方通道配置。', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'delete', 'riskType' => 'none', - 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingU1TTUH', - ], - 'tenantRelevance' => 'publicInformation', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], ], 'parameters' => [ [ - 'name' => 'WuyingServerName', + 'name' => 'RuntimeType', 'in' => 'formData', 'schema' => [ - 'description' => '工作站名称,创建多台时自动增加数字后缀。', + 'title' => 'Runtime资源运行环境类型', + 'description' => 'Runtime运行时类型。', 'type' => 'string', - 'required' => false, - 'example' => 'exampleServerName', + 'required' => true, + 'enumValueTitles' => ['CloudDesktop' => '云电脑'], + 'example' => 'CloudDesktop', ], ], [ - 'name' => 'Amount', + 'name' => 'RuntimeIds', 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => '数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'title' => 'Runtime ID列表', + 'description' => 'Agent运行时ID列表。', + 'type' => 'array', + 'items' => ['description' => 'Agent 运行时 ID,ID 对应关系如下:'."\n" + ."\n" + .'- JVS Computer:JVS Computer ID,格式如 jvs-xxxx。'."\n" + .'- OpenClaw:云电脑 ID,格式如 ecd-xxxx。'."\n" + .'- Hermes Agent:Hermes Agent ID,格式如 jvs-xxxx。', 'type' => 'string', 'required' => true, 'example' => 'jvs-xxxx'], + 'required' => true, + 'maxItems' => 100, + 'minItems' => 1, ], ], [ - 'name' => 'ServerInstanceType', + 'name' => 'AgentPlatform', 'in' => 'formData', 'schema' => [ - 'description' => '工作站规格。', + 'description' => 'Agent 平台。', 'type' => 'string', 'required' => false, - 'example' => 'eds.proworkstation_flagship_elite_ne.96c384g.192g4x', + 'enumValueTitles' => ['ENTERPRISE' => '企业版', 'ENTERPRISE_JVS' => '企业版JVS Computer、企业版Hermes Agent'], + 'example' => 'ENTERPRISE', ], ], [ - 'name' => 'SystemDiskSize', + 'name' => 'AgentProvider', 'in' => 'formData', 'schema' => [ - 'description' => '系统盘大小,单位GB。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', + 'title' => '智能体提供商名称', + 'description' => 'Agent 提供商。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['OpenClaw' => 'OpenClaw'], + 'example' => 'OpenClaw', ], ], [ - 'name' => 'SystemDiskCategory', + 'name' => 'Code', 'in' => 'formData', 'schema' => [ - 'description' => '系统盘类型。', + 'title' => '通道编码', + 'description' => '通道编码。', 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'cloud_auto' => 'cloud_auto', - ], - 'example' => 'cloud_auto', + 'required' => true, + 'enumValueTitles' => ['dingtalk-connector' => '钉钉', 'wechat' => '微信', 'feishu' => '飞书', 'qqbot' => 'QQ', 'wecom' => '企业微信'], + 'example' => 'dingtalk-connector', ], ], - [ - 'name' => 'SystemDiskPerformanceLevel', - 'in' => 'formData', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '系统盘性能等级。', - 'type' => 'string', - 'required' => false, - 'example' => 'PL0', + 'title' => 'BaseResult', + 'description' => '请求结果。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '移除Agent运行时的三方通道配置', + 'description' => '您可以通过此接口移除无影 Agent 管理中心内的 JVS Computer、OpenClaw、Hermes Agent等 Agent 运行时的特定三方通道配置。移除后,Agent将不能使用该三方通道进行对话。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'DataDisk', - 'in' => 'formData', - 'style' => 'flat', - 'schema' => [ - 'description' => '数据盘列表。', - 'type' => 'array', - 'items' => [ - 'description' => '数据盘信息。', - 'type' => 'object', - 'properties' => [ - 'DataDiskSize' => [ - 'description' => '数据盘大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], - 'DataDiskCategory' => [ - 'description' => '数据盘类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'cloud_auto' => 'cloud_auto', - ], - 'example' => 'cloud_auto', - ], - 'DataDiskPerformanceLevel' => [ - 'description' => '数据盘性能等级。', - 'type' => 'string', - 'required' => false, - 'example' => 'PL0', - ], - ], - 'required' => false, + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'appstreaming:RemoveRuntimeChannel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'required' => false, ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'RemoveRuntimeModelTemplate' => [ + 'summary' => '移除Agent运行时资源的模型分组。', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'ImageId', - 'in' => 'formData', - 'schema' => [ - 'description' => '镜像ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'img-bp13mu****', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + ], + 'parameters' => [ [ - 'name' => 'BizRegionId', + 'name' => 'RuntimeType', 'in' => 'formData', 'schema' => [ - 'description' => '地域。', + 'title' => 'Runtime资源运行环境类型', + 'description' => 'Agent运行时类型。', 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', + 'required' => true, + 'enumValueTitles' => ['CloudDesktop' => '云电脑'], + 'example' => 'CloudDesktop', ], ], [ - 'name' => 'OfficeSiteId', + 'name' => 'RuntimeIds', 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => '办公网络ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou+dir-643067****', + 'title' => 'Runtime ID列表', + 'description' => 'Agent运行时ID列表。', + 'type' => 'array', + 'items' => ['description' => 'Agent运行时ID,ID对应关系如下:'."\n" + ."\n" + .'- JVS Computer:JVS Computer ID,格式如 jvs-xxxx。'."\n" + .'- OpenClaw:云电脑 ID,格式如 ecd-xxxx。'."\n" + .'- Hermes Agent:Hermes Agent ID,格式如 jvs-xxxx。', 'type' => 'string', 'required' => true, 'example' => 'jvs-xxxxxx'], + 'required' => true, + 'maxItems' => 100, + 'minItems' => 1, ], ], [ - 'name' => 'Password', + 'name' => 'ModelTemplateId', 'in' => 'formData', + 'schema' => ['title' => '模型模板ID', 'description' => '模型分组ID。', 'type' => 'string', 'required' => true, 'example' => 'mt-xxxxxxx'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '工作站登录密码。', - 'type' => 'string', - 'required' => false, - 'example' => 'YourPassword123', + 'title' => 'ListResult<RuntimeModelTemplateConfigResult>', + 'description' => '请求结果。', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '移除结果列表。', + 'type' => 'array', + 'items' => [ + 'description' => '单个移除结果。', + 'type' => 'object', + 'properties' => [ + 'RuntimeId' => ['title' => 'Runtime ID', 'description' => 'Agent 运行时 ID,ID 对应关系如下:'."\n" + ."\n" + .'- JVS Computer:JVS Computer ID,格式如 jvs-xxxx。'."\n" + .'- OpenClaw:云电脑 ID,格式如 ecd-xxxx。'."\n" + .'- Hermes Agent:Hermes Agent ID,格式如 jvs-xxxx。', 'type' => 'string', 'example' => 'jvs-xxxxx'], + 'Success' => ['title' => '是否执行成功', 'description' => '是否执行成功。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['title' => '错误码(失败时)', 'description' => '错误码(失败时)。', 'type' => 'string', 'example' => 'Runtime.NotFound'], + 'Message' => ['title' => '错误信息(失败时)', 'description' => '错误信息(失败时)。', 'type' => 'string', 'example' => 'The runtime is not found.'], + 'HttpStatusCode' => ['title' => 'HTTP 状态码(失败时)', 'description' => 'HTTP 状态码(失败时)。', 'type' => 'integer', 'format' => 'int32', 'example' => '404'], + ], + ], + ], + 'TotalCount' => ['title' => '总数量', 'description' => '总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '移除Agent运行时资源的模型分组', + 'description' => '您可以为无影 Agent 管理中心中的 JVS Computer、OpenClaw、Hermes Agent等 Agent 运行时资源移除模型分组,当Agent运行时资源需要更换模型分组的时候,需要先调用本接口移除Agent运行时资源域原有模型分组的授权关系。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'ChargeType', - 'in' => 'formData', - 'schema' => [ - 'description' => '付费类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'PrePaid' => '包年包月', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'appstreaming:RemoveRuntimeModelTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'example' => 'PrePaid', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": [\\n {\\n \\"RuntimeId\\": \\"jvs-xxxxx\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"Runtime.NotFound\\",\\n \\"Message\\": \\"The runtime is not found.\\",\\n \\"HttpStatusCode\\": 404\\n }\\n ],\\n \\"TotalCount\\": 3,\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'RenewAppInstanceGroup' => [ + 'summary' => '为交付组续费。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Period', - 'in' => 'formData', - 'schema' => [ - 'description' => '购买时长。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeNodes' => ['FEATUREappstreamingU1TTUH'], + ], + 'parameters' => [ [ - 'name' => 'PeriodUnit', - 'in' => 'formData', + 'name' => 'ProductType', + 'in' => 'query', 'schema' => [ - 'description' => '时间单位。', + 'description' => '产品类型。', 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Month' => '月', - 'Year' => '年', - ], - 'example' => 'Month', + 'required' => true, + 'enumValueTitles' => ['CloudApp' => '无影云应用'], + 'example' => 'CloudApp', ], ], [ + 'name' => 'PromotionId', + 'in' => 'query', + 'schema' => ['description' => '优惠ID。可通过[GetResourcePrice](~~428503~~)接口获得。', 'type' => 'string', 'required' => false, 'example' => '17440009****'], + ], + [ 'name' => 'AutoPay', - 'in' => 'formData', + 'in' => 'query', 'schema' => [ - 'description' => '自动支付。', + 'description' => '是否自动付费。', 'type' => 'boolean', 'required' => false, + 'enumValueTitles' => ['true' => '自动付费', 'false' => '手动付费 [默认值]'], 'example' => 'false', ], ], [ - 'name' => 'AutoRenew', - 'in' => 'formData', - 'schema' => [ - 'description' => '自动续费。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'name' => 'Period', + 'in' => 'query', + 'schema' => ['description' => '资源购买时长的数量部分,与`PeriodUnit`一起表示完整的购买时长。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'PromotionId', - 'in' => 'formData', + 'name' => 'PeriodUnit', + 'in' => 'query', 'schema' => [ - 'description' => '折扣ID。'."\n" - ."\n\n" - .'> 如果设置了PromotionId,则会尝试应用相应的折扣优惠。', + 'description' => '资源购买时长的单位部分,与`Period`一起表示完整的购买时长。可使用的`Period`与`PeriodUnit`的搭配如下:'."\n" + ."\n" + .'- 1 Week(1周)'."\n" + .'- 1 Month(1个月)'."\n" + .'- 2 Month(2个月)'."\n" + .'- 3 Month(3个月)'."\n" + .'- 6 Month(6个月)'."\n" + .'- 1 Year(1年)'."\n" + .'- 2 Year(2年)'."\n" + .'- 3 Year(3年)'."\n" + ."\n" + .'> 该参数区分大小写。例如,`Week`是有效的,`week`是无效的。另外,如果请求参数不符合上述搭配,例如`2 Week`,虽然调用本接口会成功,但最终在下单阶段会出错。', 'type' => 'string', - 'required' => false, - 'example' => '17440009****', + 'required' => true, + 'enumValueTitles' => ['Month' => '月', 'Year' => '年', 'Week' => '周'], + 'example' => 'Week', ], ], [ - 'name' => 'VSwitchIds', - 'in' => 'formData', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '办公网络交换机列表。', - 'type' => 'array', - 'items' => [ - 'description' => '交换机ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-55vk6****5vatze7jg', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'name' => 'AppInstanceGroupId', + 'in' => 'query', + 'schema' => ['description' => '交付组ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-9ciijz60n4xsv****'], ], [ - 'name' => 'VirtualNodePoolId', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'example' => 'vnp-0b************gyw', - ], + 'name' => 'RenewMode', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'NetworkStrategyType', - 'in' => 'formData', + 'name' => 'RenewAmount', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'RenewNodes', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '网络策略类型(邀测)。', - 'type' => 'string', + 'type' => 'array', + 'items' => ['type' => 'string', 'required' => false], 'required' => false, - 'example' => 'DirectIp', ], ], - [ - 'name' => 'Bandwidth', - 'in' => 'formData', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '带宽值,NetworkStrategyType为DirectIp有效,单位:Mbps,范围2~100', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '1000', - 'minimum' => '2', - 'example' => '10', + 'title' => 'Schema of Response', + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'Code' => ['description' => '出错时的错误码。', 'type' => 'string', 'example' => 'InvalidParameter.ProductType'], + 'OrderId' => ['description' => '订单ID。', 'type' => 'string', 'example' => '123456****'], + 'Message' => ['description' => '出错时的错误消息。', 'type' => 'string', 'example' => 'The parameter ProductType is invalid.'], + ], ], ], + ], + 'title' => '为交付组续费', + 'description' => '请确保在使用该接口前,已充分了解无影云应用的[计费方式和价格](~~426039~~)。', + 'changeSet' => [ + ['createdAt' => '2025-06-29T01:34:13.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-05-09T14:31:30.000Z', 'description' => 'OpenAPI 下线'], + ['createdAt' => '2022-05-09T14:31:30.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenewAppInstanceGroup'], + ], + ], + 'ramActions' => [ [ - 'name' => 'IdempotenceToken', - 'in' => 'formData', - 'schema' => [ - 'title' => '幂等性令牌,确保操作唯一性', - 'description' => '幂等性令牌,确保操作唯一性', - 'type' => 'string', - 'required' => false, - 'example' => '6a1b8c3d', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:RenewAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Code\\": \\"InvalidParameter.ProductType\\",\\n \\"OrderId\\": \\"123456****\\",\\n \\"Message\\": \\"The parameter ProductType is invalid.\\"\\n}","type":"json"}]', + ], + 'RenewWuyingServer' => [ + 'summary' => '为一台工作站续费。', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'ServerPortRange', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'WuyingServerId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => '工作站ID。', 'type' => 'string', 'required' => false, 'example' => 'ws-0bw2f11****dial'], ], [ - 'name' => 'SavingPlanId', + 'name' => 'Period', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => '续费时长。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'HostName', + 'name' => 'PeriodUnit', 'in' => 'formData', 'schema' => [ - 'description' => '主机名称。限制说明如下:'."\n" - ."\n" - .'- 半角句号(.)和短划线(-)不能作为首尾字符,更不能连续使用。'."\n" - ."\n" - .'- windows工作站:字符长度为2~15,不支持半角句号(.),不能连续使用短划线,不能全是数字。允许包含大小写英文字母、数字和短划线(-)。'."\n" - ."\n" - .'- Linux工作站:'."\n" - ."\n" - .' - 字符长度为2~64,支持多个半角句号(.),点之间为一段,每段允许包含大小写英文字母、数字和短划线(-)。'."\n" - ."\n" - .' - 支持通过占位符`${instance_id}`将实例ID 写入HostName参数。例如:`HostName=k8s-${instance_id}`,并且创建的 ECS 实例 ID 为`i-123abc****`,则该实例的主机名为`k8s-i-123abc****`。'."\n" - ."\n" - .'- 一次创建多台工作站实例时,可以使用`name_prefix[begin_number,bits]name_suffix`的命名格式为多台工作站统一命名。例如,设置Hostname 的取值为`ecd-[1,4]-test`,则第一台工作站主机名称为`ecd-0001-test`,第二台工作站主机名称为`ecd-0002-test`,依次类推。'."\n" - ."\n" - .' - `name_prefix`:主机名称的前缀。'."\n" - ."\n" - .' - `[begin_number,bits]`:主机名称中的有序数字。'."\n" - ."\n" - .' - `begin_number`:起始数字,取值支持0~999999,默认值为 0,若取值非法也设置为0。'."\n" - ."\n" - .' - `bits`:数字位数,取值支持1~6,默认值为 6,若取值非法也设置为6。'."\n" - ."\n" - .' - `name_suffix`:主机名称的后缀。', + 'description' => '续费时间单位。', 'type' => 'string', 'required' => false, - 'example' => 'testhost', + 'enumValueTitles' => ['Month' => '月', 'Year' => '年'], + 'example' => 'Month'."\n", ], ], [ - 'name' => 'SubPayType', + 'name' => 'AutoPay', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['description' => '自动支付。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], [ - 'name' => 'MaxPrice', + 'name' => 'PromotionId', 'in' => 'formData', - 'schema' => [ - 'type' => 'number', - 'format' => 'float', - 'required' => false, - ], + 'schema' => ['description' => '折扣ID。', 'type' => 'string', 'required' => false, 'example' => '17440009****'], ], ], 'responses' => [ @@ -10112,128 +10004,59 @@ 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'Data' => [ - 'description' => '响应数据。', - 'type' => 'object', - 'properties' => [ - 'OrderId' => [ - 'description' => '订单ID。', - 'type' => 'string', - 'example' => '23429322113****', - ], - 'WuyingServerIdList' => [ - 'description' => '工作站ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '工作站ID。', - 'type' => 'string', - 'example' => 'ws-0byd****2lwi', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'OrderId' => ['description' => '订单ID。', 'type' => 'string', 'example' => '23977848****97'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Data\\": {\\n \\"OrderId\\": \\"23429322113****\\",\\n \\"WuyingServerIdList\\": [\\n \\"ws-0byd****2lwi\\"\\n ]\\n }\\n}","type":"json"}]', - 'title' => '创建工作站', - 'description' => '1. 项目相当于云Flow控制台的资源配置模块'."\n" - .'2. 当入参ContentId背后有多个版本的时候,当前api会<notice>使用默认的那个版本</notice> 同时进行绑定'."\n" - .'3. 只有Content的默认版本是可用状态,调用当前接口才可以成功', - ], - 'ListWuyingServer' => [ - 'summary' => '查询工作站列表。', - 'methods' => [ - 'post', - 'get', + 'title' => '续费工作站', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:RenewWuyingServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"OrderId\\": \\"23977848****97\\"\\n}","type":"json"}]', + ], + 'RestartWuyingServer' => [ + 'summary' => '重启工作站。', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingBC1NTD', - ], + 'abilityTreeNodes' => ['FEATUREappstreamingEP3FXS'], ], 'parameters' => [ [ - 'name' => 'PageSize', - 'in' => 'formData', - 'schema' => [ - 'title' => '分页大小', - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'maximum' => '100', - 'minimum' => '1', - 'example' => '100', - 'default' => '20', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'formData', - 'schema' => [ - 'title' => '页码', - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ 'name' => 'ProductType', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'BizType', - 'in' => 'formData', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'WuyingServerNameOrId', - 'in' => 'formData', - 'schema' => [ - 'title' => '研发主机名称', - 'description' => '工作站名称或工作站ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'exampleServerName', - ], + 'schema' => ['type' => 'string'], ], [ 'name' => 'WuyingServerIdList', @@ -10242,425 +10065,159 @@ 'schema' => [ 'description' => '工作站ID列表。', 'type' => 'array', - 'items' => [ - 'description' => '工作站ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ws-0bydg****2lwi', - ], + 'items' => ['description' => '工作站ID。', 'type' => 'string', 'required' => false, 'example' => 'ws-0byd****n2lwi'], 'required' => false, ], ], - [ - 'name' => 'ServerInstanceType', - 'in' => 'formData', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '规格', - 'description' => '工作站规格。', - 'type' => 'string', - 'required' => false, - 'example' => 'eds.proworkstation_flagship_elite.32c64g.48g1x', + 'title' => 'Schema of Response', + 'description' => '请求响应。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '重启工作站', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'ImageId', - 'in' => 'formData', - 'schema' => [ - 'title' => '镜像ID', - 'description' => '镜像ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'img-bp13mu****', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:RestartWuyingServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'StartTaskForDistributeImage' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'BizRegionId', - 'in' => 'formData', - 'schema' => [ - 'title' => '地域', - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'AK' => [], ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '219723', + 'abilityTreeNodes' => ['FEATUREappstreamingSH8DGI'], + ], + 'parameters' => [ [ - 'name' => 'OfficeSiteId', + 'name' => 'ImageId', 'in' => 'formData', - 'schema' => [ - 'title' => '工作区ID', - 'description' => '办公网络ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou+dir-172301****', - ], + 'schema' => ['title' => '镜像id', 'description' => '镜像id', 'type' => 'string', 'required' => true, 'example' => 'imgc-07jyldnd9i*****'], ], [ - 'name' => 'ChargeType', + 'name' => 'VersionId', 'in' => 'formData', - 'schema' => [ - 'title' => '付费类型', - 'description' => '付费类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'PrePaid', - ], + 'schema' => ['title' => '版本id', 'description' => '镜像版本ID,不填默认使用最新的镜像版本。', 'type' => 'string', 'required' => false, 'example' => 'iv-07jyldnd9i****'], ], [ - 'name' => 'VirtualNodePoolId', + 'name' => 'RetryType', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['title' => 'RESET/CONTINUE', 'description' => '该参数暂不对外透出。', 'type' => 'string', 'required' => false, 'example' => 'RETRY'], ], [ - 'name' => 'AddVirtualNodePoolStatusList', + 'name' => 'DestinationRegionList', 'in' => 'formData', - 'style' => 'flat', + 'style' => 'repeatList', 'schema' => [ + 'description' => '需要复制的目标地域列表。', 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['description' => '阿里云地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], 'required' => false, + 'maxItems' => 100, ], ], [ - 'name' => 'Status', + 'name' => 'ProductType', 'in' => 'formData', 'schema' => [ - 'title' => '状态', - 'description' => '工作站状态。', + 'description' => '产品类型。', 'type' => 'string', 'required' => false, - 'example' => 'RUNNING', + 'enumValueTitles' => ['CloudDesktop' => '无影云桌面', 'CloudApp' => '无影云应用', 'WuyingServer' => '无影工作站'], + 'example' => 'CloudApp', ], ], [ - 'name' => 'Users', + 'name' => 'SourceRegion', 'in' => 'formData', - 'style' => 'flat', - 'schema' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'required' => false, - ], + 'schema' => ['description' => '指定复制镜像的源地域,不设置则随机选择。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '请求响应。', + 'title' => 'PlainResult<String>', + 'description' => '返回数据结构体。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'TotalCount' => [ - 'title' => '总量', - 'description' => '总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', - ], - 'PageSize' => [ - 'title' => '分页大小', - 'description' => '分页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'PageNumber' => [ - 'title' => '页码', - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'WuyingServerList' => [ - 'description' => '工作站信息列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'AliUid' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'WuyingServerId' => [ - 'description' => '工作站ID。', - 'type' => 'string', - 'example' => 'ws-0byd****8wn2lwi', - ], - 'WuyingServerName' => [ - 'description' => '工作站名称。', - 'type' => 'string', - 'example' => 'exampleServerName', - ], - 'Status' => [ - 'description' => '工作站状态。', - 'type' => 'string', - 'example' => 'RUNNING', - ], - 'ServerInstanceTypeInfo' => [ - 'description' => '规格信息。', - 'type' => 'object', - 'properties' => [ - 'ServerInstanceType' => [ - 'description' => '工作站规格。', - 'type' => 'string', - 'example' => 'eds.proworkstation_flagship_elite_ne.96c384g.192g4x', - ], - 'Cpu' => [ - 'description' => 'vCPU数量。', - 'type' => 'string', - 'example' => '96', - ], - 'Memory' => [ - 'description' => '内存大小,单位为MB。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '393,216', - ], - 'Gpu' => [ - 'description' => 'GPU数量。', - 'type' => 'string', - 'example' => '4', - ], - 'GpuMemory' => [ - 'description' => '显存大小,单位为MB。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '196,608', - ], - 'GpuSpec' => [ - 'type' => 'string', - ], - ], - ], - 'SystemDiskSize' => [ - 'description' => '系统盘大小,单位为GB。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'SystemDiskCategory' => [ - 'description' => '系统盘类型。', - 'type' => 'string', - 'example' => 'cloud_auto', - ], - 'SystemDiskPerformanceLevel' => [ - 'description' => '系统盘性能等级。', - 'type' => 'string', - 'example' => 'PL0', - ], - 'DataDisk' => [ - 'description' => '数据盘列表。', - 'type' => 'array', - 'items' => [ - 'description' => '数据盘信息。', - 'type' => 'object', - 'properties' => [ - 'DataDiskSize' => [ - 'description' => '数据盘大小,单位为GB。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'DataDiskCategory' => [ - 'description' => '数据盘类型。', - 'type' => 'string', - 'example' => 'cloud_auto', - ], - 'DataDiskPerformanceLevel' => [ - 'description' => '数据盘性能等级。', - 'type' => 'string', - 'example' => 'PL0', - ], - 'DataDiskId' => [ - 'type' => 'string', - ], - 'DataDiskNo' => [ - 'type' => 'string', - ], - ], - ], - ], - 'ImageId' => [ - 'description' => '镜像ID。', - 'type' => 'string', - 'example' => 'imgc-06****oagaev', - ], - 'ImageName' => [ - 'description' => '镜像名称。', - 'type' => 'string', - 'example' => 'Alibaba Cloud Linux 3.2104 LTS 64位', - ], - 'OsType' => [ - 'description' => '操作系统类型。', - 'type' => 'string', - 'example' => 'Linux', - ], - 'BizRegionId' => [ - 'description' => '地域。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'OfficeSiteId' => [ - 'description' => '办公网络ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou+dir-1b****ayv2', - ], - 'OfficeSiteName' => [ - 'description' => '办公网络名称。', - 'type' => 'string', - 'example' => 'exampleOfficeSite', - ], - 'OfficeSiteType' => [ - 'description' => '办公网络类型。', - 'type' => 'string', - 'example' => 'SIMPLE', - ], - 'NetworkInterfaceIp' => [ - 'description' => '内网IP。', - 'type' => 'string', - 'example' => '10.80.21.149', - ], - 'ChargeType' => [ - 'description' => '付费方式。', - 'type' => 'string', - 'example' => 'PrePaid', - ], - 'CreateTime' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2025-08-02T16:52:11.000+00:00', - ], - 'ExpiredTime' => [ - 'description' => '到期时间。', - 'type' => 'string', - 'example' => '2025-09-03T16:00:00.000+00:00', - ], - 'VirtualNodePoolId' => [ - 'type' => 'string', - ], - 'AddVirtualNodePoolStatus' => [ - 'type' => 'string', - ], - 'SubPayType' => [ - 'type' => 'string', - ], - 'MaxPrice' => [ - 'type' => 'number', - 'format' => 'float', - ], - 'VirtualKubeletIp' => [ - 'type' => 'string', - ], - 'ResourceSessionStatus' => [ - 'type' => 'string', - ], - 'Bandwidth' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'FotaVersion' => [ - 'type' => 'string', - ], - 'TimerGroupId' => [ - 'title' => '定时任务ID。', - 'description' => '定时任务ID。', - 'type' => 'string', - ], - 'SystemDiskId' => [ - 'type' => 'string', - ], - 'InstanceInfoList' => [ - 'description' => '工作站实例信息列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'InstanceId' => [ - 'description' => '实例ID。', - 'type' => 'string', - 'example' => 'p-0ceitx****c5', - ], - 'NetworkInterfaceId' => [ - 'description' => '网卡ID。', - 'type' => 'string', - 'example' => 'eni-uf65b****dfnt3wb', - ], - ], - ], - ], - 'SecurityGroupIds' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'Users' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'Sessions' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ResourceSessionStartTime' => [ - 'type' => 'string', - ], - 'UserId' => [ - 'type' => 'string', - ], - ], - ], - ], - 'PolicyGroupIdList' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - ], - ], - ], + 'Data' => ['description' => '返回的镜像复制任务ID。', 'type' => 'string', 'example' => 'tid-06xnr5lyp77e7****'], + 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'], + 'Code' => ['description' => '出错时的错误码。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '出错时的错误消息。', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求的ID。', 'type' => 'string', 'example' => '419F31B9-1FDF-5644-ABA3-D00026FA****'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Instance.NotFound', 'errorMessage' => 'The instance is not found.', 'description' => '实例找不到。'], + ['errorCode' => 'DesktopInstance.NotFound', 'errorMessage' => 'The cloud computer instance does not exist.', 'description' => '云电脑实例不存在。'], + ['errorCode' => 'Instance.ImageUnsupported', 'errorMessage' => 'A non-centralized image does not support this type of operation.', 'description' => '使用非中心化镜像不支持该操作。'], + ['errorCode' => 'Instance.PhysicalNodeNotExist', 'errorMessage' => 'The instance physical node does not exist.', 'description' => '物理节点不存在。'], + ['errorCode' => 'ImageCreateByInstance.TaskExist', 'errorMessage' => 'The image task of instance creation already exists.', 'description' => '实例创建镜像任务已存在。'], + ['errorCode' => 'ExceedBuilderQuota', 'errorMessage' => 'The maximum number of builders is reached.', 'description' => 'Builder数量达到了上限。'], + ['errorCode' => 'InvalidBaseImage.NotConfigured', 'errorMessage' => 'Configuration required for Vhd/Container images.', 'description' => 'Vhd/Container镜像类型需要配置BaseImageId。'], + ['errorCode' => 'CreateDesktopImageRecord.Failed', 'errorMessage' => 'Create cloud computer image failed.', 'description' => '创建云电脑镜像失败。'], + ['errorCode' => 'Image.NotExist', 'errorMessage' => 'The image does not exist.', 'description' => '镜像不存在。'], + ['errorCode' => 'ImageRegionDistribute.NotAllow', 'errorMessage' => 'This image cannot be distributed.', 'description' => '镜像不允许分发操作。'], + ['errorCode' => 'ImageUpdateFailed.NotAllow', 'errorMessage' => 'The image is not allowed to be modified.', 'description' => '镜像不允许修改。'], + ['errorCode' => 'ImageUpdateSharedImageFailed.NotAllow', 'errorMessage' => 'The shared image is not allowed to be modified.', 'description' => '共享镜像不允许修改。'], + ['errorCode' => 'ParentImageRegionDistribute.NotExist', 'errorMessage' => 'The target distribution region of the parent image does not exist.', 'description' => '依赖父镜像分发地址不存在。'], + ['errorCode' => 'InternalError', 'errorMessage' => 'Internal error.', 'description' => '内部错误'], + ['errorCode' => 'ImageDistribute.TargetDistributeRegionListEmpty', 'errorMessage' => 'The target distribution region list is empty.', 'description' => '分发地域配置为空。'], + ['errorCode' => 'ImageDistribute.ImageNotSupport', 'errorMessage' => 'The image does not support region distribution.', 'description' => '镜像不支持分发,如:加密镜像。'], + ['errorCode' => 'ImageDistribute.RepeatedDistribution', 'errorMessage' => 'This image has been distributed to this region.', 'description' => '镜像已经分发过该地域。'], + ['errorCode' => 'ImageDistribute.Undistributed', 'errorMessage' => 'The image has not been distributed to any region.', 'description' => '镜像分发无拷贝源地址,检查镜像分发地域是否已经清空。'], + ['errorCode' => 'ImageRegion.NotConfigured', 'errorMessage' => 'The image does not have any region configuration.', 'description' => '镜像无任何地域配置信息。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '发起镜像地域复制任务', + 'summary' => '发起镜像复制到其他地域的任务。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TotalCount\\": 15,\\n \\"PageSize\\": 10,\\n \\"PageNumber\\": 1,\\n \\"WuyingServerList\\": [\\n {\\n \\"AliUid\\": 0,\\n \\"WuyingServerId\\": \\"ws-0byd****8wn2lwi\\",\\n \\"WuyingServerName\\": \\"exampleServerName\\",\\n \\"Status\\": \\"RUNNING\\",\\n \\"ServerInstanceTypeInfo\\": {\\n \\"ServerInstanceType\\": \\"eds.proworkstation_flagship_elite_ne.96c384g.192g4x\\",\\n \\"Cpu\\": \\"96\\",\\n \\"Memory\\": 0,\\n \\"Gpu\\": \\"4\\",\\n \\"GpuMemory\\": 0,\\n \\"GpuSpec\\": \\"\\"\\n },\\n \\"SystemDiskSize\\": 100,\\n \\"SystemDiskCategory\\": \\"cloud_auto\\",\\n \\"SystemDiskPerformanceLevel\\": \\"PL0\\",\\n \\"DataDisk\\": [\\n {\\n \\"DataDiskSize\\": 200,\\n \\"DataDiskCategory\\": \\"cloud_auto\\",\\n \\"DataDiskPerformanceLevel\\": \\"PL0\\",\\n \\"DataDiskId\\": \\"\\",\\n \\"DataDiskNo\\": \\"\\"\\n }\\n ],\\n \\"ImageId\\": \\"imgc-06****oagaev\\",\\n \\"ImageName\\": \\"Alibaba Cloud Linux 3.2104 LTS 64位\\",\\n \\"OsType\\": \\"Linux\\",\\n \\"BizRegionId\\": \\"cn-hangzhou\\",\\n \\"OfficeSiteId\\": \\"cn-hangzhou+dir-1b****ayv2\\",\\n \\"OfficeSiteName\\": \\"exampleOfficeSite\\",\\n \\"OfficeSiteType\\": \\"SIMPLE\\",\\n \\"NetworkInterfaceIp\\": \\"10.80.21.149\\",\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"CreateTime\\": \\"2025-08-02T16:52:11.000+00:00\\",\\n \\"ExpiredTime\\": \\"2025-09-03T16:00:00.000+00:00\\",\\n \\"VirtualNodePoolId\\": \\"\\",\\n \\"AddVirtualNodePoolStatus\\": \\"\\",\\n \\"SubPayType\\": \\"\\",\\n \\"MaxPrice\\": 0,\\n \\"VirtualKubeletIp\\": \\"\\",\\n \\"ResourceSessionStatus\\": \\"\\",\\n \\"Bandwidth\\": 0,\\n \\"FotaVersion\\": \\"\\",\\n \\"TimerGroupId\\": \\"\\",\\n \\"SystemDiskId\\": \\"\\",\\n \\"InstanceInfoList\\": [\\n {\\n \\"InstanceId\\": \\"p-0ceitx****c5\\",\\n \\"NetworkInterfaceId\\": \\"eni-uf65b****dfnt3wb\\"\\n }\\n ],\\n \\"SecurityGroupIds\\": [\\n \\"\\"\\n ],\\n \\"Users\\": [\\n \\"\\"\\n ],\\n \\"Sessions\\": [\\n {\\n \\"ResourceSessionStartTime\\": \\"\\",\\n \\"UserId\\": \\"\\"\\n }\\n ],\\n \\"PolicyGroupIdList\\": [\\n \\"\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询工作站', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": \\"tid-06xnr5lyp77e7****\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"419F31B9-1FDF-5644-ABA3-D00026FA****\\"\\n}","type":"json"}]', ], 'StartWuyingServer' => [ - 'summary' => '启动工作站。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -10672,18 +10229,13 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingEP3FXS', - ], + 'abilityTreeNodes' => ['FEATUREappstreamingEP3FXS'], ], 'parameters' => [ [ 'name' => 'ProductType', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string'], ], [ 'name' => 'WuyingServerIdList', @@ -10692,12 +10244,7 @@ 'schema' => [ 'description' => '工作站ID列表。', 'type' => 'array', - 'items' => [ - 'description' => '工作站ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ws-0bydg****2lwi', - ], + 'items' => ['description' => '工作站ID。', 'type' => 'string', 'required' => false, 'example' => 'ws-0bydg****2lwi'], 'required' => false, ], ], @@ -10709,35 +10256,41 @@ 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', 'title' => '启动工作站', + 'summary' => '启动工作站。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:StartWuyingServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', ], 'StopWuyingServer' => [ 'summary' => '停止工作站。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -10749,18 +10302,13 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingEP3FXS', - ], + 'abilityTreeNodes' => ['FEATUREappstreamingEP3FXS'], ], 'parameters' => [ [ 'name' => 'ProductType', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string'], ], [ 'name' => 'WuyingServerIdList', @@ -10769,12 +10317,7 @@ 'schema' => [ 'description' => '工作站ID列表。', 'type' => 'array', - 'items' => [ - 'description' => '工作站ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ws-0byd****wn2lwi', - ], + 'items' => ['description' => '工作站ID。', 'type' => 'string', 'required' => false, 'example' => 'ws-0byd****wn2lwi'], 'required' => false, ], ], @@ -10786,10 +10329,7 @@ 'description' => '强制重启。', 'type' => 'boolean', 'required' => false, - 'enumValueTitles' => [ - 'True' => '强制', - 'False' => '不强制', - ], + 'enumValueTitles' => ['True' => '强制', 'False' => '不强制'], 'example' => 'True', ], ], @@ -10801,72 +10341,124 @@ 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'AD2D0761-1FE5-549D-B169******', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'AD2D0761-1FE5-549D-B169******'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD2D0761-1FE5-549D-B169******\\"\\n}","type":"json"}]', 'title' => '停止工作站', - ], - 'RestartWuyingServer' => [ - 'summary' => '重启工作站。', - 'methods' => [ - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:StopWuyingServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD2D0761-1FE5-549D-B169******\\"\\n}","type":"json"}]', + ], + 'TagCloudResources' => [ + 'summary' => '为云资源创建并绑定标签,对于资源已有的标签,则更新标签的值。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingEP3FXS', - ], + 'abilityTreeCode' => '266104', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ProductType', + 'name' => 'ResourceType', 'in' => 'formData', 'schema' => [ + 'title' => '资源类型。取值范围:'."\n" + .'AliUid:租户 '."\n" + .'AppId:应用ID'."\n" + .'AppInstanceGroupId:交付组'."\n" + .'WyId:用户', + 'description' => '云资源类型。', 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['CenterImageId' => '中心镜像ID', 'AppId' => '应用ID', 'WyId' => '无影用户唯一ID', 'AppInstanceGroupId' => '交付组ID', 'AliUid' => '租户ID'], + 'example' => 'AppInstanceGroupId', + 'maxLength' => 30, + 'minLength' => 1, + 'enum' => ['AliUid', 'AppId', 'AppInstanceGroupId', 'WyId', 'CenterImageId'], + ], + ], + [ + 'name' => 'ResourceIds', + 'in' => 'formData', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '资源ID列表,最多支持50个'."\n" + .'资源类型为租户的时候不需要指定。', + 'description' => '资源ID列表,最多支持50个。资源类型为租户ID时不需要指定。', + 'type' => 'array', + 'items' => ['title' => '资源ID', 'description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-0002', 'maxLength' => 64, 'minLength' => 1], 'required' => false, + 'maxItems' => 50, + 'minItems' => 0, ], ], [ - 'name' => 'WuyingServerIdList', + 'name' => 'Tags', 'in' => 'formData', - 'style' => 'flat', + 'style' => 'repeatList', 'schema' => [ - 'description' => '工作站ID列表。', + 'title' => '自定义(Custom+指定范围的System)标签列表,最多支持10个'."\n" + .'● 标签键长度范围:1~128 个字符。'."\n" + .'● 标签值长度范围:1~128 个字符。'."\n" + .'● 区分大小写。'."\n" + .'● 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。', + 'description' => '标签列表。支持系统标签和自定义标签。'."\n" + ."\n" + .'- 系统标签枚举值:'."\n" + .' - `System/Scheduler/GRAYSCALE`:灰度标签'."\n" + .' - `System/Scheduler/STOP_NEW_USER_CONNECTION`:阻止交付组新绑定用户建连的标签'."\n" + ."\n" + .'- 自定义标签:最多可创建20个。'."\n" + ."\n" + .'> 同一个资源上的同一个标签键只能对应一个标签值。如果您尝试添加已有标签键,则对应的标签值会更新为新值。', 'type' => 'array', 'items' => [ - 'description' => '工作站ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ws-0byd****n2lwi', + 'title' => '标签信息。', + 'description' => '标签信息。', + 'type' => 'object', + 'properties' => [ + 'Key' => ['title' => '标签键。', 'description' => '标签键。区分大小写。长度范围:1\\~128 个字符。', 'type' => 'string', 'required' => true, 'example' => 'Resolution', 'maxLength' => 128, 'minLength' => 1], + 'Value' => ['title' => '标签值。', 'description' => '标签值。区分大小写。长度范围:1\\~128 个字符。', 'type' => 'string', 'required' => true, 'example' => '720p', 'maxLength' => 256, 'minLength' => 0], + ], + 'required' => true, ], - 'required' => false, + 'required' => true, + 'maxItems' => 20, + 'minItems' => 1, ], ], ], @@ -10874,38 +10466,95 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => '请求响应。', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'FailedResources' => [ + 'title' => '失败的资源与标签信息列表。', + 'description' => '失败的资源与标签信息列表。', + 'type' => 'array', + 'items' => [ + 'title' => '失败的资源与标签信息。', + 'description' => '失败的资源与标签信息。', + 'type' => 'object', + 'properties' => [ + 'ResourceType' => [ + 'title' => '资源类型。取值范围:'."\n" + .'AliUid:租户 '."\n" + .'AppId:应用ID'."\n" + .'AppInstanceGroupId:交付组'."\n" + .'WyId:用户', + 'description' => '云资源类型。', + 'type' => 'string', + 'enumValueTitles' => ['CenterImageId' => '中心镜像ID', 'AppId' => '应用ID', 'WyId' => '无影用户唯一ID', 'AppInstanceGroupId' => '交付组ID', 'AliUid' => '租户ID'], + 'example' => 'AppInstanceGroupId', + ], + 'ResourceId' => ['title' => '资源ID。', 'description' => '资源ID。', 'type' => 'string', 'example' => 'aig-001'], + 'Tags' => [ + 'title' => '失败的标签信息列表。', + 'description' => '失败的标签信息列表。', + 'type' => 'array', + 'items' => [ + 'title' => '失败的标签信息。', + 'description' => '失败的标签信息。', + 'type' => 'object', + 'properties' => [ + 'Key' => ['title' => '标签键。', 'description' => '标签键。', 'type' => 'string', 'example' => 'System/Scheduler/STOP_NEW_USER_CONNECTION'], + 'Value' => ['title' => '标签值。', 'description' => '标签值。', 'type' => 'string', 'example' => 'true'], + 'Scope' => [ + 'title' => '标签类型。取值范围:'."\n" + .'Custom:自定义标签。'."\n" + .'System:系统标签。', + 'description' => '标签类型。', + 'type' => 'string', + 'enumValueTitles' => ['Custom' => '自定义标签', 'System' => '系统标签'], + 'example' => 'System', + ], + ], + ], + ], + 'Code' => ['title' => '错误码。', 'description' => '错误码。', 'type' => 'string', 'example' => 'TAG_KEY_DUPLICATED'], + 'Message' => ['title' => '错误描述', 'description' => '错误描述。', 'type' => 'string', 'example' => 'Duplicate tag keys exist.'], + ], + ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 500 => [ + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'Service unavailable. Please try again later.', 'description' => '服务不可用,请稍后再试。'], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"FailedResources\\": [\\n {\\n \\"ResourceType\\": \\"AppInstanceGroupId\\",\\n \\"ResourceId\\": \\"aig-001\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"System/Scheduler/STOP_NEW_USER_CONNECTION\\",\\n \\"Value\\": \\"true\\",\\n \\"Scope\\": \\"System\\"\\n }\\n ],\\n \\"Code\\": \\"TAG_KEY_DUPLICATED\\",\\n \\"Message\\": \\"Duplicate tag keys exist.\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '为云资源创建并绑定标签', + 'changeSet' => [ + ['createdAt' => '2025-05-26T09:36:56.000Z', 'description' => '请求参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', - 'title' => '重启工作站', - ], - 'ModifyWuyingServerAttribute' => [ - 'summary' => '修改工作站属性。', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:TagCloudResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'UnassignWuyingServerPrivateAddresses' => [ + 'summary' => '解绑研发主机的辅助私有IP', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -10917,86 +10566,136 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingBC1NTD', - ], + 'abilityTreeNodes' => ['FEATUREappstreamingU1TTUH'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'ProductType', + 'name' => 'WuyingServerId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['title' => '研发主机ID。', 'description' => '研发主机ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-bp1234567890abcde'], ], [ - 'name' => 'WuyingServerId', + 'name' => 'PrivateIpAddresses', 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => '工作站ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ws-0bw2f11****dial', + 'title' => '待解绑的辅助私有IP地址列表。', + 'description' => '待解绑的辅助私有IP地址列表。', + 'type' => 'array', + 'items' => ['title' => '待解绑的辅助私有IP地址。', 'description' => '待解绑的辅助私有IP地址。', 'type' => 'string', 'required' => false, 'example' => '10.0.0.2'], + 'required' => true, + 'example' => '["10.0.0.2","10.0.0.3"]', + 'maxItems' => 50, ], ], - [ - 'name' => 'WuyingServerName', - 'in' => 'formData', + ], + 'responses' => [ + 200 => [ + 'headers' => [], 'schema' => [ - 'description' => '名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'exampleServerName', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '解绑无影工作站的辅助私有IP地址', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'Unbind' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Password', + 'AK' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update'], + 'parameters' => [ + [ + 'name' => 'ProductType', 'in' => 'formData', 'schema' => [ - 'description' => '工作站登录密码。', + 'description' => '产品类型。', 'type' => 'string', - 'required' => false, - 'example' => 'yourPassword', + 'required' => true, + 'enumValueTitles' => ['CloudApp' => '无影云应用'], + 'example' => 'CloudApp', ], ], + [ + 'name' => 'EndUserId', + 'in' => 'formData', + 'schema' => ['description' => '用户名。', 'type' => 'string', 'required' => true, 'example' => 'alice'], + ], + [ + 'name' => 'AppInstanceGroupId', + 'in' => 'formData', + 'schema' => ['description' => '交付组ID。可调用[GetConnectionTicket](~~609336~~)接口获取。', 'type' => 'string', 'required' => true, 'example' => 'aig-9ciijz60n4xsv****'], + ], + [ + 'name' => 'AppInstancePersistentId', + 'in' => 'formData', + 'schema' => ['description' => '持久会话ID。可调用[GetConnectionTicket](~~609336~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'p-0bxls9m3cl7s****'], + ], + [ + 'name' => 'AppInstanceId', + 'in' => 'formData', + 'schema' => ['description' => '会话ID。可调用[GetConnectionTicket](~~609336~~)接口获取。', 'type' => 'string', 'required' => false, 'example' => 'ai-d297eyf83g5ni****'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => '请求响应。', + 'description' => '返回信息集合。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '解绑用户和会话', + 'summary' => '解绑用户和会话。', + 'changeSet' => [ + ['createdAt' => '2023-12-22T07:18:41.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-03-17T08:53:28.000Z', 'description' => '请求参数发生变更'], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'Unbind'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:Unbind', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', - 'title' => '修改工作站属性', ], - 'UpdateWuyingServerImage' => [ - 'summary' => '更新工作站镜像。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UntagCloudResources' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -11008,40 +10707,59 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingDG81PX', - ], + 'abilityTreeCode' => '266118', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'ProductType', + 'name' => 'ResourceType', 'in' => 'formData', 'schema' => [ - 'description' => '产品类型。需填写固定值WuyingServer。', + 'title' => '资源类型。取值范围:'."\n" + .'AliUid:租户 '."\n" + .'AppId:应用ID'."\n" + .'AppInstanceGroupId:交付组'."\n" + .'WyId:用户', + 'description' => '资源类型。', 'type' => 'string', - 'required' => false, - 'example' => 'WuyingServer', + 'required' => true, + 'enumValueTitles' => ['AppId' => '应用ID', 'WyId' => '无影用户唯一ID', 'AppInstanceGroupId' => '交付组ID', 'AliUid' => '租户ID'], + 'example' => 'AppInstanceGroupId', ], ], [ - 'name' => 'WuyingServerId', + 'name' => 'ResourceIds', 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => '工作站ID。', - 'type' => 'string', + 'title' => '资源ID列表,最多支持50个'."\n" + .'资源类型为租户的时候不需要指定。', + 'description' => '资源ID列表,最多支持50个。资源类型为租户ID时不需要指定。', + 'type' => 'array', + 'items' => ['title' => '资源ID', 'description' => '资源ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-0009', 'maxLength' => 64, 'minLength' => 1], 'required' => false, - 'example' => 'ws-0bw2f11****dial', + 'maxItems' => 50, + 'minItems' => 0, ], ], [ - 'name' => 'ImageId', + 'name' => 'TagKeys', 'in' => 'formData', + 'style' => 'repeatList', 'schema' => [ - 'description' => '镜像ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'imgc-0aae4rgk9****6e8p', + 'title' => '自定义(Custom+指定范围的System)标签键列表,最多支持10个', + 'description' => '标签列表。支持系统标签和自定义标签。最多可传入10个标签。'."\n" + ."\n" + .'系统标签枚举值:'."\n" + .'- `System/Scheduler/GRAYSCALE`:灰度标签'."\n" + .'- `System/Scheduler/STOP_NEW_USER_CONNECTION`:阻止交付组新绑定用户建连的标签', + 'type' => 'array', + 'items' => ['title' => '标签键', 'description' => '标签键。区分大小写。长度范围:1\\~128 个字符。', 'type' => 'string', 'required' => true, 'example' => 'System/Scheduler/GRAYSCALE', 'maxLength' => 128, 'minLength' => 1], + 'required' => true, + 'maxItems' => 20, + 'minItems' => 1, ], ], ], @@ -11049,216 +10767,263 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => '请求响应。', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'TaskId' => [ - 'description' => '更新任务ID。', - 'type' => 'string', - 'example' => 'ota-be7jzm29wrrz5****', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'E25FC620-6B6F-12D2-A992-AD8727DC****'], + 'FailedResources' => [ + 'title' => '失败的资源与标签信息列表。', + 'description' => '失败的资源与标签信息列表。', + 'type' => 'array', + 'items' => [ + 'title' => '失败的资源与标签信息。', + 'description' => '失败的资源与标签信息。', + 'type' => 'object', + 'properties' => [ + 'ResourceType' => [ + 'title' => '资源类型。'."\n" + .'● 租户 AliUid'."\n" + .'● 应用ID AppId'."\n" + .'● 交付组 AppInstanceGroupId'."\n" + .'● 用户 WyId', + 'description' => '云资源类型。', + 'type' => 'string', + 'enumValueTitles' => ['AppId' => '应用ID', 'WyId' => '无影用户唯一ID', 'AppInstanceGroupId' => '交付组ID', 'AliUid' => '租户ID'], + 'example' => 'AppInstanceGroupId', + ], + 'ResourceId' => ['title' => '资源ID。', 'description' => '资源ID。', 'type' => 'string', 'example' => 'aig-00000001'], + 'Tags' => [ + 'title' => '失败的标签信息列表。', + 'description' => '失败的标签信息列表。', + 'type' => 'array', + 'items' => [ + 'title' => '失败的标签信息。', + 'description' => '失败的标签信息。', + 'type' => 'object', + 'properties' => [ + 'Key' => ['title' => '标签键。', 'description' => '标签键。', 'type' => 'string', 'example' => 'Resolution'], + 'Scope' => [ + 'title' => '标签类型。取值范围:'."\n" + .'Custom:自定义标签。'."\n" + .'System:系统标签。', + 'description' => '标签类型。', + 'type' => 'string', + 'enumValueTitles' => ['Custom' => '自定义标签', 'System' => '系统标签'], + 'example' => 'Custom', + ], + ], + ], + ], + 'Code' => ['title' => '错误码。', 'description' => '错误码。', 'type' => 'string', 'example' => 'UNTAG_RESOURCE_FAILED'], + 'Message' => ['title' => '错误描述', 'description' => '错误描述。', 'type' => 'string', 'example' => 'Failed to untag resource.'], + ], + ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'errorCodes' => [ + 500 => [ + ['errorCode' => 'ServiceUnavailable', 'errorMessage' => 'Service unavailable. Please try again later.', 'description' => '服务不可用,请稍后再试。'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TaskId\\": \\"ota-be7jzm29wrrz5****\\"\\n}","type":"json"}]', - 'title' => '更新工作站镜像', - ], - 'RenewWuyingServer' => [ - 'summary' => '为一台工作站续费。', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '解除云资源的标签', + 'summary' => '为云资源统一解绑标签。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:UntagCloudResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E25FC620-6B6F-12D2-A992-AD8727DC****\\",\\n \\"FailedResources\\": [\\n {\\n \\"ResourceType\\": \\"AppInstanceGroupId\\",\\n \\"ResourceId\\": \\"aig-00000001\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"Resolution\\",\\n \\"Scope\\": \\"Custom\\"\\n }\\n ],\\n \\"Code\\": \\"UNTAG_RESOURCE_FAILED\\",\\n \\"Message\\": \\"Failed to untag resource.\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'UpdateAppInstanceGroupImage' => [ + 'summary' => '更新交付组的镜像。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'WuyingServerId', - 'in' => 'formData', + 'name' => 'ProductType', + 'in' => 'query', 'schema' => [ - 'description' => '工作站ID。', + 'description' => '产品类型。', 'type' => 'string', - 'required' => false, - 'example' => 'ws-0bw2f11****dial', - ], - ], - [ - 'name' => 'Period', - 'in' => 'formData', - 'schema' => [ - 'description' => '续费时长。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'required' => true, + 'enumValueTitles' => ['CloudApp' => '无影云应用'], + 'example' => 'CloudApp', ], ], [ - 'name' => 'PeriodUnit', - 'in' => 'formData', - 'schema' => [ - 'description' => '续费时间单位。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Month' => '月', - 'Year' => '年', - ], - 'example' => 'Month'."\n", - ], + 'name' => 'AppInstanceGroupId', + 'in' => 'query', + 'schema' => ['description' => '交付组ID。', 'type' => 'string', 'required' => true, 'example' => 'aig-9ciijz60n4xsv****'], ], [ - 'name' => 'AutoPay', - 'in' => 'formData', - 'schema' => [ - 'description' => '自动支付。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'name' => 'AppCenterImageId', + 'in' => 'query', + 'schema' => ['description' => '应用镜像ID,可从无影云应用控制台的镜像管理页面获取。', 'type' => 'string', 'required' => true, 'example' => 'img-8z4nztpaqvay4****'], ], [ - 'name' => 'PromotionId', - 'in' => 'formData', + 'name' => 'BizRegionId', + 'in' => 'query', 'schema' => [ - 'description' => '折扣ID。', + 'description' => '交付组所属的地域ID。关于支持的地域详情,请参见[使用限制](~~426036~~)。', 'type' => 'string', - 'required' => false, - 'example' => '17440009****', + 'required' => true, + 'enumValueTitles' => ['cn-shanghai' => '华东2(上海)', 'cn-hangzhou' => '华东1(杭州)'], + 'example' => 'cn-hangzhou', ], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'title' => 'Schema of Response', - 'description' => '请求响应。', + 'description' => '返回信息集合。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], - 'OrderId' => [ - 'description' => '订单ID。', - 'type' => 'string', - 'example' => '23977848****97', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'Code' => ['description' => '出错时的错误码。', 'type' => 'string', 'example' => 'InvalidParameter.ProductType'], + 'Message' => ['description' => '出错时的错误消息。', 'type' => 'string', 'example' => 'The parameter ProductType is invalid.'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '更新交付组镜像', + 'description' => '><warning>开始更新镜像后,终端用户访问云应用的会话将会断开,请谨慎操作,以免造成终端用户的数据丢失。></warning>'."\n" + ."\n" + .'> 更新发布成功后,一般需要等待2分钟左右,变更才会在终端生效。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAppInstanceGroupImage'], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:UpdateAppInstanceGroupImage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"OrderId\\": \\"23977848****97\\"\\n}","type":"json"}]', - 'title' => '续费工作站', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Code\\": \\"InvalidParameter.ProductType\\",\\n \\"Message\\": \\"The parameter ProductType is invalid.\\"\\n}","type":"json"}]', ], - 'DeleteWuyingServer' => [ - 'summary' => '删除工作站', - 'path' => '', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'UpdateModelProviderTemplate' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'high', - 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREappstreamingKER98U', - ], - 'tenantRelevance' => 'tenant', + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], ], 'parameters' => [ [ - 'name' => 'WuyingServerId', + 'name' => 'ProviderTemplateId', + 'in' => 'formData', + 'schema' => ['title' => '提供商模板 ID', 'description' => '模型服务商模板 ID。', 'type' => 'string', 'required' => true, 'example' => 'mpt-xxxx'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['title' => '模板名称', 'description' => '模型服务商模板名称。', 'type' => 'string', 'required' => false, 'example' => '阿里云百炼'], + ], + [ + 'name' => 'Description', 'in' => 'formData', + 'schema' => ['title' => '模板描述', 'description' => '模型服务商模板描述。', 'type' => 'string', 'required' => false, 'example' => '阿里云百炼服务商'], + ], + [ + 'name' => 'Config', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '工作站ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ws-0bw2f11****dial', - 'maxItems' => 100, + 'description' => '模型服务商配置。', + 'type' => 'object', + 'properties' => [ + 'BaseUrl' => ['description' => '模型服务的 API 基础地址。', 'type' => 'string', 'required' => false, 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1'], + 'ApiKey' => ['description' => '模型服务的 API 密钥,用于身份认证。创建后将加密存储。', 'type' => 'string', 'required' => false, 'example' => 'sk-xxxxxxxxxxxxxxxxxxxx'], + 'ApiType' => ['description' => 'API 协议类型。', 'type' => 'string', 'required' => false, 'example' => 'openai-completions'], + ], + 'required' => false, + ], + ], + [ + 'name' => 'EnableWuyingProxy', + 'in' => 'formData', + 'schema' => [ + 'title' => '是否启用无影安全代理', + 'description' => '是否启用无影安全网关代理。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', ], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => 'BaseResult', + 'description' => '请求结果。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新模型服务商模板', + 'description' => '您可以更新无影 Agent 管理中心中已创建的模型服务商模板,包括模板名称、描述、模型服务连接配置及无影安全代理开关。支持部分字段更新,仅传入需要修改的字段即可。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'summary' => '更新模型提供商模板', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', - 'title' => '删除工作站', - 'description' => '删除工作站。', ], - 'ModifyBrowserInstanceGroup' => [ - 'summary' => '修改无影云浏览器属性。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateModelTemplate' => [ + 'summary' => '更新模型模板', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -11270,417 +11035,1831 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '219753', - 'abilityTreeNodes' => [ - 'FEATUREappstreaming4BR4QS', - 'FEATUREappstreamingKE839Q', - 'FEATUREappstreaming50MBS2', - ], + 'abilityTreeNodes' => ['FEATUREappstreamingBC1NTD'], ], 'parameters' => [ [ - 'name' => 'BrowserInstanceGroupId', + 'name' => 'ModelTemplateId', 'in' => 'query', - 'schema' => [ - 'description' => '需要修改的云浏览器ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'big-0bz55ixxxxx9xi9w9', - ], + 'schema' => ['title' => '模型模板 ID', 'description' => '模型分组ID。', 'type' => 'string', 'required' => true, 'example' => 'mt-xxxx'], ], [ - 'name' => 'CloudBrowserName', - 'in' => 'formData', - 'schema' => [ - 'description' => '云浏览器名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'BrowserTest', - ], + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['title' => '模板名称', 'description' => '模板分组名称。', 'type' => 'string', 'required' => false, 'example' => 'model-template-001'], ], [ - 'name' => 'Network', - 'in' => 'formData', - 'style' => 'json', - 'schema' => [ - 'description' => '网络配置。', - 'type' => 'object', - 'properties' => [ - 'AccessRestriction' => [ - 'description' => '访问限制类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'ALLOW_LIST' => '白名单模式', - ], - 'example' => 'ALLOW_LIST', - ], - 'RestrictedURLs' => [ - 'description' => '限制域名配置。', - 'type' => 'array', - 'items' => [ - 'description' => '关联的域名限制。', - 'type' => 'object', - 'properties' => [ - 'URL' => [ - 'description' => '域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'aliyun.com', - ], - 'RestrictedURLId' => [ - 'description' => '域名配置ID,仅修改需要传入。', - 'type' => 'string', - 'required' => false, - 'example' => 'ru-12345', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'RemoveRestrictedURLIds' => [ - 'description' => '需要移除的域名列表。', - 'type' => 'array', - 'items' => [ - 'description' => '域名配置ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ru-12345', - ], - 'required' => false, - ], - ], - 'required' => false, - ], + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['title' => '模板描述', 'description' => '模板分组描述。', 'type' => 'string', 'required' => false, 'example' => '测试模型分组'], ], [ - 'name' => 'Policy', + 'name' => 'Config', 'in' => 'query', - 'style' => 'json', + 'schema' => ['title' => '模型配置 JSON 对象', 'description' => '模型分组配置 JSON 对象,可通过该字段修改默认模型。配置格式因智能体提供商(AgentProvider)不同而异:'."\n" + ."\n" + .'- **OpenClaw / AgenticComputer 场景:**'."\n" + .'通过 `defaults.model.primary` 字段设置默认模型,格式为 `服务商名称/模型编码`。'."\n" + ."\n" + .'- **HermesAgent 场景:**'."\n" + .'通过 `model.provider` 指定服务商名称,`model.default` 指定模型编码。'."\n" + ."\n" + .'> :'."\n" + .'> - 修改默认模型时,系统将校验指定的服务商与模型编码是否已存在于该模型分组中。', 'type' => 'string', 'required' => false, 'example' => 'OpenClaw:'."\n" + .'{"defaults":{"model":{"primary":"bailian/qwen3.5-plus"}}}'."\n" + ."\n" + .'HermesAgent:'."\n" + .'{"model":{"provider":"bailian","default":"qwen3.5-plus"}}'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '访问策略。', + 'title' => 'BaseResult', + 'description' => '请求结果。', 'type' => 'object', 'properties' => [ - 'ClipboardPolicy' => [ - 'description' => '剪切板相关策略。', - 'type' => 'object', - 'properties' => [ - 'Clipboard' => [ - 'description' => '剪切板策略。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'read' => '允许本地往云浏览器复制粘贴', - 'readwrite' => '双向允许', - 'write' => '允许云浏览器往本地复制粘贴', - 'off' => '双向禁止', - ], - 'example' => 'off', - ], - 'ClipboardScope' => [ - 'description' => '剪切板管控范围。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'grained' => '精细化管控', - 'global' => '全局管控', - ], - 'example' => 'global', - ], - 'TextClipboard' => [ - 'description' => '文本剪切板策略。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'read' => '允许本地往云浏览器复制粘贴', - 'readwrite' => '双向允许', - 'write' => '允许云浏览器往本地复制粘贴', - 'off' => '双向禁止', - ], - 'example' => 'off', - ], - 'RichTextClipboard' => [ - 'description' => '富文本剪切板策略。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'read' => '允许本地往云浏览器复制粘贴', - 'readwrite' => '双向允许', - 'write' => '允许云浏览器往本地复制粘贴', - 'off' => '双向禁止', - ], - 'example' => 'off', - ], - 'FileClipboard' => [ - 'description' => '文件剪切板策略。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'read' => '允许本地往云浏览器复制粘贴', - 'readwrite' => '双向允许', - 'write' => '允许云浏览器往本地复制粘贴', - 'off' => '双向禁止', - ], - 'example' => 'off', - ], - 'ClipboardReadLimit' => [ - 'description' => '剪切板读取长度限制。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1000', - ], - 'ClipboardWriteLimit' => [ - 'description' => '剪切板写入长度限制。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1000', - ], - 'ClipboardSizeUnit' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'required' => false, - ], - 'VideoPolicy' => [ - 'description' => '画面策略。', - 'type' => 'object', - 'properties' => [ - 'FrameRate' => [ - 'description' => '帧率。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '60', - ], - ], - 'required' => false, - ], - 'WatermarkPolicy' => [ - 'description' => '水印配置。', - 'type' => 'object', - 'properties' => [ - 'WatermarkSwitch' => [ - 'description' => '水印开关。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'off' => '关闭', - 'on' => '打开', - ], - 'example' => 'off', - ], - 'WatermarkTypes' => [ - 'description' => '水印类型列表。', - 'type' => 'array', - 'items' => [ - 'description' => '水印类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'EndUserId' => '便捷账号ID', - 'ClientTime' => '系统时间', - 'InstanceGroup' => '浏览器组ID', - ], - 'example' => 'EndUserId', - ], - 'required' => false, - ], - ], - 'required' => false, - ], - 'PolicyId' => [ - 'description' => '策略ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'pg-12345', - ], - 'PolicyVersion' => [ - 'description' => '策略版本。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Center' => '中心策略', - ], - 'example' => 'Center', - ], - 'DisconnectKeepSession' => [ - 'description' => '断连保留策略。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'customTime' => '自定义时间', - 'persistent' => '用不释放', - ], - 'example' => 'customTime', - ], - 'DisconnectKeepSessionTime' => [ - 'description' => '会话断连保留时长。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '15', - ], - 'Html5FileTransfer' => [ - 'description' => 'Web客户端文件传输策略。', - 'type' => 'string', - 'required' => false, - 'example' => 'off', - ], - 'NoOperationDisconnect' => [ - 'type' => 'string', - 'required' => false, - ], - 'NoOperationDisconnectTime' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], ], - 'required' => false, ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新模型分组', + 'description' => '您可以更新无影 Agent 管理中心中已创建的模型分组,包括分组名称、描述以及模型配置信息。通过更新 Config 字段可修改模型分组的默认模型,更新后的配置将自动生效至关联的云电脑。'."\n" + ."\n" + .'请确保在使用该接口前,已充分了解无影 Agent 管理中心的操作与使用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Timers', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => '定时器。', - 'type' => 'array', - 'items' => [ - 'description' => '关联的定时任务。', - 'type' => 'object', - 'properties' => [ - 'TimerType' => [ - 'description' => '定时器类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'SESSION_TIMEOUT' => '连接断开会话释放超时时间。', - ], - 'example' => 'SESSION_TIMEOUT', - ], - 'Interval' => [ - 'description' => '间隔。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '15', - ], - ], - 'required' => false, + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:UpdateModelTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'required' => false, ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + ], + 'UpdateWuyingServerImage' => [ + 'summary' => '更新工作站镜像。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'BrowserConfig', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => '浏览器配置。', - 'type' => 'object', - 'properties' => [ - 'Homepage' => [ - 'description' => '主页。', - 'type' => 'string', - 'required' => false, - 'example' => 'https://www.aliyun.com', - ], - 'BrowserParam' => [ - 'description' => '启动参数。', - 'type' => 'string', - 'required' => false, - 'example' => '--incognito', - ], - 'Bookmarks' => [ - 'description' => '书签。', - 'type' => 'array', - 'items' => [ - 'description' => '关联的书签说明。', - 'type' => 'object', - 'properties' => [ - 'BookmarkId' => [ - 'description' => '书签ID,仅修改场景需要传递。', - 'type' => 'string', - 'required' => false, - 'example' => 'bm-12345', - ], - 'BookmarkName' => [ - 'description' => '书签名。', - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], - 'BookmarkURL' => [ - 'description' => '书签地址。', - 'type' => 'string', - 'required' => true, - 'example' => 'https://www.aliyun.com', - ], - 'BookmarkFolder' => [ - 'description' => '书签所属文件夹。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - ], - 'required' => false, - ], - 'required' => false, - ], - 'RemoveBookmarks' => [ - 'description' => '移除的书签列表。', - 'type' => 'array', - 'items' => [ - 'description' => '移除的书签ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'bm-12345', - ], - 'required' => false, - ], - ], - 'required' => false, - ], + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREappstreamingDG81PX'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ProductType', + 'in' => 'formData', + 'schema' => ['description' => '产品类型。需填写固定值WuyingServer。', 'type' => 'string', 'required' => false, 'example' => 'WuyingServer'], + ], + [ + 'name' => 'WuyingServerId', + 'in' => 'formData', + 'schema' => ['description' => '工作站ID。', 'type' => 'string', 'required' => false, 'example' => 'ws-0bw2f11****dial'], + ], + [ + 'name' => 'ImageId', + 'in' => 'formData', + 'schema' => ['description' => '镜像ID。', 'type' => 'string', 'required' => false, 'example' => 'imgc-0aae4rgk9****6e8p'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => '请求响应。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'], + 'TaskId' => ['description' => '更新任务ID。', 'type' => 'string', 'example' => 'ota-be7jzm29wrrz5****'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '更新工作站镜像', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', - 'title' => '修改云浏览器', - 'description' => '修改无影云浏览器属性。', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TaskId\\": \\"ota-be7jzm29wrrz5****\\"\\n}","type":"json"}]', ], ], 'endpoints' => [ + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'appstream-center.cn-shanghai.aliyuncs.com', 'endpoint' => 'appstream-center.cn-shanghai.aliyuncs.com', 'vpc' => 'appstream-center-intl.vpc-proxy.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'appstream-center.ap-southeast-1.aliyuncs.com', 'endpoint' => 'appstream-center.ap-southeast-1.aliyuncs.com', 'vpc' => 'appstream-center-intl.vpc-proxy.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'AddRemoveAccountIsSame', 'message' => 'The same account is to be added and to be removed at the same time.', 'http_code' => 400, 'description' => '添加移除包含相同账号。'], + ['code' => 'AppCenterImageId.Missing', 'message' => 'The AppCenter ImageId is missing.', 'http_code' => 400, 'description' => '参数ImageId缺失'], + ['code' => 'AppCenterImageInfo.NotFound', 'message' => 'The AppCenter ImageInfo is not found.', 'http_code' => 400, 'description' => '镜像信息找不到'], + ['code' => 'AppDeploymentInfo.NotFound', 'message' => 'The AppDeploymentInfo is not found.', 'http_code' => 400, 'description' => '应用信息未找到'], + ['code' => 'AppInstallation.StartFailed', 'message' => 'Start app installation failed.', 'http_code' => 400, 'description' => '启动应用安装失败。'], + ['code' => 'AppInstallationStatus.IsFailed', 'message' => 'App installation failed.', 'http_code' => 400, 'description' => '应用安装状态失败。'], + ['code' => 'AppInstanceGroupAttributeModify.Failed', 'message' => 'Failed to modify the delivery group attribute.', 'http_code' => 400, 'description' => '修改交付组属性失败'], + ['code' => 'AppInstanceGroupIdIsNull', 'message' => 'The AppInstanceGroupId is null.', 'http_code' => 400, 'description' => '交付组ID是空值'], + ['code' => 'AppInstanceGroupImageCreate.Failed', 'message' => 'Failed to create an image from the debugging app instance group.', 'http_code' => 400, 'description' => '基于调试交付组创建镜像失败。'], + ['code' => 'AppInstanceGroupNotFound', 'message' => 'The AppInstanceGroup is not found.', 'http_code' => 400, 'description' => '交付组未找到'], + ['code' => 'AppInstanceGroupNotFound', 'message' => 'The specified AppInstanceGroup not found.', 'http_code' => 400, 'description' => '交付组找不到'], + ['code' => 'AppType.ValueNotSupported', 'message' => 'The category of the app is not supported.', 'http_code' => 400, 'description' => '不支持该应用类别。'], + ['code' => 'AuthorizeFailed', 'message' => 'Authorize failed, please check your EndUserId and Password.', 'http_code' => 400, 'description' => '您的用户名或密码不正确。'], + ['code' => 'BillingItem.InsertFailure', 'message' => 'Failed to insert the billing item.', 'http_code' => 400, 'description' => '无法插入计费项。'], + ['code' => 'BizTypeNotMatch', 'message' => 'The bizType and image do not match.', 'http_code' => 400, 'description' => '输入BizType和镜像不匹配。'], + ['code' => 'BuilderImage.StartTaskFailed', 'message' => 'Failed to start the builder image task.', 'http_code' => 400, 'description' => '启动镜像制作任务失败。'], + ['code' => 'CallBack.PayOrderCallbackFailed', 'message' => 'Failed to lock the order.', 'http_code' => 400, 'description' => '无法锁定订单。'], + ['code' => 'CashBookInsufficient', 'message' => 'No payment method is specified for your account. We recommend that you add a payment method or add funds to the prepayment balance.', 'http_code' => 400, 'description' => '余额不足'], + ['code' => 'CheckStock.Failed', 'message' => 'Failed to check the stock.', 'http_code' => 400, 'description' => '检查库存失败'], + ['code' => 'ConnectLdapServer.Failed', 'message' => 'Failed to connect to the LDAP server. Please check the configuration.', 'http_code' => 400, 'description' => '连接LDAP服务器失败,请检查配置是否正确。'], + ['code' => 'CreateAppInstanceGroup.Failed', 'message' => 'Failed to create the app instance group.', 'http_code' => 400, 'description' => '创建交付组失败'], + ['code' => 'CreateDesktopImageRecord.Failed', 'message' => 'Create cloud computer image failed.', 'http_code' => 400, 'description' => '创建云电脑镜像失败。'], + ['code' => 'DeleteTemplate.Failed', 'message' => 'Delete template failed.', 'http_code' => 400, 'description' => '删除模板失败。'], + ['code' => 'DesktopInstance.NotFound', 'message' => 'The cloud computer instance does not exist.', 'http_code' => 400, 'description' => '云电脑实例不存在。'], + ['code' => 'ExceedAddAccountQuota', 'message' => 'The maximum number of account addition is reached.', 'http_code' => 400, 'description' => '添加账号达到上限。'], + ['code' => 'ExceedAppAuthUserQuota', 'message' => 'The authorized user quota of the app is exceeded.', 'http_code' => 400, 'description' => '授权用户超过上限'], + ['code' => 'ExceedAppInstanceGroupQuota', 'message' => 'The app instance group quota is exceeded.', 'http_code' => 400, 'description' => '交付组超过上限'], + ['code' => 'ExceedBuilderQuota', 'message' => 'The maximum number of builders is reached.', 'http_code' => 400, 'description' => 'Builder数量达到了上限。'], + ['code' => 'ExceedImageQuota', 'message' => 'The maximum number of images is reached.', 'http_code' => 400, 'description' => '镜像数量达到了上限。'], + ['code' => 'ExceedPoolNodeAmountQuota', 'message' => 'The pool node amount quota is exceeded.', 'http_code' => 400, 'description' => '资源节点数量超过购买上限'], + ['code' => 'ExceedRemoveAccountQuota', 'message' => 'The maximum number of account removal is reached.', 'http_code' => 400, 'description' => '移除账号达到上限。'], + ['code' => 'Forbidden.NoPermission', 'message' => 'You are not authorized to access this page.', 'http_code' => 403, 'description' => '您没有权限访问当前页面。'], + ['code' => 'ForbiddenNoRealNameAuthentication', 'message' => 'Operation failed. The user has not completed the real-name authentication.', 'http_code' => 400, 'description' => '尚未通过实名认证'], + ['code' => 'ForbiddenNoRealNameAuthentication', 'message' => 'Forbidden by user real name authentication status.', 'http_code' => 400, 'description' => '没有实名认证'], + ['code' => 'GetLoginTokenError', 'message' => 'Failed to get the login token.', 'http_code' => 400, 'description' => '无法获取登录令牌。'], + ['code' => 'Image.CreateModeInvalid', 'message' => 'The creation mode of this task is invalid.', 'http_code' => 400, 'description' => '任务创建模式无效。'], + ['code' => 'Image.NotExist', 'message' => 'The image does not exist.', 'http_code' => 400, 'description' => '镜像不存在。'], + ['code' => 'ImageCreateByInstance.TaskExist', 'message' => 'The image task of instance creation already exists.', 'http_code' => 400, 'description' => '实例创建镜像任务已存在。'], + ['code' => 'ImageDeleteFailed.HasSharedImage', 'message' => 'The shared image is not allowed to be deleted.', 'http_code' => 400, 'description' => '共享镜像不允许删除。'], + ['code' => 'ImageDeleteFailed.NotAllow', 'message' => 'The image is not allowed to be deleted.', 'http_code' => 400, 'description' => '镜像不允许删除。'], + ['code' => 'ImageDeleteFailed.NotAllowCommunityParent', 'message' => 'The parent image of a community image is not allowed to be deleted.', 'http_code' => 400, 'description' => '社区镜像父镜像不允许删除。'], + ['code' => 'ImageDeleteFailed.NotAllowSharedImage', 'message' => 'The shared image is not allowed to be deleted.', 'http_code' => 400, 'description' => '共享镜像不允许删除。'], + ['code' => 'ImageDistribute.ImageNotSupport', 'message' => 'The image does not support region distribution.', 'http_code' => 400, 'description' => '镜像不支持分发,如:加密镜像。'], + ['code' => 'ImageDistribute.RepeatedDistribution', 'message' => 'This image has been distributed to this region.', 'http_code' => 400, 'description' => '镜像已经分发过该地域。'], + ['code' => 'ImageDistribute.TargetDistributeRegionListEmpty', 'message' => 'The target distribution region list is empty.', 'http_code' => 400, 'description' => '分发地域配置为空。'], + ['code' => 'ImageDistribute.Undistributed', 'message' => 'The image has not been distributed to any region.', 'http_code' => 400, 'description' => '镜像分发无拷贝源地址,检查镜像分发地域是否已经清空。'], + ['code' => 'ImageIsNull', 'message' => 'The image does not exist.', 'http_code' => 400, 'description' => '镜像不存在'], + ['code' => 'ImageNotAllowDelete', 'message' => 'The image cannot be deleted, because shared cloud computers already exist.', 'http_code' => 400, 'description' => '镜像不能删除,已经存在共享型云电脑资源。'], + ['code' => 'ImageRegion.NotConfigured', 'message' => 'The image does not have any region configuration.', 'http_code' => 400, 'description' => '镜像无任何地域配置信息。'], + ['code' => 'ImageRegionDistribute.NotAllow', 'message' => 'This image cannot be distributed.', 'http_code' => 400, 'description' => '镜像不允许分发操作。'], + ['code' => 'ImageStatus.Error', 'message' => 'The image status is error.', 'http_code' => 400, 'description' => '镜像状态错误。'], + ['code' => 'ImageStatus.ValueNotSupported', 'message' => 'The image status is not supported for creating a delivery group.', 'http_code' => 400, 'description' => '该镜像状态下不可创建交付组。'], + ['code' => 'ImageTask.Failed', 'message' => 'Start image task failed.', 'http_code' => 400, 'description' => '任务失败。'], + ['code' => 'ImageUpdateFailed.NotAllow', 'message' => 'The image is not allowed to be modified.', 'http_code' => 400, 'description' => '镜像不允许修改。'], + ['code' => 'ImageUpdateSharedImageFailed.NotAllow', 'message' => 'The shared image is not allowed to be modified.', 'http_code' => 400, 'description' => '共享镜像不允许修改。'], + ['code' => 'Instance.ImageUnsupported', 'message' => 'A non-centralized image does not support this type of operation.', 'http_code' => 400, 'description' => '使用非中心化镜像不支持该操作。'], + ['code' => 'Instance.NotFound', 'message' => 'The instance is not found.', 'http_code' => 400, 'description' => '实例找不到。'], + ['code' => 'Instance.PhysicalNodeNotExist', 'message' => 'The instance physical node does not exist.', 'http_code' => 400, 'description' => '物理节点不存在。'], + ['code' => 'InternalError', 'message' => 'Internal error.', 'http_code' => 400, 'description' => '内部错误'], + ['code' => 'InternalError.TicketGenInternalError', 'message' => 'An error occurred while generating a ticket.', 'http_code' => 400, 'description' => '生成Ticket时出错。'], + ['code' => 'InvalidAliUid.Missing', 'message' => 'The AliUid is missing.', 'http_code' => 400, 'description' => '参数AliUid缺失'], + ['code' => 'InvalidAliUid.Missing', 'message' => 'The specified parameter AliUid is missing.', 'http_code' => 400, 'description' => 'AliUid缺失。'], + ['code' => 'InvalidAliUid.NotFound', 'message' => 'The AliUid is not found.', 'http_code' => 400, 'description' => '找不到参数AliUid。'], + ['code' => 'InvalidAmount.Invalid', 'message' => 'The Amount is invalid.', 'http_code' => 400, 'description' => '参数Amount不合法。'], + ['code' => 'InvalidAppId.Missing', 'message' => 'The AppId is missing.', 'http_code' => 400, 'description' => '参数AppId缺失'], + ['code' => 'InvalidAppId.NotFound', 'message' => 'The AppId is not found.', 'http_code' => 400, 'description' => '找不到参数AppId。'], + ['code' => 'InvalidAppInstanceGroup.NotContainThisAPP', 'message' => 'The app instance group does not contain this app.', 'http_code' => 400, 'description' => '交付组不包含此应用。'], + ['code' => 'InvalidAppInstanceGroup.NotFound', 'message' => 'The app instance group is not found.', 'http_code' => 400, 'description' => '交付组未找到'], + ['code' => 'InvalidAppInstanceGroup.NotFound', 'message' => 'The AppInstanceGroupId %s is not found.', 'http_code' => 400, 'description' => '找不到AppInstanceGroupId %s。'], + ['code' => 'InvalidAppInstanceGroup.NullAppInstanceGroup', 'message' => 'The app instance group is null.', 'http_code' => 400, 'description' => '交付组为空。'], + ['code' => 'InvalidAppInstanceGroup.NullOrNotPublishedStatus', 'message' => 'The app instance group does not exist or is not published.', 'http_code' => 400, 'description' => '交付组不存在或未发布。'], + ['code' => 'InvalidAppInstanceGroup.StatusInvalid', 'message' => 'The app instance group status is invalid.', 'http_code' => 400, 'description' => '交付组状态无效。'], + ['code' => 'InvalidAppInstanceGroup.Unauthorized', 'message' => 'Unauthorized to use this app.', 'http_code' => 400, 'description' => '没有权限使用此应用。'], + ['code' => 'InvalidAppInstanceGroupAction.IllegalAction', 'message' => 'The action against the app instance group is not allowed.', 'http_code' => 400, 'description' => '不允许对交付组执行此操作。'], + ['code' => 'InvalidAppInstanceGroupId.Missing', 'message' => 'The AppInstanceGroupId is missing.', 'http_code' => 400, 'description' => '参数AppInstanceGroupId缺失'], + ['code' => 'InvalidAppInstanceGroupName.Missing', 'message' => 'The AppInstanceGroupName is missing.', 'http_code' => 400, 'description' => '参数AppInstanceGroupName缺失。'], + ['code' => 'InvalidAppInstanceGroupSpecItem.NotFound', 'message' => 'The app instance group spec item is not found.', 'http_code' => 400, 'description' => '交付组(旧版概念,已弃用)未找到。'], + ['code' => 'InvalidAppInstanceId.NotFound', 'message' => 'The AppInstanceId is not found.', 'http_code' => 400, 'description' => '找不到参数AppInstanceId。'], + ['code' => 'InvalidAppInstanceState', 'message' => 'The app instance state is invalid.', 'http_code' => 200, 'description' => '应用实例状态不合法。'], + ['code' => 'InvalidAppInstanceType.Invalid', 'message' => 'The AppInstanceType is invalid.', 'http_code' => 400, 'description' => '参数AppInstanceType不合法'], + ['code' => 'InvalidAppInstanceType.Missing', 'message' => 'The AppInstanceType is missing.', 'http_code' => 400, 'description' => '参数AppInstanceType缺失'], + ['code' => 'InvalidAppInstanceType.NotFound', 'message' => 'The app instance type is not found.', 'http_code' => 400, 'description' => '找不到该应用实例类型。'], + ['code' => 'InvalidAppVersion.Missing', 'message' => 'The AppVersion is missing.', 'http_code' => 400, 'description' => '参数AppVersion缺失。'], + ['code' => 'InvalidBaseImage.InvalidStatus', 'message' => 'Invalid base image status.', 'http_code' => 400, 'description' => '基础镜像状态无效。'], + ['code' => 'InvalidBaseImage.NotConfigured', 'message' => 'Configuration required for Vhd/Container images.', 'http_code' => 400, 'description' => 'Vhd/Container镜像类型需要配置BaseImageId。'], + ['code' => 'InvalidBaseImage.NotFound', 'message' => 'Base image not found.', 'http_code' => 400, 'description' => '基础镜像找不到。'], + ['code' => 'InvalidBaseImage.NotSystemImage', 'message' => 'Base image is not system image.', 'http_code' => 400, 'description' => '基础镜像不是系统镜像。'], + ['code' => 'InvalidBaseImageVersion.NotOnline', 'message' => 'Base image version is not online.', 'http_code' => 400, 'description' => '基础镜像不是有效在线版本。'], + ['code' => 'InvalidBindRelationship.NotFound', 'message' => 'The bind relationship is not found.', 'http_code' => 400, 'description' => '交付组绑定的资源池未找到'], + ['code' => 'InvalidBindStage.Missing', 'message' => 'The BindStage is missing.', 'http_code' => 400, 'description' => '参数BindStage缺失。'], + ['code' => 'InvalidBindStrategy.NotFound', 'message' => 'The bind strategy is not found.', 'http_code' => 400, 'description' => '找不到该绑定策略。'], + ['code' => 'InvalidBizType', 'message' => 'The bizType parameter is invalid.', 'http_code' => 400, 'description' => '业务类型不合法。'], + ['code' => 'InvalidBrowserInstanceGroup.NotFound', 'message' => 'The browser instance group is not found.', 'http_code' => 400, 'description' => '云浏览器不存在,请确认后重试'], + ['code' => 'InvalidBundle.NotFound', 'message' => 'The request bundle does not exist.', 'http_code' => 400, 'description' => '请求的应用资源模板不存在。'], + ['code' => 'InvalidChargeType.Missing', 'message' => 'The ChargeType is missing.', 'http_code' => 400, 'description' => '参数ChargeType缺失'], + ['code' => 'InvalidChargeType.ValueNotSupported', 'message' => 'The ChargeType is invalid.', 'http_code' => 400, 'description' => '参数ChargeType无效。'], + ['code' => 'InvalidDataDiskSize.SmallerThanParent', 'message' => 'Sub-image data disk size is smaller than the parent image.', 'http_code' => 400, 'description' => '子镜像数据盘小于父镜像数据盘。'], + ['code' => 'InvalidDomainId.NotFound', 'message' => 'The DomainId is not found.', 'http_code' => 400, 'description' => '找不到参数DomainId。'], + ['code' => 'InvalidDriveId.NotFound', 'message' => 'The DriveId is not found.', 'http_code' => 400, 'description' => '找不到参数DriveId。'], + ['code' => 'InvalidEndUserId.Missing', 'message' => 'The EndUserId is missing.', 'http_code' => 400, 'description' => '参数EndUserId缺失'], + ['code' => 'InvalidEndUserIds.ValueNotSupported', 'message' => 'The EndUserIds is invalid.', 'http_code' => 400, 'description' => '参数EndUserIds无效。'], + ['code' => 'InvalidExternalFileId.NotFound', 'message' => 'The ExternalFileId is not found.', 'http_code' => 400, 'description' => '找不到参数ExternalFileId。'], + ['code' => 'InvalidGwAddress.NotFound', 'message' => 'The gateway address is not found.', 'http_code' => 400, 'description' => '找不到该网关地址。'], + ['code' => 'InvalidGwParam.NotFound', 'message' => 'A parameter error occurred while generating the gateway token.', 'http_code' => 400, 'description' => '生成网关令牌时出现参数错误。'], + ['code' => 'InvalidGwToken.ValueTooLong', 'message' => 'The GWToken is too long.', 'http_code' => 400, 'description' => 'GWToken过长。'], + ['code' => 'InvalidImageConfig.RegionInvalid', 'message' => 'The region configuration of this image is invalid.', 'http_code' => 400, 'description' => '镜像的地域配置信息无效。'], + ['code' => 'InvalidImageId.Invalid', 'message' => 'The specified parameter imageId is invalid.', 'http_code' => 400, 'description' => '镜像ID无效'], + ['code' => 'InvalidImageOperation.Failed', 'message' => 'Invalid image operation.', 'http_code' => 400, 'description' => '镜像操作无效。'], + ['code' => 'InvalidImageOperation.ImageIsCreating', 'message' => 'Failed to operation the image, it is creating.', 'http_code' => 400, 'description' => '镜像在创建中,操作无效。'], + ['code' => 'InvalidImagePackageType.Unsupported', 'message' => 'Unsupported image package type.', 'http_code' => 400, 'description' => '不支持的PackageType。'], + ['code' => 'InvalidInstanceId.Missing', 'message' => 'The InstanceId is invalid.', 'http_code' => 400, 'description' => '参数InstanceId不合法'], + ['code' => 'InvalidLoginToken.Missing', 'message' => 'The LoginToken is missing.', 'http_code' => 400, 'description' => '参数LoginToken缺失。'], + ['code' => 'InvalidMaxResults', 'message' => 'The MaxResults is invalid.', 'http_code' => 400, 'description' => '参数MaxResults无效'], + ['code' => 'InvalidNextToken', 'message' => 'The NextToken is invalid.', 'http_code' => 400, 'description' => '参数NextToken无效'], + ['code' => 'InvalidNodeInstanceType.NotFound', 'message' => 'The node instance type is not found.', 'http_code' => 400, 'description' => '找不到该节点实例类型。'], + ['code' => 'InvalidNodeInstanceType.NotSupportOsType', 'message' => 'The node instance type does not support images with this OS type.', 'http_code' => 400, 'description' => '该资源规格不支持搭载此操作系统的镜像。'], + ['code' => 'InvalidOrder.CommodityCodeNotMatch', 'message' => 'No CommodityCode matches this order.', 'http_code' => 400, 'description' => '没有匹配到商品的模块'], + ['code' => 'InvalidOrder.CommodityCodeNotMatch', 'message' => 'No commodityCode matched for this order.', 'http_code' => 400, 'description' => '没有匹配到商品的模块'], + ['code' => 'InvalidOrderId.NotFound', 'message' => 'The order is not found.', 'http_code' => 400, 'description' => '订单找不到'], + ['code' => 'InvalidOrderId.NotFound', 'message' => 'The specified order is not found.', 'http_code' => 400, 'description' => '没有订单信息'], + ['code' => 'InvalidOsType.ValueNotSupported', 'message' => 'The operation system type is not supported.', 'http_code' => 400, 'description' => '镜像的操作系统类型不支持'], + ['code' => 'InvalidParameter.%s', 'message' => 'The parameter %s is invalid.', 'http_code' => 400, 'description' => '参数值校验不通过。'], + ['code' => 'InvalidParameter.AddAccount/RemoveAccount', 'message' => 'The tenant ID to be added or removed is invalid.', 'http_code' => 400, 'description' => '添加或删除共享的租户ID不合法。'], + ['code' => 'InvalidParameter.ImageId', 'message' => 'The image ID is invalid.', 'http_code' => 400, 'description' => '镜像ID不合法。'], + ['code' => 'InvalidParameter.SystemDiskSize', 'message' => 'The system disk size is invalid.', 'http_code' => 400, 'description' => '系统盘大小不合法。'], + ['code' => 'InvalidParentImage.AlreadyHasCommunityImage', 'message' => 'The parent image already has a community image.', 'http_code' => 400, 'description' => '镜像不能发布社区镜像,该镜像已经存在社区镜像。'], + ['code' => 'InvalidParentImage.ImageTypeIsNotUserImage', 'message' => 'Invalid operation. The parent image is not a user image.', 'http_code' => 400, 'description' => '父镜像不是用户镜像,操作无效。'], + ['code' => 'InvalidParentImage.InvalidStatus', 'message' => 'Invalid parent image status.', 'http_code' => 400, 'description' => '父镜像状态无效。'], + ['code' => 'InvalidParentImage.NotFound', 'message' => 'Parent image not found.', 'http_code' => 400, 'description' => '父镜像找不到。'], + ['code' => 'InvalidPeriod.Invalid', 'message' => 'The Period is invalid.', 'http_code' => 400, 'description' => '参数Period不合法'], + ['code' => 'InvalidPeriod.Missing', 'message' => 'The Period is missing.', 'http_code' => 400, 'description' => '参数Period缺失'], + ['code' => 'InvalidPeriodUnit.Missing', 'message' => 'The PeriodUnit is missing.', 'http_code' => 400, 'description' => '参数PeriodUnit缺失'], + ['code' => 'InvalidPeriodUnit.ValueNotSupported', 'message' => 'The PeriodUnit is invalid.', 'http_code' => 400, 'description' => '参数PeriodUnit无效。'], + ['code' => 'InvalidProductType.Invalid', 'message' => 'The ProductType is invalid.', 'http_code' => 400, 'description' => '参数ProductType无效。'], + ['code' => 'InvalidProductType.Missing', 'message' => 'The ProductType is missing.', 'http_code' => 400, 'description' => '参数ProductType缺失'], + ['code' => 'InvalidProductType.ValueNotSupported', 'message' => 'The ProductType is not supported.', 'http_code' => 400, 'description' => '不支持该产品类型'], + ['code' => 'InvalidRegion.ConfigError', 'message' => 'The region configuration is not found.', 'http_code' => 400, 'description' => '地域配置不存在'], + ['code' => 'InvalidRegion.Missing', 'message' => 'The Region is missing.', 'http_code' => 400, 'description' => '参数Region缺失'], + ['code' => 'InvalidRegion.NotFound', 'message' => 'The region is not found.', 'http_code' => 400, 'description' => '地域不存在'], + ['code' => 'InvalidRegion.NotMatch', 'message' => 'The region does not match the current environment.', 'http_code' => 400, 'description' => '地域与当前环境不匹配。'], + ['code' => 'InvalidRegionBind.NotFound', 'message' => 'The AppRegionBind is not found.', 'http_code' => 400, 'description' => '找不到参数AppRegionBind。'], + ['code' => 'InvalidRegionId.NotFound', 'message' => 'The RegionId is not found.', 'http_code' => 400, 'description' => '找不到参数RegionId。'], + ['code' => 'InvalidResourcePool.NotFound', 'message' => 'The resource pool is not found.', 'http_code' => 400, 'description' => '资源池未找到'], + ['code' => 'InvalidResponse.Missing', 'message' => 'The response body is missing.', 'http_code' => 400, 'description' => '响应体缺失。'], + ['code' => 'InvalidSessionId.Missing', 'message' => 'The SessionId is missing.', 'http_code' => 400, 'description' => '参数SessionId缺失。'], + ['code' => 'InvalidSourceImage.ImageTypeCannotBeShared', 'message' => 'Source image cannot be shared.', 'http_code' => 400, 'description' => '源镜像类型不支持共享。'], + ['code' => 'InvalidSourceImage.StatusNotAvailable', 'message' => 'Invalid source image status.', 'http_code' => 400, 'description' => '源镜像状态非正常。'], + ['code' => 'InvalidSpecId.Missing', 'message' => 'The SpecId is missing.', 'http_code' => 400, 'description' => '参数SpecId缺失。'], + ['code' => 'InvalidStorageType.NotFound', 'message' => 'The StorageType is not found.', 'http_code' => 400, 'description' => '找不到参数StorageType。'], + ['code' => 'InvalidStrategyConfig.ChargeTypeNotSupported', 'message' => 'The charge type is not supported for the given strategy.', 'http_code' => 400, 'description' => '指定的策略不支持该付费类型。'], + ['code' => 'InvalidStrategyConfig.Invalid', 'message' => 'The StrategyConfig is invalid.', 'http_code' => 400, 'description' => '参数StrategyConfig无效。'], + ['code' => 'InvalidStrategyConfig.Invalid', 'message' => 'The policy configuration is invalid.', 'http_code' => 400, 'description' => '策略配置不可用'], + ['code' => 'InvalidStrategyConfig.Missing', 'message' => 'The StrategyConfig is missing.', 'http_code' => 400, 'description' => '参数StrategyConfig缺失。'], + ['code' => 'InvalidStrategyConfig.NotFound', 'message' => 'The StrategyConfig is not found.', 'http_code' => 400, 'description' => '找不到参数StrategyConfig。'], + ['code' => 'InvalidStrategyParam.Invalid', 'message' => 'The StrategyParam is invalid.', 'http_code' => 400, 'description' => '参数StrategyParam无效。'], + ['code' => 'InvalidStrategyType.ValueNotSupported', 'message' => 'The strategy type is not supported.', 'http_code' => 400, 'description' => '不支持该策略类型。'], + ['code' => 'InvalidStrategyType.ValueNotSupported', 'message' => 'The policy type is not supported.', 'http_code' => 400, 'description' => '策略类型不支持'], + ['code' => 'InvalidSubAppType.ValueNotSupported', 'message' => 'The sub-category of the app is not supported.', 'http_code' => 400, 'description' => '镜像内的应用子类型不支持'], + ['code' => 'InvalidSystemDiskSize.SmallerThanParent', 'message' => 'Sub-image system disk size is smaller than the parent image.', 'http_code' => 400, 'description' => '子镜像系统盘小于父镜像系统盘。'], + ['code' => 'InvalidTargetAliUid.TargetShareImageAlreadyExist', 'message' => 'Target shared image already exists.', 'http_code' => 400, 'description' => '共享镜像已经存在。'], + ['code' => 'InvalidTaskId.NotFound', 'message' => 'The TaskId is not found.', 'http_code' => 400, 'description' => '找不到参数TaskId。'], + ['code' => 'InvalidTemplate.NotFound', 'message' => 'Template not found.', 'http_code' => 400, 'description' => '模版未找到。'], + ['code' => 'InvalidUserId.NotFound', 'message' => 'The UserId is not found.', 'http_code' => 400, 'description' => '找不到参数UserId。'], + ['code' => 'LogOffAllSession.Failed', 'message' => 'Failed to log off all sessions in the delivery group.', 'http_code' => 400, 'description' => '注销交付组下所有会话失败'], + ['code' => 'MissingParameter', 'message' => 'There is a missing parameter.', 'http_code' => 400, 'description' => '缺少参数'], + ['code' => 'MissingParameter.AppIdAndAppVersion', 'message' => 'The AppId and AppVersion are missing.', 'http_code' => 400, 'description' => '参数AppId、AppVersion不存在'], + ['code' => 'MissingParameter.RegionId', 'message' => 'The RegionId is missing.', 'http_code' => 400, 'description' => '参数RegionId不存在'], + ['code' => 'nvalidStrategyConfig.NotFound', 'message' => 'The policy configuration is not found.', 'http_code' => 400, 'description' => '找不到对应的策略配置'], + ['code' => 'OperationDenied.NoStock', 'message' => 'The operation is denied, because the instance stock is unavailable.', 'http_code' => 400, 'description' => '操作已被拒绝,因为实例库存不可用。'], + ['code' => 'OtaTask.Canceled', 'message' => 'The task has been cancelled.', 'http_code' => 400, 'description' => '该任务已取消。'], + ['code' => 'OtaTask.NotFound', 'message' => 'The ota task is not found.', 'http_code' => 400, 'description' => '找不到该OTA任务。'], + ['code' => 'OtaTask.Running', 'message' => 'The task is running and cannot be sumitted.', 'http_code' => 400, 'description' => '该任务正在运行,无法提交。'], + ['code' => 'OtaTaskNotifyRegion.Error', 'message' => 'The unit manager failed to receive the OTA upgrade job.', 'http_code' => 400, 'description' => '单元管理器无法接收OTA升级任务。'], + ['code' => 'ParentImage.NotExist', 'message' => 'The parent image does not exist.', 'http_code' => 400, 'description' => '依赖父镜像不存在。'], + ['code' => 'ParentImageRegionDistribute.NotExist', 'message' => 'The target distribution region of the parent image does not exist.', 'http_code' => 400, 'description' => '依赖父镜像分发地址不存在。'], + ['code' => 'ProductTypeInvalid', 'message' => 'The ProductType is invalid.', 'http_code' => 400, 'description' => '产品类型无效'], + ['code' => 'ProductTypeNotMatch', 'message' => 'The productType and image do not match.', 'http_code' => 400, 'description' => '输入ProductType和镜像不匹配。'], + ['code' => 'QueryTemplate.Failed', 'message' => 'Query template failed.', 'http_code' => 400, 'description' => '查找模板失败。'], + ['code' => 'RegionUnBind.Fail', 'message' => 'Failed to unbind.', 'http_code' => 400, 'description' => '无法取消绑定。'], + ['code' => 'ServiceUnavailable', 'message' => 'Service unavailable. Please try again later.', 'http_code' => 500, 'description' => '服务不可用,请稍后再试。'], + ['code' => 'StockError.InvalidResourceRequest', 'message' => 'Your request cannot be processed currently due to an error. Please try again later.', 'http_code' => 500, 'description' => '库存检查失败,系统暂时无法处理您的请求,请稍后再试。'], + ['code' => 'StockError.NoStock', 'message' => 'The selected specification is out of stock. Please try again later or select other specifications.', 'http_code' => 400, 'description' => '您选择的规格库存不足,请稍后再试或更换其他规格。'], + ['code' => 'StorageLock.Exist', 'message' => 'The storage lock exists.', 'http_code' => 400, 'description' => '存储读写锁已存在。'], + ['code' => 'StorageLock.NotFound', 'message' => 'The storage lock is not found.', 'http_code' => 400, 'description' => '找不到该存储读写锁。'], + ['code' => 'StorageLockProperties.NotMatch', 'message' => 'The storage lock properties do not match.', 'http_code' => 400, 'description' => '存储读写锁的属性不匹配。'], + ['code' => 'StorageLockUnitResponse.Empty', 'message' => 'The storage lock unit is found empty.', 'http_code' => 400, 'description' => '存储读写锁单元为空。'], + ['code' => 'StorageLockUnlockLevel.Error', 'message' => 'An unlock level error occurred while unlocking the storage lock.', 'http_code' => 400, 'description' => '解锁存储读写锁时出现解锁级别错误。'], + ['code' => 'Task.ResourceReleased', 'message' => 'Cannot retry because task resource is released.', 'http_code' => 400, 'description' => '任务资源已释放。'], + ['code' => 'TaskType.Invalid', 'message' => 'Invalid task type.', 'http_code' => 400, 'description' => '任务类型无效。'], + ['code' => 'TryBind.AppRegionBindLockFailed', 'message' => 'Failed to lock the app and region bind.', 'http_code' => 400, 'description' => '无法锁定应用和地域的绑定。'], + ['code' => 'TryBind.NoBindContext', 'message' => 'Failed to bind, because there is no bind context.', 'http_code' => 400, 'description' => '无法绑定,因为没有绑定的上下文。'], + ['code' => 'TryBind.NoCandidateAppInstanceGroup', 'message' => 'Failed to bind, because there is no candidate app instance group.', 'http_code' => 400, 'description' => '无法绑定,因为没有可用的交付组。'], + ['code' => 'TryBind.NoSupportedApp', 'message' => 'Failed to bind, because there is no supported app for this file extension.', 'http_code' => 400, 'description' => '无法绑定,因为没有支持此文件后缀的应用。'], + ['code' => 'TryRegionBind.BindExistingAppInstanceFail', 'message' => 'Failed to bind existing app instance.', 'http_code' => 400, 'description' => '无法绑定现有的应用实例。'], + ['code' => 'TryRegionBind.NoCandidateAppInstance', 'message' => 'Failed to bind, because there is no candidate app instance.', 'http_code' => 400, 'description' => '无法绑定,因为没有可用的应用实例。'], + ['code' => 'TryRegionBind.NoIdleAppInstance', 'message' => 'Failed to bind, because there is no idle app instance.', 'http_code' => 400, 'description' => '无法绑定,因为没有空闲的应用实例。'], + ['code' => 'TryRegionBind.TicketIsNull', 'message' => 'Failed to bind, because a null ticket is returned.', 'http_code' => 400, 'description' => '无法绑定,因为返回的Ticket为空。'], + ['code' => 'UpdateImage.Failed', 'message' => 'Failed to update the image.', 'http_code' => 400, 'description' => '无法更新镜像。'], + ['code' => 'UpdateRegion.NotSupport', 'message' => 'The distributed regions of vhd or container images cannot be modified.', 'http_code' => 400, 'description' => 'Vhd/Container镜像类型不支持修改地域配置信息。'], + ['code' => 'UserIdentifier.NotFound', 'message' => 'This username does not exist. Please check if it is correct.', 'http_code' => 400, 'description' => '该用户名不存在,请检查输入是否正确。'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'GetConnectionTicket'], + ], + 'createdAt' => '2025-04-07T11:39:42.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AuthorizeInstanceGroup'], + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceGroup'], + ], + 'createdAt' => '2025-03-27T09:42:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'ListAppInstanceGroup'], + ], + 'createdAt' => '2025-03-12T12:08:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'ListAppInstances'], + ], + 'createdAt' => '2025-03-12T11:30:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'CreateAppInstanceGroup'], + ], + 'createdAt' => '2025-02-27T06:57:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceGroup'], + ], + 'createdAt' => '2025-02-24T08:06:12.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceGroup'], + ['description' => '请求参数发生变更', 'api' => 'ListAppInstances'], + ], + 'createdAt' => '2025-02-21T08:18:10.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'ListAppInstances'], + ], + 'createdAt' => '2025-02-18T11:55:53.000Z', + 'description' => '', + ], [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'appstream-center.cn-shanghai.aliyuncs.com', + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ModifyAppInstanceGroupAttribute'], + ], + 'createdAt' => '2025-02-13T07:00:15.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceGroup'], + ['description' => '响应参数发生变更', 'api' => 'ListAppInstanceGroup'], + ], + 'createdAt' => '2025-01-15T13:14:27.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetAppInstanceGroup'], + ], + 'createdAt' => '2024-12-11T12:27:13.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ModifyAppInstanceGroupAttribute'], + ], + 'createdAt' => '2024-11-27T12:35:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AuthorizeInstanceGroup'], + ], + 'createdAt' => '2024-11-27T06:46:41.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AuthorizeInstanceGroup'], + ], + 'createdAt' => '2024-10-22T13:03:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetAppInstanceGroup'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListAppInstanceGroup'], + ], + 'createdAt' => '2024-10-22T08:06:10.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceGroup'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListNodeInstanceType'], + ], + 'createdAt' => '2024-10-22T07:53:14.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceGroup'], + ['description' => '响应参数发生变更', 'api' => 'GetAppInstanceGroup'], + ['description' => '响应参数发生变更', 'api' => 'ListAppInstanceGroup'], + ['description' => '请求参数发生变更', 'api' => 'ModifyNodePoolAttribute'], + ], + 'createdAt' => '2024-09-12T07:33:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DeleteAppInstanceGroup'], + ], + 'createdAt' => '2024-08-29T12:10:11.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ListRegions'], + ], + 'createdAt' => '2024-08-02T10:09:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AuthorizeInstanceGroup'], + ], + 'createdAt' => '2024-07-24T12:05:15.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ListAppInstanceGroup'], + ], + 'createdAt' => '2024-07-19T11:36:35.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceGroup'], + ], + 'createdAt' => '2024-07-19T06:21:42.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceGroup'], + ], + 'createdAt' => '2024-05-11T06:25:24.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ListRegions'], + ], + 'createdAt' => '2024-04-29T08:09:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'BuySessionPackage'], + ], + 'createdAt' => '2024-01-23T02:37:44.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetAppInstanceGroup'], + ], + 'createdAt' => '2023-12-28T12:03:33.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'GetConnectionTicket'], + ['description' => '请求参数发生变更', 'api' => 'Unbind'], + ], + 'createdAt' => '2023-12-22T07:18:54.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ListAppInstanceGroup'], + ], + 'createdAt' => '2023-11-15T08:50:31.000Z', + 'description' => '', ], [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'appstream-center.ap-southeast-1.aliyuncs.com', + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ListAppInstanceGroup'], + ], + 'createdAt' => '2023-11-15T08:48:28.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceGroup'], + ['description' => '请求参数发生变更', 'api' => 'ModifyAppInstanceGroupAttribute'], + ], + 'createdAt' => '2023-08-21T02:35:43.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetConnectionTicket'], + ], + 'createdAt' => '2023-06-29T04:02:02.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ModifyAppInstanceGroupAttribute'], + ], + 'createdAt' => '2023-06-08T10:07:39.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetAppInstanceGroup'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'GetResourcePrice'], + ['description' => '响应参数发生变更', 'api' => 'ListAppInstanceGroup'], + ], + 'createdAt' => '2023-05-12T13:36:26.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListAppInstances'], + ], + 'createdAt' => '2023-05-09T08:37:36.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceGroup'], + ['description' => '响应参数发生变更、响应参数发生变更', 'api' => 'GetAppInstanceGroup'], + ['description' => '响应参数发生变更、响应参数发生变更', 'api' => 'ListAppInstanceGroup'], + ['description' => '请求参数发生变更', 'api' => 'ModifyAppInstanceGroupAttribute'], + ], + 'createdAt' => '2023-04-28T12:41:15.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceGroup'], + ], + 'createdAt' => '2023-04-14T01:51:36.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ModifyNodePoolAttribute'], + ], + 'createdAt' => '2023-03-31T13:54:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'ListAppInstanceGroup'], + ], + 'createdAt' => '2023-03-24T08:24:42.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceGroup'], + ], + 'createdAt' => '2023-03-24T08:22:24.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'Unbind'], + ], + 'createdAt' => '2023-03-24T08:21:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetConnectionTicket'], + ], + 'createdAt' => '2023-03-24T08:20:55.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetAppInstanceGroup'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListNodeInstanceType'], + ], + 'createdAt' => '2023-03-24T08:19:33.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceGroup'], + ['description' => '请求参数发生变更', 'api' => 'GetResourcePrice'], + ], + 'createdAt' => '2022-12-02T08:13:10.000Z', + 'description' => '日常新功能发布', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'ListAppInstanceGroup'], + ], + 'createdAt' => '2022-11-24T14:45:58.000Z', + 'description' => '交付组续费功能接口变更', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'ListAppInstanceGroup'], + ], + 'createdAt' => '2022-10-28T06:14:23.000Z', + 'description' => '功能发布', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceGroup'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListAppInstanceGroup'], + ], + 'createdAt' => '2022-10-25T15:37:32.000Z', + 'description' => '功能上线', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'ListRegions'], + ], + 'createdAt' => '2022-10-17T02:12:07.000Z', + 'description' => '完善接口返回值字段', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ModifyNodePoolAttribute'], + ], + 'createdAt' => '2022-08-05T08:22:42.000Z', + 'description' => '产品类型', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'ListAppInstanceGroup'], + ], + 'createdAt' => '2022-08-02T07:52:28.000Z', + 'description' => '修改接口ListAppInstanceGroup可见性', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListNodeInstanceType'], + ], + 'createdAt' => '2022-08-01T03:09:12.000Z', + 'description' => '变更规格接口', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceGroup'], + ], + 'createdAt' => '2022-08-01T03:08:40.000Z', + 'description' => '730版本发布', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ModifyAppInstanceGroupAttribute'], + ], + 'createdAt' => '2022-05-13T03:11:46.000Z', + 'description' => '添加入参最大值保护', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AuthorizeInstanceGroup'], + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceGroup'], + ['description' => '请求参数发生变更', 'api' => 'GetResourcePrice'], + ], + 'createdAt' => '2022-05-13T03:11:25.000Z', + 'description' => '文档评审后修改必填项', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'PageListAppInstanceGroupUser'], + ], + 'createdAt' => '2022-05-13T03:10:44.000Z', + 'description' => '修改必填项', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'RenewAppInstanceGroup'], + ], + 'createdAt' => '2022-05-10T11:41:23.000Z', + 'description' => '新产品目前无用户,无需通知', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'AuthorizeInstanceGroup'], + ['description' => 'OpenAPI 下线', 'api' => 'CreateAppInstanceGroup'], + ['description' => 'OpenAPI 下线', 'api' => 'GetResourcePrice'], + ['description' => 'OpenAPI 下线', 'api' => 'ListAppInstanceGroup'], + ['description' => 'OpenAPI 下线', 'api' => 'ListNodeInstanceType'], + ['description' => 'OpenAPI 下线', 'api' => 'ModifyAppInstanceGroupAttribute'], + ['description' => 'OpenAPI 下线', 'api' => 'RenewAppInstanceGroup'], + ], + 'createdAt' => '2022-05-10T11:40:10.000Z', + 'description' => '新管控准备公测上线无需通知', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateAppInstanceSpec'], + ], + 'createdAt' => '2021-12-07T15:36:39.000Z', + 'description' => '新加配置session过期配置选项', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'AppInstanceSpecInfo'], + ['description' => 'OpenAPI 下线', 'api' => 'AuthorizeInstanceGroup'], + ['description' => 'OpenAPI 下线', 'api' => 'CreateAppInstanceSpec'], + ['description' => 'OpenAPI 下线', 'api' => 'DeleteAppInstanceGroup'], + ['description' => 'OpenAPI 下线', 'api' => 'GetAppInstanceGroupPrice'], + ['description' => 'OpenAPI 下线', 'api' => 'ListAppInstanceType'], + ['description' => 'OpenAPI 下线', 'api' => 'ListDeployApp'], + ['description' => 'OpenAPI 下线', 'api' => 'ListRegions'], + ['description' => 'OpenAPI 下线', 'api' => 'PageListAppInstanceGroupUser'], + ['description' => 'OpenAPI 下线', 'api' => 'PublishAppInstanceGroup'], + ], + 'createdAt' => '2021-09-28T06:40:37.000Z', + 'description' => '云应用api发布', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAppInstances'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTenantConfig'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAppInstanceGroup'], + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyAppPolicy'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListNodeInstanceType'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAppInstanceGroup'], + ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetConnectionTicket'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PageListAppInstanceGroupUser'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourceRenewPrice'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenewAppInstanceGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyAppInstanceGroupAttribute'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateImageFromAppInstanceGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegions'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateAppInstanceGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateAppInstanceGroupImage'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetAppInstanceGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListOtaTask'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNodePoolAttribute'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTenantConfig'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'LogOffAllSessionsInAppInstanceGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetResourcePrice'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDebugAppInstance'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AuthorizeInstanceGroup'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetOtaTaskByTaskId'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ApproveOtaTask'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListAppInstances'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'Unbind'], + ], + ], + 'ram' => [ + 'productCode' => 'AppStreaming', + 'productName' => '无影云应用', + 'ramCodes' => ['appstreaming', 'ecd'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'UpdateModelTemplate', + 'description' => '更新模型分组', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:UpdateModelTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UnassignWuyingServerPrivateAddresses', + 'description' => '解绑无影工作站的辅助私有IP地址', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:UnassignWuyingServerPrivateAddresses', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ApproveOtaTask', + 'description' => '设置OTA升级执行时间', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ModifyAppInstanceGroupAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyNodePoolAmount', + 'description' => '资源节点池中节点变配', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ModifyNodePoolAmount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListWuyingServer', + 'description' => '查询工作站', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'appstreaming:ListWuyingServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateWuyingServerImage', + 'description' => '更新工作站镜像', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:UpdateWuyingServerImage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListDesktopAgentRuntime', + 'description' => '查询Agent运行时列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListDesktopAgentRuntime', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RemoveResourceGroupModelTemplate', + 'description' => '移除资源组的模型分组', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'appstreaming:RemoveResourceGroupModelTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'PageListAppInstanceGroupUser', + 'description' => '分页查询交付组的分配用户', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:PageListAppInstanceGroupUser', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AssignWuyingServerPrivateAddresses', + 'description' => '无影工作站分配辅助私有IP地址', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:AssignWuyingServerPrivateAddresses', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeliverToUserSls', + 'description' => '投递操作日志到用户SLS', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'appstreaming:DeliverToUserSls', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateAppInstanceGroup', + 'description' => '创建交付组', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'appstreaming:CreateAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'BatchCreateLlmTemplates', + 'description' => '批量创建模型模板', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'appstreaming:BatchCreateLlmTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RemoveRuntimeModelTemplate', + 'description' => '移除Agent运行时资源的模型分组', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'appstreaming:RemoveRuntimeModelTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListLlmTemplates', + 'description' => '查询模型模板列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'appstreaming:ListLlmTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteLlmTemplate', + 'description' => '删除模型模板', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'appstreaming:DeleteLlmTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigRuntimeChannel', + 'description' => '配置Agent运行时的三方通道', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ConfigRuntimeChannel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteWuyingServer', + 'description' => '删除工作站', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'appstreaming:DeleteWuyingServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetResourceRenewPrice', + 'description' => '查询资源续费价格', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:GetResourceRenewPrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteModelProviderTemplate', + 'description' => '删除模型服务商模板', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'appstreaming:DeleteModelProviderTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListTenantConfig', + 'description' => '查询管理员账号配置信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListTenantConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'AuthorizeInstanceGroup', + 'description' => '为交付组添加或移除分配用户', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:AuthorizeInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteAppInstances', + 'description' => '删除指定应用实例', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'appstreaming:DeleteAppInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListAppInstanceGroup', + 'description' => '查询多个交付组详细信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyBrowserInstanceGroup', + 'description' => '修改云浏览器', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:CreateAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListModelProviderTemplates', + 'description' => '查询模型服务商模板列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'appstreaming:ListModelProviderTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListAppInstances', + 'description' => '查询交付组内实例详细信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListAppInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListAuthorizedUserGroups', + 'description' => '查询交付组授权的用户组列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListAuthorizedUserGroups', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListNodeInstanceType', + 'description' => '查询资源规格', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListNodeInstanceType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeWuyingServerEipInfo', + 'description' => '查询无影工作站EIP信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:DescribeWuyingServerEipInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListModelTemplateResourceGroup', + 'description' => '查询模型分组绑定的资源组列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListModelTemplateResourceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListOtaTask', + 'description' => '查询OTA升级历史记录', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateModelProviderTemplate', + 'description' => '创建模型服务商模板', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'appstreaming:CreateModelProviderTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyAppInstanceGroupAttribute', + 'description' => '修改交付组通用策略', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ModifyAppInstanceGroupAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteModelTemplate', + 'description' => '删除模型分组', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'appstreaming:DeleteModelTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteImage', + 'description' => '删除自定义镜像', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'appstreaming:DeleteImage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigRuntimeModelTemplate', + 'description' => '配置Agent运行时资源的模型分组', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ConfigRuntimeModelTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListNodes', + 'description' => '查询资源节点列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'appstreaming:ListNodes', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListRegions', + 'description' => '查询支持的地域', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListRegions', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetOtaTaskByTaskId', + 'description' => '查询OTA升级任务明细', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ModifyAppInstanceGroupAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UntagCloudResources', + 'description' => '解除云资源的标签', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:UntagCloudResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListPersistentAppInstances', + 'description' => '查询持久会话应用实例列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:ListPersistentAppInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetResourcePrice', + 'description' => '查询资源价格', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:GetResourcePrice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'Unbind', + 'description' => '解绑用户和会话', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:Unbind', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RenewAppInstanceGroup', + 'description' => '为交付组续费', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:RenewAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyNodePoolAttribute', + 'description' => '修改交付组弹性模式', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ModifyNodePoolAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RenewWuyingServer', + 'description' => '续费工作站', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:RenewWuyingServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateWuyingServer', + 'description' => '创建工作站', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'appstreaming:CreateWuyingServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetModelProviderTemplate', + 'description' => '查询模型服务商模板详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:GetModelProviderTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'StartWuyingServer', + 'description' => '启动工作站', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:StartWuyingServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetAppInstanceGroup', + 'description' => '查询指定交付组详细信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:GetAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateImageByInstance', + 'description' => '通过实例创建自定义镜像', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'appstreaming:CreateImageByInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetRuntimeChannel', + 'description' => '查询Agent运行时的三方通道配置', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:GetRuntimeChannel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateAppInstanceGroupImage', + 'description' => '更新交付组镜像', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:UpdateAppInstanceGroupImage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateModelProviderTemplate', + 'description' => '更新模型服务商模板', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:UpdateModelProviderTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListTagCloudResources', + 'description' => '查询云资源的标签列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'appstreaming:ListTagCloudResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'TagCloudResources', + 'description' => '为云资源创建并绑定标签', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:TagCloudResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetConnectionTicket', + 'description' => '获取云应用连接凭证', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'appstreaming:GetConnectionTicket', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ConfigResourceGroupModelTemplate', + 'description' => '配置资源组的模型分组', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ConfigResourceGroupModelTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListImage', + 'description' => '查询镜像信息', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'appstreaming:ListImage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'StartTaskForDistributeImage', + 'description' => '发起镜像地域复制任务', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'appstreaming:StartTaskForDistributeImage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListModelTemplates', + 'description' => '查询模型分组列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'appstreaming:ListModelTemplates', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListModelProviderEndpoints', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'appstreaming:ListModelProviderEndpoints', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyAppPolicy', + 'description' => '修改交付组显示策略', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ModifyAppPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListBindInfo', + 'description' => '查询绑定信息', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'appstreaming:ListBindInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DescribeWuyingServer', + 'description' => '查询无影工作站详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:DescribeWuyingServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'LogOffAllSessionsInAppInstanceGroup', + 'description' => '注销交付组下所有会话', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:LogOffAllSessionsInAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'StopWuyingServer', + 'description' => '停止工作站', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:StopWuyingServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDebugAppInstance', + 'description' => '获取调试应用实例信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:GetDebugAppInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyWuyingServerAttribute', + 'description' => '修改工作站属性', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ModifyWuyingServerAttribute', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateModelTemplate', + 'description' => '创建模型分组', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'appstreaming:CreateModelTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateImageFromAppInstanceGroup', + 'description' => '通过调试交付组创建新镜像', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'appstreaming:CreateImageFromAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RemoveRuntimeChannel', + 'description' => '移除Agent运行时的三方通道配置', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'appstreaming:RemoveRuntimeChannel', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetRuntimeModelConfig', + 'description' => '查询Agent运行时的模型配置', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'appstreaming:GetRuntimeModelConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ModifyTenantConfig', + 'description' => '修改管理员账号配置信息', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:ModifyTenantConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteAppInstanceGroup', + 'description' => '删除按量付费交付组', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:DeleteAppInstanceGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'RestartWuyingServer', + 'description' => '重启工作站', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'appstreaming:RestartWuyingServer', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'AppStreaming', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'resourceTypes' => [], ], ]; |
