tencentcloud-sdk-ags 3.0.1164 → 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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20250920/models.rb +524 -14
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15a7df96c022fa7c6d324bf09ef8452284fead3e
4
- data.tar.gz: 440e4936444c700b700e807903acc949909571e0
3
+ metadata.gz: 1c43508740bc75245234981966322ff71f10b12f
4
+ data.tar.gz: 263c098ae07ae272a10e1e2dafe597e2abd34f5b
5
5
  SHA512:
6
- metadata.gz: d9695a040c49f0e917fdd52f3de8810919ecaec85130096a71cfe3a28c2805623a2cbddf5a2d8d95038ef161f1e03d6019d606ebb376f3eb6ce97ea8e6f08085
7
- data.tar.gz: 2a8cac4c5053d5bdccf73c57f3df44d49480d08c1f801733fe3e8dae5cfaa2e7b335bae19320080e9ad9148999f966a4cffa1358602607d31980f80de53f86c8
6
+ metadata.gz: 543d435c26137a9be0babbf748dfd4c9f21d3f3020be38e5131c59324e318f1a08e473a5b4638edb0ce0772547799a9c6236f2e4c638155a8ed349041f7284ab
7
+ data.tar.gz: 869f1de0117a75ab3146df5d585e99eec68b43cc351daf120ad36bf3e1b439c89fd8d30dc49bfd181cfb4eb12720ba08e050323f5466f2957211a1d9cdf556e8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1164
1
+ 3.0.1194
@@ -89,6 +89,30 @@ module TencentCloud
89
89
  end
90
90
  end
91
91
 
92
+ # 沙箱实例对象存储挂载配置
93
+ class CosStorageSource < TencentCloud::Common::AbstractModel
94
+ # @param Endpoint: 对象存储访问域名
95
+ # @type Endpoint: String
96
+ # @param BucketName: 对象存储桶名称
97
+ # @type BucketName: String
98
+ # @param BucketPath: 对象存储桶路径,必须为以/起始的绝对路径
99
+ # @type BucketPath: String
100
+
101
+ attr_accessor :Endpoint, :BucketName, :BucketPath
102
+
103
+ def initialize(endpoint=nil, bucketname=nil, bucketpath=nil)
104
+ @Endpoint = endpoint
105
+ @BucketName = bucketname
106
+ @BucketPath = bucketpath
107
+ end
108
+
109
+ def deserialize(params)
110
+ @Endpoint = params['Endpoint']
111
+ @BucketName = params['BucketName']
112
+ @BucketPath = params['BucketPath']
113
+ end
114
+ end
115
+
92
116
  # CreateAPIKey请求参数结构体
93
117
  class CreateAPIKeyRequest < TencentCloud::Common::AbstractModel
94
118
  # @param Name: API密钥名称,方便用户记忆
@@ -137,7 +161,7 @@ module TencentCloud
137
161
  class CreateSandboxToolRequest < TencentCloud::Common::AbstractModel
138
162
  # @param ToolName: 沙箱工具名称,长度 1-50 字符,支持英文、数字、下划线和连接线。同一 AppId 下沙箱工具名称必须唯一
139
163
  # @type ToolName: String
140
- # @param ToolType: 沙箱工具类型,目前支持:browser、code-interpreter
164
+ # @param ToolType: 沙箱工具类型,目前支持:browser、code-interpreter、custom
141
165
  # @type ToolType: String
142
166
  # @param NetworkConfiguration: 网络配置
143
167
  # @type NetworkConfiguration: :class:`Tencentcloud::Ags.v20250920.models.NetworkConfiguration`
@@ -149,10 +173,16 @@ module TencentCloud
149
173
  # @type Tags: Array
150
174
  # @param ClientToken: 幂等性 Token,长度不超过 64 字符
151
175
  # @type ClientToken: String
176
+ # @param RoleArn: 角色ARN
177
+ # @type RoleArn: String
178
+ # @param StorageMounts: 沙箱工具存储配置
179
+ # @type StorageMounts: Array
180
+ # @param CustomConfiguration: 沙箱工具自定义配置
181
+ # @type CustomConfiguration: :class:`Tencentcloud::Ags.v20250920.models.CustomConfiguration`
152
182
 
153
- attr_accessor :ToolName, :ToolType, :NetworkConfiguration, :Description, :DefaultTimeout, :Tags, :ClientToken
183
+ attr_accessor :ToolName, :ToolType, :NetworkConfiguration, :Description, :DefaultTimeout, :Tags, :ClientToken, :RoleArn, :StorageMounts, :CustomConfiguration
154
184
 
