tencentcloud-sdk-tke 3.0.707 → 3.0.708

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: 8de45a63780238e9136a743f147df3d3de799039
4
- data.tar.gz: 9e077a9e28297c5f7534cfd61406c01349a944bc
3
+ metadata.gz: 235b1040f1525eb0451e42e15cdb0af633935dba
4
+ data.tar.gz: ae86c3249a74bf5f01892d981db5b102d6cb0143
5
5
  SHA512:
6
- metadata.gz: 39bf89aee56ce31b5bff28d99f1c4a7065f768c5f092fe759eeff05fe842bb5f261bb7d8ecc27c4f3adc79f810d99d6a5bda5005357429160fdfba4b2fe4689f
7
- data.tar.gz: a1b3097687b831778c9b4c482164bd2398dbdccd07e4d233ce43b8f7693990d7991713ab14550c8ae7f186db125d332cc2777542ae87559b179b54f5a1c4bd5b
6
+ metadata.gz: 8f2e0bf60d4c4005a48c974e04b1f32a4c3a8e6a7002b79d490fc08c9be5061fc358a544711d62928f62d4b9b17f3eb4784e8f820a8faefdde16c8750e9770a6
7
+ data.tar.gz: 6b1029e08820af756f93091f366f8537af660e60fc5eac1f3e0f7c137a6beddb37d496fc21476516e61ffe734364149e94216fd9155d54a7808cca2c372da885
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.707
1
+ 3.0.708
@@ -1901,6 +1901,30 @@ module TencentCloud
1901
1901
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1902
1902
  end
1903
1903
 
1904
+ # 查询集群自定义参数
1905
+
1906
+ # @param request: Request instance for DescribeClusterExtraArgs.
1907
+ # @type request: :class:`Tencentcloud::tke::V20180525::DescribeClusterExtraArgsRequest`
1908
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DescribeClusterExtraArgsResponse`
1909
+ def DescribeClusterExtraArgs(request)
1910
+ body = send_request('DescribeClusterExtraArgs', request.serialize)
1911
+ response = JSON.parse(body)
1912
+ if response['Response'].key?('Error') == false
1913
+ model = DescribeClusterExtraArgsResponse.new
1914
+ model.deserialize(response['Response'])
1915
+ model
1916
+ else
1917
+ code = response['Response']['Error']['Code']
1918
+ message = response['Response']['Error']['Message']
1919
+ reqid = response['Response']['RequestId']
1920
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1921
+ end
1922
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1923
+ raise e
1924
+ rescue StandardError => e
1925
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1926
+ end
1927
+
1904
1928
  # 查询用户单个Region下的所有集群巡检结果概览信息
1905
1929
 
1906
1930
  # @param request: Request instance for DescribeClusterInspectionResultsOverview.
@@ -2741,6 +2765,54 @@ module TencentCloud
2741
2765
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2742
2766
  end
2743
2767
 
2768
+ # 查看开启第三方节点池配置信息
2769
+
2770
+ # @param request: Request instance for DescribeExternalNodeSupportConfig.
2771
+ # @type request: :class:`Tencentcloud::tke::V20180525::DescribeExternalNodeSupportConfigRequest`
2772
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DescribeExternalNodeSupportConfigResponse`
2773
+ def DescribeExternalNodeSupportConfig(request)
2774
+ body = send_request('DescribeExternalNodeSupportConfig', request.serialize)
2775
+ response = JSON.parse(body)
2776
+ if response['Response'].key?('Error') == false
2777
+ model = DescribeExternalNodeSupportConfigResponse.new
2778
+ model.deserialize(response['Response'])
2779
+ model
2780
+ else
2781
+ code = response['Response']['Error']['Code']
2782
+ message = response['Response']['Error']['Message']
2783
+ reqid = response['Response']['RequestId']
2784
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2785
+ end
2786
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2787
+ raise e
2788
+ rescue StandardError => e
2789
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2790
+ end
2791
+
2792
+ # 获取eniipamd组件信息
2793
+
2794
+ # @param request: Request instance for DescribeIPAMD.
2795
+ # @type request: :class:`Tencentcloud::tke::V20180525::DescribeIPAMDRequest`
2796
+ # @rtype: :class:`Tencentcloud::tke::V20180525::DescribeIPAMDResponse`
2797
+ def DescribeIPAMD(request)
2798
+ body = send_request('DescribeIPAMD', request.serialize)
2799
+ response = JSON.parse(body)
2800
+ if response['Response'].key?('Error') == false
2801
+ model = DescribeIPAMDResponse.new
2802
+ model.deserialize(response['Response'])
2803
+ model
2804
+ else
2805
+ code = response['Response']['Error']['Code']
2806
+ message = response['Response']['Error']['Message']
2807
+ reqid = response['Response']['RequestId']
2808
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2809
+ end
2810
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2811
+ raise e
2812
+ rescue StandardError => e
2813
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2814
+ end
2815
+
2744
2816
  # 查询镜像缓存信息接口
