tencentcloud-sdk-clb 1.0.212 → 1.0.213

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: 0c06989f825b2a110a148dcc55a386b1b35ab315
4
- data.tar.gz: 9baa0716e34a201676b5907824816e2f8cd4b568
3
+ metadata.gz: 29fe821d67d0b7cbe14f22c4fccbfd06fadfab54
4
+ data.tar.gz: 49385b4465fed6885b43a6da9f6a8311b7892b86
5
5
  SHA512:
6
- metadata.gz: 7e60de0b287988c7728272f641d1ec11ea84d16661f1c93f9dd656d6b92f8dd972371eec0e1736520eb18d604a31ac2de8a7055754741c78b1442e5574b94a46
7
- data.tar.gz: bc6b3812d33122fce60aad84a3c60459080e62e62584e57e051cf386a8ea70ea4832a3756fc2229b660ddbe9a82eb5c9a1b726d763a75c13ec2311498b385f5e
6
+ metadata.gz: 8c4bc623b4dd140f99a509ef148ab455fa921f4e81118014c84d206c28f94654a6d42d52e815cc771f47ed37cb67f507b755fc6ab08e5bceaea9023475166597
7
+ data.tar.gz: 7cf48baa826c09bbafc1fadf1d0551ea0ac85d73103e4dab7a6a754f9c9deeaad7a26ca5b43d99a502a4e638ae9a082b54e15248b4620754e8ec3ee3a60ba377
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.212
1
+ 1.0.213
@@ -930,6 +930,30 @@ module TencentCloud
930
930
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
931
931
  end
932
932
 
933
+ # 查询运行中、隔离中、即将到期和负载均衡总数。
934
+
935
+ # @param request: Request instance for DescribeLoadBalancerOverview.
936
+ # @type request: :class:`Tencentcloud::clb::V20180317::DescribeLoadBalancerOverviewRequest`
937
+ # @rtype: :class:`Tencentcloud::clb::V20180317::DescribeLoadBalancerOverviewResponse`
938
+ def DescribeLoadBalancerOverview(request)
939
+ body = send_request('DescribeLoadBalancerOverview', request.serialize)
940
+ response = JSON.parse(body)
941
+ if response['Response'].key?('Error') == false
942
+ model = DescribeLoadBalancerOverviewResponse.new
943
+ model.deserialize(response['Response'])
944
+ model
945
+ else
946
+ code = response['Response']['Error']['Code']
947
+ message = response['Response']['Error']['Message']
948
+ reqid = response['Response']['RequestId']
949
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
950
+ end
951
+ rescue TencentCloud::Common::TencentCloudSDKException => e
952
+ raise e
953
+ rescue StandardError => e
954
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
955
+ end
956
+
933
957
  # 查询账号下的高流量负载均衡,返回前10个负载均衡。如果是子账号登录,只返回子账号有权限的负载均衡。
934
958
 
935
959
  # @param request: Request instance for DescribeLoadBalancerTraffic.
@@ -2804,6 +2804,49 @@ module TencentCloud
2804
2804
  end
2805
2805
  end
2806
2806
 
2807
+ # DescribeLoadBalancerOverview请求参数结构体
2808
+ class DescribeLoadBalancerOverviewRequest < TencentCloud::Common::AbstractModel
2809
+
2810
+
2811
+ def initialize()
2812
+ end
2813
+
2814
+ def deserialize(params)
2815
+ end
2816
+ end
2817
+
2818
+ # DescribeLoadBalancerOverview返回参数结构体
2819
+ class DescribeLoadBalancerOverviewResponse < TencentCloud::Common::AbstractModel
2820
+ # @param TotalCount: 负载均衡总数
2821
+ # @type TotalCount: Integer
2822
+ # @param RunningCount: 运行中的负载均衡数目
2823
+ # @type RunningCount: Integer
2824
+ # @param IsolationCount: 隔离中的负载均衡数目
2825
+ # @type IsolationCount: Integer
2826
+ # @param WillExpireCount: 即将到期的负载均衡数目
2827
+ # @type WillExpireCount: Integer
2828
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2829
+ # @type RequestId: String
2830
+
2831
+ attr_accessor :TotalCount, :RunningCount, :IsolationCount, :WillExpireCount, :RequestId
2832
+
2833
+ def initialize(totalcount=nil, runningcount=nil, isolationcount=nil, willexpirecount=nil, requestid=nil)
2834
+ @TotalCount = totalcount
2835
+ @RunningCount = runningcount
2836
+ @IsolationCount = isolationcount
2837
+ @WillExpireCount = willexpirecount
2838
+ @RequestId = requestid
2839
+ end
2840
+
2841
+ def deserialize(params)
2842
+ @TotalCount = params['TotalCount']
2843
+ @RunningCount = params['RunningCount']
2844
+ @IsolationCount = params['IsolationCount']
2845
+ @WillExpireCount = params['WillExpireCount']
2846
+ @RequestId = params['RequestId']
2847
+ end
2848
+ end
2849
+
2807
2850
  # DescribeLoadBalancerTraffic请求参数结构体
