tencentcloud-sdk-cynosdb 3.0.868 → 3.0.870

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: 01e87da223ea39dc9fd9434e58a6595560afb5b5
4
- data.tar.gz: 0ba3dd7bd5ba6f2a4a40b44988843f6440a8343d
3
+ metadata.gz: 7bf935859e56f21072242868fdc976cecdf984db
4
+ data.tar.gz: f52e94b487e5fc71f670ebf14446a1faea361217
5
5
  SHA512:
6
- metadata.gz: d7edf383da111ddbc003e6bb1c02729fa3486e81c322a331a63e0364b79833efefd7bffc035a76929759e4844ee411fb6e0ff15e7b62d51a28e76a9e5a59c687
7
- data.tar.gz: 8cf3ce37d0a9570883f8e1f3d64e7f72cf476ed71151e78651ed0d08c3092cc5824c7ce05fe39a1ee09a4e292c6639bfc080b8daebe0ddedde21ea05bf57f260
6
+ metadata.gz: 691f60de23332e947a7d93fd742d684b8a52dbf5f516e4da3d5aec38bd2fb6cc4cb56e26b0b474776cdc0b49bae65d9cfd7fceb1cd9c06a85d244f9aee7a5f84
7
+ data.tar.gz: bf88b2a37219f4c30e0298fa3dc55e3785a3b8790bcb9f6484617226c800001a73fb6875cf4eef70f63e9375b8e4dd720eb93bb8a7053f74d98b4e592f814bcc
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.868
1
+ 3.0.870
@@ -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.
@@ -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.868
4
+ version: 3.0.870
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-18 00:00:00.000000000 Z
11
+ date: 2024-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common