tencentcloud-sdk-tat 1.0.215 → 1.0.219
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 +48 -17
- 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: 3056cb46045a57882233ed4f0fd30120cc0ac48f
|
4
|
+
data.tar.gz: 14f8a82d3f80980617291063bf38a5c0f4337ca8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 681508c98905f7f91de7b67aad4722ef929efc1a98e938d385cb8a46cb78c8413d7bce60145571692fb54511b5c4513e8286aa00a34eb2a219c64c5d02362923
|
7
|
+
data.tar.gz: 0108f485fd431c8fd1ca5c63f8d8c712efb8e518e3f5ed1445d2f9e947c1e046179f22d1fd0911f344d4d4efcb91f1b8645944c4cb1a8bf785d490df420221e2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.219
|
data/lib/v20201028/models.rb
CHANGED
@@ -85,10 +85,14 @@ module TencentCloud
|
|
85
85
|
# @type Tags: Array
|
86
86
|
# @param Username: 在实例上执行命令的用户名。
|
87
87
|
# @type Username: String
|
88
|
+
# @param OutputCOSBucketUrl: 日志上传的cos bucket 地址。
|
89
|
+
# @type OutputCOSBucketUrl: String
|
90
|
+
# @param OutputCOSKeyPrefix: 日志在cos bucket中的目录。
|
91
|
+
# @type OutputCOSKeyPrefix: String
|
88
92
|
|
89
|
-
attr_accessor :CommandId, :CommandName, :Description, :Content, :CommandType, :WorkingDirectory, :Timeout, :CreatedTime, :UpdatedTime, :EnableParameter, :DefaultParameters, :FormattedDescription, :CreatedBy, :Tags, :Username
|
93
|
+
attr_accessor :CommandId, :CommandName, :Description, :Content, :CommandType, :WorkingDirectory, :Timeout, :CreatedTime, :UpdatedTime, :EnableParameter, :DefaultParameters, :FormattedDescription, :CreatedBy, :Tags, :Username, :OutputCOSBucketUrl, :OutputCOSKeyPrefix
|
90
94
|
|
91
|
-
def initialize(commandid=nil, commandname=nil, description=nil, content=nil, commandtype=nil, workingdirectory=nil, timeout=nil, createdtime=nil, updatedtime=nil, enableparameter=nil, defaultparameters=nil, formatteddescription=nil, createdby=nil, tags=nil, username=nil)
|
95
|
+
def initialize(commandid=nil, commandname=nil, description=nil, content=nil, commandtype=nil, workingdirectory=nil, timeout=nil, createdtime=nil, updatedtime=nil, enableparameter=nil, defaultparameters=nil, formatteddescription=nil, createdby=nil, tags=nil, username=nil, outputcosbucketurl=nil, outputcoskeyprefix=nil)
|
92
96
|
@CommandId = commandid
|
93
97
|
@CommandName = commandname
|
94
98
|
@Description = description
|
@@ -104,6 +108,8 @@ module TencentCloud
|
|
104
108
|
@CreatedBy = createdby
|
105
109
|
@Tags = tags
|
106
110
|
@Username = username
|
111
|
+
@OutputCOSBucketUrl = outputcosbucketurl
|
112
|
+
@OutputCOSKeyPrefix = outputcoskeyprefix
|
107
113
|
end
|
108
114
|
|
109
115
|
def deserialize(params)
|
@@ -129,6 +135,8 @@ module TencentCloud
|
|
129
135
|
end
|
130
136
|
end
|
131
137
|
@Username = params['Username']
|
138
|
+
@OutputCOSBucketUrl = params['OutputCOSBucketUrl']
|
139
|
+
@OutputCOSKeyPrefix = params['OutputCOSKeyPrefix']
|
132
140
|
end
|
133
141
|
end
|
134
142
|
|
@@ -172,9 +180,9 @@ module TencentCloud
|
|
172
180
|
# @type Content: String
|
173
181
|
# @param Description: 命令描述。不超过120字符。
|
174
182
|
# @type Description: String
|
175
|
-
# @param CommandType:
|
183
|
+
# @param CommandType: 命令类型,目前支持取值:SHELL、POWERSHELL。默认:SHELL。
|
176
184
|
# @type CommandType: String
|
177
|
-
# @param WorkingDirectory:
|
185
|
+
# @param WorkingDirectory: 命令执行路径,对于 SHELL 命令默认为 /root,对于 POWERSHELL 命令默认为 C:\Program Files\qcloud\tat_agent\workdir。
|
178
186
|
# @type WorkingDirectory: String
|
179
187
|
# @param Timeout: 命令超时时间,默认60秒。取值范围[1, 86400]。
|
180
188
|
# @type Timeout: Integer
|
@@ -191,7 +199,7 @@ module TencentCloud
|
|
191
199
|
# @param Tags: 为命令关联的标签,列表长度不超过10。
|
192
200
|
# @type Tags: Array
|
193
201
|
# @param Username: 在 CVM 或 Lighthouse 实例中执行命令的用户名称。
|
194
|
-
# 使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。默认情况下,在Linux实例中以root用户执行命令。
|
202
|
+
# 使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。默认情况下,在 Linux 实例中以 root 用户执行命令;Windows 实例当前仅支持以 System 用户执行命令。
|
195
203
|
# @type Username: String
|
196
204
|
# @param OutputCOSBucketUrl: 指定日志上传的cos bucket 地址,必须以https开头,如 https://BucketName-123454321.cos.ap-beijing.myqcloud.com。
|
197
205
|
# @type OutputCOSBucketUrl: String
|
@@ -975,10 +983,14 @@ module TencentCloud
|
|
975
983
|
# @type Timeout: Integer
|
976
984
|
# @param WorkingDirectory: 执行命令的工作路径
|
977
985
|
# @type WorkingDirectory: String
|
986
|
+
# @param OutputCOSBucketUrl: 日志上传的cos bucket 地址。
|
987
|
+
# @type OutputCOSBucketUrl: String
|
988
|
+
# @param OutputCOSKeyPrefix: 日志在cos bucket中的目录。
|
989
|
+
# @type OutputCOSKeyPrefix: String
|
978
990
|
|
979
|
-
attr_accessor :InvocationId, :CommandId, :InvocationStatus, :InvocationTaskBasicInfoSet, :Description, :StartTime, :EndTime, :CreatedTime, :UpdatedTime, :Parameters, :DefaultParameters, :InstanceKind, :Username, :InvocationSource, :CommandContent, :CommandType, :Timeout, :WorkingDirectory
|
991
|
+
attr_accessor :InvocationId, :CommandId, :InvocationStatus, :InvocationTaskBasicInfoSet, :Description, :StartTime, :EndTime, :CreatedTime, :UpdatedTime, :Parameters, :DefaultParameters, :InstanceKind, :Username, :InvocationSource, :CommandContent, :CommandType, :Timeout, :WorkingDirectory, :OutputCOSBucketUrl, :OutputCOSKeyPrefix
|
980
992
|
|
981
|
-
def initialize(invocationid=nil, commandid=nil, invocationstatus=nil, invocationtaskbasicinfoset=nil, description=nil, starttime=nil, endtime=nil, createdtime=nil, updatedtime=nil, parameters=nil, defaultparameters=nil, instancekind=nil, username=nil, invocationsource=nil, commandcontent=nil, commandtype=nil, timeout=nil, workingdirectory=nil)
|
993
|
+
def initialize(invocationid=nil, commandid=nil, invocationstatus=nil, invocationtaskbasicinfoset=nil, description=nil, starttime=nil, endtime=nil, createdtime=nil, updatedtime=nil, parameters=nil, defaultparameters=nil, instancekind=nil, username=nil, invocationsource=nil, commandcontent=nil, commandtype=nil, timeout=nil, workingdirectory=nil, outputcosbucketurl=nil, outputcoskeyprefix=nil)
|
982
994
|
@InvocationId = invocationid
|
983
995
|
@CommandId = commandid
|
984
996
|
@InvocationStatus = invocationstatus
|
@@ -997,6 +1009,8 @@ module TencentCloud
|
|
997
1009
|
@CommandType = commandtype
|
998
1010
|
@Timeout = timeout
|
999
1011
|
@WorkingDirectory = workingdirectory
|
1012
|
+
@OutputCOSBucketUrl = outputcosbucketurl
|
1013
|
+
@OutputCOSKeyPrefix = outputcoskeyprefix
|
1000
1014
|
end
|
1001
1015
|
|
1002
1016
|
def deserialize(params)
|
@@ -1025,6 +1039,8 @@ module TencentCloud
|
|
1025
1039
|
@CommandType = params['CommandType']
|
1026
1040
|
@Timeout = params['Timeout']
|
1027
1041
|
@WorkingDirectory = params['WorkingDirectory']
|
1042
|
+
@OutputCOSBucketUrl = params['OutputCOSBucketUrl']
|
1043
|
+
@OutputCOSKeyPrefix = params['OutputCOSKeyPrefix']
|
1028
1044
|
end
|
1029
1045
|
end
|
1030
1046
|
|
@@ -1047,6 +1063,9 @@ module TencentCloud
|
|
1047
1063
|
# <li> FAILED:命令执行失败,执行完退出码不为 0
|
1048
1064
|
# <li> TIMEOUT:命令超时
|
1049
1065
|
# <li> TASK_TIMEOUT:执行任务超时
|
1066
|
+
# <li> CANCELLING:取消中
|
1067
|
+
# <li> CANCELLED:已取消(命令启动前就被取消)
|
1068
|
+
# <li> TERMINATED:已中止(命令执行期间被取消)
|
1050
1069
|
# @type TaskStatus: String
|
1051
1070
|
# @param InstanceId: 实例ID。
|
1052
1071
|
# @type InstanceId: String
|
@@ -1117,11 +1136,15 @@ module TencentCloud
|
|
1117
1136
|
# <li> DELIVERING:下发中
|
1118
1137
|
# <li> DELIVER_DELAYED:延时下发
|
1119
1138
|
# <li> DELIVER_FAILED:下发失败
|
1139
|
+
# <li> START_FAILED:命令启动失败
|
1120
1140
|
# <li> RUNNING:命令运行中
|
1121
1141
|
# <li> SUCCESS:命令成功
|
1122
|
-
# <li> FAILED
|
1142
|
+
# <li> FAILED:命令执行失败,执行完退出码不为 0
|
1123
1143
|
# <li> TIMEOUT:命令超时
|
1124
1144
|
# <li> TASK_TIMEOUT:执行任务超时
|
1145
|
+
# <li> CANCELLING:取消中
|
1146
|
+
# <li> CANCELLED:已取消(命令启动前就被取消)
|
1147
|
+
# <li> TERMINATED:已中止(命令执行期间被取消)
|
1125
1148
|
# @type TaskStatus: String
|
1126
1149
|
# @param InstanceId: 实例ID。
|
1127
1150
|
# @type InstanceId: String
|
@@ -1315,11 +1338,11 @@ module TencentCloud
|
|
1315
1338
|
# @type Description: String
|
1316
1339
|
# @param Content: Base64编码后的命令内容,长度不可超过64KB。
|
1317
1340
|
# @type Content: String
|
1318
|
-
# @param CommandType:
|
1341
|
+
# @param CommandType: 命令类型,目前支持取值:SHELL、POWERSHELL。
|
1319
1342
|
# @type CommandType: String
|
1320
|
-
# @param WorkingDirectory:
|
1343
|
+
# @param WorkingDirectory: 命令执行路径。
|
1321
1344
|
# @type WorkingDirectory: String
|
1322
|
-
# @param Timeout:
|
1345
|
+
# @param Timeout: 命令超时时间。取值范围[1, 86400]。
|
1323
1346
|
# @type Timeout: Integer
|
1324
1347
|
# @param DefaultParameters: 启用自定义参数功能时,自定义参数的默认取值。字段类型为json encoded string。如:{\"varA\": \"222\"}。
|
1325
1348
|
# 采取整体全覆盖式修改,即修改时必须提供所有新默认值。
|
@@ -1329,7 +1352,7 @@ module TencentCloud
|
|
1329
1352
|
# 自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
|
1330
1353
|
# @type DefaultParameters: String
|
1331
1354
|
# @param Username: 在 CVM 或 Lighthouse 实例中执行命令的用户名称。
|
1332
|
-
#
|
1355
|
+
# 使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。Windows 实例当前仅支持以 System 用户执行命令。
|
1333
1356
|
# @type Username: String
|
1334
1357
|
# @param OutputCOSBucketUrl: 指定日志上传的cos bucket 地址,必须以https开头,如 https://BucketName-123454321.cos.ap-beijing.myqcloud.com。
|
1335
1358
|
# @type OutputCOSBucketUrl: String
|
@@ -1535,9 +1558,9 @@ module TencentCloud
|
|
1535
1558
|
# @type CommandName: String
|
1536
1559
|
# @param Description: 命令描述。不超过120字符。
|
1537
1560
|
# @type Description: String
|
1538
|
-
# @param CommandType:
|
1561
|
+
# @param CommandType: 命令类型,目前支持取值:SHELL、POWERSHELL。默认:SHELL。
|
1539
1562
|
# @type CommandType: String
|
1540
|
-
# @param WorkingDirectory:
|
1563
|
+
# @param WorkingDirectory: 命令执行路径,对于 SHELL 命令默认为 /root,对于 POWERSHELL 命令默认为 C:\Program Files\qcloud\tat_agent\workdir。
|
1541
1564
|
# @type WorkingDirectory: String
|
1542
1565
|
# @param Timeout: 命令超时时间,默认60秒。取值范围[1, 86400]。
|
1543
1566
|
# @type Timeout: Integer
|
@@ -1565,7 +1588,7 @@ module TencentCloud
|
|
1565
1588
|
# @param Tags: 如果保存命令,可为命令设置标签。列表长度不超过10。
|
1566
1589
|
# @type Tags: Array
|
1567
1590
|
# @param Username: 在 CVM 或 Lighthouse 实例中执行命令的用户名称。
|
1568
|
-
# 使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。默认情况下,在Linux实例中以root用户执行命令。
|
1591
|
+
# 使用最小权限执行命令是权限管理的最佳实践,建议您以普通用户身份执行云助手命令。默认情况下,在 Linux 实例中以 root 用户执行命令;Windows 实例当前仅支持以 System 用户执行命令。
|
1569
1592
|
# @type Username: String
|
1570
1593
|
# @param OutputCOSBucketUrl: 指定日志上传的cos bucket 地址,必须以https开头,如 https://BucketName-123454321.cos.ap-beijing.myqcloud.com。
|
1571
1594
|
# @type OutputCOSBucketUrl: String
|
@@ -1703,15 +1726,21 @@ module TencentCloud
|
|
1703
1726
|
# @type ExecEndTime: String
|
1704
1727
|
# @param Dropped: 命令最终输出被截断的字节数。
|
1705
1728
|
# @type Dropped: Integer
|
1729
|
+
# @param OutputUrl: 日志在cos中的地址
|
1730
|
+
# @type OutputUrl: String
|
1731
|
+
# @param OutputUploadCOSErrorInfo: 日志上传cos的错误信息。
|
1732
|
+
# @type OutputUploadCOSErrorInfo: String
|
1706
1733
|
|
1707
|
-
attr_accessor :ExitCode, :Output, :ExecStartTime, :ExecEndTime, :Dropped
|
1734
|
+
attr_accessor :ExitCode, :Output, :ExecStartTime, :ExecEndTime, :Dropped, :OutputUrl, :OutputUploadCOSErrorInfo
|
1708
1735
|
|
1709
|
-
def initialize(exitcode=nil, output=nil, execstarttime=nil, execendtime=nil, dropped=nil)
|
1736
|
+
def initialize(exitcode=nil, output=nil, execstarttime=nil, execendtime=nil, dropped=nil, outputurl=nil, outputuploadcoserrorinfo=nil)
|
1710
1737
|
@ExitCode = exitcode
|
1711
1738
|
@Output = output
|
1712
1739
|
@ExecStartTime = execstarttime
|
1713
1740
|
@ExecEndTime = execendtime
|
1714
1741
|
@Dropped = dropped
|
1742
|
+
@OutputUrl = outputurl
|
1743
|
+
@OutputUploadCOSErrorInfo = outputuploadcoserrorinfo
|
1715
1744
|
end
|
1716
1745
|
|
1717
1746
|
def deserialize(params)
|
@@ -1720,6 +1749,8 @@ module TencentCloud
|
|
1720
1749
|
@ExecStartTime = params['ExecStartTime']
|
1721
1750
|
@ExecEndTime = params['ExecEndTime']
|
1722
1751
|
@Dropped = params['Dropped']
|
1752
|
+
@OutputUrl = params['OutputUrl']
|
1753
|
+
@OutputUploadCOSErrorInfo = params['OutputUploadCOSErrorInfo']
|
1723
1754
|
end
|
1724
1755
|
end
|
1725
1756
|
|
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: 1.0.
|
4
|
+
version: 1.0.219
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|