tencentcloud-sdk-tem 1.0.287 → 1.0.288
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/models.rb +63 -12
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d72eae1d2709719334e45faa0ea387f2915340ce
|
4
|
+
data.tar.gz: b8ebed388ab0956dc37ac7ff1a2ad5093ee4298c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f322e4b9f7696e387993294409a178e982fefa72df5349a8a0033a5fe58ee6f233d7d21aa6d9d9703ec3350334012fdfe1c48728c887e3ad831e67b88014394
|
7
|
+
data.tar.gz: f938681ba3971ad7b8072e5658a104255fadbc8ed714811596dff4bf2e1fd5afa16aabd21a03edfb55bceb6d7e1aca1c880bda3e88730ffe18dc505c5b469cf5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.288
|
data/lib/v20210701/models.rb
CHANGED
@@ -94,7 +94,7 @@ module TencentCloud
|
|
94
94
|
# - JAR
|
95
95
|
# - WAR
|
96
96
|
# @type DeployMode: String
|
97
|
-
# @param EnableTracing:
|
97
|
+
# @param EnableTracing: 是否开启 Java 应用的 APM 自动上报功能,1 表示启用;0 表示关闭
|
98
98
|
# @type EnableTracing: Integer
|
99
99
|
|
100
100
|
attr_accessor :ApplicationName, :Description, :UseDefaultImageService, :RepoType, :InstanceId, :RepoServer, :RepoName, :SourceChannel, :SubnetList, :CodingLanguage, :DeployMode, :EnableTracing
|
@@ -277,14 +277,20 @@ module TencentCloud
|
|
277
277
|
# @type ResourceId: String
|
278
278
|
# @param SourceChannel: 来源渠道
|
279
279
|
# @type SourceChannel: Integer
|
280
|
+
# @param ResourceFrom: 资源来源,目前支持:existing,已有资源;creating,自动创建
|
281
|
+
# @type ResourceFrom: String
|
282
|
+
# @param ResourceConfig: 设置 resource 的额外配置
|
283
|
+
# @type ResourceConfig: String
|
280
284
|
|
281
|
-
attr_accessor :EnvironmentId, :ResourceType, :ResourceId, :SourceChannel
|
285
|
+
attr_accessor :EnvironmentId, :ResourceType, :ResourceId, :SourceChannel, :ResourceFrom, :ResourceConfig
|
282
286
|
|
283
|
-
def initialize(environmentid=nil, resourcetype=nil, resourceid=nil, sourcechannel=nil)
|
287
|
+
def initialize(environmentid=nil, resourcetype=nil, resourceid=nil, sourcechannel=nil, resourcefrom=nil, resourceconfig=nil)
|
284
288
|
@EnvironmentId = environmentid
|
285
289
|
@ResourceType = resourcetype
|
286
290
|
@ResourceId = resourceid
|
287
291
|
@SourceChannel = sourcechannel
|
292
|
+
@ResourceFrom = resourcefrom
|
293
|
+
@ResourceConfig = resourceconfig
|
288
294
|
end
|
289
295
|
|
290
296
|
def deserialize(params)
|
@@ -292,6 +298,8 @@ module TencentCloud
|
|
292
298
|
@ResourceType = params['ResourceType']
|
293
299
|
@ResourceId = params['ResourceId']
|
294
300
|
@SourceChannel = params['SourceChannel']
|
301
|
+
@ResourceFrom = params['ResourceFrom']
|
302
|
+
@ResourceConfig = params['ResourceConfig']
|
295
303
|
end
|
296
304
|
end
|
297
305
|
|
@@ -573,10 +581,12 @@ module TencentCloud
|
|
573
581
|
# - ALPINE
|
574
582
|
# - TENCENTOS
|
575
583
|
# @type OsFlavour: String
|
584
|
+
# @param EnablePrometheusConf: 是否开启prometheus 业务指标监控
|
585
|
+
# @type EnablePrometheusConf: :class:`Tencentcloud::Tem.v20210701.models.EnablePrometheusConf`
|
576
586
|
|
577
|
-
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
|
587
|
+
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
|
578
588
|
|
579
|
-
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)
|
589
|
+
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)
|
580
590
|
@ApplicationId = applicationid
|
581
591
|
@InitPodNum = initpodnum
|
582
592
|
@CpuSpec = cpuspec
|
@@ -616,6 +626,7 @@ module TencentCloud
|
|
616
626
|
@SpeedUp = speedup
|
617
627
|
@StartupProbe = startupprobe
|
618
628
|
@OsFlavour = osflavour
|
629
|
+
@EnablePrometheusConf = enableprometheusconf
|
619
630
|
end
|
620
631
|
|
621
632
|
def deserialize(params)
|
@@ -721,6 +732,10 @@ module TencentCloud
|
|
721
732
|
@StartupProbe.deserialize(params['StartupProbe'])
|
722
733
|
end
|
723
734
|
@OsFlavour = params['OsFlavour']
|
735
|
+
unless params['EnablePrometheusConf'].nil?
|
736
|
+
@EnablePrometheusConf = EnablePrometheusConf.new
|
737
|
+
@EnablePrometheusConf.deserialize(params['EnablePrometheusConf'])
|
738
|
+
end
|
724
739
|
end
|
725
740
|
end
|
726
741
|
|
@@ -864,7 +879,7 @@ module TencentCloud
|
|
864
879
|
# @type TotalBatchCount: Integer
|
865
880
|
# @param BetaBatchNum: beta分批实例数
|
866
881
|
# @type BetaBatchNum: Integer
|
867
|
-
# @param DeployStrategyType: 分批策略:0-全自动,1-全手动,2-beta分批,beta
|
882
|
+
# @param DeployStrategyType: 分批策略:0-全自动,1-全手动,2-beta分批,beta批一定是手动的,3-首次发布
|
868
883
|
# @type DeployStrategyType: Integer
|
869
884
|
# @param BatchInterval: 每批暂停间隔
|
870
885
|
# @type BatchInterval: Integer
|
@@ -1330,6 +1345,26 @@ module TencentCloud
|
|
1330
1345
|
end
|
1331
1346
|
end
|
1332
1347
|
|
1348
|
+
# 开启prometheus监控配置
|
1349
|
+
class EnablePrometheusConf < TencentCloud::Common::AbstractModel
|
1350
|
+
# @param Port: 应用开放的监听端口
|
1351
|
+
# @type Port: Integer
|
1352
|
+
# @param Path: 业务指标暴露的url path
|
1353
|
+
# @type Path: String
|
1354
|
+
|
1355
|
+
attr_accessor :Port, :Path
|
1356
|
+
|
1357
|
+
def initialize(port=nil, path=nil)
|
1358
|
+
@Port = port
|
1359
|
+
@Path = path
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
def deserialize(params)
|
1363
|
+
@Port = params['Port']
|
1364
|
+
@Path = params['Path']
|
1365
|
+
end
|
1366
|
+
end
|
1367
|
+
|
1333
1368
|
# 弹性伸缩配置
|
1334
1369
|
class EsInfo < TencentCloud::Common::AbstractModel
|
1335
1370
|
# @param MinAliveInstances: 最小实例数
|
@@ -1513,10 +1548,15 @@ module TencentCloud
|
|
1513
1548
|
# @type CreateTime: String
|
1514
1549
|
# @param Mixed: 是否混合 https,默认 false,可选值 true 代表有 https 协议监听
|
1515
1550
|
# @type Mixed: Boolean
|
1551
|
+
# @param RewriteType: 重定向模式,可选值:
|
1552
|
+
# - AUTO(自动重定向http到https)
|
1553
|
+
# - NONE(不使用重定向)
|
1554
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1555
|
+
# @type RewriteType: String
|
1516
1556
|
|
1517
|
-
attr_accessor :EnvironmentId, :ClusterNamespace, :AddressIPVersion, :IngressName, :Rules, :ClbId, :Tls, :ClusterId, :Vip, :CreateTime, :Mixed
|
1557
|
+
attr_accessor :EnvironmentId, :ClusterNamespace, :AddressIPVersion, :IngressName, :Rules, :ClbId, :Tls, :ClusterId, :Vip, :CreateTime, :Mixed, :RewriteType
|
1518
1558
|
|
1519
|
-
def initialize(environmentid=nil, clusternamespace=nil, addressipversion=nil, ingressname=nil, rules=nil, clbid=nil, tls=nil, clusterid=nil, vip=nil, createtime=nil, mixed=nil)
|
1559
|
+
def initialize(environmentid=nil, clusternamespace=nil, addressipversion=nil, ingressname=nil, rules=nil, clbid=nil, tls=nil, clusterid=nil, vip=nil, createtime=nil, mixed=nil, rewritetype=nil)
|
1520
1560
|
@EnvironmentId = environmentid
|
1521
1561
|
@ClusterNamespace = clusternamespace
|
1522
1562
|
@AddressIPVersion = addressipversion
|
@@ -1528,6 +1568,7 @@ module TencentCloud
|
|
1528
1568
|
@Vip = vip
|
1529
1569
|
@CreateTime = createtime
|
1530
1570
|
@Mixed = mixed
|
1571
|
+
@RewriteType = rewritetype
|
1531
1572
|
end
|
1532
1573
|
|
1533
1574
|
def deserialize(params)
|
@@ -1556,6 +1597,7 @@ module TencentCloud
|
|
1556
1597
|
@Vip = params['Vip']
|
1557
1598
|
@CreateTime = params['CreateTime']
|
1558
1599
|
@Mixed = params['Mixed']
|
1600
|
+
@RewriteType = params['RewriteType']
|
1559
1601
|
end
|
1560
1602
|
end
|
1561
1603
|
|
@@ -1911,13 +1953,16 @@ module TencentCloud
|
|
1911
1953
|
# @type MountedPath: String
|
1912
1954
|
# @param Data: 配置内容
|
1913
1955
|
# @type Data: Array
|
1956
|
+
# @param SecretDataName: 加密配置名称
|
1957
|
+
# @type SecretDataName: String
|
1914
1958
|
|
1915
|
-
attr_accessor :ConfigDataName, :MountedPath, :Data
|
1959
|
+
attr_accessor :ConfigDataName, :MountedPath, :Data, :SecretDataName
|
1916
1960
|
|
1917
|
-
def initialize(configdataname=nil, mountedpath=nil, data=nil)
|
1961
|
+
def initialize(configdataname=nil, mountedpath=nil, data=nil, secretdataname=nil)
|
1918
1962
|
@ConfigDataName = configdataname
|
1919
1963
|
@MountedPath = mountedpath
|
1920
1964
|
@Data = data
|
1965
|
+
@SecretDataName = secretdataname
|
1921
1966
|
end
|
1922
1967
|
|
1923
1968
|
def deserialize(params)
|
@@ -1931,6 +1976,7 @@ module TencentCloud
|
|
1931
1976
|
@Data << pair_tmp
|
1932
1977
|
end
|
1933
1978
|
end
|
1979
|
+
@SecretDataName = params['SecretDataName']
|
1934
1980
|
end
|
1935
1981
|
end
|
1936
1982
|
|
@@ -1981,14 +2027,18 @@ module TencentCloud
|
|
1981
2027
|
# @param Config: 配置名称
|
1982
2028
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1983
2029
|
# @type Config: String
|
2030
|
+
# @param Secret: 加密配置名称
|
2031
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2032
|
+
# @type Secret: String
|
1984
2033
|
|
1985
|
-
attr_accessor :Key, :Value, :Type, :Config
|
2034
|
+
attr_accessor :Key, :Value, :Type, :Config, :Secret
|
1986
2035
|
|
1987
|
-
def initialize(key=nil, value=nil, type=nil, config=nil)
|
2036
|
+
def initialize(key=nil, value=nil, type=nil, config=nil, secret=nil)
|
1988
2037
|
@Key = key
|
1989
2038
|
@Value = value
|
1990
2039
|
@Type = type
|
1991
2040
|
@Config = config
|
2041
|
+
@Secret = secret
|
1992
2042
|
end
|
1993
2043
|
|
1994
2044
|
def deserialize(params)
|
@@ -1996,6 +2046,7 @@ module TencentCloud
|
|
1996
2046
|
@Value = params['Value']
|
1997
2047
|
@Type = params['Type']
|
1998
2048
|
@Config = params['Config']
|
2049
|
+
@Secret = params['Secret']
|
1999
2050
|
end
|
2000
2051
|
end
|
2001
2052
|
|