tencentcloud-sdk-clb 3.0.981 → 3.0.983

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180317/models.rb +62 -18
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a485261a72d3871cb686936f8e7ce739f0225fb0
4
- data.tar.gz: dda8066eb0a97745b9c9c6e3d87b1c5ac193e4f6
3
+ metadata.gz: a641267b24bdd78344944cf5ff9f7b7a44266304
4
+ data.tar.gz: d4c1a44eadf5924a62235ec447f3312c929f2f55
5
5
  SHA512:
6
- metadata.gz: d8c67fe1aac63fc5e0d1be458ab5c04c0f930391798c8a661b20d91868784d2dac012f83f890bbd31b220558370314254ddb09cbfcce0f81ba069c7aeabee139
7
- data.tar.gz: 1d1d6192e7283031c0c37fab8039f6715ed085d7d44c6491ee1ca32a9a13cc36c9cabf77bb89de4cefa211f2db103b2fa39fdbf0c928a6b1bfa653037cb7795c
6
+ metadata.gz: adb2fa7c5290794f9e6e8babf39cf230bbc2d578dbe7b984de1a5d7c64e38c19870af0a960ea121e171e97cc1066ddfc36e97bc49f427b558eb7a13ebdbaf259
7
+ data.tar.gz: 5ffdb7827310d2e9227b585cb69433a6eef4a2c70531db9063e8839e26ef8030a566eb0f27b05027e1e808fad727daf45263060a75acf0452184ef6982d4396b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.981
1
+ 3.0.983
@@ -1082,10 +1082,13 @@ module TencentCloud
1082
1082
  # @param IPVersion: IP版本
1083
1083
  # 注意:此字段可能返回 null,表示取不到有效值。
1084
1084
  # @type IPVersion: String
1085
+ # @param Tag: 标签信息
1086
+ # 注意:此字段可能返回 null,表示取不到有效值。
1087
+ # @type Tag: Array
1085
1088
 
1086
- attr_accessor :ClusterId, :ClusterName, :ClusterType, :ClusterTag, :Zone, :Network, :MaxConn, :MaxInFlow, :MaxInPkg, :MaxOutFlow, :MaxOutPkg, :MaxNewConn, :HTTPMaxNewConn, :HTTPSMaxNewConn, :HTTPQps, :HTTPSQps, :ResourceCount, :IdleResourceCount, :LoadBalanceDirectorCount, :Isp, :ClustersZone, :ClustersVersion, :DisasterRecoveryType, :Egress, :IPVersion
1089
+ attr_accessor :ClusterId, :ClusterName, :ClusterType, :ClusterTag, :Zone, :Network, :MaxConn, :MaxInFlow, :MaxInPkg, :MaxOutFlow, :MaxOutPkg, :MaxNewConn, :HTTPMaxNewConn, :HTTPSMaxNewConn, :HTTPQps, :HTTPSQps, :ResourceCount, :IdleResourceCount, :LoadBalanceDirectorCount, :Isp, :ClustersZone, :ClustersVersion, :DisasterRecoveryType, :Egress, :IPVersion, :Tag
1087
1090
 
1088
- def initialize(clusterid=nil, clustername=nil, clustertype=nil, clustertag=nil, zone=nil, network=nil, maxconn=nil, maxinflow=nil, maxinpkg=nil, maxoutflow=nil, maxoutpkg=nil, maxnewconn=nil, httpmaxnewconn=nil, httpsmaxnewconn=nil, httpqps=nil, httpsqps=nil, resourcecount=nil, idleresourcecount=nil, loadbalancedirectorcount=nil, isp=nil, clusterszone=nil, clustersversion=nil, disasterrecoverytype=nil, egress=nil, ipversion=nil)
1091
+ def initialize(clusterid=nil, clustername=nil, clustertype=nil, clustertag=nil, zone=nil, network=nil, maxconn=nil, maxinflow=nil, maxinpkg=nil, maxoutflow=nil, maxoutpkg=nil, maxnewconn=nil, httpmaxnewconn=nil, httpsmaxnewconn=nil, httpqps=nil, httpsqps=nil, resourcecount=nil, idleresourcecount=nil, loadbalancedirectorcount=nil, isp=nil, clusterszone=nil, clustersversion=nil, disasterrecoverytype=nil, egress=nil, ipversion=nil, tag=nil)
1089
1092
  @ClusterId = clusterid
1090
1093
  @ClusterName = clustername
1091
1094
  @ClusterType = clustertype
@@ -1111,6 +1114,7 @@ module TencentCloud
1111
1114
  @DisasterRecoveryType = disasterrecoverytype
1112
1115
  @Egress = egress
1113
1116
  @IPVersion = ipversion
1117
+ @Tag = tag
1114
1118
  end
1115
1119
 
