tencentcloud-sdk-cvm 3.0.768 → 3.0.770

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: dc3d40eff824e77344357e39190e57517ca5b8a9
4
- data.tar.gz: 05deb15763349762d426446318485d800172c264
3
+ metadata.gz: e73d22d57719baa4631bba95e7a183d836b1f8f9
4
+ data.tar.gz: 555ecafcc1aedad9f32d6283a2abbb356983b675
5
5
  SHA512:
6
- metadata.gz: ba90726e6e1ae00bfd670419d111520a33bd96d7089c4cd06cf3af0af7b1e145ea459fb439dc2e241df4362451622a578c675f6d6a64c0a47fe99ee67ea19481
7
- data.tar.gz: 922f987f07e181487e802dafe914ee30634474f4039938cb52b896d48c8c1a3cbbd641539838f5bb0d643d8b66ee0e0265abb3b57b880db3b8f8ca1477e11be1
6
+ metadata.gz: 130dccf3241293134fb2092fddfe6162521cad03dd8e3f1eba6f23186193f276b9b7fb73acd7470f6a756e2844238cda2a19a6b67eb5eca064a135271b26af9d
7
+ data.tar.gz: f3210249515a302ce8f3e975a8ced6bacc94fb4073a1cd5461ed867696abc0e58f8caeff64448d87a34aa94dfaa868183c7548f1d87297ea5890d5f8b93542a2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.768
1
+ 3.0.770
@@ -388,6 +388,30 @@ module TencentCloud
388
388
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
389
389
  end
390
390
 
391
+ # 本接口 (DeleteInstancesActionTimer) 用于删除定时任务。
392
+
393
+ # @param request: Request instance for DeleteInstancesActionTimer.
394
+ # @type request: :class:`Tencentcloud::cvm::V20170312::DeleteInstancesActionTimerRequest`
395
+ # @rtype: :class:`Tencentcloud::cvm::V20170312::DeleteInstancesActionTimerResponse`
396
+ def DeleteInstancesActionTimer(request)
397
+ body = send_request('DeleteInstancesActionTimer', request.serialize)
398
+ response = JSON.parse(body)
399
+ if response['Response'].key?('Error') == false
400
+ model = DeleteInstancesActionTimerResponse.new
401
+ model.deserialize(response['Response'])
402
+ model
403
+ else
404
+ code = response['Response']['Error']['Code']
405
+ message = response['Response']['Error']['Message']
406
+ reqid = response['Response']['RequestId']
407
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
408
+ end
409
+ rescue TencentCloud::Common::TencentCloudSDKException => e
410
+ raise e
411
+ rescue StandardError => e
412
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
413
+ end
414
+
391
415
  # 本接口 (DeleteKeyPairs) 用于删除已在腾讯云托管的密钥对。
392
416
 
393
417
  # * 可以同时删除多个密钥对。
@@ -877,6 +901,30 @@ module TencentCloud
877
901
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
878
902
  end
879
903
 
904
+ # 本接口 (DescribeInstancesActionTimer) 用于查询定时任务信息。
905
+
906
+ # @param request: Request instance for DescribeInstancesActionTimer.
907
+ # @type request: :class:`Tencentcloud::cvm::V20170312::DescribeInstancesActionTimerRequest`
908
+ # @rtype: :class:`Tencentcloud::cvm::V20170312::DescribeInstancesActionTimerResponse`
909
+ def DescribeInstancesActionTimer(request)
910
+ body = send_request('DescribeInstancesActionTimer', request.serialize)
911
+ response = JSON.parse(body)
912
+ if response['Response'].key?('Error') == false
913
+ model = DescribeInstancesActionTimerResponse.new
914
+ model.deserialize(response['Response'])
915
+ model
916
+ else
917
+ code = response['Response']['Error']['Code']
918
+ message = response['Response']['Error']['Message']
919
+ reqid = response['Response']['RequestId']
920
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
921
+ end
922
+ rescue TencentCloud::Common::TencentCloudSDKException => e
923
+ raise e
924
+ rescue StandardError => e
925
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
926
+ end
927
+
880
928
  # 本接口 (DescribeInstancesModification) 用于查询指定实例支持调整的机型配置。
881
929
 
882
930
  # @param request: Request instance for DescribeInstancesModification.
