tencentcloud-sdk-dlc 3.0.585 → 3.0.586

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7197bfac94a81c77423a92a8f025368c3b5db3a9
4
- data.tar.gz: b488a6dece1e4a10eb0189229f3d473833da3aac
3
+ metadata.gz: 40d52c893804943d9e1d3ab9c18279bbd0de6659
4
+ data.tar.gz: c9324834aa9678c7cc3f3d146708f6fec1d27b93
5
5
  SHA512:
6
- metadata.gz: 5e5b9f5aef228eec2653b4a7ef262c64166339383eb187ce217e6810c0517797c6f2ecd52e2afc3ad5ab3368a35bbb392f1572a35105e71d790554be387b7b85
7
- data.tar.gz: 3f5e3b9521a06bdb04a1e221916d018217e2a7fcc7ecfa76b9dfeba2b3126973b138d7b77337039d0911ea424f9cc485ff841f48cd36e0c84f481ade8e55e161
6
+ metadata.gz: b93fa4dbc7715e334c7b9228a8d4304f9ad566dccc18c4ad70a104a224e788d727c2e6ea8651958f6e9e09ba8c5f8e8c139c4c550f797348fe0afa50fb729f00
7
+ data.tar.gz: 0a380f34b7aebe76daf4e43fc7b5690e9f6ba6879b9078ea422d1a0311924202b3b2b57057b97b996b93e9e847a162c5ddc8105b86a415c18e41c2f5f0e1bcbb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.585
1
+ 3.0.586
@@ -1973,6 +1973,30 @@ module TencentCloud
1973
1973
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1974
1974
  end
1975
1975
 
1976
+ # 本接口(ModifySparkAppBatch)用于批量修改Spark作业参数配置
1977
+
1978
+ # @param request: Request instance for ModifySparkAppBatch.
1979
+ # @type request: :class:`Tencentcloud::dlc::V20210125::ModifySparkAppBatchRequest`
1980
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::ModifySparkAppBatchResponse`
1981
+ def ModifySparkAppBatch(request)
1982
+ body = send_request('ModifySparkAppBatch', request.serialize)
1983
+ response = JSON.parse(body)
1984
+ if response['Response'].key?('Error') == false
1985
+ model = ModifySparkAppBatchResponse.new
1986
+ model.deserialize(response['Response'])
1987
+ model
1988
+ else
1989
+ code = response['Response']['Error']['Code']
1990
+ message = response['Response']['Error']['Message']
1991
+ reqid = response['Response']['RequestId']
1992
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1993
+ end
1994
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1995
+ raise e
1996
+ rescue StandardError => e
1997
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1998
+ end
1999
+
1976
2000
  # 修改用户信息
1977
2001
 
1978
2002
  # @param request: Request instance for ModifyUser.
@@ -6047,6 +6047,62 @@ module TencentCloud
6047
6047
  end
6048
6048
  end
6049
6049
 
6050
+ # ModifySparkAppBatch请求参数结构体
6051
+ class ModifySparkAppBatchRequest < TencentCloud::Common::AbstractModel
6052
+ # @param SparkAppId: 需要批量修改的Spark作业任务ID列表
6053
+ # @type SparkAppId: Array
6054
+ # @param DataEngine: 引擎ID
6055
+ # @type DataEngine: String
6056
+ # @param AppDriverSize: driver规格:small,medium,large,xlarge;内存型(引擎类型):m.small,m.medium,m.large,m.xlarge
6057
+ # @type AppDriverSize: String
6058
+ # @param AppExecutorSize: executor规格:small,medium,large,xlarge;内存型(引擎类型):m.small,m.medium,m.large,m.xlarge
6059
+ # @type AppExecutorSize: String
6060
+ # @param AppExecutorNums: 指定executor数量,最小值为1,最大值小于集群规格
6061
+ # @type AppExecutorNums: Integer
6062
+ # @param AppExecutorMaxNumbers: 指定executor max数量(动态配置场景下),最小值为1,最大值小于集群规格(当ExecutorMaxNumbers小于ExecutorNums时,改值设定为ExecutorNums)
6063
+ # @type AppExecutorMaxNumbers: Integer
6064
+ # @param IsInherit: 任务资源配置是否继承集群模板,0(默认)不继承,1:继承
6065
+ # @type IsInherit: Integer
6066
+
6067
+ attr_accessor :SparkAppId, :DataEngine, :AppDriverSize, :AppExecutorSize, :AppExecutorNums, :AppExecutorMaxNumbers, :IsInherit
6068
+
6069
+ def initialize(sparkappid=nil, dataengine=nil, appdriversize=nil, appexecutorsize=nil, appexecutornums=nil, appexecutormaxnumbers=nil, isinherit=nil)
6070
+ @SparkAppId = sparkappid
6071
+ @DataEngine = dataengine
6072
+ @AppDriverSize = appdriversize
6073
+ @AppExecutorSize = appexecutorsize
6074
+ @AppExecutorNums = appexecutornums
6075
+ @AppExecutorMaxNumbers = appexecutormaxnumbers
6076
+ @IsInherit = isinherit
6077
+ end
6078
+
6079
+ def deserialize(params)
6080
+ @SparkAppId = params['SparkAppId']
6081
+ @DataEngine = params['DataEngine']
6082
+ @AppDriverSize = params['AppDriverSize']
6083
+ @AppExecutorSize = params['AppExecutorSize']
6084
+ @AppExecutorNums = params['AppExecutorNums']
6085
+ @AppExecutorMaxNumbers = params['AppExecutorMaxNumbers']
6086
+ @IsInherit = params['IsInherit']
6087
+ end
6088
+ end
6089
+
6090
+ # ModifySparkAppBatch返回参数结构体
6091
+ class ModifySparkAppBatchResponse < TencentCloud::Common::AbstractModel
6092
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6093
+ # @type RequestId: String
6094
+
6095
+ attr_accessor :RequestId
6096
+
6097
+ def initialize(requestid=nil)
6098
+ @RequestId = requestid
6099
+ end
6100
+
6101
+ def deserialize(params)
6102
+ @RequestId = params['RequestId']
6103
+ end
6104
+ end
6105
+
6050
6106
  # ModifySparkApp请求参数结构体
6051
6107
  class ModifySparkAppRequest < TencentCloud::Common::AbstractModel
6052
6108
  # @param AppName: spark应用名
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dlc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.585
4
+ version: 3.0.586
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-06-06 00:00:00.000000000 Z
11
+ date: 2023-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common