tencentcloud-sdk-ags 3.0.1186 → 3.0.1201

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1284798a8de6203cd18783c78f0f149cedec2a37
4
- data.tar.gz: 9d6ebb4f93d368b9e16dc321a1735c70bdbd1a57
3
+ metadata.gz: 2c77c9673191c1208a74fe48ddcee823a11e8fef
4
+ data.tar.gz: 4fa807729630edd3e5d993332b98516d85391606
5
5
  SHA512:
6
- metadata.gz: 6d8ed7e84026371747b58a3e70a8a9c0abd2f35be4ffebb227071543a7128acbe9d1feed295fc8c4adf5c6a3d0a48485ce3ca04dc24ce30a24944074e547e9e3
7
- data.tar.gz: 99e0cc6ef5bda24c340e3c25d9cf0cb15de4a682a41f86bc912d476615a157da6307f5411d2bb1334a2ab2ca7c34b2e6e0254b1567163333f8fe3201988a49c4
6
+ metadata.gz: 132b8af5bff1743a032549a174df1b2c8d11b40baa34c1e29d811a4a810ac9b8cbafc522e386a75daee1b88ad620317fd12459a6f238b1aae8f0909bb1d8038e
7
+ data.tar.gz: 189f2da272fc655cea676def7d0c8de1aa10c04557dc0d7686774af57d6015c31f085ebf37fcc926297b60ff135a0c40b97238dd4de2c16e6416789f1bcc9dc3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1186
1
+ 3.0.1201
@@ -78,6 +78,30 @@ module TencentCloud
78
78
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
79
79
  end
80
80
 
81
+ # 创建镜像预热任务
82
+
83
+ # @param request: Request instance for CreatePreCacheImageTask.
84
+ # @type request: :class:`Tencentcloud::ags::V20250920::CreatePreCacheImageTaskRequest`
85
+ # @rtype: :class:`Tencentcloud::ags::V20250920::CreatePreCacheImageTaskResponse`
86
+ def CreatePreCacheImageTask(request)
87
+ body = send_request('CreatePreCacheImageTask', request.serialize)
88
+ response = JSON.parse(body)
89
+ if response['Response'].key?('Error') == false
90
+ model = CreatePreCacheImageTaskResponse.new
91
+ model.deserialize(response['Response'])
92
+ model
93
+ else
94
+ code = response['Response']['Error']['Code']
95
+ message = response['Response']['Error']['Message']
96
+ reqid = response['Response']['RequestId']
97
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
98
+ end
99
+ rescue TencentCloud::Common::TencentCloudSDKException => e
100
+ raise e
101
+ rescue StandardError => e
102
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
103
+ end
104
+
81
105
  # 创建沙箱工具
82
106
 
83
107
  # @param request: Request instance for CreateSandboxTool.
@@ -174,6 +198,30 @@ module TencentCloud
174
198
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
175
199
  end
176
200
 
201
+ # 查询镜像预热任务信息
202
+
203
+ # @param request: Request instance for DescribePreCacheImageTask.
204
+ # @type request: :class:`Tencentcloud::ags::V20250920::DescribePreCacheImageTaskRequest`
205
+ # @rtype: :class:`Tencentcloud::ags::V20250920::DescribePreCacheImageTaskResponse`
206
+ def DescribePreCacheImageTask(request)
207
+ body = send_request('DescribePreCacheImageTask', request.serialize)
208
+ response = JSON.parse(body)
209
+ if response['Response'].key?('Error') == false
210
+ model = DescribePreCacheImageTaskResponse.new
211
+ model.deserialize(response['Response'])
212
+ model
213
+ else
214
+ code = response['Response']['Error']['Code']
215
+ message = response['Response']['Error']['Message']
216
+ reqid = response['Response']['RequestId']
217
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
218
+ end
219
+ rescue TencentCloud::Common::TencentCloudSDKException => e
220
+ raise e
221
+ rescue StandardError => e
222
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
223
+ end
224
+
177
225
  # 查询沙箱实例列表
178
226
 
179
227
  # @param request: Request instance for DescribeSandboxInstanceList.
@@ -157,11 +157,59 @@ module TencentCloud
157
157
  end
158
158
  end
159
159
 
