tencentcloud-sdk-lighthouse 3.0.770 → 3.0.771

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: 47db99d61d8c5c4a24618f199ff072482df47b5f
4
- data.tar.gz: 7c9661d24bd9996c3a42ec7c4a532f8524b8e5d5
3
+ metadata.gz: 97d1e761468fc732db93d7244b2390bf5bf3da1a
4
+ data.tar.gz: 53afa2c057b5b3b1c25d02b380afefe2565c7b77
5
5
  SHA512:
6
- metadata.gz: 96b93cf859e167997ba1766f5c619bff46a7c3f548b1fa80b0e27925be3452487b20f9af2f74343a0841a19817d7129b274aebf0ab91189cb529db2bf5b87eae
7
- data.tar.gz: 341b6d787189abf9ab028e6560310b95d6b05d9c819a8b7d5a8022d906f68bb8d20e25bcf39f29e510310addb203835fc8288bffef7fa5cb65521c82dc77aa0b
6
+ metadata.gz: f5c73efef7677b2da2e40a8898e710cc3abd1b2777a2baae9b29760e57a16382c8d99d6d2c7d4d39288075d02c5ed0f84d51b857d805cd982a8a0f628acfea96
7
+ data.tar.gz: 91767148e7757dc81af01b756b7b063ca8f4a02ce01acf5cce40e53bc1a8c329c42455fd407b8b3022543c4396641e5a963c2a51cff97ed67bfb4a641fb0fcd7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.770
1
+ 3.0.771
@@ -1946,6 +1946,30 @@ module TencentCloud
1946
1946
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1947
1947
  end
1948
1948
 
1949
+ # 本接口(ModifyDisksBackupQuota)用于调整云硬盘备份点配额。该操作目前仅支持云硬盘类型为数据盘的云硬盘。
1950
+
1951
+ # @param request: Request instance for ModifyDisksBackupQuota.
1952
+ # @type request: :class:`Tencentcloud::lighthouse::V20200324::ModifyDisksBackupQuotaRequest`
1953
+ # @rtype: :class:`Tencentcloud::lighthouse::V20200324::ModifyDisksBackupQuotaResponse`
1954
+ def ModifyDisksBackupQuota(request)
1955
+ body = send_request('ModifyDisksBackupQuota', request.serialize)
1956
+ response = JSON.parse(body)
1957
+ if response['Response'].key?('Error') == false
1958
+ model = ModifyDisksBackupQuotaResponse.new
1959
+ model.deserialize(response['Response'])
1960
+ model
1961
+ else
1962
+ code = response['Response']['Error']['Code']
1963
+ message = response['Response']['Error']['Message']
1964
+ reqid = response['Response']['RequestId']
1965
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1966
+ end
1967
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1968
+ raise e
1969
+ rescue StandardError => e
1970
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1971
+ end
1972
+
1949
1973
  # 本接口(ModifyDisksRenewFlag)用于修改云硬盘续费标识。
1950
1974
 
1951
1975
  # @param request: Request instance for ModifyDisksRenewFlag.
@@ -2503,6 +2527,30 @@ module TencentCloud
2503
2527
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2504
2528
  end
2505
2529
 
2530
+ # 本接口(ResizeDisks)用于扩容云硬盘。该操作目前仅支持云硬盘类型为数据盘的云硬盘。
2531
+
2532
+ # @param request: Request instance for ResizeDisks.
2533
+ # @type request: :class:`Tencentcloud::lighthouse::V20200324::ResizeDisksRequest`
2534
+ # @rtype: :class:`Tencentcloud::lighthouse::V20200324::ResizeDisksResponse`
2535
+ def ResizeDisks(request)
2536
+ body = send_request('ResizeDisks', request.serialize)
2537
+ response = JSON.parse(body)
2538
+ if response['Response'].key?('Error') == false
2539
+ model = ResizeDisksResponse.new
2540
+ model.deserialize(response['Response'])
2541
+ model
2542
+ else
2543
+ code = response['Response']['Error']['Code']
2544
+ message = response['Response']['Error']['Message']
2545
+ reqid = response['Response']['RequestId']
2546
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2547
+ end
2548
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2549
+ raise e
2550
+ rescue StandardError => e
2551
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2552
+ end
2553
+
2506
2554
  # 重启实例内的Docker容器,之后可以通过返回的ActivityId调用DescribeDockerActivities接口查询重启情况。