1116
1120
  def deserialize(params)
@@ -1142,6 +1146,14 @@ module TencentCloud
1142
1146
  @DisasterRecoveryType = params['DisasterRecoveryType']
1143
1147
  @Egress = params['Egress']
1144
1148
  @IPVersion = params['IPVersion']
1149
+ unless params['Tag'].nil?
1150
+ @Tag = []
1151
+ params['Tag'].each do |i|
1152
+ taginfo_tmp = TagInfo.new
1153
+ taginfo_tmp.deserialize(i)
1154
+ @Tag << taginfo_tmp
1155
+ end
1156
+ end
1145
1157
  end
1146
1158
  end
1147
1159
 
@@ -3000,7 +3012,7 @@ module TencentCloud
3000
3012
  # <li> cluster-name - String - 是否必填:否 - (过滤条件)按照 集群 的名称过滤。</li>
3001
3013
  # <li> cluster-tag - String - 是否必填:否 - (过滤条件)按照 集群 的标签过滤。(只有TGW/STGW集群有集群标签) </li>
3002
3014
  # <li> vip - String - 是否必填:否 - (过滤条件)按照 集群 内的vip过滤。</li>
3003
- # <li> loadblancer-id - String - 是否必填:否 - (过滤条件)按照 集群 内的负载均衡唯一ID过滤。</li>
3015
+ # <li> loadbalancer-id - String - 是否必填:否 - (过滤条件)按照 集群 内的负载均衡唯一ID过滤。</li>
3004
3016
  # <li> network - String - 是否必填:否 - (过滤条件)按照 集群 的网络类型过滤,如:"Public","Private"。</li>
3005
3017
  # <li> zone - String - 是否必填:否 - (过滤条件)按照 集群 所在可用区过滤,如:"ap-guangzhou-1"(广州一区)。</li>
3006
3018
  # <li> isp -- String - 是否必填:否 - (过滤条件)按照TGW集群的 Isp 类型过滤,如:"BGP","CMCC","CUCC","CTCC","INTERNAL"。</li>
@@ -3476,20 +3488,15 @@ module TencentCloud
3476
3488
  # @type SecurityGroup: String
3477
3489
  # @param MasterZone: 主可用区ID,如 :"100001" (对应的是广州一区)。可通过[DescribeZones](https://cloud.tencent.com/document/product/213/15707)获取可用区列表。
3478
3490
  # @type MasterZone: String
3479
- # @param Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。<br/>`Filter.Name`和`Filter.Values`皆为必填项。详细的过滤条件如下:
3480
- # <li> charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的实例计费模式过滤,包括"PREPAID","POSTPAID_BY_HOUR"。</li>
3481
- # <li> internet-charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的网络计费模式过滤,包括"BANDWIDTH_PREPAID","TRAFFIC_POSTPAID_BY_HOUR","BANDWIDTH_POSTPAID_BY_HOUR","BANDWIDTH_PACKAGE"。</li>
3482
- # <li> master-zone-id - String - 是否必填:否 - (过滤条件)按照 CLB 的主可用区ID过滤,如 :"100001" (对应的是广州一区)。</li>
3483
- # <li> tag-key - String - 是否必填:否 - (过滤条件)按照 CLB 标签的键过滤。</li>
3484
- # <li> tag:tag-key - String - 是否必填:否 - (过滤条件)按照CLB标签键值对进行过滤,tag-key使用具体的标签键进行替换。</li>
3485
- # <li> function-name - String - 是否必填:否 - (过滤条件)按照 CLB 后端绑定的SCF云函数的函数名称过滤。</li>
3486
- # <li> vip-isp - String - 是否必填:否 - (过滤条件)按照 CLB VIP的运营商类型过滤,如:"BGP","INTERNAL","CMCC","CTCC","CUCC"等。</li>
3487
- # <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>
3491
+ # @param Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。<br/>`Filter.Name`和`Filter.Values`皆为必填项。详细的过滤条件如下:<li> charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的实例计费模式过滤,包括"PREPAID","POSTPAID_BY_HOUR"。</li><li> internet-charge-type - String - 是否必填:否 - (过滤条件)按照 CLB 的网络计费模式过滤,包括"BANDWIDTH_PREPAID","TRAFFIC_POSTPAID_BY_HOUR","BANDWIDTH_POSTPAID_BY_HOUR","BANDWIDTH_PACKAGE"。</li><li> master-zone-id - String - 是否必填:否 - (过滤条件)按照 CLB 的主可用区ID过滤,如 :"100001" (对应的是广州一区)。</li><li> tag-key - String - 是否必填:否 - (过滤条件)按照 CLB 标签的键过滤。</li><li> tag:tag-key - String - 是否必填:否 - (过滤条件)按照CLB标签键值对进行过滤,tag-key使用具体的标签键进行替换。</li><li> function-name - String - 是否必填:否 - (过滤条件)按照 CLB 后端绑定的SCF云函数的函数名称过滤。</li><li> vip-isp - String - 是否必填:否 - (过滤条件)按照 CLB VIP的运营商类型过滤,如:"BGP","INTERNAL","CMCC","CTCC","CUCC"等。</li><li> sla-type - String - 是否必填:否 - (过滤条件)按照 CLB 的性能容量型规格过滤,包括"clb.c1.small","clb.c2.medium","clb.c3.small","clb.c3.medium","clb.c4.small","clb.c4.medium","clb.c4.large","clb.c4.xlarge","others"。</li><li> exclusive - uint64 - 是否必填:否 - (过滤条件)按照独占实例进行过滤。</li>
3488
3492
  # @type Filters: Array