160
+ # CreatePreCacheImageTask请求参数结构体
161
+ class CreatePreCacheImageTaskRequest < TencentCloud::Common::AbstractModel
162
+ # @param Image: 镜像地址
163
+ # @type Image: String
164
+ # @param ImageRegistryType: 镜像仓库类型:`enterprise`、`personal`。
165
+ # @type ImageRegistryType: String
166
+
167
+ attr_accessor :Image, :ImageRegistryType
168
+
169
+ def initialize(image=nil, imageregistrytype=nil)
170
+ @Image = image
171
+ @ImageRegistryType = imageregistrytype
172
+ end
173
+
174
+ def deserialize(params)
175
+ @Image = params['Image']
176
+ @ImageRegistryType = params['ImageRegistryType']
177
+ end
178
+ end
179
+
180
+ # CreatePreCacheImageTask返回参数结构体
181
+ class CreatePreCacheImageTaskResponse < TencentCloud::Common::AbstractModel
182
+ # @param Image: 镜像地址
183
+ # @type Image: String
184
+ # @param ImageDigest: 镜像 Digest
185
+ # @type ImageDigest: String
186
+ # @param ImageRegistryType: 镜像仓库类型:`enterprise`、`personal`。
187
+ # @type ImageRegistryType: String
188
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
189
+ # @type RequestId: String
190
+
191
+ attr_accessor :Image, :ImageDigest, :ImageRegistryType, :RequestId
192
+
193
+ def initialize(image=nil, imagedigest=nil, imageregistrytype=nil, requestid=nil)
194
+ @Image = image
195
+ @ImageDigest = imagedigest
196
+ @ImageRegistryType = imageregistrytype
197
+ @RequestId = requestid
198
+ end
199
+
200
+ def deserialize(params)
201
+ @Image = params['Image']
202
+ @ImageDigest = params['ImageDigest']
203
+ @ImageRegistryType = params['ImageRegistryType']
204
+ @RequestId = params['RequestId']
205
+ end
206
+ end
207
+
160
208
  # CreateSandboxTool请求参数结构体
161
209
  class CreateSandboxToolRequest < TencentCloud::Common::AbstractModel
162
210
  # @param ToolName: 沙箱工具名称,长度 1-50 字符,支持英文、数字、下划线和连接线。同一 AppId 下沙箱工具名称必须唯一
163
211
  # @type ToolName: String
164
- # @param ToolType: 沙箱工具类型,目前支持:browser、code-interpreter
212
+ # @param ToolType: 沙箱工具类型,目前支持:browser、code-interpreter、custom
165
213
  # @type ToolType: String
166
214
  # @param NetworkConfiguration: 网络配置
167
215
  # @type NetworkConfiguration: :class:`Tencentcloud::Ags.v20250920.models.NetworkConfiguration`
@@ -177,10 +225,12 @@ module TencentCloud
177
225
  # @type RoleArn: String
178
226
  # @param StorageMounts: 沙箱工具存储配置
179
227
  # @type StorageMounts: Array
228
+ # @param CustomConfiguration: 沙箱工具自定义配置
229
+ # @type CustomConfiguration: :class:`Tencentcloud::Ags.v20250920.models.CustomConfiguration`
180
230
 
181
- attr_accessor :ToolName, :ToolType, :NetworkConfiguration, :Description, :DefaultTimeout, :Tags, :ClientToken, :RoleArn, :StorageMounts
231
+ attr_accessor :ToolName, :ToolType, :NetworkConfiguration, :Description, :DefaultTimeout, :Tags, :ClientToken, :RoleArn, :StorageMounts, :CustomConfiguration
182
232
 
183
- def initialize(toolname=nil, tooltype=nil, networkconfiguration=nil, description=nil, defaulttimeout=nil, tags=nil, clienttoken=nil, rolearn=nil, storagemounts=nil)
233
+ def initialize(toolname=nil, tooltype=nil, networkconfiguration=nil, description=nil, defaulttimeout=nil, tags=nil, clienttoken=nil, rolearn=nil, storagemounts=nil, customconfiguration=nil)
184
234
  @ToolName = toolname
185
235
  @ToolType = tooltype
186
236
  @NetworkConfiguration = networkconfiguration
@@ -190,6 +240,7 @@ module TencentCloud
190
240
  @ClientToken = clienttoken
191
241
  @RoleArn = rolearn
192
242
  @StorageMounts = storagemounts
243
+ @CustomConfiguration = customconfiguration
193
244
  end
194
245
 