155
- def initialize(toolname=nil, tooltype=nil, networkconfiguration=nil, description=nil, defaulttimeout=nil, tags=nil, clienttoken=nil)
185
+ def initialize(toolname=nil, tooltype=nil, networkconfiguration=nil, description=nil, defaulttimeout=nil, tags=nil, clienttoken=nil, rolearn=nil, storagemounts=nil, customconfiguration=nil)
156
186
  @ToolName = toolname
157
187
  @ToolType = tooltype
158
188
  @NetworkConfiguration = networkconfiguration
@@ -160,6 +190,9 @@ module TencentCloud
160
190
  @DefaultTimeout = defaulttimeout
161
191
  @Tags = tags
162
192
  @ClientToken = clienttoken
193
+ @RoleArn = rolearn
194
+ @StorageMounts = storagemounts
195
+ @CustomConfiguration = customconfiguration
163
196
  end
164
197
 
165
198
  def deserialize(params)
@@ -180,6 +213,19 @@ module TencentCloud
180
213
  end
181
214
  end
182
215
  @ClientToken = params['ClientToken']
216
+ @RoleArn = params['RoleArn']
217
+ unless params['StorageMounts'].nil?
218
+ @StorageMounts = []
219
+ params['StorageMounts'].each do |i|
220
+ storagemount_tmp = StorageMount.new
221
+ storagemount_tmp.deserialize(i)
222
+ @StorageMounts << storagemount_tmp
223
+ end
224
+ end
225
+ unless params['CustomConfiguration'].nil?
226
+ @CustomConfiguration = CustomConfiguration.new
227
+ @CustomConfiguration.deserialize(params['CustomConfiguration'])
228
+ end
183
229
  end
184
230
  end
185
231
 
@@ -203,6 +249,138 @@ module TencentCloud
203
249
  end
204
250
  end
205
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
+
206
384
  # DeleteAPIKey请求参数结构体
207
385
  class DeleteAPIKeyRequest < TencentCloud::Common::AbstractModel
208
386
  # @param KeyId: 需要删除的API密钥ID
@@ -445,6 +623,26 @@ module TencentCloud
445
623
  end
446
624
  end
447
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
+
448
646
  # 过滤列表规则
449
647
  class Filter < TencentCloud::Common::AbstractModel
450
648
  # @param Name: 属性名称, 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
@@ -465,19 +663,189 @@ module TencentCloud
465
663
  end
466
664
  end
467
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
+
718
+ # 沙箱实例存储挂载配置可选项,用于覆盖沙箱工具的存储配置的部分选项,并提供子路径挂载配置。
719
+ class MountOption < TencentCloud::Common::AbstractModel
720
+ # @param Name: 指定沙箱工具中的存储配置名称
721
+ # @type Name: String
722
+ # @param MountPath: 沙箱实例本地挂载路径(可选),默认继承工具中的存储配置
723
+ # @type MountPath: String
724
+ # @param SubPath: 沙箱实例存储挂载子路径(可选)
725
+ # @type SubPath: String
726
+ # @param ReadOnly: 沙箱实例存储挂载读写权限(可选),默认继承工具存储配置
727
+ # @type ReadOnly: Boolean
728
+
729
+ attr_accessor :Name, :MountPath, :SubPath, :ReadOnly
730
+
731
+ def initialize(name=nil, mountpath=nil, subpath=nil, readonly=nil)
732
+ @Name = name
733
+ @MountPath = mountpath
734
+ @SubPath = subpath
735
+ @ReadOnly = readonly
736
+ end
737
+
738
+ def deserialize(params)
739
+ @Name = params['Name']
740
+ @MountPath = params['MountPath']
741
+ @SubPath = params['SubPath']
742
+ @ReadOnly = params['ReadOnly']
743
+ end
744
+ end
745
+
468
746
  # 沙箱网络配置
469
747
  class NetworkConfiguration < TencentCloud::Common::AbstractModel
470
- # @param NetworkMode: 网络模式(当前支持 PUBLIC)
748
+ # @param NetworkMode: 网络模式(当前支持 PUBLIC, VPC, SANDBOX
471
749
  # @type NetworkMode: String
750
+ # @param VpcConfig: VPC网络相关配置
751
+ # @type VpcConfig: :class:`Tencentcloud::Ags.v20250920.models.VPCConfig`
472
752
 
473
- attr_accessor :NetworkMode
753
+ attr_accessor :NetworkMode, :VpcConfig
474
754
 
