From 7347bac4ab7e136157fc94777e6cf87ef9e08599 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Fri, 13 Feb 2026 10:54:11 +0800 Subject: first commit --- data/zh_cn/ecd/2020-10-02/api-docs.php | 5901 ++++++++++++++++++++++++++++++++ 1 file changed, 5901 insertions(+) create mode 100644 data/zh_cn/ecd/2020-10-02/api-docs.php (limited to 'data/zh_cn/ecd/2020-10-02') diff --git a/data/zh_cn/ecd/2020-10-02/api-docs.php b/data/zh_cn/ecd/2020-10-02/api-docs.php new file mode 100644 index 0000000..e7fadf2 --- /dev/null +++ b/data/zh_cn/ecd/2020-10-02/api-docs.php @@ -0,0 +1,5901 @@ + '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'ecd', + 'version' => '2020-10-02', + ], + 'directories' => [ + [ + 'id' => 203311, + 'title' => '云资源管理', + 'type' => 'directory', + 'children' => [ + 'DescribeRegions', + 'DescribeDirectories', + 'DescribeOfficeSites', + 'DescribeGlobalDesktops', + 'DescribeUserResources', + 'UnbindUserDesktop', + 'GetConnectionTicket', + 'StartDesktops', + 'StopDesktops', + 'RebootDesktops', + 'ReportSessionStatus', + 'ApproveFotaUpdate', + 'DescribeSnapshots', + 'ResetSnapshot', + 'GetCloudDriveServiceMountToken', + 'VerifyCredential', + ], + ], + [ + 'id' => 203310, + 'title' => '用户登录', + 'type' => 'directory', + 'children' => [ + 'GetLoginToken', + 'RefreshLoginToken', + 'SendTokenCode', + 'ChangePassword', + 'ResetPassword', + 'EncryptPassword', + 'DescribeFingerPrintTemplates', + 'SetFingerPrintTemplate', + 'SetFingerPrintTemplateDescription', + 'DeleteFingerPrintTemplate', + 'IsKeepAlive', + ], + ], + ], + 'components' => [ + 'schemas' => [ + 'OssUploadCredential' => [ + 'title' => 'A short description of struct', + 'description' => 'postpolicy文件上传凭证', + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'title' => 'url', + 'type' => 'string', + ], + 'OssPolicy' => [ + 'title' => '策略', + 'type' => 'string', + ], + 'OssSignature' => [ + 'title' => '前面', + 'type' => 'string', + ], + 'AccessKeyId' => [ + 'title' => 'ak', + 'type' => 'string', + ], + 'FilePath' => [ + 'title' => '文件路径', + 'type' => 'string', + ], + 'StsToken' => [ + 'title' => '凭证', + 'type' => 'string', + ], + ], + ], + ], + ], + 'apis' => [ + 'DescribeRegions' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'ac4a73ad-789a-449a-a88f-d18571d6****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + ], + 'Regions' => [ + 'description' => '地域信息对象。', + 'type' => 'array', + 'items' => [ + 'description' => '地域信息对象。', + 'type' => 'object', + 'properties' => [ + 'RegionEndpoint' => [ + 'description' => '地域对应的Endpoint。', + 'type' => 'string', + 'example' => 'ecd.cn-hangzhou.aliyuncs.com', + ], + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"Regions\\": [\\n {\\n \\"RegionEndpoint\\": \\"ecd.cn-hangzhou.aliyuncs.com\\",\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查看可选的地域和可用区', + ], + 'DescribeDirectories' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '54c17e1d-2d72-4b87-aa33-25f3b3f2****', + ], + ], + [ + 'name' => 'DirectoryId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '目录ID列表。', + 'type' => 'array', + 'items' => [ + 'description' => '目录ID。同办公网络ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou+dir-gx2x1dhsmu52rd****', + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'F369A091-002F-49C8-AD55-02A77629****', + ], + 'Directories' => [ + 'description' => '目录信息。', + 'type' => 'array', + 'items' => [ + 'description' => '目录信息。', + 'type' => 'object', + 'properties' => [ + 'DirectoryType' => [ + 'description' => '目录类型。', + 'type' => 'string', + 'example' => 'AD_CONNECTOR', + ], + 'SsoServiceUrl' => [ + 'description' => 'SSO连接。', + 'type' => 'string', + 'example' => 'https://eds-cn-shanghai-67726****', + ], + 'DesktopAccessType' => [ + 'description' => '连接云电脑时允许使用的方式。', + 'type' => 'string', + 'enumValueTitles' => [ + 'VPC连接' => '企业专网连接', + 'INTERNET' => '公网连接', + 'ANY' => '公网和企业专网连接都允许', + ], + 'example' => 'INTERNET', + ], + 'DirectoryId' => [ + 'description' => '目录ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou+dir-gx2x1dhsmu52rd****', + ], + 'ProviderId' => [ + 'description' => '用户账号BID。', + 'type' => 'string', + 'example' => '26842', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F369A091-002F-49C8-AD55-02A77629****\\",\\n \\"Directories\\": [\\n {\\n \\"DirectoryType\\": \\"AD_CONNECTOR\\",\\n \\"SsoServiceUrl\\": \\"https://eds-cn-shanghai-67726****\\",\\n \\"DesktopAccessType\\": \\"INTERNET\\",\\n \\"DirectoryId\\": \\"cn-hangzhou+dir-gx2x1dhsmu52rd****\\",\\n \\"ProviderId\\": \\"26842\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询目录详细信息', + 'summary' => '查询目录详细信息。', + ], + 'DescribeOfficeSites' => [ + 'summary' => '查询办公网络的详细信息。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。可以调用[DescribeRegions](~~196646~~)获取无影云电脑支持的地域列表。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '42f6645a-9c3c-4772-be2a-cc5f5732****', + ], + ], + [ + 'name' => 'OfficeSiteId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '办公网络ID。可设置1~100个。', + 'type' => 'array', + 'items' => [ + 'description' => '办公网络ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou+dir-363353****', + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'Uuid', + 'in' => 'query', + 'schema' => [ + 'title' => 'uuid', + 'description' => 'uuid', + 'type' => 'string', + 'required' => false, + 'example' => 'ASDASD', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + ], + 'OfficeSites' => [ + 'description' => '办公网络信息集合。', + 'type' => 'array', + 'items' => [ + 'description' => '办公网络信息。', + 'type' => 'object', + 'properties' => [ + 'SsoServiceUrl' => [ + 'description' => 'SSO连接。', + 'type' => 'string', + 'example' => 'https://eds-cn-shanghai-67****', + ], + 'DesktopAccessType' => [ + 'description' => '连接办公网络时允许使用的接入方式。'."\n" + ."\n" + .'> VPC连接方式依赖于阿里云私网连接PrivateLink服务,该服务不收取费用。该参数设置为VPC或者Any时,系统将自动为您开通私网连接服务。', + 'type' => 'string', + 'enumValueTitles' => [ + 'INTERNET' => '只允许客户端通过公网连接云电脑 [默认值]', + 'VPC' => '只允许处于VPC网络内的客户端连接云电脑', + 'Any' => '使用客户端连接云电脑时可以自行选择连接方式', + ], + 'example' => 'VPC', + ], + 'DesktopVpcEndpoint' => [ + 'description' => 'VPC连接云电脑时所使用的终端节点。', + 'type' => 'string', + 'example' => 'http://ep-bp1s2vmbj55r5rzc****.epsrv-bp1pcfhpwvlpny01****.cn-hangzhou.privatelink.aliyuncs.com', + ], + 'OfficeSiteType' => [ + 'description' => '办公网络账号系统类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'ad_connector' => 'AD域账号', + 'simple' => '便捷账号', + ], + 'example' => 'SIMPLE', + ], + 'ProviderId' => [ + 'description' => '用户账号BID。', + 'type' => 'string', + 'example' => '268****', + ], + 'OfficeSiteId' => [ + 'description' => '办公网络ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou+dir-363353****', + ], + 'BizType' => [ + 'title' => 'biztype', + 'description' => 'biztype', + 'type' => 'integer', + 'format' => 'int32', + 'example' => 'ENTERPRISE', + ], + 'AliUid' => [ + 'title' => 'aliuid', + 'description' => 'aliuid', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '125552', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"OfficeSites\\": [\\n {\\n \\"SsoServiceUrl\\": \\"https://eds-cn-shanghai-67****\\",\\n \\"DesktopAccessType\\": \\"VPC\\",\\n \\"DesktopVpcEndpoint\\": \\"http://ep-bp1s2vmbj55r5rzc****.epsrv-bp1pcfhpwvlpny01****.cn-hangzhou.privatelink.aliyuncs.com\\",\\n \\"OfficeSiteType\\": \\"SIMPLE\\",\\n \\"ProviderId\\": \\"268****\\",\\n \\"OfficeSiteId\\": \\"cn-hangzhou+dir-363353****\\",\\n \\"BizType\\": 0,\\n \\"AliUid\\": 125552\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询办公网络详细信息', + ], + 'DescribeGlobalDesktops' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '121369', + 'abilityTreeNodes' => [ + 'FEATUREgwsENR35V', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => [ + 'cn-shanghai' => '华东2(上海)', + ], + 'example' => 'cn-shanghai', + ], + ], + [ + 'name' => 'DirectoryId', + 'in' => 'query', + 'schema' => [ + 'description' => '办公网络ID。'."\n" + ."\n" + .'> 该参数即将停用,请使用`OfficeSiteId`。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'cn-hangzhou+dir-880841****', + ], + ], + [ + 'name' => 'OfficeSiteId', + 'in' => 'query', + 'schema' => [ + 'description' => '办公网络ID。'."\n" + ."\n" + .'> `DirectoryId`参数即将停用,请使用该字段。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou+dir-880841****', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'c213150d-7ac3-432c-b749-6e1e090b****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。'."\n" + .'通过登录接口GetLoginToken获取,返回参数:SessionId。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '5c456a41-1e65-4e72-ab4d-5dcfff52****', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。'."\n" + .'通过GetLoginToken接口登录获取,或登录后通过更新接口RefreshLoginToken获取。返回参数:LoginToken。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'v147c9114a180489f89691663893169****', + ], + ], + [ + 'name' => 'DesktopStatus', + 'in' => 'query', + 'schema' => [ + 'description' => '云电脑状态。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Stopped' => '已关机', + 'Starting' => '启动中', + 'Rebuilding' => '重建中', + 'Running' => '运行中', + 'Stopping' => '停止中', + 'Expired' => '已过期', + 'Deleted' => '已删除', + 'Pending' => '等待中', + ], + 'example' => 'Running', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '分页查询时每页行数。'."\n" + ."\n" + .'- 最大值:500'."\n" + .'- 默认值:10', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '500', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '下一个查询开始的Token,NextToken为空表示没有下一个。', + 'type' => 'string', + 'required' => false, + 'example' => 'eyJkZWZhdWx0IjpbIjk2MjEy****', + ], + ], + [ + 'name' => 'DesktopName', + 'in' => 'query', + 'schema' => [ + 'description' => '云电脑名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'DesktopTest', + ], + ], + [ + 'name' => 'DesktopId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '云电脑ID。可设置一个或多个,取值范围:1~20。', + 'type' => 'array', + 'items' => [ + 'description' => '云电脑ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecd-hkbl45il187d6****', + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'SearchRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '搜索地域ID。用于过滤出指定地域的云电脑信息。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-shanghai', + ], + ], + [ + 'name' => 'DesktopAccessType', + 'in' => 'query', + 'schema' => [ + 'description' => '连接云电脑时允许使用的接入方式。'."\n" + ."\n" + .'> VPC连接方式依赖于阿里云私网连接(PrivateLink)服务,该服务不收取费用。该参数设置为VPC或者Any时,系统将自动为您开通私网连接服务。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'INTERNET' => '只允许客户端通过公网连接云电脑 [默认值]', + 'VPC' => '只允许处于VPC网络内的客户端连接云电脑', + 'Any' => '使用客户端连接云电脑时可以自行选择连接方式', + ], + 'example' => 'INTERNET', + ], + ], + [ + 'name' => 'QueryFotaUpdate', + 'in' => 'query', + 'schema' => [ + 'description' => '是否查询镜像更新信息。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'default' => 'false', + ], + ], + [ + 'name' => 'WithoutLatency', + 'in' => 'query', + 'schema' => [ + 'description' => '是否查询实时云电脑信息。当前接口中云电脑状态信息有1~3秒延迟,如果需要准确信息可将此值设为`true`。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + 'default' => 'false', + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'schema' => [ + 'description' => '排序字段。若不指定则按照创建时间倒序排列。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'AssignTime' => '按照分配时间排序', + ], + 'example' => 'AssignTime', + ], + ], + [ + 'name' => 'SortType', + 'in' => 'query', + 'schema' => [ + 'description' => '排序方式。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'ASC' => '升序 [默认值]', + 'DESC' => '降序', + ], + 'example' => 'ASC', + ], + ], + [ + 'name' => 'Keyword', + 'in' => 'query', + 'schema' => [ + 'description' => '关键字。支持模糊搜索云电脑ID、云电脑名称和终端用户自定义的云电脑名称。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecd', + ], + ], + [ + 'name' => 'LoginRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '办公网络所在的地域ID,使用组织ID登录时置为空。'."\n" + ."\n" + .'- 使用办公网络ID登录时,该参数必填。'."\n" + .'- 使用组织ID登录时,该参数可为空。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'Language', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => '下一个查询开始的Token,NextToken为空表示没有下一个。', + 'type' => 'string', + 'example' => 'eyJkZWZhdWx0IjpbIjIwMjItMDgtMTdUM****', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '4686A731-D601-548C-83E2-4CB6371E****', + ], + 'Desktops' => [ + 'description' => '云电脑详细信息。', + 'type' => 'array', + 'items' => [ + 'description' => '云电脑详细信息。', + 'type' => 'object', + 'properties' => [ + 'CreationTime' => [ + 'description' => '云电脑的创建时间。', + 'type' => 'string', + 'example' => '2020-11-06T08:28Z', + ], + 'ChargeType' => [ + 'description' => '付费类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'PostPaid' => '按量付费', + 'PrePaid' => '包年包月', + ], + 'example' => 'PostPaid', + ], + 'DesktopName' => [ + 'description' => '云电脑名称。', + 'type' => 'string', + 'example' => 'testDesktopName', + ], + 'HostName' => [ + 'description' => '主机名称。', + 'type' => 'string', + 'example' => 'testName', + ], + 'DesktopGroupId' => [ + 'description' => '共享型云电脑ID。', + 'type' => 'string', + 'example' => 'dg-3uiojcc0j4kh7****', + ], + 'DesktopId' => [ + 'description' => '云电脑ID。', + 'type' => 'string', + 'example' => 'ecd-gx2x1dhsmucyy****', + ], + 'RegionId' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'LastStartTime' => [ + 'description' => '上次开机时间,即最近一次的开机时间。', + 'type' => 'string', + 'example' => '2021-07-13T15:59Z', + ], + 'Cpu' => [ + 'description' => 'CPU个数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2', + ], + 'EndUserId' => [ + 'description' => '终端用户名称。', + 'type' => 'string', + 'example' => 'alice', + ], + 'ExpiredTime' => [ + 'description' => '云电脑的过期时间。 '."\n" + ."\n" + .'- 对于包年包月云电脑,该返回值有实际意义。'."\n" + .'- 对于按量付费云电脑,均返回`2099-12-31T15:59Z`。', + 'type' => 'string', + 'example' => '2021-12-31T15:59Z', + ], + 'DesktopStatus' => [ + 'description' => '云电脑状态。', + 'type' => 'string', + 'example' => 'Running', + ], + 'DesktopType' => [ + 'description' => '云电脑规格。', + 'type' => 'string', + 'example' => 'ecd.basic.large', + ], + 'ConnectionStatus' => [ + 'description' => '终端节点连接状态。', + 'type' => 'string', + 'enumValueTitles' => [ + 'Connected' => '已连接', + 'Disconnecting' => '断开连接中', + 'Pending' => '修改中', + 'Connecting' => '连接中', + 'Disconnected' => '未连接', + 'Deleting' => '删除中', + ], + 'example' => 'Disconnected', + ], + 'Memory' => [ + 'description' => '云电脑的内存。单位:MiB。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '4096', + ], + 'ImageId' => [ + 'description' => '镜像ID。', + 'type' => 'string', + 'example' => 'm-4zfb6zj728hhr****', + ], + 'DirectoryId' => [ + 'description' => '办公网络ID,同`OfficeSiteId`。', + 'type' => 'string', + 'example' => 'cn-hangzhou+dir-jedbpr4sl9l37**** ', + ], + 'Disks' => [ + 'description' => '磁盘信息。', + 'type' => 'array', + 'items' => [ + 'description' => '磁盘信息。', + 'type' => 'object', + 'properties' => [ + 'DiskType' => [ + 'description' => '磁盘类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'SYSTEM' => '系统盘', + 'DATA' => '数据盘', + ], + 'example' => 'SYSTEM', + ], + 'DiskId' => [ + 'description' => '磁盘ID。', + 'type' => 'string', + 'example' => 'd-jedbpr4sl9l37****', + ], + 'DiskSize' => [ + 'description' => '磁盘大小。单位:GiB。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '80', + ], + ], + ], + ], + 'OsType' => [ + 'description' => '操作系统类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'Linux' => 'Linux', + 'Windows' => 'Windows', + ], + 'example' => 'Windows', + ], + 'Sessions' => [ + 'description' => '会话信息列表。', + 'type' => 'array', + 'items' => [ + 'description' => '会话信息。', + 'type' => 'object', + 'properties' => [ + 'EndUserId' => [ + 'description' => '终端用户信息。', + 'type' => 'string', + 'example' => 'alice', + ], + 'EstablishmentTime' => [ + 'description' => '会话创建时间。', + 'type' => 'string', + 'example' => '2021-03-07T08:23Z', + ], + ], + ], + ], + 'PolicyGroupId' => [ + 'description' => '云电脑策略ID。', + 'type' => 'string', + 'example' => 'pg-9cktlowtxfl6****', + ], + 'EndUserIds' => [ + 'description' => '终端用户列表。', + 'type' => 'array', + 'items' => [ + 'description' => '终端用户名。', + 'type' => 'string', + 'example' => 'alice', + ], + ], + 'GpuMemory' => [ + 'description' => '显存大小。'."\n" + .'对于GPU型云电脑,该返回值有实际意义。单位:MB。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '2048', + ], + 'FotaUpdate' => [ + 'description' => '镜像的更新信息。', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => '项目名称。', + 'type' => 'string', + 'example' => 'testProject', + ], + 'Channel' => [ + 'description' => '订阅通道。', + 'type' => 'string', + 'example' => 'Enterprise', + ], + 'CurrentAppVersion' => [ + 'description' => '云电脑当前版本号。', + 'type' => 'string', + 'example' => '0.0.0-D-20220102.xxxx', + ], + 'NewAppVersion' => [ + 'description' => '更新后的应用版本号。', + 'type' => 'string', + 'example' => '0.0.0-R-20220307.xxxx', + ], + 'Force' => [ + 'description' => '是否强制升级。', + 'type' => 'boolean', + 'example' => 'false', + ], + 'ReleaseNote' => [ + 'description' => '可升级的版本描述。', + 'type' => 'string', + 'example' => '测试升级包03-07', + ], + 'Size' => [ + 'description' => '可升级的版本安装包大小。单位:MiB。', + 'type' => 'string', + 'example' => '100', + ], + 'ReleaseNoteEn' => [ + 'description' => '可升级的版本英文描述。', + 'type' => 'string', + 'example' => 'Release note', + ], + 'ReleaseNoteJp' => [ + 'description' => '可升级的版本日文描述。', + 'type' => 'string', + 'example' => 'リリースノート', + ], + 'NewDcdVersion' => [ + 'type' => 'string', + ], + ], + ], + 'ProtocolType' => [ + 'description' => '协议类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'HDX' => 'HDX协议', + 'ASP' => '阿里云自研ASP协议', + ], + 'example' => 'ASP', + ], + 'OfficeSiteId' => [ + 'description' => '办公网络ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou+dir-363353****', + ], + 'NetworkInterfaceIp' => [ + 'description' => '网卡IP。', + 'type' => 'string', + 'example' => '192.168.XX.XX', + ], + 'UserCustomName' => [ + 'description' => '用户自定义的云电脑名称。', + 'type' => 'string', + 'example' => 'testDesktop', + ], + 'ManagementFlags' => [ + 'description' => '云电脑管理状态列表。', + 'type' => 'array', + 'items' => [ + 'description' => '云电脑管理状态。', + 'type' => 'string', + 'enumValueTitles' => [ + 'UNDER_MAINTENANCE' => '维护模式中', + 'MIGRATING' => '办公网络迁移中', + 'ASSIGNING' => '分配用户中', + 'MIGRATING_PROTOCOL' => '协议迁移中', + 'NO_FLAG' => '无状态', + 'ENTER_MAINTENANCE' => '进入维护模式中', + 'UPDATING' => '升级中', + ], + 'example' => 'UPDATING', + ], + ], + 'LocalName' => [ + 'description' => '地域名称。', + 'type' => 'string', + 'example' => '华东2(上海)', + ], + 'RealDesktopId' => [ + 'description' => '如果是共享型云电脑并且已分配真实云电脑,则显示云电脑ID。', + 'type' => 'string', + 'example' => 'ecd-gx2x1dhsm****', + ], + 'DesktopTimers' => [ + 'description' => '云电脑定时器对象。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'TimerType' => [ + 'description' => '定时任务类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'NoOperationDisconnect' => '无操作断连', + 'NoConnectShutdown' => '无连接关机', + 'TimerBoot' => '定时开机', + 'TimerReset' => '定时重置', + 'NoOperationShutdown' => '无操作关机', + 'TimerShutdown' => '定时关机', + 'NoOperationReboot' => '无操作重启', + 'TimerReboot' => '定时重启', + ], + 'example' => 'NoConnectShutdown', + ], + 'CronExpression' => [ + 'description' => '定时任务Cron表达式。'."\n" + ."\n" + .'例如:`0 0 4 1/1 * ?`表示从每月第一天上午4时开始,每天执行操作。', + 'type' => 'string', + 'example' => '0 0 0 ? * 1', + ], + 'Interval' => [ + 'description' => '时间间隔,单位为秒。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '60', + ], + 'Enforce' => [ + 'description' => '是否强制执行。为`true`表示忽略云电脑及连接状态检测,强制执行定时任务。', + 'type' => 'boolean', + 'example' => 'false', + ], + 'ResetType' => [ + 'description' => '如果是重置任务,需设置重置类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'RESET_TYPE_SYSTEM' => '重置系统盘', + 'RESET_TYPE_USER_DISK' => '重置数据盘', + 'RESET_TYPE_BOTH' => '重置系统盘和数据盘', + ], + 'example' => 'RESET_TYPE_BOTH', + ], + 'AllowClientSetting' => [ + 'description' => '是否允许客户端设置策略。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'OperationType' => [ + 'description' => '定时任务类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'HIBERNATE' => '休眠', + 'SHUTDOWN' => '关机', + ], + 'example' => 'SHUTDOWN', + ], + 'ExecutionTime' => [ + 'description' => '任务执行时间。', + 'type' => 'string', + 'example' => '2021-12-31T15:59Z', + ], + ], + ], + ], + 'Clients' => [ + 'description' => '支持的客户端信息。', + 'type' => 'array', + 'items' => [ + 'description' => '支持的客户端信息。', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => '客户端状态。', + 'type' => 'string', + 'enumValueTitles' => [ + 'OFF' => '不允许登录', + 'ON' => '允许登录', + ], + 'example' => 'ON', + ], + 'ClientType' => [ + 'description' => '客户端类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'html5' => 'Web客户端', + 'android' => 'Android客户端', + 'linux' => 'Linux客户端', + 'ios' => 'iOS客户端', + 'windows' => 'Windows客户端', + 'macos' => 'macOS客户端', + ], + 'example' => 'windows', + ], + ], + ], + ], + 'SupportHibernation' => [ + 'description' => '是否支持休眠。', + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '支持', + 'false' => '不支持', + ], + 'example' => 'true', + ], + 'HibernationBeta' => [ + 'description' => '是否为休眠测试版本。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'SessionType' => [ + 'description' => '会话类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'SINGLE_SESSION' => '单会话', + 'MULTIPLE_SESSION' => '多会话', + ], + 'example' => 'SINGLE_SESSION', + ], + 'Platform' => [ + 'description' => '操作系统平台信息。', + 'type' => 'string', + 'enumValueTitles' => [ + 'Ubuntu' => 'Ubuntu', + 'UOS' => 'UOS', + 'CentOS' => 'CentOS', + 'Windows Server 2019' => 'Windows Server 2019', + 'Windows Server 2016' => 'Windows Server 2016', + ], + 'example' => 'Ubuntu', + ], + 'Os' => [ + 'description' => '操作系统类型', + 'type' => 'string', + 'example' => 'Windows', + ], + 'RegionLocation' => [ + 'type' => 'string', + ], + 'OsDescription' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"eyJkZWZhdWx0IjpbIjIwMjItMDgtMTdUM****\\",\\n \\"RequestId\\": \\"4686A731-D601-548C-83E2-4CB6371E****\\",\\n \\"Desktops\\": [\\n {\\n \\"CreationTime\\": \\"2020-11-06T08:28Z\\",\\n \\"ChargeType\\": \\"PostPaid\\",\\n \\"DesktopName\\": \\"testDesktopName\\",\\n \\"HostName\\": \\"testName\\",\\n \\"DesktopGroupId\\": \\"dg-3uiojcc0j4kh7****\\",\\n \\"DesktopId\\": \\"ecd-gx2x1dhsmucyy****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"LastStartTime\\": \\"2021-07-13T15:59Z\\",\\n \\"Cpu\\": 2,\\n \\"EndUserId\\": \\"alice\\",\\n \\"ExpiredTime\\": \\"2021-12-31T15:59Z\\",\\n \\"DesktopStatus\\": \\"Running\\",\\n \\"DesktopType\\": \\"ecd.basic.large\\",\\n \\"ConnectionStatus\\": \\"Disconnected\\",\\n \\"Memory\\": 4096,\\n \\"ImageId\\": \\"m-4zfb6zj728hhr****\\",\\n \\"DirectoryId\\": \\"cn-hangzhou+dir-jedbpr4sl9l37****\\\\t\\",\\n \\"Disks\\": [\\n {\\n \\"DiskType\\": \\"SYSTEM\\",\\n \\"DiskId\\": \\"d-jedbpr4sl9l37****\\",\\n \\"DiskSize\\": 80\\n }\\n ],\\n \\"OsType\\": \\"Windows\\",\\n \\"Sessions\\": [\\n {\\n \\"EndUserId\\": \\"alice\\",\\n \\"EstablishmentTime\\": \\"2021-03-07T08:23Z\\"\\n }\\n ],\\n \\"PolicyGroupId\\": \\"pg-9cktlowtxfl6****\\",\\n \\"EndUserIds\\": [\\n \\"alice\\"\\n ],\\n \\"GpuMemory\\": 2048,\\n \\"FotaUpdate\\": {\\n \\"Project\\": \\"testProject\\",\\n \\"Channel\\": \\"Enterprise\\",\\n \\"CurrentAppVersion\\": \\"0.0.0-D-20220102.xxxx\\",\\n \\"NewAppVersion\\": \\"0.0.0-R-20220307.xxxx\\",\\n \\"Force\\": false,\\n \\"ReleaseNote\\": \\"测试升级包03-07\\",\\n \\"Size\\": \\"100\\",\\n \\"ReleaseNoteEn\\": \\"Release note\\",\\n \\"ReleaseNoteJp\\": \\"リリースノート\\",\\n \\"NewDcdVersion\\": \\"\\"\\n },\\n \\"ProtocolType\\": \\"ASP\\",\\n \\"OfficeSiteId\\": \\"cn-hangzhou+dir-363353****\\",\\n \\"NetworkInterfaceIp\\": \\"192.168.XX.XX\\",\\n \\"UserCustomName\\": \\"testDesktop\\",\\n \\"ManagementFlags\\": [\\n \\"UPDATING\\"\\n ],\\n \\"LocalName\\": \\"华东2(上海)\\",\\n \\"RealDesktopId\\": \\"ecd-gx2x1dhsm****\\",\\n \\"DesktopTimers\\": [\\n {\\n \\"TimerType\\": \\"NoConnectShutdown\\",\\n \\"CronExpression\\": \\"0 0 0 ? * 1\\",\\n \\"Interval\\": 60,\\n \\"Enforce\\": false,\\n \\"ResetType\\": \\"RESET_TYPE_BOTH\\",\\n \\"AllowClientSetting\\": true,\\n \\"OperationType\\": \\"SHUTDOWN\\",\\n \\"ExecutionTime\\": \\"2021-12-31T15:59Z\\"\\n }\\n ],\\n \\"Clients\\": [\\n {\\n \\"Status\\": \\"ON\\",\\n \\"ClientType\\": \\"windows\\"\\n }\\n ],\\n \\"SupportHibernation\\": true,\\n \\"HibernationBeta\\": true,\\n \\"SessionType\\": \\"SINGLE_SESSION\\",\\n \\"Platform\\": \\"Ubuntu\\",\\n \\"Os\\": \\"Windows\\",\\n \\"RegionLocation\\": \\"\\",\\n \\"OsDescription\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询全地域云电脑详细信息', + 'summary' => '查询多个地域的云电脑详细信息。目前仅支持中国内地对应的地域查询(不包含:南京-本地地域-关停中)。', + 'description' => '- 此接口为中心化域名,接入点为上海,不支持其他地域调用。'."\n" + .'- 此接口中的云电脑状态信息与实际值有1~3秒的延迟。', + ], + 'DescribeUserResources' => [ + 'summary' => '查询用户资源列表。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '169949', + 'abilityTreeNodes' => [ + 'FEATUREgwsENR35V', + ], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID,参考UUID。该参数非敏感字段,无需加密。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '54c17e1d-2d72-4b87-aa33-25f3b3f2****', + ], + ], + [ + 'name' => 'ClientType', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端的类型。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'enumValueTitles' => [ + 'html5' => 'Web客户端', + 'android' => 'Android客户端', + 'windows' => 'Windows客户端', + 'ios' => 'iOS客户端', + 'macos' => 'macOS客户端', + ], + 'example' => 'windows', + ], + ], + [ + 'name' => 'ClientVersion', + 'in' => 'query', + 'schema' => [ + 'title' => '客户端版本', + 'description' => '客户端版本。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '7.6.0-R-20241112.222305', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。'."\n" + .'通过`GetLoginToken`接口登录获取,或登录后通过更新接口`RefreshLoginToken`获取。返回参数:LoginToken。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。调用`GetLoginToken`接口获取。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'cd45e873-650d-4d70-acb9-f996187a****', + ], + ], + [ + 'name' => 'LoginRegionId', + 'in' => 'query', + 'schema' => [ + 'title' => '登录的地域ID,用于工作区ID登录场景。', + 'description' => '登录的地域ID,用于办公网络ID登录场景。组织ID登录场景无需填写。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'SearchRegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '搜索地域ID。用于过滤出指定地域的云资源信息。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'OfficeSiteIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '工作区ID列表。', + 'description' => '办公网络ID列表。AD账号登录时填写。', + 'type' => 'array', + 'items' => [ + 'title' => '工作区ID。', + 'description' => '办公网络ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou+dir-5440****', + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ResourceTypes', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '资源类型列表,为空则查询所有资源类型。'."\n" + .'可选范围:'."\n" + .'云桌面:Desktop'."\n" + .'桌面组:DesktopGroup'."\n" + .'云应用:App '."\n" + .'云盘:CloudDrive', + 'description' => '资源类型列表,为空则查询所有资源类型。', + 'type' => 'array', + 'items' => [ + 'title' => '资源类型', + 'description' => '资源类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'App' => '云应用(含云应用、云手机、云浏览器)', + 'Desktop' => '云电脑', + 'DesktopGroup' => '共享型云电脑', + 'CloudDrive' => '企业网盘', + ], + 'example' => 'Desktop', + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'ProductTypes', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '产品类型列表,为空则查询所有产品类型。'."\n" + .'可选范围:'."\n" + .'CloudApp:云应用'."\n" + .'CloudBrowser:云浏览器'."\n" + ."\0".'AndroidCloud:云手机'."\n" + .'CloudDesktop:云电脑'."\n" + .'ImageBuilder:VHD Builder'."\n" + .'ImageValidate:VHD 验证', + 'description' => '产品类型列表,为空则查询所有产品类型。', + 'type' => 'array', + 'items' => [ + 'title' => '产品类型', + 'description' => '产品类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CloudDesktop' => '云电脑(含云电脑和共享型云电脑)', + 'CloudApp' => '云应用', + 'CloudBrowser' => '云浏览器', + 'AndroidCloud' => '云手机', + ], + 'example' => 'CloudApp', + ], + 'required' => false, + 'maxItems' => 5, + ], + ], + [ + 'name' => 'ResourceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '资源ID列表。'."\n" + .'可设置0~100个。', + 'description' => '资源ID列表。'."\n" + .'可设置0\\~100个。', + 'type' => 'array', + 'items' => [ + 'title' => '资源ID', + 'description' => '资源ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecd-00001', + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ResourceName', + 'in' => 'query', + 'schema' => [ + 'title' => '资源名称,支持模糊搜索。', + 'description' => '资源名称,支持模糊搜索。', + 'type' => 'string', + 'required' => false, + 'example' => 'testName', + ], + ], + [ + 'name' => 'ProtocolType', + 'in' => 'query', + 'schema' => [ + 'title' => '协议类型。该参数仅用于过滤云桌面。支持范围:'."\n" + .'- HDX(HDX协议)'."\n" + .'- ASP(阿里巴巴自研ASP协议 [推荐])', + 'description' => '协议类型。该参数仅用于过滤云电脑。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'HDX' => 'HDX协议', + 'ASP' => '阿里巴巴自研ASP协议', + ], + 'example' => 'ASP', + ], + ], + [ + 'name' => 'AccessType', + 'in' => 'query', + 'schema' => [ + 'title' => '接入类型,不传表示两种都显示。'."\n" + .'取值范围:'."\n" + .'互联网:INTERNET'."\n" + .'专线:VPC', + 'description' => '接入类型,不传表示两种都显示。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'INTERNET' => '互联网接入', + 'VPC' => '企业专网接入', + ], + 'example' => 'INTERNET', + ], + ], + [ + 'name' => 'Language', + 'in' => 'query', + 'schema' => [ + 'title' => '客户端语言。', + 'description' => '客户端语言。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'en_US' => '英语', + 'zh_CN' => '简体中文', + 'ja_JP' => '日语', + ], + 'example' => 'zh-CN', + ], + ], + [ + 'name' => 'CategoryType', + 'in' => 'query', + 'schema' => [ + 'title' => '资源一级类目。', + 'description' => '资源一级类目。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'CategoryId', + 'in' => 'query', + 'schema' => [ + 'title' => '资源二级类目', + 'description' => '资源二级类目。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + ], + ], + [ + 'name' => 'QueryFotaUpdate', + 'in' => 'query', + 'schema' => [ + 'description' => '是否查询云电脑镜像版本信息。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + 'default' => 'false', + ], + ], + [ + 'name' => 'RefreshFotaUpdate', + 'in' => 'query', + 'schema' => [ + 'title' => '是否实时刷新OTA信息。', + 'description' => '是否实时刷新OTA信息。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'OrderBy', + 'in' => 'query', + 'schema' => [ + 'description' => '排序字段,若不指定则按照创建时间倒序。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'CreateTime' => '资源创建时间', + 'AssignTime' => '资源授权时间', + ], + 'example' => 'AssignTime', + ], + ], + [ + 'name' => 'SortType', + 'in' => 'query', + 'schema' => [ + 'description' => '排序方式。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'ASC' => '升序 [默认值]', + 'DESC' => '降序', + ], + 'example' => 'ASC', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '分页查询时每页行数。 默认值500。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '500', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '下一页Token。', + 'type' => 'string', + 'required' => false, + 'example' => 'caeba0bbb2be03f84eb48b699f0a4883', + ], + ], + [ + 'name' => 'AutoRefresh', + 'in' => 'query', + 'schema' => [ + 'title' => '是否主动刷新。主动刷新按钮则为true,定时刷新则为false。', + 'description' => '是否立即刷新。'."\n" + ."\n" + .'> 为了保证接口响应速度,建议传入`false`。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'false' => '不立即刷新', + 'true' => '立即刷新', + ], + 'example' => 'false', + ], + ], + [ + 'name' => 'Scene', + 'in' => 'query', + 'schema' => [ + 'title' => '客户端场景,用于标识排序。', + 'description' => '客户端场景,用于标识排序。请传入`desktop`。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'desktop' => '云电脑', + ], + 'example' => 'desktop', + ], + ], + [ + 'name' => 'DualCenterForward', + 'in' => 'query', + 'schema' => [ + 'title' => '是否双中心转发。', + 'description' => '是否双中心转发。请传入`false`。', + 'type' => 'boolean', + 'deprecated' => true, + 'required' => false, + 'enumValueTitles' => [ + 'false' => '非双中心转发', + ], + 'example' => 'false', + ], + ], + [ + 'name' => 'QueryDesktopTimers', + 'in' => 'query', + 'schema' => [ + 'title' => '是否查询云电脑定时任务信息,默认为true。', + 'description' => '是否查询云电脑定时任务信息,默认为true。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => '是,默认值', + 'false' => '否', + ], + 'example' => 'true', + 'default' => 'true', + ], + ], + [ + 'name' => 'QueryDesktopDurationList', + 'in' => 'query', + 'schema' => [ + 'title' => '是否查询云桌面套餐包信息,默认为true。', + 'description' => '是否查询云桌面套餐包信息,默认为true。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => '是,默认值', + 'false' => '否', + ], + 'example' => 'true', + 'default' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => '下一页查询开始的Token,NextToken为空表示没有下一页。', + 'type' => 'string', + 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + ], + 'QueryFailedResourceTypes' => [ + 'title' => '查询失败的资源类型列表。取值范围:'."\n" + .'CloudDesktop:云桌面(含云电脑和云电脑池)'."\n" + .'CloudApp:云应用'."\n" + .'CloudDrive:云盘', + 'description' => '查询失败的资源类型列表。', + 'type' => 'array', + 'items' => [ + 'description' => '资源类型', + 'type' => 'string', + 'enumValueTitles' => [ + 'CloudDesktop' => '云电脑(含云电脑和共享型云电脑)', + 'CloudApp' => '云应用(含云应用、云手机、云浏览器)', + 'CloudDrive' => '企业网盘', + ], + 'example' => 'CloudDesktop', + ], + 'enumValueTitles' => [], + ], + 'Resources' => [ + 'title' => '资源详细信息列表。', + 'description' => '资源详细信息列表。', + 'type' => 'array', + 'items' => [ + 'title' => '资源详细信息', + 'description' => '资源详细信息。', + 'type' => 'object', + 'properties' => [ + 'AliUid' => [ + 'description' => '阿里云账号ID。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '194101959****', + ], + 'ResourceType' => [ + 'title' => '资源类型。取值范围:'."\n" + .'云桌面:Desktop'."\n" + .'桌面组:DesktopGroup'."\n" + .'云应用:App '."\n" + .'云盘:CloudDrive', + 'description' => '资源类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'App' => '云应用(含云应用、云手机、云浏览器)', + 'Desktop' => '云电脑', + 'DesktopGroup' => '共享型云电脑', + 'CloudDrive' => '企业网盘', + ], + 'example' => 'Desktop', + ], + 'RegionId' => [ + 'title' => '地域ID。', + 'description' => '地域ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'RegionLocation' => [ + 'title' => '地域位置。', + 'description' => '地域位置。', + 'type' => 'string', + 'enumValueTitles' => [ + 'Mainland' => '中国内地地域', + 'Overseas' => '海外地域(含中国香港)', + ], + 'example' => 'Mainland', + ], + 'ResourceGroupId' => [ + 'title' => '资源组ID。', + 'description' => '资源组ID。', + 'type' => 'string', + 'example' => 'dg-0****', + ], + 'ResourceId' => [ + 'title' => '资源ID。', + 'description' => '资源ID。', + 'type' => 'string', + 'example' => 'ecd-d19tya8zi4****', + ], + 'ResourceLevel' => [ + 'title' => '资源级别。'."\n" + .'取值范围:'."\n" + .'中心:Center'."\n" + .'单元:Region', + 'description' => '资源级别。', + 'type' => 'string', + 'enumValueTitles' => [ + 'Center' => '中心化资源', + 'Region' => '单元化资源', + ], + 'example' => 'Center', + ], + 'CenterResourceId' => [ + 'title' => '中心化资源ID。', + 'description' => '中心化资源ID。', + 'type' => 'string', + 'example' => 'ecds-0****', + ], + 'ResourceName' => [ + 'title' => '资源名称。', + 'description' => '资源名称。', + 'type' => 'string', + 'example' => 'testName01', + ], + 'CreateTime' => [ + 'title' => '资源创建时间。', + 'description' => '资源创建时间。', + 'type' => 'string', + 'example' => '2024-12-11T07:12:12Z', + ], + 'ProductType' => [ + 'title' => '产品类型。'."\n" + .'CloudDesktop - 云桌面'."\n" + .'CloudApp - 云应用'."\n" + .'AndroidCloud - 安卓云', + 'description' => '产品类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'CloudDesktop' => '云电脑(含云电脑和共享型云电脑)', + 'CloudApp' => '云应用', + 'CloudBrowser' => '云浏览器', + 'AndroidCloud' => '云手机', + ], + 'example' => 'AndroidCloud', + ], + 'OfficeSiteId' => [ + 'title' => '工作区ID。', + 'description' => '办公网络ID。', + 'type' => 'string', + 'example' => 'cn-shanghai+dir-3367****', + ], + 'AccessType' => [ + 'title' => '接入类型。'."\n" + .'取值范围:'."\n" + .'- INTERNET(互联网)'."\n" + .'- VPC(企业专网)'."\n" + .'- ANY(互联网和企业专网均可以)', + 'description' => '接入类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'INTERNET' => '互联网接入', + 'VPC' => '企业专网接入', + 'ANY' => '互联网接入和企业专网接入均可以', + ], + 'example' => 'INTERNET', + ], + 'ProtocolType' => [ + 'title' => '协议类型。取值范围:'."\n" + .'- HDX(HDX协议)'."\n" + .'- ASP(阿里巴巴自研ASP协议)', + 'description' => '协议类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'HDX' => 'HDX协议', + 'ASP' => '阿里巴巴自研ASP协议', + ], + 'example' => 'ASP', + ], + 'OsType' => [ + 'title' => '操作系统类型。取值范围:'."\n" + .'-Windows'."\n" + .'-Linux'."\n" + .'-Android', + 'description' => '操作系统类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'Linux' => 'Linux', + 'Windows' => 'Windows', + 'Android' => 'Android', + ], + 'example' => 'Windows', + ], + 'Os' => [ + 'title' => '操作系统平台信息。', + 'description' => '操作系统平台信息。', + 'type' => 'string', + 'example' => 'Windows Server 2022', + ], + 'OsDescription' => [ + 'title' => '操作系统平台描述信息。', + 'description' => '操作系统平台描述信息。', + 'type' => 'string', + 'example' => 'Windows 正版授权', + ], + 'SupportHibernation' => [ + 'title' => '是否支持休眠。', + 'description' => '是否支持休眠。', + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '支持休眠', + 'false' => '不支持休眠', + ], + 'example' => 'true', + ], + 'HibernationBeta' => [ + 'description' => '是否为休眠测试版本。', + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '是休眠测试版本', + 'false' => '不是休眠测试版本', + ], + 'example' => 'false', + ], + 'SessionType' => [ + 'title' => '会话类型。SINGLE_SESSION代表单会话,MULTIPLE_SESSION代表多会话。', + 'description' => '会话类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'SINGLE_SESSION' => '单会话', + 'MULTIPLE_SESSION' => '多会话', + ], + 'example' => 'SINGLE_SESSION', + ], + 'ChargeType' => [ + 'title' => '计费方式。取值范围:'."\n" + .'- PostPaid(按量付费 [默认值])'."\n" + .'- PrePaid(包年包月)', + 'description' => '计费方式。', + 'type' => 'string', + 'enumValueTitles' => [ + 'PostPaid' => '按量付费 [默认值]', + 'PrePaid' => '包年包月', + ], + 'example' => 'PrePaid', + ], + 'SubPayType' => [ + 'title' => '子计费方式。取值范围:'."\n" + .'- monthPackage(按月预付费模块)'."\n" + .'- PrePaid(时长包)', + 'description' => '子计费方式。', + 'type' => 'string', + 'enumValueTitles' => [ + 'monthPackage' => '按月预付费', + 'PrePaid' => '时长包', + ], + 'example' => 'PrePaid', + ], + 'ExpiredTime' => [ + 'title' => '包年包月付费类型资源的到期时间。', + 'description' => '包年包月付费类型资源的到期时间。', + 'type' => 'string', + 'example' => '2025-02-22T16:00:00Z', + ], + 'AuthMode' => [ + 'title' => '云应用授权模式。取值范围:'."\n" + .'App:应用授权'."\n" + .'Session:会话授权'."\n" + .'AppInstanceGroup:交付组授权'."\n", + 'description' => '云应用授权模式。', + 'type' => 'string', + 'enumValueTitles' => [ + 'App' => '应用授权', + 'AppInstanceGroup' => '交付组授权', + 'Session' => '会话授权', + ], + 'example' => 'App', + ], + 'AppId' => [ + 'title' => '应用ID。', + 'description' => '应用ID。资源类型为App的资源特有参数。', + 'type' => 'string', + 'example' => 'app-0001', + ], + 'Version' => [ + 'title' => '资源版本。', + 'description' => '资源版本。资源类型为App的资源特有参数。', + 'type' => 'string', + 'example' => '资源版本。', + ], + 'CategoryType' => [ + 'title' => '资源一级类目。', + 'description' => '资源一级类目。资源类型为App的资源特有参数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'CategoryId' => [ + 'description' => '资源二级类目。资源类型为App的资源特有参数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '0', + ], + 'Icon' => [ + 'title' => '资源图标链接。', + 'description' => '资源图标链接。资源类型为App的资源特有参数。', + 'type' => 'string', + 'example' => 'http://example.com/icon.png', + ], + 'ThemeColor' => [ + 'title' => '资源主题颜色。', + 'description' => '资源主题颜色。资源类型为App的资源特有参数。', + 'type' => 'string', + 'example' => '#FFFFFF', + ], + 'CdsName' => [ + 'title' => '网盘名称。', + 'description' => '网盘名称。资源类型为CloudDrive的资源特有参数。', + 'type' => 'string', + 'example' => 'cn-shanghai+cds-695277****', + ], + 'ExternalDomainId' => [ + 'title' => '外部Domain ID。', + 'description' => '外部Domain ID。资源类型为CloudDrive的资源特有参数。', + 'type' => 'string', + 'example' => 'stg114510', + ], + 'ExternalUserId' => [ + 'title' => '外部用户ID。', + 'description' => '外部用户ID。资源类型为CloudDrive的资源特有参数。', + 'type' => 'string', + 'example' => 'test001', + ], + 'GlobalStatus' => [ + 'title' => '是否支持跨地域访问。', + 'description' => '是否支持跨地域访问。资源类型为CloudDrive的资源特有参数。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'LocalName' => [ + 'title' => '地域名称。', + 'description' => '地域名称。', + 'type' => 'string', + 'example' => '华东1(杭州)', + ], + 'DesktopTimers' => [ + 'title' => '桌面定时任务设置列表。', + 'description' => '云电脑定时任务设置列表。', + 'type' => 'array', + 'items' => [ + 'title' => '桌面定时任务设置。', + 'description' => '云电脑定时任务设置。', + 'type' => 'object', + 'properties' => [ + 'TimerType' => [ + 'title' => '任务类型。', + 'description' => '任务类型。', + 'type' => 'string', + 'example' => 'TimerBoot', + ], + 'CronExpression' => [ + 'title' => '定时任务的Cron表达式。', + 'description' => '定时任务的Cron表达式。', + 'type' => 'string', + 'example' => '0 30 13 ? * 1-7', + ], + 'Interval' => [ + 'title' => '定时任务间隔时间。', + 'description' => '定时任务间隔时间。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '15', + ], + 'Enforce' => [ + 'title' => '是否强制执行。', + 'description' => '是否强制执行。', + 'type' => 'boolean', + 'example' => 'false', + ], + 'ResetType' => [ + 'title' => '重置类型。', + 'description' => '重置类型。', + 'type' => 'string', + 'example' => 'RESET_TYPE_SYSTEM', + ], + 'AllowClientSetting' => [ + 'title' => '是否允许客户端设置', + 'description' => '是否允许客户端设置。', + 'type' => 'string', + 'example' => 'false', + ], + 'OperationType' => [ + 'title' => '操作类型', + 'description' => '操作类型。', + 'type' => 'string', + 'example' => 'Hibernate', + ], + 'ExecutionTime' => [ + 'title' => '执行时间', + 'description' => '执行时间。', + 'type' => 'string', + 'example' => '2025-01-21T11:37Z', + ], + ], + ], + ], + 'Clients' => [ + 'title' => '资源支持的客户端类型列表。', + 'description' => '资源支持的客户端类型列表。', + 'type' => 'array', + 'items' => [ + 'title' => '资源支持的单类客户端类型设置信息。', + 'description' => '资源支持的单类客户端类型设置信息。', + 'type' => 'object', + 'properties' => [ + 'ClientType' => [ + 'title' => '客户端类型。', + 'description' => '客户端类型。', + 'type' => 'string', + 'example' => 'windows', + ], + 'Status' => [ + 'title' => '支持状态。', + 'description' => '支持状态。', + 'type' => 'string', + 'enumValueTitles' => [ + 'OFF' => '禁用', + 'ON' => '启用', + ], + 'example' => 'ON', + ], + ], + ], + ], + 'ResourceStatus' => [ + 'title' => '资源状态。', + 'description' => '资源状态。', + 'type' => 'string', + 'enumValueTitles' => [ + 'Unknown' => '未知', + 'Stopped' => '已关机', + 'Failed' => '创建失败', + 'Starting' => '启动中', + 'Rebuilding' => '变更中', + 'Running' => '运行中', + 'Stopping' => '停止中', + 'FotaUpdating' => '镜像升级中', + 'Pending' => '等待中', + 'Deleting' => '删除中', + 'Unavailable' => '不可用', + ], + 'example' => 'Running', + ], + 'LastStartTime' => [ + 'title' => '资源上次启动时间。', + 'description' => '资源上次启动时间。', + 'type' => 'string', + 'example' => '2025-01-24T03:12:04Z', + ], + 'OrderStatus' => [ + 'title' => '订单状态。', + 'description' => '订单状态。', + 'type' => 'string', + 'enumValueTitles' => [ + 'Ceased' => '后付费欠费', + 'Released' => '订单关闭', + 'Expired' => '预付费停机', + 'Normal' => '正常', + ], + 'example' => 'Normal', + ], + 'ManagementStatuses' => [ + 'title' => '管理状态列表。', + 'description' => '管理状态列表。', + 'type' => 'array', + 'items' => [ + 'title' => '管理状态', + 'description' => '管理状态', + 'type' => 'string', + 'example' => 'NoFlag', + ], + ], + 'ResourceSessionStatus' => [ + 'title' => '会话状态。', + 'description' => '会话状态。', + 'type' => 'string', + 'enumValueTitles' => [ + 'Unknown' => '未知', + 'Connected' => '已连接', + 'Disconnected' => '已断开连接', + ], + 'example' => 'Connected', + ], + 'Sessions' => [ + 'description' => '资源用户会话信息列表。', + 'type' => 'array', + 'items' => [ + 'description' => '资源用户会话信息。', + 'type' => 'object', + 'properties' => [ + 'UserId' => [ + 'title' => '登录资源的用户名。', + 'description' => '登录资源的用户名。', + 'type' => 'string', + 'example' => 'user001', + ], + 'UserPrincipalName' => [ + 'title' => '绑定资源的用户的UPN(如果有),只有当前查询用户的Session该值才可能有值。', + 'description' => '绑定资源的用户的UPN(如果有),只有当前查询用户的Session该值才可能有值。', + 'type' => 'string', + 'example' => 'benchmark_test@test.shenzhen', + ], + 'ResourceSessionStartTime' => [ + 'title' => '资源会话连接的时间。', + 'description' => '资源会话连接的时间。', + 'type' => 'string', + 'example' => '2025-01-22T11:03:36Z', + ], + 'NickName' => [ + 'title' => '用户的昵称。', + 'description' => '用户的昵称。', + 'type' => 'string', + 'example' => 'user-001', + ], + ], + ], + ], + 'RealDesktopId' => [ + 'title' => '【桌面组】真实桌面ID,当桌面组存在会话时存在。', + 'description' => '【共享型云电脑】真实云电脑ID,当共享型云电脑存在会话时存在。', + 'type' => 'string', + 'example' => 'ecd-0001', + ], + 'UserCustomName' => [ + 'title' => '用户自定义名称。', + 'description' => '用户自定义名称。', + 'type' => 'string', + 'example' => '我的云电脑', + ], + 'FotaUpdate' => [ + 'title' => '', + 'description' => '云电脑升级信息。', + 'type' => 'object', + 'properties' => [ + 'Project' => [ + 'description' => '项目名称。', + 'type' => 'string', + 'example' => 'wuying-asp_single_session_desktop_win_x64', + ], + 'Channel' => [ + 'description' => '通道。', + 'type' => 'string', + 'example' => 'aliyun', + ], + 'CurrentAppVersion' => [ + 'description' => '云电脑当前镜像的版本号。', + 'type' => 'string', + 'example' => '2.7.0-R-20250122.154826', + ], + 'NewAppVersion' => [ + 'description' => '云电脑可升级的版本号。', + 'type' => 'string', + 'example' => '2.7.0-R-20250125.154826', + ], + 'Force' => [ + 'description' => '是否强制升级。', + 'type' => 'boolean', + 'example' => 'false', + ], + 'ReleaseNote' => [ + 'description' => '可升级的版本描述。', + 'type' => 'string', + 'example' => '新版本', + ], + 'Size' => [ + 'description' => '可升级的版本安装包大小。单位:KB。', + 'type' => 'string', + 'example' => '474981930', + ], + 'ReleaseNoteEn' => [ + 'title' => '', + 'description' => '可升级的版本英文描述。', + 'type' => 'string', + 'example' => 'new version', + ], + 'ReleaseNoteJp' => [ + 'description' => '可升级的版本日文描述。', + 'type' => 'string', + 'example' => '新バージョン', + ], + 'NewDcdVersion' => [ + 'description' => '可升级的组件盘版本号。', + 'type' => 'string', + 'example' => '2.6.9-R-20250123.153415', + ], + ], + ], + 'OsUpdate' => [ + 'description' => '操作系统升级信息。', + 'type' => 'object', + 'properties' => [ + 'CheckId' => [ + 'description' => '校验ID。', + 'type' => 'string', + 'example' => 'wua-1740652957251743***', + ], + 'PackageCount' => [ + 'description' => '包数量。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'Packages' => [ + 'description' => '补丁包信息列表。', + 'type' => 'array', + 'items' => [ + 'description' => '补丁包信息。', + 'type' => 'object', + 'properties' => [ + 'Kb' => [ + 'description' => '补丁号。', + 'type' => 'string', + 'example' => 'KB2267***', + ], + 'Title' => [ + 'description' => '补丁标题。', + 'type' => 'string', + 'example' => '用于****的补丁。', + ], + 'Description' => [ + 'description' => '补丁描述。', + 'type' => 'string', + 'example' => '安装此更新可修改用于检测病毒、间谍软件和其他潜在不需要的软件的文件。此项一旦安装,便无法删除。', + ], + ], + ], + ], + 'KbListString' => [ + 'description' => '补丁号列表信息。', + 'type' => 'string', + 'example' => 'KB2267***', + ], + 'UpdateCatalogUrl' => [ + 'description' => '更新分类URL。', + 'type' => 'string', + 'example' => 'https://catalog.update.microsoft.com/home.aspx', + ], + ], + ], + 'HasUpgrade' => [ + 'description' => '是否存在更新。', + 'type' => 'boolean', + 'example' => 'true', + ], + 'DesktopDurationList' => [ + 'description' => '云电脑套餐包信息列表。', + 'type' => 'array', + 'items' => [ + 'description' => '云电脑套餐包信息。', + 'type' => 'object', + 'properties' => [ + 'PackageCreationTime' => [ + 'title' => '创建时间', + 'description' => '创建时间。', + 'type' => 'string', + 'example' => '2025-01-17T07:01Z', + ], + 'PackageStatus' => [ + 'title' => '状态。', + 'description' => '状态。', + 'type' => 'string', + 'example' => 'Available', + ], + 'UsedDuration' => [ + 'title' => '已使用时长', + 'description' => '已使用时长。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '16850', + ], + 'PackageExpiredTime' => [ + 'title' => '过期时间', + 'description' => '过期时间。', + 'type' => 'string', + 'example' => '2025-02-17T15:59Z', + ], + 'PackageId' => [ + 'title' => '套餐包ID。', + 'description' => '套餐包ID。', + 'type' => 'string', + 'example' => 'mdp-0bxls4qpi6bl6****', + ], + 'TotalDuration' => [ + 'title' => '总时长', + 'description' => '总时长。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '432000', + ], + 'PackageType' => [ + 'title' => '时长包类型'."\n" + .' * Duration:时长包'."\n" + .' * NORMAL_PACKAGE:付费包(120小时包)'."\n" + .' * POSTPAID_PACKAGE:用于记录后付费额度包(200小时包)'."\n" + .' * FREE_PACKAGE:免费包', + 'description' => '时长包类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'FREE_PACKAGE' => '免费包', + 'NORMAL_PACKAGE' => '付费包(120小时包)', + 'POSTPAID_PACKAGE' => '用于记录后付费额度包(200小时包)', + 'Duration' => '时长包', + ], + 'example' => 'NORMAL_PACKAGE', + ], + 'PeriodStartTime' => [ + 'title' => '当月包开始时间', + 'description' => '当月包开始时间。', + 'type' => 'string', + 'example' => '2025-01-17T07:01Z', + ], + 'PeriodEndTime' => [ + 'title' => '当月包结束时间', + 'description' => '当月包结束时间。', + 'type' => 'string', + 'example' => '2025-02-17T15:59Z', + ], + 'PostPaidLimitFee' => [ + 'title' => '第二阶段包的封顶金额'."\n" + .' * 仅ResourceType为POSTPAID_PACKAG 和 FREE_PACKAGE时会返回', + 'description' => '第二阶段包的封顶金额。'."\n" + ."\n" + .'> 仅ResourceType为`POSTPAID_PACKAG`和`FREE_PACKAGE`时会返回。', + 'type' => 'number', + 'format' => 'float', + 'example' => '199', + ], + 'OrderInstanceId' => [ + 'title' => '订单实例ID', + 'description' => '订单实例ID。', + 'type' => 'string', + 'example' => 'mdp-0bxls4qpi6bl6****', + ], + 'PackageUsedUpStrategy' => [ + 'title' => '包用尽策略'."\n" + .' * "Postpaid" //用尽扣费'."\n" + .' * "Shutdown" //用尽关机或休眠', + 'description' => '套餐当月额度使用完毕后的云电脑状态策略。', + 'type' => 'string', + 'enumValueTitles' => [ + 'Shutdown' => '关机或休眠', + 'Postpaid' => '继续使用并按量付费', + ], + 'example' => 'Postpaid', + ], + ], + ], + ], + 'ConnectionProperties' => [ + 'title' => '连接属性,JSON格式。', + 'description' => '连接属性,JSON字符串,客户端无需关心内容,当应用资源建联时直接传递给中心资源管控。', + 'type' => 'string', + 'example' => '{"authMode":"App"}', + ], + 'SupportedActions' => [ + 'title' => '支持的操作类型列表,目前只支持安卓云。', + 'description' => '支持的操作类型列表,目前只支持云手机和云电脑(含共享型云电脑)。', + 'type' => 'array', + 'items' => [ + 'title' => '操作类型。', + 'description' => '操作类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'WakeUp' => '唤醒', + 'Hibernate' => '休眠', + 'Start' => '开机', + 'Stop' => '关机', + 'Restart' => '重启', + ], + 'example' => 'Start', + ], + ], + ], + ], + ], + 'RankVersion' => [ + 'title' => '排序数据版本号。', + 'description' => '排序数据版本号。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1732869815062', + ], + 'TotalCount' => [ + 'title' => '总数。', + 'description' => '总数。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'MaxResults' => [ + 'title' => '返回最大数量。', + 'description' => '返回最大数量。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****\\",\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"QueryFailedResourceTypes\\": [\\n \\"CloudDesktop\\"\\n ],\\n \\"Resources\\": [\\n {\\n \\"AliUid\\": 0,\\n \\"ResourceType\\": \\"Desktop\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"RegionLocation\\": \\"Mainland\\",\\n \\"ResourceGroupId\\": \\"dg-0****\\",\\n \\"ResourceId\\": \\"ecd-d19tya8zi4****\\",\\n \\"ResourceLevel\\": \\"Center\\",\\n \\"CenterResourceId\\": \\"ecds-0****\\",\\n \\"ResourceName\\": \\"testName01\\",\\n \\"CreateTime\\": \\"2024-12-11T07:12:12Z\\",\\n \\"ProductType\\": \\"AndroidCloud\\",\\n \\"OfficeSiteId\\": \\"cn-shanghai+dir-3367****\\",\\n \\"AccessType\\": \\"INTERNET\\",\\n \\"ProtocolType\\": \\"ASP\\",\\n \\"OsType\\": \\"Windows\\",\\n \\"Os\\": \\"Windows Server 2022\\",\\n \\"OsDescription\\": \\"Windows 正版授权\\",\\n \\"SupportHibernation\\": true,\\n \\"HibernationBeta\\": false,\\n \\"SessionType\\": \\"SINGLE_SESSION\\",\\n \\"ChargeType\\": \\"PrePaid\\",\\n \\"SubPayType\\": \\"PrePaid\\",\\n \\"ExpiredTime\\": \\"2025-02-22T16:00:00Z\\",\\n \\"AuthMode\\": \\"App\\",\\n \\"AppId\\": \\"app-0001\\",\\n \\"Version\\": \\"资源版本。\\",\\n \\"CategoryType\\": 1,\\n \\"CategoryId\\": 0,\\n \\"Icon\\": \\"http://example.com/icon.png\\",\\n \\"ThemeColor\\": \\"#FFFFFF\\",\\n \\"CdsName\\": \\"cn-shanghai+cds-695277****\\",\\n \\"ExternalDomainId\\": \\"stg114510\\",\\n \\"ExternalUserId\\": \\"test001\\",\\n \\"GlobalStatus\\": true,\\n \\"LocalName\\": \\"华东1(杭州)\\",\\n \\"DesktopTimers\\": [\\n {\\n \\"TimerType\\": \\"TimerBoot\\",\\n \\"CronExpression\\": \\"0 30 13 ? * 1-7\\",\\n \\"Interval\\": 15,\\n \\"Enforce\\": false,\\n \\"ResetType\\": \\"RESET_TYPE_SYSTEM\\",\\n \\"AllowClientSetting\\": \\"false\\",\\n \\"OperationType\\": \\"Hibernate\\",\\n \\"ExecutionTime\\": \\"2025-01-21T11:37Z\\"\\n }\\n ],\\n \\"Clients\\": [\\n {\\n \\"ClientType\\": \\"windows\\",\\n \\"Status\\": \\"ON\\"\\n }\\n ],\\n \\"ResourceStatus\\": \\"Running\\",\\n \\"LastStartTime\\": \\"2025-01-24T03:12:04Z\\",\\n \\"OrderStatus\\": \\"Normal\\",\\n \\"ManagementStatuses\\": [\\n \\"NoFlag\\"\\n ],\\n \\"ResourceSessionStatus\\": \\"Connected\\",\\n \\"Sessions\\": [\\n {\\n \\"UserId\\": \\"user001\\",\\n \\"UserPrincipalName\\": \\"benchmark_test@test.shenzhen\\",\\n \\"ResourceSessionStartTime\\": \\"2025-01-22T11:03:36Z\\",\\n \\"NickName\\": \\"user-001\\"\\n }\\n ],\\n \\"RealDesktopId\\": \\"ecd-0001\\",\\n \\"UserCustomName\\": \\"我的云电脑\\",\\n \\"FotaUpdate\\": {\\n \\"Project\\": \\"wuying-asp_single_session_desktop_win_x64\\",\\n \\"Channel\\": \\"aliyun\\",\\n \\"CurrentAppVersion\\": \\"2.7.0-R-20250122.154826\\",\\n \\"NewAppVersion\\": \\"2.7.0-R-20250125.154826\\",\\n \\"Force\\": false,\\n \\"ReleaseNote\\": \\"新版本\\",\\n \\"Size\\": \\"474981930\\",\\n \\"ReleaseNoteEn\\": \\"new version\\",\\n \\"ReleaseNoteJp\\": \\"新バージョン\\",\\n \\"NewDcdVersion\\": \\"2.6.9-R-20250123.153415\\"\\n },\\n \\"OsUpdate\\": {\\n \\"CheckId\\": \\"wua-1740652957251743***\\",\\n \\"PackageCount\\": 1,\\n \\"Packages\\": [\\n {\\n \\"Kb\\": \\"KB2267***\\",\\n \\"Title\\": \\"用于****的补丁。\\",\\n \\"Description\\": \\"安装此更新可修改用于检测病毒、间谍软件和其他潜在不需要的软件的文件。此项一旦安装,便无法删除。\\"\\n }\\n ],\\n \\"KbListString\\": \\"KB2267***\\",\\n \\"UpdateCatalogUrl\\": \\"https://catalog.update.microsoft.com/home.aspx\\"\\n },\\n \\"HasUpgrade\\": true,\\n \\"DesktopDurationList\\": [\\n {\\n \\"PackageCreationTime\\": \\"2025-01-17T07:01Z\\",\\n \\"PackageStatus\\": \\"Available\\",\\n \\"UsedDuration\\": 16850,\\n \\"PackageExpiredTime\\": \\"2025-02-17T15:59Z\\",\\n \\"PackageId\\": \\"mdp-0bxls4qpi6bl6****\\",\\n \\"TotalDuration\\": 432000,\\n \\"PackageType\\": \\"NORMAL_PACKAGE\\",\\n \\"PeriodStartTime\\": \\"2025-01-17T07:01Z\\",\\n \\"PeriodEndTime\\": \\"2025-02-17T15:59Z\\",\\n \\"PostPaidLimitFee\\": 199,\\n \\"OrderInstanceId\\": \\"mdp-0bxls4qpi6bl6****\\",\\n \\"PackageUsedUpStrategy\\": \\"Postpaid\\"\\n }\\n ],\\n \\"ConnectionProperties\\": \\"{\\\\\\"authMode\\\\\\":\\\\\\"App\\\\\\"}\\",\\n \\"SupportedActions\\": [\\n \\"Start\\"\\n ]\\n }\\n ],\\n \\"RankVersion\\": 1732869815062,\\n \\"TotalCount\\": 10,\\n \\"MaxResults\\": 100\\n}","type":"json"}]', + 'title' => '查询用户拥有的无影云资源列表', + 'description' => '请确保在使用该接口前,已充分了解无影产品的资源类型和产品类型。', + 'responseParamsDescription' => '返回参数并不是所有资源都拥有,请确保清楚每种资源拥有哪些参数字段。', + ], + 'UnbindUserDesktop' => [ + 'summary' => '将用户与云电脑解绑。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => true, + 'example' => 'v12307f5e0****', + ], + ], + [ + 'name' => 'ClientType', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端的类型。', + 'type' => 'string', + 'required' => false, + 'example' => 'windows', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'example' => '58f96f67-7944-4f97-9342-****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => true, + 'example' => '3b053331-dc98-43d8-b247-****', + ], + ], + [ + 'name' => 'UserDesktopId', + 'in' => 'query', + 'schema' => [ + 'description' => '用户云电脑ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'ud-sdfs****', + ], + ], + [ + 'name' => 'Force', + 'in' => 'query', + 'schema' => [ + 'description' => '是否强制解绑。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => '即使在连接状态下也会解绑', + 'false' => '只有在未连接的状态下才解绑', + ], + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回信息合集。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'D5B7CF35-E078-5EBF-A010-****', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'IdempotentParameterMismatch', + 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D5B7CF35-E078-5EBF-A010-****\\"\\n}","type":"json"}]', + 'title' => '将用户与云电脑解绑', + ], + 'GetConnectionTicket' => [ + 'summary' => '获取云电脑连接凭证。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。可以调用[DescribeRegions](~~196646~~)获取无影云电脑支持的地域列表。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'f4a0dc8e-1702-4728-9a60-95b27a35****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。调用GetLoginToken获取', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'cd45e873-650d-4d70-acb9-f996187a****', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。调用GetLoginToken获取', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****', + ], + ], + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => [ + 'description' => '云电脑连接任务ID。 '."\n" + .'首次调用本接口时无需配置,后续调用本接口时配置为上一次调用本接口返回的`TaskId`。', + 'type' => 'string', + 'required' => false, + 'example' => '2afbad19-778a-4fc5-9674-1f19c638****', + ], + ], + [ + 'name' => 'DesktopId', + 'in' => 'query', + 'schema' => [ + 'description' => '云电脑ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecd-gx2x1dhsmucyy****', + ], + ], + [ + 'name' => 'ClientOS', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端操作系统。', + 'type' => 'string', + 'required' => false, + 'example' => 'Windows_NT 10.0.18363 x64', + ], + ], + [ + 'name' => 'ClientVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端版本。', + 'type' => 'string', + 'required' => false, + 'example' => '2.1.0-R-20210731.151756', + ], + ], + [ + 'name' => 'ClientType', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'html5' => 'Web客户端', + 'linux' => '无影自研硬件终端', + 'android' => 'Android客户端', + 'windows' => 'Windows客户端', + 'ios' => 'iOS客户端', + 'macos' => 'macOS客户端', + ], + 'example' => 'windows', + ], + ], + [ + 'name' => 'CommandContent', + 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => [ + 'title' => '乐播需求,获取Tickek成功后自动在session里启动乐播应用。', + 'description' => '当前参数可以配置自定义用户态应用,当成功获取凭证后,自动执行应用。'."\n" + ."\n" + .'- appPath:String类型,应用启动文件路径,例如:`"C:\\\\Program Files (x86)\\\\000\\\\000.exe"`,注意路径分隔符要用双斜杠(\\\\\\)。'."\n" + .'- appParameter:String类型,应用启动参数,例如:`"meetingid 000 meetingname aaa"`,注意参数与参数之间直接用空格。', + 'type' => 'string', + 'required' => false, + 'example' => '{'."\n" + .' "startApplication": {'."\n" + .' "startApplicationList": ['."\n" + .' {'."\n" + .' "sessionName": "",'."\n" + .' "appList": ['."\n" + .' {'."\n" + .' "appPath": "C:\\\\Program Files\\\\Google\\\\Chrome\\\\Application\\\\chrome.exe",'."\n" + .' "appParameter": "www.example.com www.example1.com"'."\n" + .' }'."\n" + .' ]'."\n" + .' }'."\n" + .' ]'."\n" + .' }'."\n" + .'}', + 'maxLength' => 1024000, + ], + ], + [ + 'name' => 'Uuid', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端唯一标识。若使用无影客户端,可在客户端登录界面的**关于**对话框中查看该参数。', + 'type' => 'string', + 'required' => false, + 'example' => '28c80e90-f71e-4c23-93d6-1225329cf949', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '标签列表。可包含1\\~20个。', + 'type' => 'array', + 'items' => [ + 'description' => '标签。', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '标签键。如果传入`Tag`,则`Key`是必填的。不可超过128个字符,不能以`aliyun`或`acs:`开头,不能包含`http://`或者`https://`,也不能仅包含空格。', + 'type' => 'string', + 'required' => false, + 'example' => 'TestKey', + ], + 'Value' => [ + 'description' => '标签值。可以为空字符串。最多支持128个字符,不能以`acs:`开头,不能包含`http://`或者`https://`。', + 'type' => 'string', + 'required' => false, + 'example' => 'TestValue', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'AccessType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'TicketBlackList', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + ], + 'TaskStatus' => [ + 'description' => '任务状态。', + 'type' => 'string', + 'enumValueTitles' => [ + 'FAILED' => '失败', + 'RUNNING' => '运行中', + 'FINISHED' => '已完成', + ], + 'example' => 'FINISHED', + ], + 'Ticket' => [ + 'description' => '云电脑连接凭证。', + 'type' => 'string', + 'example' => 'W0VuY29kaW5nXQ0KSW5wdXRFbmNvZGluZz1V********', + ], + 'TaskId' => [ + 'description' => '云电脑连接任务ID。', + 'type' => 'string', + 'example' => '2afbad19-778a-4fc5-9674-1f19c63862da', + ], + 'TaskCode' => [ + 'description' => '用于连接用户实例的Ticket,使用时需要先将其内容执行base64的解码,并保存为xxx.ica文件,然后打开这个文件。Python代码示例:'."\n" + ."\n" + .'```'."\n" + .'import base64'."\n" + .'response = {'."\n" + .' "Ticket": "W0VuY29kaW5nXQ0KSW5wdXRFbmNvZGluZz1V********",'."\n" + .' "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",'."\n" + .'}'."\n" + .'f = open (\'xxx.ica\', \'w\')'."\n" + .'out = base64.b64decode(response[\'Ticket\'])'."\n" + .'f.write(out)'."\n" + .'f.close()'."\n" + .'```', + 'type' => 'string', + 'example' => 'W0VuY29kaW5nXQ0KSW5wdXRFbmNvZGluZz1V********', + ], + 'TaskMessage' => [ + 'description' => '云电脑连接任务ID。', + 'type' => 'string', + 'example' => '2afbad19-778a-4fc5-9674-1f19c638****', + ], + 'P2PToken' => [ + 'type' => 'string', + ], + 'DesktopId' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + [ + 'errorCode' => 'DesktopMemoryHighLoad%s', + 'errorMessage' => 'The specified desktop memory high load.', + ], + [ + 'errorCode' => 'DesktopCpuHighLoad%s', + 'errorMessage' => 'The specified desktop cpu high load.', + ], + [ + 'errorCode' => 'InvalidClientIp.Policy', + 'errorMessage' => 'Client ip %s is not in white list.', + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"TaskStatus\\": \\"FINISHED\\",\\n \\"Ticket\\": \\"W0VuY29kaW5nXQ0KSW5wdXRFbmNvZGluZz1V********\\",\\n \\"TaskId\\": \\"2afbad19-778a-4fc5-9674-1f19c63862da\\",\\n \\"TaskCode\\": \\"W0VuY29kaW5nXQ0KSW5wdXRFbmNvZGluZz1V********\\",\\n \\"TaskMessage\\": \\"2afbad19-778a-4fc5-9674-1f19c638****\\",\\n \\"P2PToken\\": \\"\\",\\n \\"DesktopId\\": \\"\\"\\n}","errorExample":""},{"type":"xml","example":"\\n W0VuY29kaW5nXQ0KSW5wdXRFbmNvZGluZz1V********\\n 2afbad19-778a-4fc5-9674-1f19c63862da\\n 484256DA-D816-44D2-9D86-B6EE4D5BA78C\\n Finished\\n","errorExample":""}]', + 'title' => '获取云电脑连接凭证', + 'description' => '首次调用该接口时,将返回`TaskID`,使用该`TaskID`继续调用该接口,直到`TaskStatus`的值变为`FINISHED`或者`FAILED`。`TaskStatus`为`FINISHED`时,`Ticket`的值即为客户端连接云电脑的Ticket。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'StartDesktops' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。可以调用[DescribeRegions](~~196646~~)获取无影云电脑支持的地域列表。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'f4a0dc8e-1702-4728-9a60-95b27a35****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'cd45e873-650d-4d70-acb9-f996187a****', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****', + ], + ], + [ + 'name' => 'ClientOS', + 'in' => 'query', + 'schema' => [ + 'description' => '运行客户端的设备的操作系统。', + 'type' => 'string', + 'required' => false, + 'example' => 'Windows_NT 10.0.18363 x64', + ], + ], + [ + 'name' => 'ClientVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端版本。若使用无影客户端,可在客户端登录界面的**关于**对话框中查看该参数。', + 'type' => 'string', + 'required' => false, + 'example' => ' 2.1.0-R-20210731.151756', + ], + ], + [ + 'name' => 'DesktopId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '云电脑ID列表。可设置1\\~20个。', + 'type' => 'array', + 'items' => [ + 'description' => '云电脑ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecd-cg27ufmapab08****', + ], + 'required' => true, + 'example' => 'ecd-cg27ufmapab08****', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。更多信息,请参见[如何保证幂等性](~~25693~~)。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '21e7be12-aa4f-4389-b3e1-82f4a1b5****', + ], + ], + [ + 'name' => 'Uuid', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端唯一标识符。', + 'type' => 'string', + 'required' => false, + 'example' => '71F6A700735E74A61161A53F0C47****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 1CBAFFAB-B697-4049-A9B1-67E1FC5FEB53\\r\\n","errorExample":""}]', + 'title' => '启动云电脑', + 'summary' => '启动一台或者多台云电脑。', + 'description' => '云电脑的状态必须为已停止(Stopped),接口调用成功后,云电脑的状态将变更为运行中(Running)。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'StopDesktops' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。可以调用[DescribeRegions](~~196646~~)获取无影云电脑支持的地域列表。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'f4a0dc8e-1702-4728-9a60-95b27a35****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'cd45e873-650d-4d70-acb9-f996187a****', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****', + ], + ], + [ + 'name' => 'ClientOS', + 'in' => 'query', + 'schema' => [ + 'description' => '运行客户端的设备的操作系统。', + 'type' => 'string', + 'required' => false, + 'example' => 'Windows_NT 10.0.18363 x64', + ], + ], + [ + 'name' => 'ClientVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端版本。若使用无影客户端,可在客户端登录界面的**关于**对话框中查看该参数。', + 'type' => 'string', + 'required' => false, + 'example' => '2.1.0-R-20210731.151756', + ], + ], + [ + 'name' => 'DesktopId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '云电脑ID列表。可设置1\\~20个。', + 'type' => 'array', + 'items' => [ + 'description' => '云电脑ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecd-7w78ozhjcwa3u**** ', + ], + 'required' => true, + 'example' => 'ecd-7w78ozhjcwa3u**** ', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'title' => '', + 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。更多信息,请参见[如何保证幂等性](~~25693~~)。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '6ce412a8-399f-49f9-9518-66ee028a****', + ], + ], + [ + 'name' => 'SessionToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => false, + 'example' => '04b7b80a0b020715c5c1b4175fc4771698****9e2a759557a4624665fd53ae40', + ], + ], + [ + 'name' => 'OsUpdate', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'Uuid', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 1CBAFFAB-B697-4049-A9B1-67E1FC5FEB53\\r\\n","errorExample":""}]', + 'title' => '停止云电脑', + 'summary' => '停止一台或者多台云电脑。', + 'description' => '云电脑的状态必须为运行中(Running)。接口调用成功后,云电脑的状态将变更为已停止(Stopped)。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RebootDesktops' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。可以调用[DescribeRegions](~~196646~~)获取无影云电脑支持的地域列表。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'f4a0dc8e-1702-4728-9a60-95b27a35****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'cd45e873-650d-4d70-acb9-f996187a****', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****', + ], + ], + [ + 'name' => 'ClientOS', + 'in' => 'query', + 'schema' => [ + 'description' => '运行客户端的设备的操作系统。', + 'type' => 'string', + 'required' => false, + 'example' => 'Windows_NT 10.0.18363 x64', + ], + ], + [ + 'name' => 'ClientVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端版本。若使用无影客户端,可在客户端登录界面的**关于**对话框中查看该参数。', + 'type' => 'string', + 'required' => false, + 'example' => '2.1.0-R-20210731.151756', + ], + ], + [ + 'name' => 'DesktopId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '云电脑ID列表。可设置1\\~20个。', + 'type' => 'array', + 'items' => [ + 'description' => '云电脑ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecd-7w78ozhjcwa3u****', + ], + 'required' => true, + 'example' => 'ecd-7w78ozhjcwa3u**** ', + 'maxItems' => 100, + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。更多信息,请参见[如何保证幂等性](~~25693~~)。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '40401e62-5caf-4508-8de7-bf98af12****', + ], + ], + [ + 'name' => 'SessionToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => false, + 'example' => '04b7b80a0b020715c5c1b4175fc4771698****9e2a759557a4624665fd53ae40', + ], + ], + [ + 'name' => 'Uuid', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端唯一标识符。', + 'type' => 'string', + 'required' => false, + 'example' => '91761ED27169E2FC564F29388E2D****', + ], + ], + [ + 'name' => 'OsUpdate', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n 1CBAFFAB-B697-4049-A9B1-67E1FC5FEB53\\r\\n","errorExample":""}]', + 'title' => '重启云电脑', + 'summary' => '重启一台或者多台云电脑。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'ReportSessionStatus' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '实例ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'i-bp167fcodoa90ixn****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '2', + ], + ], + [ + 'name' => 'SessionStatus', + 'in' => 'query', + 'schema' => [ + 'description' => '会话状态。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'enumValueTitles' => [ + 'SessionLogOff' => '会话关闭', + 'DesktopTimerDisconnection' => '云电脑定时任务断连', + 'SessionReboot' => '重启', + 'DesktopTimerShutdown' => '云电脑定时任务开机', + 'SessionLock' => '登录用户锁定会话', + 'SessionShutdown' => '关机', + 'SessionUnLock' => '登录用户未锁定会话', + 'DesktopTimerReboot' => '云电脑定时任务重启', + 'ConsoleConnect' => '会话开始前的控制台连接', + 'SessionLogOn' => '会话开始', + 'SessionPopup' => '断开连接前会话退出', + 'SessionDisconnect' => '会话断连', + 'ConsoleDisconnect' => '会话注销后控制台断开连接', + ], + 'example' => 'SessionLogOn', + ], + ], + [ + 'name' => 'SessionChangeTime', + 'in' => 'query', + 'schema' => [ + 'description' => '会话变更的持续时间。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => true, + 'docRequired' => true, + 'maximum' => '9223372036854775807', + 'minimum' => '0', + 'example' => '1642909143781', + ], + ], + [ + 'name' => 'EndUserId', + 'in' => 'query', + 'schema' => [ + 'description' => '连接用户。', + 'type' => 'string', + 'required' => false, + 'example' => 'liming', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '0EE5DE20-25F4-5870-9D56-C259A45B****', + ], + ], + ], + ], + ], + 'errorCodes' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0EE5DE20-25F4-5870-9D56-C259A45B****\\"\\n}","type":"json"}]', + 'title' => '报告会话状态', + 'summary' => '报告会话状态。', + ], + 'ApproveFotaUpdate' => [ + 'summary' => '允许云电脑OTA升级。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'd4452bd7-88df-4b90-a409-806da674****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '4771b873-c757-4893-973c-7f5beejh****', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'v18390c954ce59e2915ef16663205371721e0db9a46179ac89249a203320459523cb54ad08efe324784dd0eba25950****', + ], + ], + [ + 'name' => 'DesktopId', + 'in' => 'query', + 'schema' => [ + 'description' => '云电脑ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecd-138dsptkrt00u****', + ], + ], + [ + 'name' => 'AppVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '应用版本。', + 'type' => 'string', + 'required' => true, + 'example' => '0.0.1-D-20220513.14****', + ], + ], + [ + 'name' => 'Uuid', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端唯一标识。若使用无影客户端,可在客户端登录界面的“关于”面板上查看该参数。', + 'type' => 'string', + 'required' => false, + 'example' => '28c80e90-f71e-4c23-93d6-1225329c****', + ], + ], + [ + 'name' => 'TargetStatus', + 'in' => 'query', + 'schema' => [ + 'description' => '指定云电脑升级之后的状态。'."\n" + ."\n" + .'> 该参数暂未对外开放使用。目前升级完成后,云电脑状态将变成`RUNNING`。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'running' => '运行中', + ], + 'example' => 'running', + ], + ], + ], + '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****', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + 'title' => '允许云电脑OTA升级', + ], + 'DescribeSnapshots' => [ + 'summary' => '查询一台云电脑的快照列表和快照详细信息。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。可以调用[DescribeRegions](~~196646~~)获取无影云电脑支持的地域列表。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'DesktopId', + 'in' => 'query', + 'schema' => [ + 'description' => '云电脑ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecd-gx2x1dhsmucyy****', + ], + ], + [ + 'name' => 'SnapshotId', + 'in' => 'query', + 'schema' => [ + 'description' => '快照ID。', + 'type' => 'string', + 'required' => false, + 'example' => 's-2ze81owrnv9pity4****', + ], + ], + [ + 'name' => 'MaxResults', + 'in' => 'query', + 'schema' => [ + 'description' => '分页查询时,每页最大行数。默认值:100。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'description' => '下一个查询开始的Token,NextToken为空表示没有下一个。', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '16dad2b6-3c6d-4e4c-b057-78ecb13c****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'a99b9aca-bac5-4da2-819e-400ce98f****', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'v16abfb945208fc5745061668654680853da4a25202d1a394fcad57bba484e9827ad43ea7d10fb6bf13d44a4adc0e9****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'NextToken' => [ + 'description' => '下一个查询开始的Token,NextToken为空表示没有下一个。', + 'type' => 'string', + 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '51592A88-0F2C-55E6-AD2C-2AD9C10D****', + ], + 'Snapshots' => [ + 'description' => '快照信息集合。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CreationTime' => [ + 'description' => '快照创建时间。按照[ISO8601](~~25696~~)标准表示,并使用UTC +0时间,格式为`yyyy-MM-ddTHH:mm:ssZ`。', + 'type' => 'string', + 'example' => '2020-12-20T14:52:28Z', + ], + 'Status' => [ + 'description' => '快照状态。', + 'type' => 'string', + 'enumValueTitles' => [ + 'PROGRESSING' => '创建中', + 'FAILED' => '创建失败', + 'ACCOMPLISHED' => '完成创建', + ], + 'example' => 'ACCOMPLISHED', + ], + 'SnapshotType' => [ + 'description' => '快照创建类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'AUTO' => '自动创建快照', + 'USER' => '手动创建快照', + ], + 'example' => 'USER', + ], + 'SnapshotName' => [ + 'description' => '快照名称。', + 'type' => 'string', + 'example' => 'testSnapshotName', + ], + 'Progress' => [ + 'description' => '创建云电脑时的进度。', + 'type' => 'string', + 'example' => '100%', + ], + 'Description' => [ + 'description' => '快照描述信息。', + 'type' => 'string', + 'example' => 'testDescription', + ], + 'SnapshotId' => [ + 'description' => '快照ID。', + 'type' => 'string', + 'example' => 's-2zeipxmnhej803x7****', + ], + 'RemainTime' => [ + 'description' => '正在创建的快照剩余完成时间。单位:秒。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '30', + ], + 'SourceDiskSize' => [ + 'description' => '源磁盘容量。单位:GiB。', + 'type' => 'string', + 'example' => '150', + ], + 'SourceDiskType' => [ + 'description' => '源磁盘类型。', + 'type' => 'string', + 'enumValueTitles' => [ + 'SYSTEM' => '系统盘', + 'DATA' => '数据盘', + ], + 'example' => 'SYSTEM', + ], + 'DesktopId' => [ + 'description' => '快照所属的云电脑ID。', + 'type' => 'string', + 'example' => 'ecd-g03l3tlm8djoj****', + ], + 'RestorePointId' => [ + 'description' => '还原点ID。', + 'type' => 'string', + 'example' => 'rp-btgmaa20wkcju****', + ], + 'RestorePointName' => [ + 'description' => '还原点名称。', + 'type' => 'string', + 'example' => '数据盘备份', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****\\",\\n \\"RequestId\\": \\"51592A88-0F2C-55E6-AD2C-2AD9C10D****\\",\\n \\"Snapshots\\": [\\n {\\n \\"CreationTime\\": \\"2020-12-20T14:52:28Z\\",\\n \\"Status\\": \\"ACCOMPLISHED\\",\\n \\"SnapshotType\\": \\"USER\\",\\n \\"SnapshotName\\": \\"testSnapshotName\\",\\n \\"Progress\\": \\"100%\\",\\n \\"Description\\": \\"testDescription\\",\\n \\"SnapshotId\\": \\"s-2zeipxmnhej803x7****\\",\\n \\"RemainTime\\": 30,\\n \\"SourceDiskSize\\": \\"150\\",\\n \\"SourceDiskType\\": \\"SYSTEM\\",\\n \\"DesktopId\\": \\"ecd-g03l3tlm8djoj****\\",\\n \\"RestorePointId\\": \\"rp-btgmaa20wkcju****\\",\\n \\"RestorePointName\\": \\"数据盘备份\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询云电脑快照信息', + ], + 'ResetSnapshot' => [ + 'summary' => '恢复快照对应的磁盘数据。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。可以调用[DescribeRegions](~~437810~~)获取无影云电脑支持的地域列表。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'SnapshotId', + 'in' => 'query', + 'schema' => [ + 'description' => '快照ID。', + 'type' => 'string', + 'required' => true, + 'example' => 's-2zeipxmnhej803x7****', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'b9d8ddfd-65d4-4857-9e97-56477d1f****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '05182b8c-bb0d-49d3-963c-ee63a507****', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'v1fdef51b727aa91d6c881658978508114d3f5680fa99a66b2a631d17d5bb4860cccf1173be24d77d5ef1423c83aea****', + ], + ], + [ + 'name' => 'DesktopId', + 'in' => 'query', + 'schema' => [ + 'description' => '云电脑ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'ecd-e964cr92klwqb****', + ], + ], + [ + 'name' => 'StopDesktop', + 'in' => 'query', + 'schema' => [ + 'description' => '是否将云电脑关机。', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\"\\n}","type":"json"}]', + 'title' => '恢复快照对应的磁盘数据', + ], + 'GetCloudDriveServiceMountToken' => [ + 'summary' => '获取企业网盘登录凭证。', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => false, + 'example' => 'v1972cd3446f0e523598916520951742474e6624fcdea6652994d47bc6157d27f7cc900c339db67882j3no4nh5bk3b4****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => false, + 'example' => '14e1fe41-ce9b-491d-aa8c-345jk2n4bk****', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => false, + 'example' => '00e122c3-13fb-4fc3-bc7a-5d9acb89****', + ], + ], + [ + 'name' => 'OfficeSiteId', + 'in' => 'query', + 'schema' => [ + 'description' => '办公网络ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou+dir-7186763****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回对象。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'DC27288A-F9E1-5092-9B5B-71C27D15****', + ], + 'Token' => [ + 'description' => '返回Token信息列表。', + 'type' => 'object', + 'properties' => [ + 'Token' => [ + 'description' => 'Token值。', + 'type' => 'string', + 'example' => '7836fa6eced7dc8d54c775k34iu3h4i2kh534f****', + ], + 'ExpiredAfter' => [ + 'description' => '到期时间。', + 'type' => 'string', + 'example' => '2022-10-10T04:41:35Z', + ], + 'UsedSize' => [ + 'description' => '已使用的容量。单位:GiB。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '605089', + ], + 'TotalSize' => [ + 'description' => '企业网盘总容量。单位:GiB。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '6050416754750', + ], + 'DomainId' => [ + 'description' => '企业网盘域名。', + 'type' => 'string', + 'example' => 'h****', + ], + 'Status' => [ + 'description' => '当前企业网盘用户的状态。', + 'type' => 'string', + 'enumValueTitles' => [ + 'disabled' => '已禁用', + 'enabled' => '已启用', + ], + 'example' => 'enabled', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DC27288A-F9E1-5092-9B5B-71C27D15****\\",\\n \\"Token\\": {\\n \\"Token\\": \\"7836fa6eced7dc8d54c775k34iu3h4i2kh534f****\\",\\n \\"ExpiredAfter\\": \\"2022-10-10T04:41:35Z\\",\\n \\"UsedSize\\": 605089,\\n \\"TotalSize\\": 6050416754750,\\n \\"DomainId\\": \\"h****\\",\\n \\"Status\\": \\"enabled\\"\\n }\\n}","type":"json"}]', + 'title' => '获取企业网盘登录凭证', + ], + 'VerifyCredential' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'd0b95762-0541-4b53-a0e4-7ed09f39****', + ], + ], + [ + 'name' => 'OfficeSiteId', + 'in' => 'query', + 'schema' => [ + 'description' => '办公网络ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-shanghai+dir-227468****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'eb17af2e-1dd6-4cc4-a3ee-3a14d0d7****', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'v1f5772a1c60dbea9fd8e1648567079018086448d234b5bc8e30bec0ba6e80c41c767c4dd0db51e9e5c4e0f111431a****', + ], + ], + [ + 'name' => 'CredentialType', + 'in' => 'query', + 'schema' => [ + 'description' => '指定要清除的登录凭据类型。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'enumValueTitles' => [ + 'MfaPasscode' => '多因子认证', + 'FingerPrint' => '指纹', + 'Password' => '密码', + ], + 'example' => 'Password', + ], + ], + [ + 'name' => 'Credential', + 'in' => 'query', + 'schema' => [ + 'description' => '认证信息。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '123456789cyG', + ], + ], + [ + 'name' => 'EncryptedKey', + 'in' => 'query', + 'schema' => [ + 'description' => '待加密的密钥ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'drjfs****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'D5F0BDFB-A229-5F1D-B790-33709D43****', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D5F0BDFB-A229-5F1D-B790-33709D43****\\"\\n}","type":"json"}]', + 'title' => '验证客户端本地会话解锁的凭证', + 'summary' => '验证客户端本地会话解锁的凭证。', + ], + 'GetLoginToken' => [ + 'summary' => '获取登录凭证。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。可以调用[DescribeRegions](~~196646~~)获取无影云电脑支持的地域列表。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'f4a0dc8e-1702-4728-9a60-95b27a35****', + ], + ], + [ + 'name' => 'DirectoryId', + 'in' => 'query', + 'schema' => [ + 'description' => '办公网络ID,与`OfficeSiteId`含义相同。建议停止使用`DirectoryId`,改为使用`OfficeSiteId`。`DirectoryId`和`OfficeSiteId`只能填写一个,不可同时填写。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'cn-hangzhou+dir-885351****', + ], + ], + [ + 'name' => 'OfficeSiteId', + 'in' => 'query', + 'schema' => [ + 'description' => '办公网络ID。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'cn-hangzhou+dir-885351****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '登录的会话ID。'."\n" + ."\n" + .'- 若未绑定虚拟MFA设备或者未开启客户端二次认证,则不需要填写`SessionId`。'."\n" + .'- 若已绑定虚拟MFA设备或者已开启客户端二次认证,则`ADPassword`之后的登录认证阶段需要填写`SessionId`。可从便捷账号验证(即`GetLoginToken`请求处于`ADPassword`阶段)的返回结果中获取`SessionId`。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'cd45e873-650d-4d70-acb9-f996187a****', + ], + ], + [ + 'name' => 'CurrentStage', + 'in' => 'query', + 'schema' => [ + 'description' => '当前登录认证阶段,依次为:'."\n" + ."\n" + .'- `ADPassword`:验证用户信息。当使用便捷账号或者AD账号的账密认证时填写此值。'."\n" + .'- `MFABind`:绑定虚拟MFA设备。'."\n" + .'- `MFAVerify`:验证虚拟MFA设备生成的安全码。'."\n" + .'- `TokenVerify`:客户端二次认证。'."\n" + .'- `ChangePassword`:修改用户密码。'."\n" + .'- `KeepAliveVerify`: KeepAliveToken有效时,可用于换取LoginToken。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'ADPassword', + ], + ], + [ + 'name' => 'EndUserId', + 'in' => 'query', + 'schema' => [ + 'description' => '便捷用户或AD用户的用户名。当`CurrentStage`为`ADPassword`时必填。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'alice', + ], + ], + [ + 'name' => 'Password', + 'in' => 'query', + 'schema' => [ + 'description' => '便捷用户或AD用户的密码。当`CurrentStage`为`ADPassword`时必填。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'Password1234', + ], + ], + [ + 'name' => 'OldPassword', + 'in' => 'query', + 'schema' => [ + 'description' => '旧密码。当`CurrentStage`为`ChangePassword`时必填。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'OldPassword', + ], + ], + [ + 'name' => 'NewPassword', + 'in' => 'query', + 'schema' => [ + 'description' => '新密码。当`CurrentStage`为`ChangePassword`时必填。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'NewPassword', + ], + ], + [ + 'name' => 'AuthenticationCode', + 'in' => 'query', + 'schema' => [ + 'description' => '虚拟MFA设备生成的安全码。当`CurrentStage`为`MFAVerify`时必填。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '47****', + ], + ], + [ + 'name' => 'ClientOS', + 'in' => 'query', + 'schema' => [ + 'description' => '运行客户端的设备的操作系统。', + 'type' => 'string', + 'required' => false, + 'example' => 'Windows_NT 10.0.18363 x64', + ], + ], + [ + 'name' => 'ClientVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端版本。若使用无影客户端,可在客户端登录界面的**关于**对话框中查看该参数。', + 'type' => 'string', + 'required' => false, + 'example' => '2.1.0-R-20210731.151756', + ], + ], + [ + 'name' => 'TokenCode', + 'in' => 'query', + 'schema' => [ + 'description' => '若已在无影云电脑控制台开启客户端二次认证,且识别到当前登录用户有风险时,会发送该二次认证验证码到终端用户邮箱。当`CurrentStage`为`TokenVerify`时必填。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => '63****', + ], + ], + [ + 'name' => 'KeepAlive', + 'in' => 'query', + 'schema' => [ + 'description' => '是否保持登录。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'null' => '不保持登录 [默认值]', + 'true' => '保持登录', + 'false' => '不保持登录', + ], + 'example' => 'false', + ], + ], + [ + 'name' => 'KeepAliveToken', + 'in' => 'query', + 'schema' => [ + 'description' => '用于保持登录的凭证(Token),在登录成功且用户开启了保持登录选项后,接口会返回`KeepAliveToken`,在`KeepAliveToken`有效期内可以调用`GetLoginToken`接口并将`CurrentStage`设为`KeepAliveVerify`来换取登录凭证(LoginToken)。当`CurrentStage`为`KeepAliveVerify`时,`KeepAliveToken`必填。', + 'type' => 'string', + 'required' => false, + 'example' => 'hide', + ], + ], + [ + 'name' => 'Uuid', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端唯一标识。若使用无影客户端,可在客户端登录界面的**关于**对话框中查看该参数。', + 'type' => 'string', + 'required' => false, + 'example' => 'C78CA9E99315687575DD2844C1F3****', + ], + ], + [ + 'name' => 'ClientType', + 'in' => 'query', + 'schema' => [ + 'description' => '无影软件客户端类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'HTML5' => 'Web客户端', + 'WINDOWS' => 'Windows客户端', + 'MACOS' => 'macOS客户端', + 'IOS' => 'iOS客户端', + 'ANDROID' => 'Android客户端', + ], + 'example' => 'WINDOWS', + ], + ], + [ + 'name' => 'AvailableFeatures', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'ClientName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'Email' => [ + 'description' => '用户邮箱。在登录后随LoginToken返回。 '."\n" + ."\n" + .'- 如果是便捷用户,返回创建便捷用户时设置的邮箱。'."\n" + .'- 如果是AD用户,返回以下形式:`用户名@AD域名`。', + 'type' => 'string', + 'example' => 'alice', + ], + 'Secret' => [ + 'description' => '绑定虚拟MFA设备时的密钥。用于`MFABind`阶段。'."\n" + ."\n" + .'> 关于各认证阶段的详细信息,参见本接口请求参数`CurrentStage`的参数说明。', + 'type' => 'string', + 'example' => '5OCLLKKOJU5HPBX66H3QCTWYI7MH****', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + ], + 'EndUserId' => [ + 'description' => '便捷账号用户名或AD用户名。', + 'type' => 'string', + 'example' => 'alice', + ], + 'LoginToken' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'example' => 'v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****', + ], + 'NextStage' => [ + 'description' => '预期的下一阶段。例如,若管理员在无影云电脑控制台开启了MFA认证,则当用户名密码认证通过后(即`ADPassword`阶段后),该参数会返回`MFAVerify`,表示此时需要做MFA认证。'."\n" + ."\n" + .'> 关于各认证阶段的详细信息,参见本接口请求参数`CurrentStage`的参数说明。', + 'type' => 'string', + 'example' => 'MFAVerify', + ], + 'QrCodePng' => [ + 'description' => '绑定虚拟MFA设备时的密钥二维码。使用Base64编码。可以为空,用于`MFABind`阶段。'."\n" + ."\n" + .'> 关于各认证阶段的详细信息,参见本接口请求参数`CurrentStage`的参数说明。', + 'type' => 'string', + 'example' => '5OCLLKKOJU5HPBX66H3QCTWY******', + ], + 'Label' => [ + 'description' => '便捷用户属性。如果是AD用户,则返回空值。', + 'type' => 'string', + 'example' => 'test:wuying', + ], + 'SessionId' => [ + 'description' => '会话ID。 仅在同一会话第一次调用`GetLoginToken`时返回。需要多次认证时,后续的阶段需要传入该参数。'."\n" + ."\n" + .'> 关于各认证阶段的详细信息,参见本接口请求参数`CurrentStage`的参数说明。', + 'type' => 'string', + 'example' => 'd6ec166d-ab93-4286-bf7f-a18bb929****', + ], + 'Phone' => [ + 'description' => '便捷用户的手机号。如果是AD用户,则返回空值。', + 'type' => 'string', + 'example' => '1381111****', + ], + 'TenantId' => [ + 'description' => '阿里云账号ID。硬件终端识别使用。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '166353906220****', + ], + 'KeepAliveToken' => [ + 'description' => '用于保持登录的凭证(Token),在登录成功且用户开启了保持登录选项后,接口会返回`KeepAliveToken`。若未开启保持登录选项,则返回空值。', + 'type' => 'string', + 'example' => '006YwvYMsesWWsDBZnVB+Wq9AvJDVIqOY3YCktvtb7+KxMb3ClnNlV8+l/knhZYrXUmeP06IzkjF+IgcZ3vZKOyMprDyFHjCy1r27FRE/U7+geWCl8iQ+yF8GaCRHfJEkC2+ROs93HkT4tfHxyY1J8W7O7ZQGUC/cdCvm+cCP6FIy73IUuPuVR6PcKYXIpEZPW', + ], + 'Industry' => [ + 'description' => '> 内部专用字段,不对外开放使用。', + 'type' => 'string', + 'example' => 'edu', + ], + 'Props' => [ + 'description' => '> 内部专用字段,不对外开放使用。', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'string', + 'description' => '> 内部专用字段,不对外开放使用。', + 'example' => '{\'dingUserName\': u\'\\u674e\\u66fc\', \'role\': \'student\'}', + ], + ], + 'WindowDisplayMode' => [ + 'description' => '> 内部专用字段,不对外开放使用。', + 'type' => 'string', + 'example' => 'mode', + ], + 'RiskVerifyInfo' => [ + 'description' => '登录风险识别相关信息。', + 'type' => 'object', + 'properties' => [ + 'Email' => [ + 'description' => '触发核身时,通过该邮箱进行验证。', + 'type' => 'string', + 'example' => 'user@example.com', + ], + 'LastLockDuration' => [ + 'description' => '账号锁定时间。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1713749778', + ], + 'Locked' => [ + 'description' => '账号是否已锁定。', + 'type' => 'string', + 'enumValueTitles' => [ + 'true' => '是', + 'false' => '否', + ], + 'example' => 'true', + ], + 'Phone' => [ + 'description' => '触发核身时,通过该手机号进行验证。', + 'type' => 'string', + 'example' => '1381111****', + ], + ], + ], + 'Reason' => [ + 'description' => '> 内部专用字段,不对外开放使用。', + 'type' => 'string', + 'example' => 'null', + ], + 'PasswordStrategy' => [ + 'description' => '> 内部专用字段,不对外开放使用。', + 'type' => 'object', + 'properties' => [ + 'TenantPasswordLength' => [ + 'description' => '> 内部专用字段,不对外开放使用。', + 'type' => 'string', + 'example' => 'null', + ], + 'TenantAlternativeChars' => [ + 'description' => '> 内部专用字段,不对外开放使用。', + 'type' => 'array', + 'items' => [ + 'description' => '> 内部专用字段,不对外开放使用。', + 'type' => 'string', + 'example' => 'null', + ], + ], + ], + ], + 'NickName' => [ + 'type' => 'string', + ], + 'WyId' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Email\\": \\"alice\\",\\n \\"Secret\\": \\"5OCLLKKOJU5HPBX66H3QCTWYI7MH****\\",\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"EndUserId\\": \\"alice\\",\\n \\"LoginToken\\": \\"v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****\\",\\n \\"NextStage\\": \\"MFAVerify\\",\\n \\"QrCodePng\\": \\"5OCLLKKOJU5HPBX66H3QCTWY******\\",\\n \\"Label\\": \\"test:wuying\\",\\n \\"SessionId\\": \\"d6ec166d-ab93-4286-bf7f-a18bb929****\\",\\n \\"Phone\\": \\"1381111****\\",\\n \\"TenantId\\": 0,\\n \\"KeepAliveToken\\": \\"006YwvYMsesWWsDBZnVB+Wq9AvJDVIqOY3YCktvtb7+KxMb3ClnNlV8+l/knhZYrXUmeP06IzkjF+IgcZ3vZKOyMprDyFHjCy1r27FRE/U7+geWCl8iQ+yF8GaCRHfJEkC2+ROs93HkT4tfHxyY1J8W7O7ZQGUC/cdCvm+cCP6FIy73IUuPuVR6PcKYXIpEZPW\\",\\n \\"Industry\\": \\"edu\\",\\n \\"Props\\": {\\n \\"key\\": \\"{\'dingUserName\': u\'\\\\\\\\u674e\\\\\\\\u66fc\', \'role\': \'student\'}\\"\\n },\\n \\"WindowDisplayMode\\": \\"mode\\",\\n \\"RiskVerifyInfo\\": {\\n \\"Email\\": \\"user@example.com\\",\\n \\"LastLockDuration\\": 1713749778,\\n \\"Locked\\": \\"true\\",\\n \\"Phone\\": \\"1381111****\\"\\n },\\n \\"Reason\\": \\"null\\",\\n \\"PasswordStrategy\\": {\\n \\"TenantPasswordLength\\": \\"null\\",\\n \\"TenantAlternativeChars\\": [\\n \\"null\\"\\n ]\\n },\\n \\"NickName\\": \\"\\",\\n \\"WyId\\": \\"\\"\\n}","errorExample":""},{"type":"xml","example":"\\n alice\\n 5OCLLKKOJU5HPBX66H3QCTWYI7MH****\\n 1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\n alice\\n v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****\\n MFAVerify\\n 5OCLLKKOJU5HPBX66H3QCTWY******\\n \\n d6ec166d-ab93-4286-bf7f-a18bb929****\\n 1381111****\\n 006YwvYMsesWWsDBZnVB+Wq9AvJDVIqOY3YCktvtb7+KxMb3ClnNlV8+l/knhZYrXUmeP06IzkjF+IgcZ3vZKOyMprDyFHjCy1r27FRE/U7+geWCl8iQ+yF8GaCRHfJEkC2+ROs93HkT4tfHxyY1J8W7O7ZQGUC/cdCvm+cCP6FIy73IUuPuVR6PcKYXIpEZPW\\n edu\\n \\n {\'dingUserName\': u\'\\\\u674e\\\\u66fc\', \'role\': \'student\'}\\n \\n","errorExample":""}]', + 'title' => '获取登录凭证', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'RefreshLoginToken' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'systemTags' => [ + 'operationType' => 'update', + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。可以调用[DescribeRegions](~~196646~~)获取无影云电脑支持的地域列表。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID,参考UUID。该参数非敏感字段,无需加密。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'f4a0dc8e-1702-4728-9a60-95b27a35****', + ], + ], + [ + 'name' => 'DirectoryId', + 'in' => 'query', + 'schema' => [ + 'description' => '> 此参数不开放使用。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'cn-hangzhou+dir-jedbpr4sl9l37****', + ], + ], + [ + 'name' => 'OfficeSiteId', + 'in' => 'query', + 'schema' => [ + 'description' => '办公网络ID。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'cn-shanghai+dir-238191****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'cd45e873-650d-4d70-acb9-f996187a****', + ], + ], + [ + 'name' => 'EndUserId', + 'in' => 'query', + 'schema' => [ + 'description' => '用户名。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'alice', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****', + ], + 'LoginToken' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'example' => 'v1c27bab6c205b2fdfac916434306375722776d6aa89e30b7836d18c95ade9137f0f5ac4325260782184e96ee2b3f0****', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\",\\n \\"LoginToken\\": \\"v1c27bab6c205b2fdfac916434306375722776d6aa89e30b7836d18c95ade9137f0f5ac4325260782184e96ee2b3f0****\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n FE379906-08A4-5893-9C18-77C32566D944\\r\\n","errorExample":""}]', + 'title' => '刷新登录凭证', + 'summary' => '刷新登录凭证。', + 'description' => '登录凭证(LoginToken)的有效期为8小时。如果在8小时内,终端用户没有退出客户端,客户端需要重新刷新登录凭证。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + ], + 'SendTokenCode' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'f4a0dc8e-1702-4728-9a60-95b27a35****', + ], + ], + [ + 'name' => 'OfficeSiteId', + 'in' => 'query', + 'schema' => [ + 'description' => '办公网络ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou+dir-2925105532', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'v28101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'cd45e873-650d-4d70-acb9-f996187a****', + ], + ], + [ + 'name' => 'EndUserId', + 'in' => 'query', + 'schema' => [ + 'description' => '用户名。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'alice', + ], + ], + [ + 'name' => 'ClientOS', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端运行的操作系统。', + 'type' => 'string', + 'required' => false, + 'example' => 'Windows_NT 10.0.18363 x64', + ], + ], + [ + 'name' => 'ClientVersion', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端版本。若使用无影客户端,可在客户端登录界面的“关于”面板上查看该参数。', + 'type' => 'string', + 'required' => false, + 'example' => '2.1.0-R-20210731.151756', + ], + ], + [ + 'name' => 'TokenCode', + 'in' => 'query', + 'schema' => [ + 'description' => '若已在无影云电脑企业版控制台开启客户端二次认证,且识别到当前登录用户有风险时,会发送该二次认证验证码到终端用户邮箱。当`CurrentStage`为`TokenVerify`时必填。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '63****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '134BD0B2-B848-5743-9CE2-C1FD3D5F****'."\n", + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"134BD0B2-B848-5743-9CE2-C1FD3D5F****\\\\n\\"\\n}","type":"json"}]', + 'title' => '发送登录验证码信息', + 'summary' => '发送登录验证码信息。', + ], + 'ChangePassword' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '42f6645a-9c3c-4772-be2a-cc5f5732****', + ], + ], + [ + 'name' => 'OfficeSiteId', + 'in' => 'query', + 'schema' => [ + 'description' => '办公网络ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-shanghai+dir-227468****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'EndUserId', + 'in' => 'query', + 'schema' => [ + 'description' => '用户。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'alice', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****', + ], + ], + [ + 'name' => 'OldPassword', + 'in' => 'query', + 'schema' => [ + 'description' => '旧密码。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '12345678', + ], + ], + [ + 'name' => 'NewPassword', + 'in' => 'query', + 'schema' => [ + 'description' => '新密码。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '67436290', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '484256DA-D816-44D2-9D86-B6EE4D5B****', + ], + 'LoginToken' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'example' => 'v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"484256DA-D816-44D2-9D86-B6EE4D5B****\\",\\n \\"LoginToken\\": \\"v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****\\"\\n}","type":"json"}]', + 'title' => '修改密码', + 'summary' => '修改用户密码。', + ], + 'ResetPassword' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '95e41934-383e-4c9f-824f-3b93b19b****', + ], + ], + [ + 'name' => 'OfficeSiteId', + 'in' => 'query', + 'schema' => [ + 'description' => '办公网络ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou+dir-899235****', + ], + ], + [ + 'name' => 'EndUserId', + 'in' => 'query', + 'schema' => [ + 'description' => '用户。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'alice', + ], + ], + [ + 'name' => 'Email', + 'in' => 'query', + 'schema' => [ + 'description' => '邮箱。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'a***@example.edu', + ], + ], + [ + 'name' => 'phone', + 'in' => 'query', + 'schema' => [ + 'description' => '电话。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => '138****1111', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。更多信息,请参见[如何保证幂等性](~~25693~~)。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '2f00ab32-a473-4c90-9aae-dd8842ae****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'A00477A5-167F-56D2-A315-EA77E4BD****', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A00477A5-167F-56D2-A315-EA77E4BD****\\"\\n}","type":"json"}]', + 'title' => '重置密码', + 'summary' => '重置用户密码。', + ], + 'EncryptPassword' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '1d40776f-e9cb-4e2b-a8da-308d10e8****', + ], + ], + [ + 'name' => 'DirectoryId', + 'in' => 'query', + 'schema' => [ + 'description' => '目录 ID。', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'cn-beijing+dir-131196****', + ], + ], + [ + 'name' => 'OfficeSiteId', + 'in' => 'query', + 'schema' => [ + 'description' => '办公网络ID。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'cn-beijing+dir-131196****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => false, + 'example' => 'c78e2e52-23d9-4401-a648-e67ac6ff****', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'v1b16dcff3ab21a6c5ec01652238375511cff5a1db59fd4dc49afb37e2ea7a626af6f38109fd0498b6abd9de1af7743****', + ], + ], + [ + 'name' => 'Password', + 'in' => 'query', + 'schema' => [ + 'description' => '密码。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'Ab123456', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回对象。', + 'type' => 'object', + 'properties' => [ + 'EncryptedPassword' => [ + 'description' => '已加密密码。', + 'type' => 'string', + 'example' => 'd34601bc-e6b1-4433-b0cc-8f6c5e52;n4apvGub3OBoj4Grwg==;thhO4UEomJfdvwnwlA==', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'AF538DA8-FFC6-52DA-8FF8-7B92579F****', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EncryptedPassword\\": \\"d34601bc-e6b1-4433-b0cc-8f6c5e52;n4apvGub3OBoj4Grwg==;thhO4UEomJfdvwnwlA==\\",\\n \\"RequestId\\": \\"AF538DA8-FFC6-52DA-8FF8-7B92579F****\\"\\n}","type":"json"}]', + 'title' => '加密密码', + 'summary' => '加密用户密码。', + ], + 'DescribeFingerPrintTemplates' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '61e39dc6-0450-45f6-a372-2a09e938****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => false, + 'example' => 'a5062d68-e550-4d09-8288-67c8ba9e****', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'v189646d6f329e4dfcbf51653542202890570fec26e4f9ee26427c5920fcd93871f017d2190199c4c7d0c0bf00f573****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '9C1D3FBE-84E1-5ABB-AD98-2003AC71****', + ], + 'FingerPrintTemplates' => [ + 'description' => '指纹模板对象。', + 'type' => 'array', + 'items' => [ + 'description' => '指纹模板对象。', + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '索引。', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1', + ], + 'CreationTime' => [ + 'description' => '创建时间。', + 'type' => 'string', + 'example' => '2022-03-13T13:26:29Z', + ], + 'LoginTime' => [ + 'description' => '登录时间。', + 'type' => 'string', + 'example' => '2022-03-13T13:26:29Z', + ], + 'EndUserId' => [ + 'description' => '用户。', + 'type' => 'string', + 'example' => 'alice', + ], + 'Description' => [ + 'description' => '描述信息。', + 'type' => 'string', + 'example' => 'Finger 1', + ], + 'OfficeSiteId' => [ + 'description' => '办公网络ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou+dir-074949****', + ], + 'ClientId' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'example' => '2258a3d5-b8f8-4d79-a221-eaecf211****', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9C1D3FBE-84E1-5ABB-AD98-2003AC71****\\",\\n \\"FingerPrintTemplates\\": [\\n {\\n \\"Index\\": 1,\\n \\"CreationTime\\": \\"2022-03-13T13:26:29Z\\",\\n \\"LoginTime\\": \\"2022-03-13T13:26:29Z\\",\\n \\"EndUserId\\": \\"alice\\",\\n \\"Description\\": \\"Finger 1\\",\\n \\"OfficeSiteId\\": \\"cn-hangzhou+dir-074949****\\",\\n \\"ClientId\\": \\"2258a3d5-b8f8-4d79-a221-eaecf211****\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => '查询指纹模板', + 'summary' => '查询指纹模板。', + ], + 'SetFingerPrintTemplate' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '347431a9-90f6-448e-82c4-42bc84a9****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => false, + 'example' => '8b42538a-246e-45a1-95ea-e5c65b09****', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'v11c73e7af0cb43ff39301651142485099ffb447085d76c4147519dbaa21c3bd90d53045e327c1f525ee6331c52556****', + ], + ], + [ + 'name' => 'FingerPrintTemplate', + 'in' => 'query', + 'schema' => [ + 'description' => '指纹模板。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'goG3gG8AAABhujtscn', + ], + ], + [ + 'name' => 'EncryptedFingerPrintTemplate', + 'in' => 'query', + 'schema' => [ + 'description' => '已加密的指纹模板。', + 'type' => 'string', + 'required' => false, + 'example' => 'AAAAAAAAAAAAAA', + ], + ], + [ + 'name' => 'EncryptedKey', + 'in' => 'query', + 'schema' => [ + 'description' => '加密密钥。', + 'type' => 'string', + 'required' => false, + 'example' => 'drjfspchj', + ], + ], + [ + 'name' => 'Password', + 'in' => 'query', + 'schema' => [ + 'description' => '密码。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'As53328794', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '描述。', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'testDescription', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。更多信息,请参见[如何保证幂等性](~~25693~~)。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '123e4567-e89b-12d3-a456-42665544****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Index' => [ + 'description' => '索引。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'CDE666EA-4FCD-5024-895C-8698E3D3****', + ], + 'EncryptedPassword' => [ + 'description' => '已加密密码。', + 'type' => 'string', + 'example' => '0711abb9-4cf8-41b2-9d0e-b51209468631;da4VFPNxwY3CZegFjOrCNw==;iHp2l9/qGcfD4tWx7jZIZQ==', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Index\\": 1,\\n \\"RequestId\\": \\"CDE666EA-4FCD-5024-895C-8698E3D3****\\",\\n \\"EncryptedPassword\\": \\"0711abb9-4cf8-41b2-9d0e-b51209468631;da4VFPNxwY3CZegFjOrCNw==;iHp2l9/qGcfD4tWx7jZIZQ==\\"\\n}","type":"json"}]', + 'title' => '设置指纹模板', + ], + 'SetFingerPrintTemplateDescription' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '0764064c-1609-4d3c-8cb7-ab8d3feg****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => false, + 'example' => 'd28520d4-da0b-4a97-981d-683db865****', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'v14e5a2404c495249f7541646535779667ea0b5d87754b5d2d2a3099bda774f3832e24756ef3e66eb574b1f3e99078****', + ], + ], + [ + 'name' => 'Index', + 'in' => 'query', + 'schema' => [ + 'description' => '索引。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'example' => '1', + ], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => [ + 'description' => '描述。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'Finger 1', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'title' => '', + 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。更多信息,请参见[如何保证幂等性](~~25693~~)。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '40401e62-5caf-4508-8de7-bf98af12****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => 'BBD7DFD1-A5DE-51D9-8FD6-3BF54EF4****', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BBD7DFD1-A5DE-51D9-8FD6-3BF54EF4****\\"\\n}","type":"json"}]', + 'title' => '设置指纹模板描述', + ], + 'DeleteFingerPrintTemplate' => [ + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'cn-hangzhou', + ], + ], + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '59e86b39-ccac-4dfa-93d7-1f724052****', + ], + ], + [ + 'name' => 'SessionId', + 'in' => 'query', + 'schema' => [ + 'description' => '会话ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '6df06330-3b75-4768-b334-41a73a64****', + ], + ], + [ + 'name' => 'LoginToken', + 'in' => 'query', + 'schema' => [ + 'description' => '登录凭证。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'v1c0436c721786529914f16516396228454fa6284c9b80f9917f25ebbec2aa30c10343e3f6f9aff64500ce13808aef****', + ], + ], + [ + 'name' => 'Index', + 'in' => 'query', + 'schema' => [ + 'description' => '索引。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'docRequired' => true, + 'maximum' => '4', + 'minimum' => '1', + 'example' => '1', + ], + ], + [ + 'name' => 'ClientToken', + 'in' => 'query', + 'schema' => [ + 'description' => '保证请求幂等性。从您的客户端生成一个参数值,确保不同请求间该参数值唯一。ClientToken只支持ASCII字符,且不能超过64个字符。更多信息,请参见[如何保证幂等性](~~25693~~)。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => '40401e62-5caf-4508-8de7-bf98af12****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回信息集合。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '134BD0B2-B848-5743-9CE2-C1FD3D5F****', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"134BD0B2-B848-5743-9CE2-C1FD3D5F****\\"\\n}","type":"json"}]', + 'title' => '删除指纹模板', + ], + 'IsKeepAlive' => [ + 'summary' => '判断客户端是否保持登录状态。', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'Anonymous' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'ClientId', + 'in' => 'query', + 'schema' => [ + 'description' => '客户端生成的唯一ID。', + 'type' => 'string', + 'required' => true, + 'docRequired' => true, + 'example' => 'f4a0dc8e-1702-4728-9a60-95b27a35****', + ], + ], + [ + 'name' => 'OfficeSiteId', + 'in' => 'query', + 'schema' => [ + 'description' => '办公网络ID。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou+dir-885351****', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'description' => '地域ID。可以调用[DescribeRegions](~~196646~~)获取无影云电脑支持的地域列表。', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-hangzhou', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '请求ID。', + 'type' => 'string', + 'example' => '1CBAFFAB-B697-4049-A9B1-67E1FC5F****'."\n", + ], + 'OfficeSiteId' => [ + 'description' => '办公网络ID。', + 'type' => 'string', + 'example' => 'cn-hangzhou+dir-885351****'."\n", + ], + 'TenantId' => [ + 'description' => '阿里云账号UID。', + 'type' => 'string', + 'example' => '141631846826****', + ], + 'IsKeepAlive' => [ + 'description' => '是否保持登录。', + 'type' => 'boolean', + 'example' => 'True', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1CBAFFAB-B697-4049-A9B1-67E1FC5F****\\\\n\\",\\n \\"OfficeSiteId\\": \\"cn-hangzhou+dir-885351****\\\\n\\",\\n \\"TenantId\\": \\"141631846826****\\",\\n \\"IsKeepAlive\\": true\\n}","type":"json"}]', + 'title' => '判断是否已开启保持登录', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'ap-northeast-1', + 'endpoint' => 'ecd.ap-northeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'ecd.ap-southeast-1.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-5', + 'endpoint' => 'ecd.ap-southeast-5.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-6', + 'endpoint' => 'ecd.ap-southeast-6.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-7', + 'endpoint' => 'ecd.ap-southeast-7.aliyuncs.com', + ], + [ + 'regionId' => 'cn-beijing', + 'endpoint' => 'ecd.cn-beijing.aliyuncs.com', + ], + [ + 'regionId' => 'cn-chengdu', + 'endpoint' => 'ecd.cn-chengdu.aliyuncs.com', + ], + [ + 'regionId' => 'cn-guangzhou', + 'endpoint' => 'ecd.cn-guangzhou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou', + 'endpoint' => 'ecd.cn-hangzhou.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hongkong', + 'endpoint' => 'ecd.cn-hongkong.aliyuncs.com', + ], + [ + 'regionId' => 'cn-nanjing', + 'endpoint' => 'ecd.cn-nanjing.aliyuncs.com', + ], + [ + 'regionId' => 'cn-qingdao', + 'endpoint' => 'ecd.cn-qingdao.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'ecd.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shenzhen', + 'endpoint' => 'ecd.cn-shenzhen.aliyuncs.com', + ], + [ + 'regionId' => 'cn-wulanchabu', + 'endpoint' => 'ecd.cn-wulanchabu.aliyuncs.com', + ], + [ + 'regionId' => 'cn-zhangjiakou', + 'endpoint' => 'ecd.cn-zhangjiakou.aliyuncs.com', + ], + [ + 'regionId' => 'us-west-1', + 'endpoint' => 'ecd.us-west-1.aliyuncs.com', + ], + [ + 'regionId' => 'eu-west-1', + 'endpoint' => 'ecd.eu-west-1.aliyuncs.com', + ], + [ + 'regionId' => 'eu-central-1', + 'endpoint' => 'ecd.eu-central-1.aliyuncs.com', + ], + [ + 'regionId' => 'me-central-1', + 'endpoint' => 'ecd.me-central-1.aliyuncs.com', + ], + [ + 'regionId' => 'cn-shanghai-finance-1', + 'endpoint' => 'ecd.cn-shanghai-finance-1.aliyuncs.com', + ], + [ + 'regionId' => 'cn-hangzhou-finance', + 'endpoint' => 'ecd.cn-hangzhou-finance.aliyuncs.com', + ], + [ + 'regionId' => 'me-east-1', + 'endpoint' => 'ecd.me-east-1.aliyuncs.com', + ], + ], +]; -- cgit v1.2.3