3493
+ # @param AdditionalFields: 选择返回的扩充字段,不指定时,扩充字段默认不返回。详细支持的扩充字段如下:
3494
+ # <li> TargetCount:绑定的后端服务数量</li>
3495
+ # @type AdditionalFields: Array
3489
3496
 
3490
- attr_accessor :LoadBalancerIds, :LoadBalancerType, :Forward, :LoadBalancerName, :Domain, :LoadBalancerVips, :BackendPublicIps, :BackendPrivateIps, :Offset, :Limit, :OrderBy, :OrderType, :SearchKey, :ProjectId, :WithRs, :VpcId, :SecurityGroup, :MasterZone, :Filters
3497
+ attr_accessor :LoadBalancerIds, :LoadBalancerType, :Forward, :LoadBalancerName, :Domain, :LoadBalancerVips, :BackendPublicIps, :BackendPrivateIps, :Offset, :Limit, :OrderBy, :OrderType, :SearchKey, :ProjectId, :WithRs, :VpcId, :SecurityGroup, :MasterZone, :Filters, :AdditionalFields
3491
3498
 
3492
- def initialize(loadbalancerids=nil, loadbalancertype=nil, forward=nil, loadbalancername=nil, domain=nil, loadbalancervips=nil, backendpublicips=nil, backendprivateips=nil, offset=nil, limit=nil, orderby=nil, ordertype=nil, searchkey=nil, projectid=nil, withrs=nil, vpcid=nil, securitygroup=nil, masterzone=nil, filters=nil)
3499
+ def initialize(loadbalancerids=nil, loadbalancertype=nil, forward=nil, loadbalancername=nil, domain=nil, loadbalancervips=nil, backendpublicips=nil, backendprivateips=nil, offset=nil, limit=nil, orderby=nil, ordertype=nil, searchkey=nil, projectid=nil, withrs=nil, vpcid=nil, securitygroup=nil, masterzone=nil, filters=nil, additionalfields=nil)
3493
3500
  @LoadBalancerIds = loadbalancerids
3494
3501
  @LoadBalancerType = loadbalancertype
3495
3502
  @Forward = forward
@@ -3509,6 +3516,7 @@ module TencentCloud
3509
3516
  @SecurityGroup = securitygroup
3510
3517
  @MasterZone = masterzone
3511
3518
  @Filters = filters
3519
+ @AdditionalFields = additionalfields
3512
3520
  end
3513
3521
 
3514
3522
  def deserialize(params)
@@ -3538,6 +3546,7 @@ module TencentCloud
3538
3546
  @Filters << filter_tmp
3539
3547
  end
3540
3548
  end
3549
+ @AdditionalFields = params['AdditionalFields']
3541
3550
  end
3542
3551
  end
3543
3552
 
@@ -5272,13 +5281,15 @@ module TencentCloud
5272
5281
  # @param Exclusive: 实例类型是否为独占型。1:独占型实例。0:非独占型实例。
5273
5282
  # 注意:此字段可能返回 null,表示取不到有效值。
5274
5283
  # @type Exclusive: Integer
5284
+ # @param TargetCount: 已绑定的后端服务数量。
5285
+ # @type TargetCount: Integer
5275
5286
 
5276
- 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, :LoadBalancerDomain, :Egress, :Exclusive
5287
+ 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, :LoadBalancerDomain, :Egress, :Exclusive, :TargetCount
5277
5288
  extend Gem::Deprecate
5278
5289
  deprecate :Log, :none, 2025, 1
5279
5290
  deprecate :Log=, :none, 2025, 1
5280
5291
 
5281
- 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, loadbalancerdomain=nil, egress=nil, exclusive=nil)
5292
+ 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, loadbalancerdomain=nil, egress=nil, exclusive=nil, targetcount=nil)
5282
5293
  @LoadBalancerId = loadbalancerid
5283
5294
  @LoadBalancerName = loadbalancername
