tencentcloud-sdk-tem 1.0.335 → 1.0.336
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 +24 -0
- data/lib/v20210701/models.rb +127 -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: e3b2a3b21a55804b4ccda3d73773b6069e84e157
|
4
|
+
data.tar.gz: 2f86fbee8e584c3dc7c07433c3dafdc5de582360
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90c3541574da2783633cf7a6a2b7a880e84ad415aaf955dd04cba38844e484656d8cedcd0543f721f8006eda5e84fa53c43d461dbe040df395eb7fc21aebb4b3
|
7
|
+
data.tar.gz: 13ae8a5b5e161f9839f448374dd94e4cbcf0238e4a9ee8109bfd9eec369f4a16ff4676365cde3410c5c1c9a8a9dd8923de3d961adf3ab5bbb4fd36f31f0967e8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.336
|
data/lib/v20210701/client.rb
CHANGED
@@ -224,6 +224,30 @@ module TencentCloud
|
|
224
224
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
225
225
|
end
|
226
226
|
|
227
|
+
# 单环境下所有应用状态查看
|
228
|
+
|
229
|
+
# @param request: Request instance for DescribeApplicationsStatus.
|
230
|
+
# @type request: :class:`Tencentcloud::tem::V20210701::DescribeApplicationsStatusRequest`
|
231
|
+
# @rtype: :class:`Tencentcloud::tem::V20210701::DescribeApplicationsStatusResponse`
|
232
|
+
def DescribeApplicationsStatus(request)
|
233
|
+
body = send_request('DescribeApplicationsStatus', request.serialize)
|
234
|
+
response = JSON.parse(body)
|
235
|
+
if response['Response'].key?('Error') == false
|
236
|
+
model = DescribeApplicationsStatusResponse.new
|
237
|
+
model.deserialize(response['Response'])
|
238
|
+
model
|
239
|
+
else
|
240
|
+
code = response['Response']['Error']['Code']
|
241
|
+
message = response['Response']['Error']['Message']
|
242
|
+
reqid = response['Response']['RequestId']
|
243
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
244
|
+
end
|
245
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
246
|
+
raise e
|
247
|
+
rescue StandardError => e
|
248
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
249
|
+
end
|
250
|
+
|
227
251
|
# 获取分批发布详情
|
228
252
|
|
229
253
|
# @param request: Request instance for DescribeDeployApplicationDetail.
|
data/lib/v20210701/models.rb
CHANGED
@@ -986,6 +986,53 @@ module TencentCloud
|
|
986
986
|
end
|
987
987
|
end
|
988
988
|
|
989
|
+
# DescribeApplicationsStatus请求参数结构体
|
990
|
+
class DescribeApplicationsStatusRequest < TencentCloud::Common::AbstractModel
|
991
|
+
# @param SourceChannel: 来源渠道
|
992
|
+
# @type SourceChannel: Integer
|
993
|
+
# @param EnvironmentId: 环境ID
|
994
|
+
# @type EnvironmentId: String
|
995
|
+
|
996
|
+
attr_accessor :SourceChannel, :EnvironmentId
|
997
|
+
|
998
|
+
def initialize(sourcechannel=nil, environmentid=nil)
|
999
|
+
@SourceChannel = sourcechannel
|
1000
|
+
@EnvironmentId = environmentid
|
1001
|
+
end
|
1002
|
+
|
1003
|
+
def deserialize(params)
|
1004
|
+
@SourceChannel = params['SourceChannel']
|
1005
|
+
@EnvironmentId = params['EnvironmentId']
|
1006
|
+
end
|
1007
|
+
end
|
1008
|
+
|
1009
|
+
# DescribeApplicationsStatus返回参数结构体
|
1010
|
+
class DescribeApplicationsStatusResponse < TencentCloud::Common::AbstractModel
|
1011
|
+
# @param Result: 返回结果
|
1012
|
+
# @type Result: Array
|
1013
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1014
|
+
# @type RequestId: String
|
1015
|
+
|
1016
|
+
attr_accessor :Result, :RequestId
|
1017
|
+
|
1018
|
+
def initialize(result=nil, requestid=nil)
|
1019
|
+
@Result = result
|
1020
|
+
@RequestId = requestid
|
1021
|
+
end
|
1022
|
+
|
1023
|
+
def deserialize(params)
|
1024
|
+
unless params['Result'].nil?
|
1025
|
+
@Result = []
|
1026
|
+
params['Result'].each do |i|
|
1027
|
+
serviceversionbrief_tmp = ServiceVersionBrief.new
|
1028
|
+
serviceversionbrief_tmp.deserialize(i)
|
1029
|
+
@Result << serviceversionbrief_tmp
|
1030
|
+
end
|
1031
|
+
end
|
1032
|
+
@RequestId = params['RequestId']
|
1033
|
+
end
|
1034
|
+
end
|
1035
|
+
|
989
1036
|
# DescribeDeployApplicationDetail请求参数结构体
|
990
1037
|
class DescribeDeployApplicationDetailRequest < TencentCloud::Common::AbstractModel
|
991
1038
|
# @param ApplicationId: 服务id
|
@@ -2403,6 +2450,86 @@ module TencentCloud
|
|
2403
2450
|
end
|
2404
2451
|
end
|
2405
2452
|
|
2453
|
+
# 服务版本信息列表
|
2454
|
+
class ServiceVersionBrief < TencentCloud::Common::AbstractModel
|
2455
|
+
# @param VersionName: 版本名称
|
2456
|
+
# @type VersionName: String
|
2457
|
+
# @param Status: 状态
|
2458
|
+
# @type Status: String
|
2459
|
+
# @param EnableEs: 是否启动弹性 -- 已废弃
|
2460
|
+
# @type EnableEs: Integer
|
2461
|
+
# @param CurrentInstances: 当前实例
|
2462
|
+
# @type CurrentInstances: Integer
|
2463
|
+
# @param VersionId: version的id
|
2464
|
+
# @type VersionId: String
|
2465
|
+
# @param LogOutputConf: 日志输出配置 -- 已废弃
|
2466
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2467
|
+
# @type LogOutputConf: :class:`Tencentcloud::Tem.v20210701.models.LogOutputConf`
|
2468
|
+
# @param ExpectedInstances: 期望实例
|
2469
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2470
|
+
# @type ExpectedInstances: Integer
|
2471
|
+
# @param DeployMode: 部署方式
|
2472
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2473
|
+
# @type DeployMode: String
|
2474
|
+
# @param BuildTaskId: 建构任务ID
|
2475
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2476
|
+
# @type BuildTaskId: String
|
2477
|
+
# @param EnvironmentId: 环境ID
|
2478
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2479
|
+
# @type EnvironmentId: String
|
2480
|
+
# @param EnvironmentName: 环境name
|
2481
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2482
|
+
# @type EnvironmentName: String
|
2483
|
+
# @param ApplicationId: 服务ID
|
2484
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2485
|
+
# @type ApplicationId: String
|
2486
|
+
# @param ApplicationName: 服务name
|
2487
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2488
|
+
# @type ApplicationName: String
|
2489
|
+
# @param UnderDeploying: 是否正在发布中
|
2490
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2491
|
+
# @type UnderDeploying: Boolean
|
2492
|
+
|
2493
|
+
attr_accessor :VersionName, :Status, :EnableEs, :CurrentInstances, :VersionId, :LogOutputConf, :ExpectedInstances, :DeployMode, :BuildTaskId, :EnvironmentId, :EnvironmentName, :ApplicationId, :ApplicationName, :UnderDeploying
|
2494
|
+
|
2495
|
+
def initialize(versionname=nil, status=nil, enablees=nil, currentinstances=nil, versionid=nil, logoutputconf=nil, expectedinstances=nil, deploymode=nil, buildtaskid=nil, environmentid=nil, environmentname=nil, applicationid=nil, applicationname=nil, underdeploying=nil)
|
2496
|
+
@VersionName = versionname
|
2497
|
+
@Status = status
|
2498
|
+
@EnableEs = enablees
|
2499
|
+
@CurrentInstances = currentinstances
|
2500
|
+
@VersionId = versionid
|
2501
|
+
@LogOutputConf = logoutputconf
|
2502
|
+
@ExpectedInstances = expectedinstances
|
2503
|
+
@DeployMode = deploymode
|
2504
|
+
@BuildTaskId = buildtaskid
|
2505
|
+
@EnvironmentId = environmentid
|
2506
|
+
@EnvironmentName = environmentname
|
2507
|
+
@ApplicationId = applicationid
|
2508
|
+
@ApplicationName = applicationname
|
2509
|
+
@UnderDeploying = underdeploying
|
2510
|
+
end
|
2511
|
+
|
2512
|
+
def deserialize(params)
|
2513
|
+
@VersionName = params['VersionName']
|
2514
|
+
@Status = params['Status']
|
2515
|
+
@EnableEs = params['EnableEs']
|
2516
|
+
@CurrentInstances = params['CurrentInstances']
|
2517
|
+
@VersionId = params['VersionId']
|
2518
|
+
unless params['LogOutputConf'].nil?
|
2519
|
+
@LogOutputConf = LogOutputConf.new
|
2520
|
+
@LogOutputConf.deserialize(params['LogOutputConf'])
|
2521
|
+
end
|
2522
|
+
@ExpectedInstances = params['ExpectedInstances']
|
2523
|
+
@DeployMode = params['DeployMode']
|
2524
|
+
@BuildTaskId = params['BuildTaskId']
|
2525
|
+
@EnvironmentId = params['EnvironmentId']
|
2526
|
+
@EnvironmentName = params['EnvironmentName']
|
2527
|
+
@ApplicationId = params['ApplicationId']
|
2528
|
+
@ApplicationName = params['ApplicationName']
|
2529
|
+
@UnderDeploying = params['UnderDeploying']
|
2530
|
+
end
|
2531
|
+
end
|
2532
|
+
|
2406
2533
|
# StopApplication请求参数结构体
|
2407
2534
|
class StopApplicationRequest < TencentCloud::Common::AbstractModel
|
2408
2535
|
# @param ApplicationId: 服务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: 1.0.
|
4
|
+
version: 1.0.336
|
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-06-
|
11
|
+
date: 2022-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|