tencentcloud-sdk-tcm 1.0.327 → 1.0.328
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/v20210413/models.rb +60 -4
- 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: d7bfcd9e1b7585ede5ff5546d90e34d3aca096e3
|
4
|
+
data.tar.gz: 9c5891c0872fc15088f5f9941a7d2b66365fcacc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa85c12c262f081e32a2798f6cb3425c65d7ba3a2f16a630c2a9d2ae081b14a8052eac14584eb1d30d6fabfe17c943d198b832036fb1629b0f5178c621ec8208
|
7
|
+
data.tar.gz: 3b75732e172bb98ec97b5191061e805d153b03c872dc32a28fef8ecb5acb91619be59ebf606788e74cd7d38ff3cf1019dc408644eb0412dfe2dd0d18fbc94d57
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.328
|
data/lib/v20210413/models.rb
CHANGED
@@ -57,16 +57,25 @@ module TencentCloud
|
|
57
57
|
# @type Encoding: String
|
58
58
|
# @param Format: 日志格式
|
59
59
|
# @type Format: String
|
60
|
+
# @param Address: GRPC第三方服务器地址
|
61
|
+
# @type Address: String
|
62
|
+
# @param EnableServer: 是否启用GRPC第三方服务器
|
63
|
+
# @type EnableServer: Boolean
|
64
|
+
# @param EnableStdout: 是否启用标准输出
|
65
|
+
# @type EnableStdout: Boolean
|
60
66
|
|
61
|
-
attr_accessor :Enable, :Template, :SelectedRange, :CLS, :Encoding, :Format
|
67
|
+
attr_accessor :Enable, :Template, :SelectedRange, :CLS, :Encoding, :Format, :Address, :EnableServer, :EnableStdout
|
62
68
|
|
63
|
-
def initialize(enable=nil, template=nil, selectedrange=nil, cls=nil, encoding=nil, format=nil)
|
69
|
+
def initialize(enable=nil, template=nil, selectedrange=nil, cls=nil, encoding=nil, format=nil, address=nil, enableserver=nil, enablestdout=nil)
|
64
70
|
@Enable = enable
|
65
71
|
@Template = template
|
66
72
|
@SelectedRange = selectedrange
|
67
73
|
@CLS = cls
|
68
74
|
@Encoding = encoding
|
69
75
|
@Format = format
|
76
|
+
@Address = address
|
77
|
+
@EnableServer = enableserver
|
78
|
+
@EnableStdout = enablestdout
|
70
79
|
end
|
71
80
|
|
72
81
|
def deserialize(params)
|
@@ -82,6 +91,9 @@ module TencentCloud
|
|
82
91
|
end
|
83
92
|
@Encoding = params['Encoding']
|
84
93
|
@Format = params['Format']
|
94
|
+
@Address = params['Address']
|
95
|
+
@EnableServer = params['EnableServer']
|
96
|
+
@EnableStdout = params['EnableStdout']
|
85
97
|
end
|
86
98
|
end
|
87
99
|
|
@@ -310,6 +322,42 @@ module TencentCloud
|
|
310
322
|
end
|
311
323
|
end
|
312
324
|
|
325
|
+
# 第三方 Prometheus 配置参数
|
326
|
+
class CustomPromConfig < TencentCloud::Common::AbstractModel
|
327
|
+
# @param Url: Prometheus 访问地址
|
328
|
+
# @type Url: String
|
329
|
+
# @param AuthType: 认证方式
|
330
|
+
# @type AuthType: String
|
331
|
+
# @param IsPublicAddr: 是否公网地址,缺省为 false
|
332
|
+
# @type IsPublicAddr: Boolean
|
333
|
+
# @param VpcId: 虚拟网络id
|
334
|
+
# @type VpcId: String
|
335
|
+
# @param Username: Prometheus 用户名(用于 basic 认证方式)
|
336
|
+
# @type Username: String
|
337
|
+
# @param Password: Prometheus 密码(用于 basic 认证方式)
|
338
|
+
# @type Password: String
|
339
|
+
|
340
|
+
attr_accessor :Url, :AuthType, :IsPublicAddr, :VpcId, :Username, :Password
|
341
|
+
|
342
|
+
def initialize(url=nil, authtype=nil, ispublicaddr=nil, vpcid=nil, username=nil, password=nil)
|
343
|
+
@Url = url
|
344
|
+
@AuthType = authtype
|
345
|
+
@IsPublicAddr = ispublicaddr
|
346
|
+
@VpcId = vpcid
|
347
|
+
@Username = username
|
348
|
+
@Password = password
|
349
|
+
end
|
350
|
+
|
351
|
+
def deserialize(params)
|
352
|
+
@Url = params['Url']
|
353
|
+
@AuthType = params['AuthType']
|
354
|
+
@IsPublicAddr = params['IsPublicAddr']
|
355
|
+
@VpcId = params['VpcId']
|
356
|
+
@Username = params['Username']
|
357
|
+
@Password = params['Password']
|
358
|
+
end
|
359
|
+
end
|
360
|
+
|
313
361
|
# 部署配置
|
314
362
|
class DeployConfig < TencentCloud::Common::AbstractModel
|
315
363
|
# @param NodeSelectType: 部署类型,取值范围:
|
@@ -1010,14 +1058,18 @@ module TencentCloud
|
|
1010
1058
|
# @type Region: String
|
1011
1059
|
# @param InstanceId: 关联已存在实例Id,不填则默认创建
|
1012
1060
|
# @type InstanceId: String
|
1061
|
+
# @param CustomProm: 第三方 Prometheus
|
1062
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1063
|
+
# @type CustomProm: :class:`Tencentcloud::Tcm.v20210413.models.CustomPromConfig`
|
1013
1064
|
|
1014
|
-
attr_accessor :VpcId, :SubnetId, :Region, :InstanceId
|
1065
|
+
attr_accessor :VpcId, :SubnetId, :Region, :InstanceId, :CustomProm
|
1015
1066
|
|
1016
|
-
def initialize(vpcid=nil, subnetid=nil, region=nil, instanceid=nil)
|
1067
|
+
def initialize(vpcid=nil, subnetid=nil, region=nil, instanceid=nil, customprom=nil)
|
1017
1068
|
@VpcId = vpcid
|
1018
1069
|
@SubnetId = subnetid
|
1019
1070
|
@Region = region
|
1020
1071
|
@InstanceId = instanceid
|
1072
|
+
@CustomProm = customprom
|
1021
1073
|
end
|
1022
1074
|
|
1023
1075
|
def deserialize(params)
|
@@ -1025,6 +1077,10 @@ module TencentCloud
|
|
1025
1077
|
@SubnetId = params['SubnetId']
|
1026
1078
|
@Region = params['Region']
|
1027
1079
|
@InstanceId = params['InstanceId']
|
1080
|
+
unless params['CustomProm'].nil?
|
1081
|
+
@CustomProm = CustomPromConfig.new
|
1082
|
+
@CustomProm.deserialize(params['CustomProm'])
|
1083
|
+
end
|
1028
1084
|
end
|
1029
1085
|
end
|
1030
1086
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tcm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.328
|
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-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|