tencentcloud-sdk-tke 3.0.923 → 3.0.925
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180525/client.rb +0 -26
- data/lib/v20180525/models.rb +2 -50
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b657099e88c1a2e21dea204808c347c7b8fc1838
|
4
|
+
data.tar.gz: 3da99fe1a0c055398889b0079e44102abaa9bb48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d2f4fd427ffad1ca701b4c0bbdc2ff9ee41a534a16e0c331a74e6c32c0f15dac7772bbc4f18856036af07fb2a6d2ce341da6030ebfaba20645fc5a69bf88f3a
|
7
|
+
data.tar.gz: 1bd9720c1b7901e9572e03d878317cf7ce2ba502477cee43a919707f4a56e8fe65f01e46e4d43adc734a1f9927fb4d0c7a78af0a1f601ddc33d58d94886b8ad2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.925
|
data/lib/v20180525/client.rb
CHANGED
@@ -2813,32 +2813,6 @@ module TencentCloud
|
|
2813
2813
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2814
2814
|
end
|
2815
2815
|
|
2816
|
-
# tdcc接口已迁移至tdcc产品下,tke下的接口下线
|
2817
|
-
|
2818
|
-
# 获取导入第三方集群YAML定义
|
2819
|
-
|
2820
|
-
# @param request: Request instance for DescribeExternalClusterSpec.
|
2821
|
-
# @type request: :class:`Tencentcloud::tke::V20180525::DescribeExternalClusterSpecRequest`
|
2822
|
-
# @rtype: :class:`Tencentcloud::tke::V20180525::DescribeExternalClusterSpecResponse`
|
2823
|
-
def DescribeExternalClusterSpec(request)
|
2824
|
-
body = send_request('DescribeExternalClusterSpec', request.serialize)
|
2825
|
-
response = JSON.parse(body)
|
2826
|
-
if response['Response'].key?('Error') == false
|
2827
|
-
model = DescribeExternalClusterSpecResponse.new
|
2828
|
-
model.deserialize(response['Response'])
|
2829
|
-
model
|
2830
|
-
else
|
2831
|
-
code = response['Response']['Error']['Code']
|
2832
|
-
message = response['Response']['Error']['Message']
|
2833
|
-
reqid = response['Response']['RequestId']
|
2834
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2835
|
-
end
|
2836
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2837
|
-
raise e
|
2838
|
-
rescue StandardError => e
|
2839
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2840
|
-
end
|
2841
|
-
|
2842
2816
|
# 查看开启第三方节点池配置信息
|
2843
2817
|
|
2844
2818
|
# @param request: Request instance for DescribeExternalNodeSupportConfig.
|
data/lib/v20180525/models.rb
CHANGED
@@ -7730,54 +7730,6 @@ module TencentCloud
|
|
7730
7730
|
end
|
7731
7731
|
end
|
7732
7732
|
|
7733
|
-
# DescribeExternalClusterSpec请求参数结构体
|
7734
|
-
class DescribeExternalClusterSpecRequest < TencentCloud::Common::AbstractModel
|
7735
|
-
# @param ClusterId: 注册集群ID
|
7736
|
-
# @type ClusterId: String
|
7737
|
-
# @param IsExtranet: 默认false 获取内网,是否获取外网版注册命令
|
7738
|
-
# @type IsExtranet: Boolean
|
7739
|
-
# @param IsRefreshExpirationTime: 默认false 不刷新有效时间 ,true刷新有效时间
|
7740
|
-
# @type IsRefreshExpirationTime: Boolean
|
7741
|
-
|
7742
|
-
attr_accessor :ClusterId, :IsExtranet, :IsRefreshExpirationTime
|
7743
|
-
|
7744
|
-
def initialize(clusterid=nil, isextranet=nil, isrefreshexpirationtime=nil)
|
7745
|
-
@ClusterId = clusterid
|
7746
|
-
@IsExtranet = isextranet
|
7747
|
-
@IsRefreshExpirationTime = isrefreshexpirationtime
|
7748
|
-
end
|
7749
|
-
|
7750
|
-
def deserialize(params)
|
7751
|
-
@ClusterId = params['ClusterId']
|
7752
|
-
@IsExtranet = params['IsExtranet']
|
7753
|
-
@IsRefreshExpirationTime = params['IsRefreshExpirationTime']
|
7754
|
-
end
|
7755
|
-
end
|
7756
|
-
|
7757
|
-
# DescribeExternalClusterSpec返回参数结构体
|
7758
|
-
class DescribeExternalClusterSpecResponse < TencentCloud::Common::AbstractModel
|
7759
|
-
# @param Spec: 导入第三方集群YAML定义
|
7760
|
-
# @type Spec: String
|
7761
|
-
# @param Expiration: agent.yaml文件过期时间字符串,时区UTC
|
7762
|
-
# @type Expiration: String
|
7763
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7764
|
-
# @type RequestId: String
|
7765
|
-
|
7766
|
-
attr_accessor :Spec, :Expiration, :RequestId
|
7767
|
-
|
7768
|
-
def initialize(spec=nil, expiration=nil, requestid=nil)
|
7769
|
-
@Spec = spec
|
7770
|
-
@Expiration = expiration
|
7771
|
-
@RequestId = requestid
|
7772
|
-
end
|
7773
|
-
|
7774
|
-
def deserialize(params)
|
7775
|
-
@Spec = params['Spec']
|
7776
|
-
@Expiration = params['Expiration']
|
7777
|
-
@RequestId = params['RequestId']
|
7778
|
-
end
|
7779
|
-
end
|
7780
|
-
|
7781
7733
|
# DescribeExternalNodeSupportConfig请求参数结构体
|
7782
7734
|
class DescribeExternalNodeSupportConfigRequest < TencentCloud::Common::AbstractModel
|
7783
7735
|
# @param ClusterId: 集群Id
|
@@ -15112,7 +15064,7 @@ module TencentCloud
|
|
15112
15064
|
# @param Name: 策略英文名称
|
15113
15065
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15114
15066
|
# @type Name: String
|
15115
|
-
# @param Kind:
|
15067
|
+
# @param Kind: 策略模板类型
|
15116
15068
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15117
15069
|
# @type Kind: String
|
15118
15070
|
# @param EnabledStatus: 策略开关状态:open打开,close关闭
|
@@ -15167,7 +15119,7 @@ module TencentCloud
|
|
15167
15119
|
# @type EnforcementAction: String
|
15168
15120
|
# @param Name: 策略英文名称
|
15169
15121
|
# @type Name: String
|
15170
|
-
# @param Kind:
|
15122
|
+
# @param Kind: 策略模板类型
|
15171
15123
|
# @type Kind: String
|
15172
15124
|
# @param EnabledStatus: 策略开关状态:open打开,close关闭
|
15173
15125
|
# @type EnabledStatus: String
|
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.
|
4
|
+
version: 3.0.925
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-10-
|
11
|
+
date: 2024-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|