tencentcloud-sdk-cynosdb 3.0.868 → 3.0.869
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/v20190107/client.rb +48 -0
- data/lib/v20190107/models.rb +135 -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: 7a5439f776efad72cb887c07fdaeb40b5e18cedb
|
4
|
+
data.tar.gz: 04993f5c880f155e13554e2a6088a7b3c0e39bc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0771bdb185a405c1215b7b11f364b38188050e46561b54451acb555370dae45d866aa975dd27a7b683b5a2e03d3e665b11fb2c237ac7fa5cf91d017704d6cf4
|
7
|
+
data.tar.gz: f348e728f1805a37dc06abf8d54ad4848c6c6f7a8c5490dca2000febe88d1c7d6b907f2116586c6ad5ed2a6e2a35e6be0252bd99059408a05be794f441a836ec
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.869
|
data/lib/v20190107/client.rb
CHANGED
@@ -1951,6 +1951,30 @@ module TencentCloud
|
|
1951
1951
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1952
1952
|
end
|
1953
1953
|
|
1954
|
+
# 资源包使用明细导出
|
1955
|
+
|
1956
|
+
# @param request: Request instance for ExportResourcePackageDeductDetails.
|
1957
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::ExportResourcePackageDeductDetailsRequest`
|
1958
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::ExportResourcePackageDeductDetailsResponse`
|
1959
|
+
def ExportResourcePackageDeductDetails(request)
|
1960
|
+
body = send_request('ExportResourcePackageDeductDetails', request.serialize)
|
1961
|
+
response = JSON.parse(body)
|
1962
|
+
if response['Response'].key?('Error') == false
|
1963
|
+
model = ExportResourcePackageDeductDetailsResponse.new
|
1964
|
+
model.deserialize(response['Response'])
|
1965
|
+
model
|
1966
|
+
else
|
1967
|
+
code = response['Response']['Error']['Code']
|
1968
|
+
message = response['Response']['Error']['Message']
|
1969
|
+
reqid = response['Response']['RequestId']
|
1970
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1971
|
+
end
|
1972
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1973
|
+
raise e
|
1974
|
+
rescue StandardError => e
|
1975
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1976
|
+
end
|
1977
|
+
|
1954
1978
|
# 批量授权账号权限
|
1955
1979
|
|
1956
1980
|
# @param request: Request instance for GrantAccountPrivileges.
|
@@ -2671,6 +2695,30 @@ module TencentCloud
|
|
2671
2695
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2672
2696
|
end
|
2673
2697
|
|
2698
|
+
# 修改已绑定资源包抵扣优先级
|
2699
|
+
|
2700
|
+
# @param request: Request instance for ModifyResourcePackagesDeductionPriority.
|
2701
|
+
# @type request: :class:`Tencentcloud::cynosdb::V20190107::ModifyResourcePackagesDeductionPriorityRequest`
|
2702
|
+
# @rtype: :class:`Tencentcloud::cynosdb::V20190107::ModifyResourcePackagesDeductionPriorityResponse`
|
2703
|
+
def ModifyResourcePackagesDeductionPriority(request)
|
2704
|
+
body = send_request('ModifyResourcePackagesDeductionPriority', request.serialize)
|
2705
|
+
response = JSON.parse(body)
|
2706
|
+
if response['Response'].key?('Error') == false
|
2707
|
+
model = ModifyResourcePackagesDeductionPriorityResponse.new
|
2708
|
+
model.deserialize(response['Response'])
|
2709
|
+
model
|
2710
|
+
else
|
2711
|
+
code = response['Response']['Error']['Code']
|
2712
|
+
message = response['Response']['Error']['Message']
|
2713
|
+
reqid = response['Response']['RequestId']
|
2714
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2715
|
+
end
|
2716
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2717
|
+
raise e
|
2718
|
+
rescue StandardError => e
|
2719
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2720
|
+
end
|
2721
|
+
|
2674
2722
|
# 修改实例组ip,端口
|
2675
2723
|
|
2676
2724
|
# @param request: Request instance for ModifyVipVport.
|
data/lib/v20190107/models.rb
CHANGED
@@ -7584,6 +7584,74 @@ module TencentCloud
|
|
7584
7584
|
end
|
7585
7585
|
end
|
7586
7586
|
|
7587
|
+
# ExportResourcePackageDeductDetails请求参数结构体
|
7588
|
+
class ExportResourcePackageDeductDetailsRequest < TencentCloud::Common::AbstractModel
|
7589
|
+
# @param PackageId: 需要导出的资源包ID
|
7590
|
+
# @type PackageId: String
|
7591
|
+
# @param ClusterIds: 使用资源包容量的cynos集群ID
|
7592
|
+
# @type ClusterIds: Array
|
7593
|
+
# @param OrderBy: 排序字段,目前支持:createTime(资源包被抵扣时间),successDeductSpec(资源包抵扣量)
|
7594
|
+
# @type OrderBy: String
|
7595
|
+
# @param OrderByType: 排序类型,支持ASC、DESC、asc、desc
|
7596
|
+
# @type OrderByType: String
|
7597
|
+
# @param StartTime: 开始时间
|
7598
|
+
# @type StartTime: String
|
7599
|
+
# @param EndTime: 结束时间
|
7600
|
+
# @type EndTime: String
|
7601
|
+
# @param Limit: 单次最大导出数据行数,目前最大支持2000行
|
7602
|
+
# @type Limit: String
|
7603
|
+
# @param Offset: 偏移量页数
|
7604
|
+
# @type Offset: String
|
7605
|
+
# @param FileType: 导出数据格式,目前仅支持csv格式,留作扩展
|
7606
|
+
# @type FileType: String
|
7607
|
+
|
7608
|
+
attr_accessor :PackageId, :ClusterIds, :OrderBy, :OrderByType, :StartTime, :EndTime, :Limit, :Offset, :FileType
|
7609
|
+
|
7610
|
+
def initialize(packageid=nil, clusterids=nil, orderby=nil, orderbytype=nil, starttime=nil, endtime=nil, limit=nil, offset=nil, filetype=nil)
|
7611
|
+
@PackageId = packageid
|
7612
|
+
@ClusterIds = clusterids
|
7613
|
+
@OrderBy = orderby
|
7614
|
+
@OrderByType = orderbytype
|
7615
|
+
@StartTime = starttime
|
7616
|
+
@EndTime = endtime
|
7617
|
+
@Limit = limit
|
7618
|
+
@Offset = offset
|
7619
|
+
@FileType = filetype
|
7620
|
+
end
|
7621
|
+
|
7622
|
+
def deserialize(params)
|
7623
|
+
@PackageId = params['PackageId']
|
7624
|
+
@ClusterIds = params['ClusterIds']
|
7625
|
+
@OrderBy = params['OrderBy']
|
7626
|
+
@OrderByType = params['OrderByType']
|
7627
|
+
@StartTime = params['StartTime']
|
7628
|
+
@EndTime = params['EndTime']
|
7629
|
+
@Limit = params['Limit']
|
7630
|
+
@Offset = params['Offset']
|
7631
|
+
@FileType = params['FileType']
|
7632
|
+
end
|
7633
|
+
end
|
7634
|
+
|
7635
|
+
# ExportResourcePackageDeductDetails返回参数结构体
|
7636
|
+
class ExportResourcePackageDeductDetailsResponse < TencentCloud::Common::AbstractModel
|
7637
|
+
# @param FileContent: 文件详情
|
7638
|
+
# @type FileContent: String
|
7639
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7640
|
+
# @type RequestId: String
|
7641
|
+
|
7642
|
+
attr_accessor :FileContent, :RequestId
|
7643
|
+
|
7644
|
+
def initialize(filecontent=nil, requestid=nil)
|
7645
|
+
@FileContent = filecontent
|
7646
|
+
@RequestId = requestid
|
7647
|
+
end
|
7648
|
+
|
7649
|
+
def deserialize(params)
|
7650
|
+
@FileContent = params['FileContent']
|
7651
|
+
@RequestId = params['RequestId']
|
7652
|
+
end
|
7653
|
+
end
|
7654
|
+
|
7587
7655
|
# GrantAccountPrivileges请求参数结构体
|
7588
7656
|
class GrantAccountPrivilegesRequest < TencentCloud::Common::AbstractModel
|
7589
7657
|
# @param ClusterId: 集群id
|
@@ -9889,6 +9957,53 @@ module TencentCloud
|
|
9889
9957
|
end
|
9890
9958
|
end
|
9891
9959
|
|
9960
|
+
# ModifyResourcePackagesDeductionPriority请求参数结构体
|
9961
|
+
class ModifyResourcePackagesDeductionPriorityRequest < TencentCloud::Common::AbstractModel
|
9962
|
+
# @param PackageType: 需要修改优先级的资源包类型,CCU:计算资源包,DISK:存储资源包
|
9963
|
+
# @type PackageType: String
|
9964
|
+
# @param ClusterId: 修改后的抵扣优先级对于哪个cynos资源生效
|
9965
|
+
# @type ClusterId: String
|
9966
|
+
# @param DeductionPriorities: 资源包抵扣优先级
|
9967
|
+
# @type DeductionPriorities: Array
|
9968
|
+
|
9969
|
+
attr_accessor :PackageType, :ClusterId, :DeductionPriorities
|
9970
|
+
|
9971
|
+
def initialize(packagetype=nil, clusterid=nil, deductionpriorities=nil)
|
9972
|
+
@PackageType = packagetype
|
9973
|
+
@ClusterId = clusterid
|
9974
|
+
@DeductionPriorities = deductionpriorities
|
9975
|
+
end
|
9976
|
+
|
9977
|
+
def deserialize(params)
|
9978
|
+
@PackageType = params['PackageType']
|
9979
|
+
@ClusterId = params['ClusterId']
|
9980
|
+
unless params['DeductionPriorities'].nil?
|
9981
|
+
@DeductionPriorities = []
|
9982
|
+
params['DeductionPriorities'].each do |i|
|
9983
|
+
packagepriority_tmp = PackagePriority.new
|
9984
|
+
packagepriority_tmp.deserialize(i)
|
9985
|
+
@DeductionPriorities << packagepriority_tmp
|
9986
|
+
end
|
9987
|
+
end
|
9988
|
+
end
|
9989
|
+
end
|
9990
|
+
|
9991
|
+
# ModifyResourcePackagesDeductionPriority返回参数结构体
|
9992
|
+
class ModifyResourcePackagesDeductionPriorityResponse < TencentCloud::Common::AbstractModel
|
9993
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9994
|
+
# @type RequestId: String
|
9995
|
+
|
9996
|
+
attr_accessor :RequestId
|
9997
|
+
|
9998
|
+
def initialize(requestid=nil)
|
9999
|
+
@RequestId = requestid
|
10000
|
+
end
|
10001
|
+
|
10002
|
+
def deserialize(params)
|
10003
|
+
@RequestId = params['RequestId']
|
10004
|
+
end
|
10005
|
+
end
|
10006
|
+
|
9892
10007
|
# ModifyVipVport请求参数结构体
|
9893
10008
|
class ModifyVipVportRequest < TencentCloud::Common::AbstractModel
|
9894
10009
|
# @param ClusterId: 集群id
|
@@ -10612,6 +10727,26 @@ module TencentCloud
|
|
10612
10727
|
end
|
10613
10728
|
end
|
10614
10729
|
|
10730
|
+
# 资源包抵扣优先级
|
10731
|
+
class PackagePriority < TencentCloud::Common::AbstractModel
|
10732
|
+
# @param PackageId: 需要自定义抵扣优先级的资源包
|
10733
|
+
# @type PackageId: String
|
10734
|
+
# @param DeductionPriority: 自定义的抵扣优先级
|
10735
|
+
# @type DeductionPriority: Integer
|
10736
|
+
|
10737
|
+
attr_accessor :PackageId, :DeductionPriority
|
10738
|
+
|
10739
|
+
def initialize(packageid=nil, deductionpriority=nil)
|
10740
|
+
@PackageId = packageid
|
10741
|
+
@DeductionPriority = deductionpriority
|
10742
|
+
end
|
10743
|
+
|
10744
|
+
def deserialize(params)
|
10745
|
+
@PackageId = params['PackageId']
|
10746
|
+
@DeductionPriority = params['DeductionPriority']
|
10747
|
+
end
|
10748
|
+
end
|
10749
|
+
|
10615
10750
|
# 实例参数详细描述
|
10616
10751
|
class ParamDetail < TencentCloud::Common::AbstractModel
|
10617
10752
|
# @param ParamName: 参数名称
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cynosdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.869
|
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-07-
|
11
|
+
date: 2024-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|