2808
2851
  class DescribeLoadBalancerTrafficRequest < TencentCloud::Common::AbstractModel
2809
2852
  # @param LoadBalancerRegion: 负载均衡所在地域,不传默认返回所有地域负载均衡。
@@ -2854,7 +2897,7 @@ module TencentCloud
2854
2897
  # @type Limit: Integer
2855
2898
  # @param Offset: 返回负载均衡列表起始偏移量,默认0。
2856
2899
  # @type Offset: Integer
2857
- # @param Fields: 选择返回的Fields列表,默认添加LoadBalancerId和LoadBalancerName
2900
+ # @param Fields: 选择返回的Fields列表,系统仅会返回Fileds中填写的字段,可填写的字段详情请参见<a href="https://cloud.tencent.com/document/api/214/30694#LoadBalancerDetail">LoadBalancerDetail</a>。若未在Fileds填写相关字段,则此字段返回null。Fileds中默认添加LoadBalancerId和LoadBalancerName字段。
2858
2901
  # @type Fields: Array
2859
2902
  # @param TargetType: 当Fields包含TargetId、TargetAddress、TargetPort、TargetWeight等Fields时,必选选择导出目标组的Target或者非目标组Target,值范围NODE、GROUP。
2860
2903
  # @type TargetType: String
@@ -2969,7 +3012,8 @@ module TencentCloud
2969
3012
  # @type SecurityGroup: String
2970
3013
  # @param MasterZone: 主可用区ID,如 :"100001" (对应的是广州一区)。
2971
3014
  # @type MasterZone: String
2972
- # @param Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。详细的过滤条件如下:
3015
+ # @param Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。<br/>`Filter.Name`和`Filter.Values`皆为必填项。详细的过滤条件如下:
3016
+ # <li> charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的实例计费模式过滤,包括"PREPAID","POSTPAID_BY_HOUR"。</li>
2973
3017
  # <li> internet-charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的网络计费模式过滤,包括"BANDWIDTH_PREPAID","TRAFFIC_POSTPAID_BY_HOUR","BANDWIDTH_POSTPAID_BY_HOUR","BANDWIDTH_PACKAGE"。</li>
2974
3018
  # <li> master-zone-id - String - 是否必填:否 - (过滤条件)按照 CLB 的主可用区ID过滤,如 :"100001" (对应的是广州一区)。</li>
2975
3019
  # <li> tag-key - String - 是否必填:否 - (过滤条件)按照 CLB 标签的键过滤。</li>
@@ -2977,6 +3021,7 @@ module TencentCloud
2977
3021
  # <li> function-name - String - 是否必填:否 - (过滤条件)按照 CLB 后端绑定的SCF云函数的函数名称过滤。</li>
2978
3022
  # <li> function-name - String - 是否必填:否 - (过滤条件)按照 CLB 后端绑定的SCF云函数的函数名称过滤。</li>
2979
3023
  # <li> vip-isp - String - 是否必填:否 - (过滤条件)按照 CLB VIP的运营商类型过滤,如:"BGP","INTERNAL","CMCC","CTCC","CUCC"等。</li>
3024
+ # <li> sla-type - String - 是否必填:否 - (过滤条件)按照 CLB 的性能容量型规格过滤,包括"clb.c2.medium","clb.c3.small","clb.c3.medium","clb.c4.small","clb.c4.medium","clb.c4.large","clb.c4.xlarge"。</li>
2980
3025
  # @type Filters: Array
2981
3026
 
2982
3027
  attr_accessor :LoadBalancerIds, :LoadBalancerType, :Forward, :LoadBalancerName, :Domain, :LoadBalancerVips, :BackendPublicIps, :BackendPrivateIps, :Offset, :Limit, :OrderBy, :OrderType, :SearchKey, :ProjectId, :WithRs, :VpcId, :SecurityGroup, :MasterZone, :Filters
@@ -4258,10 +4303,16 @@ module TencentCloud
4258
4303
  # @param HealthLogTopicId: 负载均衡日志服务(CLS)的健康检查日志主题ID
4259
4304
  # 注意:此字段可能返回 null,表示取不到有效值。
4260
4305
  # @type HealthLogTopicId: String
4306
+ # @param ClusterIds: 集群ID.
4307
+ # 注意:此字段可能返回 null,表示取不到有效值。
4308
+ # @type ClusterIds: Array
4309
+ # @param AttributeFlags: 负载均衡的属性
4310
+ # 注意:此字段可能返回 null,表示取不到有效值。
4311
+ # @type AttributeFlags: Array
4261
4312
 
