tencentcloud-sdk-vpc 3.0.622 → 3.0.624

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: 0f3bc457a4c8a47cbd307fc3b8aa85573f7b0c04
4
- data.tar.gz: 9b147667706df1d674021ed1c88da868f422d8b4
3
+ metadata.gz: e9da322a88763ba59b236174c9b2a4430013a5ae
4
+ data.tar.gz: ab70969ca69e73fde749db4e8520f8ed84b4b5db
5
5
  SHA512:
6
- metadata.gz: 91cc527f0517b882aa4f6576b78bf548699eb7262641c6efe561f4cbadfc9dad25ee8bac14b9390580f90f88c734305aefa9744259fd0f30fc25fbc30de69c86
7
- data.tar.gz: 89f7079e4d2761fc9313ea6c6d9d27c69336c27a011b14f061bf46cf78a7a9136ab159a0745916dba0864f4ed4e12b442ceb93a22584bf94ab46a720bfa74206
6
+ metadata.gz: 649ed5949b36f2edface5fc988c6fa68dceb7e7f84172518e641fb1d4b9fbe7e119df6a951795ad7aafd1b904cd2a3e36fc2dd6b7b6e32c6094c84f60a5f9c54
7
+ data.tar.gz: b26247356d2928ad83b61f746b467670452b4e8d40743e9a33e18de4e37a95927e71ef05d14894ea4a332654e07c215f4ac815dd3f704088f089e1508e567948
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.622
1
+ 3.0.624
@@ -4193,6 +4193,30 @@ module TencentCloud
4193
4193
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4194
4194
  end
4195
4195
 
4196
+ # 本接口 (DescribeSpecificTrafficPackageUsedDetails) 用于查询指定 共享流量包 的用量明细。
4197
+
4198
+ # @param request: Request instance for DescribeSpecificTrafficPackageUsedDetails.
4199
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DescribeSpecificTrafficPackageUsedDetailsRequest`
4200
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeSpecificTrafficPackageUsedDetailsResponse`
4201
+ def DescribeSpecificTrafficPackageUsedDetails(request)
4202
+ body = send_request('DescribeSpecificTrafficPackageUsedDetails', request.serialize)
4203
+ response = JSON.parse(body)
4204
+ if response['Response'].key?('Error') == false
4205
+ model = DescribeSpecificTrafficPackageUsedDetailsResponse.new
4206
+ model.deserialize(response['Response'])
4207
+ model
4208
+ else
4209
+ code = response['Response']['Error']['Code']
4210
+ message = response['Response']['Error']['Message']
4211
+ reqid = response['Response']['RequestId']
4212
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4213
+ end
4214
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4215
+ raise e
4216
+ rescue StandardError => e
4217
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4218
+ end
4219
+
4196
4220
  # 本接口(DescribeSubnetResourceDashboard)用于查看Subnet资源信息。
4197
4221
 
4198
4222
  # @param request: Request instance for DescribeSubnetResourceDashboard.
@@ -10411,6 +10411,88 @@ module TencentCloud
10411
10411
  end
10412
10412
  end
10413
10413
 
