tencentcloud-sdk-oceanus 3.0.624 → 3.0.626

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190422/models.rb +316 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e515a0d2f84889096bb201b76e9c19df28b7f6c7
4
- data.tar.gz: 9d54f84f6a844ac2e09ed4ec5c554f734f8f3f67
3
+ metadata.gz: ee6380cdef007c08d4f38c68d0390dd65bc29d01
4
+ data.tar.gz: 6746b0576c39a457e90df59d21584f3ae568702e
5
5
  SHA512:
6
- metadata.gz: 68c1dc3ee0e39145c891489d8ac6b2f821b8a6963334d75971669a48fe2fb76aad78d3550a0374d591ebc8d08a0d18cf4211249ad05395411329b0e9ad3b1d38
7
- data.tar.gz: e9fab641eabeadae3d413eb89393f52d0963ab1264d1d6fa9ea3901ac2484c5441bcbb7528f7894e1a586952ed5f457b1446da84adc26ccd2b4b6d9b63186f31
6
+ metadata.gz: 2a6f367e266667fd61314d4b708a85fcfb88badeb34875e3189253771f1a4843f2abd4da7d4689ca8edf6f954c7a35f3f3a5aa8f69a3dc1f1d4ee6fd5fafbd90
7
+ data.tar.gz: 21378eae985fdd74f1d8b418c19ffd38b93a7d2ac8e57cdbe98c2da11e53b04ddb638d7568baede6f28fbf328fae47bf63e83f3e9571f28dc71c51497e5bd031
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.624
1
+ 3.0.626
@@ -97,6 +97,31 @@ module TencentCloud
97
97
  end
98
98
  end
99
99
 
100
+ # {
101
+ # "Clazz": "c1", // java类全路径
102
+ # "Level": "WARN" // 日志级别 TRACE,DEBUG、INFO、WARN、ERROR
103
+ # }
104
+ class ClazzLevel < TencentCloud::Common::AbstractModel
105
+ # @param Clazz: java类全路径
106
+ # 注意:此字段可能返回 null,表示取不到有效值。
107
+ # @type Clazz: String
108
+ # @param Level: 日志级别 TRACE,DEBUG、INFO、WARN、ERROR
109
+ # 注意:此字段可能返回 null,表示取不到有效值。
110
+ # @type Level: String
111
+
112
+ attr_accessor :Clazz, :Level
113
+
114
+ def initialize(clazz=nil, level=nil)
115
+ @Clazz = clazz
116
+ @Level = level
117
+ end
118
+
119
+ def deserialize(params)
120
+ @Clazz = params['Clazz']
121
+ @Level = params['Level']
122
+ end
123
+ end
124
+
100
125
  # 描述用户创建的集群信息
101
126
  class Cluster < TencentCloud::Common::AbstractModel
102
127
  # @param ClusterId: 集群 ID
@@ -670,10 +695,16 @@ module TencentCloud
670
695
  # @type LogLevel: String
671
696
  # @param AutoRecover: Oceanus 平台恢复作业开关 1:开启 -1: 关闭
672
697
  # @type AutoRecover: Integer
698
+ # @param ClazzLevels: 类日志级别
699
+ # @type ClazzLevels: Array
700
+ # @param ExpertModeOn: 是否打开专家模式
701
+ # @type ExpertModeOn: Boolean
702
+ # @param ExpertModeConfiguration: 专家模式的配置
703
+ # @type ExpertModeConfiguration: :class:`Tencentcloud::Oceanus.v20190422.models.ExpertModeConfiguration`
673
704
 