2745
2817
 
2746
2818
  # @param request: Request instance for DescribeImageCaches.
@@ -5489,12 +5489,15 @@ module TencentCloud
5489
5489
  # @param SecurityGroup: 外网安全组
5490
5490
  # 注意:此字段可能返回 null,表示取不到有效值。
5491
5491
  # @type SecurityGroup: String
5492
+ # @param ClusterIntranetSubnetId: 内网访问所属子网
5493
+ # 注意:此字段可能返回 null,表示取不到有效值。
5494
+ # @type ClusterIntranetSubnetId: String
5492
5495
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5493
5496
  # @type RequestId: String
5494
5497
 
5495
- attr_accessor :CertificationAuthority, :ClusterExternalEndpoint, :ClusterIntranetEndpoint, :ClusterDomain, :ClusterExternalACL, :ClusterExternalDomain, :ClusterIntranetDomain, :SecurityGroup, :RequestId
5498
+ attr_accessor :CertificationAuthority, :ClusterExternalEndpoint, :ClusterIntranetEndpoint, :ClusterDomain, :ClusterExternalACL, :ClusterExternalDomain, :ClusterIntranetDomain, :SecurityGroup, :ClusterIntranetSubnetId, :RequestId
5496
5499
 
5497
- def initialize(certificationauthority=nil, clusterexternalendpoint=nil, clusterintranetendpoint=nil, clusterdomain=nil, clusterexternalacl=nil, clusterexternaldomain=nil, clusterintranetdomain=nil, securitygroup=nil, requestid=nil)
5500
+ def initialize(certificationauthority=nil, clusterexternalendpoint=nil, clusterintranetendpoint=nil, clusterdomain=nil, clusterexternalacl=nil, clusterexternaldomain=nil, clusterintranetdomain=nil, securitygroup=nil, clusterintranetsubnetid=nil, requestid=nil)
5498
5501
  @CertificationAuthority = certificationauthority
5499
5502
  @ClusterExternalEndpoint = clusterexternalendpoint
5500
5503
  @ClusterIntranetEndpoint = clusterintranetendpoint
@@ -5503,6 +5506,7 @@ module TencentCloud
5503
5506
  @ClusterExternalDomain = clusterexternaldomain
5504
5507
  @ClusterIntranetDomain = clusterintranetdomain
5505
5508
  @SecurityGroup = securitygroup
5509
+ @ClusterIntranetSubnetId = clusterintranetsubnetid
5506
5510
  @RequestId = requestid
5507
5511
  end
5508
5512
 
@@ -5515,6 +5519,47 @@ module TencentCloud
5515
5519
  @ClusterExternalDomain = params['ClusterExternalDomain']
5516
5520
  @ClusterIntranetDomain = params['ClusterIntranetDomain']
5517
5521
  @SecurityGroup = params['SecurityGroup']
