tencentcloud-sdk-tem 3.0.418 → 3.0.420

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d97a10168bbbcb8ac5e76a8381d05b8c969d8b19
4
- data.tar.gz: 19dda993759432f20c131a643707527b41807995
3
+ metadata.gz: ad65846875f44451127fe9625ebf823ac9670f26
4
+ data.tar.gz: 6fc109d2944b95b6323a770c58d4d217a298efef
5
5
  SHA512:
6
- metadata.gz: aad8cc64fd9d10498faff6b993e5212b6219c67270d61674d7660ecb69d301dc6298dea2331352dcaee0fdae3ed8a9dcb80f4d58e71ecf27f88378fecf36cdc9
7
- data.tar.gz: ff368ce9fd4f94a9236872eb2bcd332a4547124ec82e0e37af19dc4c39c97b29e9b7e1bc9d0401f7a136806b090c080557ce47cde8b1929c81670c635e14e001
6
+ metadata.gz: f22217e4647b2588e3b39202f59f64e80c20c48e882c7f17d575b5b3c70dfcee14cd93b891fb9bb9772fab97a79db398ff22fe3694a751e1848366aae23e4d95
7
+ data.tar.gz: 0813e4872457fedf4656c3fd03b131420bc50c7a8c697cc59255cd3169284f5c407e1f76e105080ce2e297db12e06b32d9e2b6da6b9693e90097fe37abb0efe0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.418
1
+ 3.0.420
@@ -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.
@@ -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
@@ -3477,14 +3684,18 @@ module TencentCloud
3477
3684
  # @type Size: Integer
3478
3685
  # @param Pages: 页数
3479
3686
  # @type Pages: Integer
3687
+ # @param Current: 当前条目
3688
+ # 注意:此字段可能返回 null,表示取不到有效值。
3689
+ # @type Current: Integer
3480
3690
 
3481
- attr_accessor :Records, :Total, :Size, :Pages
3691
+ attr_accessor :Records, :Total, :Size, :Pages, :Current
3482
3692
 
3483
- def initialize(records=nil, total=nil, size=nil, pages=nil)
3693
+ def initialize(records=nil, total=nil, size=nil, pages=nil, current=nil)
3484
3694
  @Records = records
3485
3695
  @Total = total
3486
3696
  @Size = size
3487
3697
  @Pages = pages
3698
+ @Current = current
3488
3699
  end
3489
3700
 
3490
3701
  def deserialize(params)
@@ -3499,6 +3710,7 @@ module TencentCloud
3499
3710
  @Total = params['Total']
3500
3711
  @Size = params['Size']
3501
3712
  @Pages = params['Pages']
3713
+ @Current = params['Current']
3502
3714
  end
3503
3715
  end
3504
3716
 
@@ -4259,6 +4471,28 @@ module TencentCloud
4259
4471
  end
4260
4472
  end
4261
4473
 
4474
+ # 标签
4475
+ class Tag < TencentCloud::Common::AbstractModel
4476
+ # @param TagKey: 标签键
4477
+ # 注意:此字段可能返回 null,表示取不到有效值。
4478
+ # @type TagKey: String
4479
+ # @param TagValue: 标签值
4480
+ # 注意:此字段可能返回 null,表示取不到有效值。
4481
+ # @type TagValue: String
4482
+
4483
+ attr_accessor :TagKey, :TagValue
4484
+
4485
+ def initialize(tagkey=nil, tagvalue=nil)
4486
+ @TagKey = tagkey
4487
+ @TagValue = tagvalue
4488
+ end
4489
+
4490
+ def deserialize(params)
4491
+ @TagKey = params['TagKey']
4492
+ @TagValue = params['TagValue']
4493
+ end
4494
+ end
4495
+
4262
4496
  # 分批发布详情
4263
4497
  class TemDeployApplicationDetailInfo < TencentCloud::Common::AbstractModel
4264
4498
  # @param DeployStrategyConf: 分批发布策略
@@ -4438,10 +4672,25 @@ module TencentCloud
4438
4672
  # @type EnableTswTraceService: Boolean