674
- attr_accessor :JobId, :EntrypointClass, :ProgramArgs, :Remark, :ResourceRefs, :DefaultParallelism, :Properties, :AutoDelete, :COSBucket, :LogCollect, :JobManagerSpec, :TaskManagerSpec, :ClsLogsetId, :ClsTopicId, :LogCollectType, :PythonVersion, :WorkSpaceId, :LogLevel, :AutoRecover
705
+ attr_accessor :JobId, :EntrypointClass, :ProgramArgs, :Remark, :ResourceRefs, :DefaultParallelism, :Properties, :AutoDelete, :COSBucket, :LogCollect, :JobManagerSpec, :TaskManagerSpec, :ClsLogsetId, :ClsTopicId, :LogCollectType, :PythonVersion, :WorkSpaceId, :LogLevel, :AutoRecover, :ClazzLevels, :ExpertModeOn, :ExpertModeConfiguration
675
706
 
676
- def initialize(jobid=nil, entrypointclass=nil, programargs=nil, remark=nil, resourcerefs=nil, defaultparallelism=nil, properties=nil, autodelete=nil, cosbucket=nil, logcollect=nil, jobmanagerspec=nil, taskmanagerspec=nil, clslogsetid=nil, clstopicid=nil, logcollecttype=nil, pythonversion=nil, workspaceid=nil, loglevel=nil, autorecover=nil)
707
+ def initialize(jobid=nil, entrypointclass=nil, programargs=nil, remark=nil, resourcerefs=nil, defaultparallelism=nil, properties=nil, autodelete=nil, cosbucket=nil, logcollect=nil, jobmanagerspec=nil, taskmanagerspec=nil, clslogsetid=nil, clstopicid=nil, logcollecttype=nil, pythonversion=nil, workspaceid=nil, loglevel=nil, autorecover=nil, clazzlevels=nil, expertmodeon=nil, expertmodeconfiguration=nil)
677
708
  @JobId = jobid
678
709
  @EntrypointClass = entrypointclass
679
710
  @ProgramArgs = programargs
@@ -693,6 +724,9 @@ module TencentCloud
693
724
  @WorkSpaceId = workspaceid
694
725
  @LogLevel = loglevel
695
726
  @AutoRecover = autorecover
727
+ @ClazzLevels = clazzlevels
728
+ @ExpertModeOn = expertmodeon
729
+ @ExpertModeConfiguration = expertmodeconfiguration
696
730
  end
697
731
 
698
732
  def deserialize(params)
@@ -729,6 +763,19 @@ module TencentCloud
729
763
  @WorkSpaceId = params['WorkSpaceId']
730
764
  @LogLevel = params['LogLevel']
731
765
  @AutoRecover = params['AutoRecover']
766
+ unless params['ClazzLevels'].nil?
767
+ @ClazzLevels = []
768
+ params['ClazzLevels'].each do |i|
769
+ clazzlevel_tmp = ClazzLevel.new
770
+ clazzlevel_tmp.deserialize(i)
771
+ @ClazzLevels << clazzlevel_tmp
772
+ end
773
+ end
774
+ @ExpertModeOn = params['ExpertModeOn']
775
+ unless params['ExpertModeConfiguration'].nil?
776
+ @ExpertModeConfiguration = ExpertModeConfiguration.new
777
+ @ExpertModeConfiguration.deserialize(params['ExpertModeConfiguration'])
778
+ end
732
779
  end
733
780
  end
734
781
 
@@ -2022,6 +2069,50 @@ module TencentCloud
2022
2069
  end
2023
2070
  end
2024
2071
 
