Class: TencentCloud::Wedata::V20250806::CreateTaskSchedulerConfiguration

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20250806/models.rb

Overview

创建任务调度配置信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cycletype = nil, scheduletimezone = nil, crontabexpression = nil, starttime = nil, endtime = nil, executionstarttime = nil, executionendtime = nil, scheduleruntype = nil, calendaropen = nil, calendarid = nil, selfdepend = nil, upstreamdependencyconfiglist = nil, eventlistenerlist = nil, runpriority = nil, retrywait = nil, maxretryattempts = nil, executionttl = nil, waitexecutiontotalttl = nil, allowredotype = nil, paramtaskoutlist = nil, paramtaskinlist = nil, taskoutputregistrylist = nil, initstrategy = nil) ⇒ CreateTaskSchedulerConfiguration



2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
# File 'lib/v20250806/models.rb', line 2232

def initialize(cycletype=nil, scheduletimezone=nil, crontabexpression=nil, starttime=nil, endtime=nil, executionstarttime=nil, executionendtime=nil, scheduleruntype=nil, calendaropen=nil, calendarid=nil, selfdepend=nil, upstreamdependencyconfiglist=nil, eventlistenerlist=nil, runpriority=nil, retrywait=nil, maxretryattempts=nil, executionttl=nil, waitexecutiontotalttl=nil, allowredotype=nil, paramtaskoutlist=nil, paramtaskinlist=nil, taskoutputregistrylist=nil, initstrategy=nil)
  @CycleType = cycletype
  @ScheduleTimeZone = scheduletimezone
  @CrontabExpression = crontabexpression
  @StartTime = starttime
  @EndTime = endtime
  @ExecutionStartTime = executionstarttime
  @ExecutionEndTime = executionendtime
  @ScheduleRunType = scheduleruntype
  @CalendarOpen = calendaropen
  @CalendarId = calendarid
  @SelfDepend = selfdepend
  @UpstreamDependencyConfigList = upstreamdependencyconfiglist
  @EventListenerList = eventlistenerlist
  @RunPriority = runpriority
  @RetryWait = retrywait
  @MaxRetryAttempts = maxretryattempts
  @ExecutionTTL = executionttl
  @WaitExecutionTotalTTL = waitexecutiontotalttl
  @AllowRedoType = allowredotype
  @ParamTaskOutList = paramtaskoutlist
  @ParamTaskInList = paramtaskinlist
  @TaskOutputRegistryList = taskoutputregistrylist
  @InitStrategy = initstrategy
end

Instance Attribute Details

#AllowRedoTypeObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def AllowRedoType
  @AllowRedoType
end

#CalendarIdObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def CalendarId
  @CalendarId
end

#CalendarOpenObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def CalendarOpen
  @CalendarOpen
end

#CrontabExpressionObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def CrontabExpression
  @CrontabExpression
end

#CycleTypeObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def CycleType
  @CycleType
end

#EndTimeObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def EndTime
  @EndTime
end

#EventListenerListObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def EventListenerList
  @EventListenerList
end

#ExecutionEndTimeObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def ExecutionEndTime
  @ExecutionEndTime
end

#ExecutionStartTimeObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def ExecutionStartTime
  @ExecutionStartTime
end

#ExecutionTTLObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def ExecutionTTL
  @ExecutionTTL
end

#InitStrategyObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def InitStrategy
  @InitStrategy
end

#MaxRetryAttemptsObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def MaxRetryAttempts
  @MaxRetryAttempts
end

#ParamTaskInListObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def ParamTaskInList
  @ParamTaskInList
end

#ParamTaskOutListObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def ParamTaskOutList
  @ParamTaskOutList
end

#RetryWaitObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def RetryWait
  @RetryWait
end

#RunPriorityObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def RunPriority
  @RunPriority
end

#ScheduleRunTypeObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def ScheduleRunType
  @ScheduleRunType
end

#ScheduleTimeZoneObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def ScheduleTimeZone
  @ScheduleTimeZone
end

#SelfDependObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def SelfDepend
  @SelfDepend
end

#StartTimeObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def StartTime
  @StartTime
end

#TaskOutputRegistryListObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def TaskOutputRegistryList
  @TaskOutputRegistryList
end

#UpstreamDependencyConfigListObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def UpstreamDependencyConfigList
  @UpstreamDependencyConfigList
end

#WaitExecutionTotalTTLObject

  • ONEOFF_CYCLE: 一次性

  • YEAR_CYCLE: 年

  • MONTH_CYCLE: 月

  • WEEK_CYCLE: 周

  • DAY_CYCLE: 天

  • HOUR_CYCLE: 小时

  • MINUTE_CYCLE: 分钟

  • CRONTAB_CYCLE: crontab表达式类型

  • T_PLUS_0: T+0生成,默认策略

  • T_PLUS_1: T+1生成



2230
2231
2232
# File 'lib/v20250806/models.rb', line 2230

def WaitExecutionTotalTTL
  @WaitExecutionTotalTTL
end

Instance Method Details

#deserialize(params) ⇒ Object



2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
# File 'lib/v20250806/models.rb', line 2258

def deserialize(params)
  @CycleType = params['CycleType']
  @ScheduleTimeZone = params['ScheduleTimeZone']
  @CrontabExpression = params['CrontabExpression']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @ExecutionStartTime = params['ExecutionStartTime']
  @ExecutionEndTime = params['ExecutionEndTime']
  @ScheduleRunType = params['ScheduleRunType']
  @CalendarOpen = params['CalendarOpen']
  @CalendarId = params['CalendarId']
  @SelfDepend = params['SelfDepend']
  unless params['UpstreamDependencyConfigList'].nil?
    @UpstreamDependencyConfigList = []
    params['UpstreamDependencyConfigList'].each do |i|
      dependencytaskbrief_tmp = DependencyTaskBrief.new
      dependencytaskbrief_tmp.deserialize(i)
      @UpstreamDependencyConfigList << dependencytaskbrief_tmp
    end
  end
  unless params['EventListenerList'].nil?
    @EventListenerList = []
    params['EventListenerList'].each do |i|
      eventlistener_tmp = EventListener.new
      eventlistener_tmp.deserialize(i)
      @EventListenerList << eventlistener_tmp
    end
  end
  @RunPriority = params['RunPriority']
  @RetryWait = params['RetryWait']
  @MaxRetryAttempts = params['MaxRetryAttempts']
  @ExecutionTTL = params['ExecutionTTL']
  @WaitExecutionTotalTTL = params['WaitExecutionTotalTTL']
  @AllowRedoType = params['AllowRedoType']
  unless params['ParamTaskOutList'].nil?
    @ParamTaskOutList = []
    params['ParamTaskOutList'].each do |i|
      outtaskparameter_tmp = OutTaskParameter.new
      outtaskparameter_tmp.deserialize(i)
      @ParamTaskOutList << outtaskparameter_tmp
    end
  end
  unless params['ParamTaskInList'].nil?
    @ParamTaskInList = []
    params['ParamTaskInList'].each do |i|
      intaskparameter_tmp = InTaskParameter.new
      intaskparameter_tmp.deserialize(i)
      @ParamTaskInList << intaskparameter_tmp
    end
  end
  unless params['TaskOutputRegistryList'].nil?
    @TaskOutputRegistryList = []
    params['TaskOutputRegistryList'].each do |i|
      taskdataregistry_tmp = TaskDataRegistry.new
      taskdataregistry_tmp.deserialize(i)
      @TaskOutputRegistryList << taskdataregistry_tmp
    end
  end
  @InitStrategy = params['InitStrategy']
end