475
- def initialize(networkmode=nil)
755
+ def initialize(networkmode=nil, vpcconfig=nil)
476
756
  @NetworkMode = networkmode
757
+ @VpcConfig = vpcconfig
477
758
  end
478
759
 
479
760
  def deserialize(params)
480
761
  @NetworkMode = params['NetworkMode']
762
+ unless params['VpcConfig'].nil?
763
+ @VpcConfig = VPCConfig.new
764
+ @VpcConfig.deserialize(params['VpcConfig'])
765
+ end
766
+ end
767
+ end
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']
481
849
  end
482
850
  end
483
851
 
@@ -501,10 +869,14 @@ module TencentCloud
501
869
  # @type CreateTime: String
502
870
  # @param UpdateTime: 更新时间(ISO 8601 格式)
503
871
  # @type UpdateTime: String
872
+ # @param MountOptions: 存储挂载选项
873
+ # @type MountOptions: Array
874
+ # @param CustomConfiguration: 沙箱实例自定义配置
875
+ # @type CustomConfiguration: :class:`Tencentcloud::Ags.v20250920.models.CustomConfigurationDetail`
504
876
 
505
- attr_accessor :InstanceId, :ToolId, :ToolName, :Status, :TimeoutSeconds, :ExpiresAt, :StopReason, :CreateTime, :UpdateTime
877
+ attr_accessor :InstanceId, :ToolId, :ToolName, :Status, :TimeoutSeconds, :ExpiresAt, :StopReason, :CreateTime, :UpdateTime, :MountOptions, :CustomConfiguration
506
878
 
507
- def initialize(instanceid=nil, toolid=nil, toolname=nil, status=nil, timeoutseconds=nil, expiresat=nil, stopreason=nil, createtime=nil, updatetime=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)
508
880
  @InstanceId = instanceid
509
881
  @ToolId = toolid
510
882
  @ToolName = toolname
@@ -514,6 +886,8 @@ module TencentCloud
514
886
  @StopReason = stopreason
515
887
  @CreateTime = createtime
516
888
  @UpdateTime = updatetime
889
+ @MountOptions = mountoptions
890
+ @CustomConfiguration = customconfiguration
517
891
  end
518
892
 
519
893
  def deserialize(params)
@@ -526,6 +900,18 @@ module TencentCloud
526
900
  @StopReason = params['StopReason']
527
901
  @CreateTime = params['CreateTime']
528
902
  @UpdateTime = params['UpdateTime']
903
+ unless params['MountOptions'].nil?
904
+ @MountOptions = []
905
+ params['MountOptions'].each do |i|
906
+ mountoption_tmp = MountOption.new
907
+ mountoption_tmp.deserialize(i)
908
+ @MountOptions << mountoption_tmp
909
+ end
910
+ end
911
+ unless params['CustomConfiguration'].nil?
912
+ @CustomConfiguration = CustomConfigurationDetail.new
913
+ @CustomConfiguration.deserialize(params['CustomConfiguration'])
914
+ end
529
915
  end
530
916
  end
531
917
 
@@ -551,10 +937,16 @@ module TencentCloud
551
937
  # @type CreateTime: String
552
938
  # @param UpdateTime: 沙箱工具更新时间,格式:ISO8601
553
939
  # @type UpdateTime: String
940
+ # @param RoleArn: 沙箱工具绑定角色ARN
941
+ # @type RoleArn: String
942
+ # @param StorageMounts: 沙箱工具中实例存储挂载配置
943
+ # @type StorageMounts: Array
944
+ # @param CustomConfiguration: 沙箱工具自定义配置
945
+ # @type CustomConfiguration: :class:`Tencentcloud::Ags.v20250920.models.CustomConfigurationDetail`
554
946
 
555
- attr_accessor :ToolId, :ToolName, :ToolType, :Status, :Description, :DefaultTimeoutSeconds, :NetworkConfiguration, :Tags, :CreateTime, :UpdateTime
947
+ attr_accessor :ToolId, :ToolName, :ToolType, :Status, :Description, :DefaultTimeoutSeconds, :NetworkConfiguration, :Tags, :CreateTime, :UpdateTime, :RoleArn, :StorageMounts, :CustomConfiguration
556
948
 
557
- def initialize(toolid=nil, toolname=nil, tooltype=nil, status=nil, description=nil, defaulttimeoutseconds=nil, networkconfiguration=nil, tags=nil, createtime=nil, updatetime=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)
558
950
  @ToolId = toolid
559
951
  @ToolName = toolname
560
952
  @ToolType = tooltype