@@ -1325,6 +1373,30 @@ module TencentCloud
1325
1373
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1326
1374
  end
1327
1375
 
1376
+ # 导入定时任务
1377
+
1378
+ # @param request: Request instance for ImportInstancesActionTimer.
1379
+ # @type request: :class:`Tencentcloud::cvm::V20170312::ImportInstancesActionTimerRequest`
1380
+ # @rtype: :class:`Tencentcloud::cvm::V20170312::ImportInstancesActionTimerResponse`
1381
+ def ImportInstancesActionTimer(request)
1382
+ body = send_request('ImportInstancesActionTimer', request.serialize)
1383
+ response = JSON.parse(body)
1384
+ if response['Response'].key?('Error') == false
1385
+ model = ImportInstancesActionTimerResponse.new
1386
+ model.deserialize(response['Response'])
1387
+ model
1388
+ else
1389
+ code = response['Response']['Error']['Code']
1390
+ message = response['Response']['Error']['Message']
1391
+ reqid = response['Response']['RequestId']
1392
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1393
+ end
1394
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1395
+ raise e
1396
+ rescue StandardError => e
1397
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1398
+ end
1399
+
1328
1400
  # 本接口 (ImportKeyPair) 用于导入密钥对。
1329
1401
 
1330
1402
  # * 本接口的功能是将密钥对导入到用户账户,并不会自动绑定到实例。如需绑定可以使用[AssociasteInstancesKeyPair](https://cloud.tencent.com/document/api/213/9404)接口。
@@ -2328,11 +2400,12 @@ module TencentCloud
2328
2400
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2329
2401
  end
2330
2402
 
2331
- # 本接口 (ResizeInstanceDisks) 用于扩容实例的数据盘。
2403
+ # 本接口 (ResizeInstanceDisks) 用于扩容实例的磁盘。
2332
2404
 
2333
- # * 目前只支持扩容非弹性盘([`DescribeDisks`](https://cloud.tencent.com/document/api/362/16315)接口返回值中的`Portable`为`false`表示非弹性)。
2334
- # * 对于包年包月实例,使用该接口会涉及扣费,请确保账户余额充足。可通过[`DescribeAccountBalance`](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。
2405
+ # * 目前只支持扩容非弹性盘([ DescribeDisks ](https://cloud.tencent.com/document/api/362/16315)接口返回值中的`Portable`为`false`表示非弹性)。
2406
+ # * 对于包年包月实例,使用该接口会涉及扣费,请确保账户余额充足。可通过[ DescribeAccountBalance ](https://cloud.tencent.com/document/product/555/20253)接口查询账户余额。
2335
2407
  # * 目前只支持扩容一块数据盘。
2408
+ # * 默认扩容方式为关机后扩容。
2336
2409
  # * 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。
2337
2410
  # * 如果是系统盘,目前只支持扩容,不支持缩容。
2338
2411
 
@@ -648,19 +648,27 @@ module TencentCloud
648
648
  # @type Name: String
649
649
  # @param Remark: 高性能计算集群备注。
650
650
  # @type Remark: String
651
+ # @param HpcClusterType: 高性能计算集群类型。
652
+ # @type HpcClusterType: String
653
+ # @param HpcClusterBusinessId: 高性能计算集群对应的业务场景标识,当前只支持CDC。
654
+ # @type HpcClusterBusinessId: String
651
655
 
652
- attr_accessor :Zone, :Name, :Remark
656
+ attr_accessor :Zone, :Name, :Remark, :HpcClusterType, :HpcClusterBusinessId
653
657
 
654
- def initialize(zone=nil, name=nil, remark=nil)
658
+ def initialize(zone=nil, name=nil, remark=nil, hpcclustertype=nil, hpcclusterbusinessid=nil)
655
659
  @Zone = zone
656
660
  @Name = name
657
661
  @Remark = remark
662
+ @HpcClusterType = hpcclustertype
663
+ @HpcClusterBusinessId = hpcclusterbusinessid
658
664
  end
659
665
 
660
666
  def deserialize(params)
661
667
  @Zone = params['Zone']
662
668
  @Name = params['Name']
663
669
  @Remark = params['Remark']
670
+ @HpcClusterType = params['HpcClusterType']
671
+ @HpcClusterBusinessId = params['HpcClusterBusinessId']
664
672
  end
665
673
  end