195
246
  def deserialize(params)
@@ -219,6 +270,10 @@ module TencentCloud
219
270
  @StorageMounts << storagemount_tmp
220
271
  end
221
272
  end
273
+ unless params['CustomConfiguration'].nil?
274
+ @CustomConfiguration = CustomConfiguration.new
275
+ @CustomConfiguration.deserialize(params['CustomConfiguration'])
276
+ end
222
277
  end
223
278
  end
224
279
 
@@ -242,6 +297,138 @@ module TencentCloud
242
297
  end
243
298
  end
244
299
 
300
+ # 沙箱自定义配置
301
+ class CustomConfiguration < TencentCloud::Common::AbstractModel
302
+ # @param Image: 镜像地址
303
+ # @type Image: String
304
+ # @param ImageRegistryType: 镜像仓库类型:`enterprise`、`personal`。
305
+ # @type ImageRegistryType: String
306
+ # @param Command: 启动命令
307
+ # @type Command: Array
308
+ # @param Args: 启动参数
309
+ # @type Args: Array
310
+ # @param Env: 环境变量
311
+ # @type Env: Array
312
+ # @param Ports: 端口配置
313
+ # @type Ports: Array
314
+ # @param Resources: 资源配置
315
+ # @type Resources: :class:`Tencentcloud::Ags.v20250920.models.ResourceConfiguration`
316
+ # @param Probe: 探针配置
317
+ # @type Probe: :class:`Tencentcloud::Ags.v20250920.models.ProbeConfiguration`
318
+
319
+ attr_accessor :Image, :ImageRegistryType, :Command, :Args, :Env, :Ports, :Resources, :Probe
320
+
321
+ def initialize(image=nil, imageregistrytype=nil, command=nil, args=nil, env=nil, ports=nil, resources=nil, probe=nil)
322
+ @Image = image
323
+ @ImageRegistryType = imageregistrytype
324
+ @Command = command
325
+ @Args = args
326
+ @Env = env
327
+ @Ports = ports
328
+ @Resources = resources
329
+ @Probe = probe
330
+ end
331
+
332
+ def deserialize(params)
333
+ @Image = params['Image']
334
+ @ImageRegistryType = params['ImageRegistryType']
335
+ @Command = params['Command']
336
+ @Args = params['Args']
337
+ unless params['Env'].nil?
338
+ @Env = []
339
+ params['Env'].each do |i|
340
+ envvar_tmp = EnvVar.new
341
+ envvar_tmp.deserialize(i)
342
+ @Env << envvar_tmp
343
+ end
344
+ end
345
+ unless params['Ports'].nil?
346
+ @Ports = []
347
+ params['Ports'].each do |i|
348
+ portconfiguration_tmp = PortConfiguration.new
349
+ portconfiguration_tmp.deserialize(i)
350
+ @Ports << portconfiguration_tmp
351
+ end
352
+ end
353
+ unless params['Resources'].nil?
354
+ @Resources = ResourceConfiguration.new
355
+ @Resources.deserialize(params['Resources'])
356
+ end
357
+ unless params['Probe'].nil?
358
+ @Probe = ProbeConfiguration.new
359
+ @Probe.deserialize(params['Probe'])
360
+ end
361
+ end
362
+ end
363
+
364
+ # 沙箱自定义配置详细信息
365
+ class CustomConfigurationDetail < TencentCloud::Common::AbstractModel
366
+ # @param Image: 镜像地址
367
+ # @type Image: String
368
+ # @param ImageRegistryType: 镜像仓库类型:`TCR`、`CCR`。
369
+ # @type ImageRegistryType: String
370
+ # @param ImageDigest: 镜像 Digest
371
+ # @type ImageDigest: String
372
+ # @param Command: 启动命令
373
+ # @type Command: Array
374
+ # @param Args: 启动参数
375
+ # @type Args: Array
376
+ # @param Env: 环境变量
377
+ # @type Env: Array
378
+ # @param Ports: 端口配置
379
+ # @type Ports: Array
380
+ # @param Resources: 资源配置
381
+ # @type Resources: :class:`Tencentcloud::Ags.v20250920.models.ResourceConfiguration`
382
+ # @param Probe: 探针配置
383
+ # @type Probe: :class:`Tencentcloud::Ags.v20250920.models.ProbeConfiguration`
384
+
385
+ attr_accessor :Image, :ImageRegistryType, :ImageDigest, :Command, :Args, :Env, :Ports, :Resources, :Probe
386
+
387
+ def initialize(image=nil, imageregistrytype=nil, imagedigest=nil, command=nil, args=nil, env=nil, ports=nil, resources=nil, probe=nil)
388
+ @Image = image
389
+ @ImageRegistryType = imageregistrytype
390
+ @ImageDigest = imagedigest
391
+ @Command = command
392
+ @Args = args
393
+ @Env = env
394
+ @Ports = ports
395
+ @Resources = resources
396
+ @Probe = probe
397
+ end
398
+
399
+ def deserialize(params)
400
+ @Image = params['Image']
401
+ @ImageRegistryType = params['ImageRegistryType']
402
+ @ImageDigest = params['ImageDigest']
403
+ @Command = params['Command']
404
+ @Args = params['Args']
405
+ unless params['Env'].nil?
406
+ @Env = []
407
+ params['Env'].each do |i|
408
+ envvar_tmp = EnvVar.new
409
+ envvar_tmp.deserialize(i)
410
+ @Env << envvar_tmp
411
+ end
412
+ end
413
+ unless params['Ports'].nil?
414
+ @Ports = []
415
+ params['Ports'].each do |i|
416
+ portconfiguration_tmp = PortConfiguration.new
417
+ portconfiguration_tmp.deserialize(i)
418
+ @Ports << portconfiguration_tmp
419
+ end
420
+ end
421
+ unless params['Resources'].nil?
422
+ @Resources = ResourceConfiguration.new
423
+ @Resources.deserialize(params['Resources'])
424
+ end
425
+ unless params['Probe'].nil?
426
+ @Probe = ProbeConfiguration.new
427
+ @Probe.deserialize(params['Probe'])
428
+ end
429
+ end
430
+ end
431
+
245
432
  # DeleteAPIKey请求参数结构体