@@ -565,6 +957,9 @@ module TencentCloud
565
957
  @Tags = tags
566
958
  @CreateTime = createtime
567
959
  @UpdateTime = updatetime
960
+ @RoleArn = rolearn
961
+ @StorageMounts = storagemounts
962
+ @CustomConfiguration = customconfiguration
568
963
  end
569
964
 
570
965
  def deserialize(params)
@@ -588,6 +983,19 @@ module TencentCloud
588
983
  end
589
984
  @CreateTime = params['CreateTime']
590
985
  @UpdateTime = params['UpdateTime']
986
+ @RoleArn = params['RoleArn']
987
+ unless params['StorageMounts'].nil?
988
+ @StorageMounts = []
989
+ params['StorageMounts'].each do |i|
990
+ storagemount_tmp = StorageMount.new
991
+ storagemount_tmp.deserialize(i)
992
+ @StorageMounts << storagemount_tmp
993
+ end
994
+ end
995
+ unless params['CustomConfiguration'].nil?
996
+ @CustomConfiguration = CustomConfigurationDetail.new
997
+ @CustomConfiguration.deserialize(params['CustomConfiguration'])
998
+ end
591
999
  end
592
1000
  end
593
1001
 
@@ -601,14 +1009,20 @@ module TencentCloud
601
1009
  # @type Timeout: String
602
1010
  # @param ClientToken: 幂等性 Token,长度不超过 64 字符
603
1011
  # @type ClientToken: String
1012
+ # @param MountOptions: 沙箱实例存储挂载配置
1013
+ # @type MountOptions: Array
1014
+ # @param CustomConfiguration: 沙箱实例自定义配置
1015
+ # @type CustomConfiguration: :class:`Tencentcloud::Ags.v20250920.models.CustomConfiguration`
604
1016
 
605
- attr_accessor :ToolId, :ToolName, :Timeout, :ClientToken
1017
+ attr_accessor :ToolId, :ToolName, :Timeout, :ClientToken, :MountOptions, :CustomConfiguration
606
1018
 
607
- def initialize(toolid=nil, toolname=nil, timeout=nil, clienttoken=nil)
1019
+ def initialize(toolid=nil, toolname=nil, timeout=nil, clienttoken=nil, mountoptions=nil, customconfiguration=nil)
608
1020
  @ToolId = toolid
609
1021
  @ToolName = toolname
610
1022
  @Timeout = timeout
611
1023
  @ClientToken = clienttoken
1024
+ @MountOptions = mountoptions
1025
+ @CustomConfiguration = customconfiguration
612
1026
  end
613
1027
 
614
1028
  def deserialize(params)
@@ -616,6 +1030,18 @@ module TencentCloud
616
1030
  @ToolName = params['ToolName']
617
1031
  @Timeout = params['Timeout']
618
1032
  @ClientToken = params['ClientToken']
1033
+ unless params['MountOptions'].nil?
1034
+ @MountOptions = []
1035
+ params['MountOptions'].each do |i|
1036
+ mountoption_tmp = MountOption.new
1037
+ mountoption_tmp.deserialize(i)
1038
+ @MountOptions << mountoption_tmp
1039
+ end
1040
+ end
1041
+ unless params['CustomConfiguration'].nil?
1042
+ @CustomConfiguration = CustomConfiguration.new
1043
+ @CustomConfiguration.deserialize(params['CustomConfiguration'])
1044
+ end
619
1045
  end
620
1046
  end
621
1047
 
@@ -674,6 +1100,63 @@ module TencentCloud
674
1100
  end
675
1101
  end
676
1102
 
