tencentcloud-sdk-tcm 1.0.356 → 1.0.357

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/v20210413/models.rb +142 -8
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 183a54fe2c0cff7f71f385daa5abcd1b802d8e93
4
- data.tar.gz: 9b96649f9f2f548e298dbf4be778e528ce054418
3
+ metadata.gz: 0c2dae29f925a2483857d424e8585b3bae250ba2
4
+ data.tar.gz: dfa60a87bfdf46ff91eb4cb2adccefe8113151ad
5
5
  SHA512:
6
- metadata.gz: c89901917253443e108f1cd960f31e4e3bde5e314335358a6c8bd6cd2d71805da31dc76e3c7c6e70cce6ed42c125a3946a111629362f4db0a8af343ae2e041c0
7
- data.tar.gz: 04825c974c8aad99399d82b08245def725cc6af5d02b22fc4e134cd469a6c5db9dd76a67f9def91752a98c7b3ac1ad32b1ff5d3b5e990c7bee4bbfcca41d3841
6
+ metadata.gz: 6119657f7496e3d3129d0ecec33159cfaf1b8f41b1797bb05fdfaaa2803f50381289688e66637081b5ace663a4a93ac9bfeecde4d6398c2aa6b829724f6b9ad4
7
+ data.tar.gz: 269d733297ae1c8e46bc7394ba575d4f76b23ce0bc863ed22f6fa1dbe659f73c15f93aec143441a052a38b6d15b91514fc5e52366cefc32a390cb63f17801301
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.356
1
+ 1.0.357
@@ -194,10 +194,12 @@ module TencentCloud
194
194
  # - TKE
195
195
  # - EKS
196
196
  # @type Type: String
197
+ # @param HostedNamespaces: 集群关联的 Namespace 列表
198
+ # @type HostedNamespaces: Array
197
199
 
198
- attr_accessor :ClusterId, :Region, :Role, :VpcId, :SubnetId, :DisplayName, :State, :LinkedTime, :Config, :Status, :Type
200
+ attr_accessor :ClusterId, :Region, :Role, :VpcId, :SubnetId, :DisplayName, :State, :LinkedTime, :Config, :Status, :Type, :HostedNamespaces
199
201
 
200
- def initialize(clusterid=nil, region=nil, role=nil, vpcid=nil, subnetid=nil, displayname=nil, state=nil, linkedtime=nil, config=nil, status=nil, type=nil)
202
+ def initialize(clusterid=nil, region=nil, role=nil, vpcid=nil, subnetid=nil, displayname=nil, state=nil, linkedtime=nil, config=nil, status=nil, type=nil, hostednamespaces=nil)
201
203
  @ClusterId = clusterid
202
204
  @Region = region
203
205
  @Role = role
@@ -209,6 +211,7 @@ module TencentCloud
209
211
  @Config = config
210
212
  @Status = status
211
213
  @Type = type
214
+ @HostedNamespaces = hostednamespaces
212
215
  end
213
216
 
214
217
  def deserialize(params)
@@ -229,6 +232,7 @@ module TencentCloud
229
232
  @Status.deserialize(params['Status'])
230
233
  end
231
234
  @Type = params['Type']
235
+ @HostedNamespaces = params['HostedNamespaces']
232
236
  end
233
237
  end
234
238
 
@@ -509,6 +513,64 @@ module TencentCloud
509
513
  end
510
514
  end
511
515
 