2072
+ # 作业配置 -- 专家模式的详细配置
2073
+ class ExpertModeConfiguration < TencentCloud::Common::AbstractModel
2074
+ # @param JobGraph: Job graph
2075
+ # 注意:此字段可能返回 null,表示取不到有效值。
2076
+ # @type JobGraph: :class:`Tencentcloud::Oceanus.v20190422.models.JobGraph`
2077
+ # @param NodeConfig: Node configuration
2078
+ # 注意:此字段可能返回 null,表示取不到有效值。
2079
+ # @type NodeConfig: Array
2080
+ # @param SlotSharingGroups: Slot sharing groups
2081
+ # 注意:此字段可能返回 null,表示取不到有效值。
2082
+ # @type SlotSharingGroups: Array
2083
+
2084
+ attr_accessor :JobGraph, :NodeConfig, :SlotSharingGroups
2085
+
2086
+ def initialize(jobgraph=nil, nodeconfig=nil, slotsharinggroups=nil)
2087
+ @JobGraph = jobgraph
2088
+ @NodeConfig = nodeconfig
2089
+ @SlotSharingGroups = slotsharinggroups
2090
+ end
2091
+
2092
+ def deserialize(params)
2093
+ unless params['JobGraph'].nil?
2094
+ @JobGraph = JobGraph.new
2095
+ @JobGraph.deserialize(params['JobGraph'])
2096
+ end
2097
+ unless params['NodeConfig'].nil?
2098
+ @NodeConfig = []
2099
+ params['NodeConfig'].each do |i|
2100
+ nodeconfig_tmp = NodeConfig.new
2101
+ nodeconfig_tmp.deserialize(i)
2102
+ @NodeConfig << nodeconfig_tmp
2103
+ end
2104
+ end
2105
+ unless params['SlotSharingGroups'].nil?
2106
+ @SlotSharingGroups = []
2107
+ params['SlotSharingGroups'].each do |i|
2108
+ slotsharinggroup_tmp = SlotSharingGroup.new
2109
+ slotsharinggroup_tmp.deserialize(i)
2110
+ @SlotSharingGroups << slotsharinggroup_tmp
2111
+ end
2112
+ end
2113
+ end
2114
+ end
2115
+
2025
2116
  # 查询作业列表时的过滤器
2026
2117
  class Filter < TencentCloud::Common::AbstractModel
2027
2118
  # @param Name: 要过滤的字段
@@ -2104,10 +2195,19 @@ module TencentCloud
2104
2195
  # @param LogLevel: 日志级别
2105
2196
  # 注意:此字段可能返回 null,表示取不到有效值。
2106
2197
  # @type LogLevel: String
2198
+ # @param ClazzLevels: 类日志级别
2199
+ # 注意:此字段可能返回 null,表示取不到有效值。
2200
+ # @type ClazzLevels: Array
2201
+ # @param ExpertModeOn: 是否开启专家模式
2202
+ # 注意:此字段可能返回 null,表示取不到有效值。
2203
+ # @type ExpertModeOn: Boolean
2204
+ # @param ExpertModeConfiguration: 专家模式的配置
2205
+ # 注意:此字段可能返回 null,表示取不到有效值。
2206
+ # @type ExpertModeConfiguration: :class:`Tencentcloud::Oceanus.v20190422.models.ExpertModeConfiguration`
2107
2207
 
2108
- attr_accessor :JobId, :EntrypointClass, :ProgramArgs, :Remark, :CreateTime, :Version, :DefaultParallelism, :Properties, :ResourceRefDetails, :CreatorUin, :UpdateTime, :COSBucket, :LogCollect, :MaxParallelism, :JobManagerSpec, :TaskManagerSpec, :ClsLogsetId, :ClsTopicId, :PythonVersion, :AutoRecover, :LogLevel
2208
+ attr_accessor :JobId, :EntrypointClass, :ProgramArgs, :Remark, :CreateTime, :Version, :DefaultParallelism, :Properties, :ResourceRefDetails, :CreatorUin, :UpdateTime, :COSBucket, :LogCollect, :MaxParallelism, :JobManagerSpec, :TaskManagerSpec, :ClsLogsetId, :ClsTopicId, :PythonVersion, :AutoRecover, :LogLevel, :ClazzLevels, :ExpertModeOn, :ExpertModeConfiguration
2109
2209
 