5284
5295
  @LoadBalancerType = loadbalancertype
@@ -5335,6 +5346,7 @@ module TencentCloud
5335
5346
  @LoadBalancerDomain = loadbalancerdomain
5336
5347
  @Egress = egress
5337
5348
  @Exclusive = exclusive
5349
+ @TargetCount = targetcount
5338
5350
  end
5339
5351
 
5340
5352
  def deserialize(params)
@@ -5433,6 +5445,7 @@ module TencentCloud
5433
5445
  @LoadBalancerDomain = params['LoadBalancerDomain']
5434
5446
  @Egress = params['Egress']
5435
5447
  @Exclusive = params['Exclusive']
5448
+ @TargetCount = params['TargetCount']
5436
5449
  end
5437
5450
  end
5438
5451
 
@@ -8113,10 +8126,24 @@ module TencentCloud
8113
8126
  # @param AssociatedRule: 关联到的规则数组。在DescribeTargetGroupList接口调用时无法获取到该参数。
8114
8127
  # 注意:此字段可能返回 null,表示取不到有效值。
8115
8128
  # @type AssociatedRule: Array
8129
+ # @param TargetGroupType: 目标组类型,当前支持v1(旧版目标组), v2(新版目标组), gwlb(全局负载均衡目标组)。
8130
+ # 注意:此字段可能返回 null,表示取不到有效值。
8131
+ # @type TargetGroupType: String
8132
+ # @param AssociatedRuleCount: 目标组已关联的规则数。
8133
+ # 注意:此字段可能返回 null,表示取不到有效值。
8134
+ # @type AssociatedRuleCount: Integer
8135
+ # @param RegisteredInstancesCount: 目标组内的实例数量。
8136
+ # 注意:此字段可能返回 null,表示取不到有效值。
8137
+ # @type RegisteredInstancesCount: Integer
8138
+ # @param Tag: 标签。
8139
+ # @type Tag: Array
8140
+ # @param Weight: 默认权重。只有v2类型目标组返回该字段。当返回为NULL时, 表示未设置默认权重。
8141
+ # 注意:此字段可能返回 null,表示取不到有效值。
8142
+ # @type Weight: Integer
8116
8143
 
8117
- attr_accessor :TargetGroupId, :VpcId, :TargetGroupName, :Port, :CreatedTime, :UpdatedTime, :AssociatedRule
8144
+ attr_accessor :TargetGroupId, :VpcId, :TargetGroupName, :Port, :CreatedTime, :UpdatedTime, :AssociatedRule, :TargetGroupType, :AssociatedRuleCount, :RegisteredInstancesCount, :Tag, :Weight
8118
8145
 
8119
- def initialize(targetgroupid=nil, vpcid=nil, targetgroupname=nil, port=nil, createdtime=nil, updatedtime=nil, associatedrule=nil)
8146
+ def initialize(targetgroupid=nil, vpcid=nil, targetgroupname=nil, port=nil, createdtime=nil, updatedtime=nil, associatedrule=nil, targetgrouptype=nil, associatedrulecount=nil, registeredinstancescount=nil, tag=nil, weight=nil)
8120
8147
  @TargetGroupId = targetgroupid
8121
8148
  @VpcId = vpcid
8122
8149
  @TargetGroupName = targetgroupname
@@ -8124,6 +8151,11 @@ module TencentCloud
8124
8151
  @CreatedTime = createdtime
8125
8152
  @UpdatedTime = updatedtime
8126
8153
  @AssociatedRule = associatedrule
8154
+ @TargetGroupType = targetgrouptype
8155
+ @AssociatedRuleCount = associatedrulecount
8156
+ @RegisteredInstancesCount = registeredinstancescount
8157
+ @Tag = tag
8158
+ @Weight = weight
8127
8159
  end
8128
8160
 
8129
8161
  def deserialize(params)
@@ -8141,6 +8173,18 @@ module TencentCloud
8141
8173
  @AssociatedRule << associationitem_tmp
8142
8174
  end
8143
8175
  end
8176
+ @TargetGroupType = params['TargetGroupType']
8177
+ @AssociatedRuleCount = params['AssociatedRuleCount']
8178
+ @RegisteredInstancesCount = params['RegisteredInstancesCount']
8179
+ unless params['Tag'].nil?
8180
+ @Tag = []
8181
+ params['Tag'].each do |i|
8182
+ taginfo_tmp = TagInfo.new
8183
+ taginfo_tmp.deserialize(i)
8184
+ @Tag << taginfo_tmp
8185
+ end
8186
+ end
8187
+ @Weight = params['Weight']
8144
8188
  end
8145
8189
  end
8146
8190
 
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: 3.0.981
4
+ version: 3.0.983
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-13 00:00:00.000000000 Z
11
+ date: 2025-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common