246
433
  class DeleteAPIKeyRequest < TencentCloud::Common::AbstractModel
247
434
  # @param KeyId: 需要删除的API密钥ID
@@ -348,6 +535,66 @@ module TencentCloud
348
535
  end
349
536
  end
350
537
 
538
+ # DescribePreCacheImageTask请求参数结构体
539
+ class DescribePreCacheImageTaskRequest < TencentCloud::Common::AbstractModel
540
+ # @param Image: 镜像地址
541
+ # @type Image: String
542
+ # @param ImageDigest: 镜像 Digest
543
+ # @type ImageDigest: String
544
+ # @param ImageRegistryType: 镜像仓库类型:`enterprise`、`personal`。
545
+ # @type ImageRegistryType: String
546
+
547
+ attr_accessor :Image, :ImageDigest, :ImageRegistryType
548
+
549
+ def initialize(image=nil, imagedigest=nil, imageregistrytype=nil)
550
+ @Image = image
551
+ @ImageDigest = imagedigest
552
+ @ImageRegistryType = imageregistrytype
553
+ end
554
+
555
+ def deserialize(params)
556
+ @Image = params['Image']
557
+ @ImageDigest = params['ImageDigest']
558
+ @ImageRegistryType = params['ImageRegistryType']
559
+ end
560
+ end
561
+
562
+ # DescribePreCacheImageTask返回参数结构体
563
+ class DescribePreCacheImageTaskResponse < TencentCloud::Common::AbstractModel
564
+ # @param Image: 镜像地址
565
+ # @type Image: String
566
+ # @param ImageDigest: 镜像 Digest
567
+ # @type ImageDigest: String
568
+ # @param ImageRegistryType: 镜像仓库类型:`enterprise`、`personal`。
569
+ # @type ImageRegistryType: String
570
+ # @param Status: 镜像预热状态
571
+ # @type Status: String
572
+ # @param Message: 镜像预热状态描述
573
+ # @type Message: String
574
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
575
+ # @type RequestId: String
576
+
577
+ attr_accessor :Image, :ImageDigest, :ImageRegistryType, :Status, :Message, :RequestId
578
+
579
+ def initialize(image=nil, imagedigest=nil, imageregistrytype=nil, status=nil, message=nil, requestid=nil)
580
+ @Image = image
581
+ @ImageDigest = imagedigest
582
+ @ImageRegistryType = imageregistrytype
583
+ @Status = status
584
+ @Message = message
585
+ @RequestId = requestid
586
+ end
587
+
588
+ def deserialize(params)
589
+ @Image = params['Image']
590
+ @ImageDigest = params['ImageDigest']
591
+ @ImageRegistryType = params['ImageRegistryType']
592
+ @Status = params['Status']
593
+ @Message = params['Message']
594
+ @RequestId = params['RequestId']
595
+ end
596
+ end
597
+
351
598
  # DescribeSandboxInstanceList请求参数结构体