666
674
 
@@ -1415,6 +1423,38 @@ module TencentCloud
1415
1423
  end
1416
1424
  end
1417
1425
 
1426
+ # DeleteInstancesActionTimer请求参数结构体
1427
+ class DeleteInstancesActionTimerRequest < TencentCloud::Common::AbstractModel
1428
+ # @param ActionTimerIds: 定时任务ID列表,可以通过DescribeInstancesActionTimer接口查询。只能删除未执行的定时任务。
1429
+ # @type ActionTimerIds: Array
1430
+
1431
+ attr_accessor :ActionTimerIds
1432
+
1433
+ def initialize(actiontimerids=nil)
1434
+ @ActionTimerIds = actiontimerids
1435
+ end
1436
+
1437
+ def deserialize(params)
1438
+ @ActionTimerIds = params['ActionTimerIds']
1439
+ end
1440
+ end
1441
+
1442
+ # DeleteInstancesActionTimer返回参数结构体
1443
+ class DeleteInstancesActionTimerResponse < TencentCloud::Common::AbstractModel
1444
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1445
+ # @type RequestId: String
1446
+
1447
+ attr_accessor :RequestId
1448
+
1449
+ def initialize(requestid=nil)
1450
+ @RequestId = requestid
1451
+ end
1452
+
1453
+ def deserialize(params)
1454
+ @RequestId = params['RequestId']
1455
+ end
1456
+ end
1457
+
1418
1458
  # DeleteKeyPairs请求参数结构体
1419
1459
  class DeleteKeyPairsRequest < TencentCloud::Common::AbstractModel
1420
1460
  # @param KeyIds: 一个或多个待操作的密钥对ID。每次请求批量密钥对的上限为100。<br>可以通过以下方式获取可用的密钥ID:<br><li>通过登录[控制台](https://console.cloud.tencent.com/cvm/sshkey)查询密钥ID。</li><br><li>通过调用接口 [DescribeKeyPairs](https://cloud.tencent.com/document/api/213/15699) ,取返回信息中的 `KeyId` 获取密钥对ID。</li>
@@ -1878,15 +1918,21 @@ module TencentCloud
1878
1918
  # @type Offset: Integer
1879
1919
  # @param Limit: 本次请求量, 默认值20。
1880
1920
  # @type Limit: Integer
1921
+ # @param HpcClusterType: 高性能计算集群类型。
1922
+ # @type HpcClusterType: String
1923
+ # @param HpcClusterBusinessId: 高性能计算集群对应的业务场景标识,当前只支持CDC。
1924
+ # @type HpcClusterBusinessId: String
1881
1925
 
1882
- attr_accessor :HpcClusterIds, :Name, :Zone, :Offset, :Limit
1926
+ attr_accessor :HpcClusterIds, :Name, :Zone, :Offset, :Limit, :HpcClusterType, :HpcClusterBusinessId
1883
1927
 
1884
- def initialize(hpcclusterids=nil, name=nil, zone=nil, offset=nil, limit=nil)
1928
+ def initialize(hpcclusterids=nil, name=nil, zone=nil, offset=nil, limit=nil, hpcclustertype=nil, hpcclusterbusinessid=nil)
1885
1929
  @HpcClusterIds = hpcclusterids
1886
1930
  @Name = name
1887
1931
  @Zone = zone
1888
1932
  @Offset = offset
1889
1933
  @Limit = limit
1934
+ @HpcClusterType = hpcclustertype
1935
+ @HpcClusterBusinessId = hpcclusterbusinessid
1890
1936
  end
1891
1937
 
1892
1938
  def deserialize(params)
@@ -1895,6 +1941,8 @@ module TencentCloud
1895
1941
  @Zone = params['Zone']
1896
1942
  @Offset = params['Offset']
1897
1943
  @Limit = params['Limit']
1944
+ @HpcClusterType = params['HpcClusterType']
1945
+ @HpcClusterBusinessId = params['HpcClusterBusinessId']
1898
1946
  end
1899
1947
  end
1900
1948
 
@@ -2306,6 +2354,69 @@ module TencentCloud
2306
2354
  end
2307
2355
  end
2308
2356
 