4439
4673
  # @param Locked: 环境锁,1为上锁,0则为上锁
4440
4674
  # @type Locked: Integer
4675
+ # @param AppId: 用户AppId
4676
+ # 注意:此字段可能返回 null,表示取不到有效值。
4677
+ # @type AppId: String
4678
+ # @param Uin: 用户Uin
4679
+ # 注意:此字段可能返回 null,表示取不到有效值。
4680
+ # @type Uin: String
4681
+ # @param SubAccountUin: 用户SubAccountUin
4682
+ # 注意:此字段可能返回 null,表示取不到有效值。
4683
+ # @type SubAccountUin: String
4684
+ # @param ClusterId: 集群ID
4685
+ # 注意:此字段可能返回 null,表示取不到有效值。
4686
+ # @type ClusterId: String
4687
+ # @param Tags: 标签
4688
+ # 注意:此字段可能返回 null,表示取不到有效值。
4689
+ # @type Tags: Array
4441
4690
 
4442
- attr_accessor :EnvironmentId, :Channel, :EnvironmentName, :Region, :Description, :Status, :Vpc, :CreateDate, :ModifyDate, :Modifier, :Creator, :ApplicationNum, :RunInstancesNum, :SubnetId, :ClusterStatus, :EnableTswTraceService, :Locked
4691
+ attr_accessor :EnvironmentId, :Channel, :EnvironmentName, :Region, :Description, :Status, :Vpc, :CreateDate, :ModifyDate, :Modifier, :Creator, :ApplicationNum, :RunInstancesNum, :SubnetId, :ClusterStatus, :EnableTswTraceService, :Locked, :AppId, :Uin, :SubAccountUin, :ClusterId, :Tags
4443
4692
 
4444
- def initialize(environmentid=nil, channel=nil, environmentname=nil, region=nil, description=nil, status=nil, vpc=nil, createdate=nil, modifydate=nil, modifier=nil, creator=nil, applicationnum=nil, runinstancesnum=nil, subnetid=nil, clusterstatus=nil, enabletswtraceservice=nil, locked=nil)
4693
+ def initialize(environmentid=nil, channel=nil, environmentname=nil, region=nil, description=nil, status=nil, vpc=nil, createdate=nil, modifydate=nil, modifier=nil, creator=nil, applicationnum=nil, runinstancesnum=nil, subnetid=nil, clusterstatus=nil, enabletswtraceservice=nil, locked=nil, appid=nil, uin=nil, subaccountuin=nil, clusterid=nil, tags=nil)
4445
4694
  @EnvironmentId = environmentid
4446
4695
  @Channel = channel
4447
4696
  @EnvironmentName = environmentname
@@ -4459,6 +4708,11 @@ module TencentCloud
4459
4708
  @ClusterStatus = clusterstatus
4460
4709
  @EnableTswTraceService = enabletswtraceservice
4461
4710
  @Locked = locked
4711
+ @AppId = appid
4712
+ @Uin = uin
4713
+ @SubAccountUin = subaccountuin
4714
+ @ClusterId = clusterid
4715
+ @Tags = tags
4462
4716
  end
4463
4717
 
4464
4718
  def deserialize(params)
@@ -4479,6 +4733,18 @@ module TencentCloud
4479
4733
  @ClusterStatus = params['ClusterStatus']
4480
4734
  @EnableTswTraceService = params['EnableTswTraceService']
4481
4735
  @Locked = params['Locked']
4736
+ @AppId = params['AppId']
4737
+ @Uin = params['Uin']
4738
+ @SubAccountUin = params['SubAccountUin']
4739
+ @ClusterId = params['ClusterId']
4740
+ unless params['Tags'].nil?
4741
+ @Tags = []
4742
+ params['Tags'].each do |i|
4743
+ tag_tmp = Tag.new
4744
+ tag_tmp.deserialize(i)
4745
+ @Tags << tag_tmp
4746
+ end
4747
+ end
4482
4748
  end
4483
4749
  end
4484
4750
 
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.418
4
+ version: 3.0.420
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-26 00:00:00.000000000 Z
11
+ date: 2022-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common