5522
+ @ClusterIntranetSubnetId = params['ClusterIntranetSubnetId']
5523
+ @RequestId = params['RequestId']
5524
+ end
5525
+ end
5526
+
5527
+ # DescribeClusterExtraArgs请求参数结构体
5528
+ class DescribeClusterExtraArgsRequest < TencentCloud::Common::AbstractModel
5529
+ # @param ClusterId: 集群ID
5530
+ # @type ClusterId: String
5531
+
5532
+ attr_accessor :ClusterId
5533
+
5534
+ def initialize(clusterid=nil)
5535
+ @ClusterId = clusterid
5536
+ end
5537
+
5538
+ def deserialize(params)
5539
+ @ClusterId = params['ClusterId']
5540
+ end
5541
+ end
5542
+
5543
+ # DescribeClusterExtraArgs返回参数结构体
5544
+ class DescribeClusterExtraArgsResponse < TencentCloud::Common::AbstractModel
5545
+ # @param ClusterExtraArgs: 集群自定义参数
5546
+ # 注意:此字段可能返回 null,表示取不到有效值。
5547
+ # @type ClusterExtraArgs: :class:`Tencentcloud::Tke.v20180525.models.ClusterExtraArgs`
5548
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5549
+ # @type RequestId: String
5550
+
5551
+ attr_accessor :ClusterExtraArgs, :RequestId
5552
+
5553
+ def initialize(clusterextraargs=nil, requestid=nil)
5554
+ @ClusterExtraArgs = clusterextraargs
5555
+ @RequestId = requestid
5556
+ end
5557
+
5558
+ def deserialize(params)
5559
+ unless params['ClusterExtraArgs'].nil?
5560
+ @ClusterExtraArgs = ClusterExtraArgs.new
5561
+ @ClusterExtraArgs.deserialize(params['ClusterExtraArgs'])
5562
+ end
5518
5563
  @RequestId = params['RequestId']
5519
5564
  end
5520
5565
  end
@@ -7578,6 +7623,168 @@ module TencentCloud
7578
7623
  end
7579
7624
  end
7580
7625
 