2357
+ # DescribeInstancesActionTimer请求参数结构体
2358
+ class DescribeInstancesActionTimerRequest < TencentCloud::Common::AbstractModel
2359
+ # @param ActionTimerIds: 定时任务ID列表。
2360
+ # @type ActionTimerIds: Array
2361
+ # @param InstanceIds: 按照一个或者多个实例ID查询。
2362
+ # @type InstanceIds: Array
2363
+ # @param TimerAction: 定时任务执行时间,格式如:2018-05-01 19:00:00,必须大于当前时间5分钟。
2364
+ # @type TimerAction: String
2365
+ # @param EndActionTime: 执行时间的结束范围,用于条件筛选,格式如2018-05-01 19:00:00。
2366
+ # @type EndActionTime: String
2367
+ # @param StartActionTime: 执行时间的开始范围,用于条件筛选,格式如2018-05-01 19:00:00。
2368
+ # @type StartActionTime: String
2369
+ # @param StatusList: 定时任务状态列表。<br><li>UNDO:未执行<br><li>DOING:正在执行<br><li>DONE:执行完成。
2370
+ # @type StatusList: Array
2371
+
2372
+ attr_accessor :ActionTimerIds, :InstanceIds, :TimerAction, :EndActionTime, :StartActionTime, :StatusList
2373
+
2374
+ def initialize(actiontimerids=nil, instanceids=nil, timeraction=nil, endactiontime=nil, startactiontime=nil, statuslist=nil)
2375
+ @ActionTimerIds = actiontimerids
2376
+ @InstanceIds = instanceids
2377
+ @TimerAction = timeraction
2378
+ @EndActionTime = endactiontime
2379
+ @StartActionTime = startactiontime
2380
+ @StatusList = statuslist
2381
+ end
2382
+
2383
+ def deserialize(params)
2384
+ @ActionTimerIds = params['ActionTimerIds']
2385
+ @InstanceIds = params['InstanceIds']
2386
+ @TimerAction = params['TimerAction']
2387
+ @EndActionTime = params['EndActionTime']
2388
+ @StartActionTime = params['StartActionTime']
2389
+ @StatusList = params['StatusList']
2390
+ end
2391
+ end
2392
+
2393
+ # DescribeInstancesActionTimer返回参数结构体
2394
+ class DescribeInstancesActionTimerResponse < TencentCloud::Common::AbstractModel
2395
+ # @param ActionTimers: 定时任务信息列表。
2396
+ # @type ActionTimers: Array
2397
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2398
+ # @type RequestId: String
2399
+
2400
+ attr_accessor :ActionTimers, :RequestId
2401
+
2402
+ def initialize(actiontimers=nil, requestid=nil)
2403
+ @ActionTimers = actiontimers
2404
+ @RequestId = requestid
2405
+ end
2406
+
2407
+ def deserialize(params)
2408
+ unless params['ActionTimers'].nil?
2409
+ @ActionTimers = []
2410
+ params['ActionTimers'].each do |i|
2411
+ actiontimer_tmp = ActionTimer.new
2412
+ actiontimer_tmp.deserialize(i)
2413
+ @ActionTimers << actiontimer_tmp
2414
+ end
2415
+ end
2416
+ @RequestId = params['RequestId']
2417
+ end
2418
+ end
2419
+
2309
2420
  # DescribeInstancesModification请求参数结构体
2310
2421
  class DescribeInstancesModificationRequest < TencentCloud::Common::AbstractModel
2311
2422
  # @param InstanceIds: 一个或多个待查询的实例ID。可通过 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728) 接口返回值中的`InstanceId`获取。每次请求批量实例的上限为20。
@@ -3815,10 +3926,16 @@ module TencentCloud
3815
3926
  # @param InstanceIds: 集群内实例ID列表
3816
3927
  # 注意:此字段可能返回 null,表示取不到有效值。
3817
3928
  # @type InstanceIds: Array
3929
+ # @param HpcClusterType: 高性能计算集群类型。
3930
+ # 注意:此字段可能返回 null,表示取不到有效值。
3931
+ # @type HpcClusterType: String
3932
+ # @param HpcClusterBusinessId: 高性能计算集群对应的业务场景标识,当前只支持CDC。
3933
+ # 注意:此字段可能返回 null,表示取不到有效值。
3934
+ # @type HpcClusterBusinessId: String
3818
3935
 
