tencentcloud-sdk-tem 1.0.200
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 +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-tem.rb +14 -0
- data/lib/v20201221/client.rb +444 -0
- data/lib/v20201221/models.rb +1907 -0
- data/lib/v20210701/client.rb +492 -0
- data/lib/v20210701/models.rb +2310 -0
- metadata +68 -0
|
@@ -0,0 +1,1907 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
module TencentCloud
|
|
18
|
+
module Tem
|
|
19
|
+
module V20201221
|
|
20
|
+
# Cos token
|
|
21
|
+
class CosToken < TencentCloud::Common::AbstractModel
|
|
22
|
+
# @param RequestId: 唯一请求 ID
|
|
23
|
+
# @type RequestId: String
|
|
24
|
+
# @param Bucket: 存储桶桶名
|
|
25
|
+
# @type Bucket: String
|
|
26
|
+
# @param Region: 存储桶所在区域
|
|
27
|
+
# @type Region: String
|
|
28
|
+
# @param TmpSecretId: 临时密钥的SecretId
|
|
29
|
+
# @type TmpSecretId: String
|
|
30
|
+
# @param TmpSecretKey: 临时密钥的SecretKey
|
|
31
|
+
# @type TmpSecretKey: String
|
|
32
|
+
# @param SessionToken: 临时密钥的 sessionToken
|
|
33
|
+
# @type SessionToken: String
|
|
34
|
+
# @param StartTime: 临时密钥获取的开始时间
|
|
35
|
+
# @type StartTime: String
|
|
36
|
+
# @param ExpiredTime: 临时密钥的 expiredTime
|
|
37
|
+
# @type ExpiredTime: String
|
|
38
|
+
# @param FullPath: 包完整路径
|
|
39
|
+
# @type FullPath: String
|
|
40
|
+
|
|
41
|
+
attr_accessor :RequestId, :Bucket, :Region, :TmpSecretId, :TmpSecretKey, :SessionToken, :StartTime, :ExpiredTime, :FullPath
|
|
42
|
+
|
|
43
|
+
def initialize(requestid=nil, bucket=nil, region=nil, tmpsecretid=nil, tmpsecretkey=nil, sessiontoken=nil, starttime=nil, expiredtime=nil, fullpath=nil)
|
|
44
|
+
@RequestId = requestid
|
|
45
|
+
@Bucket = bucket
|
|
46
|
+
@Region = region
|
|
47
|
+
@TmpSecretId = tmpsecretid
|
|
48
|
+
@TmpSecretKey = tmpsecretkey
|
|
49
|
+
@SessionToken = sessiontoken
|
|
50
|
+
@StartTime = starttime
|
|
51
|
+
@ExpiredTime = expiredtime
|
|
52
|
+
@FullPath = fullpath
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
def deserialize(params)
|
|
56
|
+
@RequestId = params['RequestId']
|
|
57
|
+
@Bucket = params['Bucket']
|
|
58
|
+
@Region = params['Region']
|
|
59
|
+
@TmpSecretId = params['TmpSecretId']
|
|
60
|
+
@TmpSecretKey = params['TmpSecretKey']
|
|
61
|
+
@SessionToken = params['SessionToken']
|
|
62
|
+
@StartTime = params['StartTime']
|
|
63
|
+
@ExpiredTime = params['ExpiredTime']
|
|
64
|
+
@FullPath = params['FullPath']
|
|
65
|
+
end
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# CreateCosToken请求参数结构体
|
|
69
|
+
class CreateCosTokenRequest < TencentCloud::Common::AbstractModel
|
|
70
|
+
# @param ServiceId: 服务ID
|
|
71
|
+
# @type ServiceId: String
|
|
72
|
+
# @param VersionId: 服务版本ID
|
|
73
|
+
# @type VersionId: String
|
|
74
|
+
# @param PkgName: 包名
|
|
75
|
+
# @type PkgName: String
|
|
76
|
+
# @param OptType: optType 1上传 2查询
|
|
77
|
+
# @type OptType: Integer
|
|
78
|
+
# @param SourceChannel: 来源 channel
|
|
79
|
+
# @type SourceChannel: Integer
|
|
80
|
+
|
|
81
|
+
attr_accessor :ServiceId, :VersionId, :PkgName, :OptType, :SourceChannel
|
|
82
|
+
|
|
83
|
+
def initialize(serviceid=nil, versionid=nil, pkgname=nil, opttype=nil, sourcechannel=nil)
|
|
84
|
+
@ServiceId = serviceid
|
|
85
|
+
@VersionId = versionid
|
|
86
|
+
@PkgName = pkgname
|
|
87
|
+
@OptType = opttype
|
|
88
|
+
@SourceChannel = sourcechannel
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
def deserialize(params)
|
|
92
|
+
@ServiceId = params['ServiceId']
|
|
93
|
+
@VersionId = params['VersionId']
|
|
94
|
+
@PkgName = params['PkgName']
|
|
95
|
+
@OptType = params['OptType']
|
|
96
|
+
@SourceChannel = params['SourceChannel']
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
# CreateCosToken返回参数结构体
|
|
101
|
+
class CreateCosTokenResponse < TencentCloud::Common::AbstractModel
|
|
102
|
+
# @param Result: 成功时为CosToken对象,失败为null
|
|
103
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
104
|
+
# @type Result: :class:`Tencentcloud::Tem.v20201221.models.CosToken`
|
|
105
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
106
|
+
# @type RequestId: String
|
|
107
|
+
|
|
108
|
+
attr_accessor :Result, :RequestId
|
|
109
|
+
|
|
110
|
+
def initialize(result=nil, requestid=nil)
|
|
111
|
+
@Result = result
|
|
112
|
+
@RequestId = requestid
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
def deserialize(params)
|
|
116
|
+
unless params['Result'].nil?
|
|
117
|
+
@Result = CosToken.new
|
|
118
|
+
@Result.deserialize(params['Result'])
|
|
119
|
+
end
|
|
120
|
+
@RequestId = params['RequestId']
|
|
121
|
+
end
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
# CreateCosTokenV2请求参数结构体
|
|
125
|
+
class CreateCosTokenV2Request < TencentCloud::Common::AbstractModel
|
|
126
|
+
# @param ServiceId: 服务ID
|
|
127
|
+
# @type ServiceId: String
|
|
128
|
+
# @param PkgName: 包名
|
|
129
|
+
# @type PkgName: String
|
|
130
|
+
# @param OptType: optType 1上传 2查询
|
|
131
|
+
# @type OptType: Integer
|
|
132
|
+
# @param SourceChannel: 来源 channel
|
|
133
|
+
# @type SourceChannel: Integer
|
|
134
|
+
# @param TimeVersion: 充当deployVersion入参
|
|
135
|
+
# @type TimeVersion: String
|
|
136
|
+
|
|
137
|
+
attr_accessor :ServiceId, :PkgName, :OptType, :SourceChannel, :TimeVersion
|
|
138
|
+
|
|
139
|
+
def initialize(serviceid=nil, pkgname=nil, opttype=nil, sourcechannel=nil, timeversion=nil)
|
|
140
|
+
@ServiceId = serviceid
|
|
141
|
+
@PkgName = pkgname
|
|
142
|
+
@OptType = opttype
|
|
143
|
+
@SourceChannel = sourcechannel
|
|
144
|
+
@TimeVersion = timeversion
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
def deserialize(params)
|
|
148
|
+
@ServiceId = params['ServiceId']
|
|
149
|
+
@PkgName = params['PkgName']
|
|
150
|
+
@OptType = params['OptType']
|
|
151
|
+
@SourceChannel = params['SourceChannel']
|
|
152
|
+
@TimeVersion = params['TimeVersion']
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
# CreateCosTokenV2返回参数结构体
|
|
157
|
+
class CreateCosTokenV2Response < TencentCloud::Common::AbstractModel
|
|
158
|
+
# @param Result: 成功时为CosToken对象,失败为null
|
|
159
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
160
|
+
# @type Result: :class:`Tencentcloud::Tem.v20201221.models.CosToken`
|
|
161
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
162
|
+
# @type RequestId: String
|
|
163
|
+
|
|
164
|
+
attr_accessor :Result, :RequestId
|
|
165
|
+
|
|
166
|
+
def initialize(result=nil, requestid=nil)
|
|
167
|
+
@Result = result
|
|
168
|
+
@RequestId = requestid
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
def deserialize(params)
|
|
172
|
+
unless params['Result'].nil?
|
|
173
|
+
@Result = CosToken.new
|
|
174
|
+
@Result.deserialize(params['Result'])
|
|
175
|
+
end
|
|
176
|
+
@RequestId = params['RequestId']
|
|
177
|
+
end
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
# CreateNamespace请求参数结构体
|
|
181
|
+
class CreateNamespaceRequest < TencentCloud::Common::AbstractModel
|
|
182
|
+
# @param NamespaceName: 命名空间名称
|
|
183
|
+
# @type NamespaceName: String
|
|
184
|
+
# @param Vpc: 私有网络名称
|
|
185
|
+
# @type Vpc: String
|
|
186
|
+
# @param SubnetIds: 子网列表
|
|
187
|
+
# @type SubnetIds: Array
|
|
188
|
+
# @param Description: 命名空间描述
|
|
189
|
+
# @type Description: String
|
|
190
|
+
# @param K8sVersion: K8s version
|
|
191
|
+
# @type K8sVersion: String
|
|
192
|
+
# @param SourceChannel: 来源渠道
|
|
193
|
+
# @type SourceChannel: Integer
|
|
194
|
+
# @param EnableTswTraceService: 是否开启tsw服务
|
|
195
|
+
# @type EnableTswTraceService: Boolean
|
|
196
|
+
|
|
197
|
+
attr_accessor :NamespaceName, :Vpc, :SubnetIds, :Description, :K8sVersion, :SourceChannel, :EnableTswTraceService
|
|
198
|
+
|
|
199
|
+
def initialize(namespacename=nil, vpc=nil, subnetids=nil, description=nil, k8sversion=nil, sourcechannel=nil, enabletswtraceservice=nil)
|
|
200
|
+
@NamespaceName = namespacename
|
|
201
|
+
@Vpc = vpc
|
|
202
|
+
@SubnetIds = subnetids
|
|
203
|
+
@Description = description
|
|
204
|
+
@K8sVersion = k8sversion
|
|
205
|
+
@SourceChannel = sourcechannel
|
|
206
|
+
@EnableTswTraceService = enabletswtraceservice
|
|
207
|
+
end
|
|
208
|
+
|
|
209
|
+
def deserialize(params)
|
|
210
|
+
@NamespaceName = params['NamespaceName']
|
|
211
|
+
@Vpc = params['Vpc']
|
|
212
|
+
@SubnetIds = params['SubnetIds']
|
|
213
|
+
@Description = params['Description']
|
|
214
|
+
@K8sVersion = params['K8sVersion']
|
|
215
|
+
@SourceChannel = params['SourceChannel']
|
|
216
|
+
@EnableTswTraceService = params['EnableTswTraceService']
|
|
217
|
+
end
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
# CreateNamespace返回参数结构体
|
|
221
|
+
class CreateNamespaceResponse < TencentCloud::Common::AbstractModel
|
|
222
|
+
# @param Result: 成功时为命名空间ID,失败为null
|
|
223
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
224
|
+
# @type Result: String
|
|
225
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
226
|
+
# @type RequestId: String
|
|
227
|
+
|
|
228
|
+
attr_accessor :Result, :RequestId
|
|
229
|
+
|
|
230
|
+
def initialize(result=nil, requestid=nil)
|
|
231
|
+
@Result = result
|
|
232
|
+
@RequestId = requestid
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
def deserialize(params)
|
|
236
|
+
@Result = params['Result']
|
|
237
|
+
@RequestId = params['RequestId']
|
|
238
|
+
end
|
|
239
|
+
end
|
|
240
|
+
|
|
241
|
+
# CreateResource请求参数结构体
|
|
242
|
+
class CreateResourceRequest < TencentCloud::Common::AbstractModel
|
|
243
|
+
# @param NamespaceId: 命名空间 Id
|
|
244
|
+
# @type NamespaceId: String
|
|
245
|
+
# @param ResourceType: 资源类型,目前支持文件系统:CFS;日志服务:CLS;注册中心:TSE_SRE
|
|
246
|
+
# @type ResourceType: String
|
|
247
|
+
# @param ResourceId: 资源 Id
|
|
248
|
+
# @type ResourceId: String
|
|
249
|
+
# @param SourceChannel: 来源渠道
|
|
250
|
+
# @type SourceChannel: Integer
|
|
251
|
+
|
|
252
|
+
attr_accessor :NamespaceId, :ResourceType, :ResourceId, :SourceChannel
|
|
253
|
+
|
|
254
|
+
def initialize(namespaceid=nil, resourcetype=nil, resourceid=nil, sourcechannel=nil)
|
|
255
|
+
@NamespaceId = namespaceid
|
|
256
|
+
@ResourceType = resourcetype
|
|
257
|
+
@ResourceId = resourceid
|
|
258
|
+
@SourceChannel = sourcechannel
|
|
259
|
+
end
|
|
260
|
+
|
|
261
|
+
def deserialize(params)
|
|
262
|
+
@NamespaceId = params['NamespaceId']
|
|
263
|
+
@ResourceType = params['ResourceType']
|
|
264
|
+
@ResourceId = params['ResourceId']
|
|
265
|
+
@SourceChannel = params['SourceChannel']
|
|
266
|
+
end
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
# CreateResource返回参数结构体
|
|
270
|
+
class CreateResourceResponse < TencentCloud::Common::AbstractModel
|
|
271
|
+
# @param Result: 成功与否
|
|
272
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
273
|
+
# @type Result: Boolean
|
|
274
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
275
|
+
# @type RequestId: String
|
|
276
|
+
|
|
277
|
+
attr_accessor :Result, :RequestId
|
|
278
|
+
|
|
279
|
+
def initialize(result=nil, requestid=nil)
|
|
280
|
+
@Result = result
|
|
281
|
+
@RequestId = requestid
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
def deserialize(params)
|
|
285
|
+
@Result = params['Result']
|
|
286
|
+
@RequestId = params['RequestId']
|
|
287
|
+
end
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
# CreateServiceV2请求参数结构体
|
|
291
|
+
class CreateServiceV2Request < TencentCloud::Common::AbstractModel
|
|
292
|
+
# @param ServiceName: 服务名
|
|
293
|
+
# @type ServiceName: String
|
|
294
|
+
# @param Description: 描述
|
|
295
|
+
# @type Description: String
|
|
296
|
+
# @param UseDefaultImageService: 是否使用默认镜像服务 1-是,0-否
|
|
297
|
+
# @type UseDefaultImageService: Integer
|
|
298
|
+
# @param RepoType: 如果是绑定仓库,绑定的仓库类型,0-个人版,1-企业版
|
|
299
|
+
# @type RepoType: Integer
|
|
300
|
+
# @param InstanceId: 企业版镜像服务的实例id
|
|
301
|
+
# @type InstanceId: String
|
|
302
|
+
# @param RepoServer: 绑定镜像服务器地址
|
|
303
|
+
# @type RepoServer: String
|
|
304
|
+
# @param RepoName: 绑定镜像仓库名
|
|
305
|
+
# @type RepoName: String
|
|
306
|
+
# @param SourceChannel: 来源渠道
|
|
307
|
+
# @type SourceChannel: Integer
|
|
308
|
+
# @param SubnetList: 服务所在子网
|
|
309
|
+
# @type SubnetList: Array
|
|
310
|
+
# @param CodingLanguage: 编程语言
|
|
311
|
+
# - JAVA
|
|
312
|
+
# - OTHER
|
|
313
|
+
# @type CodingLanguage: String
|
|
314
|
+
# @param DeployMode: 部署方式
|
|
315
|
+
# - IMAGE
|
|
316
|
+
# - JAR
|
|
317
|
+
# - WAR
|
|
318
|
+
# @type DeployMode: String
|
|
319
|
+
|
|
320
|
+
attr_accessor :ServiceName, :Description, :UseDefaultImageService, :RepoType, :InstanceId, :RepoServer, :RepoName, :SourceChannel, :SubnetList, :CodingLanguage, :DeployMode
|
|
321
|
+
|
|
322
|
+
def initialize(servicename=nil, description=nil, usedefaultimageservice=nil, repotype=nil, instanceid=nil, reposerver=nil, reponame=nil, sourcechannel=nil, subnetlist=nil, codinglanguage=nil, deploymode=nil)
|
|
323
|
+
@ServiceName = servicename
|
|
324
|
+
@Description = description
|
|
325
|
+
@UseDefaultImageService = usedefaultimageservice
|
|
326
|
+
@RepoType = repotype
|
|
327
|
+
@InstanceId = instanceid
|
|
328
|
+
@RepoServer = reposerver
|
|
329
|
+
@RepoName = reponame
|
|
330
|
+
@SourceChannel = sourcechannel
|
|
331
|
+
@SubnetList = subnetlist
|
|
332
|
+
@CodingLanguage = codinglanguage
|
|
333
|
+
@DeployMode = deploymode
|
|
334
|
+
end
|
|
335
|
+
|
|
336
|
+
def deserialize(params)
|
|
337
|
+
@ServiceName = params['ServiceName']
|
|
338
|
+
@Description = params['Description']
|
|
339
|
+
@UseDefaultImageService = params['UseDefaultImageService']
|
|
340
|
+
@RepoType = params['RepoType']
|
|
341
|
+
@InstanceId = params['InstanceId']
|
|
342
|
+
@RepoServer = params['RepoServer']
|
|
343
|
+
@RepoName = params['RepoName']
|
|
344
|
+
@SourceChannel = params['SourceChannel']
|
|
345
|
+
@SubnetList = params['SubnetList']
|
|
346
|
+
@CodingLanguage = params['CodingLanguage']
|
|
347
|
+
@DeployMode = params['DeployMode']
|
|
348
|
+
end
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
# CreateServiceV2返回参数结构体
|
|
352
|
+
class CreateServiceV2Response < TencentCloud::Common::AbstractModel
|
|
353
|
+
# @param Result: 服务code
|
|
354
|
+
# @type Result: String
|
|
355
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
356
|
+
# @type RequestId: String
|
|
357
|
+
|
|
358
|
+
attr_accessor :Result, :RequestId
|
|
359
|
+
|
|
360
|
+
def initialize(result=nil, requestid=nil)
|
|
361
|
+
@Result = result
|
|
362
|
+
@RequestId = requestid
|
|
363
|
+
end
|
|
364
|
+
|
|
365
|
+
def deserialize(params)
|
|
366
|
+
@Result = params['Result']
|
|
367
|
+
@RequestId = params['RequestId']
|
|
368
|
+
end
|
|
369
|
+
end
|
|
370
|
+
|
|
371
|
+
# DeleteIngress请求参数结构体
|
|
372
|
+
class DeleteIngressRequest < TencentCloud::Common::AbstractModel
|
|
373
|
+
# @param NamespaceId: tem NamespaceId
|
|
374
|
+
# @type NamespaceId: String
|
|
375
|
+
# @param EksNamespace: eks namespace 名
|
|
376
|
+
# @type EksNamespace: String
|
|
377
|
+
# @param Name: ingress 规则名
|
|
378
|
+
# @type Name: String
|
|
379
|
+
# @param SourceChannel: 来源渠道
|
|
380
|
+
# @type SourceChannel: Integer
|
|
381
|
+
|
|
382
|
+
attr_accessor :NamespaceId, :EksNamespace, :Name, :SourceChannel
|
|
383
|
+
|
|
384
|
+
def initialize(namespaceid=nil, eksnamespace=nil, name=nil, sourcechannel=nil)
|
|
385
|
+
@NamespaceId = namespaceid
|
|
386
|
+
@EksNamespace = eksnamespace
|
|
387
|
+
@Name = name
|
|
388
|
+
@SourceChannel = sourcechannel
|
|
389
|
+
end
|
|
390
|
+
|
|
391
|
+
def deserialize(params)
|
|
392
|
+
@NamespaceId = params['NamespaceId']
|
|
393
|
+
@EksNamespace = params['EksNamespace']
|
|
394
|
+
@Name = params['Name']
|
|
395
|
+
@SourceChannel = params['SourceChannel']
|
|
396
|
+
end
|
|
397
|
+
end
|
|
398
|
+
|
|
399
|
+
# DeleteIngress返回参数结构体
|
|
400
|
+
class DeleteIngressResponse < TencentCloud::Common::AbstractModel
|
|
401
|
+
# @param Result: 是否删除成功
|
|
402
|
+
# @type Result: Boolean
|
|
403
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
404
|
+
# @type RequestId: String
|
|
405
|
+
|
|
406
|
+
attr_accessor :Result, :RequestId
|
|
407
|
+
|
|
408
|
+
def initialize(result=nil, requestid=nil)
|
|
409
|
+
@Result = result
|
|
410
|
+
@RequestId = requestid
|
|
411
|
+
end
|
|
412
|
+
|
|
413
|
+
def deserialize(params)
|
|
414
|
+
@Result = params['Result']
|
|
415
|
+
@RequestId = params['RequestId']
|
|
416
|
+
end
|
|
417
|
+
end
|
|
418
|
+
|
|
419
|
+
# DeployServiceV2请求参数结构体
|
|
420
|
+
class DeployServiceV2Request < TencentCloud::Common::AbstractModel
|
|
421
|
+
# @param ServiceId: 服务ID
|
|
422
|
+
# @type ServiceId: String
|
|
423
|
+
# @param ContainerPort: 容器端口
|
|
424
|
+
# @type ContainerPort: Integer
|
|
425
|
+
# @param InitPodNum: 初始化 pod 数
|
|
426
|
+
# @type InitPodNum: Integer
|
|
427
|
+
# @param CpuSpec: cpu规格
|
|
428
|
+
# @type CpuSpec: Float
|
|
429
|
+
# @param MemorySpec: 内存规格
|
|
430
|
+
# @type MemorySpec: Float
|
|
431
|
+
# @param NamespaceId: 环境ID
|
|
432
|
+
# @type NamespaceId: String
|
|
433
|
+
# @param ImgRepo: 镜像仓库
|
|
434
|
+
# @type ImgRepo: String
|
|
435
|
+
# @param VersionDesc: 版本描述信息
|
|
436
|
+
# @type VersionDesc: String
|
|
437
|
+
# @param JvmOpts: 启动参数
|
|
438
|
+
# @type JvmOpts: String
|
|
439
|
+
# @param EsInfo: 弹性伸缩配置,不传默认不启用弹性伸缩配置
|
|
440
|
+
# @type EsInfo: :class:`Tencentcloud::Tem.v20201221.models.EsInfo`
|
|
441
|
+
# @param EnvConf: 环境变量配置
|
|
442
|
+
# @type EnvConf: Array
|
|
443
|
+
# @param LogConfs: 日志配置
|
|
444
|
+
# @type LogConfs: Array
|
|
445
|
+
# @param StorageConfs: 数据卷配置
|
|
446
|
+
# @type StorageConfs: Array
|
|
447
|
+
# @param StorageMountConfs: 数据卷挂载配置
|
|
448
|
+
# @type StorageMountConfs: Array
|
|
449
|
+
# @param DeployMode: 部署类型。
|
|
450
|
+
# - JAR:通过 jar 包部署
|
|
451
|
+
# - WAR:通过 war 包部署
|
|
452
|
+
# - IMAGE:通过镜像部署
|
|
453
|
+
# @type DeployMode: String
|
|
454
|
+
# @param DeployVersion: 部署类型为 IMAGE 时,该参数表示镜像 tag。
|
|
455
|
+
# 部署类型为 JAR/WAR 时,该参数表示包版本号。
|
|
456
|
+
# @type DeployVersion: String
|
|
457
|
+
# @param PkgName: 包名。使用 JAR 包或者 WAR 包部署的时候必填。
|
|
458
|
+
# @type PkgName: String
|
|
459
|
+
# @param JdkVersion: JDK 版本。
|
|
460
|
+
# - KONA:使用 kona jdk。
|
|
461
|
+
# - OPEN:使用 open jdk。
|
|
462
|
+
# @type JdkVersion: String
|
|
463
|
+
# @param SecurityGroupIds: 安全组ID s
|
|
464
|
+
# @type SecurityGroupIds: Array
|
|
465
|
+
# @param LogOutputConf: 日志输出配置
|
|
466
|
+
# @type LogOutputConf: :class:`Tencentcloud::Tem.v20201221.models.LogOutputConf`
|
|
467
|
+
# @param SourceChannel: 来源渠道
|
|
468
|
+
# @type SourceChannel: Integer
|
|
469
|
+
# @param Description: 版本描述
|
|
470
|
+
# @type Description: String
|
|
471
|
+
# @param ImageCommand: 镜像命令
|
|
472
|
+
# @type ImageCommand: String
|
|
473
|
+
# @param ImageArgs: 镜像命令参数
|
|
474
|
+
# @type ImageArgs: Array
|
|
475
|
+
# @param PortMappings: 服务端口映射
|
|
476
|
+
# @type PortMappings: Array
|
|
477
|
+
# @param UseRegistryDefaultConfig: 是否添加默认注册中心配置
|
|
478
|
+
# @type UseRegistryDefaultConfig: Boolean
|
|
479
|
+
# @param SettingConfs: 挂载配置信息
|
|
480
|
+
# @type SettingConfs: Array
|
|
481
|
+
# @param EksService: eks 访问设置
|
|
482
|
+
# @type EksService: :class:`Tencentcloud::Tem.v20201221.models.EksService`
|
|
483
|
+
# @param VersionId: 要回滚到的历史版本id
|
|
484
|
+
# @type VersionId: String
|
|
485
|
+
# @param PostStart: 启动后执行的脚本
|
|
486
|
+
# @type PostStart: String
|
|
487
|
+
# @param PreStop: 停止前执行的脚本
|
|
488
|
+
# @type PreStop: String
|
|
489
|
+
# @param DeployStrategyConf: 分批发布策略配置
|
|
490
|
+
# @type DeployStrategyConf: :class:`Tencentcloud::Tem.v20201221.models.DeployStrategyConf`
|
|
491
|
+
# @param Liveness: 存活探针配置
|
|
492
|
+
# @type Liveness: :class:`Tencentcloud::Tem.v20201221.models.HealthCheckConfig`
|
|
493
|
+
# @param Readiness: 就绪探针配置
|
|
494
|
+
# @type Readiness: :class:`Tencentcloud::Tem.v20201221.models.HealthCheckConfig`
|
|
495
|
+
|
|
496
|
+
attr_accessor :ServiceId, :ContainerPort, :InitPodNum, :CpuSpec, :MemorySpec, :NamespaceId, :ImgRepo, :VersionDesc, :JvmOpts, :EsInfo, :EnvConf, :LogConfs, :StorageConfs, :StorageMountConfs, :DeployMode, :DeployVersion, :PkgName, :JdkVersion, :SecurityGroupIds, :LogOutputConf, :SourceChannel, :Description, :ImageCommand, :ImageArgs, :PortMappings, :UseRegistryDefaultConfig, :SettingConfs, :EksService, :VersionId, :PostStart, :PreStop, :DeployStrategyConf, :Liveness, :Readiness
|
|
497
|
+
|
|
498
|
+
def initialize(serviceid=nil, containerport=nil, initpodnum=nil, cpuspec=nil, memoryspec=nil, namespaceid=nil, imgrepo=nil, versiondesc=nil, jvmopts=nil, esinfo=nil, envconf=nil, logconfs=nil, storageconfs=nil, storagemountconfs=nil, deploymode=nil, deployversion=nil, pkgname=nil, jdkversion=nil, securitygroupids=nil, logoutputconf=nil, sourcechannel=nil, description=nil, imagecommand=nil, imageargs=nil, portmappings=nil, useregistrydefaultconfig=nil, settingconfs=nil, eksservice=nil, versionid=nil, poststart=nil, prestop=nil, deploystrategyconf=nil, liveness=nil, readiness=nil)
|
|
499
|
+
@ServiceId = serviceid
|
|
500
|
+
@ContainerPort = containerport
|
|
501
|
+
@InitPodNum = initpodnum
|
|
502
|
+
@CpuSpec = cpuspec
|
|
503
|
+
@MemorySpec = memoryspec
|
|
504
|
+
@NamespaceId = namespaceid
|
|
505
|
+
@ImgRepo = imgrepo
|
|
506
|
+
@VersionDesc = versiondesc
|
|
507
|
+
@JvmOpts = jvmopts
|
|
508
|
+
@EsInfo = esinfo
|
|
509
|
+
@EnvConf = envconf
|
|
510
|
+
@LogConfs = logconfs
|
|
511
|
+
@StorageConfs = storageconfs
|
|
512
|
+
@StorageMountConfs = storagemountconfs
|
|
513
|
+
@DeployMode = deploymode
|
|
514
|
+
@DeployVersion = deployversion
|
|
515
|
+
@PkgName = pkgname
|
|
516
|
+
@JdkVersion = jdkversion
|
|
517
|
+
@SecurityGroupIds = securitygroupids
|
|
518
|
+
@LogOutputConf = logoutputconf
|
|
519
|
+
@SourceChannel = sourcechannel
|
|
520
|
+
@Description = description
|
|
521
|
+
@ImageCommand = imagecommand
|
|
522
|
+
@ImageArgs = imageargs
|
|
523
|
+
@PortMappings = portmappings
|
|
524
|
+
@UseRegistryDefaultConfig = useregistrydefaultconfig
|
|
525
|
+
@SettingConfs = settingconfs
|
|
526
|
+
@EksService = eksservice
|
|
527
|
+
@VersionId = versionid
|
|
528
|
+
@PostStart = poststart
|
|
529
|
+
@PreStop = prestop
|
|
530
|
+
@DeployStrategyConf = deploystrategyconf
|
|
531
|
+
@Liveness = liveness
|
|
532
|
+
@Readiness = readiness
|
|
533
|
+
end
|
|
534
|
+
|
|
535
|
+
def deserialize(params)
|
|
536
|
+
@ServiceId = params['ServiceId']
|
|
537
|
+
@ContainerPort = params['ContainerPort']
|
|
538
|
+
@InitPodNum = params['InitPodNum']
|
|
539
|
+
@CpuSpec = params['CpuSpec']
|
|
540
|
+
@MemorySpec = params['MemorySpec']
|
|
541
|
+
@NamespaceId = params['NamespaceId']
|
|
542
|
+
@ImgRepo = params['ImgRepo']
|
|
543
|
+
@VersionDesc = params['VersionDesc']
|
|
544
|
+
@JvmOpts = params['JvmOpts']
|
|
545
|
+
unless params['EsInfo'].nil?
|
|
546
|
+
@EsInfo = EsInfo.new
|
|
547
|
+
@EsInfo.deserialize(params['EsInfo'])
|
|
548
|
+
end
|
|
549
|
+
unless params['EnvConf'].nil?
|
|
550
|
+
@EnvConf = []
|
|
551
|
+
params['EnvConf'].each do |i|
|
|
552
|
+
pair_tmp = Pair.new
|
|
553
|
+
pair_tmp.deserialize(i)
|
|
554
|
+
@EnvConf << pair_tmp
|
|
555
|
+
end
|
|
556
|
+
end
|
|
557
|
+
@LogConfs = params['LogConfs']
|
|
558
|
+
unless params['StorageConfs'].nil?
|
|
559
|
+
@StorageConfs = []
|
|
560
|
+
params['StorageConfs'].each do |i|
|
|
561
|
+
storageconf_tmp = StorageConf.new
|
|
562
|
+
storageconf_tmp.deserialize(i)
|
|
563
|
+
@StorageConfs << storageconf_tmp
|
|
564
|
+
end
|
|
565
|
+
end
|
|
566
|
+
unless params['StorageMountConfs'].nil?
|
|
567
|
+
@StorageMountConfs = []
|
|
568
|
+
params['StorageMountConfs'].each do |i|
|
|
569
|
+
storagemountconf_tmp = StorageMountConf.new
|
|
570
|
+
storagemountconf_tmp.deserialize(i)
|
|
571
|
+
@StorageMountConfs << storagemountconf_tmp
|
|
572
|
+
end
|
|
573
|
+
end
|
|
574
|
+
@DeployMode = params['DeployMode']
|
|
575
|
+
@DeployVersion = params['DeployVersion']
|
|
576
|
+
@PkgName = params['PkgName']
|
|
577
|
+
@JdkVersion = params['JdkVersion']
|
|
578
|
+
@SecurityGroupIds = params['SecurityGroupIds']
|
|
579
|
+
unless params['LogOutputConf'].nil?
|
|
580
|
+
@LogOutputConf = LogOutputConf.new
|
|
581
|
+
@LogOutputConf.deserialize(params['LogOutputConf'])
|
|
582
|
+
end
|
|
583
|
+
@SourceChannel = params['SourceChannel']
|
|
584
|
+
@Description = params['Description']
|
|
585
|
+
@ImageCommand = params['ImageCommand']
|
|
586
|
+
@ImageArgs = params['ImageArgs']
|
|
587
|
+
unless params['PortMappings'].nil?
|
|
588
|
+
@PortMappings = []
|
|
589
|
+
params['PortMappings'].each do |i|
|
|
590
|
+
portmapping_tmp = PortMapping.new
|
|
591
|
+
portmapping_tmp.deserialize(i)
|
|
592
|
+
@PortMappings << portmapping_tmp
|
|
593
|
+
end
|
|
594
|
+
end
|
|
595
|
+
@UseRegistryDefaultConfig = params['UseRegistryDefaultConfig']
|
|
596
|
+
unless params['SettingConfs'].nil?
|
|
597
|
+
@SettingConfs = []
|
|
598
|
+
params['SettingConfs'].each do |i|
|
|
599
|
+
mountedsettingconf_tmp = MountedSettingConf.new
|
|
600
|
+
mountedsettingconf_tmp.deserialize(i)
|
|
601
|
+
@SettingConfs << mountedsettingconf_tmp
|
|
602
|
+
end
|
|
603
|
+
end
|
|
604
|
+
unless params['EksService'].nil?
|
|
605
|
+
@EksService = EksService.new
|
|
606
|
+
@EksService.deserialize(params['EksService'])
|
|
607
|
+
end
|
|
608
|
+
@VersionId = params['VersionId']
|
|
609
|
+
@PostStart = params['PostStart']
|
|
610
|
+
@PreStop = params['PreStop']
|
|
611
|
+
unless params['DeployStrategyConf'].nil?
|
|
612
|
+
@DeployStrategyConf = DeployStrategyConf.new
|
|
613
|
+
@DeployStrategyConf.deserialize(params['DeployStrategyConf'])
|
|
614
|
+
end
|
|
615
|
+
unless params['Liveness'].nil?
|
|
616
|
+
@Liveness = HealthCheckConfig.new
|
|
617
|
+
@Liveness.deserialize(params['Liveness'])
|
|
618
|
+
end
|
|
619
|
+
unless params['Readiness'].nil?
|
|
620
|
+
@Readiness = HealthCheckConfig.new
|
|
621
|
+
@Readiness.deserialize(params['Readiness'])
|
|
622
|
+
end
|
|
623
|
+
end
|
|
624
|
+
end
|
|
625
|
+
|
|
626
|
+
# DeployServiceV2返回参数结构体
|
|
627
|
+
class DeployServiceV2Response < TencentCloud::Common::AbstractModel
|
|
628
|
+
# @param Result: 版本ID(前端可忽略)
|
|
629
|
+
# @type Result: String
|
|
630
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
631
|
+
# @type RequestId: String
|
|
632
|
+
|
|
633
|
+
attr_accessor :Result, :RequestId
|
|
634
|
+
|
|
635
|
+
def initialize(result=nil, requestid=nil)
|
|
636
|
+
@Result = result
|
|
637
|
+
@RequestId = requestid
|
|
638
|
+
end
|
|
639
|
+
|
|
640
|
+
def deserialize(params)
|
|
641
|
+
@Result = params['Result']
|
|
642
|
+
@RequestId = params['RequestId']
|
|
643
|
+
end
|
|
644
|
+
end
|
|
645
|
+
|
|
646
|
+
# 分批发布策略配置
|
|
647
|
+
class DeployStrategyConf < TencentCloud::Common::AbstractModel
|
|
648
|
+
# @param TotalBatchCount: 总分批数
|
|
649
|
+
# @type TotalBatchCount: Integer
|
|
650
|
+
# @param BetaBatchNum: beta分批实例数
|
|
651
|
+
# @type BetaBatchNum: Integer
|
|
652
|
+
# @param DeployStrategyType: 分批策略:0-全自动,1-全手动,beta分批一定是手动的,这里的策略指定的是剩余批次
|
|
653
|
+
# @type DeployStrategyType: Integer
|
|
654
|
+
# @param BatchInterval: 每批暂停间隔
|
|
655
|
+
# @type BatchInterval: Integer
|
|
656
|
+
|
|
657
|
+
attr_accessor :TotalBatchCount, :BetaBatchNum, :DeployStrategyType, :BatchInterval
|
|
658
|
+
|
|
659
|
+
def initialize(totalbatchcount=nil, betabatchnum=nil, deploystrategytype=nil, batchinterval=nil)
|
|
660
|
+
@TotalBatchCount = totalbatchcount
|
|
661
|
+
@BetaBatchNum = betabatchnum
|
|
662
|
+
@DeployStrategyType = deploystrategytype
|
|
663
|
+
@BatchInterval = batchinterval
|
|
664
|
+
end
|
|
665
|
+
|
|
666
|
+
def deserialize(params)
|
|
667
|
+
@TotalBatchCount = params['TotalBatchCount']
|
|
668
|
+
@BetaBatchNum = params['BetaBatchNum']
|
|
669
|
+
@DeployStrategyType = params['DeployStrategyType']
|
|
670
|
+
@BatchInterval = params['BatchInterval']
|
|
671
|
+
end
|
|
672
|
+
end
|
|
673
|
+
|
|
674
|
+
# DescribeIngress请求参数结构体
|
|
675
|
+
class DescribeIngressRequest < TencentCloud::Common::AbstractModel
|
|
676
|
+
# @param NamespaceId: tem namespaceId
|
|
677
|
+
# @type NamespaceId: String
|
|
678
|
+
# @param EksNamespace: eks namespace 名
|
|
679
|
+
# @type EksNamespace: String
|
|
680
|
+
# @param Name: ingress 规则名
|
|
681
|
+
# @type Name: String
|
|
682
|
+
# @param SourceChannel: 来源渠道
|
|
683
|
+
# @type SourceChannel: Integer
|
|
684
|
+
|
|
685
|
+
attr_accessor :NamespaceId, :EksNamespace, :Name, :SourceChannel
|
|
686
|
+
|
|
687
|
+
def initialize(namespaceid=nil, eksnamespace=nil, name=nil, sourcechannel=nil)
|
|
688
|
+
@NamespaceId = namespaceid
|
|
689
|
+
@EksNamespace = eksnamespace
|
|
690
|
+
@Name = name
|
|
691
|
+
@SourceChannel = sourcechannel
|
|
692
|
+
end
|
|
693
|
+
|
|
694
|
+
def deserialize(params)
|
|
695
|
+
@NamespaceId = params['NamespaceId']
|
|
696
|
+
@EksNamespace = params['EksNamespace']
|
|
697
|
+
@Name = params['Name']
|
|
698
|
+
@SourceChannel = params['SourceChannel']
|
|
699
|
+
end
|
|
700
|
+
end
|
|
701
|
+
|
|
702
|
+
# DescribeIngress返回参数结构体
|
|
703
|
+
class DescribeIngressResponse < TencentCloud::Common::AbstractModel
|
|
704
|
+
# @param Result: Ingress 规则配置
|
|
705
|
+
# @type Result: :class:`Tencentcloud::Tem.v20201221.models.IngressInfo`
|
|
706
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
707
|
+
# @type RequestId: String
|
|
708
|
+
|
|
709
|
+
attr_accessor :Result, :RequestId
|
|
710
|
+
|
|
711
|
+
def initialize(result=nil, requestid=nil)
|
|
712
|
+
@Result = result
|
|
713
|
+
@RequestId = requestid
|
|
714
|
+
end
|
|
715
|
+
|
|
716
|
+
def deserialize(params)
|
|
717
|
+
unless params['Result'].nil?
|
|
718
|
+
@Result = IngressInfo.new
|
|
719
|
+
@Result.deserialize(params['Result'])
|
|
720
|
+
end
|
|
721
|
+
@RequestId = params['RequestId']
|
|
722
|
+
end
|
|
723
|
+
end
|
|
724
|
+
|
|
725
|
+
# DescribeIngresses请求参数结构体
|
|
726
|
+
class DescribeIngressesRequest < TencentCloud::Common::AbstractModel
|
|
727
|
+
# @param NamespaceId: namespace id
|
|
728
|
+
# @type NamespaceId: String
|
|
729
|
+
# @param EksNamespace: namespace
|
|
730
|
+
# @type EksNamespace: String
|
|
731
|
+
# @param SourceChannel: 来源渠道
|
|
732
|
+
# @type SourceChannel: Integer
|
|
733
|
+
# @param Names: ingress 规则名列表
|
|
734
|
+
# @type Names: Array
|
|
735
|
+
|
|
736
|
+
attr_accessor :NamespaceId, :EksNamespace, :SourceChannel, :Names
|
|
737
|
+
|
|
738
|
+
def initialize(namespaceid=nil, eksnamespace=nil, sourcechannel=nil, names=nil)
|
|
739
|
+
@NamespaceId = namespaceid
|
|
740
|
+
@EksNamespace = eksnamespace
|
|
741
|
+
@SourceChannel = sourcechannel
|
|
742
|
+
@Names = names
|
|
743
|
+
end
|
|
744
|
+
|
|
745
|
+
def deserialize(params)
|
|
746
|
+
@NamespaceId = params['NamespaceId']
|
|
747
|
+
@EksNamespace = params['EksNamespace']
|
|
748
|
+
@SourceChannel = params['SourceChannel']
|
|
749
|
+
@Names = params['Names']
|
|
750
|
+
end
|
|
751
|
+
end
|
|
752
|
+
|
|
753
|
+
# DescribeIngresses返回参数结构体
|
|
754
|
+
class DescribeIngressesResponse < TencentCloud::Common::AbstractModel
|
|
755
|
+
# @param Result: ingress 数组
|
|
756
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
757
|
+
# @type Result: Array
|
|
758
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
759
|
+
# @type RequestId: String
|
|
760
|
+
|
|
761
|
+
attr_accessor :Result, :RequestId
|
|
762
|
+
|
|
763
|
+
def initialize(result=nil, requestid=nil)
|
|
764
|
+
@Result = result
|
|
765
|
+
@RequestId = requestid
|
|
766
|
+
end
|
|
767
|
+
|
|
768
|
+
def deserialize(params)
|
|
769
|
+
unless params['Result'].nil?
|
|
770
|
+
@Result = []
|
|
771
|
+
params['Result'].each do |i|
|
|
772
|
+
ingressinfo_tmp = IngressInfo.new
|
|
773
|
+
ingressinfo_tmp.deserialize(i)
|
|
774
|
+
@Result << ingressinfo_tmp
|
|
775
|
+
end
|
|
776
|
+
end
|
|
777
|
+
@RequestId = params['RequestId']
|
|
778
|
+
end
|
|
779
|
+
end
|
|
780
|
+
|
|
781
|
+
# DescribeNamespaces请求参数结构体
|
|
782
|
+
class DescribeNamespacesRequest < TencentCloud::Common::AbstractModel
|
|
783
|
+
# @param Limit: 分页limit
|
|
784
|
+
# @type Limit: Integer
|
|
785
|
+
# @param Offset: 分页下标
|
|
786
|
+
# @type Offset: Integer
|
|
787
|
+
# @param SourceChannel: 来源source
|
|
788
|
+
# @type SourceChannel: Integer
|
|
789
|
+
|
|
790
|
+
attr_accessor :Limit, :Offset, :SourceChannel
|
|
791
|
+
|
|
792
|
+
def initialize(limit=nil, offset=nil, sourcechannel=nil)
|
|
793
|
+
@Limit = limit
|
|
794
|
+
@Offset = offset
|
|
795
|
+
@SourceChannel = sourcechannel
|
|
796
|
+
end
|
|
797
|
+
|
|
798
|
+
def deserialize(params)
|
|
799
|
+
@Limit = params['Limit']
|
|
800
|
+
@Offset = params['Offset']
|
|
801
|
+
@SourceChannel = params['SourceChannel']
|
|
802
|
+
end
|
|
803
|
+
end
|
|
804
|
+
|
|
805
|
+
# DescribeNamespaces返回参数结构体
|
|
806
|
+
class DescribeNamespacesResponse < TencentCloud::Common::AbstractModel
|
|
807
|
+
# @param Result: 返回结果
|
|
808
|
+
# @type Result: :class:`Tencentcloud::Tem.v20201221.models.NamespacePage`
|
|
809
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
810
|
+
# @type RequestId: String
|
|
811
|
+
|
|
812
|
+
attr_accessor :Result, :RequestId
|
|
813
|
+
|
|
814
|
+
def initialize(result=nil, requestid=nil)
|
|
815
|
+
@Result = result
|
|
816
|
+
@RequestId = requestid
|
|
817
|
+
end
|
|
818
|
+
|
|
819
|
+
def deserialize(params)
|
|
820
|
+
unless params['Result'].nil?
|
|
821
|
+
@Result = NamespacePage.new
|
|
822
|
+
@Result.deserialize(params['Result'])
|
|
823
|
+
end
|
|
824
|
+
@RequestId = params['RequestId']
|
|
825
|
+
end
|
|
826
|
+
end
|
|
827
|
+
|
|
828
|
+
# DescribeRelatedIngresses请求参数结构体
|
|
829
|
+
class DescribeRelatedIngressesRequest < TencentCloud::Common::AbstractModel
|
|
830
|
+
# @param NamespaceId: 环境 id
|
|
831
|
+
# @type NamespaceId: String
|
|
832
|
+
# @param EksNamespace: EKS namespace
|
|
833
|
+
# @type EksNamespace: String
|
|
834
|
+
# @param SourceChannel: 来源渠道
|
|
835
|
+
# @type SourceChannel: Integer
|
|
836
|
+
# @param ServiceId: 服务 ID
|
|
837
|
+
# @type ServiceId: String
|
|
838
|
+
|
|
839
|
+
attr_accessor :NamespaceId, :EksNamespace, :SourceChannel, :ServiceId
|
|
840
|
+
|
|
841
|
+
def initialize(namespaceid=nil, eksnamespace=nil, sourcechannel=nil, serviceid=nil)
|
|
842
|
+
@NamespaceId = namespaceid
|
|
843
|
+
@EksNamespace = eksnamespace
|
|
844
|
+
@SourceChannel = sourcechannel
|
|
845
|
+
@ServiceId = serviceid
|
|
846
|
+
end
|
|
847
|
+
|
|
848
|
+
def deserialize(params)
|
|
849
|
+
@NamespaceId = params['NamespaceId']
|
|
850
|
+
@EksNamespace = params['EksNamespace']
|
|
851
|
+
@SourceChannel = params['SourceChannel']
|
|
852
|
+
@ServiceId = params['ServiceId']
|
|
853
|
+
end
|
|
854
|
+
end
|
|
855
|
+
|
|
856
|
+
# DescribeRelatedIngresses返回参数结构体
|
|
857
|
+
class DescribeRelatedIngressesResponse < TencentCloud::Common::AbstractModel
|
|
858
|
+
# @param Result: ingress 数组
|
|
859
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
860
|
+
# @type Result: Array
|
|
861
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
862
|
+
# @type RequestId: String
|
|
863
|
+
|
|
864
|
+
attr_accessor :Result, :RequestId
|
|
865
|
+
|
|
866
|
+
def initialize(result=nil, requestid=nil)
|
|
867
|
+
@Result = result
|
|
868
|
+
@RequestId = requestid
|
|
869
|
+
end
|
|
870
|
+
|
|
871
|
+
def deserialize(params)
|
|
872
|
+
unless params['Result'].nil?
|
|
873
|
+
@Result = []
|
|
874
|
+
params['Result'].each do |i|
|
|
875
|
+
ingressinfo_tmp = IngressInfo.new
|
|
876
|
+
ingressinfo_tmp.deserialize(i)
|
|
877
|
+
@Result << ingressinfo_tmp
|
|
878
|
+
end
|
|
879
|
+
end
|
|
880
|
+
@RequestId = params['RequestId']
|
|
881
|
+
end
|
|
882
|
+
end
|
|
883
|
+
|
|
884
|
+
# 版本pod列表
|
|
885
|
+
class DescribeRunPodPage < TencentCloud::Common::AbstractModel
|
|
886
|
+
# @param Offset: 分页下标
|
|
887
|
+
# @type Offset: Integer
|
|
888
|
+
# @param Limit: 单页条数
|
|
889
|
+
# @type Limit: Integer
|
|
890
|
+
# @param TotalCount: 总数
|
|
891
|
+
# @type TotalCount: Integer
|
|
892
|
+
# @param RequestId: 请求id
|
|
893
|
+
# @type RequestId: String
|
|
894
|
+
# @param PodList: 条目
|
|
895
|
+
# @type PodList: Array
|
|
896
|
+
|
|
897
|
+
attr_accessor :Offset, :Limit, :TotalCount, :RequestId, :PodList
|
|
898
|
+
|
|
899
|
+
def initialize(offset=nil, limit=nil, totalcount=nil, requestid=nil, podlist=nil)
|
|
900
|
+
@Offset = offset
|
|
901
|
+
@Limit = limit
|
|
902
|
+
@TotalCount = totalcount
|
|
903
|
+
@RequestId = requestid
|
|
904
|
+
@PodList = podlist
|
|
905
|
+
end
|
|
906
|
+
|
|
907
|
+
def deserialize(params)
|
|
908
|
+
@Offset = params['Offset']
|
|
909
|
+
@Limit = params['Limit']
|
|
910
|
+
@TotalCount = params['TotalCount']
|
|
911
|
+
@RequestId = params['RequestId']
|
|
912
|
+
unless params['PodList'].nil?
|
|
913
|
+
@PodList = []
|
|
914
|
+
params['PodList'].each do |i|
|
|
915
|
+
runversionpod_tmp = RunVersionPod.new
|
|
916
|
+
runversionpod_tmp.deserialize(i)
|
|
917
|
+
@PodList << runversionpod_tmp
|
|
918
|
+
end
|
|
919
|
+
end
|
|
920
|
+
end
|
|
921
|
+
end
|
|
922
|
+
|
|
923
|
+
# DescribeServiceRunPodListV2请求参数结构体
|
|
924
|
+
class DescribeServiceRunPodListV2Request < TencentCloud::Common::AbstractModel
|
|
925
|
+
# @param NamespaceId: 环境id
|
|
926
|
+
# @type NamespaceId: String
|
|
927
|
+
# @param ServiceId: 服务名id
|
|
928
|
+
# @type ServiceId: String
|
|
929
|
+
# @param Limit: 单页条数,默认值20
|
|
930
|
+
# @type Limit: Integer
|
|
931
|
+
# @param Offset: 分页下标,默认值0
|
|
932
|
+
# @type Offset: Integer
|
|
933
|
+
# @param Status: 实例状态
|
|
934
|
+
# - Running
|
|
935
|
+
# - Pending
|
|
936
|
+
# - Error
|
|
937
|
+
# @type Status: String
|
|
938
|
+
# @param PodName: 实例名字
|
|
939
|
+
# @type PodName: String
|
|
940
|
+
# @param SourceChannel: 来源渠道
|
|
941
|
+
# @type SourceChannel: Integer
|
|
942
|
+
|
|
943
|
+
attr_accessor :NamespaceId, :ServiceId, :Limit, :Offset, :Status, :PodName, :SourceChannel
|
|
944
|
+
|
|
945
|
+
def initialize(namespaceid=nil, serviceid=nil, limit=nil, offset=nil, status=nil, podname=nil, sourcechannel=nil)
|
|
946
|
+
@NamespaceId = namespaceid
|
|
947
|
+
@ServiceId = serviceid
|
|
948
|
+
@Limit = limit
|
|
949
|
+
@Offset = offset
|
|
950
|
+
@Status = status
|
|
951
|
+
@PodName = podname
|
|
952
|
+
@SourceChannel = sourcechannel
|
|
953
|
+
end
|
|
954
|
+
|
|
955
|
+
def deserialize(params)
|
|
956
|
+
@NamespaceId = params['NamespaceId']
|
|
957
|
+
@ServiceId = params['ServiceId']
|
|
958
|
+
@Limit = params['Limit']
|
|
959
|
+
@Offset = params['Offset']
|
|
960
|
+
@Status = params['Status']
|
|
961
|
+
@PodName = params['PodName']
|
|
962
|
+
@SourceChannel = params['SourceChannel']
|
|
963
|
+
end
|
|
964
|
+
end
|
|
965
|
+
|
|
966
|
+
# DescribeServiceRunPodListV2返回参数结构体
|
|
967
|
+
class DescribeServiceRunPodListV2Response < TencentCloud::Common::AbstractModel
|
|
968
|
+
# @param Result: 返回结果
|
|
969
|
+
# @type Result: :class:`Tencentcloud::Tem.v20201221.models.DescribeRunPodPage`
|
|
970
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
971
|
+
# @type RequestId: String
|
|
972
|
+
|
|
973
|
+
attr_accessor :Result, :RequestId
|
|
974
|
+
|
|
975
|
+
def initialize(result=nil, requestid=nil)
|
|
976
|
+
@Result = result
|
|
977
|
+
@RequestId = requestid
|
|
978
|
+
end
|
|
979
|
+
|
|
980
|
+
def deserialize(params)
|
|
981
|
+
unless params['Result'].nil?
|
|
982
|
+
@Result = DescribeRunPodPage.new
|
|
983
|
+
@Result.deserialize(params['Result'])
|
|
984
|
+
end
|
|
985
|
+
@RequestId = params['RequestId']
|
|
986
|
+
end
|
|
987
|
+
end
|
|
988
|
+
|
|
989
|
+
# eks service info
|
|
990
|
+
class EksService < TencentCloud::Common::AbstractModel
|
|
991
|
+
# @param Name: service name
|
|
992
|
+
# @type Name: String
|
|
993
|
+
# @param Ports: 可用端口
|
|
994
|
+
# @type Ports: Array
|
|
995
|
+
# @param Yaml: yaml 内容
|
|
996
|
+
# @type Yaml: String
|
|
997
|
+
# @param ServiceName: 服务名
|
|
998
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
999
|
+
# @type ServiceName: String
|
|
1000
|
+
# @param VersionName: 版本名
|
|
1001
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1002
|
+
# @type VersionName: String
|
|
1003
|
+
# @param ClusterIp: 内网ip
|
|
1004
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1005
|
+
# @type ClusterIp: Array
|
|
1006
|
+
# @param ExternalIp: 外网ip
|
|
1007
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1008
|
+
# @type ExternalIp: String
|
|
1009
|
+
# @param Type: 访问类型,可选值:
|
|
1010
|
+
# - EXTERNAL(公网访问)
|
|
1011
|
+
# - VPC(vpc内访问)
|
|
1012
|
+
# - CLUSTER(集群内访问)
|
|
1013
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1014
|
+
# @type Type: String
|
|
1015
|
+
# @param SubnetId: 子网ID,只在类型为vpc访问时才有值
|
|
1016
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1017
|
+
# @type SubnetId: String
|
|
1018
|
+
# @param LoadBalanceId: 负载均衡ID,只在外网访问和vpc内访问才有值,默认自动创建
|
|
1019
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1020
|
+
# @type LoadBalanceId: String
|
|
1021
|
+
# @param PortMappings: 端口映射
|
|
1022
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1023
|
+
# @type PortMappings: Array
|
|
1024
|
+
|
|
1025
|
+
attr_accessor :Name, :Ports, :Yaml, :ServiceName, :VersionName, :ClusterIp, :ExternalIp, :Type, :SubnetId, :LoadBalanceId, :PortMappings
|
|
1026
|
+
|
|
1027
|
+
def initialize(name=nil, ports=nil, yaml=nil, servicename=nil, versionname=nil, clusterip=nil, externalip=nil, type=nil, subnetid=nil, loadbalanceid=nil, portmappings=nil)
|
|
1028
|
+
@Name = name
|
|
1029
|
+
@Ports = ports
|
|
1030
|
+
@Yaml = yaml
|
|
1031
|
+
@ServiceName = servicename
|
|
1032
|
+
@VersionName = versionname
|
|
1033
|
+
@ClusterIp = clusterip
|
|
1034
|
+
@ExternalIp = externalip
|
|
1035
|
+
@Type = type
|
|
1036
|
+
@SubnetId = subnetid
|
|
1037
|
+
@LoadBalanceId = loadbalanceid
|
|
1038
|
+
@PortMappings = portmappings
|
|
1039
|
+
end
|
|
1040
|
+
|
|
1041
|
+
def deserialize(params)
|
|
1042
|
+
@Name = params['Name']
|
|
1043
|
+
@Ports = params['Ports']
|
|
1044
|
+
@Yaml = params['Yaml']
|
|
1045
|
+
@ServiceName = params['ServiceName']
|
|
1046
|
+
@VersionName = params['VersionName']
|
|
1047
|
+
@ClusterIp = params['ClusterIp']
|
|
1048
|
+
@ExternalIp = params['ExternalIp']
|
|
1049
|
+
@Type = params['Type']
|
|
1050
|
+
@SubnetId = params['SubnetId']
|
|
1051
|
+
@LoadBalanceId = params['LoadBalanceId']
|
|
1052
|
+
unless params['PortMappings'].nil?
|
|
1053
|
+
@PortMappings = []
|
|
1054
|
+
params['PortMappings'].each do |i|
|
|
1055
|
+
portmapping_tmp = PortMapping.new
|
|
1056
|
+
portmapping_tmp.deserialize(i)
|
|
1057
|
+
@PortMappings << portmapping_tmp
|
|
1058
|
+
end
|
|
1059
|
+
end
|
|
1060
|
+
end
|
|
1061
|
+
end
|
|
1062
|
+
|
|
1063
|
+
# 弹性伸缩配置
|
|
1064
|
+
class EsInfo < TencentCloud::Common::AbstractModel
|
|
1065
|
+
# @param MinAliveInstances: 最小实例数
|
|
1066
|
+
# @type MinAliveInstances: Integer
|
|
1067
|
+
# @param MaxAliveInstances: 最大实例数
|
|
1068
|
+
# @type MaxAliveInstances: Integer
|
|
1069
|
+
# @param EsStrategy: 弹性策略,1:cpu,2:内存
|
|
1070
|
+
# @type EsStrategy: Integer
|
|
1071
|
+
# @param Threshold: 弹性扩缩容条件值
|
|
1072
|
+
# @type Threshold: Integer
|
|
1073
|
+
# @param VersionId: 版本Id
|
|
1074
|
+
# @type VersionId: String
|
|
1075
|
+
|
|
1076
|
+
attr_accessor :MinAliveInstances, :MaxAliveInstances, :EsStrategy, :Threshold, :VersionId
|
|
1077
|
+
|
|
1078
|
+
def initialize(minaliveinstances=nil, maxaliveinstances=nil, esstrategy=nil, threshold=nil, versionid=nil)
|
|
1079
|
+
@MinAliveInstances = minaliveinstances
|
|
1080
|
+
@MaxAliveInstances = maxaliveinstances
|
|
1081
|
+
@EsStrategy = esstrategy
|
|
1082
|
+
@Threshold = threshold
|
|
1083
|
+
@VersionId = versionid
|
|
1084
|
+
end
|
|
1085
|
+
|
|
1086
|
+
def deserialize(params)
|
|
1087
|
+
@MinAliveInstances = params['MinAliveInstances']
|
|
1088
|
+
@MaxAliveInstances = params['MaxAliveInstances']
|
|
1089
|
+
@EsStrategy = params['EsStrategy']
|
|
1090
|
+
@Threshold = params['Threshold']
|
|
1091
|
+
@VersionId = params['VersionId']
|
|
1092
|
+
end
|
|
1093
|
+
end
|
|
1094
|
+
|
|
1095
|
+
# GenerateDownloadUrl请求参数结构体
|
|
1096
|
+
class GenerateDownloadUrlRequest < TencentCloud::Common::AbstractModel
|
|
1097
|
+
# @param ServiceId: 服务ID
|
|
1098
|
+
# @type ServiceId: String
|
|
1099
|
+
# @param PkgName: 包名
|
|
1100
|
+
# @type PkgName: String
|
|
1101
|
+
# @param DeployVersion: 需要下载的包版本
|
|
1102
|
+
# @type DeployVersion: String
|
|
1103
|
+
# @param SourceChannel: 来源 channel
|
|
1104
|
+
# @type SourceChannel: Integer
|
|
1105
|
+
|
|
1106
|
+
attr_accessor :ServiceId, :PkgName, :DeployVersion, :SourceChannel
|
|
1107
|
+
|
|
1108
|
+
def initialize(serviceid=nil, pkgname=nil, deployversion=nil, sourcechannel=nil)
|
|
1109
|
+
@ServiceId = serviceid
|
|
1110
|
+
@PkgName = pkgname
|
|
1111
|
+
@DeployVersion = deployversion
|
|
1112
|
+
@SourceChannel = sourcechannel
|
|
1113
|
+
end
|
|
1114
|
+
|
|
1115
|
+
def deserialize(params)
|
|
1116
|
+
@ServiceId = params['ServiceId']
|
|
1117
|
+
@PkgName = params['PkgName']
|
|
1118
|
+
@DeployVersion = params['DeployVersion']
|
|
1119
|
+
@SourceChannel = params['SourceChannel']
|
|
1120
|
+
end
|
|
1121
|
+
end
|
|
1122
|
+
|
|
1123
|
+
# GenerateDownloadUrl返回参数结构体
|
|
1124
|
+
class GenerateDownloadUrlResponse < TencentCloud::Common::AbstractModel
|
|
1125
|
+
# @param Result: 包下载临时链接
|
|
1126
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1127
|
+
# @type Result: String
|
|
1128
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1129
|
+
# @type RequestId: String
|
|
1130
|
+
|
|
1131
|
+
attr_accessor :Result, :RequestId
|
|
1132
|
+
|
|
1133
|
+
def initialize(result=nil, requestid=nil)
|
|
1134
|
+
@Result = result
|
|
1135
|
+
@RequestId = requestid
|
|
1136
|
+
end
|
|
1137
|
+
|
|
1138
|
+
def deserialize(params)
|
|
1139
|
+
@Result = params['Result']
|
|
1140
|
+
@RequestId = params['RequestId']
|
|
1141
|
+
end
|
|
1142
|
+
end
|
|
1143
|
+
|
|
1144
|
+
# 健康检查配置
|
|
1145
|
+
class HealthCheckConfig < TencentCloud::Common::AbstractModel
|
|
1146
|
+
# @param Type: 支持的健康检查类型,如 HttpGet,TcpSocket,Exec
|
|
1147
|
+
# @type Type: String
|
|
1148
|
+
# @param Protocol: 仅当健康检查类型为 HttpGet 时有效,表示协议类型,如 HTTP,HTTPS
|
|
1149
|
+
# @type Protocol: String
|
|
1150
|
+
# @param Path: 仅当健康检查类型为 HttpGet 时有效,表示请求路径
|
|
1151
|
+
# @type Path: String
|
|
1152
|
+
# @param Exec: 仅当健康检查类型为 Exec 时有效,表示执行的脚本内容
|
|
1153
|
+
# @type Exec: String
|
|
1154
|
+
# @param Port: 仅当健康检查类型为 HttpGet\TcpSocket 时有效,表示请求路径
|
|
1155
|
+
# @type Port: Integer
|
|
1156
|
+
# @param InitialDelaySeconds: 检查延迟开始时间,单位为秒,默认为 0
|
|
1157
|
+
# @type InitialDelaySeconds: Integer
|
|
1158
|
+
# @param TimeoutSeconds: 超时时间,单位为秒,默认为 1
|
|
1159
|
+
# @type TimeoutSeconds: Integer
|
|
1160
|
+
# @param PeriodSeconds: 间隔时间,单位为秒,默认为 10
|
|
1161
|
+
# @type PeriodSeconds: Integer
|
|
1162
|
+
|
|
1163
|
+
attr_accessor :Type, :Protocol, :Path, :Exec, :Port, :InitialDelaySeconds, :TimeoutSeconds, :PeriodSeconds
|
|
1164
|
+
|
|
1165
|
+
def initialize(type=nil, protocol=nil, path=nil, exec=nil, port=nil, initialdelayseconds=nil, timeoutseconds=nil, periodseconds=nil)
|
|
1166
|
+
@Type = type
|
|
1167
|
+
@Protocol = protocol
|
|
1168
|
+
@Path = path
|
|
1169
|
+
@Exec = exec
|
|
1170
|
+
@Port = port
|
|
1171
|
+
@InitialDelaySeconds = initialdelayseconds
|
|
1172
|
+
@TimeoutSeconds = timeoutseconds
|
|
1173
|
+
@PeriodSeconds = periodseconds
|
|
1174
|
+
end
|
|
1175
|
+
|
|
1176
|
+
def deserialize(params)
|
|
1177
|
+
@Type = params['Type']
|
|
1178
|
+
@Protocol = params['Protocol']
|
|
1179
|
+
@Path = params['Path']
|
|
1180
|
+
@Exec = params['Exec']
|
|
1181
|
+
@Port = params['Port']
|
|
1182
|
+
@InitialDelaySeconds = params['InitialDelaySeconds']
|
|
1183
|
+
@TimeoutSeconds = params['TimeoutSeconds']
|
|
1184
|
+
@PeriodSeconds = params['PeriodSeconds']
|
|
1185
|
+
end
|
|
1186
|
+
end
|
|
1187
|
+
|
|
1188
|
+
# Ingress 配置
|
|
1189
|
+
class IngressInfo < TencentCloud::Common::AbstractModel
|
|
1190
|
+
# @param NamespaceId: tem namespaceId
|
|
1191
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1192
|
+
# @type NamespaceId: String
|
|
1193
|
+
# @param EksNamespace: eks namespace
|
|
1194
|
+
# @type EksNamespace: String
|
|
1195
|
+
# @param AddressIPVersion: ip version
|
|
1196
|
+
# @type AddressIPVersion: String
|
|
1197
|
+
# @param Name: ingress name
|
|
1198
|
+
# @type Name: String
|
|
1199
|
+
# @param Rules: rules 配置
|
|
1200
|
+
# @type Rules: Array
|
|
1201
|
+
# @param ClbId: clb ID
|
|
1202
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1203
|
+
# @type ClbId: String
|
|
1204
|
+
# @param Tls: tls 配置
|
|
1205
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1206
|
+
# @type Tls: Array
|
|
1207
|
+
# @param ClusterId: eks clusterId
|
|
1208
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1209
|
+
# @type ClusterId: String
|
|
1210
|
+
# @param Vip: clb ip
|
|
1211
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1212
|
+
# @type Vip: String
|
|
1213
|
+
# @param CreateTime: 创建时间
|
|
1214
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1215
|
+
# @type CreateTime: String
|
|
1216
|
+
# @param Mixed: 是否混合 https,默认 false,可选值 true 代表有 https 协议监听
|
|
1217
|
+
# @type Mixed: Boolean
|
|
1218
|
+
|
|
1219
|
+
attr_accessor :NamespaceId, :EksNamespace, :AddressIPVersion, :Name, :Rules, :ClbId, :Tls, :ClusterId, :Vip, :CreateTime, :Mixed
|
|
1220
|
+
|
|
1221
|
+
def initialize(namespaceid=nil, eksnamespace=nil, addressipversion=nil, name=nil, rules=nil, clbid=nil, tls=nil, clusterid=nil, vip=nil, createtime=nil, mixed=nil)
|
|
1222
|
+
@NamespaceId = namespaceid
|
|
1223
|
+
@EksNamespace = eksnamespace
|
|
1224
|
+
@AddressIPVersion = addressipversion
|
|
1225
|
+
@Name = name
|
|
1226
|
+
@Rules = rules
|
|
1227
|
+
@ClbId = clbid
|
|
1228
|
+
@Tls = tls
|
|
1229
|
+
@ClusterId = clusterid
|
|
1230
|
+
@Vip = vip
|
|
1231
|
+
@CreateTime = createtime
|
|
1232
|
+
@Mixed = mixed
|
|
1233
|
+
end
|
|
1234
|
+
|
|
1235
|
+
def deserialize(params)
|
|
1236
|
+
@NamespaceId = params['NamespaceId']
|
|
1237
|
+
@EksNamespace = params['EksNamespace']
|
|
1238
|
+
@AddressIPVersion = params['AddressIPVersion']
|
|
1239
|
+
@Name = params['Name']
|
|
1240
|
+
unless params['Rules'].nil?
|
|
1241
|
+
@Rules = []
|
|
1242
|
+
params['Rules'].each do |i|
|
|
1243
|
+
ingressrule_tmp = IngressRule.new
|
|
1244
|
+
ingressrule_tmp.deserialize(i)
|
|
1245
|
+
@Rules << ingressrule_tmp
|
|
1246
|
+
end
|
|
1247
|
+
end
|
|
1248
|
+
@ClbId = params['ClbId']
|
|
1249
|
+
unless params['Tls'].nil?
|
|
1250
|
+
@Tls = []
|
|
1251
|
+
params['Tls'].each do |i|
|
|
1252
|
+
ingresstls_tmp = IngressTls.new
|
|
1253
|
+
ingresstls_tmp.deserialize(i)
|
|
1254
|
+
@Tls << ingresstls_tmp
|
|
1255
|
+
end
|
|
1256
|
+
end
|
|
1257
|
+
@ClusterId = params['ClusterId']
|
|
1258
|
+
@Vip = params['Vip']
|
|
1259
|
+
@CreateTime = params['CreateTime']
|
|
1260
|
+
@Mixed = params['Mixed']
|
|
1261
|
+
end
|
|
1262
|
+
end
|
|
1263
|
+
|
|
1264
|
+
# ingress rule 配置
|
|
1265
|
+
class IngressRule < TencentCloud::Common::AbstractModel
|
|
1266
|
+
# @param Http: ingress rule value
|
|
1267
|
+
# @type Http: :class:`Tencentcloud::Tem.v20201221.models.IngressRuleValue`
|
|
1268
|
+
# @param Host: host 地址
|
|
1269
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1270
|
+
# @type Host: String
|
|
1271
|
+
# @param Protocol: 协议,选项为 http, https,默认为 http
|
|
1272
|
+
# @type Protocol: String
|
|
1273
|
+
|
|
1274
|
+
attr_accessor :Http, :Host, :Protocol
|
|
1275
|
+
|
|
1276
|
+
def initialize(http=nil, host=nil, protocol=nil)
|
|
1277
|
+
@Http = http
|
|
1278
|
+
@Host = host
|
|
1279
|
+
@Protocol = protocol
|
|
1280
|
+
end
|
|
1281
|
+
|
|
1282
|
+
def deserialize(params)
|
|
1283
|
+
unless params['Http'].nil?
|
|
1284
|
+
@Http = IngressRuleValue.new
|
|
1285
|
+
@Http.deserialize(params['Http'])
|
|
1286
|
+
end
|
|
1287
|
+
@Host = params['Host']
|
|
1288
|
+
@Protocol = params['Protocol']
|
|
1289
|
+
end
|
|
1290
|
+
end
|
|
1291
|
+
|
|
1292
|
+
# Ingress 规则 backend 配置
|
|
1293
|
+
class IngressRuleBackend < TencentCloud::Common::AbstractModel
|
|
1294
|
+
# @param ServiceName: eks service 名
|
|
1295
|
+
# @type ServiceName: String
|
|
1296
|
+
# @param ServicePort: eks service 端口
|
|
1297
|
+
# @type ServicePort: Integer
|
|
1298
|
+
|
|
1299
|
+
attr_accessor :ServiceName, :ServicePort
|
|
1300
|
+
|
|
1301
|
+
def initialize(servicename=nil, serviceport=nil)
|
|
1302
|
+
@ServiceName = servicename
|
|
1303
|
+
@ServicePort = serviceport
|
|
1304
|
+
end
|
|
1305
|
+
|
|
1306
|
+
def deserialize(params)
|
|
1307
|
+
@ServiceName = params['ServiceName']
|
|
1308
|
+
@ServicePort = params['ServicePort']
|
|
1309
|
+
end
|
|
1310
|
+
end
|
|
1311
|
+
|
|
1312
|
+
# Ingress Rule Path 配置
|
|
1313
|
+
class IngressRulePath < TencentCloud::Common::AbstractModel
|
|
1314
|
+
# @param Path: path 信息
|
|
1315
|
+
# @type Path: String
|
|
1316
|
+
# @param Backend: backend 配置
|
|
1317
|
+
# @type Backend: :class:`Tencentcloud::Tem.v20201221.models.IngressRuleBackend`
|
|
1318
|
+
|
|
1319
|
+
attr_accessor :Path, :Backend
|
|
1320
|
+
|
|
1321
|
+
def initialize(path=nil, backend=nil)
|
|
1322
|
+
@Path = path
|
|
1323
|
+
@Backend = backend
|
|
1324
|
+
end
|
|
1325
|
+
|
|
1326
|
+
def deserialize(params)
|
|
1327
|
+
@Path = params['Path']
|
|
1328
|
+
unless params['Backend'].nil?
|
|
1329
|
+
@Backend = IngressRuleBackend.new
|
|
1330
|
+
@Backend.deserialize(params['Backend'])
|
|
1331
|
+
end
|
|
1332
|
+
end
|
|
1333
|
+
end
|
|
1334
|
+
|
|
1335
|
+
# Ingress Rule Value 配置
|
|
1336
|
+
class IngressRuleValue < TencentCloud::Common::AbstractModel
|
|
1337
|
+
# @param Paths: rule 整体配置
|
|
1338
|
+
# @type Paths: Array
|
|
1339
|
+
|
|
1340
|
+
attr_accessor :Paths
|
|
1341
|
+
|
|
1342
|
+
def initialize(paths=nil)
|
|
1343
|
+
@Paths = paths
|
|
1344
|
+
end
|
|
1345
|
+
|
|
1346
|
+
def deserialize(params)
|
|
1347
|
+
unless params['Paths'].nil?
|
|
1348
|
+
@Paths = []
|
|
1349
|
+
params['Paths'].each do |i|
|
|
1350
|
+
ingressrulepath_tmp = IngressRulePath.new
|
|
1351
|
+
ingressrulepath_tmp.deserialize(i)
|
|
1352
|
+
@Paths << ingressrulepath_tmp
|
|
1353
|
+
end
|
|
1354
|
+
end
|
|
1355
|
+
end
|
|
1356
|
+
end
|
|
1357
|
+
|
|
1358
|
+
# ingress tls 配置
|
|
1359
|
+
class IngressTls < TencentCloud::Common::AbstractModel
|
|
1360
|
+
# @param Hosts: host 数组, 空数组表示全部域名的默认证书
|
|
1361
|
+
# @type Hosts: Array
|
|
1362
|
+
# @param SecretName: secret name,如使用证书,则填空字符串
|
|
1363
|
+
# @type SecretName: String
|
|
1364
|
+
# @param CertificateId: SSL Certificate Id
|
|
1365
|
+
# @type CertificateId: String
|
|
1366
|
+
|
|
1367
|
+
attr_accessor :Hosts, :SecretName, :CertificateId
|
|
1368
|
+
|
|
1369
|
+
def initialize(hosts=nil, secretname=nil, certificateid=nil)
|
|
1370
|
+
@Hosts = hosts
|
|
1371
|
+
@SecretName = secretname
|
|
1372
|
+
@CertificateId = certificateid
|
|
1373
|
+
end
|
|
1374
|
+
|
|
1375
|
+
def deserialize(params)
|
|
1376
|
+
@Hosts = params['Hosts']
|
|
1377
|
+
@SecretName = params['SecretName']
|
|
1378
|
+
@CertificateId = params['CertificateId']
|
|
1379
|
+
end
|
|
1380
|
+
end
|
|
1381
|
+
|
|
1382
|
+
# 日志输出配置
|
|
1383
|
+
class LogOutputConf < TencentCloud::Common::AbstractModel
|
|
1384
|
+
# @param OutputType: 日志消费端类型
|
|
1385
|
+
# @type OutputType: String
|
|
1386
|
+
# @param ClsLogsetName: cls日志集
|
|
1387
|
+
# @type ClsLogsetName: String
|
|
1388
|
+
# @param ClsLogTopicId: cls日志主题
|
|
1389
|
+
# @type ClsLogTopicId: String
|
|
1390
|
+
# @param ClsLogsetId: cls日志集id
|
|
1391
|
+
# @type ClsLogsetId: String
|
|
1392
|
+
# @param ClsLogTopicName: cls日志名称
|
|
1393
|
+
# @type ClsLogTopicName: String
|
|
1394
|
+
|
|
1395
|
+
attr_accessor :OutputType, :ClsLogsetName, :ClsLogTopicId, :ClsLogsetId, :ClsLogTopicName
|
|
1396
|
+
|
|
1397
|
+
def initialize(outputtype=nil, clslogsetname=nil, clslogtopicid=nil, clslogsetid=nil, clslogtopicname=nil)
|
|
1398
|
+
@OutputType = outputtype
|
|
1399
|
+
@ClsLogsetName = clslogsetname
|
|
1400
|
+
@ClsLogTopicId = clslogtopicid
|
|
1401
|
+
@ClsLogsetId = clslogsetid
|
|
1402
|
+
@ClsLogTopicName = clslogtopicname
|
|
1403
|
+
end
|
|
1404
|
+
|
|
1405
|
+
def deserialize(params)
|
|
1406
|
+
@OutputType = params['OutputType']
|
|
1407
|
+
@ClsLogsetName = params['ClsLogsetName']
|
|
1408
|
+
@ClsLogTopicId = params['ClsLogTopicId']
|
|
1409
|
+
@ClsLogsetId = params['ClsLogsetId']
|
|
1410
|
+
@ClsLogTopicName = params['ClsLogTopicName']
|
|
1411
|
+
end
|
|
1412
|
+
end
|
|
1413
|
+
|
|
1414
|
+
# ModifyIngress请求参数结构体
|
|
1415
|
+
class ModifyIngressRequest < TencentCloud::Common::AbstractModel
|
|
1416
|
+
# @param Ingress: Ingress 规则配置
|
|
1417
|
+
# @type Ingress: :class:`Tencentcloud::Tem.v20201221.models.IngressInfo`
|
|
1418
|
+
# @param SourceChannel: 来源渠道
|
|
1419
|
+
# @type SourceChannel: Integer
|
|
1420
|
+
|
|
1421
|
+
attr_accessor :Ingress, :SourceChannel
|
|
1422
|
+
|
|
1423
|
+
def initialize(ingress=nil, sourcechannel=nil)
|
|
1424
|
+
@Ingress = ingress
|
|
1425
|
+
@SourceChannel = sourcechannel
|
|
1426
|
+
end
|
|
1427
|
+
|
|
1428
|
+
def deserialize(params)
|
|
1429
|
+
unless params['Ingress'].nil?
|
|
1430
|
+
@Ingress = IngressInfo.new
|
|
1431
|
+
@Ingress.deserialize(params['Ingress'])
|
|
1432
|
+
end
|
|
1433
|
+
@SourceChannel = params['SourceChannel']
|
|
1434
|
+
end
|
|
1435
|
+
end
|
|
1436
|
+
|
|
1437
|
+
# ModifyIngress返回参数结构体
|
|
1438
|
+
class ModifyIngressResponse < TencentCloud::Common::AbstractModel
|
|
1439
|
+
# @param Result: 创建成功
|
|
1440
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1441
|
+
# @type Result: Boolean
|
|
1442
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1443
|
+
# @type RequestId: String
|
|
1444
|
+
|
|
1445
|
+
attr_accessor :Result, :RequestId
|
|
1446
|
+
|
|
1447
|
+
def initialize(result=nil, requestid=nil)
|
|
1448
|
+
@Result = result
|
|
1449
|
+
@RequestId = requestid
|
|
1450
|
+
end
|
|
1451
|
+
|
|
1452
|
+
def deserialize(params)
|
|
1453
|
+
@Result = params['Result']
|
|
1454
|
+
@RequestId = params['RequestId']
|
|
1455
|
+
end
|
|
1456
|
+
end
|
|
1457
|
+
|
|
1458
|
+
# ModifyNamespace请求参数结构体
|
|
1459
|
+
class ModifyNamespaceRequest < TencentCloud::Common::AbstractModel
|
|
1460
|
+
# @param NamespaceId: 环境id
|
|
1461
|
+
# @type NamespaceId: String
|
|
1462
|
+
# @param NamespaceName: 命名空间名称
|
|
1463
|
+
# @type NamespaceName: String
|
|
1464
|
+
# @param Description: 命名空间描述
|
|
1465
|
+
# @type Description: String
|
|
1466
|
+
# @param Vpc: 私有网络名称
|
|
1467
|
+
# @type Vpc: String
|
|
1468
|
+
# @param SubnetIds: 子网网络
|
|
1469
|
+
# @type SubnetIds: Array
|
|
1470
|
+
# @param SourceChannel: 来源渠道
|
|
1471
|
+
# @type SourceChannel: Integer
|
|
1472
|
+
|
|
1473
|
+
attr_accessor :NamespaceId, :NamespaceName, :Description, :Vpc, :SubnetIds, :SourceChannel
|
|
1474
|
+
|
|
1475
|
+
def initialize(namespaceid=nil, namespacename=nil, description=nil, vpc=nil, subnetids=nil, sourcechannel=nil)
|
|
1476
|
+
@NamespaceId = namespaceid
|
|
1477
|
+
@NamespaceName = namespacename
|
|
1478
|
+
@Description = description
|
|
1479
|
+
@Vpc = vpc
|
|
1480
|
+
@SubnetIds = subnetids
|
|
1481
|
+
@SourceChannel = sourcechannel
|
|
1482
|
+
end
|
|
1483
|
+
|
|
1484
|
+
def deserialize(params)
|
|
1485
|
+
@NamespaceId = params['NamespaceId']
|
|
1486
|
+
@NamespaceName = params['NamespaceName']
|
|
1487
|
+
@Description = params['Description']
|
|
1488
|
+
@Vpc = params['Vpc']
|
|
1489
|
+
@SubnetIds = params['SubnetIds']
|
|
1490
|
+
@SourceChannel = params['SourceChannel']
|
|
1491
|
+
end
|
|
1492
|
+
end
|
|
1493
|
+
|
|
1494
|
+
# ModifyNamespace返回参数结构体
|
|
1495
|
+
class ModifyNamespaceResponse < TencentCloud::Common::AbstractModel
|
|
1496
|
+
# @param Result: 成功时为命名空间ID,失败为null
|
|
1497
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1498
|
+
# @type Result: Boolean
|
|
1499
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1500
|
+
# @type RequestId: String
|
|
1501
|
+
|
|
1502
|
+
attr_accessor :Result, :RequestId
|
|
1503
|
+
|
|
1504
|
+
def initialize(result=nil, requestid=nil)
|
|
1505
|
+
@Result = result
|
|
1506
|
+
@RequestId = requestid
|
|
1507
|
+
end
|
|
1508
|
+
|
|
1509
|
+
def deserialize(params)
|
|
1510
|
+
@Result = params['Result']
|
|
1511
|
+
@RequestId = params['RequestId']
|
|
1512
|
+
end
|
|
1513
|
+
end
|
|
1514
|
+
|
|
1515
|
+
# ModifyServiceInfo请求参数结构体
|
|
1516
|
+
class ModifyServiceInfoRequest < TencentCloud::Common::AbstractModel
|
|
1517
|
+
# @param ServiceId: 服务ID
|
|
1518
|
+
# @type ServiceId: String
|
|
1519
|
+
# @param Description: 描述
|
|
1520
|
+
# @type Description: String
|
|
1521
|
+
# @param SourceChannel: 来源渠道
|
|
1522
|
+
# @type SourceChannel: Integer
|
|
1523
|
+
|
|
1524
|
+
attr_accessor :ServiceId, :Description, :SourceChannel
|
|
1525
|
+
|
|
1526
|
+
def initialize(serviceid=nil, description=nil, sourcechannel=nil)
|
|
1527
|
+
@ServiceId = serviceid
|
|
1528
|
+
@Description = description
|
|
1529
|
+
@SourceChannel = sourcechannel
|
|
1530
|
+
end
|
|
1531
|
+
|
|
1532
|
+
def deserialize(params)
|
|
1533
|
+
@ServiceId = params['ServiceId']
|
|
1534
|
+
@Description = params['Description']
|
|
1535
|
+
@SourceChannel = params['SourceChannel']
|
|
1536
|
+
end
|
|
1537
|
+
end
|
|
1538
|
+
|
|
1539
|
+
# ModifyServiceInfo返回参数结构体
|
|
1540
|
+
class ModifyServiceInfoResponse < TencentCloud::Common::AbstractModel
|
|
1541
|
+
# @param Result: 成功与否
|
|
1542
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1543
|
+
# @type Result: Boolean
|
|
1544
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1545
|
+
# @type RequestId: String
|
|
1546
|
+
|
|
1547
|
+
attr_accessor :Result, :RequestId
|
|
1548
|
+
|
|
1549
|
+
def initialize(result=nil, requestid=nil)
|
|
1550
|
+
@Result = result
|
|
1551
|
+
@RequestId = requestid
|
|
1552
|
+
end
|
|
1553
|
+
|
|
1554
|
+
def deserialize(params)
|
|
1555
|
+
@Result = params['Result']
|
|
1556
|
+
@RequestId = params['RequestId']
|
|
1557
|
+
end
|
|
1558
|
+
end
|
|
1559
|
+
|
|
1560
|
+
# 挂载配置信息
|
|
1561
|
+
class MountedSettingConf < TencentCloud::Common::AbstractModel
|
|
1562
|
+
# @param ConfigDataName: 配置名称
|
|
1563
|
+
# @type ConfigDataName: String
|
|
1564
|
+
# @param MountedPath: 挂载路径
|
|
1565
|
+
# @type MountedPath: String
|
|
1566
|
+
# @param Data: 配置内容
|
|
1567
|
+
# @type Data: Array
|
|
1568
|
+
|
|
1569
|
+
attr_accessor :ConfigDataName, :MountedPath, :Data
|
|
1570
|
+
|
|
1571
|
+
def initialize(configdataname=nil, mountedpath=nil, data=nil)
|
|
1572
|
+
@ConfigDataName = configdataname
|
|
1573
|
+
@MountedPath = mountedpath
|
|
1574
|
+
@Data = data
|
|
1575
|
+
end
|
|
1576
|
+
|
|
1577
|
+
def deserialize(params)
|
|
1578
|
+
@ConfigDataName = params['ConfigDataName']
|
|
1579
|
+
@MountedPath = params['MountedPath']
|
|
1580
|
+
unless params['Data'].nil?
|
|
1581
|
+
@Data = []
|
|
1582
|
+
params['Data'].each do |i|
|
|
1583
|
+
pair_tmp = Pair.new
|
|
1584
|
+
pair_tmp.deserialize(i)
|
|
1585
|
+
@Data << pair_tmp
|
|
1586
|
+
end
|
|
1587
|
+
end
|
|
1588
|
+
end
|
|
1589
|
+
end
|
|
1590
|
+
|
|
1591
|
+
# 命名空间分页
|
|
1592
|
+
class NamespacePage < TencentCloud::Common::AbstractModel
|
|
1593
|
+
# @param Records: 分页内容
|
|
1594
|
+
# @type Records: Array
|
|
1595
|
+
# @param Total: 总数
|
|
1596
|
+
# @type Total: Integer
|
|
1597
|
+
# @param Size: 条目数
|
|
1598
|
+
# @type Size: Integer
|
|
1599
|
+
# @param Pages: 页数
|
|
1600
|
+
# @type Pages: Integer
|
|
1601
|
+
|
|
1602
|
+
attr_accessor :Records, :Total, :Size, :Pages
|
|
1603
|
+
|
|
1604
|
+
def initialize(records=nil, total=nil, size=nil, pages=nil)
|
|
1605
|
+
@Records = records
|
|
1606
|
+
@Total = total
|
|
1607
|
+
@Size = size
|
|
1608
|
+
@Pages = pages
|
|
1609
|
+
end
|
|
1610
|
+
|
|
1611
|
+
def deserialize(params)
|
|
1612
|
+
unless params['Records'].nil?
|
|
1613
|
+
@Records = []
|
|
1614
|
+
params['Records'].each do |i|
|
|
1615
|
+
temnamespaceinfo_tmp = TemNamespaceInfo.new
|
|
1616
|
+
temnamespaceinfo_tmp.deserialize(i)
|
|
1617
|
+
@Records << temnamespaceinfo_tmp
|
|
1618
|
+
end
|
|
1619
|
+
end
|
|
1620
|
+
@Total = params['Total']
|
|
1621
|
+
@Size = params['Size']
|
|
1622
|
+
@Pages = params['Pages']
|
|
1623
|
+
end
|
|
1624
|
+
end
|
|
1625
|
+
|
|
1626
|
+
# 键值对
|
|
1627
|
+
class Pair < TencentCloud::Common::AbstractModel
|
|
1628
|
+
# @param Key: 建
|
|
1629
|
+
# @type Key: String
|
|
1630
|
+
# @param Value: 值
|
|
1631
|
+
# @type Value: String
|
|
1632
|
+
|
|
1633
|
+
attr_accessor :Key, :Value
|
|
1634
|
+
|
|
1635
|
+
def initialize(key=nil, value=nil)
|
|
1636
|
+
@Key = key
|
|
1637
|
+
@Value = value
|
|
1638
|
+
end
|
|
1639
|
+
|
|
1640
|
+
def deserialize(params)
|
|
1641
|
+
@Key = params['Key']
|
|
1642
|
+
@Value = params['Value']
|
|
1643
|
+
end
|
|
1644
|
+
end
|
|
1645
|
+
|
|
1646
|
+
# 服务端口映射
|
|
1647
|
+
class PortMapping < TencentCloud::Common::AbstractModel
|
|
1648
|
+
# @param Port: 端口
|
|
1649
|
+
# @type Port: Integer
|
|
1650
|
+
# @param TargetPort: 映射端口
|
|
1651
|
+
# @type TargetPort: Integer
|
|
1652
|
+
# @param Protocol: 协议栈 TCP/UDP
|
|
1653
|
+
# @type Protocol: String
|
|
1654
|
+
|
|
1655
|
+
attr_accessor :Port, :TargetPort, :Protocol
|
|
1656
|
+
|
|
1657
|
+
def initialize(port=nil, targetport=nil, protocol=nil)
|
|
1658
|
+
@Port = port
|
|
1659
|
+
@TargetPort = targetport
|
|
1660
|
+
@Protocol = protocol
|
|
1661
|
+
end
|
|
1662
|
+
|
|
1663
|
+
def deserialize(params)
|
|
1664
|
+
@Port = params['Port']
|
|
1665
|
+
@TargetPort = params['TargetPort']
|
|
1666
|
+
@Protocol = params['Protocol']
|
|
1667
|
+
end
|
|
1668
|
+
end
|
|
1669
|
+
|
|
1670
|
+
# RestartServiceRunPod请求参数结构体
|
|
1671
|
+
class RestartServiceRunPodRequest < TencentCloud::Common::AbstractModel
|
|
1672
|
+
# @param NamespaceId: 环境id
|
|
1673
|
+
# @type NamespaceId: String
|
|
1674
|
+
# @param ServiceId: 服务名id
|
|
1675
|
+
# @type ServiceId: String
|
|
1676
|
+
# @param PodName: 名字
|
|
1677
|
+
# @type PodName: String
|
|
1678
|
+
# @param Limit: 单页条数
|
|
1679
|
+
# @type Limit: Integer
|
|
1680
|
+
# @param Offset: 分页下标
|
|
1681
|
+
# @type Offset: Integer
|
|
1682
|
+
# @param Status: pod状态
|
|
1683
|
+
# @type Status: String
|
|
1684
|
+
# @param SourceChannel: 来源渠道
|
|
1685
|
+
# @type SourceChannel: Integer
|
|
1686
|
+
|
|
1687
|
+
attr_accessor :NamespaceId, :ServiceId, :PodName, :Limit, :Offset, :Status, :SourceChannel
|
|
1688
|
+
|
|
1689
|
+
def initialize(namespaceid=nil, serviceid=nil, podname=nil, limit=nil, offset=nil, status=nil, sourcechannel=nil)
|
|
1690
|
+
@NamespaceId = namespaceid
|
|
1691
|
+
@ServiceId = serviceid
|
|
1692
|
+
@PodName = podname
|
|
1693
|
+
@Limit = limit
|
|
1694
|
+
@Offset = offset
|
|
1695
|
+
@Status = status
|
|
1696
|
+
@SourceChannel = sourcechannel
|
|
1697
|
+
end
|
|
1698
|
+
|
|
1699
|
+
def deserialize(params)
|
|
1700
|
+
@NamespaceId = params['NamespaceId']
|
|
1701
|
+
@ServiceId = params['ServiceId']
|
|
1702
|
+
@PodName = params['PodName']
|
|
1703
|
+
@Limit = params['Limit']
|
|
1704
|
+
@Offset = params['Offset']
|
|
1705
|
+
@Status = params['Status']
|
|
1706
|
+
@SourceChannel = params['SourceChannel']
|
|
1707
|
+
end
|
|
1708
|
+
end
|
|
1709
|
+
|
|
1710
|
+
# RestartServiceRunPod返回参数结构体
|
|
1711
|
+
class RestartServiceRunPodResponse < TencentCloud::Common::AbstractModel
|
|
1712
|
+
# @param Result: 返回结果
|
|
1713
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1714
|
+
# @type Result: Boolean
|
|
1715
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1716
|
+
# @type RequestId: String
|
|
1717
|
+
|
|
1718
|
+
attr_accessor :Result, :RequestId
|
|
1719
|
+
|
|
1720
|
+
def initialize(result=nil, requestid=nil)
|
|
1721
|
+
@Result = result
|
|
1722
|
+
@RequestId = requestid
|
|
1723
|
+
end
|
|
1724
|
+
|
|
1725
|
+
def deserialize(params)
|
|
1726
|
+
@Result = params['Result']
|
|
1727
|
+
@RequestId = params['RequestId']
|
|
1728
|
+
end
|
|
1729
|
+
end
|
|
1730
|
+
|
|
1731
|
+
# 版本pod
|
|
1732
|
+
class RunVersionPod < TencentCloud::Common::AbstractModel
|
|
1733
|
+
# @param Webshell: shell地址
|
|
1734
|
+
# @type Webshell: String
|
|
1735
|
+
# @param PodId: pod的id
|
|
1736
|
+
# @type PodId: String
|
|
1737
|
+
# @param Status: 状态
|
|
1738
|
+
# @type Status: String
|
|
1739
|
+
# @param CreateTime: 创建时间
|
|
1740
|
+
# @type CreateTime: String
|
|
1741
|
+
# @param PodIp: 实例的ip
|
|
1742
|
+
# @type PodIp: String
|
|
1743
|
+
# @param Zone: 可用区
|
|
1744
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1745
|
+
# @type Zone: String
|
|
1746
|
+
# @param DeployVersion: 部署版本
|
|
1747
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1748
|
+
# @type DeployVersion: String
|
|
1749
|
+
# @param RestartCount: 重启次数
|
|
1750
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1751
|
+
# @type RestartCount: Integer
|
|
1752
|
+
|
|
1753
|
+
attr_accessor :Webshell, :PodId, :Status, :CreateTime, :PodIp, :Zone, :DeployVersion, :RestartCount
|
|
1754
|
+
|
|
1755
|
+
def initialize(webshell=nil, podid=nil, status=nil, createtime=nil, podip=nil, zone=nil, deployversion=nil, restartcount=nil)
|
|
1756
|
+
@Webshell = webshell
|
|
1757
|
+
@PodId = podid
|
|
1758
|
+
@Status = status
|
|
1759
|
+
@CreateTime = createtime
|
|
1760
|
+
@PodIp = podip
|
|
1761
|
+
@Zone = zone
|
|
1762
|
+
@DeployVersion = deployversion
|
|
1763
|
+
@RestartCount = restartcount
|
|
1764
|
+
end
|
|
1765
|
+
|
|
1766
|
+
def deserialize(params)
|
|
1767
|
+
@Webshell = params['Webshell']
|
|
1768
|
+
@PodId = params['PodId']
|
|
1769
|
+
@Status = params['Status']
|
|
1770
|
+
@CreateTime = params['CreateTime']
|
|
1771
|
+
@PodIp = params['PodIp']
|
|
1772
|
+
@Zone = params['Zone']
|
|
1773
|
+
@DeployVersion = params['DeployVersion']
|
|
1774
|
+
@RestartCount = params['RestartCount']
|
|
1775
|
+
end
|
|
1776
|
+
end
|
|
1777
|
+
|
|
1778
|
+
# 存储卷配置
|
|
1779
|
+
class StorageConf < TencentCloud::Common::AbstractModel
|
|
1780
|
+
# @param StorageVolName: 存储卷名称
|
|
1781
|
+
# @type StorageVolName: String
|
|
1782
|
+
# @param StorageVolPath: 存储卷路径
|
|
1783
|
+
# @type StorageVolPath: String
|
|
1784
|
+
# @param StorageVolIp: 存储卷IP
|
|
1785
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1786
|
+
# @type StorageVolIp: String
|
|
1787
|
+
|
|
1788
|
+
attr_accessor :StorageVolName, :StorageVolPath, :StorageVolIp
|
|
1789
|
+
|
|
1790
|
+
def initialize(storagevolname=nil, storagevolpath=nil, storagevolip=nil)
|
|
1791
|
+
@StorageVolName = storagevolname
|
|
1792
|
+
@StorageVolPath = storagevolpath
|
|
1793
|
+
@StorageVolIp = storagevolip
|
|
1794
|
+
end
|
|
1795
|
+
|
|
1796
|
+
def deserialize(params)
|
|
1797
|
+
@StorageVolName = params['StorageVolName']
|
|
1798
|
+
@StorageVolPath = params['StorageVolPath']
|
|
1799
|
+
@StorageVolIp = params['StorageVolIp']
|
|
1800
|
+
end
|
|
1801
|
+
end
|
|
1802
|
+
|
|
1803
|
+
# 数据卷挂载信息
|
|
1804
|
+
class StorageMountConf < TencentCloud::Common::AbstractModel
|
|
1805
|
+
# @param VolumeName: 数据卷名
|
|
1806
|
+
# @type VolumeName: String
|
|
1807
|
+
# @param MountPath: 数据卷绑定路径
|
|
1808
|
+
# @type MountPath: String
|
|
1809
|
+
|
|
1810
|
+
attr_accessor :VolumeName, :MountPath
|
|
1811
|
+
|
|
1812
|
+
def initialize(volumename=nil, mountpath=nil)
|
|
1813
|
+
@VolumeName = volumename
|
|
1814
|
+
@MountPath = mountpath
|
|
1815
|
+
end
|
|
1816
|
+
|
|
1817
|
+
def deserialize(params)
|
|
1818
|
+
@VolumeName = params['VolumeName']
|
|
1819
|
+
@MountPath = params['MountPath']
|
|
1820
|
+
end
|
|
1821
|
+
end
|
|
1822
|
+
|
|
1823
|
+
# 命名空间对象
|
|
1824
|
+
class TemNamespaceInfo < TencentCloud::Common::AbstractModel
|
|
1825
|
+
# @param NamespaceId: 命名空间id
|
|
1826
|
+
# @type NamespaceId: String
|
|
1827
|
+
# @param Channel: 渠道
|
|
1828
|
+
# @type Channel: String
|
|
1829
|
+
# @param NamespaceName: 命名空间名称
|
|
1830
|
+
# @type NamespaceName: String
|
|
1831
|
+
# @param Region: 区域名称
|
|
1832
|
+
# @type Region: String
|
|
1833
|
+
# @param Description: 命名空间描述
|
|
1834
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1835
|
+
# @type Description: String
|
|
1836
|
+
# @param Status: 状态,1:已销毁;0:正常
|
|
1837
|
+
# @type Status: Integer
|
|
1838
|
+
# @param Vpc: vpc网络
|
|
1839
|
+
# @type Vpc: String
|
|
1840
|
+
# @param CreateDate: 创建时间
|
|
1841
|
+
# @type CreateDate: String
|
|
1842
|
+
# @param ModifyDate: 修改时间
|
|
1843
|
+
# @type ModifyDate: String
|
|
1844
|
+
# @param Modifier: 修改人
|
|
1845
|
+
# @type Modifier: String
|
|
1846
|
+
# @param Creator: 创建人
|
|
1847
|
+
# @type Creator: String
|
|
1848
|
+
# @param ServiceNum: 服务数
|
|
1849
|
+
# @type ServiceNum: Integer
|
|
1850
|
+
# @param RunInstancesNum: 运行实例数
|
|
1851
|
+
# @type RunInstancesNum: Integer
|
|
1852
|
+
# @param SubnetId: 子网络
|
|
1853
|
+
# @type SubnetId: String
|
|
1854
|
+
# @param TcbEnvStatus: tcb环境状态
|
|
1855
|
+
# @type TcbEnvStatus: String
|
|
1856
|
+
# @param ClusterStatus: eks cluster status
|
|
1857
|
+
# @type ClusterStatus: String
|
|
1858
|
+
# @param EnableTswTraceService: 是否开启tsw
|
|
1859
|
+
# @type EnableTswTraceService: Boolean
|
|
1860
|
+
|
|
1861
|
+
attr_accessor :NamespaceId, :Channel, :NamespaceName, :Region, :Description, :Status, :Vpc, :CreateDate, :ModifyDate, :Modifier, :Creator, :ServiceNum, :RunInstancesNum, :SubnetId, :TcbEnvStatus, :ClusterStatus, :EnableTswTraceService
|
|
1862
|
+
|
|
1863
|
+
def initialize(namespaceid=nil, channel=nil, namespacename=nil, region=nil, description=nil, status=nil, vpc=nil, createdate=nil, modifydate=nil, modifier=nil, creator=nil, servicenum=nil, runinstancesnum=nil, subnetid=nil, tcbenvstatus=nil, clusterstatus=nil, enabletswtraceservice=nil)
|
|
1864
|
+
@NamespaceId = namespaceid
|
|
1865
|
+
@Channel = channel
|
|
1866
|
+
@NamespaceName = namespacename
|
|
1867
|
+
@Region = region
|
|
1868
|
+
@Description = description
|
|
1869
|
+
@Status = status
|
|
1870
|
+
@Vpc = vpc
|
|
1871
|
+
@CreateDate = createdate
|
|
1872
|
+
@ModifyDate = modifydate
|
|
1873
|
+
@Modifier = modifier
|
|
1874
|
+
@Creator = creator
|
|
1875
|
+
@ServiceNum = servicenum
|
|
1876
|
+
@RunInstancesNum = runinstancesnum
|
|
1877
|
+
@SubnetId = subnetid
|
|
1878
|
+
@TcbEnvStatus = tcbenvstatus
|
|
1879
|
+
@ClusterStatus = clusterstatus
|
|
1880
|
+
@EnableTswTraceService = enabletswtraceservice
|
|
1881
|
+
end
|
|
1882
|
+
|
|
1883
|
+
def deserialize(params)
|
|
1884
|
+
@NamespaceId = params['NamespaceId']
|
|
1885
|
+
@Channel = params['Channel']
|
|
1886
|
+
@NamespaceName = params['NamespaceName']
|
|
1887
|
+
@Region = params['Region']
|
|
1888
|
+
@Description = params['Description']
|
|
1889
|
+
@Status = params['Status']
|
|
1890
|
+
@Vpc = params['Vpc']
|
|
1891
|
+
@CreateDate = params['CreateDate']
|
|
1892
|
+
@ModifyDate = params['ModifyDate']
|
|
1893
|
+
@Modifier = params['Modifier']
|
|
1894
|
+
@Creator = params['Creator']
|
|
1895
|
+
@ServiceNum = params['ServiceNum']
|
|
1896
|
+
@RunInstancesNum = params['RunInstancesNum']
|
|
1897
|
+
@SubnetId = params['SubnetId']
|
|
1898
|
+
@TcbEnvStatus = params['TcbEnvStatus']
|
|
1899
|
+
@ClusterStatus = params['ClusterStatus']
|
|
1900
|
+
@EnableTswTraceService = params['EnableTswTraceService']
|
|
1901
|
+
end
|
|
1902
|
+
end
|
|
1903
|
+
|
|
1904
|
+
end
|
|
1905
|
+
end
|
|
1906
|
+
end
|
|
1907
|
+
|