tencentcloud-sdk-clb 3.0.471 → 3.0.472

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180317/models.rb +61 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d5957f011f077e88eb1d3687b17b5fa64cf347bf
4
- data.tar.gz: 2d1f13436e8c7eea0a8234f2e6366ddbad2858ca
3
+ metadata.gz: b7e9bc66cefc4edb78a5d2a1e393ae53ca6094dd
4
+ data.tar.gz: e5e224045a6a4a5bfcebee061024d9f230cff59e
5
5
  SHA512:
6
- metadata.gz: 4afbcad0fe13b87330701ecaec14fa13ca5c07ceabef85c0fc0e070205a5c2b9dee02553db61b8f973b132ba97d4a361299cbdf88e9ac1e290ae63b699e77b81
7
- data.tar.gz: c580c8cece7a5431dbfceb56452743b7a7b591f416d9bc1f0d4fc982f4c48490de9788da39e2282ec9672dbf8995ba53e04b859a2e1511da3101c9dfc3118e13
6
+ metadata.gz: 209cc2baf9bcad7dcd98c10335a174137e7d0cd40538489ef1ee47f791ac8c25ad2fcc74ab72e068013c8047e347e6bd16880ad00aeae311ba028a052305c238
7
+ data.tar.gz: 3a135294a13dbe92a2e9021caff05fb9a5c617130518473e977cf60e5564acea3a2cbeda5fae181600532d67fcced939f03ba4771d47b20de2070ed7c2eb3de0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.471
1
+ 3.0.472
@@ -1004,10 +1004,13 @@ module TencentCloud
1004
1004
  # @param ClustersVersion: 集群版本
1005
1005
  # 注意:此字段可能返回 null,表示取不到有效值。
1006
1006
  # @type ClustersVersion: String
1007
+ # @param DisasterRecoveryType: 集群容灾类型,如SINGLE-ZONE,DISASTER-RECOVERY,MUTUAL-DISASTER-RECOVERY
1008
+ # 注意:此字段可能返回 null,表示取不到有效值。
1009
+ # @type DisasterRecoveryType: String
1007
1010
 
1008
- attr_accessor :ClusterId, :ClusterName, :ClusterType, :ClusterTag, :Zone, :Network, :MaxConn, :MaxInFlow, :MaxInPkg, :MaxOutFlow, :MaxOutPkg, :MaxNewConn, :HTTPMaxNewConn, :HTTPSMaxNewConn, :HTTPQps, :HTTPSQps, :ResourceCount, :IdleResourceCount, :LoadBalanceDirectorCount, :Isp, :ClustersZone, :ClustersVersion
1011
+ 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
1009
1012
 
1010
- 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)
1013
+ 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)
1011
1014
  @ClusterId = clusterid
1012
1015
  @ClusterName = clustername
1013
1016
  @ClusterType = clustertype
@@ -1030,6 +1033,7 @@ module TencentCloud
1030
1033
  @Isp = isp
1031
1034
  @ClustersZone = clusterszone
1032
1035
  @ClustersVersion = clustersversion
1036
+ @DisasterRecoveryType = disasterrecoverytype
1033
1037
  end
1034
1038
 
1035
1039
  def deserialize(params)
@@ -1058,6 +1062,7 @@ module TencentCloud
1058
1062
  @ClustersZone.deserialize(params['ClustersZone'])
1059
1063
  end
1060
1064
  @ClustersVersion = params['ClustersVersion']
1065
+ @DisasterRecoveryType = params['DisasterRecoveryType']
1061
1066
  end
1062
1067
  end
1063
1068
 
@@ -1104,16 +1109,20 @@ module TencentCloud
1104
1109
  # @param Isp: 集群的Isp属性,如:"BGP","CMCC","CUCC","CTCC","INTERNAL"。
1105
1110
  # 注意:此字段可能返回 null,表示取不到有效值。
1106
1111
  # @type Isp: String
1112
+ # @param ClustersZone: 集群所在的可用区
1113
+ # 注意:此字段可能返回 null,表示取不到有效值。
1114
+ # @type ClustersZone: :class:`Tencentcloud::Clb.v20180317.models.ClustersZone`
1107
1115
 
1108
- attr_accessor :ClusterId, :Vip, :LoadBalancerId, :Idle, :ClusterName, :Isp
1116
+ attr_accessor :ClusterId, :Vip, :LoadBalancerId, :Idle, :ClusterName, :Isp, :ClustersZone
1109
1117
 
1110
- def initialize(clusterid=nil, vip=nil, loadbalancerid=nil, idle=nil, clustername=nil, isp=nil)
1118
+ def initialize(clusterid=nil, vip=nil, loadbalancerid=nil, idle=nil, clustername=nil, isp=nil, clusterszone=nil)
1111
1119
  @ClusterId = clusterid
1112
1120
  @Vip = vip
1113
1121
  @LoadBalancerId = loadbalancerid
1114
1122
  @Idle = idle
1115
1123
  @ClusterName = clustername
1116
1124
  @Isp = isp
1125
+ @ClustersZone = clusterszone
1117
1126
  end
1118
1127
 
1119
1128
  def deserialize(params)
