tencentcloud-sdk-emr 3.0.895 → 3.0.897
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/v20190103/client.rb +25 -0
- data/lib/v20190103/models.rb +40 -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: 4ed5e73eebe8792a3fde25f743ce237af6899e06
|
4
|
+
data.tar.gz: 948eac221d6b6c00a5b60b16dd4626fb6ed521e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf43b029d37b7ead2a27e44db354a7bc40f963b14ce9f3624df204ac6cf56be38453a1b76c3a56fb8fa4eba49494e4ec553c045c281491a34ea8b21e9e2060bd
|
7
|
+
data.tar.gz: 235b99d8d285d6b2e88f68a1b0388d8cd0ebfa48fbc9db3f7047b416d613956b4e672ca844f7d6acdfa42dce2ec9da2b18c63981b49364f4e58aee31f8fba30c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.897
|
data/lib/v20190103/client.rb
CHANGED
@@ -823,6 +823,31 @@ module TencentCloud
|
|
823
823
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
824
824
|
end
|
825
825
|
|
826
|
+
# 前提:预付费集群
|
827
|
+
# 资源级别开启或关闭自动续费
|
828
|
+
|
829
|
+
# @param request: Request instance for ModifyAutoRenewFlag.
|
830
|
+
# @type request: :class:`Tencentcloud::emr::V20190103::ModifyAutoRenewFlagRequest`
|
831
|
+
# @rtype: :class:`Tencentcloud::emr::V20190103::ModifyAutoRenewFlagResponse`
|
832
|
+
def ModifyAutoRenewFlag(request)
|
833
|
+
body = send_request('ModifyAutoRenewFlag', request.serialize)
|
834
|
+
response = JSON.parse(body)
|
835
|
+
if response['Response'].key?('Error') == false
|
836
|
+
model = ModifyAutoRenewFlagResponse.new
|
837
|
+
model.deserialize(response['Response'])
|
838
|
+
model
|
839
|
+
else
|
840
|
+
code = response['Response']['Error']['Code']
|
841
|
+
message = response['Response']['Error']['Message']
|
842
|
+
reqid = response['Response']['RequestId']
|
843
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
844
|
+
end
|
845
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
846
|
+
raise e
|
847
|
+
rescue StandardError => e
|
848
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
849
|
+
end
|
850
|
+
|
826
851
|
# 修改自动扩缩容规则
|
827
852
|
|
828
853
|
# @param request: Request instance for ModifyAutoScaleStrategy.
|
data/lib/v20190103/models.rb
CHANGED
@@ -5406,6 +5406,46 @@ module TencentCloud
|
|
5406
5406
|
end
|
5407
5407
|
end
|
5408
5408
|
|
5409
|
+
# ModifyAutoRenewFlag请求参数结构体
|
5410
|
+
class ModifyAutoRenewFlagRequest < TencentCloud::Common::AbstractModel
|
5411
|
+
# @param InstanceId: 集群ID
|
5412
|
+
# @type InstanceId: String
|
5413
|
+
# @param ResourceIds: 实例ID
|
5414
|
+
# @type ResourceIds: Array
|
5415
|
+
# @param RenewFlag: NOTIFY_AND_MANUAL_RENEW:表示通知即将过期,但不自动续费 NOTIFY_AND_AUTO_RENEW:表示通知即将过期,而且自动续费 DISABLE_NOTIFY_AND_MANUAL_RENEW:表示不通知即将过期,也不自动续费。
|
5416
|
+
# @type RenewFlag: String
|
5417
|
+
|
5418
|
+
attr_accessor :InstanceId, :ResourceIds, :RenewFlag
|
5419
|
+
|
5420
|
+
def initialize(instanceid=nil, resourceids=nil, renewflag=nil)
|
5421
|
+
@InstanceId = instanceid
|
5422
|
+
@ResourceIds = resourceids
|
5423
|
+
@RenewFlag = renewflag
|
5424
|
+
end
|
5425
|
+
|
5426
|
+
def deserialize(params)
|
5427
|
+
@InstanceId = params['InstanceId']
|
5428
|
+
@ResourceIds = params['ResourceIds']
|
5429
|
+
@RenewFlag = params['RenewFlag']
|
5430
|
+
end
|
5431
|
+
end
|
5432
|
+
|
5433
|
+
# ModifyAutoRenewFlag返回参数结构体
|
5434
|
+
class ModifyAutoRenewFlagResponse < TencentCloud::Common::AbstractModel
|
5435
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5436
|
+
# @type RequestId: String
|
5437
|
+
|
5438
|
+
attr_accessor :RequestId
|
5439
|
+
|
5440
|
+
def initialize(requestid=nil)
|
5441
|
+
@RequestId = requestid
|
5442
|
+
end
|
5443
|
+
|
5444
|
+
def deserialize(params)
|
5445
|
+
@RequestId = params['RequestId']
|
5446
|
+
end
|
5447
|
+
end
|
5448
|
+
|
5409
5449
|
# ModifyAutoScaleStrategy请求参数结构体
|
5410
5450
|
class ModifyAutoScaleStrategyRequest < TencentCloud::Common::AbstractModel
|
5411
5451
|
# @param InstanceId: 实例ID。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-emr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.897
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|