10414
+ # DescribeSpecificTrafficPackageUsedDetails请求参数结构体
10415
+ class DescribeSpecificTrafficPackageUsedDetailsRequest < TencentCloud::Common::AbstractModel
10416
+ # @param TrafficPackageId: 共享流量包唯一ID
10417
+ # @type TrafficPackageId: String
10418
+ # @param Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。详细的过滤条件如下:<li> resource-id - String - 是否必填:否 - (过滤条件)按照抵扣流量资源的唯一 ID 过滤。</li><li> resource-type - String - 是否必填:否 - (过滤条件)按照资源类型过滤,资源类型包括 CVM 和 EIP </li>
10419
+ # @type Filters: Array
10420
+ # @param OrderField: 排序条件。该参数仅支持根据抵扣量排序,传值为 deduction
10421
+ # @type OrderField: String
10422
+ # @param OrderType: 排序类型,仅支持0和1,0-降序,1-升序。不传默认为0
10423
+ # @type OrderType: Integer
10424
+ # @param StartTime: 开始时间。不传默认为当前时间往前推30天
10425
+ # @type StartTime: String
10426
+ # @param EndTime: 结束时间。不传默认为当前时间
10427
+ # @type EndTime: String
10428
+ # @param Offset: 分页参数
10429
+ # @type Offset: Integer
10430
+ # @param Limit: 分页参数
10431
+ # @type Limit: Integer
10432
+
10433
+ attr_accessor :TrafficPackageId, :Filters, :OrderField, :OrderType, :StartTime, :EndTime, :Offset, :Limit
10434
+
10435
+ def initialize(trafficpackageid=nil, filters=nil, orderfield=nil, ordertype=nil, starttime=nil, endtime=nil, offset=nil, limit=nil)
10436
+ @TrafficPackageId = trafficpackageid
10437
+ @Filters = filters
10438
+ @OrderField = orderfield
10439
+ @OrderType = ordertype
10440
+ @StartTime = starttime
10441
+ @EndTime = endtime
10442
+ @Offset = offset
10443
+ @Limit = limit
10444
+ end
10445
+
10446
+ def deserialize(params)
10447
+ @TrafficPackageId = params['TrafficPackageId']
10448
+ unless params['Filters'].nil?
10449
+ @Filters = []
10450
+ params['Filters'].each do |i|
10451
+ filter_tmp = Filter.new
10452
+ filter_tmp.deserialize(i)
10453
+ @Filters << filter_tmp
10454
+ end
10455
+ end
10456
+ @OrderField = params['OrderField']
10457
+ @OrderType = params['OrderType']
10458
+ @StartTime = params['StartTime']
10459
+ @EndTime = params['EndTime']
10460
+ @Offset = params['Offset']
10461
+ @Limit = params['Limit']
10462
+ end
10463
+ end
10464
+
10465
+ # DescribeSpecificTrafficPackageUsedDetails返回参数结构体
10466
+ class DescribeSpecificTrafficPackageUsedDetailsResponse < TencentCloud::Common::AbstractModel
10467
+ # @param TotalCount: 符合查询条件的共享流量包用量明细的总数
10468
+ # @type TotalCount: Integer
10469
+ # @param UsedDetailSet: 共享流量包用量明细列表
10470
+ # @type UsedDetailSet: Array
10471
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10472
+ # @type RequestId: String
10473
+
10474
+ attr_accessor :TotalCount, :UsedDetailSet, :RequestId
10475
+
10476
+ def initialize(totalcount=nil, useddetailset=nil, requestid=nil)
10477
+ @TotalCount = totalcount
10478
+ @UsedDetailSet = useddetailset
10479
+ @RequestId = requestid
10480
+ end
10481
+
10482
+ def deserialize(params)
10483
+ @TotalCount = params['TotalCount']
10484
+ unless params['UsedDetailSet'].nil?
10485
+ @UsedDetailSet = []
10486
+ params['UsedDetailSet'].each do |i|
10487
+ useddetail_tmp = UsedDetail.new
10488
+ useddetail_tmp.deserialize(i)
10489
+ @UsedDetailSet << useddetail_tmp
10490
+ end
10491
+ end
10492
+ @RequestId = params['RequestId']
10493
+ end
10494
+ end
10495
+
10414
10496
  # DescribeSubnetResourceDashboard请求参数结构体
10415
10497
  class DescribeSubnetResourceDashboardRequest < TencentCloud::Common::AbstractModel
10416
10498
  # @param SubnetIds: Subnet实例ID,例如:subnet-f1xjkw1b。
@@ -10894,14 +10976,17 @@ module TencentCloud
10894
10976
  # @type Limit: Integer
10895
10977
  # @param EndPointServiceIds: 终端节点服务ID。不支持同时传入参数 EndPointServiceIds and Filters。
10896
10978
  # @type EndPointServiceIds: Array
10979
+ # @param IsListAuthorizedEndPointService: <li>不支持同时传入参数 Filters 。</li> <li>列出授权给当前账号的的终端节点服务信息。可以配合EndPointServiceIds参数进行过滤,那些终端节点服务授权了该账户。</li>
10980
+ # @type IsListAuthorizedEndPointService: Boolean
10897
10981
 
10898
- attr_accessor :Filters, :Offset, :Limit, :EndPointServiceIds
10982
+ attr_accessor :Filters, :Offset, :Limit, :EndPointServiceIds, :IsListAuthorizedEndPointService
10899
10983
 
10900
- def initialize(filters=nil, offset=nil, limit=nil, endpointserviceids=nil)
10984
+ def initialize(filters=nil, offset=nil, limit=nil, endpointserviceids=nil, islistauthorizedendpointservice=nil)
10901
10985
  @Filters = filters
10902
10986
  @Offset = offset
10903
10987
  @Limit = limit
10904
10988
  @EndPointServiceIds = endpointserviceids
10989
+ @IsListAuthorizedEndPointService = islistauthorizedendpointservice
10905
10990
  end
10906
10991
 
10907
10992
  def deserialize(params)
@@ -10916,6 +11001,7 @@ module TencentCloud
10916
11001
  @Offset = params['Offset']
10917
11002
  @Limit = params['Limit']
10918
11003
  @EndPointServiceIds = params['EndPointServiceIds']
11004
+ @IsListAuthorizedEndPointService = params['IsListAuthorizedEndPointService']
10919
11005
  end
10920
11006
  end
10921
11007
 
@@ -19923,6 +20009,32 @@ module TencentCloud
19923
20009
  end
19924
20010
  end
19925
20011
 