2110
- def initialize(jobid=nil, entrypointclass=nil, programargs=nil, remark=nil, createtime=nil, version=nil, defaultparallelism=nil, properties=nil, resourcerefdetails=nil, creatoruin=nil, updatetime=nil, cosbucket=nil, logcollect=nil, maxparallelism=nil, jobmanagerspec=nil, taskmanagerspec=nil, clslogsetid=nil, clstopicid=nil, pythonversion=nil, autorecover=nil, loglevel=nil)
2210
+ def initialize(jobid=nil, entrypointclass=nil, programargs=nil, remark=nil, createtime=nil, version=nil, defaultparallelism=nil, properties=nil, resourcerefdetails=nil, creatoruin=nil, updatetime=nil, cosbucket=nil, logcollect=nil, maxparallelism=nil, jobmanagerspec=nil, taskmanagerspec=nil, clslogsetid=nil, clstopicid=nil, pythonversion=nil, autorecover=nil, loglevel=nil, clazzlevels=nil, expertmodeon=nil, expertmodeconfiguration=nil)
2111
2211
  @JobId = jobid
2112
2212
  @EntrypointClass = entrypointclass
2113
2213
  @ProgramArgs = programargs
@@ -2129,6 +2229,9 @@ module TencentCloud
2129
2229
  @PythonVersion = pythonversion
2130
2230
  @AutoRecover = autorecover
2131
2231
  @LogLevel = loglevel
2232
+ @ClazzLevels = clazzlevels
2233
+ @ExpertModeOn = expertmodeon
2234
+ @ExpertModeConfiguration = expertmodeconfiguration
2132
2235
  end
2133
2236
 
2134
2237
  def deserialize(params)
@@ -2167,6 +2270,109 @@ module TencentCloud
2167
2270
  @PythonVersion = params['PythonVersion']
2168
2271
  @AutoRecover = params['AutoRecover']
2169
2272
  @LogLevel = params['LogLevel']
2273
+ unless params['ClazzLevels'].nil?
2274
+ @ClazzLevels = []
2275
+ params['ClazzLevels'].each do |i|
2276
+ clazzlevel_tmp = ClazzLevel.new
2277
+ clazzlevel_tmp.deserialize(i)
2278
+ @ClazzLevels << clazzlevel_tmp
2279
+ end
2280
+ end
2281
+ @ExpertModeOn = params['ExpertModeOn']
2282
+ unless params['ExpertModeConfiguration'].nil?
2283
+ @ExpertModeConfiguration = ExpertModeConfiguration.new
2284
+ @ExpertModeConfiguration.deserialize(params['ExpertModeConfiguration'])
2285
+ end
2286
+ end
2287
+ end
2288
+
2289
+ # 作业运行图
2290
+ class JobGraph < TencentCloud::Common::AbstractModel
2291
+ # @param Nodes: 运行图的点集合
2292
+ # 注意:此字段可能返回 null,表示取不到有效值。
2293
+ # @type Nodes: Array
2294
+ # @param Edges: 运行图的边集合
2295
+ # 注意:此字段可能返回 null,表示取不到有效值。
2296
+ # @type Edges: Array
2297
+
2298
+ attr_accessor :Nodes, :Edges
2299
+
2300
+ def initialize(nodes=nil, edges=nil)
2301
+ @Nodes = nodes
2302
+ @Edges = edges
2303
+ end
2304
+
2305
+ def deserialize(params)
2306
+ unless params['Nodes'].nil?
2307
+ @Nodes = []
2308
+ params['Nodes'].each do |i|
2309
+ jobgraphnode_tmp = JobGraphNode.new
2310
+ jobgraphnode_tmp.deserialize(i)
2311
+ @Nodes << jobgraphnode_tmp
2312
+ end
2313
+ end
2314
+ unless params['Edges'].nil?
2315
+ @Edges = []
2316
+ params['Edges'].each do |i|
2317
+ jobgraphedge_tmp = JobGraphEdge.new
2318
+ jobgraphedge_tmp.deserialize(i)
2319
+ @Edges << jobgraphedge_tmp
2320
+ end
2321
+ end
2322
+ end
2323
+ end
2324
+
2325
+ # Flink Job 运行图的边信息
2326
+ class JobGraphEdge < TencentCloud::Common::AbstractModel
2327
+ # @param Source: 边的起始节点ID
2328
+ # 注意:此字段可能返回 null,表示取不到有效值。
2329
+ # @type Source: Integer
2330
+ # @param Target: 边的目标节点ID
2331
+ # 注意:此字段可能返回 null,表示取不到有效值。
2332
+ # @type Target: Integer
2333
+
2334
+ attr_accessor :Source, :Target
2335
+
2336
+ def initialize(source=nil, target=nil)
2337
+ @Source = source
2338
+ @Target = target
2339
+ end
2340
+
2341
+ def deserialize(params)
2342
+ @Source = params['Source']
2343
+ @Target = params['Target']
2344
+ end
2345
+ end
2346
+
2347
+ # Flink Job 运行图的点信息
2348
+ class JobGraphNode < TencentCloud::Common::AbstractModel
2349
+ # @param Id: 节点ID
2350
+ # 注意:此字段可能返回 null,表示取不到有效值。
2351
+ # @type Id: Integer
2352
+ # @param Description: 节点描述
2353
+ # 注意:此字段可能返回 null,表示取不到有效值。
2354
+ # @type Description: String
2355
+ # @param Name: 节点名称
2356
+ # 注意:此字段可能返回 null,表示取不到有效值。
2357
+ # @type Name: String
2358
+ # @param Parallelism: 节点并行度
2359
+ # 注意:此字段可能返回 null,表示取不到有效值。
2360
+ # @type Parallelism: Integer
2361
+
2362
+ attr_accessor :Id, :Description, :Name, :Parallelism
2363
+
2364
+ def initialize(id=nil, description=nil, name=nil, parallelism=nil)
2365
+ @Id = id
2366
+ @Description = description
2367
+ @Name = name
2368
+ @Parallelism = parallelism
2369
+ end
2370
+
2371
+ def deserialize(params)
2372
+ @Id = params['Id']
2373
+ @Description = params['Description']
2374
+ @Name = params['Name']
2375
+ @Parallelism = params['Parallelism']
2170
2376
  end