7626
+ # DescribeExternalNodeSupportConfig请求参数结构体
7627
+ class DescribeExternalNodeSupportConfigRequest < TencentCloud::Common::AbstractModel
7628
+ # @param ClusterId: 集群Id
7629
+ # @type ClusterId: String
7630
+
7631
+ attr_accessor :ClusterId
7632
+
7633
+ def initialize(clusterid=nil)
7634
+ @ClusterId = clusterid
7635
+ end
7636
+
7637
+ def deserialize(params)
7638
+ @ClusterId = params['ClusterId']
7639
+ end
7640
+ end
7641
+
7642
+ # DescribeExternalNodeSupportConfig返回参数结构体
7643
+ class DescribeExternalNodeSupportConfigResponse < TencentCloud::Common::AbstractModel
7644
+ # @param ClusterCIDR: 用于分配集群容器和服务 IP 的 CIDR,不得与 VPC CIDR 冲突,也不得与同 VPC 内其他集群 CIDR 冲突。且网段范围必须在内网网段内,例如:10.1.0.0/14, 192.168.0.1/18,172.16.0.0/16。
7645
+ # 注意:此字段可能返回 null,表示取不到有效值。
7646
+ # @type ClusterCIDR: String
7647
+ # @param NetworkType: 集群网络插件类型,支持:CiliumBGP、CiliumVXLan
7648
+ # 注意:此字段可能返回 null,表示取不到有效值。
7649
+ # @type NetworkType: String
7650
+ # @param SubnetId: 子网ID
7651
+ # 注意:此字段可能返回 null,表示取不到有效值。
7652
+ # @type SubnetId: String
7653
+ # @param Enabled: 是否开启第三方节点专线连接支持
7654
+ # 注意:此字段可能返回 null,表示取不到有效值。
7655
+ # @type Enabled: Boolean
7656
+ # @param AS: 节点所属交换机的BGP AS 号
7657
+ # 注意:此字段可能返回 null,表示取不到有效值。
7658
+ # @type AS: String
7659
+ # @param SwitchIP: 节点所属交换机的交换机 IP
7660
+ # 注意:此字段可能返回 null,表示取不到有效值。
7661
+ # @type SwitchIP: String
7662
+ # @param Status: 开启第三方节点池状态
7663
+ # @type Status: String
7664
+ # @param FailedReason: 如果开启失败原因
7665
+ # 注意:此字段可能返回 null,表示取不到有效值。
7666
+ # @type FailedReason: String
7667
+ # @param Master: 内网访问地址
7668
+ # 注意:此字段可能返回 null,表示取不到有效值。
7669
+ # @type Master: String
7670
+ # @param Proxy: 镜像仓库代理地址
7671
+ # 注意:此字段可能返回 null,表示取不到有效值。
7672
+ # @type Proxy: String
7673
+ # @param Progress: 用于记录开启第三方节点的过程进行到哪一步了
7674
+ # 注意:此字段可能返回 null,表示取不到有效值。
7675
+ # @type Progress: Array
7676
+ # @param EnabledPublicConnect: 是否开启第三方节点公网连接支持
7677
+ # @type EnabledPublicConnect: Boolean
7678
+ # @param PublicConnectUrl: 公网连接地址
7679
+ # @type PublicConnectUrl: String
7680
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7681
+ # @type RequestId: String
7682
+
7683
+ attr_accessor :ClusterCIDR, :NetworkType, :SubnetId, :Enabled, :AS, :SwitchIP, :Status, :FailedReason, :Master, :Proxy, :Progress, :EnabledPublicConnect, :PublicConnectUrl, :RequestId
7684
+
7685
+ def initialize(clustercidr=nil, networktype=nil, subnetid=nil, enabled=nil, as=nil, switchip=nil, status=nil, failedreason=nil, master=nil, proxy=nil, progress=nil, enabledpublicconnect=nil, publicconnecturl=nil, requestid=nil)
7686
+ @ClusterCIDR = clustercidr
7687
+ @NetworkType = networktype
7688
+ @SubnetId = subnetid
7689
+ @Enabled = enabled
7690
+ @AS = as
7691
+ @SwitchIP = switchip
7692
+ @Status = status
7693
+ @FailedReason = failedreason
7694
+ @Master = master
7695
+ @Proxy = proxy
7696
+ @Progress = progress
7697
+ @EnabledPublicConnect = enabledpublicconnect
7698
+ @PublicConnectUrl = publicconnecturl
7699
+ @RequestId = requestid
7700
+ end
7701
+
7702
+ def deserialize(params)
7703
+ @ClusterCIDR = params['ClusterCIDR']
7704
+ @NetworkType = params['NetworkType']
7705
+ @SubnetId = params['SubnetId']
7706
+ @Enabled = params['Enabled']
7707
+ @AS = params['AS']
7708
+ @SwitchIP = params['SwitchIP']
7709
+ @Status = params['Status']
7710
+ @FailedReason = params['FailedReason']
7711
+ @Master = params['Master']
7712
+ @Proxy = params['Proxy']
7713
+ unless params['Progress'].nil?
7714
+ @Progress = []
7715
+ params['Progress'].each do |i|
7716
+ step_tmp = Step.new
7717
+ step_tmp.deserialize(i)
7718
+ @Progress << step_tmp
7719
+ end
7720
+ end
7721
+ @EnabledPublicConnect = params['EnabledPublicConnect']
7722
+ @PublicConnectUrl = params['PublicConnectUrl']
7723
+ @RequestId = params['RequestId']
7724
+ end
7725
+ end
7726
+
7727
+ # DescribeIPAMD请求参数结构体
7728
+ class DescribeIPAMDRequest < TencentCloud::Common::AbstractModel
7729
+ # @param ClusterId: 集群ID
7730
+ # @type ClusterId: String
7731
+
7732
+ attr_accessor :ClusterId
7733
+
7734
+ def initialize(clusterid=nil)
7735
+ @ClusterId = clusterid
7736
+ end
7737
+
7738
+ def deserialize(params)
7739
+ @ClusterId = params['ClusterId']
7740
+ end
7741
+ end
7742
+
7743
+ # DescribeIPAMD返回参数结构体
7744
+ class DescribeIPAMDResponse < TencentCloud::Common::AbstractModel
7745
+ # @param EnableIPAMD: 是否安装了eniipamd组件
7746
+ # @type EnableIPAMD: Boolean
7747
+ # @param EnableCustomizedPodCidr: 是否开启自定义podcidr,默认为false,已安装eniipamd组件才意义
7748
+ # 注意:此字段可能返回 null,表示取不到有效值。
7749
+ # @type EnableCustomizedPodCidr: Boolean
7750
+ # @param DisableVpcCniMode: 是否不开启vpccni模式,默认为false,已安装eniipamd组件才意义
7751
+ # 注意:此字段可能返回 null,表示取不到有效值。
7752
+ # @type DisableVpcCniMode: Boolean
7753
+ # @param Phase: 组件状态,已安装eniipamd组件才会有值
7754
+ # 注意:此字段可能返回 null,表示取不到有效值。
7755
+ # @type Phase: String
7756
+ # @param Reason: 错误信息,已安装eniipamd组件且状态为非running才会有错误信息
7757
+ # 注意:此字段可能返回 null,表示取不到有效值。
7758
+ # @type Reason: String
7759
+ # @param SubnetIds: 子网信息,已安装eniipamd组件才会有值
7760
+ # 注意:此字段可能返回 null,表示取不到有效值。
7761
+ # @type SubnetIds: Array
7762
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7763
+ # @type RequestId: String
7764
+
7765
+ attr_accessor :EnableIPAMD, :EnableCustomizedPodCidr, :DisableVpcCniMode, :Phase, :Reason, :SubnetIds, :RequestId
7766
+
7767
+ def initialize(enableipamd=nil, enablecustomizedpodcidr=nil, disablevpccnimode=nil, phase=nil, reason=nil, subnetids=nil, requestid=nil)
7768
+ @EnableIPAMD = enableipamd
7769
+ @EnableCustomizedPodCidr = enablecustomizedpodcidr
7770
+ @DisableVpcCniMode = disablevpccnimode
7771
+ @Phase = phase
7772
+ @Reason = reason
7773
+ @SubnetIds = subnetids
7774
+ @RequestId = requestid
7775
+ end
7776
+
7777
+ def deserialize(params)
7778
+ @EnableIPAMD = params['EnableIPAMD']
7779
+ @EnableCustomizedPodCidr = params['EnableCustomizedPodCidr']
7780
+ @DisableVpcCniMode = params['DisableVpcCniMode']
7781
+ @Phase = params['Phase']
7782
+ @Reason = params['Reason']
7783
+ @SubnetIds = params['SubnetIds']
7784
+ @RequestId = params['RequestId']
7785
+ end
7786
+ end
7787
+
7581
7788
  # DescribeImageCaches请求参数结构体
