tencentcloud-sdk-ags 3.0.1186 → 3.0.1194
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/v20250920/models.rb +342 -13
- 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: 1c43508740bc75245234981966322ff71f10b12f
|
|
4
|
+
data.tar.gz: 263c098ae07ae272a10e1e2dafe597e2abd34f5b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 543d435c26137a9be0babbf748dfd4c9f21d3f3020be38e5131c59324e318f1a08e473a5b4638edb0ce0772547799a9c6236f2e4c638155a8ed349041f7284ab
|
|
7
|
+
data.tar.gz: 869f1de0117a75ab3146df5d585e99eec68b43cc351daf120ad36bf3e1b439c89fd8d30dc49bfd181cfb4eb12720ba08e050323f5466f2957211a1d9cdf556e8
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1194
|
data/lib/v20250920/models.rb
CHANGED
|
@@ -161,7 +161,7 @@ module TencentCloud
|
|
|
161
161
|
class CreateSandboxToolRequest < TencentCloud::Common::AbstractModel
|
|
162
162
|
# @param ToolName: 沙箱工具名称,长度 1-50 字符,支持英文、数字、下划线和连接线。同一 AppId 下沙箱工具名称必须唯一
|
|
163
163
|
# @type ToolName: String
|
|
164
|
-
# @param ToolType: 沙箱工具类型,目前支持:browser、code-interpreter
|
|
164
|
+
# @param ToolType: 沙箱工具类型,目前支持:browser、code-interpreter、custom
|
|
165
165
|
# @type ToolType: String
|
|
166
166
|
# @param NetworkConfiguration: 网络配置
|
|
167
167
|
# @type NetworkConfiguration: :class:`Tencentcloud::Ags.v20250920.models.NetworkConfiguration`
|
|
@@ -177,10 +177,12 @@ module TencentCloud
|
|
|
177
177
|
# @type RoleArn: String
|
|
178
178
|
# @param StorageMounts: 沙箱工具存储配置
|
|
179
179
|
# @type StorageMounts: Array
|
|
180
|
+
# @param CustomConfiguration: 沙箱工具自定义配置
|
|
181
|
+
# @type CustomConfiguration: :class:`Tencentcloud::Ags.v20250920.models.CustomConfiguration`
|
|
180
182
|
|
|
181
|
-
attr_accessor :ToolName, :ToolType, :NetworkConfiguration, :Description, :DefaultTimeout, :Tags, :ClientToken, :RoleArn, :StorageMounts
|
|
183
|
+
attr_accessor :ToolName, :ToolType, :NetworkConfiguration, :Description, :DefaultTimeout, :Tags, :ClientToken, :RoleArn, :StorageMounts, :CustomConfiguration
|
|
182
184
|
|
|
183
|
-
def initialize(toolname=nil, tooltype=nil, networkconfiguration=nil, description=nil, defaulttimeout=nil, tags=nil, clienttoken=nil, rolearn=nil, storagemounts=nil)
|
|
185
|
+
def initialize(toolname=nil, tooltype=nil, networkconfiguration=nil, description=nil, defaulttimeout=nil, tags=nil, clienttoken=nil, rolearn=nil, storagemounts=nil, customconfiguration=nil)
|
|
184
186
|
@ToolName = toolname
|
|
185
187
|
@ToolType = tooltype
|
|
186
188
|
@NetworkConfiguration = networkconfiguration
|
|
@@ -190,6 +192,7 @@ module TencentCloud
|
|
|
190
192
|
@ClientToken = clienttoken
|
|
191
193
|
@RoleArn = rolearn
|
|
192
194
|
@StorageMounts = storagemounts
|
|
195
|
+
@CustomConfiguration = customconfiguration
|
|
193
196
|
end
|
|
194
197
|
|
|
195
198
|
def deserialize(params)
|
|
@@ -219,6 +222,10 @@ module TencentCloud
|
|
|
219
222
|
@StorageMounts << storagemount_tmp
|
|
220
223
|
end
|
|
221
224
|
end
|
|
225
|
+
unless params['CustomConfiguration'].nil?
|
|
226
|
+
@CustomConfiguration = CustomConfiguration.new
|
|
227
|
+
@CustomConfiguration.deserialize(params['CustomConfiguration'])
|
|
228
|
+
end
|
|
222
229
|
end
|
|
223
230
|
end
|
|
224
231
|
|
|
@@ -242,6 +249,138 @@ module TencentCloud
|
|
|
242
249
|
end
|
|
243
250
|
end
|
|
244
251
|
|
|
252
|
+
# 沙箱自定义配置
|
|
253
|
+
class CustomConfiguration < TencentCloud::Common::AbstractModel
|
|
254
|
+
# @param Image: 镜像地址
|
|
255
|
+
# @type Image: String
|
|
256
|
+
# @param ImageRegistryType: 镜像仓库类型:`enterprise`、`personal`。
|
|
257
|
+
# @type ImageRegistryType: String
|
|
258
|
+
# @param Command: 启动命令
|
|
259
|
+
# @type Command: Array
|
|
260
|
+
# @param Args: 启动参数
|
|
261
|
+
# @type Args: Array
|
|
262
|
+
# @param Env: 环境变量
|
|
263
|
+
# @type Env: Array
|
|
264
|
+
# @param Ports: 端口配置
|
|
265
|
+
# @type Ports: Array
|
|
266
|
+
# @param Resources: 资源配置
|
|
267
|
+
# @type Resources: :class:`Tencentcloud::Ags.v20250920.models.ResourceConfiguration`
|
|
268
|
+
# @param Probe: 探针配置
|
|
269
|
+
# @type Probe: :class:`Tencentcloud::Ags.v20250920.models.ProbeConfiguration`
|
|
270
|
+
|
|
271
|
+
attr_accessor :Image, :ImageRegistryType, :Command, :Args, :Env, :Ports, :Resources, :Probe
|
|
272
|
+
|
|
273
|
+
def initialize(image=nil, imageregistrytype=nil, command=nil, args=nil, env=nil, ports=nil, resources=nil, probe=nil)
|
|
274
|
+
@Image = image
|
|
275
|
+
@ImageRegistryType = imageregistrytype
|
|
276
|
+
@Command = command
|
|
277
|
+
@Args = args
|
|
278
|
+
@Env = env
|
|
279
|
+
@Ports = ports
|
|
280
|
+
@Resources = resources
|
|
281
|
+
@Probe = probe
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
def deserialize(params)
|
|
285
|
+
@Image = params['Image']
|
|
286
|
+
@ImageRegistryType = params['ImageRegistryType']
|
|
287
|
+
@Command = params['Command']
|
|
288
|
+
@Args = params['Args']
|
|
289
|
+
unless params['Env'].nil?
|
|
290
|
+
@Env = []
|
|
291
|
+
params['Env'].each do |i|
|
|
292
|
+
envvar_tmp = EnvVar.new
|
|
293
|
+
envvar_tmp.deserialize(i)
|
|
294
|
+
@Env << envvar_tmp
|
|
295
|
+
end
|
|
296
|
+
end
|
|
297
|
+
unless params['Ports'].nil?
|
|
298
|
+
@Ports = []
|
|
299
|
+
params['Ports'].each do |i|
|
|
300
|
+
portconfiguration_tmp = PortConfiguration.new
|
|
301
|
+
portconfiguration_tmp.deserialize(i)
|
|
302
|
+
@Ports << portconfiguration_tmp
|
|
303
|
+
end
|
|
304
|
+
end
|
|
305
|
+
unless params['Resources'].nil?
|
|
306
|
+
@Resources = ResourceConfiguration.new
|
|
307
|
+
@Resources.deserialize(params['Resources'])
|
|
308
|
+
end
|
|
309
|
+
unless params['Probe'].nil?
|
|
310
|
+
@Probe = ProbeConfiguration.new
|
|
311
|
+
@Probe.deserialize(params['Probe'])
|
|
312
|
+
end
|
|
313
|
+
end
|
|
314
|
+
end
|
|
315
|
+
|
|
316
|
+
# 沙箱自定义配置详细信息
|
|
317
|
+
class CustomConfigurationDetail < TencentCloud::Common::AbstractModel
|
|
318
|
+
# @param Image: 镜像地址
|
|
319
|
+
# @type Image: String
|
|
320
|
+
# @param ImageRegistryType: 镜像仓库类型:`TCR`、`CCR`。
|
|
321
|
+
# @type ImageRegistryType: String
|
|
322
|
+
# @param ImageDigest: 镜像 Digest
|
|
323
|
+
# @type ImageDigest: String
|
|
324
|
+
# @param Command: 启动命令
|
|
325
|
+
# @type Command: Array
|
|
326
|
+
# @param Args: 启动参数
|
|
327
|
+
# @type Args: Array
|
|
328
|
+
# @param Env: 环境变量
|
|
329
|
+
# @type Env: Array
|
|
330
|
+
# @param Ports: 端口配置
|
|
331
|
+
# @type Ports: Array
|
|
332
|
+
# @param Resources: 资源配置
|
|
333
|
+
# @type Resources: :class:`Tencentcloud::Ags.v20250920.models.ResourceConfiguration`
|
|
334
|
+
# @param Probe: 探针配置
|
|
335
|
+
# @type Probe: :class:`Tencentcloud::Ags.v20250920.models.ProbeConfiguration`
|
|
336
|
+
|
|
337
|
+
attr_accessor :Image, :ImageRegistryType, :ImageDigest, :Command, :Args, :Env, :Ports, :Resources, :Probe
|
|
338
|
+
|
|
339
|
+
def initialize(image=nil, imageregistrytype=nil, imagedigest=nil, command=nil, args=nil, env=nil, ports=nil, resources=nil, probe=nil)
|
|
340
|
+
@Image = image
|
|
341
|
+
@ImageRegistryType = imageregistrytype
|
|
342
|
+
@ImageDigest = imagedigest
|
|
343
|
+
@Command = command
|
|
344
|
+
@Args = args
|
|
345
|
+
@Env = env
|
|
346
|
+
@Ports = ports
|
|
347
|
+
@Resources = resources
|
|
348
|
+
@Probe = probe
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
def deserialize(params)
|
|
352
|
+
@Image = params['Image']
|
|
353
|
+
@ImageRegistryType = params['ImageRegistryType']
|
|
354
|
+
@ImageDigest = params['ImageDigest']
|
|
355
|
+
@Command = params['Command']
|
|
356
|
+
@Args = params['Args']
|
|
357
|
+
unless params['Env'].nil?
|
|
358
|
+
@Env = []
|
|
359
|
+
params['Env'].each do |i|
|
|
360
|
+
envvar_tmp = EnvVar.new
|
|
361
|
+
envvar_tmp.deserialize(i)
|
|
362
|
+
@Env << envvar_tmp
|
|
363
|
+
end
|
|
364
|
+
end
|
|
365
|
+
unless params['Ports'].nil?
|
|
366
|
+
@Ports = []
|
|
367
|
+
params['Ports'].each do |i|
|
|
368
|
+
portconfiguration_tmp = PortConfiguration.new
|
|
369
|
+
portconfiguration_tmp.deserialize(i)
|
|
370
|
+
@Ports << portconfiguration_tmp
|
|
371
|
+
end
|
|
372
|
+
end
|
|
373
|
+
unless params['Resources'].nil?
|
|
374
|
+
@Resources = ResourceConfiguration.new
|
|
375
|
+
@Resources.deserialize(params['Resources'])
|
|
376
|
+
end
|
|
377
|
+
unless params['Probe'].nil?
|
|
378
|
+
@Probe = ProbeConfiguration.new
|
|
379
|
+
@Probe.deserialize(params['Probe'])
|
|
380
|
+
end
|
|
381
|
+
end
|
|
382
|
+
end
|
|
383
|
+
|
|
245
384
|
# DeleteAPIKey请求参数结构体
|
|
246
385
|
class DeleteAPIKeyRequest < TencentCloud::Common::AbstractModel
|
|
247
386
|
# @param KeyId: 需要删除的API密钥ID
|
|
@@ -484,6 +623,26 @@ module TencentCloud
|
|
|
484
623
|
end
|
|
485
624
|
end
|
|
486
625
|
|
|
626
|
+
# 环境变量
|
|
627
|
+
class EnvVar < TencentCloud::Common::AbstractModel
|
|
628
|
+
# @param Name: 环境变量名
|
|
629
|
+
# @type Name: String
|
|
630
|
+
# @param Value: 环境变量值
|
|
631
|
+
# @type Value: String
|
|
632
|
+
|
|
633
|
+
attr_accessor :Name, :Value
|
|
634
|
+
|
|
635
|
+
def initialize(name=nil, value=nil)
|
|
636
|
+
@Name = name
|
|
637
|
+
@Value = value
|
|
638
|
+
end
|
|
639
|
+
|
|
640
|
+
def deserialize(params)
|
|
641
|
+
@Name = params['Name']
|
|
642
|
+
@Value = params['Value']
|
|
643
|
+
end
|
|
644
|
+
end
|
|
645
|
+
|
|
487
646
|
# 过滤列表规则
|
|
488
647
|
class Filter < TencentCloud::Common::AbstractModel
|
|
489
648
|
# @param Name: 属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
|
@@ -504,6 +663,58 @@ module TencentCloud
|
|
|
504
663
|
end
|
|
505
664
|
end
|
|
506
665
|
|
|
666
|
+
# HTTP GET 探测动作配置
|
|
667
|
+
class HttpGetAction < TencentCloud::Common::AbstractModel
|
|
668
|
+
# @param Path: 路径
|
|
669
|
+
# @type Path: String
|
|
670
|
+
# @param Port: 端口
|
|
671
|
+
# @type Port: Integer
|
|
672
|
+
# @param Scheme: 协议
|
|
673
|
+
# @type Scheme: String
|
|
674
|
+
|
|
675
|
+
attr_accessor :Path, :Port, :Scheme
|
|
676
|
+
|
|
677
|
+
def initialize(path=nil, port=nil, scheme=nil)
|
|
678
|
+
@Path = path
|
|
679
|
+
@Port = port
|
|
680
|
+
@Scheme = scheme
|
|
681
|
+
end
|
|
682
|
+
|
|
683
|
+
def deserialize(params)
|
|
684
|
+
@Path = params['Path']
|
|
685
|
+
@Port = params['Port']
|
|
686
|
+
@Scheme = params['Scheme']
|
|
687
|
+
end
|
|
688
|
+
end
|
|
689
|
+
|
|
690
|
+
# 镜像卷挂载源配置
|
|
691
|
+
class ImageStorageSource < TencentCloud::Common::AbstractModel
|
|
692
|
+
# @param Reference: 镜像地址
|
|
693
|
+
# @type Reference: String
|
|
694
|
+
# @param ImageRegistryType: 镜像仓库类型:`enterprise`、`personal`。
|
|
695
|
+
# @type ImageRegistryType: String
|
|
696
|
+
# @param SubPath: 镜像内部的路径
|
|
697
|
+
# @type SubPath: String
|
|
698
|
+
# @param Digest: 镜像 Digest,请求时无需传入
|
|
699
|
+
# @type Digest: String
|
|
700
|
+
|
|
701
|
+
attr_accessor :Reference, :ImageRegistryType, :SubPath, :Digest
|
|
702
|
+
|
|
703
|
+
def initialize(reference=nil, imageregistrytype=nil, subpath=nil, digest=nil)
|
|
704
|
+
@Reference = reference
|
|
705
|
+
@ImageRegistryType = imageregistrytype
|
|
706
|
+
@SubPath = subpath
|
|
707
|
+
@Digest = digest
|
|
708
|
+
end
|
|
709
|
+
|
|
710
|
+
def deserialize(params)
|
|
711
|
+
@Reference = params['Reference']
|
|
712
|
+
@ImageRegistryType = params['ImageRegistryType']
|
|
713
|
+
@SubPath = params['SubPath']
|
|
714
|
+
@Digest = params['Digest']
|
|
715
|
+
end
|
|
716
|
+
end
|
|
717
|
+
|
|
507
718
|
# 沙箱实例存储挂载配置可选项,用于覆盖沙箱工具的存储配置的部分选项,并提供子路径挂载配置。
|
|
508
719
|
class MountOption < TencentCloud::Common::AbstractModel
|
|
509
720
|
# @param Name: 指定沙箱工具中的存储配置名称
|
|
@@ -555,6 +766,89 @@ module TencentCloud
|
|
|
555
766
|
end
|
|
556
767
|
end
|
|
557
768
|
|
|
769
|
+
# 端口配置
|
|
770
|
+
class PortConfiguration < TencentCloud::Common::AbstractModel
|
|
771
|
+
# @param Name: 端口名
|
|
772
|
+
# @type Name: String
|
|
773
|
+
# @param Port: 端口
|
|
774
|
+
# @type Port: Integer
|
|
775
|
+
# @param Protocol: 协议
|
|
776
|
+
# @type Protocol: String
|
|
777
|
+
|
|
778
|
+
attr_accessor :Name, :Port, :Protocol
|
|
779
|
+
|
|
780
|
+
def initialize(name=nil, port=nil, protocol=nil)
|
|
781
|
+
@Name = name
|
|
782
|
+
@Port = port
|
|
783
|
+
@Protocol = protocol
|
|
784
|
+
end
|
|
785
|
+
|
|
786
|
+
def deserialize(params)
|
|
787
|
+
@Name = params['Name']
|
|
788
|
+
@Port = params['Port']
|
|
789
|
+
@Protocol = params['Protocol']
|
|
790
|
+
end
|
|
791
|
+
end
|
|
792
|
+
|
|
793
|
+
# 健康检查探针配置
|
|
794
|
+
class ProbeConfiguration < TencentCloud::Common::AbstractModel
|
|
795
|
+
# @param HttpGet: HTTP GET 探测配置
|
|
796
|
+
# @type HttpGet: :class:`Tencentcloud::Ags.v20250920.models.HttpGetAction`
|
|
797
|
+
# @param ReadyTimeoutMs: 健康检查就绪超时
|
|
798
|
+
# @type ReadyTimeoutMs: Integer
|
|
799
|
+
# @param ProbeTimeoutMs: 健康检查单次探测超时
|
|
800
|
+
# @type ProbeTimeoutMs: Integer
|
|
801
|
+
# @param ProbePeriodMs: 健康检查间隔
|
|
802
|
+
# @type ProbePeriodMs: Integer
|
|
803
|
+
# @param SuccessThreshold: 健康检查成功阈值
|
|
804
|
+
# @type SuccessThreshold: Integer
|
|
805
|
+
# @param FailureThreshold: 健康检查失败阈值
|
|
806
|
+
# @type FailureThreshold: Integer
|
|
807
|
+
|
|
808
|
+
attr_accessor :HttpGet, :ReadyTimeoutMs, :ProbeTimeoutMs, :ProbePeriodMs, :SuccessThreshold, :FailureThreshold
|
|
809
|
+
|
|
810
|
+
def initialize(httpget=nil, readytimeoutms=nil, probetimeoutms=nil, probeperiodms=nil, successthreshold=nil, failurethreshold=nil)
|
|
811
|
+
@HttpGet = httpget
|
|
812
|
+
@ReadyTimeoutMs = readytimeoutms
|
|
813
|
+
@ProbeTimeoutMs = probetimeoutms
|
|
814
|
+
@ProbePeriodMs = probeperiodms
|
|
815
|
+
@SuccessThreshold = successthreshold
|
|
816
|
+
@FailureThreshold = failurethreshold
|
|
817
|
+
end
|
|
818
|
+
|
|
819
|
+
def deserialize(params)
|
|
820
|
+
unless params['HttpGet'].nil?
|
|
821
|
+
@HttpGet = HttpGetAction.new
|
|
822
|
+
@HttpGet.deserialize(params['HttpGet'])
|
|
823
|
+
end
|
|
824
|
+
@ReadyTimeoutMs = params['ReadyTimeoutMs']
|
|
825
|
+
@ProbeTimeoutMs = params['ProbeTimeoutMs']
|
|
826
|
+
@ProbePeriodMs = params['ProbePeriodMs']
|
|
827
|
+
@SuccessThreshold = params['SuccessThreshold']
|
|
828
|
+
@FailureThreshold = params['FailureThreshold']
|
|
829
|
+
end
|
|
830
|
+
end
|
|
831
|
+
|
|
832
|
+
# 资源配置
|
|
833
|
+
class ResourceConfiguration < TencentCloud::Common::AbstractModel
|
|
834
|
+
# @param CPU: cpu 资源量
|
|
835
|
+
# @type CPU: String
|
|
836
|
+
# @param Memory: 内存资源量
|
|
837
|
+
# @type Memory: String
|
|
838
|
+
|
|
839
|
+
attr_accessor :CPU, :Memory
|
|
840
|
+
|
|
841
|
+
def initialize(cpu=nil, memory=nil)
|
|
842
|
+
@CPU = cpu
|
|
843
|
+
@Memory = memory
|
|
844
|
+
end
|
|
845
|
+
|
|
846
|
+
def deserialize(params)
|
|
847
|
+
@CPU = params['CPU']
|
|
848
|
+
@Memory = params['Memory']
|
|
849
|
+
end
|
|
850
|
+
end
|
|
851
|
+
|
|
558
852
|
# 沙箱实例结构体
|
|
559
853
|
class SandboxInstance < TencentCloud::Common::AbstractModel
|
|
560
854
|
# @param InstanceId: 沙箱实例唯一标识符
|
|
@@ -577,10 +871,12 @@ module TencentCloud
|
|
|
577
871
|
# @type UpdateTime: String
|
|
578
872
|
# @param MountOptions: 存储挂载选项
|
|
579
873
|
# @type MountOptions: Array
|
|
874
|
+
# @param CustomConfiguration: 沙箱实例自定义配置
|
|
875
|
+
# @type CustomConfiguration: :class:`Tencentcloud::Ags.v20250920.models.CustomConfigurationDetail`
|
|
580
876
|
|
|
581
|
-
attr_accessor :InstanceId, :ToolId, :ToolName, :Status, :TimeoutSeconds, :ExpiresAt, :StopReason, :CreateTime, :UpdateTime, :MountOptions
|
|
877
|
+
attr_accessor :InstanceId, :ToolId, :ToolName, :Status, :TimeoutSeconds, :ExpiresAt, :StopReason, :CreateTime, :UpdateTime, :MountOptions, :CustomConfiguration
|
|
582
878
|
|
|
583
|
-
def initialize(instanceid=nil, toolid=nil, toolname=nil, status=nil, timeoutseconds=nil, expiresat=nil, stopreason=nil, createtime=nil, updatetime=nil, mountoptions=nil)
|
|
879
|
+
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
880
|
@InstanceId = instanceid
|
|
585
881
|
@ToolId = toolid
|
|
586
882
|
@ToolName = toolname
|
|
@@ -591,6 +887,7 @@ module TencentCloud
|
|
|
591
887
|
@CreateTime = createtime
|
|
592
888
|
@UpdateTime = updatetime
|
|
593
889
|
@MountOptions = mountoptions
|
|
890
|
+
@CustomConfiguration = customconfiguration
|
|
594
891
|
end
|
|
595
892
|
|
|
596
893
|
def deserialize(params)
|
|
@@ -611,6 +908,10 @@ module TencentCloud
|
|
|
611
908
|
@MountOptions << mountoption_tmp
|
|
612
909
|
end
|
|
613
910
|
end
|
|
911
|
+
unless params['CustomConfiguration'].nil?
|
|
912
|
+
@CustomConfiguration = CustomConfigurationDetail.new
|
|
913
|
+
@CustomConfiguration.deserialize(params['CustomConfiguration'])
|
|
914
|
+
end
|
|
614
915
|
end
|
|
615
916
|
end
|
|
616
917
|
|
|
@@ -640,10 +941,12 @@ module TencentCloud
|
|
|
640
941
|
# @type RoleArn: String
|
|
641
942
|
# @param StorageMounts: 沙箱工具中实例存储挂载配置
|
|
642
943
|
# @type StorageMounts: Array
|
|
944
|
+
# @param CustomConfiguration: 沙箱工具自定义配置
|
|
945
|
+
# @type CustomConfiguration: :class:`Tencentcloud::Ags.v20250920.models.CustomConfigurationDetail`
|
|
643
946
|
|
|
644
|
-
attr_accessor :ToolId, :ToolName, :ToolType, :Status, :Description, :DefaultTimeoutSeconds, :NetworkConfiguration, :Tags, :CreateTime, :UpdateTime, :RoleArn, :StorageMounts
|
|
947
|
+
attr_accessor :ToolId, :ToolName, :ToolType, :Status, :Description, :DefaultTimeoutSeconds, :NetworkConfiguration, :Tags, :CreateTime, :UpdateTime, :RoleArn, :StorageMounts, :CustomConfiguration
|
|
645
948
|
|
|
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)
|
|
949
|
+
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
950
|
@ToolId = toolid
|
|
648
951
|
@ToolName = toolname
|
|
649
952
|
@ToolType = tooltype
|
|
@@ -656,6 +959,7 @@ module TencentCloud
|
|
|
656
959
|
@UpdateTime = updatetime
|
|
657
960
|
@RoleArn = rolearn
|
|
658
961
|
@StorageMounts = storagemounts
|
|
962
|
+
@CustomConfiguration = customconfiguration
|
|
659
963
|
end
|
|
660
964
|
|
|
661
965
|
def deserialize(params)
|
|
@@ -688,6 +992,10 @@ module TencentCloud
|
|
|
688
992
|
@StorageMounts << storagemount_tmp
|
|
689
993
|
end
|
|
690
994
|
end
|
|
995
|
+
unless params['CustomConfiguration'].nil?
|
|
996
|
+
@CustomConfiguration = CustomConfigurationDetail.new
|
|
997
|
+
@CustomConfiguration.deserialize(params['CustomConfiguration'])
|
|
998
|
+
end
|
|
691
999
|
end
|
|
692
1000
|
end
|
|
693
1001
|
|
|
@@ -703,15 +1011,18 @@ module TencentCloud
|
|
|
703
1011
|
# @type ClientToken: String
|
|
704
1012
|
# @param MountOptions: 沙箱实例存储挂载配置
|
|
705
1013
|
# @type MountOptions: Array
|
|
1014
|
+
# @param CustomConfiguration: 沙箱实例自定义配置
|
|
1015
|
+
# @type CustomConfiguration: :class:`Tencentcloud::Ags.v20250920.models.CustomConfiguration`
|
|
706
1016
|
|
|
707
|
-
attr_accessor :ToolId, :ToolName, :Timeout, :ClientToken, :MountOptions
|
|
1017
|
+
attr_accessor :ToolId, :ToolName, :Timeout, :ClientToken, :MountOptions, :CustomConfiguration
|
|
708
1018
|
|
|
709
|
-
def initialize(toolid=nil, toolname=nil, timeout=nil, clienttoken=nil, mountoptions=nil)
|
|
1019
|
+
def initialize(toolid=nil, toolname=nil, timeout=nil, clienttoken=nil, mountoptions=nil, customconfiguration=nil)
|
|
710
1020
|
@ToolId = toolid
|
|
711
1021
|
@ToolName = toolname
|
|
712
1022
|
@Timeout = timeout
|
|
713
1023
|
@ClientToken = clienttoken
|
|
714
1024
|
@MountOptions = mountoptions
|
|
1025
|
+
@CustomConfiguration = customconfiguration
|
|
715
1026
|
end
|
|
716
1027
|
|
|
717
1028
|
def deserialize(params)
|
|
@@ -727,6 +1038,10 @@ module TencentCloud
|
|
|
727
1038
|
@MountOptions << mountoption_tmp
|
|
728
1039
|
end
|
|
729
1040
|
end
|
|
1041
|
+
unless params['CustomConfiguration'].nil?
|
|
1042
|
+
@CustomConfiguration = CustomConfiguration.new
|
|
1043
|
+
@CustomConfiguration.deserialize(params['CustomConfiguration'])
|
|
1044
|
+
end
|
|
730
1045
|
end
|
|
731
1046
|
end
|
|
732
1047
|
|
|
@@ -820,11 +1135,14 @@ module TencentCloud
|
|
|
820
1135
|
class StorageSource < TencentCloud::Common::AbstractModel
|
|
821
1136
|
# @param Cos: 对象存储桶配置
|
|
822
1137
|
# @type Cos: :class:`Tencentcloud::Ags.v20250920.models.CosStorageSource`
|
|
1138
|
+
# @param Image: 镜像卷配置
|
|
1139
|
+
# @type Image: :class:`Tencentcloud::Ags.v20250920.models.ImageStorageSource`
|
|
823
1140
|
|
|
824
|
-
attr_accessor :Cos
|
|
1141
|
+
attr_accessor :Cos, :Image
|
|
825
1142
|
|
|
826
|
-
def initialize(cos=nil)
|
|
1143
|
+
def initialize(cos=nil, image=nil)
|
|
827
1144
|
@Cos = cos
|
|
1145
|
+
@Image = image
|
|
828
1146
|
end
|
|
829
1147
|
|
|
830
1148
|
def deserialize(params)
|
|
@@ -832,6 +1150,10 @@ module TencentCloud
|
|
|
832
1150
|
@Cos = CosStorageSource.new
|
|
833
1151
|
@Cos.deserialize(params['Cos'])
|
|
834
1152
|
end
|
|
1153
|
+
unless params['Image'].nil?
|
|
1154
|
+
@Image = ImageStorageSource.new
|
|
1155
|
+
@Image.deserialize(params['Image'])
|
|
1156
|
+
end
|
|
835
1157
|
end
|
|
836
1158
|
end
|
|
837
1159
|
|
|
@@ -901,14 +1223,17 @@ module TencentCloud
|
|
|
901
1223
|
# @type NetworkConfiguration: :class:`Tencentcloud::Ags.v20250920.models.NetworkConfiguration`
|
|
902
1224
|
# @param Tags: 标签
|
|
903
1225
|
# @type Tags: Array
|
|
1226
|
+
# @param CustomConfiguration: 沙箱工具自定义配置
|
|
1227
|
+
# @type CustomConfiguration: :class:`Tencentcloud::Ags.v20250920.models.CustomConfiguration`
|
|
904
1228
|
|
|
905
|
-
attr_accessor :ToolId, :Description, :NetworkConfiguration, :Tags
|
|
1229
|
+
attr_accessor :ToolId, :Description, :NetworkConfiguration, :Tags, :CustomConfiguration
|
|
906
1230
|
|
|
907
|
-
def initialize(toolid=nil, description=nil, networkconfiguration=nil, tags=nil)
|
|
1231
|
+
def initialize(toolid=nil, description=nil, networkconfiguration=nil, tags=nil, customconfiguration=nil)
|
|
908
1232
|
@ToolId = toolid
|
|
909
1233
|
@Description = description
|
|
910
1234
|
@NetworkConfiguration = networkconfiguration
|
|
911
1235
|
@Tags = tags
|
|
1236
|
+
@CustomConfiguration = customconfiguration
|
|
912
1237
|
end
|
|
913
1238
|
|
|
914
1239
|
def deserialize(params)
|
|
@@ -926,6 +1251,10 @@ module TencentCloud
|
|
|
926
1251
|
@Tags << tag_tmp
|
|
927
1252
|
end
|
|
928
1253
|
end
|
|
1254
|
+
unless params['CustomConfiguration'].nil?
|
|
1255
|
+
@CustomConfiguration = CustomConfiguration.new
|
|
1256
|
+
@CustomConfiguration.deserialize(params['CustomConfiguration'])
|
|
1257
|
+
end
|
|
929
1258
|
end
|
|
930
1259
|
end
|
|
931
1260
|
|
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.
|
|
4
|
+
version: 3.0.1194
|
|
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-
|
|
11
|
+
date: 2025-12-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|