tencentcloud-sdk-tat 3.0.642 → 3.0.643
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201028/client.rb +168 -0
- data/lib/v20201028/models.rb +504 -2
- 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: 496972b67d11544068b5f22062a3df47ca33945c
|
4
|
+
data.tar.gz: 790c41e9b17633a13cddcb960c299356a8c1749d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9e2bd50f306a34705b96cada7af14579c1563bd6d313d7f1fca8d2b0ec56455c39003d3aee3f745637130c9bbc7dd7b23bc2a8c42a31ec7552332e0ad8b222f
|
7
|
+
data.tar.gz: afaceba9639115725054adf87c2080c6dc352be01d24950cfb1f337c638491f85ad6a79093f694efe66693c72053d7e29ce909867e7af905ae7eada2860e420f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.643
|
data/lib/v20201028/client.rb
CHANGED
@@ -104,6 +104,30 @@ module TencentCloud
|
|
104
104
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
105
105
|
end
|
106
106
|
|
107
|
+
# 接口用于创建注册码。
|
108
|
+
|
109
|
+
# @param request: Request instance for CreateRegisterCode.
|
110
|
+
# @type request: :class:`Tencentcloud::tat::V20201028::CreateRegisterCodeRequest`
|
111
|
+
# @rtype: :class:`Tencentcloud::tat::V20201028::CreateRegisterCodeResponse`
|
112
|
+
def CreateRegisterCode(request)
|
113
|
+
body = send_request('CreateRegisterCode', request.serialize)
|
114
|
+
response = JSON.parse(body)
|
115
|
+
if response['Response'].key?('Error') == false
|
116
|
+
model = CreateRegisterCodeResponse.new
|
117
|
+
model.deserialize(response['Response'])
|
118
|
+
model
|
119
|
+
else
|
120
|
+
code = response['Response']['Error']['Code']
|
121
|
+
message = response['Response']['Error']['Message']
|
122
|
+
reqid = response['Response']['RequestId']
|
123
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
124
|
+
end
|
125
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
126
|
+
raise e
|
127
|
+
rescue StandardError => e
|
128
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
129
|
+
end
|
130
|
+
|
107
131
|
# 此接口用于删除命令。
|
108
132
|
# 如果命令与执行器关联,则无法被删除。
|
109
133
|
|
@@ -153,6 +177,54 @@ module TencentCloud
|
|
153
177
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
154
178
|
end
|
155
179
|
|
180
|
+
# 此接口用于批量删除注册码。
|
181
|
+
|
182
|
+
# @param request: Request instance for DeleteRegisterCodes.
|
183
|
+
# @type request: :class:`Tencentcloud::tat::V20201028::DeleteRegisterCodesRequest`
|
184
|
+
# @rtype: :class:`Tencentcloud::tat::V20201028::DeleteRegisterCodesResponse`
|
185
|
+
def DeleteRegisterCodes(request)
|
186
|
+
body = send_request('DeleteRegisterCodes', request.serialize)
|
187
|
+
response = JSON.parse(body)
|
188
|
+
if response['Response'].key?('Error') == false
|
189
|
+
model = DeleteRegisterCodesResponse.new
|
190
|
+
model.deserialize(response['Response'])
|
191
|
+
model
|
192
|
+
else
|
193
|
+
code = response['Response']['Error']['Code']
|
194
|
+
message = response['Response']['Error']['Message']
|
195
|
+
reqid = response['Response']['RequestId']
|
196
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
197
|
+
end
|
198
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
199
|
+
raise e
|
200
|
+
rescue StandardError => e
|
201
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
202
|
+
end
|
203
|
+
|
204
|
+
# 接口用于删除托管实例。
|
205
|
+
|
206
|
+
# @param request: Request instance for DeleteRegisterInstance.
|
207
|
+
# @type request: :class:`Tencentcloud::tat::V20201028::DeleteRegisterInstanceRequest`
|
208
|
+
# @rtype: :class:`Tencentcloud::tat::V20201028::DeleteRegisterInstanceResponse`
|
209
|
+
def DeleteRegisterInstance(request)
|
210
|
+
body = send_request('DeleteRegisterInstance', request.serialize)
|
211
|
+
response = JSON.parse(body)
|
212
|
+
if response['Response'].key?('Error') == false
|
213
|
+
model = DeleteRegisterInstanceResponse.new
|
214
|
+
model.deserialize(response['Response'])
|
215
|
+
model
|
216
|
+
else
|
217
|
+
code = response['Response']['Error']['Code']
|
218
|
+
message = response['Response']['Error']['Message']
|
219
|
+
reqid = response['Response']['RequestId']
|
220
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
221
|
+
end
|
222
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
223
|
+
raise e
|
224
|
+
rescue StandardError => e
|
225
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
226
|
+
end
|
227
|
+
|
156
228
|
# 此接口用于查询自动化助手客户端的状态。
|
157
229
|
|
158
230
|
# @param request: Request instance for DescribeAutomationAgentStatus.
|
@@ -322,6 +394,54 @@ module TencentCloud
|
|
322
394
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
323
395
|
end
|
324
396
|
|
397
|
+
# 接口用于查询注册码信息。
|
398
|
+
|
399
|
+
# @param request: Request instance for DescribeRegisterCodes.
|
400
|
+
# @type request: :class:`Tencentcloud::tat::V20201028::DescribeRegisterCodesRequest`
|
401
|
+
# @rtype: :class:`Tencentcloud::tat::V20201028::DescribeRegisterCodesResponse`
|
402
|
+
def DescribeRegisterCodes(request)
|
403
|
+
body = send_request('DescribeRegisterCodes', request.serialize)
|
404
|
+
response = JSON.parse(body)
|
405
|
+
if response['Response'].key?('Error') == false
|
406
|
+
model = DescribeRegisterCodesResponse.new
|
407
|
+
model.deserialize(response['Response'])
|
408
|
+
model
|
409
|
+
else
|
410
|
+
code = response['Response']['Error']['Code']
|
411
|
+
message = response['Response']['Error']['Message']
|
412
|
+
reqid = response['Response']['RequestId']
|
413
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
414
|
+
end
|
415
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
416
|
+
raise e
|
417
|
+
rescue StandardError => e
|
418
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
419
|
+
end
|
420
|
+
|
421
|
+
# 接口用于查询被托管的实例信息。
|
422
|
+
|
423
|
+
# @param request: Request instance for DescribeRegisterInstances.
|
424
|
+
# @type request: :class:`Tencentcloud::tat::V20201028::DescribeRegisterInstancesRequest`
|
425
|
+
# @rtype: :class:`Tencentcloud::tat::V20201028::DescribeRegisterInstancesResponse`
|
426
|
+
def DescribeRegisterInstances(request)
|
427
|
+
body = send_request('DescribeRegisterInstances', request.serialize)
|
428
|
+
response = JSON.parse(body)
|
429
|
+
if response['Response'].key?('Error') == false
|
430
|
+
model = DescribeRegisterInstancesResponse.new
|
431
|
+
model.deserialize(response['Response'])
|
432
|
+
model
|
433
|
+
else
|
434
|
+
code = response['Response']['Error']['Code']
|
435
|
+
message = response['Response']['Error']['Message']
|
436
|
+
reqid = response['Response']['RequestId']
|
437
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
438
|
+
end
|
439
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
440
|
+
raise e
|
441
|
+
rescue StandardError => e
|
442
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
443
|
+
end
|
444
|
+
|
325
445
|
# 此接口用于停止执行器。
|
326
446
|
|
327
447
|
# @param request: Request instance for DisableInvoker.
|
@@ -346,6 +466,30 @@ module TencentCloud
|
|
346
466
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
347
467
|
end
|
348
468
|
|
469
|
+
# 此接口用于批量禁用注册码。
|
470
|
+
|
471
|
+
# @param request: Request instance for DisableRegisterCodes.
|
472
|
+
# @type request: :class:`Tencentcloud::tat::V20201028::DisableRegisterCodesRequest`
|
473
|
+
# @rtype: :class:`Tencentcloud::tat::V20201028::DisableRegisterCodesResponse`
|
474
|
+
def DisableRegisterCodes(request)
|
475
|
+
body = send_request('DisableRegisterCodes', request.serialize)
|
476
|
+
response = JSON.parse(body)
|
477
|
+
if response['Response'].key?('Error') == false
|
478
|
+
model = DisableRegisterCodesResponse.new
|
479
|
+
model.deserialize(response['Response'])
|
480
|
+
model
|
481
|
+
else
|
482
|
+
code = response['Response']['Error']['Code']
|
483
|
+
message = response['Response']['Error']['Message']
|
484
|
+
reqid = response['Response']['RequestId']
|
485
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
486
|
+
end
|
487
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
488
|
+
raise e
|
489
|
+
rescue StandardError => e
|
490
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
491
|
+
end
|
492
|
+
|
349
493
|
# 此接口用于启用执行器。
|
350
494
|
|
351
495
|
# @param request: Request instance for EnableInvoker.
|
@@ -448,6 +592,30 @@ module TencentCloud
|
|
448
592
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
449
593
|
end
|
450
594
|
|
595
|
+
# 接口用于修改托管实例信息。
|
596
|
+
|
597
|
+
# @param request: Request instance for ModifyRegisterInstance.
|
598
|
+
# @type request: :class:`Tencentcloud::tat::V20201028::ModifyRegisterInstanceRequest`
|
599
|
+
# @rtype: :class:`Tencentcloud::tat::V20201028::ModifyRegisterInstanceResponse`
|
600
|
+
def ModifyRegisterInstance(request)
|
601
|
+
body = send_request('ModifyRegisterInstance', request.serialize)
|
602
|
+
response = JSON.parse(body)
|
603
|
+
if response['Response'].key?('Error') == false
|
604
|
+
model = ModifyRegisterInstanceResponse.new
|
605
|
+
model.deserialize(response['Response'])
|
606
|
+
model
|
607
|
+
else
|
608
|
+
code = response['Response']['Error']['Code']
|
609
|
+
message = response['Response']['Error']['Message']
|
610
|
+
reqid = response['Response']['RequestId']
|
611
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
612
|
+
end
|
613
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
614
|
+
raise e
|
615
|
+
rescue StandardError => e
|
616
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
617
|
+
end
|
618
|
+
|
451
619
|
# 此接口用于预览自定义参数替换后的命令内容。不会触发真实执行。
|
452
620
|
|
453
621
|
# @param request: Request instance for PreviewReplacedCommandContent.
|
data/lib/v20201028/models.rb
CHANGED
@@ -119,6 +119,9 @@ module TencentCloud
|
|
119
119
|
# @type EnableParameter: Boolean
|
120
120
|
# @param DefaultParameters: 自定义参数的默认取值。
|
121
121
|
# @type DefaultParameters: String
|
122
|
+
# @param DefaultParameterConfs: 自定义参数的默认取值。
|
123
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
124
|
+
# @type DefaultParameterConfs: Array
|
122
125
|
# @param FormattedDescription: 命令的结构化描述。公共命令有值,用户命令为空字符串。
|
123
126
|
# @type FormattedDescription: String
|
124
127
|
# @param CreatedBy: 命令创建者。TAT 代表公共命令,USER 代表个人命令。
|
@@ -132,9 +135,9 @@ module TencentCloud
|
|
132
135
|
# @param OutputCOSKeyPrefix: 日志在cos bucket中的目录。
|
133
136
|
# @type OutputCOSKeyPrefix: String
|
134
137
|
|
135
|
-
attr_accessor :CommandId, :CommandName, :Description, :Content, :CommandType, :WorkingDirectory, :Timeout, :CreatedTime, :UpdatedTime, :EnableParameter, :DefaultParameters, :FormattedDescription, :CreatedBy, :Tags, :Username, :OutputCOSBucketUrl, :OutputCOSKeyPrefix
|
138
|
+
attr_accessor :CommandId, :CommandName, :Description, :Content, :CommandType, :WorkingDirectory, :Timeout, :CreatedTime, :UpdatedTime, :EnableParameter, :DefaultParameters, :DefaultParameterConfs, :FormattedDescription, :CreatedBy, :Tags, :Username, :OutputCOSBucketUrl, :OutputCOSKeyPrefix
|
136
139
|
|
137
|
-
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)
|
140
|
+
def initialize(commandid=nil, commandname=nil, description=nil, content=nil, commandtype=nil, workingdirectory=nil, timeout=nil, createdtime=nil, updatedtime=nil, enableparameter=nil, defaultparameters=nil, defaultparameterconfs=nil, formatteddescription=nil, createdby=nil, tags=nil, username=nil, outputcosbucketurl=nil, outputcoskeyprefix=nil)
|
138
141
|
@CommandId = commandid
|
139
142
|
@CommandName = commandname
|
140
143
|
@Description = description
|
@@ -146,6 +149,7 @@ module TencentCloud
|
|
146
149
|
@UpdatedTime = updatedtime
|
147
150
|
@EnableParameter = enableparameter
|
148
151
|
@DefaultParameters = defaultparameters
|
152
|
+
@DefaultParameterConfs = defaultparameterconfs
|
149
153
|
@FormattedDescription = formatteddescription
|
150
154
|
@CreatedBy = createdby
|
151
155
|
@Tags = tags
|
@@ -166,6 +170,14 @@ module TencentCloud
|
|
166
170
|
@UpdatedTime = params['UpdatedTime']
|
167
171
|
@EnableParameter = params['EnableParameter']
|
168
172
|
@DefaultParameters = params['DefaultParameters']
|
173
|
+
unless params['DefaultParameterConfs'].nil?
|
174
|
+
@DefaultParameterConfs = []
|
175
|
+
params['DefaultParameterConfs'].each do |i|
|
176
|
+
defaultparameterconf_tmp = DefaultParameterConf.new
|
177
|
+
defaultparameterconf_tmp.deserialize(i)
|
178
|
+
@DefaultParameterConfs << defaultparameterconf_tmp
|
179
|
+
end
|
180
|
+
end
|
169
181
|
@FormattedDescription = params['FormattedDescription']
|
170
182
|
@CreatedBy = params['CreatedBy']
|
171
183
|
unless params['Tags'].nil?
|
@@ -382,6 +394,89 @@ module TencentCloud
|
|
382
394
|
end
|
383
395
|
end
|
384
396
|
|
397
|
+
# CreateRegisterCode请求参数结构体
|
398
|
+
class CreateRegisterCodeRequest < TencentCloud::Common::AbstractModel
|
399
|
+
# @param Description: 注册码描述。
|
400
|
+
# @type Description: String
|
401
|
+
# @param InstanceNamePrefix: 注册实列名称前缀。
|
402
|
+
# @type InstanceNamePrefix: String
|
403
|
+
# @param RegisterLimit: 该注册码允许注册的实列数目。默认限制为10个。
|
404
|
+
# @type RegisterLimit: Integer
|
405
|
+
# @param EffectiveTime: 该注册码的有效时间,单位为小时。默认为4小时。
|
406
|
+
# @type EffectiveTime: Integer
|
407
|
+
# @param IpAddressRange: 该注册码限制tat_agent只能从IpAddressRange所描述公网出口进行注册。默认不做限制。
|
408
|
+
# @type IpAddressRange: String
|
409
|
+
|
410
|
+
attr_accessor :Description, :InstanceNamePrefix, :RegisterLimit, :EffectiveTime, :IpAddressRange
|
411
|
+
|
412
|
+
def initialize(description=nil, instancenameprefix=nil, registerlimit=nil, effectivetime=nil, ipaddressrange=nil)
|
413
|
+
@Description = description
|
414
|
+
@InstanceNamePrefix = instancenameprefix
|
415
|
+
@RegisterLimit = registerlimit
|
416
|
+
@EffectiveTime = effectivetime
|
417
|
+
@IpAddressRange = ipaddressrange
|
418
|
+
end
|
419
|
+
|
420
|
+
def deserialize(params)
|
421
|
+
@Description = params['Description']
|
422
|
+
@InstanceNamePrefix = params['InstanceNamePrefix']
|
423
|
+
@RegisterLimit = params['RegisterLimit']
|
424
|
+
@EffectiveTime = params['EffectiveTime']
|
425
|
+
@IpAddressRange = params['IpAddressRange']
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
429
|
+
# CreateRegisterCode返回参数结构体
|
430
|
+
class CreateRegisterCodeResponse < TencentCloud::Common::AbstractModel
|
431
|
+
# @param RegisterCodeId: 注册码ID。
|
432
|
+
# @type RegisterCodeId: String
|
433
|
+
# @param RegisterCodeValue: 注册码值。
|
434
|
+
# @type RegisterCodeValue: String
|
435
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
436
|
+
# @type RequestId: String
|
437
|
+
|
438
|
+
attr_accessor :RegisterCodeId, :RegisterCodeValue, :RequestId
|
439
|
+
|
440
|
+
def initialize(registercodeid=nil, registercodevalue=nil, requestid=nil)
|
441
|
+
@RegisterCodeId = registercodeid
|
442
|
+
@RegisterCodeValue = registercodevalue
|
443
|
+
@RequestId = requestid
|
444
|
+
end
|
445
|
+
|
446
|
+
def deserialize(params)
|
447
|
+
@RegisterCodeId = params['RegisterCodeId']
|
448
|
+
@RegisterCodeValue = params['RegisterCodeValue']
|
449
|
+
@RequestId = params['RequestId']
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
# 自定义参数。
|
454
|
+
class DefaultParameterConf < TencentCloud::Common::AbstractModel
|
455
|
+
# @param ParameterName: 参数名。
|
456
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
457
|
+
# @type ParameterName: String
|
458
|
+
# @param ParameterValue: 参数默认值。
|
459
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
460
|
+
# @type ParameterValue: String
|
461
|
+
# @param ParameterDescription: 参数描述。
|
462
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
463
|
+
# @type ParameterDescription: String
|
464
|
+
|
465
|
+
attr_accessor :ParameterName, :ParameterValue, :ParameterDescription
|
466
|
+
|
467
|
+
def initialize(parametername=nil, parametervalue=nil, parameterdescription=nil)
|
468
|
+
@ParameterName = parametername
|
469
|
+
@ParameterValue = parametervalue
|
470
|
+
@ParameterDescription = parameterdescription
|
471
|
+
end
|
472
|
+
|
473
|
+
def deserialize(params)
|
474
|
+
@ParameterName = params['ParameterName']
|
475
|
+
@ParameterValue = params['ParameterValue']
|
476
|
+
@ParameterDescription = params['ParameterDescription']
|
477
|
+
end
|
478
|
+
end
|
479
|
+
|
385
480
|
# DeleteCommand请求参数结构体
|
386
481
|
class DeleteCommandRequest < TencentCloud::Common::AbstractModel
|
387
482
|
# @param CommandId: 待删除的命令ID。
|
@@ -446,6 +541,70 @@ module TencentCloud
|
|
446
541
|
end
|
447
542
|
end
|
448
543
|
|
544
|
+
# DeleteRegisterCodes请求参数结构体
|
545
|
+
class DeleteRegisterCodesRequest < TencentCloud::Common::AbstractModel
|
546
|
+
# @param RegisterCodeIds: 注册码ID列表。限制输入的注册码ID数量大于0小于100。
|
547
|
+
# @type RegisterCodeIds: Array
|
548
|
+
|
549
|
+
attr_accessor :RegisterCodeIds
|
550
|
+
|
551
|
+
def initialize(registercodeids=nil)
|
552
|
+
@RegisterCodeIds = registercodeids
|
553
|
+
end
|
554
|
+
|
555
|
+
def deserialize(params)
|
556
|
+
@RegisterCodeIds = params['RegisterCodeIds']
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
560
|
+
# DeleteRegisterCodes返回参数结构体
|
561
|
+
class DeleteRegisterCodesResponse < TencentCloud::Common::AbstractModel
|
562
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
563
|
+
# @type RequestId: String
|
564
|
+
|
565
|
+
attr_accessor :RequestId
|
566
|
+
|
567
|
+
def initialize(requestid=nil)
|
568
|
+
@RequestId = requestid
|
569
|
+
end
|
570
|
+
|
571
|
+
def deserialize(params)
|
572
|
+
@RequestId = params['RequestId']
|
573
|
+
end
|
574
|
+
end
|
575
|
+
|
576
|
+
# DeleteRegisterInstance请求参数结构体
|
577
|
+
class DeleteRegisterInstanceRequest < TencentCloud::Common::AbstractModel
|
578
|
+
# @param InstanceId: 实例ID。
|
579
|
+
# @type InstanceId: String
|
580
|
+
|
581
|
+
attr_accessor :InstanceId
|
582
|
+
|
583
|
+
def initialize(instanceid=nil)
|
584
|
+
@InstanceId = instanceid
|
585
|
+
end
|
586
|
+
|
587
|
+
def deserialize(params)
|
588
|
+
@InstanceId = params['InstanceId']
|
589
|
+
end
|
590
|
+
end
|
591
|
+
|
592
|
+
# DeleteRegisterInstance返回参数结构体
|
593
|
+
class DeleteRegisterInstanceResponse < TencentCloud::Common::AbstractModel
|
594
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
595
|
+
# @type RequestId: String
|
596
|
+
|
597
|
+
attr_accessor :RequestId
|
598
|
+
|
599
|
+
def initialize(requestid=nil)
|
600
|
+
@RequestId = requestid
|
601
|
+
end
|
602
|
+
|
603
|
+
def deserialize(params)
|
604
|
+
@RequestId = params['RequestId']
|
605
|
+
end
|
606
|
+
end
|
607
|
+
|
449
608
|
# DescribeAutomationAgentStatus请求参数结构体
|
450
609
|
class DescribeAutomationAgentStatusRequest < TencentCloud::Common::AbstractModel
|
451
610
|
# @param InstanceIds: 待查询的实例ID列表。
|
@@ -894,6 +1053,146 @@ module TencentCloud
|
|
894
1053
|
end
|
895
1054
|
end
|
896
1055
|
|
1056
|
+
# DescribeRegisterCodes请求参数结构体
|
1057
|
+
class DescribeRegisterCodesRequest < TencentCloud::Common::AbstractModel
|
1058
|
+
# @param RegisterCodeIds: 注册码ID。
|
1059
|
+
# @type RegisterCodeIds: Array
|
1060
|
+
# @param Offset: 偏移量,默认为 0。
|
1061
|
+
# @type Offset: Integer
|
1062
|
+
# @param Limit: 返回数量,默认为 20,最大值为 100。
|
1063
|
+
# @type Limit: Integer
|
1064
|
+
|
1065
|
+
attr_accessor :RegisterCodeIds, :Offset, :Limit
|
1066
|
+
|
1067
|
+
def initialize(registercodeids=nil, offset=nil, limit=nil)
|
1068
|
+
@RegisterCodeIds = registercodeids
|
1069
|
+
@Offset = offset
|
1070
|
+
@Limit = limit
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
def deserialize(params)
|
1074
|
+
@RegisterCodeIds = params['RegisterCodeIds']
|
1075
|
+
@Offset = params['Offset']
|
1076
|
+
@Limit = params['Limit']
|
1077
|
+
end
|
1078
|
+
end
|
1079
|
+
|
1080
|
+
# DescribeRegisterCodes返回参数结构体
|
1081
|
+
class DescribeRegisterCodesResponse < TencentCloud::Common::AbstractModel
|
1082
|
+
# @param TotalCount: 查询到的注册码总数。
|
1083
|
+
# @type TotalCount: Integer
|
1084
|
+
# @param RegisterCodeSet: 注册码信息列表。
|
1085
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1086
|
+
# @type RegisterCodeSet: Array
|
1087
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1088
|
+
# @type RequestId: String
|
1089
|
+
|
1090
|
+
attr_accessor :TotalCount, :RegisterCodeSet, :RequestId
|
1091
|
+
|
1092
|
+
def initialize(totalcount=nil, registercodeset=nil, requestid=nil)
|
1093
|
+
@TotalCount = totalcount
|
1094
|
+
@RegisterCodeSet = registercodeset
|
1095
|
+
@RequestId = requestid
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
def deserialize(params)
|
1099
|
+
@TotalCount = params['TotalCount']
|
1100
|
+
unless params['RegisterCodeSet'].nil?
|
1101
|
+
@RegisterCodeSet = []
|
1102
|
+
params['RegisterCodeSet'].each do |i|
|
1103
|
+
registercodeinfo_tmp = RegisterCodeInfo.new
|
1104
|
+
registercodeinfo_tmp.deserialize(i)
|
1105
|
+
@RegisterCodeSet << registercodeinfo_tmp
|
1106
|
+
end
|
1107
|
+
end
|
1108
|
+
@RequestId = params['RequestId']
|
1109
|
+
end
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
# DescribeRegisterInstances请求参数结构体
|
1113
|
+
class DescribeRegisterInstancesRequest < TencentCloud::Common::AbstractModel
|
1114
|
+
# @param InstanceIds: 实例id。
|
1115
|
+
# @type InstanceIds: Array
|
1116
|
+
# @param Filters: 过滤器列表。
|
1117
|
+
|
1118
|
+
# - instance-name
|
1119
|
+
|
1120
|
+
# 按照【实例名称】进行过滤。
|
1121
|
+
# 类型:String
|
1122
|
+
# 必选:否
|
1123
|
+
|
1124
|
+
# - instance-id
|
1125
|
+
|
1126
|
+
# 按照【实例ID】进行过滤。
|
1127
|
+
# 类型:String
|
1128
|
+
# 必选:否
|
1129
|
+
|
1130
|
+
# - register-code-id
|
1131
|
+
|
1132
|
+
# 按照【注册码ID】进行过滤。
|
1133
|
+
# 类型:String
|
1134
|
+
# 必选:否
|
1135
|
+
# @type Filters: Array
|
1136
|
+
# @param Offset: 偏移量,默认为 0。
|
1137
|
+
# @type Offset: Integer
|
1138
|
+
# @param Limit: 返回数量,默认为 20,最大值为 100。
|
1139
|
+
# @type Limit: Integer
|
1140
|
+
|
1141
|
+
attr_accessor :InstanceIds, :Filters, :Offset, :Limit
|
1142
|
+
|
1143
|
+
def initialize(instanceids=nil, filters=nil, offset=nil, limit=nil)
|
1144
|
+
@InstanceIds = instanceids
|
1145
|
+
@Filters = filters
|
1146
|
+
@Offset = offset
|
1147
|
+
@Limit = limit
|
1148
|
+
end
|
1149
|
+
|
1150
|
+
def deserialize(params)
|
1151
|
+
@InstanceIds = params['InstanceIds']
|
1152
|
+
unless params['Filters'].nil?
|
1153
|
+
@Filters = []
|
1154
|
+
params['Filters'].each do |i|
|
1155
|
+
filter_tmp = Filter.new
|
1156
|
+
filter_tmp.deserialize(i)
|
1157
|
+
@Filters << filter_tmp
|
1158
|
+
end
|
1159
|
+
end
|
1160
|
+
@Offset = params['Offset']
|
1161
|
+
@Limit = params['Limit']
|
1162
|
+
end
|
1163
|
+
end
|
1164
|
+
|
1165
|
+
# DescribeRegisterInstances返回参数结构体
|
1166
|
+
class DescribeRegisterInstancesResponse < TencentCloud::Common::AbstractModel
|
1167
|
+
# @param TotalCount: 该实例注册过的注册码总数。
|
1168
|
+
# @type TotalCount: Integer
|
1169
|
+
# @param RegisterInstanceSet: 被托管的实例信息的列表。
|
1170
|
+
# @type RegisterInstanceSet: Array
|
1171
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1172
|
+
# @type RequestId: String
|
1173
|
+
|
1174
|
+
attr_accessor :TotalCount, :RegisterInstanceSet, :RequestId
|
1175
|
+
|
1176
|
+
def initialize(totalcount=nil, registerinstanceset=nil, requestid=nil)
|
1177
|
+
@TotalCount = totalcount
|
1178
|
+
@RegisterInstanceSet = registerinstanceset
|
1179
|
+
@RequestId = requestid
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
def deserialize(params)
|
1183
|
+
@TotalCount = params['TotalCount']
|
1184
|
+
unless params['RegisterInstanceSet'].nil?
|
1185
|
+
@RegisterInstanceSet = []
|
1186
|
+
params['RegisterInstanceSet'].each do |i|
|
1187
|
+
registerinstanceinfo_tmp = RegisterInstanceInfo.new
|
1188
|
+
registerinstanceinfo_tmp.deserialize(i)
|
1189
|
+
@RegisterInstanceSet << registerinstanceinfo_tmp
|
1190
|
+
end
|
1191
|
+
end
|
1192
|
+
@RequestId = params['RequestId']
|
1193
|
+
end
|
1194
|
+
end
|
1195
|
+
|
897
1196
|
# DisableInvoker请求参数结构体
|
898
1197
|
class DisableInvokerRequest < TencentCloud::Common::AbstractModel
|
899
1198
|
# @param InvokerId: 待停止的执行器ID。
|
@@ -926,6 +1225,38 @@ module TencentCloud
|
|
926
1225
|
end
|
927
1226
|
end
|
928
1227
|
|
1228
|
+
# DisableRegisterCodes请求参数结构体
|
1229
|
+
class DisableRegisterCodesRequest < TencentCloud::Common::AbstractModel
|
1230
|
+
# @param RegisterCodeIds: 注册码ID。
|
1231
|
+
# @type RegisterCodeIds: Array
|
1232
|
+
|
1233
|
+
attr_accessor :RegisterCodeIds
|
1234
|
+
|
1235
|
+
def initialize(registercodeids=nil)
|
1236
|
+
@RegisterCodeIds = registercodeids
|
1237
|
+
end
|
1238
|
+
|
1239
|
+
def deserialize(params)
|
1240
|
+
@RegisterCodeIds = params['RegisterCodeIds']
|
1241
|
+
end
|
1242
|
+
end
|
1243
|
+
|
1244
|
+
# DisableRegisterCodes返回参数结构体
|
1245
|
+
class DisableRegisterCodesResponse < TencentCloud::Common::AbstractModel
|
1246
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1247
|
+
# @type RequestId: String
|
1248
|
+
|
1249
|
+
attr_accessor :RequestId
|
1250
|
+
|
1251
|
+
def initialize(requestid=nil)
|
1252
|
+
@RequestId = requestid
|
1253
|
+
end
|
1254
|
+
|
1255
|
+
def deserialize(params)
|
1256
|
+
@RequestId = params['RequestId']
|
1257
|
+
end
|
1258
|
+
end
|
1259
|
+
|
929
1260
|
# EnableInvoker请求参数结构体
|
930
1261
|
class EnableInvokerRequest < TencentCloud::Common::AbstractModel
|
931
1262
|
# @param InvokerId: 待启用的执行器ID。
|
@@ -1522,6 +1853,42 @@ module TencentCloud
|
|
1522
1853
|
end
|
1523
1854
|
end
|
1524
1855
|
|
1856
|
+
# ModifyRegisterInstance请求参数结构体
|
1857
|
+
class ModifyRegisterInstanceRequest < TencentCloud::Common::AbstractModel
|
1858
|
+
# @param InstanceId: 实例ID。
|
1859
|
+
# @type InstanceId: String
|
1860
|
+
# @param InstanceName: 实例名。
|
1861
|
+
# @type InstanceName: String
|
1862
|
+
|
1863
|
+
attr_accessor :InstanceId, :InstanceName
|
1864
|
+
|
1865
|
+
def initialize(instanceid=nil, instancename=nil)
|
1866
|
+
@InstanceId = instanceid
|
1867
|
+
@InstanceName = instancename
|
1868
|
+
end
|
1869
|
+
|
1870
|
+
def deserialize(params)
|
1871
|
+
@InstanceId = params['InstanceId']
|
1872
|
+
@InstanceName = params['InstanceName']
|
1873
|
+
end
|
1874
|
+
end
|
1875
|
+
|
1876
|
+
# ModifyRegisterInstance返回参数结构体
|
1877
|
+
class ModifyRegisterInstanceResponse < TencentCloud::Common::AbstractModel
|
1878
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1879
|
+
# @type RequestId: String
|
1880
|
+
|
1881
|
+
attr_accessor :RequestId
|
1882
|
+
|
1883
|
+
def initialize(requestid=nil)
|
1884
|
+
@RequestId = requestid
|
1885
|
+
end
|
1886
|
+
|
1887
|
+
def deserialize(params)
|
1888
|
+
@RequestId = params['RequestId']
|
1889
|
+
end
|
1890
|
+
end
|
1891
|
+
|
1525
1892
|
# PreviewReplacedCommandContent请求参数结构体
|
1526
1893
|
class PreviewReplacedCommandContentRequest < TencentCloud::Common::AbstractModel
|
1527
1894
|
# @param Parameters: 本次预览采用的自定义参数。字段类型为 json encoded string,如:{\"varA\": \"222\"}。
|
@@ -1596,6 +1963,141 @@ module TencentCloud
|
|
1596
1963
|
end
|
1597
1964
|
end
|
1598
1965
|
|
1966
|
+
# 注册码信息。
|
1967
|
+
class RegisterCodeInfo < TencentCloud::Common::AbstractModel
|
1968
|
+
# @param RegisterCodeId: 注册码ID。
|
1969
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1970
|
+
# @type RegisterCodeId: String
|
1971
|
+
# @param Description: 注册码描述。
|
1972
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1973
|
+
# @type Description: String
|
1974
|
+
# @param InstanceNamePrefix: 注册实例名称前缀。
|
1975
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1976
|
+
# @type InstanceNamePrefix: String
|
1977
|
+
# @param RegisterLimit: 该注册码允许注册的实列数目。
|
1978
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1979
|
+
# @type RegisterLimit: Integer
|
1980
|
+
# @param ExpiredTime: 该注册码的过期时间,按照 ISO8601 标准表示,并且使用 UTC 时间。
|
1981
|
+
# 格式为: YYYY-MM-DDThh:mm:ssZ。
|
1982
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1983
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1984
|
+
# @type ExpiredTime: String
|
1985
|
+
# @param IpAddressRange: 该注册码限制tat_agent只能从IpAddressRange所描述公网出口进行注册。
|
1986
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1987
|
+
# @type IpAddressRange: String
|
1988
|
+
# @param Enabled: 该注册码是否可用。
|
1989
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1990
|
+
# @type Enabled: Boolean
|
1991
|
+
# @param RegisteredCount: 该注册码已注册数目。
|
1992
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1993
|
+
# @type RegisteredCount: Integer
|
1994
|
+
# @param CreatedTime: 注册码创建时间,按照 ISO8601 标准表示,并且使用 UTC 时间。
|
1995
|
+
# 格式为: YYYY-MM-DDThh:mm:ssZ。
|
1996
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1997
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1998
|
+
# @type CreatedTime: String
|
1999
|
+
# @param UpdatedTime: 注册码最近一次更新时间,按照 ISO8601 标准表示,并且使用 UTC 时间。
|
2000
|
+
# 格式为: YYYY-MM-DDThh:mm:ssZ。
|
2001
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2002
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2003
|
+
# @type UpdatedTime: String
|
2004
|
+
|
2005
|
+
attr_accessor :RegisterCodeId, :Description, :InstanceNamePrefix, :RegisterLimit, :ExpiredTime, :IpAddressRange, :Enabled, :RegisteredCount, :CreatedTime, :UpdatedTime
|
2006
|
+
|
2007
|
+
def initialize(registercodeid=nil, description=nil, instancenameprefix=nil, registerlimit=nil, expiredtime=nil, ipaddressrange=nil, enabled=nil, registeredcount=nil, createdtime=nil, updatedtime=nil)
|
2008
|
+
@RegisterCodeId = registercodeid
|
2009
|
+
@Description = description
|
2010
|
+
@InstanceNamePrefix = instancenameprefix
|
2011
|
+
@RegisterLimit = registerlimit
|
2012
|
+
@ExpiredTime = expiredtime
|
2013
|
+
@IpAddressRange = ipaddressrange
|
2014
|
+
@Enabled = enabled
|
2015
|
+
@RegisteredCount = registeredcount
|
2016
|
+
@CreatedTime = createdtime
|
2017
|
+
@UpdatedTime = updatedtime
|
2018
|
+
end
|
2019
|
+
|
2020
|
+
def deserialize(params)
|
2021
|
+
@RegisterCodeId = params['RegisterCodeId']
|
2022
|
+
@Description = params['Description']
|
2023
|
+
@InstanceNamePrefix = params['InstanceNamePrefix']
|
2024
|
+
@RegisterLimit = params['RegisterLimit']
|
2025
|
+
@ExpiredTime = params['ExpiredTime']
|
2026
|
+
@IpAddressRange = params['IpAddressRange']
|
2027
|
+
@Enabled = params['Enabled']
|
2028
|
+
@RegisteredCount = params['RegisteredCount']
|
2029
|
+
@CreatedTime = params['CreatedTime']
|
2030
|
+
@UpdatedTime = params['UpdatedTime']
|
2031
|
+
end
|
2032
|
+
end
|
2033
|
+
|
2034
|
+
# 注册实例信息。
|
2035
|
+
class RegisterInstanceInfo < TencentCloud::Common::AbstractModel
|
2036
|
+
# @param RegisterCodeId: 注册码ID。
|
2037
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2038
|
+
# @type RegisterCodeId: String
|
2039
|
+
# @param InstanceId: 实例ID。
|
2040
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2041
|
+
# @type InstanceId: String
|
2042
|
+
# @param InstanceName: 实例名。
|
2043
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2044
|
+
# @type InstanceName: String
|
2045
|
+
# @param MachineId: 机器ID。
|
2046
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2047
|
+
# @type MachineId: String
|
2048
|
+
# @param SystemName: 系统名。
|
2049
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2050
|
+
# @type SystemName: String
|
2051
|
+
# @param HostName: 主机IP。
|
2052
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2053
|
+
# @type HostName: String
|
2054
|
+
# @param LocalIp: 内网IP。
|
2055
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2056
|
+
# @type LocalIp: String
|
2057
|
+
# @param PublicKey: 公钥。
|
2058
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2059
|
+
# @type PublicKey: String
|
2060
|
+
# @param Status: 托管状态。
|
2061
|
+
# 返回Online表示实例正在托管,返回Offline表示实例未托管。
|
2062
|
+
# @type Status: String
|
2063
|
+
# @param CreatedTime: 创建时间。
|
2064
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2065
|
+
# @type CreatedTime: String
|
2066
|
+
# @param UpdatedTime: 上次更新时间。
|
2067
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2068
|
+
# @type UpdatedTime: String
|
2069
|
+
|
2070
|
+
attr_accessor :RegisterCodeId, :InstanceId, :InstanceName, :MachineId, :SystemName, :HostName, :LocalIp, :PublicKey, :Status, :CreatedTime, :UpdatedTime
|
2071
|
+
|
2072
|
+
def initialize(registercodeid=nil, instanceid=nil, instancename=nil, machineid=nil, systemname=nil, hostname=nil, localip=nil, publickey=nil, status=nil, createdtime=nil, updatedtime=nil)
|
2073
|
+
@RegisterCodeId = registercodeid
|
2074
|
+
@InstanceId = instanceid
|
2075
|
+
@InstanceName = instancename
|
2076
|
+
@MachineId = machineid
|
2077
|
+
@SystemName = systemname
|
2078
|
+
@HostName = hostname
|
2079
|
+
@LocalIp = localip
|
2080
|
+
@PublicKey = publickey
|
2081
|
+
@Status = status
|
2082
|
+
@CreatedTime = createdtime
|
2083
|
+
@UpdatedTime = updatedtime
|
2084
|
+
end
|
2085
|
+
|
2086
|
+
def deserialize(params)
|
2087
|
+
@RegisterCodeId = params['RegisterCodeId']
|
2088
|
+
@InstanceId = params['InstanceId']
|
2089
|
+
@InstanceName = params['InstanceName']
|
2090
|
+
@MachineId = params['MachineId']
|
2091
|
+
@SystemName = params['SystemName']
|
2092
|
+
@HostName = params['HostName']
|
2093
|
+
@LocalIp = params['LocalIp']
|
2094
|
+
@PublicKey = params['PublicKey']
|
2095
|
+
@Status = params['Status']
|
2096
|
+
@CreatedTime = params['CreatedTime']
|
2097
|
+
@UpdatedTime = params['UpdatedTime']
|
2098
|
+
end
|
2099
|
+
end
|
2100
|
+
|
1599
2101
|
# RunCommand请求参数结构体
|
1600
2102
|
class RunCommandRequest < TencentCloud::Common::AbstractModel
|
1601
2103
|
# @param Content: Base64编码后的命令内容,长度不可超过64KB。
|
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.643
|
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-08-
|
11
|
+
date: 2023-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|