public void TestListtThumbnailTask() { MpsClient mpsClient = GetMpsClient(); ListThumbnailTaskRequest request = new ListThumbnailTaskRequest(); request.RegionId = "cn-north-1"; request.Status = "SUCCESS"; var result = mpsClient.ListThumbnailTask(request).Result; _output.WriteLine(JsonConvert.SerializeObject(result)); }
/// <summary> /// 查询截图任务,返回满足查询条件的任务列表。 /// </summary> /// <param name="request">请求参数信息</param> /// <returns>请求结果信息</returns> public async Task <ListThumbnailTaskResponse> ListThumbnailTask(ListThumbnailTaskRequest request) { return(await new ListThumbnailTaskExecutor().Client(this).Execute <ListThumbnailTaskResponse, ListThumbnailTaskResult, ListThumbnailTaskRequest>(request).ConfigureAwait(false)); }
/// <summary> /// 查询截图任务,返回满足查询条件的任务列表。 /// </summary> /// <param name="request">请求参数信息</param> /// <returns>请求结果信息</returns> public ListThumbnailTaskResponse ListThumbnailTask(ListThumbnailTaskRequest request) { return(new ListThumbnailTaskExecutor().Client(this).Execute <ListThumbnailTaskResponse, ListThumbnailTaskResult, ListThumbnailTaskRequest>(request)); }