352
599
  class DescribeSandboxInstanceListRequest < TencentCloud::Common::AbstractModel
353
600
  # @param InstanceIds: 沙箱实例ID列表,指定要查询的实例。如果为空则查询所有实例。最大支持100个ID
@@ -484,6 +731,26 @@ module TencentCloud
484
731
  end
485
732
  end
486
733
 
734
+ # 环境变量
735
+ class EnvVar < TencentCloud::Common::AbstractModel
736
+ # @param Name: 环境变量名
737
+ # @type Name: String
738
+ # @param Value: 环境变量值
739
+ # @type Value: String
740
+
741
+ attr_accessor :Name, :Value
742
+
743
+ def initialize(name=nil, value=nil)
744
+ @Name = name
745
+ @Value = value
746
+ end
747
+
748
+ def deserialize(params)
749
+ @Name = params['Name']
750
+ @Value = params['Value']
751
+ end
752
+ end
753
+
487
754
  # 过滤列表规则
488
755
  class Filter < TencentCloud::Common::AbstractModel
489
756
  # @param Name: 属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
@@ -504,6 +771,58 @@ module TencentCloud
504
771
  end
505
772
  end
506
773
 
774
+ # HTTP GET 探测动作配置
775
+ class HttpGetAction < TencentCloud::Common::AbstractModel
776
+ # @param Path: 路径
777
+ # @type Path: String
778
+ # @param Port: 端口
779
+ # @type Port: Integer
780
+ # @param Scheme: 协议
781
+ # @type Scheme: String
782
+
783
+ attr_accessor :Path, :Port, :Scheme
784
+
785
+ def initialize(path=nil, port=nil, scheme=nil)
786
+ @Path = path
787
+ @Port = port
788
+ @Scheme = scheme
789
+ end
790
+
791
+ def deserialize(params)
792
+ @Path = params['Path']
793
+ @Port = params['Port']
794
+ @Scheme = params['Scheme']
795
+ end
796
+ end
797
+
798
+ # 镜像卷挂载源配置
799
+ class ImageStorageSource < TencentCloud::Common::AbstractModel
800
+ # @param Reference: 镜像地址
801
+ # @type Reference: String
802
+ # @param ImageRegistryType: 镜像仓库类型:`enterprise`、`personal`。
803
+ # @type ImageRegistryType: String
804
+ # @param SubPath: 镜像内部的路径
805
+ # @type SubPath: String
806
+ # @param Digest: 镜像 Digest,请求时无需传入
807
+ # @type Digest: String
808
+
809
+ attr_accessor :Reference, :ImageRegistryType, :SubPath, :Digest
810
+
811
+ def initialize(reference=nil, imageregistrytype=nil, subpath=nil, digest=nil)
812
+ @Reference = reference
813
+ @ImageRegistryType = imageregistrytype
814
+ @SubPath = subpath
815
+ @Digest = digest
816
+ end
817
+
818
+ def deserialize(params)
819
+ @Reference = params['Reference']
820
+ @ImageRegistryType = params['ImageRegistryType']
821
+ @SubPath = params['SubPath']
822
+ @Digest = params['Digest']
823
+ end
824
+ end
825
+
507
826
  # 沙箱实例存储挂载配置可选项,用于覆盖沙箱工具的存储配置的部分选项,并提供子路径挂载配置。
508
827
  class MountOption < TencentCloud::Common::AbstractModel
509
828
  # @param Name: 指定沙箱工具中的存储配置名称
@@ -555,6 +874,89 @@ module TencentCloud
555
874
  end
556
875
  end
557
876
 
