Ejemplo n.º 1
0
 /// <summary>
 ///  针对某个索引模板,创建定时任务
 /// </summary>
 /// <param name="request">请求参数信息</param>
 /// <returns>请求结果信息</returns>
 public async Task <CreateIndexTemplateCronTaskResponse> CreateIndexTemplateCronTask(CreateIndexTemplateCronTaskRequest request)
 {
     return(await new CreateIndexTemplateCronTaskExecutor().Client(this).Execute <CreateIndexTemplateCronTaskResponse, CreateIndexTemplateCronTaskResult, CreateIndexTemplateCronTaskRequest>(request).ConfigureAwait(false));
 }
Ejemplo n.º 2
0
 /// <summary>
 ///  针对某个索引模板,创建定时任务
 /// </summary>
 /// <param name="request">请求参数信息</param>
 /// <returns>请求结果信息</returns>
 public CreateIndexTemplateCronTaskResponse CreateIndexTemplateCronTask(CreateIndexTemplateCronTaskRequest request)
 {
     return(new CreateIndexTemplateCronTaskExecutor().Client(this).Execute <CreateIndexTemplateCronTaskResponse, CreateIndexTemplateCronTaskResult, CreateIndexTemplateCronTaskRequest>(request));
 }