2171
2377
  end
2172
2378
 
@@ -2457,6 +2663,50 @@ module TencentCloud
2457
2663
  end
2458
2664
  end
2459
2665
 
2666
+ # 专家模式 计算节点的配置信息
2667
+ class NodeConfig < TencentCloud::Common::AbstractModel
2668
+ # @param Id: Node ID
2669
+ # 注意:此字段可能返回 null,表示取不到有效值。
2670
+ # @type Id: Integer
2671
+ # @param Parallelism: Node parallelism
2672
+ # 注意:此字段可能返回 null,表示取不到有效值。
2673
+ # @type Parallelism: Integer
2674
+ # @param SlotSharingGroup: Slot sharing group
2675
+ # 注意:此字段可能返回 null,表示取不到有效值。
2676
+ # @type SlotSharingGroup: String
2677
+ # @param Configuration: Configuration properties
2678
+ # 注意:此字段可能返回 null,表示取不到有效值。
2679
+ # @type Configuration: Array
2680
+ # @param StateTTL: 节点的状态ttl配置, 多个用 ; 分割
2681
+ # 注意:此字段可能返回 null,表示取不到有效值。
2682
+ # @type StateTTL: String
2683
+
2684
+ attr_accessor :Id, :Parallelism, :SlotSharingGroup, :Configuration, :StateTTL
2685
+
2686
+ def initialize(id=nil, parallelism=nil, slotsharinggroup=nil, configuration=nil, statettl=nil)
2687
+ @Id = id
2688
+ @Parallelism = parallelism
2689
+ @SlotSharingGroup = slotsharinggroup
2690
+ @Configuration = configuration
2691
+ @StateTTL = statettl
2692
+ end
2693
+
2694
+ def deserialize(params)
2695
+ @Id = params['Id']
2696
+ @Parallelism = params['Parallelism']
2697
+ @SlotSharingGroup = params['SlotSharingGroup']
2698
+ unless params['Configuration'].nil?
2699
+ @Configuration = []
2700
+ params['Configuration'].each do |i|
2701
+ property_tmp = Property.new
2702
+ property_tmp.deserialize(i)
2703
+ @Configuration << property_tmp
2704
+ end
2705
+ end
2706
+ @StateTTL = params['StateTTL']
2707
+ end
2708
+ end
2709
+
2460
2710
  # 系统配置属性