877
+ # 端口配置
878
+ class PortConfiguration < TencentCloud::Common::AbstractModel
879
+ # @param Name: 端口名
880
+ # @type Name: String
881
+ # @param Port: 端口
882
+ # @type Port: Integer
883
+ # @param Protocol: 协议
884
+ # @type Protocol: String
885
+
886
+ attr_accessor :Name, :Port, :Protocol
887
+
888
+ def initialize(name=nil, port=nil, protocol=nil)
889
+ @Name = name
890
+ @Port = port
891
+ @Protocol = protocol
892
+ end
893
+
894
+ def deserialize(params)
895
+ @Name = params['Name']
896
+ @Port = params['Port']
897
+ @Protocol = params['Protocol']
898
+ end
899
+ end
900
+
901
+ # 健康检查探针配置
902
+ class ProbeConfiguration < TencentCloud::Common::AbstractModel
903
+ # @param HttpGet: HTTP GET 探测配置
904
+ # @type HttpGet: :class:`Tencentcloud::Ags.v20250920.models.HttpGetAction`
905
+ # @param ReadyTimeoutMs: 健康检查就绪超时
906
+ # @type ReadyTimeoutMs: Integer
907
+ # @param ProbeTimeoutMs: 健康检查单次探测超时
908
+ # @type ProbeTimeoutMs: Integer
909
+ # @param ProbePeriodMs: 健康检查间隔
910
+ # @type ProbePeriodMs: Integer
911
+ # @param SuccessThreshold: 健康检查成功阈值
912
+ # @type SuccessThreshold: Integer
913
+ # @param FailureThreshold: 健康检查失败阈值
914
+ # @type FailureThreshold: Integer
915
+
916
+ attr_accessor :HttpGet, :ReadyTimeoutMs, :ProbeTimeoutMs, :ProbePeriodMs, :SuccessThreshold, :FailureThreshold
917
+
918
+ def initialize(httpget=nil, readytimeoutms=nil, probetimeoutms=nil, probeperiodms=nil, successthreshold=nil, failurethreshold=nil)
919
+ @HttpGet = httpget
920
+ @ReadyTimeoutMs = readytimeoutms
921
+ @ProbeTimeoutMs = probetimeoutms
922
+ @ProbePeriodMs = probeperiodms
923
+ @SuccessThreshold = successthreshold
924
+ @FailureThreshold = failurethreshold
925
+ end
926
+
927
+ def deserialize(params)
928
+ unless params['HttpGet'].nil?
929
+ @HttpGet = HttpGetAction.new
930
+ @HttpGet.deserialize(params['HttpGet'])
931
+ end
932
+ @ReadyTimeoutMs = params['ReadyTimeoutMs']
933
+ @ProbeTimeoutMs = params['ProbeTimeoutMs']
934
+ @ProbePeriodMs = params['ProbePeriodMs']
935
+ @SuccessThreshold = params['SuccessThreshold']
936
+ @FailureThreshold = params['FailureThreshold']
937
+ end
938
+ end
939
+
940
+ # 资源配置
941
+ class ResourceConfiguration < TencentCloud::Common::AbstractModel
942
+ # @param CPU: cpu 资源量
943
+ # @type CPU: String
944
+ # @param Memory: 内存资源量
945
+ # @type Memory: String
946
+
947
+ attr_accessor :CPU, :Memory
948
+
949
+ def initialize(cpu=nil, memory=nil)
950
+ @CPU = cpu
951
+ @Memory = memory
952
+ end
953
+
954
+ def deserialize(params)
955
+ @CPU = params['CPU']
956
+ @Memory = params['Memory']
957
+ end
958
+ end
959
+
558
960
  # 沙箱实例结构体
559
961
  class SandboxInstance < TencentCloud::Common::AbstractModel
560
962
  # @param InstanceId: 沙箱实例唯一标识符
@@ -577,10 +979,12 @@ module TencentCloud
577
979
  # @type UpdateTime: String
578
980
  # @param MountOptions: 存储挂载选项
579
981
  # @type MountOptions: Array
982
+ # @param CustomConfiguration: 沙箱实例自定义配置
983
+ # @type CustomConfiguration: :class:`Tencentcloud::Ags.v20250920.models.CustomConfigurationDetail`
580
984
 
581
- attr_accessor :InstanceId, :ToolId, :ToolName, :Status, :TimeoutSeconds, :ExpiresAt, :StopReason, :CreateTime, :UpdateTime, :MountOptions
985
+ attr_accessor :InstanceId, :ToolId, :ToolName, :Status, :TimeoutSeconds, :ExpiresAt, :StopReason, :CreateTime, :UpdateTime, :MountOptions, :CustomConfiguration
582
986
 
