tencentcloud-sdk-billing 3.0.1197 → 3.0.1208

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de234632311239eebdc26f2f901ec341df10c0ac
4
- data.tar.gz: 5f6c1971451c3d6dde1ccb77080856cc8de98634
3
+ metadata.gz: d17a090c12fabd9ba807fee46cb2443d21a9c081
4
+ data.tar.gz: 975cf34d331b97a293c6819e8a26912c6cc44cbd
5
5
  SHA512:
6
- metadata.gz: 68306ee67d065c6a4c9e28f56dcd55924b913fdde1ec877e8c74eec793e437edf506354a9795451f55f77494a97b85fedabe933da2f5f86940e752deed47de30
7
- data.tar.gz: 345d3d57e2a71495e97f21bdd0058777f714155361442f98af12c31071dd4606fb219145ce69a65390778bfb62739fefbafc3838d189c22a36e687f112d465be
6
+ metadata.gz: dd6a8c0627ca396d4527f12b1a66b27d503c67e16ac46edb883d296b9e24b3e88189bb627eaef42555450bc55212424b6a277b34f8b466085e50448f418532c9
7
+ data.tar.gz: f2f9e5e460f2ab058f3c2bee4e0eb4c2892e876ec6806b50bcbb7dd4fd5cebbcbd935847766f057ff61a3aa0ecfb07189348f4859da726a9f58349fba6073d63
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1197
1
+ 3.0.1208
@@ -149,6 +149,30 @@ module TencentCloud
149
149
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
150
  end
151
151
 