2461
2711
  class Property < TencentCloud::Common::AbstractModel
2462
2712
  # @param Key: 系统配置的Key
@@ -3033,6 +3283,68 @@ module TencentCloud
3033
3283
  end
3034
3284
  end
3035
3285
 
3286
+ # SlotSharingGroup 描述
3287
+ class SlotSharingGroup < TencentCloud::Common::AbstractModel
3288
+ # @param Name: SlotSharingGroup的名字
3289
+ # 注意:此字段可能返回 null,表示取不到有效值。
3290
+ # @type Name: String
3291
+ # @param Spec: SlotSharingGroup的规格
3292
+ # 注意:此字段可能返回 null,表示取不到有效值。
3293
+ # @type Spec: :class:`Tencentcloud::Oceanus.v20190422.models.SlotSharingGroupSpec`
3294
+ # @param Description: SlotSharingGroup的描述
3295
+ # 注意:此字段可能返回 null,表示取不到有效值。
3296
+ # @type Description: String
3297
+
3298
+ attr_accessor :Name, :Spec, :Description
3299
+
3300
+ def initialize(name=nil, spec=nil, description=nil)
3301
+ @Name = name
3302
+ @Spec = spec
3303
+ @Description = description
3304
+ end
3305
+
3306
+ def deserialize(params)
3307
+ @Name = params['Name']
3308
+ unless params['Spec'].nil?
3309
+ @Spec = SlotSharingGroupSpec.new
3310
+ @Spec.deserialize(params['Spec'])
3311
+ end
3312
+ @Description = params['Description']
3313
+ end
3314
+ end
3315
+
3316
+ # SlotSharingGroup的规格描述
3317
+ class SlotSharingGroupSpec < TencentCloud::Common::AbstractModel
3318
+ # @param CPU: 适用的cpu
3319
+ # 注意:此字段可能返回 null,表示取不到有效值。
3320
+ # @type CPU: Float
3321
+ # @param HeapMemory: 默认为b, 支持单位有 b, kb, mb, gb
3322
+ # 注意:此字段可能返回 null,表示取不到有效值。
3323
+ # @type HeapMemory: String
3324
+ # @param OffHeapMemory: 默认为b, 支持单位有 b, kb, mb, gb
3325
+ # 注意:此字段可能返回 null,表示取不到有效值。
3326
+ # @type OffHeapMemory: String
3327
+ # @param ManagedMemory: 默认为b, 支持单位有 b, kb, mb, gb
3328
+ # 注意:此字段可能返回 null,表示取不到有效值。
3329
+ # @type ManagedMemory: String
3330
+
3331
+ attr_accessor :CPU, :HeapMemory, :OffHeapMemory, :ManagedMemory
3332
+
3333
+ def initialize(cpu=nil, heapmemory=nil, offheapmemory=nil, managedmemory=nil)
3334
+ @CPU = cpu
3335
+ @HeapMemory = heapmemory
3336
+ @OffHeapMemory = offheapmemory
3337
+ @ManagedMemory = managedmemory
3338
+ end
3339
+
3340
+ def deserialize(params)
3341
+ @CPU = params['CPU']
3342
+ @HeapMemory = params['HeapMemory']
3343
+ @OffHeapMemory = params['OffHeapMemory']
3344
+ @ManagedMemory = params['ManagedMemory']
3345
+ end
3346
+ end
3347
+
3036
3348
  # 停止作业的描述信息
3037
3349
  class StopJobDescription < TencentCloud::Common::AbstractModel
3038
3350
  # @param JobId: 作业Id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-oceanus
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.624
4
+ version: 3.0.626
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-31 00:00:00.000000000 Z
11
+ date: 2023-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common