tencentcloud-sdk-tem 3.0.382 → 3.0.386
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210701/client.rb +72 -0
- data/lib/v20210701/models.rb +218 -10
- 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: ea03f0e58cc1c68191969f3502f08ac663bcdada
|
4
|
+
data.tar.gz: b3ff09de3e6a005e59b04ea07620f0466f542013
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 680f313be3804d9e11cefaaf8b0352ebab29a0dca69b01a4130c4f191b3d310c6bf2af6bc99f51deece8384d5a02d9dbafc5346bd76059b884a09fe285d332ca
|
7
|
+
data.tar.gz: 0846968d639e6a28ef252e4d2ba583fbd84b9b09e46b92e2e94c6212cb43c8394a478890d10a1beaeaad53771e45f050ae17e0cf8147d698759f790a1395ebae
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.386
|
data/lib/v20210701/client.rb
CHANGED
@@ -488,6 +488,30 @@ module TencentCloud
|
|
488
488
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
489
489
|
end
|
490
490
|
|
491
|
+
# 获取环境基础信息
|
492
|
+
|
493
|
+
# @param request: Request instance for DescribeEnvironment.
|
494
|
+
# @type request: :class:`Tencentcloud::tem::V20210701::DescribeEnvironmentRequest`
|
495
|
+
# @rtype: :class:`Tencentcloud::tem::V20210701::DescribeEnvironmentResponse`
|
496
|
+
def DescribeEnvironment(request)
|
497
|
+
body = send_request('DescribeEnvironment', request.serialize)
|
498
|
+
response = JSON.parse(body)
|
499
|
+
if response['Response'].key?('Error') == false
|
500
|
+
model = DescribeEnvironmentResponse.new
|
501
|
+
model.deserialize(response['Response'])
|
502
|
+
model
|
503
|
+
else
|
504
|
+
code = response['Response']['Error']['Code']
|
505
|
+
message = response['Response']['Error']['Message']
|
506
|
+
reqid = response['Response']['RequestId']
|
507
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
508
|
+
end
|
509
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
510
|
+
raise e
|
511
|
+
rescue StandardError => e
|
512
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
513
|
+
end
|
514
|
+
|
491
515
|
# 获取环境状态
|
492
516
|
|
493
517
|
# @param request: Request instance for DescribeEnvironmentStatus.
|
@@ -728,6 +752,54 @@ module TencentCloud
|
|
728
752
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
729
753
|
end
|
730
754
|
|
755
|
+
# 关闭应用弹性策略组合
|
756
|
+
|
757
|
+
# @param request: Request instance for DisableApplicationAutoscaler.
|
758
|
+
# @type request: :class:`Tencentcloud::tem::V20210701::DisableApplicationAutoscalerRequest`
|
759
|
+
# @rtype: :class:`Tencentcloud::tem::V20210701::DisableApplicationAutoscalerResponse`
|
760
|
+
def DisableApplicationAutoscaler(request)
|
761
|
+
body = send_request('DisableApplicationAutoscaler', request.serialize)
|
762
|
+
response = JSON.parse(body)
|
763
|
+
if response['Response'].key?('Error') == false
|
764
|
+
model = DisableApplicationAutoscalerResponse.new
|
765
|
+
model.deserialize(response['Response'])
|
766
|
+
model
|
767
|
+
else
|
768
|
+
code = response['Response']['Error']['Code']
|
769
|
+
message = response['Response']['Error']['Message']
|
770
|
+
reqid = response['Response']['RequestId']
|
771
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
772
|
+
end
|
773
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
774
|
+
raise e
|
775
|
+
rescue StandardError => e
|
776
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
777
|
+
end
|
778
|
+
|
779
|
+
# 启用应用弹性策略组合
|
780
|
+
|
781
|
+
# @param request: Request instance for EnableApplicationAutoscaler.
|
782
|
+
# @type request: :class:`Tencentcloud::tem::V20210701::EnableApplicationAutoscalerRequest`
|
783
|
+
# @rtype: :class:`Tencentcloud::tem::V20210701::EnableApplicationAutoscalerResponse`
|
784
|
+
def EnableApplicationAutoscaler(request)
|
785
|
+
body = send_request('EnableApplicationAutoscaler', request.serialize)
|
786
|
+
response = JSON.parse(body)
|
787
|
+
if response['Response'].key?('Error') == false
|
788
|
+
model = EnableApplicationAutoscalerResponse.new
|
789
|
+
model.deserialize(response['Response'])
|
790
|
+
model
|
791
|
+
else
|
792
|
+
code = response['Response']['Error']['Code']
|
793
|
+
message = response['Response']['Error']['Message']
|
794
|
+
reqid = response['Response']['RequestId']
|
795
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
796
|
+
end
|
797
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
798
|
+
raise e
|
799
|
+
rescue StandardError => e
|
800
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
801
|
+
end
|
802
|
+
|
731
803
|
# 生成应用程序包预签名下载链接
|
732
804
|
|
733
805
|
# @param request: Request instance for GenerateApplicationPackageDownloadUrl.
|
data/lib/v20210701/models.rb
CHANGED
@@ -937,15 +937,18 @@ module TencentCloud
|
|
937
937
|
# - ALPINE
|
938
938
|
# - TENCENTOS
|
939
939
|
# @type OsFlavour: String
|
940
|
-
# @param EnablePrometheusConf:
|
940
|
+
# @param EnablePrometheusConf: metrics业务指标监控配置
|
941
941
|
# @type EnablePrometheusConf: :class:`Tencentcloud::Tem.v20210701.models.EnablePrometheusConf`
|
942
|
-
# @param EnableTracing: 1
|
942
|
+
# @param EnableTracing: 1:开始自动apm采集(skywalking);
|
943
943
|
# 0:关闭apm采集;
|
944
944
|
# @type EnableTracing: Integer
|
945
|
+
# @param EnableMetrics: 1:开始自动metrics采集(open-telemetry);
|
946
|
+
# 0:关闭metrics采集;
|
947
|
+
# @type EnableMetrics: Integer
|
945
948
|
|
946
|
-
attr_accessor :ApplicationId, :InitPodNum, :CpuSpec, :MemorySpec, :EnvironmentId, :ImgRepo, :VersionDesc, :JvmOpts, :EsInfo, :EnvConf, :LogConfs, :StorageConfs, :StorageMountConfs, :DeployMode, :DeployVersion, :PkgName, :JdkVersion, :SecurityGroupIds, :LogOutputConf, :SourceChannel, :Description, :ImageCommand, :ImageArgs, :UseRegistryDefaultConfig, :SettingConfs, :Service, :VersionId, :PostStart, :PreStop, :Liveness, :Readiness, :DeployStrategyConf, :HorizontalAutoscaler, :CronHorizontalAutoscaler, :LogEnable, :ConfEdited, :SpeedUp, :StartupProbe, :OsFlavour, :EnablePrometheusConf, :EnableTracing
|
949
|
+
attr_accessor :ApplicationId, :InitPodNum, :CpuSpec, :MemorySpec, :EnvironmentId, :ImgRepo, :VersionDesc, :JvmOpts, :EsInfo, :EnvConf, :LogConfs, :StorageConfs, :StorageMountConfs, :DeployMode, :DeployVersion, :PkgName, :JdkVersion, :SecurityGroupIds, :LogOutputConf, :SourceChannel, :Description, :ImageCommand, :ImageArgs, :UseRegistryDefaultConfig, :SettingConfs, :Service, :VersionId, :PostStart, :PreStop, :Liveness, :Readiness, :DeployStrategyConf, :HorizontalAutoscaler, :CronHorizontalAutoscaler, :LogEnable, :ConfEdited, :SpeedUp, :StartupProbe, :OsFlavour, :EnablePrometheusConf, :EnableTracing, :EnableMetrics
|
947
950
|
|
948
|
-
def initialize(applicationid=nil, initpodnum=nil, cpuspec=nil, memoryspec=nil, environmentid=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, useregistrydefaultconfig=nil, settingconfs=nil, service=nil, versionid=nil, poststart=nil, prestop=nil, liveness=nil, readiness=nil, deploystrategyconf=nil, horizontalautoscaler=nil, cronhorizontalautoscaler=nil, logenable=nil, confedited=nil, speedup=nil, startupprobe=nil, osflavour=nil, enableprometheusconf=nil, enabletracing=nil)
|
951
|
+
def initialize(applicationid=nil, initpodnum=nil, cpuspec=nil, memoryspec=nil, environmentid=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, useregistrydefaultconfig=nil, settingconfs=nil, service=nil, versionid=nil, poststart=nil, prestop=nil, liveness=nil, readiness=nil, deploystrategyconf=nil, horizontalautoscaler=nil, cronhorizontalautoscaler=nil, logenable=nil, confedited=nil, speedup=nil, startupprobe=nil, osflavour=nil, enableprometheusconf=nil, enabletracing=nil, enablemetrics=nil)
|
949
952
|
@ApplicationId = applicationid
|
950
953
|
@InitPodNum = initpodnum
|
951
954
|
@CpuSpec = cpuspec
|
@@ -987,6 +990,7 @@ module TencentCloud
|
|
987
990
|
@OsFlavour = osflavour
|
988
991
|
@EnablePrometheusConf = enableprometheusconf
|
989
992
|
@EnableTracing = enabletracing
|
993
|
+
@EnableMetrics = enablemetrics
|
990
994
|
end
|
991
995
|
|
992
996
|
def deserialize(params)
|
@@ -1097,6 +1101,7 @@ module TencentCloud
|
|
1097
1101
|
@EnablePrometheusConf.deserialize(params['EnablePrometheusConf'])
|
1098
1102
|
end
|
1099
1103
|
@EnableTracing = params['EnableTracing']
|
1104
|
+
@EnableMetrics = params['EnableMetrics']
|
1100
1105
|
end
|
1101
1106
|
end
|
1102
1107
|
|
@@ -1719,6 +1724,49 @@ module TencentCloud
|
|
1719
1724
|
end
|
1720
1725
|
end
|
1721
1726
|
|
1727
|
+
# DescribeEnvironment请求参数结构体
|
1728
|
+
class DescribeEnvironmentRequest < TencentCloud::Common::AbstractModel
|
1729
|
+
# @param EnvironmentId: 命名空间id
|
1730
|
+
# @type EnvironmentId: String
|
1731
|
+
# @param SourceChannel: 来源Channel
|
1732
|
+
# @type SourceChannel: Integer
|
1733
|
+
|
1734
|
+
attr_accessor :EnvironmentId, :SourceChannel
|
1735
|
+
|
1736
|
+
def initialize(environmentid=nil, sourcechannel=nil)
|
1737
|
+
@EnvironmentId = environmentid
|
1738
|
+
@SourceChannel = sourcechannel
|
1739
|
+
end
|
1740
|
+
|
1741
|
+
def deserialize(params)
|
1742
|
+
@EnvironmentId = params['EnvironmentId']
|
1743
|
+
@SourceChannel = params['SourceChannel']
|
1744
|
+
end
|
1745
|
+
end
|
1746
|
+
|
1747
|
+
# DescribeEnvironment返回参数结构体
|
1748
|
+
class DescribeEnvironmentResponse < TencentCloud::Common::AbstractModel
|
1749
|
+
# @param Result: 环境信息
|
1750
|
+
# @type Result: :class:`Tencentcloud::Tem.v20210701.models.NamespaceInfo`
|
1751
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1752
|
+
# @type RequestId: String
|
1753
|
+
|
1754
|
+
attr_accessor :Result, :RequestId
|
1755
|
+
|
1756
|
+
def initialize(result=nil, requestid=nil)
|
1757
|
+
@Result = result
|
1758
|
+
@RequestId = requestid
|
1759
|
+
end
|
1760
|
+
|
1761
|
+
def deserialize(params)
|
1762
|
+
unless params['Result'].nil?
|
1763
|
+
@Result = NamespaceInfo.new
|
1764
|
+
@Result.deserialize(params['Result'])
|
1765
|
+
end
|
1766
|
+
@RequestId = params['RequestId']
|
1767
|
+
end
|
1768
|
+
end
|
1769
|
+
|
1722
1770
|
# DescribeEnvironmentStatus请求参数结构体
|
1723
1771
|
class DescribeEnvironmentStatusRequest < TencentCloud::Common::AbstractModel
|
1724
1772
|
# @param EnvironmentIds: 命名空间id
|
@@ -2249,6 +2297,55 @@ module TencentCloud
|
|
2249
2297
|
end
|
2250
2298
|
end
|
2251
2299
|
|
2300
|
+
# DisableApplicationAutoscaler请求参数结构体
|
2301
|
+
class DisableApplicationAutoscalerRequest < TencentCloud::Common::AbstractModel
|
2302
|
+
# @param ApplicationId: 服务id
|
2303
|
+
# @type ApplicationId: String
|
2304
|
+
# @param EnvironmentId: 环境ID
|
2305
|
+
# @type EnvironmentId: String
|
2306
|
+
# @param SourceChannel: 来源渠道
|
2307
|
+
# @type SourceChannel: Integer
|
2308
|
+
# @param AutoscalerId: 弹性伸缩策略ID
|
2309
|
+
# @type AutoscalerId: String
|
2310
|
+
|
2311
|
+
attr_accessor :ApplicationId, :EnvironmentId, :SourceChannel, :AutoscalerId
|
2312
|
+
|
2313
|
+
def initialize(applicationid=nil, environmentid=nil, sourcechannel=nil, autoscalerid=nil)
|
2314
|
+
@ApplicationId = applicationid
|
2315
|
+
@EnvironmentId = environmentid
|
2316
|
+
@SourceChannel = sourcechannel
|
2317
|
+
@AutoscalerId = autoscalerid
|
2318
|
+
end
|
2319
|
+
|
2320
|
+
def deserialize(params)
|
2321
|
+
@ApplicationId = params['ApplicationId']
|
2322
|
+
@EnvironmentId = params['EnvironmentId']
|
2323
|
+
@SourceChannel = params['SourceChannel']
|
2324
|
+
@AutoscalerId = params['AutoscalerId']
|
2325
|
+
end
|
2326
|
+
end
|
2327
|
+
|
2328
|
+
# DisableApplicationAutoscaler返回参数结构体
|
2329
|
+
class DisableApplicationAutoscalerResponse < TencentCloud::Common::AbstractModel
|
2330
|
+
# @param Result: 是否成功
|
2331
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2332
|
+
# @type Result: Boolean
|
2333
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2334
|
+
# @type RequestId: String
|
2335
|
+
|
2336
|
+
attr_accessor :Result, :RequestId
|
2337
|
+
|
2338
|
+
def initialize(result=nil, requestid=nil)
|
2339
|
+
@Result = result
|
2340
|
+
@RequestId = requestid
|
2341
|
+
end
|
2342
|
+
|
2343
|
+
def deserialize(params)
|
2344
|
+
@Result = params['Result']
|
2345
|
+
@RequestId = params['RequestId']
|
2346
|
+
end
|
2347
|
+
end
|
2348
|
+
|
2252
2349
|
# eks service info
|
2253
2350
|
class EksService < TencentCloud::Common::AbstractModel
|
2254
2351
|
# @param Name: service name
|
@@ -2355,6 +2452,55 @@ module TencentCloud
|
|
2355
2452
|
end
|
2356
2453
|
end
|
2357
2454
|
|
2455
|
+
# EnableApplicationAutoscaler请求参数结构体
|
2456
|
+
class EnableApplicationAutoscalerRequest < TencentCloud::Common::AbstractModel
|
2457
|
+
# @param ApplicationId: 服务id
|
2458
|
+
# @type ApplicationId: String
|
2459
|
+
# @param EnvironmentId: 环境ID
|
2460
|
+
# @type EnvironmentId: String
|
2461
|
+
# @param SourceChannel: 来源渠道
|
2462
|
+
# @type SourceChannel: Integer
|
2463
|
+
# @param AutoscalerId: 弹性伸缩策略ID
|
2464
|
+
# @type AutoscalerId: String
|
2465
|
+
|
2466
|
+
attr_accessor :ApplicationId, :EnvironmentId, :SourceChannel, :AutoscalerId
|
2467
|
+
|
2468
|
+
def initialize(applicationid=nil, environmentid=nil, sourcechannel=nil, autoscalerid=nil)
|
2469
|
+
@ApplicationId = applicationid
|
2470
|
+
@EnvironmentId = environmentid
|
2471
|
+
@SourceChannel = sourcechannel
|
2472
|
+
@AutoscalerId = autoscalerid
|
2473
|
+
end
|
2474
|
+
|
2475
|
+
def deserialize(params)
|
2476
|
+
@ApplicationId = params['ApplicationId']
|
2477
|
+
@EnvironmentId = params['EnvironmentId']
|
2478
|
+
@SourceChannel = params['SourceChannel']
|
2479
|
+
@AutoscalerId = params['AutoscalerId']
|
2480
|
+
end
|
2481
|
+
end
|
2482
|
+
|
2483
|
+
# EnableApplicationAutoscaler返回参数结构体
|
2484
|
+
class EnableApplicationAutoscalerResponse < TencentCloud::Common::AbstractModel
|
2485
|
+
# @param Result: 是否成功
|
2486
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2487
|
+
# @type Result: Boolean
|
2488
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2489
|
+
# @type RequestId: String
|
2490
|
+
|
2491
|
+
attr_accessor :Result, :RequestId
|
2492
|
+
|
2493
|
+
def initialize(result=nil, requestid=nil)
|
2494
|
+
@Result = result
|
2495
|
+
@RequestId = requestid
|
2496
|
+
end
|
2497
|
+
|
2498
|
+
def deserialize(params)
|
2499
|
+
@Result = params['Result']
|
2500
|
+
@RequestId = params['RequestId']
|
2501
|
+
end
|
2502
|
+
end
|
2503
|
+
|
2358
2504
|
# 开启prometheus监控配置
|
2359
2505
|
class EnablePrometheusConf < TencentCloud::Common::AbstractModel
|
2360
2506
|
# @param Port: 应用开放的监听端口
|
@@ -3254,6 +3400,61 @@ module TencentCloud
|
|
3254
3400
|
end
|
3255
3401
|
end
|
3256
3402
|
|
3403
|
+
# Namespace 基础信息
|
3404
|
+
class NamespaceInfo < TencentCloud::Common::AbstractModel
|
3405
|
+
# @param EnvironmentId: ID 信息
|
3406
|
+
# @type EnvironmentId: String
|
3407
|
+
# @param NamespaceName: 名字(已弃用)
|
3408
|
+
# @type NamespaceName: String
|
3409
|
+
# @param Region: 地域
|
3410
|
+
# @type Region: String
|
3411
|
+
# @param VpcId: vpc id
|
3412
|
+
# @type VpcId: String
|
3413
|
+
# @param SubnetIds: subnet id 数组
|
3414
|
+
# @type SubnetIds: Array
|
3415
|
+
# @param Description: 描述
|
3416
|
+
# @type Description: String
|
3417
|
+
# @param CreatedDate: 创建时间
|
3418
|
+
# @type CreatedDate: String
|
3419
|
+
# @param EnvironmentName: 环境名称
|
3420
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3421
|
+
# @type EnvironmentName: String
|
3422
|
+
# @param ApmInstanceId: APM 资源 ID
|
3423
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3424
|
+
# @type ApmInstanceId: String
|
3425
|
+
# @param Locked: 环境是否上锁,1为上锁,0则未上锁
|
3426
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3427
|
+
# @type Locked: Integer
|
3428
|
+
|
3429
|
+
attr_accessor :EnvironmentId, :NamespaceName, :Region, :VpcId, :SubnetIds, :Description, :CreatedDate, :EnvironmentName, :ApmInstanceId, :Locked
|
3430
|
+
|
3431
|
+
def initialize(environmentid=nil, namespacename=nil, region=nil, vpcid=nil, subnetids=nil, description=nil, createddate=nil, environmentname=nil, apminstanceid=nil, locked=nil)
|
3432
|
+
@EnvironmentId = environmentid
|
3433
|
+
@NamespaceName = namespacename
|
3434
|
+
@Region = region
|
3435
|
+
@VpcId = vpcid
|
3436
|
+
@SubnetIds = subnetids
|
3437
|
+
@Description = description
|
3438
|
+
@CreatedDate = createddate
|
3439
|
+
@EnvironmentName = environmentname
|
3440
|
+
@ApmInstanceId = apminstanceid
|
3441
|
+
@Locked = locked
|
3442
|
+
end
|
3443
|
+
|
3444
|
+
def deserialize(params)
|
3445
|
+
@EnvironmentId = params['EnvironmentId']
|
3446
|
+
@NamespaceName = params['NamespaceName']
|
3447
|
+
@Region = params['Region']
|
3448
|
+
@VpcId = params['VpcId']
|
3449
|
+
@SubnetIds = params['SubnetIds']
|
3450
|
+
@Description = params['Description']
|
3451
|
+
@CreatedDate = params['CreatedDate']
|
3452
|
+
@EnvironmentName = params['EnvironmentName']
|
3453
|
+
@ApmInstanceId = params['ApmInstanceId']
|
3454
|
+
@Locked = params['Locked']
|
3455
|
+
end
|
3456
|
+
end
|
3457
|
+
|
3257
3458
|
# 命名空间分页
|
3258
3459
|
class NamespacePage < TencentCloud::Common::AbstractModel
|
3259
3460
|
# @param Records: 分页内容
|
@@ -4373,7 +4574,7 @@ module TencentCloud
|
|
4373
4574
|
# @param VersionId: 主键
|
4374
4575
|
# @type VersionId: String
|
4375
4576
|
# @param ApplicationId: 服务id
|
4376
|
-
# @type ApplicationId:
|
4577
|
+
# @type ApplicationId: String
|
4377
4578
|
# @param DeployMode: 部署方式
|
4378
4579
|
# @type DeployMode: String
|
4379
4580
|
# @param JdkVersion: jdk版本
|
@@ -4399,6 +4600,7 @@ module TencentCloud
|
|
4399
4600
|
# @param ImgVersion: 镜像版本
|
4400
4601
|
# @type ImgVersion: String
|
4401
4602
|
# @param EsInfo: 弹性配置
|
4603
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4402
4604
|
# @type EsInfo: :class:`Tencentcloud::Tem.v20210701.models.EsInfo`
|
4403
4605
|
# @param EnvConf: 环境配置
|
4404
4606
|
# @type EnvConf: Array
|
@@ -4467,7 +4669,7 @@ module TencentCloud
|
|
4467
4669
|
# @type LogEnable: Integer
|
4468
4670
|
# @param MinAliveInstances: 最小实例数
|
4469
4671
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4470
|
-
# @type MinAliveInstances:
|
4672
|
+
# @type MinAliveInstances: String
|
4471
4673
|
# @param SecurityGroupIds: 安全组
|
4472
4674
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4473
4675
|
# @type SecurityGroupIds: Array
|
@@ -4525,7 +4727,7 @@ module TencentCloud
|
|
4525
4727
|
# @param EnableTracing: 是否启用调用链组件
|
4526
4728
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4527
4729
|
# @type EnableTracing: Integer
|
4528
|
-
# @param EnableTracingReport: 是否开启调用链上报,只有 EnableTracing=1
|
4730
|
+
# @param EnableTracingReport: 是否开启调用链上报,只有 EnableTracing=1 时生效(参数已弃用)
|
4529
4731
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4530
4732
|
# @type EnableTracingReport: Integer
|
4531
4733
|
# @param RepoType: 镜像类型:0-个人镜像、1-企业镜像、2-公有镜像
|
@@ -4557,7 +4759,7 @@ module TencentCloud
|
|
4557
4759
|
# @param UnderDeploying: 是否正在发布中
|
4558
4760
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4559
4761
|
# @type UnderDeploying: Boolean
|
4560
|
-
# @param EnablePrometheusConf:
|
4762
|
+
# @param EnablePrometheusConf: 监控业务指标监控
|
4561
4763
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4562
4764
|
# @type EnablePrometheusConf: :class:`Tencentcloud::Tem.v20210701.models.EnablePrometheusConf`
|
4563
4765
|
# @param StoppedManually: 是否为手动停止
|
@@ -4566,10 +4768,14 @@ module TencentCloud
|
|
4566
4768
|
# @param TcrInstanceId: tcr实例ID
|
4567
4769
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4568
4770
|
# @type TcrInstanceId: String
|
4771
|
+
# @param EnableMetrics: 1:开始自动metrics采集(open-telemetry);
|
4772
|
+
# 0:关闭metrics采集;
|
4773
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4774
|
+
# @type EnableMetrics: Integer
|
4569
4775
|
|
4570
|
-
attr_accessor :VersionId, :ApplicationId, :DeployMode, :JdkVersion, :Description, :DeployVersion, :PublishMode, :JvmOpts, :InitPodNum, :CpuSpec, :MemorySpec, :ImgRepo, :ImgName, :ImgVersion, :EsInfo, :EnvConf, :StorageConfs, :Status, :Vpc, :SubnetId, :CreateDate, :ModifyDate, :StorageMountConfs, :VersionName, :LogOutputConf, :ApplicationName, :ApplicationDescription, :EnvironmentName, :EnvironmentId, :PublicDomain, :EnablePublicAccess, :CurrentInstances, :ExpectedInstances, :CodingLanguage, :PkgName, :EsEnable, :EsStrategy, :ImageTag, :LogEnable, :MinAliveInstances, :SecurityGroupIds, :ImageCommand, :ImageArgs, :UseRegistryDefaultConfig, :Service, :SettingConfs, :LogConfs, :PostStart, :PreStop, :Liveness, :Readiness, :HorizontalAutoscaler, :CronHorizontalAutoscaler, :Zones, :LastDeployDate, :LastDeploySuccessDate, :NodeInfos, :ImageType, :EnableTracing, :EnableTracingReport, :RepoType, :BatchDeployStatus, :ApmInstanceId, :WorkloadInfo, :SpeedUp, :StartupProbe, :OsFlavour, :RepoServer, :UnderDeploying, :EnablePrometheusConf, :StoppedManually, :TcrInstanceId
|
4776
|
+
attr_accessor :VersionId, :ApplicationId, :DeployMode, :JdkVersion, :Description, :DeployVersion, :PublishMode, :JvmOpts, :InitPodNum, :CpuSpec, :MemorySpec, :ImgRepo, :ImgName, :ImgVersion, :EsInfo, :EnvConf, :StorageConfs, :Status, :Vpc, :SubnetId, :CreateDate, :ModifyDate, :StorageMountConfs, :VersionName, :LogOutputConf, :ApplicationName, :ApplicationDescription, :EnvironmentName, :EnvironmentId, :PublicDomain, :EnablePublicAccess, :CurrentInstances, :ExpectedInstances, :CodingLanguage, :PkgName, :EsEnable, :EsStrategy, :ImageTag, :LogEnable, :MinAliveInstances, :SecurityGroupIds, :ImageCommand, :ImageArgs, :UseRegistryDefaultConfig, :Service, :SettingConfs, :LogConfs, :PostStart, :PreStop, :Liveness, :Readiness, :HorizontalAutoscaler, :CronHorizontalAutoscaler, :Zones, :LastDeployDate, :LastDeploySuccessDate, :NodeInfos, :ImageType, :EnableTracing, :EnableTracingReport, :RepoType, :BatchDeployStatus, :ApmInstanceId, :WorkloadInfo, :SpeedUp, :StartupProbe, :OsFlavour, :RepoServer, :UnderDeploying, :EnablePrometheusConf, :StoppedManually, :TcrInstanceId, :EnableMetrics
|
4571
4777
|
|
4572
|
-
def initialize(versionid=nil, applicationid=nil, deploymode=nil, jdkversion=nil, description=nil, deployversion=nil, publishmode=nil, jvmopts=nil, initpodnum=nil, cpuspec=nil, memoryspec=nil, imgrepo=nil, imgname=nil, imgversion=nil, esinfo=nil, envconf=nil, storageconfs=nil, status=nil, vpc=nil, subnetid=nil, createdate=nil, modifydate=nil, storagemountconfs=nil, versionname=nil, logoutputconf=nil, applicationname=nil, applicationdescription=nil, environmentname=nil, environmentid=nil, publicdomain=nil, enablepublicaccess=nil, currentinstances=nil, expectedinstances=nil, codinglanguage=nil, pkgname=nil, esenable=nil, esstrategy=nil, imagetag=nil, logenable=nil, minaliveinstances=nil, securitygroupids=nil, imagecommand=nil, imageargs=nil, useregistrydefaultconfig=nil, service=nil, settingconfs=nil, logconfs=nil, poststart=nil, prestop=nil, liveness=nil, readiness=nil, horizontalautoscaler=nil, cronhorizontalautoscaler=nil, zones=nil, lastdeploydate=nil, lastdeploysuccessdate=nil, nodeinfos=nil, imagetype=nil, enabletracing=nil, enabletracingreport=nil, repotype=nil, batchdeploystatus=nil, apminstanceid=nil, workloadinfo=nil, speedup=nil, startupprobe=nil, osflavour=nil, reposerver=nil, underdeploying=nil, enableprometheusconf=nil, stoppedmanually=nil, tcrinstanceid=nil)
|
4778
|
+
def initialize(versionid=nil, applicationid=nil, deploymode=nil, jdkversion=nil, description=nil, deployversion=nil, publishmode=nil, jvmopts=nil, initpodnum=nil, cpuspec=nil, memoryspec=nil, imgrepo=nil, imgname=nil, imgversion=nil, esinfo=nil, envconf=nil, storageconfs=nil, status=nil, vpc=nil, subnetid=nil, createdate=nil, modifydate=nil, storagemountconfs=nil, versionname=nil, logoutputconf=nil, applicationname=nil, applicationdescription=nil, environmentname=nil, environmentid=nil, publicdomain=nil, enablepublicaccess=nil, currentinstances=nil, expectedinstances=nil, codinglanguage=nil, pkgname=nil, esenable=nil, esstrategy=nil, imagetag=nil, logenable=nil, minaliveinstances=nil, securitygroupids=nil, imagecommand=nil, imageargs=nil, useregistrydefaultconfig=nil, service=nil, settingconfs=nil, logconfs=nil, poststart=nil, prestop=nil, liveness=nil, readiness=nil, horizontalautoscaler=nil, cronhorizontalautoscaler=nil, zones=nil, lastdeploydate=nil, lastdeploysuccessdate=nil, nodeinfos=nil, imagetype=nil, enabletracing=nil, enabletracingreport=nil, repotype=nil, batchdeploystatus=nil, apminstanceid=nil, workloadinfo=nil, speedup=nil, startupprobe=nil, osflavour=nil, reposerver=nil, underdeploying=nil, enableprometheusconf=nil, stoppedmanually=nil, tcrinstanceid=nil, enablemetrics=nil)
|
4573
4779
|
@VersionId = versionid
|
4574
4780
|
@ApplicationId = applicationid
|
4575
4781
|
@DeployMode = deploymode
|
@@ -4642,6 +4848,7 @@ module TencentCloud
|
|
4642
4848
|
@EnablePrometheusConf = enableprometheusconf
|
4643
4849
|
@StoppedManually = stoppedmanually
|
4644
4850
|
@TcrInstanceId = tcrinstanceid
|
4851
|
+
@EnableMetrics = enablemetrics
|
4645
4852
|
end
|
4646
4853
|
|
4647
4854
|
def deserialize(params)
|
@@ -4790,6 +4997,7 @@ module TencentCloud
|
|
4790
4997
|
end
|
4791
4998
|
@StoppedManually = params['StoppedManually']
|
4792
4999
|
@TcrInstanceId = params['TcrInstanceId']
|
5000
|
+
@EnableMetrics = params['EnableMetrics']
|
4793
5001
|
end
|
4794
5002
|
end
|
4795
5003
|
|
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.386
|
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-08-
|
11
|
+
date: 2022-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|