583
- def initialize(instanceid=nil, toolid=nil, toolname=nil, status=nil, timeoutseconds=nil, expiresat=nil, stopreason=nil, createtime=nil, updatetime=nil, mountoptions=nil)
987
+ def initialize(instanceid=nil, toolid=nil, toolname=nil, status=nil, timeoutseconds=nil, expiresat=nil, stopreason=nil, createtime=nil, updatetime=nil, mountoptions=nil, customconfiguration=nil)
584
988
  @InstanceId = instanceid
585
989
  @ToolId = toolid
586
990
  @ToolName = toolname
@@ -591,6 +995,7 @@ module TencentCloud
591
995
  @CreateTime = createtime
592
996
  @UpdateTime = updatetime
593
997
  @MountOptions = mountoptions
998
+ @CustomConfiguration = customconfiguration
594
999
  end
595
1000
 
596
1001
  def deserialize(params)
@@ -611,6 +1016,10 @@ module TencentCloud
611
1016
  @MountOptions << mountoption_tmp
612
1017
  end
613
1018
  end
1019
+ unless params['CustomConfiguration'].nil?
1020
+ @CustomConfiguration = CustomConfigurationDetail.new
1021
+ @CustomConfiguration.deserialize(params['CustomConfiguration'])
1022
+ end
614
1023
  end
615
1024
  end
616
1025
 
@@ -640,10 +1049,12 @@ module TencentCloud
640
1049
  # @type RoleArn: String
641
1050
  # @param StorageMounts: 沙箱工具中实例存储挂载配置
642
1051
  # @type StorageMounts: Array
1052
+ # @param CustomConfiguration: 沙箱工具自定义配置
1053
+ # @type CustomConfiguration: :class:`Tencentcloud::Ags.v20250920.models.CustomConfigurationDetail`
643
1054
 
644
- attr_accessor :ToolId, :ToolName, :ToolType, :Status, :Description, :DefaultTimeoutSeconds, :NetworkConfiguration, :Tags, :CreateTime, :UpdateTime, :RoleArn, :StorageMounts
1055
+ attr_accessor :ToolId, :ToolName, :ToolType, :Status, :Description, :DefaultTimeoutSeconds, :NetworkConfiguration, :Tags, :CreateTime, :UpdateTime, :RoleArn, :StorageMounts, :CustomConfiguration
645
1056
 
646
- def initialize(toolid=nil, toolname=nil, tooltype=nil, status=nil, description=nil, defaulttimeoutseconds=nil, networkconfiguration=nil, tags=nil, createtime=nil, updatetime=nil, rolearn=nil, storagemounts=nil)
1057
+ def initialize(toolid=nil, toolname=nil, tooltype=nil, status=nil, description=nil, defaulttimeoutseconds=nil, networkconfiguration=nil, tags=nil, createtime=nil, updatetime=nil, rolearn=nil, storagemounts=nil, customconfiguration=nil)
647
1058
  @ToolId = toolid
648
1059
  @ToolName = toolname
649
1060
  @ToolType = tooltype
@@ -656,6 +1067,7 @@ module TencentCloud
656
1067
  @UpdateTime = updatetime
657
1068
  @RoleArn = rolearn
658
1069
  @StorageMounts = storagemounts
1070
+ @CustomConfiguration = customconfiguration
659
1071
  end
660
1072
 
661
1073
  def deserialize(params)
@@ -688,6 +1100,10 @@ module TencentCloud
688
1100
  @StorageMounts << storagemount_tmp
689
1101
  end
690
1102
  end
1103
+ unless params['CustomConfiguration'].nil?
1104
+ @CustomConfiguration = CustomConfigurationDetail.new
1105
+ @CustomConfiguration.deserialize(params['CustomConfiguration'])
1106
+ end
691
1107
  end
692
1108
  end
693
1109
 
@@ -703,15 +1119,18 @@ module TencentCloud
703
1119
  # @type ClientToken: String
704
1120
  # @param MountOptions: 沙箱实例存储挂载配置
705
1121
  # @type MountOptions: Array
1122
+ # @param CustomConfiguration: 沙箱实例自定义配置
1123
+ # @type CustomConfiguration: :class:`Tencentcloud::Ags.v20250920.models.CustomConfiguration`
706
1124
 