516
+ # 内网独占集群配置
517
+ class ExtensiveCluster < TencentCloud::Common::AbstractModel
518
+ # @param ClusterId: Cluster ID
519
+ # 注意:此字段可能返回 null,表示取不到有效值。
520
+ # @type ClusterId: String
521
+ # @param Zone: 可用区
522
+ # 注意:此字段可能返回 null,表示取不到有效值。
523
+ # @type Zone: String
524
+
525
+ attr_accessor :ClusterId, :Zone
526
+
527
+ def initialize(clusterid=nil, zone=nil)
528
+ @ClusterId = clusterid
529
+ @Zone = zone
530
+ end
531
+
532
+ def deserialize(params)
533
+ @ClusterId = params['ClusterId']
534
+ @Zone = params['Zone']
535
+ end
536
+ end
537
+
538
+ # 内网独占集群配置列表
539
+ class ExtensiveClusters < TencentCloud::Common::AbstractModel
540
+ # @param L4Clusters: 4层集群配置
541
+ # 注意:此字段可能返回 null,表示取不到有效值。
542
+ # @type L4Clusters: Array
543
+ # @param L7Clusters: 7层集群配置
544
+ # 注意:此字段可能返回 null,表示取不到有效值。
545
+ # @type L7Clusters: Array
546
+
547
+ attr_accessor :L4Clusters, :L7Clusters
548
+
549
+ def initialize(l4clusters=nil, l7clusters=nil)
550
+ @L4Clusters = l4clusters
551
+ @L7Clusters = l7clusters
552
+ end
553
+
554
+ def deserialize(params)
555
+ unless params['L4Clusters'].nil?
556
+ @L4Clusters = []
557
+ params['L4Clusters'].each do |i|
558
+ extensivecluster_tmp = ExtensiveCluster.new
559
+ extensivecluster_tmp.deserialize(i)
560
+ @L4Clusters << extensivecluster_tmp
561
+ end
562
+ end
563
+ unless params['L7Clusters'].nil?
564
+ @L7Clusters = []
565
+ params['L7Clusters'].each do |i|
566
+ extensivecluster_tmp = ExtensiveCluster.new
567
+ extensivecluster_tmp.deserialize(i)
568
+ @L7Clusters << extensivecluster_tmp
569
+ end
570
+ end
571
+ end
572
+ end
573
+
512
574
  # 键值对过滤器,用于条件过滤查询。例如过滤ID、名称等
513
575
  class Filter < TencentCloud::Common::AbstractModel
514
576
  # @param Name: 需要过滤的字段。
@@ -755,16 +817,40 @@ module TencentCloud
755
817
  # @type SubnetId: String
756
818
  # @param InternetChargeType: TRAFFIC_POSTPAID_BY_HOUR 按流量按小时后计费 ; BANDWIDTH_POSTPAID_BY_HOUR 按带宽按小时后计费;只读。
757
819
  # @type InternetChargeType: String
758
- # @param InternetMaxBandwidthOut: 最大出带宽,单位Mbps,范围支持0到2048,仅对公网属性的LB生效,默认值 10
820
+ # @param InternetMaxBandwidthOut: 最大出带宽,单位Mbps,仅对公网属性的LB生效,默认值 10
759
821
  # @type InternetMaxBandwidthOut: Integer
822
+ # @param ZoneID: 可用区 ID
823
+ # 注意:此字段可能返回 null,表示取不到有效值。
824
+ # @type ZoneID: String
825
+ # @param VipIsp: 运营商类型
826
+ # 注意:此字段可能返回 null,表示取不到有效值。
827
+ # @type VipIsp: String
828
+ # @param TgwGroupName: TGW Group 名
829
+ # 注意:此字段可能返回 null,表示取不到有效值。
830
+ # @type TgwGroupName: String
831
+ # @param AddressIPVersion: IP 类型
832
+ # 注意:此字段可能返回 null,表示取不到有效值。
833
+ # @type AddressIPVersion: String
834
+ # @param Tags: 标签列表
835
+ # 注意:此字段可能返回 null,表示取不到有效值。
836
+ # @type Tags: Array
837
+ # @param ExtensiveClusters: 内网独占集群配置列表
838
+ # 注意:此字段可能返回 null,表示取不到有效值。
839
+ # @type ExtensiveClusters: :class:`Tencentcloud::Tcm.v20210413.models.ExtensiveClusters`
760
840
 
761
- attr_accessor :LoadBalancerType, :SubnetId, :InternetChargeType, :InternetMaxBandwidthOut
841
+ attr_accessor :LoadBalancerType, :SubnetId, :InternetChargeType, :InternetMaxBandwidthOut, :ZoneID, :VipIsp, :TgwGroupName, :AddressIPVersion, :Tags, :ExtensiveClusters
762
842
 
763
- def initialize(loadbalancertype=nil, subnetid=nil, internetchargetype=nil, internetmaxbandwidthout=nil)
843
+ def initialize(loadbalancertype=nil, subnetid=nil, internetchargetype=nil, internetmaxbandwidthout=nil, zoneid=nil, vipisp=nil, tgwgroupname=nil, addressipversion=nil, tags=nil, extensiveclusters=nil)
764
844
  @LoadBalancerType = loadbalancertype
765
845
  @SubnetId = subnetid
766
846
  @InternetChargeType = internetchargetype
767
847
  @InternetMaxBandwidthOut = internetmaxbandwidthout
848
+ @ZoneID = zoneid
849
+ @VipIsp = vipisp
850
+ @TgwGroupName = tgwgroupname
851
+ @AddressIPVersion = addressipversion
852
+ @Tags = tags
853
+ @ExtensiveClusters = extensiveclusters
768
854
  end
