查询定时任务已关联电脑

接口说明

面向政企版租户开放查询定时任务已关联电脑 业务逻辑:支持根据订购资源ID、云电脑名称、云电脑ID、登录账号搜索 限流:根据租户实现用户级别的限流,限制为100次每秒


推荐使用API Explorer调试

API Explorer支持接口在线可视化调用,同时自动生成动态代码示例,搭配OpenAPI SDK无需计算签名实现接口快速集成。

URL

POST https://ecloud.10086.cn/api/Computer_api/cem_openapi/ccacem/api/v1/resource-policy/bindInstanceList

请求参数

Body

参数名称
类型
必填
描述
reqDto
BindInstanceListApiReq
是

请求入参

currentPage
integer(int32)
否

当前页

pageSize
integer(int32)
否

分页大小

policyUid
string
是

定时任务uuid

machineName
string
否

云电脑名称

machineId
string
否

云电脑id

userName
string
否

登录账号

instanceId
string
否

订购资源实例id

请求示例

POST https://ecloud.10086.cn/api/Computer_api/cem_openapi/ccacem/api/v1/resource-policy/bindInstanceList
{
	"currentPage":1,
	"pageSize":10,
	"policyUid":"ro-f3a4ab6c1fb34858b7d70a4996b68521",
	"machineName":"我的电脑",
	"machineId":"748f385f-1d08-4446-ab02-b13fa42c0b99",
	"userName":"testImport216.cheng",
	"instanceId":"CCA-e5073d2adcde43dd9d610686e739ba0a"
}

返回参数

返回码:200
OK
参数名称
类型
描述
body
PageReturnEntity«BindInstanceListApiResp»

请求成功时返回的数据

data
<BindInstanceListApiResp> array

数据

email
string

邮箱

instanceId
string

订购资源实例id

machineId
string

云电脑id

machineName
string

云电脑名称

mobile
string

手机号

mopUserName
string

登录账号

userName
string

登录账号

totalCount
integer(int32)

总行数

errorCode
string

统一错误码

errorMessage
string

错误码提示信息

requestId
string

每个请求的序列号

state
enum(OK,ERROR,EXCEPTION,FORBIDDEN,REMAINING,TIMEOUT)

返回状态码;返回正常:OK,返回错误:ERROR,返回异常:EXCEPTION,需要告警实现的:ALARM,禁止访问:FORBIDDEN

返回示例

返回码:200
OK
{
	"state":"OK",
	"body":{
		"data":[
			{
				"instanceId":"CCA-b4af70ef36574263ab80a2887c416b7a",
				"machineId":"ed7d4db2-33d7-454c-981d-4f2762f1311c",
				"machineName":"我的电脑",
				"mopUserName":"csy_csb_saas_wusai_ext_02",
				"mopUserId":"CIDC-U-5073a322eb2f48079cd9ce47126b2b27",
				"userName":"testImport214.cheng",
				"email":null,
				"mobile":null,
				"createdTime":"2025-04-16 17:44:36",
				"modifiedTime":"2025-04-16 17:44:36"
			},
			{
				"instanceId":"CCA-9b38e9551722460f92462a457a850570",
				"machineId":"b9b66df9-40b9-4971-99e6-81a9aa3c76ff",
				"machineName":"我的电脑",
				"mopUserName":"csy_csb_saas_wusai_ext_02",
				"mopUserId":"CIDC-U-5073a322eb2f48079cd9ce47126b2b27",
				"userName":"testImport216.cheng",
				"email":null,
				"mobile":null,
				"createdTime":"2025-04-16 17:44:08",
				"modifiedTime":"2025-04-16 17:44:08"
			}
		],
		"totalCount":2
	},
	"errorCode":"200",
	"errorMessage":"",
	"requestId":"b2b78bf93b3f319d"
}
本文档内容整理自移动云官方帮助中心(查看原文),仅供参考。