152
+ # 创建一个实例资源,会创建一个新购实例资源的订单,并通过腾讯云账户余额自动支付。调用该接口的账号需要授予finace:trade的权限,否则无法支付成功。目前已接入并支持购买的产品包括:T-Sec-Web应用防火墙、云防火墙、主机安全、主机容器、云安全中心、T-Sec-密钥管理系统。
153
+
154
+ # @param request: Request instance for CreateInstance.
155
+ # @type request: :class:`Tencentcloud::billing::V20180709::CreateInstanceRequest`
156
+ # @rtype: :class:`Tencentcloud::billing::V20180709::CreateInstanceResponse`
157
+ def CreateInstance(request)
158
+ body = send_request('CreateInstance', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = CreateInstanceResponse.new
162
+ model.deserialize(response['Response'])
163
+ model
164
+ else
165
+ code = response['Response']['Error']['Code']
166
+ message = response['Response']['Error']['Message']
167
+ reqid = response['Response']['RequestId']
168
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
169
+ end
170
+ rescue TencentCloud::Common::TencentCloudSDKException => e
171
+ raise e
172
+ rescue StandardError => e
173
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
+ end
175
+
152
176
  # 公摊规则删除接口
153
177
 
154
178
  # @param request: Request instance for DeleteAllocationRule.
@@ -1332,6 +1356,32 @@ module TencentCloud
1332
1356
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1333
1357
  end
1334
1358
 
1359
+ # 注意事项:
1360
+ # 1、本接口支持查询已接入续费管理页的包年包月实例,包括运行中、已隔离(部分产品不支持)
1361
+ # 2、子用户使用该接口时,应具备QcloudFinanceRenewManageFullAccess权限策略。
1362
+
1363
+ # @param request: Request instance for DescribeRenewInstances.
1364
+ # @type request: :class:`Tencentcloud::billing::V20180709::DescribeRenewInstancesRequest`
1365
+ # @rtype: :class:`Tencentcloud::billing::V20180709::DescribeRenewInstancesResponse`
1366
+ def DescribeRenewInstances(request)
1367
+ body = send_request('DescribeRenewInstances', request.serialize)
1368
+ response = JSON.parse(body)
1369
+ if response['Response'].key?('Error') == false
1370
+ model = DescribeRenewInstancesResponse.new
1371
+ model.deserialize(response['Response'])
1372
+ model
1373
+ else
1374
+ code = response['Response']['Error']['Code']
1375
+ message = response['Response']['Error']['Message']
1376
+ reqid = response['Response']['RequestId']
1377
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1378
+ end
1379
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1380
+ raise e
1381
+ rescue StandardError => e
1382
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1383
+ end
1384
+
1335
1385
  # 查询节省计划详情
1336
1386
 
1337
1387
  # @param request: Request instance for DescribeSavingPlanResourceInfo.
@@ -1548,6 +1598,54 @@ module TencentCloud
1548
1598
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1549
1599
  end
1550
1600
 
1601
+ # 退订不再需要的实例,只退还实付金额的部分,已使用的代金券不退还,退还的实付金额默认退到腾讯云账户余额中。调用该接口的账号需要授予finace:RefundInstance的权限,否则无法支付成功。目前已接入并支持退订的产品包括:T-Sec-Web应用防火墙、云防火墙、主机安全、主机容器、云安全中心、T-Sec-密钥管理系统。
1602
+
1603
+ # @param request: Request instance for RefundInstance.
1604
+ # @type request: :class:`Tencentcloud::billing::V20180709::RefundInstanceRequest`
1605
+ # @rtype: :class:`Tencentcloud::billing::V20180709::RefundInstanceResponse`
1606
+ def RefundInstance(request)
1607
+ body = send_request('RefundInstance', request.serialize)
1608
+ response = JSON.parse(body)
1609
+ if response['Response'].key?('Error') == false
1610
+ model = RefundInstanceResponse.new
1611
+ model.deserialize(response['Response'])
1612
+ model
1613
+ else
1614
+ code = response['Response']['Error']['Code']
1615
+ message = response['Response']['Error']['Message']
1616
+ reqid = response['Response']['RequestId']
1617
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1618
+ end
1619
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1620
+ raise e
1621
+ rescue StandardError => e
1622
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1623
+ end
1624
+
1625
+ # 续费一台实例,调用该接口续费服务器时,您需要确保您的腾讯云账户余额充足,否则会续费失败。调用该接口的账号需要授予finace:trade的权限,否则无法续费成功。目前已接入并支持续费的产品包括:T-Sec-Web应用防火墙、云防火墙、主机安全、主机容器、云安全中心、T-Sec-密钥管理系统。
1626
+
1627
+ # @param request: Request instance for RenewInstance.
1628
+ # @type request: :class:`Tencentcloud::billing::V20180709::RenewInstanceRequest`
1629
+ # @rtype: :class:`Tencentcloud::billing::V20180709::RenewInstanceResponse`
1630
+ def RenewInstance(request)
1631
+ body = send_request('RenewInstance', request.serialize)
1632
+ response = JSON.parse(body)
1633
+ if response['Response'].key?('Error') == false
1634
+ model = RenewInstanceResponse.new
1635
+ model.deserialize(response['Response'])
1636
+ model
1637
+ else
1638
+ code = response['Response']['Error']['Code']
1639
+ message = response['Response']['Error']['Message']
1640
+ reqid = response['Response']['RequestId']
1641
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1642
+ end
1643
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1644
+ raise e
1645
+ rescue StandardError => e
1646
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1647
+ end
1648
+
1551
1649
 
1552
1650
  end
1553
1651
  end
@@ -5065,6 +5065,91 @@ module TencentCloud
5065
5065
  end
5066
5066
  end
5067
5067
 
5068
+ # CreateInstance请求参数结构体
5069
+ class CreateInstanceRequest < TencentCloud::Common::AbstractModel
5070
+ # @param ClientToken: ClientToken是一个由客户端生成的唯一的、区分大小写、不超过64个ASCII字符的字符串。例如,ClientToken=123e4567-e89b-12d3-a456-42665544****。
5071
+ # @type ClientToken: String
5072
+ # @param ProductCode: 产品一层code
5073
+ # @type ProductCode: String
5074
+ # @param SubProductCode: 产品二层code
5075
+ # @type SubProductCode: String
5076
+ # @param RegionCode: 地域code
5077
+ # @type RegionCode: String
5078
+ # @param ZoneCode: 可用区code
5079
+ # @type ZoneCode: String
5080
+ # @param PayMode: 付费类型,取值: PrePay:预付费
5081
+ # @type PayMode: String
5082
+ # @param Parameter: 商品详情信息
5083
+ # @type Parameter: String
5084
+ # @param Quantity: 商品数量,默认取值1
5085
+ # @type Quantity: Integer
5086
+ # @param ProjectId: 项目id,默认取0
5087
+ # @type ProjectId: Integer
5088
+ # @param Period: 新购时长,取值上限:36,默认取值1
5089
+ # @type Period: Integer
5090
+ # @param PeriodUnit: 新购时长单位,取值:m:按月购买,y:按年购买,默认取值m
5091
+ # @type PeriodUnit: String
5092
+ # @param RenewFlag: 自动续费标识,取值:NOTIFY_AND_MANUAL_RENEW:手动续费,NOTIFY_AND_AUTO_RENEW:自动续费,DISABLE_NOTIFY_AND_MANUAL_RENEW:到期不续,默认取值NOTIFY_AND_MANUAL_RENEW
5093
+ # @type RenewFlag: String
5094
+
5095
+ attr_accessor :ClientToken, :ProductCode, :SubProductCode, :RegionCode, :ZoneCode, :PayMode, :Parameter, :Quantity, :ProjectId, :Period, :PeriodUnit, :RenewFlag
5096
+
5097
+ def initialize(clienttoken=nil, productcode=nil, subproductcode=nil, regioncode=nil, zonecode=nil, paymode=nil, parameter=nil, quantity=nil, projectid=nil, period=nil, periodunit=nil, renewflag=nil)
5098
+ @ClientToken = clienttoken
5099
+ @ProductCode = productcode
5100
+ @SubProductCode = subproductcode
5101
+ @RegionCode = regioncode
5102
+ @ZoneCode = zonecode
5103
+ @PayMode = paymode
5104
+ @Parameter = parameter
5105
+ @Quantity = quantity
5106
+ @ProjectId = projectid
5107
+ @Period = period
5108
+ @PeriodUnit = periodunit
5109
+ @RenewFlag = renewflag
5110
+ end
5111
+
5112
+ def deserialize(params)
5113
+ @ClientToken = params['ClientToken']
5114
+ @ProductCode = params['ProductCode']
5115
+ @SubProductCode = params['SubProductCode']
5116
+ @RegionCode = params['RegionCode']
5117
+ @ZoneCode = params['ZoneCode']
5118
+ @PayMode = params['PayMode']
5119
+ @Parameter = params['Parameter']
5120
+ @Quantity = params['Quantity']
5121
+ @ProjectId = params['ProjectId']
5122
+ @Period = params['Period']
5123
+ @PeriodUnit = params['PeriodUnit']
5124
+ @RenewFlag = params['RenewFlag']
5125
+ end
5126
+ end
5127
+
5128
+ # CreateInstance返回参数结构体
5129
+ class CreateInstanceResponse < TencentCloud::Common::AbstractModel
5130
+ # @param OrderId: 订单号
5131
+ # @type OrderId: String
5132
+ # @param InstanceIdList: 实例列表,商品发货延迟可能返回空
5133
+ # 注意:此字段可能返回 null,表示取不到有效值。
5134
+ # @type InstanceIdList: Array
5135
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5136
+ # @type RequestId: String
5137
+
5138
+ attr_accessor :OrderId, :InstanceIdList, :RequestId
5139
+
5140
+ def initialize(orderid=nil, instanceidlist=nil, requestid=nil)
5141
+ @OrderId = orderid
5142
+ @InstanceIdList = instanceidlist
5143
+ @RequestId = requestid
5144
+ end
5145
+
5146
+ def deserialize(params)
5147
+ @OrderId = params['OrderId']
5148
+ @InstanceIdList = params['InstanceIdList']
5149
+ @RequestId = params['RequestId']
5150
+ end
5151
+ end
5152
+
5068
5153
  # 获取预算管理的基础信息分页数据
5069
5154
  class DataForBudgetInfoPage < TencentCloud::Common::AbstractModel
5070
5155
  # @param Pages: 分页
@@ -8523,7 +8608,7 @@ module TencentCloud
8523
8608
  # payerUin=支付者账号
8524
8609
  # ownerUin=使用者账号
8525
8610
  # @type Dimensions: String
8526
- # @param FeeType: 费用类型:cost-总费用,totalCost-原价费用
8611
+ # @param FeeType: 费用类型:cost-折后总费用,totalCost-原价费用
8527
8612
  # @type FeeType: String
8528
8613
  # @param PageSize: 数量,每页最大值为100
8529
8614
  # @type PageSize: Integer
@@ -9617,6 +9702,83 @@ module TencentCloud
9617
9702
  end
9618
9703
  end
9619
9704
 
9705
+ # DescribeRenewInstances请求参数结构体
9706
+ class DescribeRenewInstancesRequest < TencentCloud::Common::AbstractModel
9707
+ # @param MaxResults: 每页的最大实例条数。 取值范围:1~100。
9708
+ # @type MaxResults: Integer
9709
+ # @param NextToken: 查询返回结果下一页的令牌。首次调用 API 不需要NextToken。
9710
+ # @type NextToken: String
9711
+ # @param Reverse: 获取实例的排序方向。枚举值如下:
9712
+ # false=正序(默认)
9713
+ # true=倒序
9714
+ # @type Reverse: Boolean
9715
+ # @param RenewFlagList: 续费标识。多个值用英文逗号分隔。枚举值如下:
9716
+ # NOTIFY_AND_MANUAL_RENEW:手动续费
9717
+ # NOTIFY_AND_AUTO_RENEW:自动续费
9718
+ # DISABLE_NOTIFY_AND_MANUAL_RENEW:到期不续
9719
+ # @type RenewFlagList: Array
9720
+ # @param InstanceIdList: 实例ID。多个ID用英文逗号分隔,最多不超过100个。
9721
+ # @type InstanceIdList: Array
9722
+ # @param ExpireTimeStart: 到期时间段起,格式为yyyy-MM-dd HH:mm:ss。
9723
+ # @type ExpireTimeStart: String
9724
+ # @param ExpireTimeEnd: 到期时间段止,格式为yyyy-MM-dd HH:mm:ss。
9725
+ # @type ExpireTimeEnd: String
9726
+
9727
+ attr_accessor :MaxResults, :NextToken, :Reverse, :RenewFlagList, :InstanceIdList, :ExpireTimeStart, :ExpireTimeEnd
9728
+
9729
+ def initialize(maxresults=nil, nexttoken=nil, reverse=nil, renewflaglist=nil, instanceidlist=nil, expiretimestart=nil, expiretimeend=nil)
9730
+ @MaxResults = maxresults
9731
+ @NextToken = nexttoken
9732
+ @Reverse = reverse
9733
+ @RenewFlagList = renewflaglist
9734
+ @InstanceIdList = instanceidlist
9735
+ @ExpireTimeStart = expiretimestart
9736
+ @ExpireTimeEnd = expiretimeend
9737
+ end
9738
+
9739
+ def deserialize(params)
9740
+ @MaxResults = params['MaxResults']
9741
+ @NextToken = params['NextToken']
9742
+ @Reverse = params['Reverse']
9743
+ @RenewFlagList = params['RenewFlagList']
9744
+ @InstanceIdList = params['InstanceIdList']
9745
+ @ExpireTimeStart = params['ExpireTimeStart']
9746
+ @ExpireTimeEnd = params['ExpireTimeEnd']
9747
+ end
9748
+ end
9749
+
9750
+ # DescribeRenewInstances返回参数结构体
9751
+ class DescribeRenewInstancesResponse < TencentCloud::Common::AbstractModel
9752
+ # @param InstanceList: 实例汇总列表。
9753
+ # @type InstanceList: Array
9754
+ # @param NextToken: 查询返回结果下一页的令牌。
9755
+ # 注意:此字段可能返回 null,表示取不到有效值。
9756
+ # @type NextToken: String
9757
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9758
+ # @type RequestId: String
9759
+
9760
+ attr_accessor :InstanceList, :NextToken, :RequestId
9761
+
9762
+ def initialize(instancelist=nil, nexttoken=nil, requestid=nil)
9763
+ @InstanceList = instancelist
9764
+ @NextToken = nexttoken
9765
+ @RequestId = requestid
9766
+ end
9767
+
9768
+ def deserialize(params)
9769
+ unless params['InstanceList'].nil?
9770
+ @InstanceList = []
9771
+ params['InstanceList'].each do |i|
9772
+ renewinstance_tmp = RenewInstance.new
9773
+ renewinstance_tmp.deserialize(i)
9774
+ @InstanceList << renewinstance_tmp
9775
+ end
9776
+ end
9777
+ @NextToken = params['NextToken']
9778
+ @RequestId = params['RequestId']
9779
+ end
9780
+ end
9781
+
9620
9782
  # DescribeSavingPlanResourceInfo请求参数结构体
9621
9783
  class DescribeSavingPlanResourceInfoRequest < TencentCloud::Common::AbstractModel
9622
9784
  # @param Limit: 数量,最大值为100
@@ -10875,6 +11037,58 @@ module TencentCloud
10875
11037
  end
10876
11038
  end
10877
11039
 
11040
+ # RefundInstance请求参数结构体
11041
+ class RefundInstanceRequest < TencentCloud::Common::AbstractModel
11042
+ # @param ClientToken: ClientToken是一个由客户端生成的唯一的、区分大小写、不超过64个ASCII字符的字符串。例如,ClientToken=123e4567-e89b-12d3-a456-42665544****。
11043
+ # @type ClientToken: String
11044
+ # @param ProductCode: 产品一层code
11045
+ # @type ProductCode: String
11046
+ # @param SubProductCode: 产品二层code
11047
+ # @type SubProductCode: String
11048
+ # @param InstanceId: 实例id
11049
+ # @type InstanceId: String
11050
+ # @param RegionCode: 地域code
11051
+ # @type RegionCode: String
11052
+
11053
+ attr_accessor :ClientToken, :ProductCode, :SubProductCode, :InstanceId, :RegionCode
11054
+
11055
+ def initialize(clienttoken=nil, productcode=nil, subproductcode=nil, instanceid=nil, regioncode=nil)
11056
+ @ClientToken = clienttoken
11057
+ @ProductCode = productcode
11058
+ @SubProductCode = subproductcode
11059
+ @InstanceId = instanceid
11060
+ @RegionCode = regioncode
11061
+ end
11062
+
11063
+ def deserialize(params)
11064
+ @ClientToken = params['ClientToken']
11065
+ @ProductCode = params['ProductCode']
11066
+ @SubProductCode = params['SubProductCode']
11067
+ @InstanceId = params['InstanceId']
11068
+ @RegionCode = params['RegionCode']
11069
+ end
11070
+ end
11071
+
11072
+ # RefundInstance返回参数结构体
11073
+ class RefundInstanceResponse < TencentCloud::Common::AbstractModel
11074
+ # @param OrderIdList: 订单号列表
11075
+ # @type OrderIdList: Array
11076
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11077
+ # @type RequestId: String
11078
+
11079
+ attr_accessor :OrderIdList, :RequestId
11080
+
11081
+ def initialize(orderidlist=nil, requestid=nil)
11082
+ @OrderIdList = orderidlist
11083
+ @RequestId = requestid
11084
+ end
11085
+
11086
+ def deserialize(params)
11087
+ @OrderIdList = params['OrderIdList']
11088
+ @RequestId = params['RequestId']
11089
+ end
11090
+ end
11091
+
10878
11092
  # 按地域汇总消费详情
10879
11093
  class RegionSummaryOverviewItem < TencentCloud::Common::AbstractModel
10880
11094
  # @param RegionId: 地域ID
@@ -10927,6 +11141,140 @@ module TencentCloud
10927
11141
  end
10928
11142
  end
10929
11143
 
11144
+ # 资源实例信息
11145
+ class RenewInstance < TencentCloud::Common::AbstractModel
11146
+ # @param InstanceId: 实例ID
11147
+ # @type InstanceId: String
11148
+ # @param ProductCode: 产品编码
11149
+ # @type ProductCode: String
11150
+ # @param SubProductCode: 子产品编码
11151
+ # @type SubProductCode: String
11152
+ # @param RegionCode: 地域编码
11153
+ # 注意:此字段可能返回 null,表示取不到有效值。
11154
+ # @type RegionCode: String
11155
+ # @param Status: 实例状态:
11156
+ # NORMAL 正常,
11157
+ # ISOLATED 已隔离
11158
+ # 注意:此字段可能返回 null,表示取不到有效值。
11159
+ # @type Status: String
11160
+ # @param RenewFlag: 续费标识:
11161
+ # NOTIFY_AND_MANUAL_RENEW 手动续费,
11162
+ # NOTIFY_AND_AUTO_RENEW 自动续费,
11163
+ # DISABLE_NOTIFY_AND_MANUAL_RENEW 到期不续
11164
+ # 注意:此字段可能返回 null,表示取不到有效值。
11165
+ # @type RenewFlag: String
11166
+ # @param ExpireTime: 实例到期时间
11167
+ # 注意:此字段可能返回 null,表示取不到有效值。
11168
+ # @type ExpireTime: String
11169
+ # @param InstanceName: 实例别名:用户在控制台为实例设置的名称,如果未设置,则默认为空
11170
+ # 注意:此字段可能返回 null,表示取不到有效值。
11171
+ # @type InstanceName: String
11172
+ # @param ProductName: 产品名称:用户所采购的各类云产品,例如:云服务器 CVM
11173
+ # 注意:此字段可能返回 null,表示取不到有效值。
11174
+ # @type ProductName: String
11175
+ # @param ProjectName: 项目名称:实例归属的项目,用户在控制台给实例自主分配项目,未分配则是默认项目
11176
+ # 注意:此字段可能返回 null,表示取不到有效值。
11177
+ # @type ProjectName: String
11178
+ # @param RenewPeriod: 自动续费周期长度
11179
+ # 注意:此字段可能返回 null,表示取不到有效值。
11180
+ # @type RenewPeriod: Integer
11181
+ # @param RenewPeriodUnit: 自动续费周期单位:y 年,m 月
11182
+ # 注意:此字段可能返回 null,表示取不到有效值。
11183
+ # @type RenewPeriodUnit: String
11184
+
11185
+ attr_accessor :InstanceId, :ProductCode, :SubProductCode, :RegionCode, :Status, :RenewFlag, :ExpireTime, :InstanceName, :ProductName, :ProjectName, :RenewPeriod, :RenewPeriodUnit
11186
+
11187
+ def initialize(instanceid=nil, productcode=nil, subproductcode=nil, regioncode=nil, status=nil, renewflag=nil, expiretime=nil, instancename=nil, productname=nil, projectname=nil, renewperiod=nil, renewperiodunit=nil)
11188
+ @InstanceId = instanceid
11189
+ @ProductCode = productcode
11190
+ @SubProductCode = subproductcode
11191
+ @RegionCode = regioncode
11192
+ @Status = status
11193
+ @RenewFlag = renewflag
11194
+ @ExpireTime = expiretime
11195
+ @InstanceName = instancename
11196
+ @ProductName = productname
11197
+ @ProjectName = projectname
11198
+ @RenewPeriod = renewperiod
11199
+ @RenewPeriodUnit = renewperiodunit
11200
+ end
11201
+
11202
+ def deserialize(params)
11203
+ @InstanceId = params['InstanceId']
11204
+ @ProductCode = params['ProductCode']
11205
+ @SubProductCode = params['SubProductCode']
11206
+ @RegionCode = params['RegionCode']
11207
+ @Status = params['Status']
11208
+ @RenewFlag = params['RenewFlag']
11209
+ @ExpireTime = params['ExpireTime']
11210
+ @InstanceName = params['InstanceName']
11211
+ @ProductName = params['ProductName']
11212
+ @ProjectName = params['ProjectName']
11213
+ @RenewPeriod = params['RenewPeriod']
11214
+ @RenewPeriodUnit = params['RenewPeriodUnit']
11215
+ end
11216
+ end
11217
+
11218
+ # RenewInstance请求参数结构体
11219
+ class RenewInstanceRequest < TencentCloud::Common::AbstractModel
11220
+ # @param ClientToken: ClientToken是一个由客户端生成的唯一的、区分大小写、不超过64个ASCII字符的字符串。例如,ClientToken=123e4567-e89b-12d3-a456-42665544****。
11221
+ # @type ClientToken: String
11222
+ # @param ProductCode: 产品一层code
11223
+ # @type ProductCode: String
11224
+ # @param SubProductCode: 产品二层code
11225
+ # @type SubProductCode: String
11226
+ # @param RegionCode: 地域code
11227
+ # @type RegionCode: String
11228
+ # @param InstanceId: 实例ID
11229
+ # @type InstanceId: String
11230
+ # @param Period: 手动续费时长,取值上限:36,默认取值1
11231
+ # @type Period: Integer
11232
+ # @param PeriodUnit: 手动续费时长单位,取值:m:按月续费,y:按年续费,默认取值m
11233
+ # @type PeriodUnit: String
11234
+
11235
+ attr_accessor :ClientToken, :ProductCode, :SubProductCode, :RegionCode, :InstanceId, :Period, :PeriodUnit
11236
+
11237
+ def initialize(clienttoken=nil, productcode=nil, subproductcode=nil, regioncode=nil, instanceid=nil, period=nil, periodunit=nil)
11238
+ @ClientToken = clienttoken
11239
+ @ProductCode = productcode
11240
+ @SubProductCode = subproductcode
11241
+ @RegionCode = regioncode
11242
+ @InstanceId = instanceid
11243
+ @Period = period
11244
+ @PeriodUnit = periodunit
11245
+ end
11246
+
11247
+ def deserialize(params)
11248
+ @ClientToken = params['ClientToken']
11249
+ @ProductCode = params['ProductCode']
11250
+ @SubProductCode = params['SubProductCode']
11251
+ @RegionCode = params['RegionCode']
11252
+ @InstanceId = params['InstanceId']
11253
+ @Period = params['Period']
11254
+ @PeriodUnit = params['PeriodUnit']
11255
+ end
11256
+ end
11257
+
11258
+ # RenewInstance返回参数结构体
11259
+ class RenewInstanceResponse < TencentCloud::Common::AbstractModel
11260
+ # @param OrderIdList: 订单号列表
11261
+ # @type OrderIdList: Array
11262
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
11263
+ # @type RequestId: String
11264
+
11265
+ attr_accessor :OrderIdList, :RequestId
11266
+
11267
+ def initialize(orderidlist=nil, requestid=nil)
11268
+ @OrderIdList = orderidlist
11269
+ @RequestId = requestid
11270
+ end
11271
+
11272
+ def deserialize(params)
11273
+ @OrderIdList = params['OrderIdList']
11274
+ @RequestId = params['RequestId']
11275
+ end
11276
+ end
11277
+
10930
11278
  # 账单多维度汇总消费详情
10931
11279
  class SummaryDetail < TencentCloud::Common::AbstractModel
10932
11280
  # @param GroupKey: 账单维度编码
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-billing
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1197
4
+ version: 3.0.1208
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-06 00:00:00.000000000 Z
11
+ date: 2026-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common