tencentcloud-sdk-tat 3.0.1013 → 3.0.1014
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/client.rb +2 -2
- data/lib/v20201028/models.rb +247 -91
- 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: 29b493afe9dfce981959b5fb8eec7b22a3ebb694
|
4
|
+
data.tar.gz: f1ba6a36200f9be2b79f6d1ff39ee192bfb02ba9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 09c7480edd809b12baf832ca88e5d1cd5200402532c1466828e924c22e7a8a384ce892c59476e469790c1d3fb0280c6fe599b25526a6319490be44bb4516a2d5
|
7
|
+
data.tar.gz: 885f272575fc9f2b19051272f0010161f7f4d1b34935bd792a87246c9a565832e69b7a6e2c19fefd0a88df119e21c0ee8d4ba013d59debd6f6fe43525f9961fd
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1014
|
data/lib/v20201028/client.rb
CHANGED
@@ -29,9 +29,9 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
-
#
|
32
|
+
# 取消一台或多台实例执行的命令
|
33
33
|
|
34
|
-
# * 如果命令还未下发到agent
|
34
|
+
# * 如果命令还未下发到agent,任务状态处于PENDING、DELIVERING、DELIVER_DELAYED,取消后任务状态是CANCELLED
|
35
35
|
# * 如果命令已下发到agent,任务状态处于RUNNING, 取消后任务状态是TERMINATED
|
36
36
|
|
37
37
|
# @param request: Request instance for CancelInvocation.
|
data/lib/v20201028/models.rb
CHANGED
@@ -56,11 +56,16 @@ module TencentCloud
|
|
56
56
|
|
57
57
|
# CancelInvocation请求参数结构体
|
58
58
|
class CancelInvocationRequest < TencentCloud::Common::AbstractModel
|
59
|
-
# @param InvocationId: 执行活动ID
|
59
|
+
# @param InvocationId: 执行活动ID。
|
60
|
+
|
61
|
+
# 可通过 [DescribeInvocations(查询执行活动)](https://cloud.tencent.com/document/api/1340/52679) 接口获取。
|
60
62
|
# @type InvocationId: String
|
61
|
-
# @param InstanceIds: 实例ID列表,上限100
|
62
|
-
|
63
|
-
#
|
63
|
+
# @param InstanceIds: 实例ID列表,上限100。
|
64
|
+
|
65
|
+
# 可通过对应云产品的查询实例接口获取实例 ID。目前支持实例类型:
|
66
|
+
# - CVM
|
67
|
+
# - Lighthouse
|
68
|
+
# - TAT 托管实例
|
64
69
|
# @type InstanceIds: Array
|
65
70
|
|
66
71
|
attr_accessor :InvocationId, :InstanceIds
|
@@ -102,15 +107,15 @@ module TencentCloud
|
|
102
107
|
# @type Description: String
|
103
108
|
# @param Content: Base64编码后的命令内容。
|
104
109
|
# @type Content: String
|
105
|
-
# @param CommandType:
|
110
|
+
# @param CommandType: 命令类型。取值为 SHELL、POWERSHELL、BAT 之一。
|
106
111
|
# @type CommandType: String
|
107
112
|
# @param WorkingDirectory: 命令执行路径。
|
108
113
|
# @type WorkingDirectory: String
|
109
114
|
# @param Timeout: 命令超时时间。
|
110
115
|
# @type Timeout: Integer
|
111
|
-
# @param CreatedTime:
|
116
|
+
# @param CreatedTime: 命令创建时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
112
117
|
# @type CreatedTime: String
|
113
|
-
# @param UpdatedTime:
|
118
|
+
# @param UpdatedTime: 命令更新时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
114
119
|
# @type UpdatedTime: String
|
115
120
|
# @param EnableParameter: 是否启用自定义参数功能。
|
116
121
|
# @type EnableParameter: Boolean
|
@@ -198,9 +203,9 @@ module TencentCloud
|
|
198
203
|
class CommandDocument < TencentCloud::Common::AbstractModel
|
199
204
|
# @param Content: Base64 编码后的执行命令。
|
200
205
|
# @type Content: String
|
201
|
-
# @param CommandType:
|
206
|
+
# @param CommandType: 命令类型。取值为 SHELL、POWERSHELL、BAT 之一。
|
202
207
|
# @type CommandType: String
|
203
|
-
# @param Timeout:
|
208
|
+
# @param Timeout: 超时时间。单位:秒。
|
204
209
|
# @type Timeout: Integer
|
205
210
|
# @param WorkingDirectory: 执行路径。
|
206
211
|
# @type WorkingDirectory: String
|
@@ -242,7 +247,7 @@ module TencentCloud
|
|
242
247
|
# @type Content: String
|
243
248
|
# @param Description: 命令描述。不超过120字符。
|
244
249
|
# @type Description: String
|
245
|
-
# @param CommandType: 命令类型,目前支持取值:SHELL、POWERSHELL。默认:SHELL。
|
250
|
+
# @param CommandType: 命令类型,目前支持取值:SHELL、POWERSHELL、BAT。默认:SHELL。
|
246
251
|
# @type CommandType: String
|
247
252
|
# @param WorkingDirectory: 命令执行路径,对于 SHELL 命令默认为 /root,对于 POWERSHELL 命令默认为 C:\Program Files\qcloud\tat_agent\workdir。
|
248
253
|
# @type WorkingDirectory: String
|
@@ -255,11 +260,15 @@ module TencentCloud
|
|
255
260
|
# @param DefaultParameters: 启用自定义参数功能时,自定义参数的默认取值。字段类型为json encoded string。如:{"varA": "222"}。
|
256
261
|
# key为自定义参数名称,value为该参数的默认取值。kv均为字符串型。
|
257
262
|
# 如果InvokeCommand时未提供参数取值,将使用这里的默认值进行替换。
|
263
|
+
# 参数不支持同时指定 `DefaultParameters` 和 `DefaultParameterConfs` 。
|
264
|
+
# 仅在 EnableParameter 参数为 true 时,才允许设置此参数。
|
258
265
|
# 自定义参数最多20个。
|
259
266
|
# 自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
|
260
267
|
# @type DefaultParameters: String
|
261
268
|
# @param DefaultParameterConfs: 自定义参数数组。
|
262
269
|
# 如果InvokeCommand时未提供参数取值,将使用这里的默认值进行替换。
|
270
|
+
# 参数不支持同时指定 `DefaultParameters` 和 `DefaultParameterConfs` 。
|
271
|
+
# 仅在 EnableParameter 参数为 true 时,才允许设置此参数。
|
263
272
|
# 自定义参数最多20个。
|
264
273
|
# @type DefaultParameterConfs: Array
|
265
274
|
# @param Tags: 为命令关联的标签,列表长度不超过10。
|
@@ -351,14 +360,22 @@ module TencentCloud
|
|
351
360
|
# @param Type: 执行器类型,当前仅支持周期类型执行器,取值:`SCHEDULE` 。
|
352
361
|
# @type Type: String
|
353
362
|
# @param CommandId: 远程命令ID。
|
363
|
+
|
364
|
+
# 可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取。
|
354
365
|
# @type CommandId: String
|
355
366
|
# @param InstanceIds: 触发器关联的实例ID。列表上限 100。
|
367
|
+
|
368
|
+
# 可通过对应云产品的查询实例接口获取实例 ID。目前支持实例类型:CVM、Lighthouse、TAT 托管实例。
|
369
|
+
|
370
|
+
# 实例需要安装 TAT 客户端, 且客户端为 Online 状态。可通过 [DescribeAutomationAgentStatus(查询客户端状态)](https://cloud.tencent.com/document/api/1340/52682) 接口查询客户端状态。
|
356
371
|
# @type InstanceIds: Array
|
357
372
|
# @param Username: 命令执行用户。
|
358
373
|
# @type Username: String
|
359
374
|
# @param Parameters: 命令自定义参数。
|
375
|
+
|
376
|
+
# 仅在 CommandId 所指命令的 EnableParameter 为 true 时,才允许设置此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。
|
360
377
|
# @type Parameters: String
|
361
|
-
# @param ScheduleSettings:
|
378
|
+
# @param ScheduleSettings: 周期执行器设置。当创建周期执行器时,必须指定此参数。
|
362
379
|
# @type ScheduleSettings: :class:`Tencentcloud::Tat.v20201028.models.ScheduleSettings`
|
363
380
|
|
364
381
|
attr_accessor :Name, :Type, :CommandId, :InstanceIds, :Username, :Parameters, :ScheduleSettings
|
@@ -492,7 +509,7 @@ module TencentCloud
|
|
492
509
|
|
493
510
|
# DeleteCommand请求参数结构体
|
494
511
|
class DeleteCommandRequest < TencentCloud::Common::AbstractModel
|
495
|
-
# @param CommandId: 待删除的命令ID
|
512
|
+
# @param CommandId: 待删除的命令 ID。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取。
|
496
513
|
# @type CommandId: String
|
497
514
|
|
498
515
|
attr_accessor :CommandId
|
@@ -524,7 +541,7 @@ module TencentCloud
|
|
524
541
|
|
525
542
|
# DeleteCommands请求参数结构体
|
526
543
|
class DeleteCommandsRequest < TencentCloud::Common::AbstractModel
|
527
|
-
# @param CommandIds:
|
544
|
+
# @param CommandIds: 待删除的命令 ID。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取。
|
528
545
|
# @type CommandIds: Array
|
529
546
|
|
530
547
|
attr_accessor :CommandIds
|
@@ -557,6 +574,8 @@ module TencentCloud
|
|
557
574
|
# DeleteInvoker请求参数结构体
|
558
575
|
class DeleteInvokerRequest < TencentCloud::Common::AbstractModel
|
559
576
|
# @param InvokerId: 待删除的执行器ID。
|
577
|
+
|
578
|
+
# 可通过 [DescribeInvokers(查询执行器)](https://cloud.tencent.com/document/api/1340/61759) 接口获取。
|
560
579
|
# @type InvokerId: String
|
561
580
|
|
562
581
|
attr_accessor :InvokerId
|
@@ -589,6 +608,8 @@ module TencentCloud
|
|
589
608
|
# DeleteRegisterCodes请求参数结构体
|
590
609
|
class DeleteRegisterCodesRequest < TencentCloud::Common::AbstractModel
|
591
610
|
# @param RegisterCodeIds: 注册码ID列表。限制输入的注册码ID数量大于0小于100。
|
611
|
+
|
612
|
+
# 可通过 [DescribeRegisterCodes(查询注册码)](https://cloud.tencent.com/document/api/1340/96925) 接口获取。
|
592
613
|
# @type RegisterCodeIds: Array
|
593
614
|
|
594
615
|
attr_accessor :RegisterCodeIds
|
@@ -620,7 +641,9 @@ module TencentCloud
|
|
620
641
|
|
621
642
|
# DeleteRegisterInstance请求参数结构体
|
622
643
|
class DeleteRegisterInstanceRequest < TencentCloud::Common::AbstractModel
|
623
|
-
# @param InstanceId:
|
644
|
+
# @param InstanceId: 托管实例ID。
|
645
|
+
|
646
|
+
# 可通过 [DescribeRegisterInstances(查询托管实例)](https://cloud.tencent.com/document/api/1340/96924) 接口获取。
|
624
647
|
# @type InstanceId: String
|
625
648
|
|
626
649
|
attr_accessor :InstanceId
|
@@ -653,8 +676,16 @@ module TencentCloud
|
|
653
676
|
# DescribeAutomationAgentStatus请求参数结构体
|
654
677
|
class DescribeAutomationAgentStatusRequest < TencentCloud::Common::AbstractModel
|
655
678
|
# @param InstanceIds: 待查询的实例ID列表。
|
679
|
+
|
680
|
+
# 可通过对应云产品的查询实例接口获取实例 ID。目前支持实例类型:CVM、Lighthouse、TAT 托管实例。
|
681
|
+
|
682
|
+
# 参数不支持同时指定 `InstanceIds ` 和 `Filters ` 。
|
656
683
|
# @type InstanceIds: Array
|
657
|
-
# @param Filters:
|
684
|
+
# @param Filters: - agent-status - String - 是否必填:否 -(过滤条件)按照agent状态过滤,取值:Online 在线,Offline 离线。
|
685
|
+
# - environment - String - 是否必填:否 -(过滤条件)按照agent运行环境查询,取值:Linux, Windows。
|
686
|
+
# - instance-id - String - 是否必填:否 -(过滤条件)按照实例ID过滤。 可通过对应云产品的查询实例接口获取实例 ID。目前支持实例类型:CVM、Lighthouse、TAT 托管实例。
|
687
|
+
|
688
|
+
# 参数不支持同时指定 `InstanceIds ` 和 `Filters ` 。
|
658
689
|
# @type Filters: Array
|
659
690
|
# @param Limit: 返回数量,默认为20,最大值为100。关于 `Limit` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
660
691
|
# @type Limit: Integer
|
@@ -721,14 +752,15 @@ module TencentCloud
|
|
721
752
|
# @param CommandIds: 命令ID列表,每次请求的上限为100。参数不支持同时指定 `CommandIds` 和 `Filters` 。
|
722
753
|
# @type CommandIds: Array
|
723
754
|
# @param Filters: 过滤条件。
|
724
|
-
|
725
|
-
#
|
726
|
-
#
|
727
|
-
#
|
728
|
-
#
|
729
|
-
#
|
730
|
-
#
|
731
|
-
#
|
755
|
+
|
756
|
+
# - command-id - String - 是否必填:否 -(过滤条件)按照命令ID过滤。
|
757
|
+
# - command-name - String - 是否必填:否 -(过滤条件)按照命令名称过滤。
|
758
|
+
# - command-type - String - 是否必填:否 -(过滤条件)按照命令类型过滤,取值为 SHELL、POWERSHELL、BAT。
|
759
|
+
# - scene-id - String - 是否必填:否 -(过滤条件)按照场景ID过滤。可通过 [DescribeScenes(查询场景)](https://cloud.tencent.com/document/api/1340/109968) 接口获取场景ID。
|
760
|
+
# - created-by - String - 是否必填:否 -(过滤条件)按照命令创建者过滤,取值为 TAT 或 USER。TAT 代表公共命令,USER 代表由用户创建的命令。
|
761
|
+
# - tag-key - String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
|
762
|
+
# - tag-value - String - 是否必填:否 -(过滤条件)按照标签值进行过滤。
|
763
|
+
# - tag:tag-key - String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例4
|
732
764
|
|
733
765
|
# 每次请求的 `Filters` 的上限为10, `Filter.Values` 的上限为5。参数不支持同时指定 `CommandIds` 和 `Filters` 。
|
734
766
|
# @type Filters: Array
|
@@ -798,15 +830,23 @@ module TencentCloud
|
|
798
830
|
# @type InvocationTaskIds: Array
|
799
831
|
# @param Filters: 过滤条件。<br>
|
800
832
|
|
801
|
-
#
|
833
|
+
# - invocation-task-id - String - 是否必填:否 -(过滤条件)按照执行任务ID过滤。
|
834
|
+
# - invocation-id - String - 是否必填:否 -(过滤条件)按照执行活动ID过滤。可通过 [DescribeInvocations(查询执行活动)](https://cloud.tencent.com/document/api/1340/52679) 接口获取。
|
835
|
+
# - instance-id - String - 是否必填:否 -(过滤条件)按照实例ID过滤。可通过对应云产品的查询实例接口获取实例 ID。目前支持实例类型: CVM、Lighthouse、TAT 托管实例
|
836
|
+
# - command-id - String - 是否必填:否 -(过滤条件)按照命令ID过滤。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取。
|
837
|
+
|
838
|
+
# 每次请求的 `Filters` 的上限为10, `Filter.Values` 的上限为5。参数不支持同时指定 `InvocationTaskIds` 和 `Filters` 。
|
802
839
|
# @type Filters: Array
|
803
840
|
# @param Limit: 返回数量,默认为20,最大值为100。关于 `Limit` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
804
841
|
# @type Limit: Integer
|
805
842
|
# @param Offset: 偏移量,默认为0。关于 `Offset` 的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
|
806
843
|
# @type Offset: Integer
|
807
|
-
# @param HideOutput:
|
844
|
+
# @param HideOutput: 是否隐藏命令输出结果,取值范围:
|
808
845
|
|
809
|
-
#
|
846
|
+
# - true:隐藏输出
|
847
|
+
# - false:不隐藏
|
848
|
+
|
849
|
+
# 默认为 true。
|
810
850
|
# @type HideOutput: Boolean
|
811
851
|
|
812
852
|
attr_accessor :InvocationTaskIds, :Filters, :Limit, :Offset, :HideOutput
|
@@ -941,6 +981,8 @@ module TencentCloud
|
|
941
981
|
# DescribeInvokerRecords请求参数结构体
|
942
982
|
class DescribeInvokerRecordsRequest < TencentCloud::Common::AbstractModel
|
943
983
|
# @param InvokerIds: 执行器ID列表。列表上限 100。
|
984
|
+
|
985
|
+
# 可通过 [DescribeInvokers(查询执行器)](https://cloud.tencent.com/document/api/1340/61759) 接口获取。
|
944
986
|
# @type InvokerIds: Array
|
945
987
|
# @param Limit: 返回数量,默认为20,最大值为100。
|
946
988
|
# @type Limit: Integer
|
@@ -996,8 +1038,16 @@ module TencentCloud
|
|
996
1038
|
# DescribeInvokers请求参数结构体
|
997
1039
|
class DescribeInvokersRequest < TencentCloud::Common::AbstractModel
|
998
1040
|
# @param InvokerIds: 执行器ID列表。
|
1041
|
+
|
1042
|
+
# 参数不支持同时指定 `InvokerIds ` 和 `Filters ` 。
|
999
1043
|
# @type InvokerIds: Array
|
1000
|
-
# @param Filters:
|
1044
|
+
# @param Filters: 过滤条件:
|
1045
|
+
|
1046
|
+
# - invoker-id - String - 是否必填:否 - (过滤条件)按执行器ID过滤。
|
1047
|
+
# - command-id - String - 是否必填:否 - (过滤条件)按命令ID过滤。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取。
|
1048
|
+
# - type - String - 是否必填:否 - (过滤条件)按执行器类型过滤。目前仅支持 SCHEDULE 一种。
|
1049
|
+
|
1050
|
+
# 参数不支持同时指定 `InvokerIds ` 和 `Filters ` 。
|
1001
1051
|
# @type Filters: Array
|
1002
1052
|
# @param Limit: 返回数量,默认为20,最大值为100。
|
1003
1053
|
# @type Limit: Integer
|
@@ -1061,7 +1111,12 @@ module TencentCloud
|
|
1061
1111
|
|
1062
1112
|
# DescribeQuotas请求参数结构体
|
1063
1113
|
class DescribeQuotasRequest < TencentCloud::Common::AbstractModel
|
1064
|
-
# @param ResourceNames:
|
1114
|
+
# @param ResourceNames: 资源名称
|
1115
|
+
|
1116
|
+
# 取值为:
|
1117
|
+
|
1118
|
+
# - COMMAND:命令
|
1119
|
+
# - REGISTER_CODE:托管实例注册码
|
1065
1120
|
# @type ResourceNames: Array
|
1066
1121
|
|
1067
1122
|
attr_accessor :ResourceNames
|
@@ -1202,25 +1257,28 @@ module TencentCloud
|
|
1202
1257
|
|
1203
1258
|
# DescribeRegisterInstances请求参数结构体
|
1204
1259
|
class DescribeRegisterInstancesRequest < TencentCloud::Common::AbstractModel
|
1205
|
-
# @param InstanceIds:
|
1260
|
+
# @param InstanceIds: 托管实例 id。
|
1261
|
+
|
1262
|
+
# 参数不支持同时指定 `InstanceIds` 和 `Filters` 。
|
1206
1263
|
# @type InstanceIds: Array
|
1207
|
-
# @param Filters:
|
1264
|
+
# @param Filters: 过滤器列表。参数不支持同时指定 `InstanceIds` 和 `Filters` 。
|
1265
|
+
|
1208
1266
|
|
1209
1267
|
# - instance-name
|
1210
1268
|
|
1211
|
-
#
|
1269
|
+
# 按照【托管实例名称】进行过滤。
|
1212
1270
|
# 类型:String
|
1213
1271
|
# 必选:否
|
1214
1272
|
|
1215
1273
|
# - instance-id
|
1216
1274
|
|
1217
|
-
#
|
1275
|
+
# 按照【托管实例ID】进行过滤。
|
1218
1276
|
# 类型:String
|
1219
1277
|
# 必选:否
|
1220
1278
|
|
1221
1279
|
# - register-code-id
|
1222
1280
|
|
1223
|
-
#
|
1281
|
+
# 按照【托管实例注册码ID】进行过滤。可通过 [DescribeRegisterCodes(查询注册码)](https://cloud.tencent.com/document/api/1340/96925) 接口获取。
|
1224
1282
|
# 类型:String
|
1225
1283
|
# 必选:否
|
1226
1284
|
|
@@ -1293,12 +1351,15 @@ module TencentCloud
|
|
1293
1351
|
|
1294
1352
|
# DescribeScenes请求参数结构体
|
1295
1353
|
class DescribeScenesRequest < TencentCloud::Common::AbstractModel
|
1296
|
-
# @param SceneIds: 场景 ID
|
1354
|
+
# @param SceneIds: 场景 ID 数组。
|
1355
|
+
|
1356
|
+
# 参数不支持同时指定 `SceneIds ` 和 `Filters ` 。
|
1297
1357
|
# @type SceneIds: Array
|
1298
1358
|
# @param Filters: 过滤条件。
|
1299
|
-
|
1300
|
-
#
|
1301
|
-
#
|
1359
|
+
|
1360
|
+
# - scene-id - String - 是否必填:否 -(过滤条件)按照场景 ID 过滤。
|
1361
|
+
# - scene-name - String - 是否必填:否 -(过滤条件)按照场景名称过滤。
|
1362
|
+
# - created-by - String - 是否必填:否 -(过滤条件)按照场景创建者过滤,目前仅支持 TAT,代表公共场景。
|
1302
1363
|
|
1303
1364
|
# 每次请求的 `Filters` 的上限为10, `Filter.Values` 的上限为5。参数不支持同时指定 `SceneIds` 和 `Filters` 。
|
1304
1365
|
# @type Filters: Array
|
@@ -1365,6 +1426,8 @@ module TencentCloud
|
|
1365
1426
|
# DisableInvoker请求参数结构体
|
1366
1427
|
class DisableInvokerRequest < TencentCloud::Common::AbstractModel
|
1367
1428
|
# @param InvokerId: 待停止的执行器ID。
|
1429
|
+
|
1430
|
+
# 可通过 [DescribeInvokers(查询执行器)](https://cloud.tencent.com/document/api/1340/61759) 接口获取。
|
1368
1431
|
# @type InvokerId: String
|
1369
1432
|
|
1370
1433
|
attr_accessor :InvokerId
|
@@ -1397,6 +1460,8 @@ module TencentCloud
|
|
1397
1460
|
# DisableRegisterCodes请求参数结构体
|
1398
1461
|
class DisableRegisterCodesRequest < TencentCloud::Common::AbstractModel
|
1399
1462
|
# @param RegisterCodeIds: 注册码ID。
|
1463
|
+
|
1464
|
+
# 可通过 [DescribeRegisterCodes(查询注册码)](https://cloud.tencent.com/document/api/1340/96925) 接口获取。
|
1400
1465
|
# @type RegisterCodeIds: Array
|
1401
1466
|
|
1402
1467
|
attr_accessor :RegisterCodeIds
|
@@ -1429,6 +1494,8 @@ module TencentCloud
|
|
1429
1494
|
# EnableInvoker请求参数结构体
|
1430
1495
|
class EnableInvokerRequest < TencentCloud::Common::AbstractModel
|
1431
1496
|
# @param InvokerId: 待启用的执行器ID。
|
1497
|
+
|
1498
|
+
# 可通过 [DescribeInvokers(查询执行器)](https://cloud.tencent.com/document/api/1340/61759) 接口获取。
|
1432
1499
|
# @type InvokerId: String
|
1433
1500
|
|
1434
1501
|
attr_accessor :InvokerId
|
@@ -1493,6 +1560,11 @@ module TencentCloud
|
|
1493
1560
|
# 用户配额信息。
|
1494
1561
|
class GeneralResourceQuotaSet < TencentCloud::Common::AbstractModel
|
1495
1562
|
# @param ResourceName: 资源名称
|
1563
|
+
|
1564
|
+
# 取值为:
|
1565
|
+
|
1566
|
+
# - COMMAND:命令
|
1567
|
+
# - REGISTER_CODE:托管实例注册码
|
1496
1568
|
# @type ResourceName: String
|
1497
1569
|
# @param ResourceQuotaUsed: 已使用额度
|
1498
1570
|
# @type ResourceQuotaUsed: Integer
|
@@ -1522,19 +1594,27 @@ module TencentCloud
|
|
1522
1594
|
# @type CommandId: String
|
1523
1595
|
# @param InvocationStatus: 执行任务状态。取值范围:
|
1524
1596
|
|
1525
|
-
#
|
1597
|
+
# - PENDING:等待下发
|
1598
|
+
# - RUNNING:命令运行中
|
1599
|
+
# - CANCELLING:取消中
|
1600
|
+
# - SUCCESS:命令成功
|
1601
|
+
# - TIMEOUT:命令超时
|
1602
|
+
# - FAILED:命令失败
|
1603
|
+
# - CANCELLED:命令全部取消
|
1604
|
+
# - PARTIAL_FAILED:命令部分失败
|
1605
|
+
# - PARTIAL_CANCELLED:命令部分取消
|
1526
1606
|
# @type InvocationStatus: String
|
1527
1607
|
# @param InvocationTaskBasicInfoSet: 执行任务信息列表。
|
1528
1608
|
# @type InvocationTaskBasicInfoSet: Array
|
1529
1609
|
# @param Description: 执行活动描述。
|
1530
1610
|
# @type Description: String
|
1531
|
-
# @param StartTime:
|
1611
|
+
# @param StartTime: 执行活动开始时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
1532
1612
|
# @type StartTime: String
|
1533
|
-
# @param EndTime:
|
1613
|
+
# @param EndTime: 执行活动结束时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
1534
1614
|
# @type EndTime: String
|
1535
|
-
# @param CreatedTime:
|
1615
|
+
# @param CreatedTime: 执行活动创建时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
1536
1616
|
# @type CreatedTime: String
|
1537
|
-
# @param UpdatedTime:
|
1617
|
+
# @param UpdatedTime: 执行活动更新时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
1538
1618
|
# @type UpdatedTime: String
|
1539
1619
|
# @param Parameters: 自定义参数取值。
|
1540
1620
|
# @type Parameters: String
|
@@ -1545,6 +1625,9 @@ module TencentCloud
|
|
1545
1625
|
# @param Username: 在实例上执行命令时使用的用户名。
|
1546
1626
|
# @type Username: String
|
1547
1627
|
# @param InvocationSource: 调用来源。
|
1628
|
+
|
1629
|
+
# - USER:来源于用户调用。
|
1630
|
+
# - INVOKER:来源于定时执行。
|
1548
1631
|
# @type InvocationSource: String
|
1549
1632
|
# @param CommandContent: base64编码的命令内容
|
1550
1633
|
# @type CommandContent: String
|
@@ -1625,21 +1708,33 @@ module TencentCloud
|
|
1625
1708
|
# @type CommandId: String
|
1626
1709
|
# @param TaskStatus: 执行任务状态。取值范围:
|
1627
1710
|
|
1628
|
-
#
|
1711
|
+
# - PENDING:等待下发
|
1712
|
+
# - DELIVERING:下发中
|
1713
|
+
# - DELIVER_DELAYED:延时下发
|
1714
|
+
# - DELIVER_FAILED:下发失败
|
1715
|
+
# - START_FAILED:命令启动失败
|
1716
|
+
# - RUNNING:命令运行中
|
1717
|
+
# - SUCCESS:命令成功
|
1718
|
+
# - FAILED:命令执行失败,执行完退出码不为 0
|
1719
|
+
# - TIMEOUT:命令超时
|
1720
|
+
# - TASK_TIMEOUT:客户端无响应
|
1721
|
+
# - CANCELLING:取消中
|
1722
|
+
# - CANCELLED:已取消(命令启动前就被取消)
|
1723
|
+
# - TERMINATED:已中止(命令执行期间被取消)
|
1629
1724
|
# @type TaskStatus: String
|
1630
1725
|
# @param InstanceId: 实例ID。
|
1631
1726
|
# @type InstanceId: String
|
1632
1727
|
# @param TaskResult: 执行结果。
|
1633
1728
|
# @type TaskResult: :class:`Tencentcloud::Tat.v20201028.models.TaskResult`
|
1634
|
-
# @param StartTime:
|
1729
|
+
# @param StartTime: 执行任务开始时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
1635
1730
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1636
1731
|
# @type StartTime: String
|
1637
|
-
# @param EndTime:
|
1732
|
+
# @param EndTime: 执行任务结束时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
1638
1733
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1639
1734
|
# @type EndTime: String
|
1640
|
-
# @param CreatedTime:
|
1735
|
+
# @param CreatedTime: 创建时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
1641
1736
|
# @type CreatedTime: String
|
1642
|
-
# @param UpdatedTime:
|
1737
|
+
# @param UpdatedTime: 更新时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
1643
1738
|
# @type UpdatedTime: String
|
1644
1739
|
# @param CommandDocument: 执行任务所执行的命令详情。
|
1645
1740
|
# @type CommandDocument: :class:`Tencentcloud::Tat.v20201028.models.CommandDocument`
|
@@ -1694,19 +1789,20 @@ module TencentCloud
|
|
1694
1789
|
# @param InvocationTaskId: 执行任务ID。
|
1695
1790
|
# @type InvocationTaskId: String
|
1696
1791
|
# @param TaskStatus: 执行任务状态。取值范围:
|
1697
|
-
|
1698
|
-
#
|
1699
|
-
#
|
1700
|
-
#
|
1701
|
-
#
|
1702
|
-
#
|
1703
|
-
#
|
1704
|
-
#
|
1705
|
-
#
|
1706
|
-
#
|
1707
|
-
#
|
1708
|
-
#
|
1709
|
-
#
|
1792
|
+
|
1793
|
+
# - PENDING:等待下发
|
1794
|
+
# - DELIVERING:下发中
|
1795
|
+
# - DELIVER_DELAYED:延时下发
|
1796
|
+
# - DELIVER_FAILED:下发失败
|
1797
|
+
# - START_FAILED:命令启动失败
|
1798
|
+
# - RUNNING:命令运行中
|
1799
|
+
# - SUCCESS:命令成功
|
1800
|
+
# - FAILED:命令执行失败,执行完退出码不为 0
|
1801
|
+
# - TIMEOUT:命令超时
|
1802
|
+
# - TASK_TIMEOUT:客户端无响应
|
1803
|
+
# - CANCELLING:取消中
|
1804
|
+
# - CANCELLED:已取消(命令启动前就被取消)
|
1805
|
+
# - TERMINATED:已中止(命令执行期间被取消)
|
1710
1806
|
# @type TaskStatus: String
|
1711
1807
|
# @param InstanceId: 实例ID。
|
1712
1808
|
# @type InstanceId: String
|
@@ -1728,13 +1824,19 @@ module TencentCloud
|
|
1728
1824
|
|
1729
1825
|
# InvokeCommand请求参数结构体
|
1730
1826
|
class InvokeCommandRequest < TencentCloud::Common::AbstractModel
|
1731
|
-
# @param CommandId: 待触发的命令ID
|
1827
|
+
# @param CommandId: 待触发的命令ID。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取。
|
1732
1828
|
# @type CommandId: String
|
1733
1829
|
# @param InstanceIds: 待执行命令的实例ID列表,上限200。
|
1830
|
+
|
1831
|
+
# 可通过对应云产品的查询实例接口获取实例 ID。目前支持实例类型:
|
1832
|
+
# - CVM
|
1833
|
+
# - Lighthouse
|
1834
|
+
# - TAT 托管实例
|
1734
1835
|
# @type InstanceIds: Array
|
1735
1836
|
# @param Parameters: Command 的自定义参数。字段类型为json encoded string。如:{"varA": "222"}。
|
1736
1837
|
# key为自定义参数名称,value为该参数的默认取值。kv均为字符串型。
|
1737
|
-
#
|
1838
|
+
# 仅在命令的 EnableParameter 为 true 时,才允许设置此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。
|
1839
|
+
# 如果未提供该参数取值,将使用 Command 的 DefaultParameters 或 DefaultParameterConfs 进行替换。
|
1738
1840
|
# 自定义参数最多20个。
|
1739
1841
|
# 自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
|
1740
1842
|
# @type Parameters: String
|
@@ -1804,7 +1906,7 @@ module TencentCloud
|
|
1804
1906
|
# @type InvokerId: String
|
1805
1907
|
# @param Name: 执行器名称。
|
1806
1908
|
# @type Name: String
|
1807
|
-
# @param Type:
|
1909
|
+
# @param Type: 执行器类型。目前仅支持 SCHEDULE 一种。
|
1808
1910
|
# @type Type: String
|
1809
1911
|
# @param CommandId: 命令ID。
|
1810
1912
|
# @type CommandId: String
|
@@ -1819,9 +1921,9 @@ module TencentCloud
|
|
1819
1921
|
# @param ScheduleSettings: 执行器周期计划。周期执行器会返回此字段。
|
1820
1922
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1821
1923
|
# @type ScheduleSettings: :class:`Tencentcloud::Tat.v20201028.models.ScheduleSettings`
|
1822
|
-
# @param CreatedTime:
|
1924
|
+
# @param CreatedTime: 创建时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
1823
1925
|
# @type CreatedTime: String
|
1824
|
-
# @param UpdatedTime:
|
1926
|
+
# @param UpdatedTime: 修改时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
1825
1927
|
# @type UpdatedTime: String
|
1826
1928
|
|
1827
1929
|
attr_accessor :InvokerId, :Name, :Type, :CommandId, :Username, :Parameters, :InstanceIds, :Enable, :ScheduleSettings, :CreatedTime, :UpdatedTime
|
@@ -1862,13 +1964,23 @@ module TencentCloud
|
|
1862
1964
|
class InvokerRecord < TencentCloud::Common::AbstractModel
|
1863
1965
|
# @param InvokerId: 执行器ID。
|
1864
1966
|
# @type InvokerId: String
|
1865
|
-
# @param InvokeTime:
|
1967
|
+
# @param InvokeTime: 执行时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
1866
1968
|
# @type InvokeTime: String
|
1867
1969
|
# @param Reason: 执行原因。
|
1868
1970
|
# @type Reason: String
|
1869
1971
|
# @param InvocationId: 命令执行ID。
|
1870
1972
|
# @type InvocationId: String
|
1871
1973
|
# @param Result: 触发结果。
|
1974
|
+
|
1975
|
+
# - PENDING:等待下发
|
1976
|
+
# - RUNNING:命令运行中
|
1977
|
+
# - CANCELLING:取消中
|
1978
|
+
# - SUCCESS:命令成功
|
1979
|
+
# - TIMEOUT:命令超时
|
1980
|
+
# - FAILED:命令失败
|
1981
|
+
# - CANCELLED:命令全部取消
|
1982
|
+
# - PARTIAL_FAILED:命令部分失败
|
1983
|
+
# - PARTIAL_CANCELLED:命令部分取消
|
1872
1984
|
# @type Result: String
|
1873
1985
|
|
1874
1986
|
attr_accessor :InvokerId, :InvokeTime, :Reason, :InvocationId, :Result
|
@@ -1892,7 +2004,7 @@ module TencentCloud
|
|
1892
2004
|
|
1893
2005
|
# ModifyCommand请求参数结构体
|
1894
2006
|
class ModifyCommandRequest < TencentCloud::Common::AbstractModel
|
1895
|
-
# @param CommandId: 命令ID
|
2007
|
+
# @param CommandId: 命令ID。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取。
|
1896
2008
|
# @type CommandId: String
|
1897
2009
|
# @param CommandName: 命令名称。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超60个字节。
|
1898
2010
|
# @type CommandName: String
|
@@ -1900,21 +2012,23 @@ module TencentCloud
|
|
1900
2012
|
# @type Description: String
|
1901
2013
|
# @param Content: Base64编码后的命令内容,长度不可超过64KB。
|
1902
2014
|
# @type Content: String
|
1903
|
-
# @param CommandType: 命令类型,目前支持取值:SHELL、POWERSHELL。
|
2015
|
+
# @param CommandType: 命令类型,目前支持取值:SHELL、POWERSHELL、BAT。
|
1904
2016
|
# @type CommandType: String
|
1905
2017
|
# @param WorkingDirectory: 命令执行路径。
|
1906
2018
|
# @type WorkingDirectory: String
|
1907
2019
|
# @param Timeout: 命令超时时间。取值范围[1, 86400]。
|
1908
2020
|
# @type Timeout: Integer
|
1909
2021
|
# @param DefaultParameters: 启用自定义参数功能时,自定义参数的默认取值。字段类型为json encoded string。如:{"varA": "222"}。
|
2022
|
+
# 参数不支持同时指定 `DefaultParameters` 和 `DefaultParameterConfs` 。
|
1910
2023
|
# 采取整体全覆盖式修改,即修改时必须提供所有新默认值。
|
1911
|
-
#
|
2024
|
+
# 仅在命令的 EnableParameter 为 true 时,才允许修改此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。
|
1912
2025
|
# key为自定义参数名称,value为该参数的默认取值。kv均为字符串型。
|
1913
2026
|
# 自定义参数最多20个。
|
1914
2027
|
# 自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
|
1915
2028
|
# @type DefaultParameters: String
|
1916
|
-
# @param DefaultParameterConfs:
|
1917
|
-
#
|
2029
|
+
# @param DefaultParameterConfs: 自定义参数数组。如果 InvokeCommand 时未提供参数取值,将使用这里的默认值进行替换。
|
2030
|
+
# 参数不支持同时指定 `DefaultParameters` 和 `DefaultParameterConfs` 。
|
2031
|
+
# 仅在命令的 EnableParameter 为 true 时,才允许修改此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。
|
1918
2032
|
# 自定义参数最多20个。
|
1919
2033
|
# @type DefaultParameterConfs: Array
|
1920
2034
|
# @param Username: 在 CVM 或 Lighthouse 实例中执行命令的用户名称。
|
@@ -1987,18 +2101,28 @@ module TencentCloud
|
|
1987
2101
|
# ModifyInvoker请求参数结构体
|
1988
2102
|
class ModifyInvokerRequest < TencentCloud::Common::AbstractModel
|
1989
2103
|
# @param InvokerId: 待修改的执行器ID。
|
2104
|
+
|
2105
|
+
# 可通过 [DescribeInvokers(查询执行器)](https://cloud.tencent.com/document/api/1340/61759) 接口获取。
|
1990
2106
|
# @type InvokerId: String
|
1991
2107
|
# @param Name: 待修改的执行器名称。
|
1992
2108
|
# @type Name: String
|
1993
2109
|
# @param Type: 执行器类型,当前仅支持周期类型执行器,取值:`SCHEDULE` 。
|
1994
2110
|
# @type Type: String
|
1995
2111
|
# @param CommandId: 待修改的命令ID。
|
2112
|
+
|
2113
|
+
# 可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取。
|
1996
2114
|
# @type CommandId: String
|
1997
2115
|
# @param Username: 待修改的用户名。
|
1998
2116
|
# @type Username: String
|
1999
2117
|
# @param Parameters: 待修改的自定义参数。
|
2118
|
+
|
2119
|
+
# 仅在 CommandId 所指命令的 EnableParameter 为 true 时,才允许设置此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。
|
2000
2120
|
# @type Parameters: String
|
2001
2121
|
# @param InstanceIds: 待修改的实例ID列表。列表长度上限100。
|
2122
|
+
|
2123
|
+
# 可通过对应云产品的查询实例接口获取实例 ID。目前支持实例类型:CVM、Lighthouse、TAT 托管实例。
|
2124
|
+
|
2125
|
+
# 实例需要安装 TAT 客户端, 且客户端为 Online 状态。可通过 [DescribeAutomationAgentStatus(查询客户端状态)](https://cloud.tencent.com/document/api/1340/52682) 接口查询客户端状态。
|
2002
2126
|
# @type InstanceIds: Array
|
2003
2127
|
# @param ScheduleSettings: 待修改的周期执行器设置。
|
2004
2128
|
# @type ScheduleSettings: :class:`Tencentcloud::Tat.v20201028.models.ScheduleSettings`
|
@@ -2049,7 +2173,9 @@ module TencentCloud
|
|
2049
2173
|
|
2050
2174
|
# ModifyRegisterInstance请求参数结构体
|
2051
2175
|
class ModifyRegisterInstanceRequest < TencentCloud::Common::AbstractModel
|
2052
|
-
# @param InstanceId:
|
2176
|
+
# @param InstanceId: 托管实例ID。
|
2177
|
+
|
2178
|
+
# 可通过 [DescribeRegisterInstances(查询托管实例)](https://cloud.tencent.com/document/api/1340/96924) 接口获取。
|
2053
2179
|
# @type InstanceId: String
|
2054
2180
|
# @param InstanceName: 实例名称。有效长度为 1~60 字符。
|
2055
2181
|
# @type InstanceName: String
|
@@ -2085,13 +2211,17 @@ module TencentCloud
|
|
2085
2211
|
|
2086
2212
|
# PreviewReplacedCommandContent请求参数结构体
|
2087
2213
|
class PreviewReplacedCommandContentRequest < TencentCloud::Common::AbstractModel
|
2088
|
-
# @param Parameters: 本次预览采用的自定义参数。字段类型为 json encoded string,如:{
|
2214
|
+
# @param Parameters: 本次预览采用的自定义参数。字段类型为 json encoded string,如:{"varA": "222"}。
|
2215
|
+
# 仅在命令的 EnableParameter 为 true 时,才允许设置此参数。可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取命令的 EnableParameter 设置。
|
2216
|
+
# 如果有设置过 DefaultParameters 或 DefaultParameterConfs,会与 Parameters 进行叠加,优先使用 Parameters 的值。
|
2217
|
+
|
2089
2218
|
# key 为自定义参数名称,value 为该参数的取值。kv 均为字符串型。
|
2090
2219
|
# 自定义参数最多 20 个。
|
2091
2220
|
# 自定义参数名称需符合以下规范:字符数目上限 64,可选范围【a-zA-Z0-9-_】。
|
2092
2221
|
# 如果将预览的 CommandId 设置过 DefaultParameters,本参数可以为空。
|
2093
2222
|
# @type Parameters: String
|
2094
|
-
# @param CommandId:
|
2223
|
+
# @param CommandId: 要进行替换预览的命令。
|
2224
|
+
# 可通过 [DescribeCommands(查询命令详情)](https://cloud.tencent.com/document/api/1340/52681) 接口获取。
|
2095
2225
|
# CommandId 与 Content,必须且只能提供一个。
|
2096
2226
|
# @type CommandId: String
|
2097
2227
|
# @param Content: 要预览的命令内容,经 Base64 编码,长度不可超过 64KB。
|
@@ -2139,7 +2269,7 @@ module TencentCloud
|
|
2139
2269
|
# @type Region: String
|
2140
2270
|
# @param RegionName: 地域描述,例如: 广州
|
2141
2271
|
# @type RegionName: String
|
2142
|
-
# @param RegionState: 地域是否可用状态,AVAILABLE
|
2272
|
+
# @param RegionState: 地域是否可用状态,AVAILABLE 代表可用,UNAVAILABLE 代表不可用。
|
2143
2273
|
# @type RegionState: String
|
2144
2274
|
|
2145
2275
|
attr_accessor :Region, :RegionName, :RegionState
|
@@ -2225,7 +2355,7 @@ module TencentCloud
|
|
2225
2355
|
# @type InstanceName: String
|
2226
2356
|
# @param MachineId: 机器ID。
|
2227
2357
|
# @type MachineId: String
|
2228
|
-
# @param SystemName:
|
2358
|
+
# @param SystemName: 系统名。取值:Linux | Windows。
|
2229
2359
|
# @type SystemName: String
|
2230
2360
|
# @param HostName: 主机名。
|
2231
2361
|
# @type HostName: String
|
@@ -2236,14 +2366,16 @@ module TencentCloud
|
|
2236
2366
|
# @param Status: 托管状态。
|
2237
2367
|
# 返回Online表示实例正在托管,返回Offline表示实例未托管。
|
2238
2368
|
# @type Status: String
|
2239
|
-
# @param CreatedTime:
|
2369
|
+
# @param CreatedTime: 创建时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
2240
2370
|
# @type CreatedTime: String
|
2241
|
-
# @param UpdatedTime:
|
2371
|
+
# @param UpdatedTime: 上次更新时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
2242
2372
|
# @type UpdatedTime: String
|
2373
|
+
# @param Tags: 标签
|
2374
|
+
# @type Tags: Array
|
2243
2375
|
|
2244
|
-
attr_accessor :RegisterCodeId, :InstanceId, :InstanceName, :MachineId, :SystemName, :HostName, :LocalIp, :PublicKey, :Status, :CreatedTime, :UpdatedTime
|
2376
|
+
attr_accessor :RegisterCodeId, :InstanceId, :InstanceName, :MachineId, :SystemName, :HostName, :LocalIp, :PublicKey, :Status, :CreatedTime, :UpdatedTime, :Tags
|
2245
2377
|
|
2246
|
-
def initialize(registercodeid=nil, instanceid=nil, instancename=nil, machineid=nil, systemname=nil, hostname=nil, localip=nil, publickey=nil, status=nil, createdtime=nil, updatedtime=nil)
|
2378
|
+
def initialize(registercodeid=nil, instanceid=nil, instancename=nil, machineid=nil, systemname=nil, hostname=nil, localip=nil, publickey=nil, status=nil, createdtime=nil, updatedtime=nil, tags=nil)
|
2247
2379
|
@RegisterCodeId = registercodeid
|
2248
2380
|
@InstanceId = instanceid
|
2249
2381
|
@InstanceName = instancename
|
@@ -2255,6 +2387,7 @@ module TencentCloud
|
|
2255
2387
|
@Status = status
|
2256
2388
|
@CreatedTime = createdtime
|
2257
2389
|
@UpdatedTime = updatedtime
|
2390
|
+
@Tags = tags
|
2258
2391
|
end
|
2259
2392
|
|
2260
2393
|
def deserialize(params)
|
@@ -2269,6 +2402,14 @@ module TencentCloud
|
|
2269
2402
|
@Status = params['Status']
|
2270
2403
|
@CreatedTime = params['CreatedTime']
|
2271
2404
|
@UpdatedTime = params['UpdatedTime']
|
2405
|
+
unless params['Tags'].nil?
|
2406
|
+
@Tags = []
|
2407
|
+
params['Tags'].each do |i|
|
2408
|
+
tag_tmp = Tag.new
|
2409
|
+
tag_tmp.deserialize(i)
|
2410
|
+
@Tags << tag_tmp
|
2411
|
+
end
|
2412
|
+
end
|
2272
2413
|
end
|
2273
2414
|
end
|
2274
2415
|
|
@@ -2276,15 +2417,18 @@ module TencentCloud
|
|
2276
2417
|
class RunCommandRequest < TencentCloud::Common::AbstractModel
|
2277
2418
|
# @param Content: Base64编码后的命令内容,长度不可超过64KB。
|
2278
2419
|
# @type Content: String
|
2279
|
-
# @param InstanceIds: 待执行命令的实例ID列表,上限200
|
2280
|
-
|
2281
|
-
#
|
2420
|
+
# @param InstanceIds: 待执行命令的实例ID列表,上限200。
|
2421
|
+
|
2422
|
+
# 可通过对应云产品的查询实例接口获取实例 ID。目前支持实例类型:
|
2423
|
+
# - CVM
|
2424
|
+
# - Lighthouse
|
2425
|
+
# - TAT 托管实例
|
2282
2426
|
# @type InstanceIds: Array
|
2283
2427
|
# @param CommandName: 命令名称。名称仅支持中文、英文、数字、下划线、分隔符"-"、小数点,最大长度不能超60个字节。
|
2284
2428
|
# @type CommandName: String
|
2285
2429
|
# @param Description: 命令描述。不超过120字符。
|
2286
2430
|
# @type Description: String
|
2287
|
-
# @param CommandType: 命令类型,目前支持取值:SHELL、POWERSHELL。默认:SHELL。
|
2431
|
+
# @param CommandType: 命令类型,目前支持取值:SHELL、POWERSHELL、BAT。默认:SHELL。
|
2288
2432
|
# @type CommandType: String
|
2289
2433
|
# @param WorkingDirectory: 命令执行路径,对于 SHELL 命令默认为 /root,对于 POWERSHELL 命令默认为 C:\Program Files\qcloud\tat_agent\workdir。
|
2290
2434
|
# @type WorkingDirectory: String
|
@@ -2304,15 +2448,21 @@ module TencentCloud
|
|
2304
2448
|
# @type EnableParameter: Boolean
|
2305
2449
|
# @param DefaultParameters: 启用自定义参数功能时,自定义参数的默认取值。字段类型为json encoded string。如:{"varA": "222"}。
|
2306
2450
|
# key为自定义参数名称,value为该参数的默认取值。kv均为字符串型。
|
2451
|
+
# 仅在命令的 EnableParameter 为 true 时,才允许设置此参数。
|
2452
|
+
# 参数不支持同时指定 `DefaultParameters` 和 `DefaultParameterConfs` 。
|
2307
2453
|
# 如果 Parameters 未提供,将使用这里的默认值进行替换。
|
2308
2454
|
# 自定义参数最多20个。
|
2309
2455
|
# 自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
|
2310
2456
|
# @type DefaultParameters: String
|
2311
2457
|
# @param DefaultParameterConfs: 自定义参数数组。 如果 Parameters 未提供,将使用这里的默认值进行替换。 自定义参数最多20个。
|
2458
|
+
# 如果 Parameters 未提供,将使用这里的默认值进行替换。
|
2459
|
+
# 仅在命令的 EnableParameter 为 true 时,才允许设置此参数。
|
2460
|
+
# 参数不支持同时指定 `DefaultParameters` 和 `DefaultParameterConfs` 。
|
2312
2461
|
# @type DefaultParameterConfs: Array
|
2313
2462
|
# @param Parameters: Command 的自定义参数。字段类型为json encoded string。如:{"varA": "222"}。
|
2314
2463
|
# key为自定义参数名称,value为该参数的默认取值。kv均为字符串型。
|
2315
|
-
#
|
2464
|
+
# 仅在命令的 EnableParameter 为 true 时,才允许设置此参数。
|
2465
|
+
# 如果未提供该参数取值,将使用 DefaultParameters 或 DefaultParameterConfs 进行替换。
|
2316
2466
|
# 自定义参数最多20个。
|
2317
2467
|
# 自定义参数名称需符合以下规范:字符数目上限64,可选范围【a-zA-Z0-9-_】。
|
2318
2468
|
# @type Parameters: String
|
@@ -2415,10 +2565,12 @@ module TencentCloud
|
|
2415
2565
|
# @param SceneName: 场景名称。
|
2416
2566
|
# @type SceneName: String
|
2417
2567
|
# @param CreatedBy: 场景创建者。
|
2568
|
+
|
2569
|
+
# - TAT:公共场景
|
2418
2570
|
# @type CreatedBy: String
|
2419
|
-
# @param CreatedTime:
|
2571
|
+
# @param CreatedTime: 创建时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
2420
2572
|
# @type CreatedTime: String
|
2421
|
-
# @param UpdatedTime:
|
2573
|
+
# @param UpdatedTime: 更新时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
2422
2574
|
# @type UpdatedTime: String
|
2423
2575
|
|
2424
2576
|
attr_accessor :SceneId, :SceneName, :CreatedBy, :CreatedTime, :UpdatedTime
|
@@ -2443,12 +2595,16 @@ module TencentCloud
|
|
2443
2595
|
# 周期执行器设置。
|
2444
2596
|
class ScheduleSettings < TencentCloud::Common::AbstractModel
|
2445
2597
|
# @param Policy: 执行策略:
|
2446
|
-
#
|
2447
|
-
#
|
2598
|
+
# - ONCE:单次执行
|
2599
|
+
# - RECURRENCE:周期执行
|
2600
|
+
|
2601
|
+
# 只有在 CreateInvoker 时才必填,ModifyInvoker 时为非必填
|
2448
2602
|
# @type Policy: String
|
2449
2603
|
# @param Recurrence: 触发 Crontab 表达式。Policy 为 RECURRENCE 时,需要指定此字段。Crontab 按北京时间解析。
|
2450
2604
|
# @type Recurrence: String
|
2451
2605
|
# @param InvokeTime: 执行器下次执行时间。Policy 为 ONCE 时,需要指定此字段。
|
2606
|
+
|
2607
|
+
# 时间格式为:YYYY-MM-DDThh:mm:ssZ
|
2452
2608
|
# @type InvokeTime: String
|
2453
2609
|
|
2454
2610
|
attr_accessor :Policy, :Recurrence, :InvokeTime
|
@@ -2492,10 +2648,10 @@ module TencentCloud
|
|
2492
2648
|
# @type ExitCode: Integer
|
2493
2649
|
# @param Output: Base64编码后的命令输出。最大长度24KB。
|
2494
2650
|
# @type Output: String
|
2495
|
-
# @param ExecStartTime:
|
2651
|
+
# @param ExecStartTime: 命令执行开始时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
2496
2652
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2497
2653
|
# @type ExecStartTime: String
|
2498
|
-
# @param ExecEndTime:
|
2654
|
+
# @param ExecEndTime: 命令执行结束时间。格式为:YYYY-MM-DDThh:mm:ssZ
|
2499
2655
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2500
2656
|
# @type ExecEndTime: String
|
2501
2657
|
# @param Dropped: 命令最终输出被截断的字节数。
|
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.1014
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|