707
- attr_accessor :ToolId, :ToolName, :Timeout, :ClientToken, :MountOptions
1125
+ attr_accessor :ToolId, :ToolName, :Timeout, :ClientToken, :MountOptions, :CustomConfiguration
708
1126
 
709
- def initialize(toolid=nil, toolname=nil, timeout=nil, clienttoken=nil, mountoptions=nil)
1127
+ def initialize(toolid=nil, toolname=nil, timeout=nil, clienttoken=nil, mountoptions=nil, customconfiguration=nil)
710
1128
  @ToolId = toolid
711
1129
  @ToolName = toolname
712
1130
  @Timeout = timeout
713
1131
  @ClientToken = clienttoken
714
1132
  @MountOptions = mountoptions
1133
+ @CustomConfiguration = customconfiguration
715
1134
  end
716
1135
 
717
1136
  def deserialize(params)
@@ -727,6 +1146,10 @@ module TencentCloud
727
1146
  @MountOptions << mountoption_tmp
728
1147
  end
729
1148
  end
1149
+ unless params['CustomConfiguration'].nil?
1150
+ @CustomConfiguration = CustomConfiguration.new
1151
+ @CustomConfiguration.deserialize(params['CustomConfiguration'])
1152
+ end
730
1153
  end
731
1154
  end
732
1155
 
@@ -820,11 +1243,14 @@ module TencentCloud
820
1243
  class StorageSource < TencentCloud::Common::AbstractModel
821
1244
  # @param Cos: 对象存储桶配置
822
1245
  # @type Cos: :class:`Tencentcloud::Ags.v20250920.models.CosStorageSource`
1246
+ # @param Image: 镜像卷配置
1247
+ # @type Image: :class:`Tencentcloud::Ags.v20250920.models.ImageStorageSource`
823
1248
 
824
- attr_accessor :Cos
1249
+ attr_accessor :Cos, :Image
825
1250
 
826
- def initialize(cos=nil)
1251
+ def initialize(cos=nil, image=nil)
827
1252
  @Cos = cos
1253
+ @Image = image
828
1254
  end
829
1255
 
830
1256
  def deserialize(params)
@@ -832,6 +1258,10 @@ module TencentCloud
832
1258
  @Cos = CosStorageSource.new
833
1259
  @Cos.deserialize(params['Cos'])
834
1260
  end
1261
+ unless params['Image'].nil?
1262
+ @Image = ImageStorageSource.new
1263
+ @Image.deserialize(params['Image'])
1264
+ end
835
1265
  end
836
1266
  end
837
1267
 
@@ -901,14 +1331,17 @@ module TencentCloud
901
1331
  # @type NetworkConfiguration: :class:`Tencentcloud::Ags.v20250920.models.NetworkConfiguration`
902
1332
  # @param Tags: 标签
903
1333
  # @type Tags: Array
1334
+ # @param CustomConfiguration: 沙箱工具自定义配置
1335
+ # @type CustomConfiguration: :class:`Tencentcloud::Ags.v20250920.models.CustomConfiguration`
904
1336
 
905
- attr_accessor :ToolId, :Description, :NetworkConfiguration, :Tags
1337
+ attr_accessor :ToolId, :Description, :NetworkConfiguration, :Tags, :CustomConfiguration
906
1338
 
907
- def initialize(toolid=nil, description=nil, networkconfiguration=nil, tags=nil)
1339
+ def initialize(toolid=nil, description=nil, networkconfiguration=nil, tags=nil, customconfiguration=nil)
908
1340
  @ToolId = toolid
909
1341
  @Description = description
910
1342
  @NetworkConfiguration = networkconfiguration
911
1343
  @Tags = tags
1344
+ @CustomConfiguration = customconfiguration
912
1345
  end
913
1346
 
914
1347
  def deserialize(params)
@@ -926,6 +1359,10 @@ module TencentCloud
926
1359
  @Tags << tag_tmp
927
1360
  end
928
1361
  end
1362
+ unless params['CustomConfiguration'].nil?
1363
+ @CustomConfiguration = CustomConfiguration.new
1364
+ @CustomConfiguration.deserialize(params['CustomConfiguration'])
1365
+ end
929
1366
  end
930
1367
  end
931
1368
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-ags
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1186
4
+ version: 3.0.1201
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-12-21 00:00:00.000000000 Z
11
+ date: 2026-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common