20012
+ # 流量描述。
20013
+ class TrafficFlow < TencentCloud::Common::AbstractModel
20014
+ # @param Value: 实际流量,单位为 字节
20015
+ # @type Value: Integer
20016
+ # @param FormatValue: 格式化后的流量,单位见参数 FormatUnit
20017
+ # 注意:此字段可能返回 null,表示取不到有效值。
20018
+ # @type FormatValue: Float
20019
+ # @param FormatUnit: 格式化后流量的单位
20020
+ # 注意:此字段可能返回 null,表示取不到有效值。
20021
+ # @type FormatUnit: String
20022
+
20023
+ attr_accessor :Value, :FormatValue, :FormatUnit
20024
+
20025
+ def initialize(value=nil, formatvalue=nil, formatunit=nil)
20026
+ @Value = value
20027
+ @FormatValue = formatvalue
20028
+ @FormatUnit = formatunit
20029
+ end
20030
+
20031
+ def deserialize(params)
20032
+ @Value = params['Value']
20033
+ @FormatValue = params['FormatValue']
20034
+ @FormatUnit = params['FormatUnit']
20035
+ end
20036
+ end
20037
+
19926
20038
  # 流量包信息描述类型
19927
20039
  class TrafficPackage < TencentCloud::Common::AbstractModel
19928
20040
  # @param TrafficPackageId: 流量包唯一ID
@@ -20259,6 +20371,68 @@ module TencentCloud
20259
20371
  end
20260
20372
  end
20261
20373
 
20374
+ # 共享流量包用量明细
20375
+ class UsedDetail < TencentCloud::Common::AbstractModel
20376
+ # @param TrafficPackageId: 流量包唯一ID
20377
+ # @type TrafficPackageId: String
20378
+ # @param TrafficPackageName: 流量包名称
20379
+ # 注意:此字段可能返回 null,表示取不到有效值。
20380
+ # @type TrafficPackageName: String
20381
+ # @param TotalAmount: 流量包总量
20382
+ # @type TotalAmount: :class:`Tencentcloud::Vpc.v20170312.models.TrafficFlow`
20383
+ # @param Deduction: 本次抵扣
20384
+ # @type Deduction: :class:`Tencentcloud::Vpc.v20170312.models.TrafficFlow`
20385
+ # @param RemainingAmount: 本次抵扣后剩余量
20386
+ # @type RemainingAmount: :class:`Tencentcloud::Vpc.v20170312.models.TrafficFlow`
20387
+ # @param Time: 抵扣时间
20388
+ # @type Time: String
20389
+ # @param ResourceType: 资源类型。可能的值: CVM, LB, NAT, HAVIP, EIP
20390
+ # @type ResourceType: String
20391
+ # @param ResourceId: 资源ID
20392
+ # @type ResourceId: String
20393
+ # @param ResourceName: 资源名称
20394
+ # @type ResourceName: String
20395
+ # @param Deadline: 流量包到期时间
20396
+ # @type Deadline: String
20397
+
20398
+ attr_accessor :TrafficPackageId, :TrafficPackageName, :TotalAmount, :Deduction, :RemainingAmount, :Time, :ResourceType, :ResourceId, :ResourceName, :Deadline
20399
+
20400
+ def initialize(trafficpackageid=nil, trafficpackagename=nil, totalamount=nil, deduction=nil, remainingamount=nil, time=nil, resourcetype=nil, resourceid=nil, resourcename=nil, deadline=nil)
20401
+ @TrafficPackageId = trafficpackageid
20402
+ @TrafficPackageName = trafficpackagename
20403
+ @TotalAmount = totalamount
20404
+ @Deduction = deduction
20405
+ @RemainingAmount = remainingamount
20406
+ @Time = time
20407
+ @ResourceType = resourcetype
20408
+ @ResourceId = resourceid
20409
+ @ResourceName = resourcename
20410
+ @Deadline = deadline
20411
+ end
20412
+
20413
+ def deserialize(params)
20414
+ @TrafficPackageId = params['TrafficPackageId']
20415
+ @TrafficPackageName = params['TrafficPackageName']
20416
+ unless params['TotalAmount'].nil?
20417
+ @TotalAmount = TrafficFlow.new
20418
+ @TotalAmount.deserialize(params['TotalAmount'])
20419
+ end
20420
+ unless params['Deduction'].nil?
20421
+ @Deduction = TrafficFlow.new
20422
+ @Deduction.deserialize(params['Deduction'])
20423
+ end
20424
+ unless params['RemainingAmount'].nil?
20425
+ @RemainingAmount = TrafficFlow.new
20426
+ @RemainingAmount.deserialize(params['RemainingAmount'])
20427
+ end
20428
+ @Time = params['Time']
20429
+ @ResourceType = params['ResourceType']
20430
+ @ResourceId = params['ResourceId']
20431
+ @ResourceName = params['ResourceName']
20432
+ @Deadline = params['Deadline']
20433
+ end
20434
+ end
20435
+
20262
20436
  # 私有网络(VPC)对象。
20263
20437
  class Vpc < TencentCloud::Common::AbstractModel
20264
20438
  # @param VpcName: `VPC`名称。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-vpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.622
4
+ version: 3.0.624
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-27 00:00:00.000000000 Z
11
+ date: 2023-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common