3819
- attr_accessor :HpcClusterId, :Name, :Remark, :CvmQuotaTotal, :Zone, :CurrentNum, :CreateTime, :InstanceIds
3936
+ attr_accessor :HpcClusterId, :Name, :Remark, :CvmQuotaTotal, :Zone, :CurrentNum, :CreateTime, :InstanceIds, :HpcClusterType, :HpcClusterBusinessId
3820
3937
 
3821
- def initialize(hpcclusterid=nil, name=nil, remark=nil, cvmquotatotal=nil, zone=nil, currentnum=nil, createtime=nil, instanceids=nil)
3938
+ def initialize(hpcclusterid=nil, name=nil, remark=nil, cvmquotatotal=nil, zone=nil, currentnum=nil, createtime=nil, instanceids=nil, hpcclustertype=nil, hpcclusterbusinessid=nil)
3822
3939
  @HpcClusterId = hpcclusterid
3823
3940
  @Name = name
3824
3941
  @Remark = remark
@@ -3827,6 +3944,8 @@ module TencentCloud
3827
3944
  @CurrentNum = currentnum
3828
3945
  @CreateTime = createtime
3829
3946
  @InstanceIds = instanceids
3947
+ @HpcClusterType = hpcclustertype
3948
+ @HpcClusterBusinessId = hpcclusterbusinessid
3830
3949
  end
3831
3950
 
3832
3951
  def deserialize(params)
@@ -3838,6 +3957,8 @@ module TencentCloud
3838
3957
  @CurrentNum = params['CurrentNum']
3839
3958
  @CreateTime = params['CreateTime']
3840
3959
  @InstanceIds = params['InstanceIds']
3960
+ @HpcClusterType = params['HpcClusterType']
3961
+ @HpcClusterBusinessId = params['HpcClusterBusinessId']
3841
3962
  end
3842
3963
  end
3843
3964
 
@@ -4070,6 +4191,49 @@ module TencentCloud
4070
4191
  end
4071
4192
  end
4072
4193
 
4194
+ # ImportInstancesActionTimer请求参数结构体
4195
+ class ImportInstancesActionTimerRequest < TencentCloud::Common::AbstractModel
4196
+ # @param InstanceIds: 实例id列表,可以通过DescribeInstances接口查询到。
4197
+ # @type InstanceIds: Array
4198
+ # @param ActionTimer: 定时器任务信息,目前仅支持定时销毁。
4199
+ # @type ActionTimer: :class:`Tencentcloud::Cvm.v20170312.models.ActionTimer`
4200
+
4201
+ attr_accessor :InstanceIds, :ActionTimer
4202
+
4203
+ def initialize(instanceids=nil, actiontimer=nil)
4204
+ @InstanceIds = instanceids
4205
+ @ActionTimer = actiontimer
4206
+ end
4207
+
4208
+ def deserialize(params)
4209
+ @InstanceIds = params['InstanceIds']
4210
+ unless params['ActionTimer'].nil?
4211
+ @ActionTimer = ActionTimer.new
4212
+ @ActionTimer.deserialize(params['ActionTimer'])
4213
+ end
4214
+ end
4215
+ end
4216
+
4217
+ # ImportInstancesActionTimer返回参数结构体
4218
+ class ImportInstancesActionTimerResponse < TencentCloud::Common::AbstractModel
4219
+ # @param ActionTimerIds: 定时器id列表
4220
+ # @type ActionTimerIds: Array
4221
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4222
+ # @type RequestId: String
4223
+
4224
+ attr_accessor :ActionTimerIds, :RequestId
4225
+
4226
+ def initialize(actiontimerids=nil, requestid=nil)
4227
+ @ActionTimerIds = actiontimerids
4228
+ @RequestId = requestid
4229
+ end
4230
+
4231
+ def deserialize(params)
4232
+ @ActionTimerIds = params['ActionTimerIds']
4233
+ @RequestId = params['RequestId']
4234
+ end
4235
+ end
4236
+
4073
4237
  # ImportKeyPair请求参数结构体
4074
4238
  class ImportKeyPairRequest < TencentCloud::Common::AbstractModel
4075
4239
  # @param KeyName: 密钥对名称,可由数字,字母和下划线组成,长度不超过25个字符。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cvm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.768
4
+ version: 3.0.770
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-02-22 00:00:00.000000000 Z
11
+ date: 2024-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common