tencentcloud-sdk-emr 3.0.896 → 3.0.898

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6ad3da1742d63883a568906f4c577f87d30b4e97
4
- data.tar.gz: 6f62fe85246b8f0250a205947d6af0aa0cd3a7b4
3
+ metadata.gz: a487a59ff8fa37ebd3f0561bf968121dd9c6c341
4
+ data.tar.gz: e61ec6bbb627741cfc1dcd4e3079ec994b1980dc
5
5
  SHA512:
6
- metadata.gz: 922ac23c2ea77317a62de5f91d34d772726986704dd3577709f66f3a377746ceb0488bbedb9997d02279bcbbee80dc35c7a2852ffb25b411c41b47e2438dafb1
7
- data.tar.gz: 3552d75f51cc4ed8244daf45607be86a5062a69bc9ae961a2fe6d468be7d6388c8c973aaade90038ae57a999711a1561986ded8a33228622b610c5a451099c21
6
+ metadata.gz: 2f88b261796c2a8dc21744c7416ae0efcea2924f7b1e88359312a732e8382b3d34dafa935ad5e18e96eaa1cf6d506d0406025f0489e9f967b3d431cf98517562
7
+ data.tar.gz: 44cef073b49c044a0904874a0234eda90c4056c0ae325df4bb59ad3d0ba45bce43699f593f753cd39b128ce26c759a42f2ead1ae941318795984e6f9db86bbc8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.896
1
+ 3.0.898
@@ -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.
@@ -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.896
4
+ version: 3.0.898
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-08-28 00:00:00.000000000 Z
11
+ date: 2024-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common