1103
+ # 沙箱工具中实例存储挂载配置
1104
+ class StorageMount < TencentCloud::Common::AbstractModel
1105
+ # @param Name: 存储挂载配置名称
1106
+ # @type Name: String
1107
+ # @param StorageSource: 存储配置
1108
+ # @type StorageSource: :class:`Tencentcloud::Ags.v20250920.models.StorageSource`
1109
+ # @param MountPath: 沙箱实例本地挂载路径
1110
+ # @type MountPath: String
1111
+ # @param ReadOnly: 存储挂载读写权限配置,默认为false
1112
+ # @type ReadOnly: Boolean
1113
+
1114
+ attr_accessor :Name, :StorageSource, :MountPath, :ReadOnly
1115
+
1116
+ def initialize(name=nil, storagesource=nil, mountpath=nil, readonly=nil)
1117
+ @Name = name
1118
+ @StorageSource = storagesource
1119
+ @MountPath = mountpath
1120
+ @ReadOnly = readonly
1121
+ end
1122
+
1123
+ def deserialize(params)
1124
+ @Name = params['Name']
1125
+ unless params['StorageSource'].nil?
1126
+ @StorageSource = StorageSource.new
1127
+ @StorageSource.deserialize(params['StorageSource'])
1128
+ end
1129
+ @MountPath = params['MountPath']
1130
+ @ReadOnly = params['ReadOnly']
1131
+ end
1132
+ end
1133
+
1134
+ # 挂载存储配置
1135
+ class StorageSource < TencentCloud::Common::AbstractModel
1136
+ # @param Cos: 对象存储桶配置
1137
+ # @type Cos: :class:`Tencentcloud::Ags.v20250920.models.CosStorageSource`
1138
+ # @param Image: 镜像卷配置
1139
+ # @type Image: :class:`Tencentcloud::Ags.v20250920.models.ImageStorageSource`
1140
+
1141
+ attr_accessor :Cos, :Image
1142
+
1143
+ def initialize(cos=nil, image=nil)
1144
+ @Cos = cos
1145
+ @Image = image
1146
+ end
1147
+
1148
+ def deserialize(params)
1149
+ unless params['Cos'].nil?
1150
+ @Cos = CosStorageSource.new
1151
+ @Cos.deserialize(params['Cos'])
1152
+ end
1153
+ unless params['Image'].nil?
1154
+ @Image = ImageStorageSource.new
1155
+ @Image.deserialize(params['Image'])
1156
+ end
1157
+ end
1158
+ end
1159
+
677
1160
  # 标签
678
1161
  class Tag < TencentCloud::Common::AbstractModel
679
1162
  # @param Key: 标签键
@@ -740,14 +1223,17 @@ module TencentCloud
740
1223
  # @type NetworkConfiguration: :class:`Tencentcloud::Ags.v20250920.models.NetworkConfiguration`
741
1224
  # @param Tags: 标签
742
1225
  # @type Tags: Array
1226
+ # @param CustomConfiguration: 沙箱工具自定义配置
1227
+ # @type CustomConfiguration: :class:`Tencentcloud::Ags.v20250920.models.CustomConfiguration`
743
1228
 
744
- attr_accessor :ToolId, :Description, :NetworkConfiguration, :Tags
1229
+ attr_accessor :ToolId, :Description, :NetworkConfiguration, :Tags, :CustomConfiguration
745
1230
 
746
- def initialize(toolid=nil, description=nil, networkconfiguration=nil, tags=nil)
1231
+ def initialize(toolid=nil, description=nil, networkconfiguration=nil, tags=nil, customconfiguration=nil)
747
1232
  @ToolId = toolid
748
1233
  @Description = description
749
1234
  @NetworkConfiguration = networkconfiguration
750
1235
  @Tags = tags
1236
+ @CustomConfiguration = customconfiguration
751
1237
  end
752
1238
 
753
1239
  def deserialize(params)
@@ -765,6 +1251,10 @@ module TencentCloud
765
1251
  @Tags << tag_tmp
766
1252
  end
767
1253
  end
1254
+ unless params['CustomConfiguration'].nil?
1255
+ @CustomConfiguration = CustomConfiguration.new
1256
+ @CustomConfiguration.deserialize(params['CustomConfiguration'])
1257
+ end
768
1258
  end
769
1259
  end
770
1260
 
@@ -784,6 +1274,26 @@ module TencentCloud
784
1274
  end
785
1275
  end
786
1276
 
1277
+ # 沙箱工具VPC相关配置
1278
+ class VPCConfig < TencentCloud::Common::AbstractModel
1279
+ # @param SubnetIds: VPC子网ID列表
1280
+ # @type SubnetIds: Array
1281
+ # @param SecurityGroupIds: 安全组ID列表
1282
+ # @type SecurityGroupIds: Array
1283
+
1284
+ attr_accessor :SubnetIds, :SecurityGroupIds
1285
+
1286
+ def initialize(subnetids=nil, securitygroupids=nil)
1287
+ @SubnetIds = subnetids
1288
+ @SecurityGroupIds = securitygroupids
1289
+ end
1290
+
1291
+ def deserialize(params)
1292
+ @SubnetIds = params['SubnetIds']
1293
+ @SecurityGroupIds = params['SecurityGroupIds']
1294
+ end
1295
+ end
1296
+
787
1297
  end
788
1298
  end
789
1299
  end
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.1164
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-11-09 00:00:00.000000000 Z
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