tencentcloud-sdk-dlc 3.0.585 → 3.0.587
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210125/client.rb +24 -0
- data/lib/v20210125/models.rb +56 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff8a12df6ee7d0c082639073d90ec4a04fad143f
|
4
|
+
data.tar.gz: cc8edf8127a958e2d9786ac213409ba139347aa4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d43f0d0786e549903af73e692d403c8aef61eece77518cbf7756e0de83e2808be13412a570caf7f68b7f54ff66b7505ac97470bc7ef11a406e62e23413348e78
|
7
|
+
data.tar.gz: 6a2a8b8898b4ddf820677ba291b3885a5a52dcb56364345dc0621f7a3196d5fe48c4b9b3926a1973736273ef0055f6d1c3d50eb35b4f3a13f0d6ee3459b809ec
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.587
|
data/lib/v20210125/client.rb
CHANGED
@@ -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.
|
data/lib/v20210125/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.587
|
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-
|
11
|
+
date: 2023-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|