769
855
 
770
856
  def deserialize(params)
@@ -772,6 +858,22 @@ module TencentCloud
772
858
  @SubnetId = params['SubnetId']
773
859
  @InternetChargeType = params['InternetChargeType']
774
860
  @InternetMaxBandwidthOut = params['InternetMaxBandwidthOut']
861
+ @ZoneID = params['ZoneID']
862
+ @VipIsp = params['VipIsp']
863
+ @TgwGroupName = params['TgwGroupName']
864
+ @AddressIPVersion = params['AddressIPVersion']
865
+ unless params['Tags'].nil?
866
+ @Tags = []
867
+ params['Tags'].each do |i|
868
+ tag_tmp = Tag.new
869
+ tag_tmp.deserialize(i)
870
+ @Tags << tag_tmp
871
+ end
872
+ end
873
+ unless params['ExtensiveClusters'].nil?
874
+ @ExtensiveClusters = ExtensiveClusters.new
875
+ @ExtensiveClusters.deserialize(params['ExtensiveClusters'])
876
+ end
775
877
  end
776
878
  end
777
879
 
@@ -1290,6 +1392,30 @@ module TencentCloud
1290
1392
  end
1291
1393
  end
1292
1394
 
1395
+ # 标签
1396
+ class Tag < TencentCloud::Common::AbstractModel
1397
+ # @param Key: 标签键
1398
+ # @type Key: String
1399
+ # @param Value: 标签值
1400
+ # @type Value: String
1401
+ # @param Passthrough: 是否透传给其他关联产品
1402
+ # @type Passthrough: Boolean
1403
+
1404
+ attr_accessor :Key, :Value, :Passthrough
1405
+
1406
+ def initialize(key=nil, value=nil, passthrough=nil)
1407
+ @Key = key
1408
+ @Value = value
1409
+ @Passthrough = passthrough
1410
+ end
1411
+
1412
+ def deserialize(params)
1413
+ @Key = params['Key']
1414
+ @Value = params['Value']
1415
+ @Passthrough = params['Passthrough']
1416
+ end
1417
+ end
1418
+
1293
1419
  # 调用链配置
1294
1420
  class TracingConfig < TencentCloud::Common::AbstractModel
1295
1421
  # @param Sampling: 调用链采样率,百分比
@@ -1350,14 +1476,21 @@ module TencentCloud
1350
1476
  # @type HorizontalPodAutoscaler: :class:`Tencentcloud::Tcm.v20210413.models.HorizontalPodAutoscalerSpec`
1351
1477
  # @param SelectedNodeList: 部署到指定节点
1352
1478
  # @type SelectedNodeList: Array
1353
-
1354
- attr_accessor :Replicas, :Resources, :HorizontalPodAutoscaler, :SelectedNodeList
1479
+ # @param DeployMode: 组件的部署模式,取值说明:
1480
+ # IN_GENERAL_NODE:常规节点
1481
+ # IN_EKLET:eklet 节点
1482
+ # IN_SHARED_NODE_POOL:共享节电池
1483
+ # IN_EXCLUSIVE_NODE_POOL:独占节点池
1484
+ # @type DeployMode: String
1485
+
1486
+ attr_accessor :Replicas, :Resources, :HorizontalPodAutoscaler, :SelectedNodeList, :DeployMode
1355
1487
 
1356
- def initialize(replicas=nil, resources=nil, horizontalpodautoscaler=nil, selectednodelist=nil)
1488
+ def initialize(replicas=nil, resources=nil, horizontalpodautoscaler=nil, selectednodelist=nil, deploymode=nil)
1357
1489
  @Replicas = replicas
1358
1490
  @Resources = resources
1359
1491
  @HorizontalPodAutoscaler = horizontalpodautoscaler
1360
1492
  @SelectedNodeList = selectednodelist
1493
+ @DeployMode = deploymode
1361
1494
  end
1362
1495
 
1363
1496
  def deserialize(params)
@@ -1371,6 +1504,7 @@ module TencentCloud
1371
1504
  @HorizontalPodAutoscaler.deserialize(params['HorizontalPodAutoscaler'])
1372
1505
  end
1373
1506
  @SelectedNodeList = params['SelectedNodeList']
1507
+ @DeployMode = params['DeployMode']
1374
1508
  end
1375
1509
  end
1376
1510
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tcm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.356
4
+ version: 1.0.357
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-07-14 00:00:00.000000000 Z
11
+ date: 2022-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common