4262
- attr_accessor :LoadBalancerId, :LoadBalancerName, :LoadBalancerType, :Forward, :Domain, :LoadBalancerVips, :Status, :CreateTime, :StatusTime, :ProjectId, :VpcId, :OpenBgp, :Snat, :Isolation, :Log, :SubnetId, :Tags, :SecureGroups, :TargetRegionInfo, :AnycastZone, :AddressIPVersion, :NumericalVpcId, :VipIsp, :MasterZone, :BackupZoneSet, :IsolatedTime, :ExpireTime, :ChargeType, :NetworkAttributes, :PrepaidAttributes, :LogSetId, :LogTopicId, :AddressIPv6, :ExtraInfo, :IsDDos, :ConfigId, :LoadBalancerPassToTarget, :ExclusiveCluster, :IPv6Mode, :SnatPro, :SnatIps, :SlaType, :IsBlock, :IsBlockTime, :LocalBgp, :ClusterTag, :MixIpTarget, :Zones, :NfvInfo, :HealthLogSetId, :HealthLogTopicId
4313
+ attr_accessor :LoadBalancerId, :LoadBalancerName, :LoadBalancerType, :Forward, :Domain, :LoadBalancerVips, :Status, :CreateTime, :StatusTime, :ProjectId, :VpcId, :OpenBgp, :Snat, :Isolation, :Log, :SubnetId, :Tags, :SecureGroups, :TargetRegionInfo, :AnycastZone, :AddressIPVersion, :NumericalVpcId, :VipIsp, :MasterZone, :BackupZoneSet, :IsolatedTime, :ExpireTime, :ChargeType, :NetworkAttributes, :PrepaidAttributes, :LogSetId, :LogTopicId, :AddressIPv6, :ExtraInfo, :IsDDos, :ConfigId, :LoadBalancerPassToTarget, :ExclusiveCluster, :IPv6Mode, :SnatPro, :SnatIps, :SlaType, :IsBlock, :IsBlockTime, :LocalBgp, :ClusterTag, :MixIpTarget, :Zones, :NfvInfo, :HealthLogSetId, :HealthLogTopicId, :ClusterIds, :AttributeFlags
4263
4314
 
4264
- def initialize(loadbalancerid=nil, loadbalancername=nil, loadbalancertype=nil, forward=nil, domain=nil, loadbalancervips=nil, status=nil, createtime=nil, statustime=nil, projectid=nil, vpcid=nil, openbgp=nil, snat=nil, isolation=nil, log=nil, subnetid=nil, tags=nil, securegroups=nil, targetregioninfo=nil, anycastzone=nil, addressipversion=nil, numericalvpcid=nil, vipisp=nil, masterzone=nil, backupzoneset=nil, isolatedtime=nil, expiretime=nil, chargetype=nil, networkattributes=nil, prepaidattributes=nil, logsetid=nil, logtopicid=nil, addressipv6=nil, extrainfo=nil, isddos=nil, configid=nil, loadbalancerpasstotarget=nil, exclusivecluster=nil, ipv6mode=nil, snatpro=nil, snatips=nil, slatype=nil, isblock=nil, isblocktime=nil, localbgp=nil, clustertag=nil, mixiptarget=nil, zones=nil, nfvinfo=nil, healthlogsetid=nil, healthlogtopicid=nil)
4315
+ def initialize(loadbalancerid=nil, loadbalancername=nil, loadbalancertype=nil, forward=nil, domain=nil, loadbalancervips=nil, status=nil, createtime=nil, statustime=nil, projectid=nil, vpcid=nil, openbgp=nil, snat=nil, isolation=nil, log=nil, subnetid=nil, tags=nil, securegroups=nil, targetregioninfo=nil, anycastzone=nil, addressipversion=nil, numericalvpcid=nil, vipisp=nil, masterzone=nil, backupzoneset=nil, isolatedtime=nil, expiretime=nil, chargetype=nil, networkattributes=nil, prepaidattributes=nil, logsetid=nil, logtopicid=nil, addressipv6=nil, extrainfo=nil, isddos=nil, configid=nil, loadbalancerpasstotarget=nil, exclusivecluster=nil, ipv6mode=nil, snatpro=nil, snatips=nil, slatype=nil, isblock=nil, isblocktime=nil, localbgp=nil, clustertag=nil, mixiptarget=nil, zones=nil, nfvinfo=nil, healthlogsetid=nil, healthlogtopicid=nil, clusterids=nil, attributeflags=nil)
4265
4316
  @LoadBalancerId = loadbalancerid
4266
4317
  @LoadBalancerName = loadbalancername
4267
4318
  @LoadBalancerType = loadbalancertype
@@ -4313,6 +4364,8 @@ module TencentCloud
4313
4364
  @NfvInfo = nfvinfo
4314
4365
  @HealthLogSetId = healthlogsetid
4315
4366
  @HealthLogTopicId = healthlogtopicid
4367
+ @ClusterIds = clusterids
4368
+ @AttributeFlags = attributeflags
4316
4369
  end
4317
4370
 
4318
4371
  def deserialize(params)
@@ -4406,6 +4459,8 @@ module TencentCloud
4406
4459
  @NfvInfo = params['NfvInfo']
4407
4460
  @HealthLogSetId = params['HealthLogSetId']
4408
4461
  @HealthLogTopicId = params['HealthLogTopicId']
4462
+ @ClusterIds = params['ClusterIds']
4463
+ @AttributeFlags = params['AttributeFlags']
4409
4464
  end
4410
4465
  end
4411
4466
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-clb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.212
4
+ version: 1.0.213
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-29 00:00:00.000000000 Z
11
+ date: 2021-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common