2507
2555
 
2508
2556
  # @param request: Request instance for RestartDockerContainers.
@@ -5807,6 +5807,42 @@ module TencentCloud
5807
5807
  end
5808
5808
  end
5809
5809
 
5810
+ # ModifyDisksBackupQuota请求参数结构体
5811
+ class ModifyDisksBackupQuotaRequest < TencentCloud::Common::AbstractModel
5812
+ # @param DiskIds: 云硬盘ID列表,可通过[DescribeDisks](https://cloud.tencent.com/document/api/1207/66093)接口查询。列表最大长度为15。
5813
+ # @type DiskIds: Array
5814
+ # @param DiskBackupQuota: 云硬盘备份点配额。取值范围: [0, 500]。调整后的配额必须不小于已存在的备份点数量。
5815
+ # @type DiskBackupQuota: Integer
5816
+
5817
+ attr_accessor :DiskIds, :DiskBackupQuota
5818
+
5819
+ def initialize(diskids=nil, diskbackupquota=nil)
5820
+ @DiskIds = diskids
5821
+ @DiskBackupQuota = diskbackupquota
5822
+ end
5823
+
5824
+ def deserialize(params)
5825
+ @DiskIds = params['DiskIds']
5826
+ @DiskBackupQuota = params['DiskBackupQuota']
5827
+ end
5828
+ end
5829
+
5830
+ # ModifyDisksBackupQuota返回参数结构体
5831
+ class ModifyDisksBackupQuotaResponse < TencentCloud::Common::AbstractModel
5832
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5833
+ # @type RequestId: String
5834
+
5835
+ attr_accessor :RequestId
5836
+
5837
+ def initialize(requestid=nil)
5838
+ @RequestId = requestid
5839
+ end
5840
+
5841
+ def deserialize(params)
5842
+ @RequestId = params['RequestId']
5843
+ end
5844
+ end
5845
+
5810
5846
  # ModifyDisksRenewFlag请求参数结构体
5811
5847
  class ModifyDisksRenewFlagRequest < TencentCloud::Common::AbstractModel
5812
5848
  # @param DiskIds: 云硬盘ID列表。
@@ -6857,6 +6893,42 @@ module TencentCloud
6857
6893
  end
6858
6894
  end
6859
6895
 
6896
+ # ResizeDisks请求参数结构体
6897
+ class ResizeDisksRequest < TencentCloud::Common::AbstractModel
6898
+ # @param DiskIds: 云硬盘ID列表,可通过[DescribeDisks](https://cloud.tencent.com/document/api/1207/66093)接口查询。列表最大长度为15。
6899
+ # @type DiskIds: Array
6900
+ # @param DiskSize: 扩容后的云硬盘大小。单位: GB。高性能云硬盘大小取值范围:[10, 4000] ,SSD云硬盘大小取值范围:[20, 4000]。扩容后的云硬盘大小必须大于当前云硬盘大小。
6901
+ # @type DiskSize: Integer
6902
+
6903
+ attr_accessor :DiskIds, :DiskSize
6904
+
6905
+ def initialize(diskids=nil, disksize=nil)
6906
+ @DiskIds = diskids
6907
+ @DiskSize = disksize
6908
+ end
6909
+
6910
+ def deserialize(params)
6911
+ @DiskIds = params['DiskIds']
6912
+ @DiskSize = params['DiskSize']
6913
+ end
6914
+ end
6915
+
6916
+ # ResizeDisks返回参数结构体
6917
+ class ResizeDisksResponse < TencentCloud::Common::AbstractModel
6918
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6919
+ # @type RequestId: String
6920
+
6921
+ attr_accessor :RequestId
6922
+
6923
+ def initialize(requestid=nil)
6924
+ @RequestId = requestid
6925
+ end
6926
+
6927
+ def deserialize(params)
6928
+ @RequestId = params['RequestId']
6929
+ end
6930
+ end
6931
+
6860
6932
  # RestartDockerContainers请求参数结构体
6861
6933
  class RestartDockerContainersRequest < TencentCloud::Common::AbstractModel
6862
6934
  # @param InstanceId: 实例ID。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-lighthouse
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.770
4
+ version: 3.0.771
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-27 00:00:00.000000000 Z
11
+ date: 2024-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common