tencentcloud-sdk-tem 3.0.418 → 3.0.419
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/v20210701/client.rb +96 -0
- data/lib/v20210701/models.rb +207 -0
- 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: 164291cca0fa551bc5f1456446dc37fc5072bfda
|
4
|
+
data.tar.gz: 479d1ade629d448da709f8904bb316c02afb439d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2968b185d4a94ad8e9b48d9e6a6b74a9d5642d6ee3f0f306e8dfde9ca98f0a830932e6de2e1ed62518f71167a3f306e94a672bc8c7ef176d6b40158eea9f8f6e
|
7
|
+
data.tar.gz: 1e1c02327f5642864d115a75c4a3b624b033adc6d836d0677caa24b34ccdad9a8dbefe2d833a62f6ab423b165217712e7785208fa4c01eaa80c774021056d4e6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.419
|
data/lib/v20210701/client.rb
CHANGED
@@ -77,6 +77,30 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
+
# 新增访问方式
|
81
|
+
|
82
|
+
# @param request: Request instance for CreateApplicationService.
|
83
|
+
# @type request: :class:`Tencentcloud::tem::V20210701::CreateApplicationServiceRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::tem::V20210701::CreateApplicationServiceResponse`
|
85
|
+
def CreateApplicationService(request)
|
86
|
+
body = send_request('CreateApplicationService', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = CreateApplicationServiceResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
80
104
|
# 创建配置
|
81
105
|
|
82
106
|
# @param request: Request instance for CreateConfigData.
|
@@ -248,6 +272,30 @@ module TencentCloud
|
|
248
272
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
249
273
|
end
|
250
274
|
|
275
|
+
# 删除一条访问方式
|
276
|
+
|
277
|
+
# @param request: Request instance for DeleteApplicationService.
|
278
|
+
# @type request: :class:`Tencentcloud::tem::V20210701::DeleteApplicationServiceRequest`
|
279
|
+
# @rtype: :class:`Tencentcloud::tem::V20210701::DeleteApplicationServiceResponse`
|
280
|
+
def DeleteApplicationService(request)
|
281
|
+
body = send_request('DeleteApplicationService', request.serialize)
|
282
|
+
response = JSON.parse(body)
|
283
|
+
if response['Response'].key?('Error') == false
|
284
|
+
model = DeleteApplicationServiceResponse.new
|
285
|
+
model.deserialize(response['Response'])
|
286
|
+
model
|
287
|
+
else
|
288
|
+
code = response['Response']['Error']['Code']
|
289
|
+
message = response['Response']['Error']['Message']
|
290
|
+
reqid = response['Response']['RequestId']
|
291
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
292
|
+
end
|
293
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
294
|
+
raise e
|
295
|
+
rescue StandardError => e
|
296
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
297
|
+
end
|
298
|
+
|
251
299
|
# 删除 Ingress 规则
|
252
300
|
|
253
301
|
# @param request: Request instance for DeleteIngress.
|
@@ -368,6 +416,30 @@ module TencentCloud
|
|
368
416
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
369
417
|
end
|
370
418
|
|
419
|
+
# 查询应用访问方式列表
|
420
|
+
|
421
|
+
# @param request: Request instance for DescribeApplicationServiceList.
|
422
|
+
# @type request: :class:`Tencentcloud::tem::V20210701::DescribeApplicationServiceListRequest`
|
423
|
+
# @rtype: :class:`Tencentcloud::tem::V20210701::DescribeApplicationServiceListResponse`
|
424
|
+
def DescribeApplicationServiceList(request)
|
425
|
+
body = send_request('DescribeApplicationServiceList', request.serialize)
|
426
|
+
response = JSON.parse(body)
|
427
|
+
if response['Response'].key?('Error') == false
|
428
|
+
model = DescribeApplicationServiceListResponse.new
|
429
|
+
model.deserialize(response['Response'])
|
430
|
+
model
|
431
|
+
else
|
432
|
+
code = response['Response']['Error']['Code']
|
433
|
+
message = response['Response']['Error']['Message']
|
434
|
+
reqid = response['Response']['RequestId']
|
435
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
436
|
+
end
|
437
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
438
|
+
raise e
|
439
|
+
rescue StandardError => e
|
440
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
441
|
+
end
|
442
|
+
|
371
443
|
# 获取运行服务列表
|
372
444
|
|
373
445
|
# @param request: Request instance for DescribeApplications.
|
@@ -896,6 +968,30 @@ module TencentCloud
|
|
896
968
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
897
969
|
end
|
898
970
|
|
971
|
+
# 修改服务访问方式列表
|
972
|
+
|
973
|
+
# @param request: Request instance for ModifyApplicationService.
|
974
|
+
# @type request: :class:`Tencentcloud::tem::V20210701::ModifyApplicationServiceRequest`
|
975
|
+
# @rtype: :class:`Tencentcloud::tem::V20210701::ModifyApplicationServiceResponse`
|
976
|
+
def ModifyApplicationService(request)
|
977
|
+
body = send_request('ModifyApplicationService', request.serialize)
|
978
|
+
response = JSON.parse(body)
|
979
|
+
if response['Response'].key?('Error') == false
|
980
|
+
model = ModifyApplicationServiceResponse.new
|
981
|
+
model.deserialize(response['Response'])
|
982
|
+
model
|
983
|
+
else
|
984
|
+
code = response['Response']['Error']['Code']
|
985
|
+
message = response['Response']['Error']['Message']
|
986
|
+
reqid = response['Response']['RequestId']
|
987
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
988
|
+
end
|
989
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
990
|
+
raise e
|
991
|
+
rescue StandardError => e
|
992
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
993
|
+
end
|
994
|
+
|
899
995
|
# 编辑配置
|
900
996
|
|
901
997
|
# @param request: Request instance for ModifyConfigData.
|
data/lib/v20210701/models.rb
CHANGED
@@ -330,6 +330,58 @@ module TencentCloud
|
|
330
330
|
end
|
331
331
|
end
|
332
332
|
|
333
|
+
# CreateApplicationService请求参数结构体
|
334
|
+
class CreateApplicationServiceRequest < TencentCloud::Common::AbstractModel
|
335
|
+
# @param ApplicationId: 服务id
|
336
|
+
# @type ApplicationId: String
|
337
|
+
# @param EnvironmentId: 环境ID
|
338
|
+
# @type EnvironmentId: String
|
339
|
+
# @param SourceChannel: 来源渠道
|
340
|
+
# @type SourceChannel: Integer
|
341
|
+
# @param Service: 访问方式详情
|
342
|
+
# @type Service: :class:`Tencentcloud::Tem.v20210701.models.ServicePortMapping`
|
343
|
+
|
344
|
+
attr_accessor :ApplicationId, :EnvironmentId, :SourceChannel, :Service
|
345
|
+
|
346
|
+
def initialize(applicationid=nil, environmentid=nil, sourcechannel=nil, service=nil)
|
347
|
+
@ApplicationId = applicationid
|
348
|
+
@EnvironmentId = environmentid
|
349
|
+
@SourceChannel = sourcechannel
|
350
|
+
@Service = service
|
351
|
+
end
|
352
|
+
|
353
|
+
def deserialize(params)
|
354
|
+
@ApplicationId = params['ApplicationId']
|
355
|
+
@EnvironmentId = params['EnvironmentId']
|
356
|
+
@SourceChannel = params['SourceChannel']
|
357
|
+
unless params['Service'].nil?
|
358
|
+
@Service = ServicePortMapping.new
|
359
|
+
@Service.deserialize(params['Service'])
|
360
|
+
end
|
361
|
+
end
|
362
|
+
end
|
363
|
+
|
364
|
+
# CreateApplicationService返回参数结构体
|
365
|
+
class CreateApplicationServiceResponse < TencentCloud::Common::AbstractModel
|
366
|
+
# @param Result: 是否成功
|
367
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
368
|
+
# @type Result: Boolean
|
369
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
370
|
+
# @type RequestId: String
|
371
|
+
|
372
|
+
attr_accessor :Result, :RequestId
|
373
|
+
|
374
|
+
def initialize(result=nil, requestid=nil)
|
375
|
+
@Result = result
|
376
|
+
@RequestId = requestid
|
377
|
+
end
|
378
|
+
|
379
|
+
def deserialize(params)
|
380
|
+
@Result = params['Result']
|
381
|
+
@RequestId = params['RequestId']
|
382
|
+
end
|
383
|
+
end
|
384
|
+
|
333
385
|
# CreateConfigData请求参数结构体
|
334
386
|
class CreateConfigDataRequest < TencentCloud::Common::AbstractModel
|
335
387
|
# @param EnvironmentId: 环境 ID
|
@@ -795,6 +847,55 @@ module TencentCloud
|
|
795
847
|
end
|
796
848
|
end
|
797
849
|
|
850
|
+
# DeleteApplicationService请求参数结构体
|
851
|
+
class DeleteApplicationServiceRequest < TencentCloud::Common::AbstractModel
|
852
|
+
# @param ApplicationId: 服务id
|
853
|
+
# @type ApplicationId: String
|
854
|
+
# @param SourceChannel: 来源渠道
|
855
|
+
# @type SourceChannel: Integer
|
856
|
+
# @param EnvironmentId: 环境ID
|
857
|
+
# @type EnvironmentId: String
|
858
|
+
# @param ServiceName: 访问方式服务名
|
859
|
+
# @type ServiceName: String
|
860
|
+
|
861
|
+
attr_accessor :ApplicationId, :SourceChannel, :EnvironmentId, :ServiceName
|
862
|
+
|
863
|
+
def initialize(applicationid=nil, sourcechannel=nil, environmentid=nil, servicename=nil)
|
864
|
+
@ApplicationId = applicationid
|
865
|
+
@SourceChannel = sourcechannel
|
866
|
+
@EnvironmentId = environmentid
|
867
|
+
@ServiceName = servicename
|
868
|
+
end
|
869
|
+
|
870
|
+
def deserialize(params)
|
871
|
+
@ApplicationId = params['ApplicationId']
|
872
|
+
@SourceChannel = params['SourceChannel']
|
873
|
+
@EnvironmentId = params['EnvironmentId']
|
874
|
+
@ServiceName = params['ServiceName']
|
875
|
+
end
|
876
|
+
end
|
877
|
+
|
878
|
+
# DeleteApplicationService返回参数结构体
|
879
|
+
class DeleteApplicationServiceResponse < TencentCloud::Common::AbstractModel
|
880
|
+
# @param Result: 是否成功
|
881
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
882
|
+
# @type Result: Boolean
|
883
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
884
|
+
# @type RequestId: String
|
885
|
+
|
886
|
+
attr_accessor :Result, :RequestId
|
887
|
+
|
888
|
+
def initialize(result=nil, requestid=nil)
|
889
|
+
@Result = result
|
890
|
+
@RequestId = requestid
|
891
|
+
end
|
892
|
+
|
893
|
+
def deserialize(params)
|
894
|
+
@Result = params['Result']
|
895
|
+
@RequestId = params['RequestId']
|
896
|
+
end
|
897
|
+
end
|
898
|
+
|
798
899
|
# DeleteIngress请求参数结构体
|
799
900
|
class DeleteIngressRequest < TencentCloud::Common::AbstractModel
|
800
901
|
# @param EnvironmentId: 环境ID
|
@@ -1452,6 +1553,53 @@ module TencentCloud
|
|
1452
1553
|
end
|
1453
1554
|
end
|
1454
1555
|
|
1556
|
+
# DescribeApplicationServiceList请求参数结构体
|
1557
|
+
class DescribeApplicationServiceListRequest < TencentCloud::Common::AbstractModel
|
1558
|
+
# @param EnvironmentId: namespace id
|
1559
|
+
# @type EnvironmentId: String
|
1560
|
+
# @param ApplicationId: 服务ID
|
1561
|
+
# @type ApplicationId: String
|
1562
|
+
# @param SourceChannel: xx
|
1563
|
+
# @type SourceChannel: Integer
|
1564
|
+
|
1565
|
+
attr_accessor :EnvironmentId, :ApplicationId, :SourceChannel
|
1566
|
+
|
1567
|
+
def initialize(environmentid=nil, applicationid=nil, sourcechannel=nil)
|
1568
|
+
@EnvironmentId = environmentid
|
1569
|
+
@ApplicationId = applicationid
|
1570
|
+
@SourceChannel = sourcechannel
|
1571
|
+
end
|
1572
|
+
|
1573
|
+
def deserialize(params)
|
1574
|
+
@EnvironmentId = params['EnvironmentId']
|
1575
|
+
@ApplicationId = params['ApplicationId']
|
1576
|
+
@SourceChannel = params['SourceChannel']
|
1577
|
+
end
|
1578
|
+
end
|
1579
|
+
|
1580
|
+
# DescribeApplicationServiceList返回参数结构体
|
1581
|
+
class DescribeApplicationServiceListResponse < TencentCloud::Common::AbstractModel
|
1582
|
+
# @param Result: 应用 EKS Service 列表
|
1583
|
+
# @type Result: :class:`Tencentcloud::Tem.v20210701.models.EksService`
|
1584
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1585
|
+
# @type RequestId: String
|
1586
|
+
|
1587
|
+
attr_accessor :Result, :RequestId
|
1588
|
+
|
1589
|
+
def initialize(result=nil, requestid=nil)
|
1590
|
+
@Result = result
|
1591
|
+
@RequestId = requestid
|
1592
|
+
end
|
1593
|
+
|
1594
|
+
def deserialize(params)
|
1595
|
+
unless params['Result'].nil?
|
1596
|
+
@Result = EksService.new
|
1597
|
+
@Result.deserialize(params['Result'])
|
1598
|
+
end
|
1599
|
+
@RequestId = params['RequestId']
|
1600
|
+
end
|
1601
|
+
end
|
1602
|
+
|
1455
1603
|
# DescribeApplications请求参数结构体
|
1456
1604
|
class DescribeApplicationsRequest < TencentCloud::Common::AbstractModel
|
1457
1605
|
# @param EnvironmentId: 命名空间ID
|
@@ -3170,6 +3318,65 @@ module TencentCloud
|
|
3170
3318
|
end
|
3171
3319
|
end
|
3172
3320
|
|
3321
|
+
# ModifyApplicationService请求参数结构体
|
3322
|
+
class ModifyApplicationServiceRequest < TencentCloud::Common::AbstractModel
|
3323
|
+
# @param ApplicationId: 服务id
|
3324
|
+
# @type ApplicationId: String
|
3325
|
+
# @param EnvironmentId: 环境ID
|
3326
|
+
# @type EnvironmentId: String
|
3327
|
+
# @param SourceChannel: 来源渠道
|
3328
|
+
# @type SourceChannel: Integer
|
3329
|
+
# @param Service: 全量访问方式设置
|
3330
|
+
# @type Service: :class:`Tencentcloud::Tem.v20210701.models.EksService`
|
3331
|
+
# @param Data: 单条访问方式设置
|
3332
|
+
# @type Data: :class:`Tencentcloud::Tem.v20210701.models.ServicePortMapping`
|
3333
|
+
|
3334
|
+
attr_accessor :ApplicationId, :EnvironmentId, :SourceChannel, :Service, :Data
|
3335
|
+
|
3336
|
+
def initialize(applicationid=nil, environmentid=nil, sourcechannel=nil, service=nil, data=nil)
|
3337
|
+
@ApplicationId = applicationid
|
3338
|
+
@EnvironmentId = environmentid
|
3339
|
+
@SourceChannel = sourcechannel
|
3340
|
+
@Service = service
|
3341
|
+
@Data = data
|
3342
|
+
end
|
3343
|
+
|
3344
|
+
def deserialize(params)
|
3345
|
+
@ApplicationId = params['ApplicationId']
|
3346
|
+
@EnvironmentId = params['EnvironmentId']
|
3347
|
+
@SourceChannel = params['SourceChannel']
|
3348
|
+
unless params['Service'].nil?
|
3349
|
+
@Service = EksService.new
|
3350
|
+
@Service.deserialize(params['Service'])
|
3351
|
+
end
|
3352
|
+
unless params['Data'].nil?
|
3353
|
+
@Data = ServicePortMapping.new
|
3354
|
+
@Data.deserialize(params['Data'])
|
3355
|
+
end
|
3356
|
+
end
|
3357
|
+
end
|
3358
|
+
|
3359
|
+
# ModifyApplicationService返回参数结构体
|
3360
|
+
class ModifyApplicationServiceResponse < TencentCloud::Common::AbstractModel
|
3361
|
+
# @param Result: 是否成功
|
3362
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3363
|
+
# @type Result: Boolean
|
3364
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3365
|
+
# @type RequestId: String
|
3366
|
+
|
3367
|
+
attr_accessor :Result, :RequestId
|
3368
|
+
|
3369
|
+
def initialize(result=nil, requestid=nil)
|
3370
|
+
@Result = result
|
3371
|
+
@RequestId = requestid
|
3372
|
+
end
|
3373
|
+
|
3374
|
+
def deserialize(params)
|
3375
|
+
@Result = params['Result']
|
3376
|
+
@RequestId = params['RequestId']
|
3377
|
+
end
|
3378
|
+
end
|
3379
|
+
|
3173
3380
|
# ModifyConfigData请求参数结构体
|
3174
3381
|
class ModifyConfigDataRequest < TencentCloud::Common::AbstractModel
|
3175
3382
|
# @param EnvironmentId: 环境 ID
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.419
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|