@@ -1123,6 +1132,10 @@ module TencentCloud
1123
1132
  @Idle = params['Idle']
1124
1133
  @ClusterName = params['ClusterName']
1125
1134
  @Isp = params['Isp']
1135
+ unless params['ClustersZone'].nil?
1136
+ @ClustersZone = ClustersZone.new
1137
+ @ClustersZone.deserialize(params['ClustersZone'])
1138
+ end
1126
1139
  end
1127
1140
  end
1128
1141
 
@@ -6181,17 +6194,49 @@ module TencentCloud
6181
6194
  # @type Type: Array
6182
6195
  # @param Isp: 运营商信息,如"CMCC", "CUCC", "CTCC", "BGP", "INTERNAL"。
6183
6196
  # @type Isp: String
6197
+ # @param AvailabilitySet: 可用资源。
6198
+ # 注意:此字段可能返回 null,表示取不到有效值。
6199
+ # @type AvailabilitySet: Array
6184
6200
 
6185
- attr_accessor :Type, :Isp
6201
+ attr_accessor :Type, :Isp, :AvailabilitySet
6186
6202
 
6187
- def initialize(type=nil, isp=nil)
6203
+ def initialize(type=nil, isp=nil, availabilityset=nil)
6188
6204
  @Type = type
6189
6205
  @Isp = isp
6206
+ @AvailabilitySet = availabilityset
6190
6207
  end
6191
6208
 
6192
6209
  def deserialize(params)
6193
6210
  @Type = params['Type']
6194
6211
  @Isp = params['Isp']
6212
+ unless params['AvailabilitySet'].nil?
6213
+ @AvailabilitySet = []
6214
+ params['AvailabilitySet'].each do |i|
6215
+ resourceavailability_tmp = ResourceAvailability.new
6216
+ resourceavailability_tmp.deserialize(i)
6217
+ @AvailabilitySet << resourceavailability_tmp
6218
+ end
6219
+ end
6220
+ end
6221
+ end
6222
+
6223
+ # 资源可用性
6224
+ class ResourceAvailability < TencentCloud::Common::AbstractModel
6225
+ # @param Type: 运营商内具体资源信息,如"CMCC", "CUCC", "CTCC", "BGP"。
6226
+ # @type Type: String
6227
+ # @param Availability: 资源可用性,"Available":可用,"Unavailable":不可用
6228
+ # @type Availability: String
6229
+
6230
+ attr_accessor :Type, :Availability
6231
+
6232
+ def initialize(type=nil, availability=nil)
6233
+ @Type = type
6234
+ @Availability = availability
6235
+ end
6236
+
6237
+ def deserialize(params)
6238
+ @Type = params['Type']
6239
+ @Availability = params['Availability']
6195
6240
  end
6196
6241
  end
6197
6242
 
@@ -7191,16 +7236,22 @@ module TencentCloud
7191
7236
  # @type ZoneRegion: String
7192
7237
  # @param LocalZone: 可用区是否是LocalZone可用区,如:false
7193
7238
  # @type LocalZone: Boolean
7239
+ # @param ZoneResourceType: 可用区资源的类型,SHARED表示共享资源,EXCLUSIVE表示独占资源。
7240
+ # @type ZoneResourceType: String
7241
+ # @param EdgeZone: 可用区是否是EdgeZone可用区,如:false
7242
+ # @type EdgeZone: Boolean
7194
7243
 
7195
- attr_accessor :MasterZone, :ResourceSet, :SlaveZone, :IPVersion, :ZoneRegion, :LocalZone
7244
+ attr_accessor :MasterZone, :ResourceSet, :SlaveZone, :IPVersion, :ZoneRegion, :LocalZone, :ZoneResourceType, :EdgeZone
7196
7245
 
7197
- def initialize(masterzone=nil, resourceset=nil, slavezone=nil, ipversion=nil, zoneregion=nil, localzone=nil)
7246
+ def initialize(masterzone=nil, resourceset=nil, slavezone=nil, ipversion=nil, zoneregion=nil, localzone=nil, zoneresourcetype=nil, edgezone=nil)
7198
7247
  @MasterZone = masterzone
7199
7248
  @ResourceSet = resourceset
7200
7249
  @SlaveZone = slavezone
7201
7250
  @IPVersion = ipversion
7202
7251
  @ZoneRegion = zoneregion
7203
7252
  @LocalZone = localzone
7253
+ @ZoneResourceType = zoneresourcetype
7254
+ @EdgeZone = edgezone
7204
7255
  end
7205
7256
 
7206
7257
  def deserialize(params)
@@ -7217,6 +7268,8 @@ module TencentCloud
7217
7268
  @IPVersion = params['IPVersion']
7218
7269
  @ZoneRegion = params['ZoneRegion']
7219
7270
  @LocalZone = params['LocalZone']
7271
+ @ZoneResourceType = params['ZoneResourceType']
7272
+ @EdgeZone = params['EdgeZone']
7220
7273
  end
7221
7274
  end
7222
7275
 
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.471
4
+ version: 3.0.472
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-12 00:00:00.000000000 Z
11
+ date: 2022-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common