7582
7789
  class DescribeImageCachesRequest < TencentCloud::Common::AbstractModel
7583
7790
  # @param ImageCacheIds: 镜像缓存Id数组
@@ -16884,6 +17091,42 @@ module TencentCloud
16884
17091
  end
16885
17092
  end
16886
17093
 
17094
+ # 执行步骤信息
17095
+ class Step < TencentCloud::Common::AbstractModel
17096
+ # @param Name: 名称
17097
+ # @type Name: String
17098
+ # @param StartAt: 开始时间
17099
+ # 注意:此字段可能返回 null,表示取不到有效值。
17100
+ # @type StartAt: String
17101
+ # @param EndAt: 结束时间
17102
+ # 注意:此字段可能返回 null,表示取不到有效值。
17103
+ # @type EndAt: String
17104
+ # @param Status: 当前状态
17105
+ # 注意:此字段可能返回 null,表示取不到有效值。
17106
+ # @type Status: String
17107
+ # @param Message: 执行信息
17108
+ # 注意:此字段可能返回 null,表示取不到有效值。
17109
+ # @type Message: String
17110
+
17111
+ attr_accessor :Name, :StartAt, :EndAt, :Status, :Message
17112
+
17113
+ def initialize(name=nil, startat=nil, endat=nil, status=nil, message=nil)
17114
+ @Name = name
17115
+ @StartAt = startat
17116
+ @EndAt = endat
17117
+ @Status = status
17118
+ @Message = message
17119
+ end
17120
+
17121
+ def deserialize(params)
17122
+ @Name = params['Name']
17123
+ @StartAt = params['StartAt']
17124
+ @EndAt = params['EndAt']
17125
+ @Status = params['Status']
17126
+ @Message = params['Message']
17127
+ end
17128
+ end
17129
+
16887
17130
  # 子网信息
16888
17131
  class SubnetInfos < TencentCloud::Common::AbstractModel
16889
17132
  # @param SubnetId: 子网id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tke
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.707
4
+ version: 3.0.708
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-11-19 00:00:00.000000000 Z
11
+ date: 2023-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common