tencentcloud-sdk-tat 3.0.660 → 3.0.662
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/v20201028/models.rb +53 -11
- 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: 77cc788643c6c1d9e5720505060f2ac359b58c01
|
4
|
+
data.tar.gz: 767b16762dbaccfe98e54ba6c61de3e57b121b50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d04122e4fa42e565000b065df318ea8956c7e994582c8df741e93d5bbb48675386ee882a26c638f9de8c75c75191f9bd0fbb7a79318826315b936757ddcdf3a
|
7
|
+
data.tar.gz: c41f106cae0326aef86d7df04ba096e1ac95a77e90078a1dcfc5b6b5597f5cf0e79cf3aacfbeaa50730970a830f9b0110e10e484180433853abd685432043b26
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.662
|
data/lib/v20201028/models.rb
CHANGED
@@ -258,6 +258,10 @@ module TencentCloud
|
|
258
258
|
# 自定义参数最多20个。
|
259
259
|
# 自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
|
260
260
|
# @type DefaultParameters: String
|
261
|
+
# @param DefaultParameterConfs: 自定义参数数组。
|
262
|
+
# 如果InvokeCommand时未提供参数取值,将使用这里的默认值进行替换。
|
263
|
+
# 自定义参数最多20个。
|
264
|
+
# @type DefaultParameterConfs: Array
|
261
265
|
# @param Tags: 为命令关联的标签,列表长度不超过10。
|
262
266
|
# @type Tags: Array
|
263
267
|
# @param Username: 在 CVM 或 Lighthouse 实例中执行命令的用户名称。
|
@@ -271,9 +275,9 @@ module TencentCloud
|
|
271
275
|
# 3. 不允许连续 / ;不允许以 / 开头;不允许以..作为文件夹名称
|
272
276
|
# @type OutputCOSKeyPrefix: String
|
273
277
|
|
274
|
-
attr_accessor :CommandName, :Content, :Description, :CommandType, :WorkingDirectory, :Timeout, :EnableParameter, :DefaultParameters, :Tags, :Username, :OutputCOSBucketUrl, :OutputCOSKeyPrefix
|
278
|
+
attr_accessor :CommandName, :Content, :Description, :CommandType, :WorkingDirectory, :Timeout, :EnableParameter, :DefaultParameters, :DefaultParameterConfs, :Tags, :Username, :OutputCOSBucketUrl, :OutputCOSKeyPrefix
|
275
279
|
|
276
|
-
def initialize(commandname=nil, content=nil, description=nil, commandtype=nil, workingdirectory=nil, timeout=nil, enableparameter=nil, defaultparameters=nil, tags=nil, username=nil, outputcosbucketurl=nil, outputcoskeyprefix=nil)
|
280
|
+
def initialize(commandname=nil, content=nil, description=nil, commandtype=nil, workingdirectory=nil, timeout=nil, enableparameter=nil, defaultparameters=nil, defaultparameterconfs=nil, tags=nil, username=nil, outputcosbucketurl=nil, outputcoskeyprefix=nil)
|
277
281
|
@CommandName = commandname
|
278
282
|
@Content = content
|
279
283
|
@Description = description
|
@@ -282,6 +286,7 @@ module TencentCloud
|
|
282
286
|
@Timeout = timeout
|
283
287
|
@EnableParameter = enableparameter
|
284
288
|
@DefaultParameters = defaultparameters
|
289
|
+
@DefaultParameterConfs = defaultparameterconfs
|
285
290
|
@Tags = tags
|
286
291
|
@Username = username
|
287
292
|
@OutputCOSBucketUrl = outputcosbucketurl
|
@@ -297,6 +302,14 @@ module TencentCloud
|
|
297
302
|
@Timeout = params['Timeout']
|
298
303
|
@EnableParameter = params['EnableParameter']
|
299
304
|
@DefaultParameters = params['DefaultParameters']
|
305
|
+
unless params['DefaultParameterConfs'].nil?
|
306
|
+
@DefaultParameterConfs = []
|
307
|
+
params['DefaultParameterConfs'].each do |i|
|
308
|
+
defaultparameterconf_tmp = DefaultParameterConf.new
|
309
|
+
defaultparameterconf_tmp.deserialize(i)
|
310
|
+
@DefaultParameterConfs << defaultparameterconf_tmp
|
311
|
+
end
|
312
|
+
end
|
300
313
|
unless params['Tags'].nil?
|
301
314
|
@Tags = []
|
302
315
|
params['Tags'].each do |i|
|
@@ -1549,7 +1562,7 @@ module TencentCloud
|
|
1549
1562
|
class InvokeCommandRequest < TencentCloud::Common::AbstractModel
|
1550
1563
|
# @param CommandId: 待触发的命令ID。
|
1551
1564
|
# @type CommandId: String
|
1552
|
-
# @param InstanceIds: 待执行命令的实例ID列表,上限
|
1565
|
+
# @param InstanceIds: 待执行命令的实例ID列表,上限200。
|
1553
1566
|
# @type InstanceIds: Array
|
1554
1567
|
# @param Parameters: Command 的自定义参数。字段类型为json encoded string。如:{\"varA\": \"222\"}。
|
1555
1568
|
# key为自定义参数名称,value为该参数的默认取值。kv均为字符串型。
|
@@ -1732,6 +1745,10 @@ module TencentCloud
|
|
1732
1745
|
# 自定义参数最多20个。
|
1733
1746
|
# 自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
|
1734
1747
|
# @type DefaultParameters: String
|
1748
|
+
# @param DefaultParameterConfs: 自定义参数数组。
|
1749
|
+
# 如果InvokeCommand时未提供参数取值,将使用这里的默认值进行替换。
|
1750
|
+
# 自定义参数最多20个。
|
1751
|
+
# @type DefaultParameterConfs: Array
|
1735
1752
|
# @param Username: 在 CVM 或 Lighthouse 实例中执行命令的用户名称。
|
1736
1753
|
# 使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。
|
1737
1754
|
# @type Username: String
|
@@ -1743,9 +1760,9 @@ module TencentCloud
|
|
1743
1760
|
# 3. 不允许连续 / ;不允许以 / 开头;不允许以..作为文件夹名称。
|
1744
1761
|
# @type OutputCOSKeyPrefix: String
|
1745
1762
|
|
1746
|
-
attr_accessor :CommandId, :CommandName, :Description, :Content, :CommandType, :WorkingDirectory, :Timeout, :DefaultParameters, :Username, :OutputCOSBucketUrl, :OutputCOSKeyPrefix
|
1763
|
+
attr_accessor :CommandId, :CommandName, :Description, :Content, :CommandType, :WorkingDirectory, :Timeout, :DefaultParameters, :DefaultParameterConfs, :Username, :OutputCOSBucketUrl, :OutputCOSKeyPrefix
|
1747
1764
|
|
1748
|
-
def initialize(commandid=nil, commandname=nil, description=nil, content=nil, commandtype=nil, workingdirectory=nil, timeout=nil, defaultparameters=nil, username=nil, outputcosbucketurl=nil, outputcoskeyprefix=nil)
|
1765
|
+
def initialize(commandid=nil, commandname=nil, description=nil, content=nil, commandtype=nil, workingdirectory=nil, timeout=nil, defaultparameters=nil, defaultparameterconfs=nil, username=nil, outputcosbucketurl=nil, outputcoskeyprefix=nil)
|
1749
1766
|
@CommandId = commandid
|
1750
1767
|
@CommandName = commandname
|
1751
1768
|
@Description = description
|
@@ -1754,6 +1771,7 @@ module TencentCloud
|
|
1754
1771
|
@WorkingDirectory = workingdirectory
|
1755
1772
|
@Timeout = timeout
|
1756
1773
|
@DefaultParameters = defaultparameters
|
1774
|
+
@DefaultParameterConfs = defaultparameterconfs
|
1757
1775
|
@Username = username
|
1758
1776
|
@OutputCOSBucketUrl = outputcosbucketurl
|
1759
1777
|
@OutputCOSKeyPrefix = outputcoskeyprefix
|
@@ -1768,6 +1786,14 @@ module TencentCloud
|
|
1768
1786
|
@WorkingDirectory = params['WorkingDirectory']
|
1769
1787
|
@Timeout = params['Timeout']
|
1770
1788
|
@DefaultParameters = params['DefaultParameters']
|
1789
|
+
unless params['DefaultParameterConfs'].nil?
|
1790
|
+
@DefaultParameterConfs = []
|
1791
|
+
params['DefaultParameterConfs'].each do |i|
|
1792
|
+
defaultparameterconf_tmp = DefaultParameterConf.new
|
1793
|
+
defaultparameterconf_tmp.deserialize(i)
|
1794
|
+
@DefaultParameterConfs << defaultparameterconf_tmp
|
1795
|
+
end
|
1796
|
+
end
|
1771
1797
|
@Username = params['Username']
|
1772
1798
|
@OutputCOSBucketUrl = params['OutputCOSBucketUrl']
|
1773
1799
|
@OutputCOSKeyPrefix = params['OutputCOSKeyPrefix']
|
@@ -2102,7 +2128,7 @@ module TencentCloud
|
|
2102
2128
|
class RunCommandRequest < TencentCloud::Common::AbstractModel
|
2103
2129
|
# @param Content: Base64编码后的命令内容,长度不可超过64KB。
|
2104
2130
|
# @type Content: String
|
2105
|
-
# @param InstanceIds: 待执行命令的实例ID列表,上限
|
2131
|
+
# @param InstanceIds: 待执行命令的实例ID列表,上限200。支持实例类型:
|
2106
2132
|
# <li> CVM
|
2107
2133
|
# <li> LIGHTHOUSE
|
2108
2134
|
# @type InstanceIds: Array
|
@@ -2117,12 +2143,15 @@ module TencentCloud
|
|
2117
2143
|
# @param Timeout: 命令超时时间,默认60秒。取值范围[1, 86400]。
|
2118
2144
|
# @type Timeout: Integer
|
2119
2145
|
# @param SaveCommand: 是否保存命令,取值范围:
|
2120
|
-
# <li>
|
2121
|
-
# <li>
|
2122
|
-
# 默认为
|
2146
|
+
# <li> true:保存
|
2147
|
+
# <li> false:不保存
|
2148
|
+
# 默认为 false。
|
2123
2149
|
# @type SaveCommand: Boolean
|
2124
2150
|
# @param EnableParameter: 是否启用自定义参数功能。
|
2125
2151
|
# 一旦创建,此值不提供修改。
|
2152
|
+
# 取值范围:
|
2153
|
+
# <li> true:启用
|
2154
|
+
# <li> false:不启用
|
2126
2155
|
# 默认值:false。
|
2127
2156
|
# @type EnableParameter: Boolean
|
2128
2157
|
# @param DefaultParameters: 启用自定义参数功能时,自定义参数的默认取值。字段类型为json encoded string。如:{\"varA\": \"222\"}。
|
@@ -2131,6 +2160,8 @@ module TencentCloud
|
|
2131
2160
|
# 自定义参数最多20个。
|
2132
2161
|
# 自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
|
2133
2162
|
# @type DefaultParameters: String
|
2163
|
+
# @param DefaultParameterConfs: 自定义参数数组。 如果 Parameters 未提供,将使用这里的默认值进行替换。 自定义参数最多20个。
|
2164
|
+
# @type DefaultParameterConfs: Array
|
2134
2165
|
# @param Parameters: Command 的自定义参数。字段类型为json encoded string。如:{\"varA\": \"222\"}。
|
2135
2166
|
# key为自定义参数名称,value为该参数的默认取值。kv均为字符串型。
|
2136
2167
|
# 如果未提供该参数取值,将使用 DefaultParameters 进行替换。
|
@@ -2150,9 +2181,9 @@ module TencentCloud
|
|
2150
2181
|
# 3. 不允许连续 / ;不允许以 / 开头;不允许以..作为文件夹名称。
|
2151
2182
|
# @type OutputCOSKeyPrefix: String
|
2152
2183
|
|
2153
|
-
attr_accessor :Content, :InstanceIds, :CommandName, :Description, :CommandType, :WorkingDirectory, :Timeout, :SaveCommand, :EnableParameter, :DefaultParameters, :Parameters, :Tags, :Username, :OutputCOSBucketUrl, :OutputCOSKeyPrefix
|
2184
|
+
attr_accessor :Content, :InstanceIds, :CommandName, :Description, :CommandType, :WorkingDirectory, :Timeout, :SaveCommand, :EnableParameter, :DefaultParameters, :DefaultParameterConfs, :Parameters, :Tags, :Username, :OutputCOSBucketUrl, :OutputCOSKeyPrefix
|
2154
2185
|
|
2155
|
-
def initialize(content=nil, instanceids=nil, commandname=nil, description=nil, commandtype=nil, workingdirectory=nil, timeout=nil, savecommand=nil, enableparameter=nil, defaultparameters=nil, parameters=nil, tags=nil, username=nil, outputcosbucketurl=nil, outputcoskeyprefix=nil)
|
2186
|
+
def initialize(content=nil, instanceids=nil, commandname=nil, description=nil, commandtype=nil, workingdirectory=nil, timeout=nil, savecommand=nil, enableparameter=nil, defaultparameters=nil, defaultparameterconfs=nil, parameters=nil, tags=nil, username=nil, outputcosbucketurl=nil, outputcoskeyprefix=nil)
|
2156
2187
|
@Content = content
|
2157
2188
|
@InstanceIds = instanceids
|
2158
2189
|
@CommandName = commandname
|
@@ -2163,6 +2194,7 @@ module TencentCloud
|
|
2163
2194
|
@SaveCommand = savecommand
|
2164
2195
|
@EnableParameter = enableparameter
|
2165
2196
|
@DefaultParameters = defaultparameters
|
2197
|
+
@DefaultParameterConfs = defaultparameterconfs
|
2166
2198
|
@Parameters = parameters
|
2167
2199
|
@Tags = tags
|
2168
2200
|
@Username = username
|
@@ -2181,6 +2213,14 @@ module TencentCloud
|
|
2181
2213
|
@SaveCommand = params['SaveCommand']
|
2182
2214
|
@EnableParameter = params['EnableParameter']
|
2183
2215
|
@DefaultParameters = params['DefaultParameters']
|
2216
|
+
unless params['DefaultParameterConfs'].nil?
|
2217
|
+
@DefaultParameterConfs = []
|
2218
|
+
params['DefaultParameterConfs'].each do |i|
|
2219
|
+
defaultparameterconf_tmp = DefaultParameterConf.new
|
2220
|
+
defaultparameterconf_tmp.deserialize(i)
|
2221
|
+
@DefaultParameterConfs << defaultparameterconf_tmp
|
2222
|
+
end
|
2223
|
+
end
|
2184
2224
|
@Parameters = params['Parameters']
|
2185
2225
|
unless params['Tags'].nil?
|
2186
2226
|
@Tags = []
|
@@ -2273,8 +2313,10 @@ module TencentCloud
|
|
2273
2313
|
# @param Output: Base64编码后的命令输出。最大长度24KB。
|
2274
2314
|
# @type Output: String
|
2275
2315
|
# @param ExecStartTime: 命令执行开始时间。
|
2316
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2276
2317
|
# @type ExecStartTime: String
|
2277
2318
|
# @param ExecEndTime: 命令执行结束时间。
|
2319
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2278
2320
|
# @type ExecEndTime: String
|
2279
2321
|
# @param Dropped: 命令最终输出被截断的字节数。
|
2280
2322
|
# @type Dropped: Integer
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.662
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|