tencentcloud-sdk-python-ags 3.1.183__tar.gz → 3.1.189__tar.gz

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 (17) hide show
  1. {tencentcloud_sdk_python_ags-3.1.183 → tencentcloud_sdk_python_ags-3.1.189}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_ags-3.1.183 → tencentcloud_sdk_python_ags-3.1.189}/setup.py +1 -1
  3. {tencentcloud_sdk_python_ags-3.1.183 → tencentcloud_sdk_python_ags-3.1.189}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_ags-3.1.183 → tencentcloud_sdk_python_ags-3.1.189}/tencentcloud/ags/v20250920/ags_client.py +118 -0
  5. {tencentcloud_sdk_python_ags-3.1.183 → tencentcloud_sdk_python_ags-3.1.189}/tencentcloud/ags/v20250920/ags_client_async.py +93 -0
  6. {tencentcloud_sdk_python_ags-3.1.183 → tencentcloud_sdk_python_ags-3.1.189}/tencentcloud/ags/v20250920/models.py +1327 -17
  7. {tencentcloud_sdk_python_ags-3.1.183 → tencentcloud_sdk_python_ags-3.1.189}/tencentcloud_sdk_python_ags.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_ags-3.1.189/tencentcloud_sdk_python_ags.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_ags-3.1.183/tencentcloud_sdk_python_ags.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_ags-3.1.183 → tencentcloud_sdk_python_ags-3.1.189}/README.rst +0 -0
  11. {tencentcloud_sdk_python_ags-3.1.183 → tencentcloud_sdk_python_ags-3.1.189}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_ags-3.1.183 → tencentcloud_sdk_python_ags-3.1.189}/tencentcloud/ags/__init__.py +0 -0
  13. {tencentcloud_sdk_python_ags-3.1.183 → tencentcloud_sdk_python_ags-3.1.189}/tencentcloud/ags/v20250920/__init__.py +0 -0
  14. {tencentcloud_sdk_python_ags-3.1.183 → tencentcloud_sdk_python_ags-3.1.189}/tencentcloud/ags/v20250920/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_ags-3.1.183 → tencentcloud_sdk_python_ags-3.1.189}/tencentcloud_sdk_python_ags.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_ags-3.1.183 → tencentcloud_sdk_python_ags-3.1.189}/tencentcloud_sdk_python_ags.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_ags-3.1.183 → tencentcloud_sdk_python_ags-3.1.189}/tencentcloud_sdk_python_ags.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-ags
3
- Version: 3.1.183
3
+ Version: 3.1.189
4
4
  Summary: Tencent Cloud Ags SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.183
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.189
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-ags',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.183,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.189,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Ags SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.183'
17
+ __version__ = '3.1.189'
@@ -259,6 +259,30 @@ class AgsClient(AbstractClient):
259
259
  raise TencentCloudSDKException(type(e).__name__, str(e))
260
260
 
261
261
 
262
+ def CreateSandboxSnapshot(self, request):
263
+ r"""创建沙箱快照
264
+ 该接口属于 Runtime Snapshot API ,当前为预览版本(Beta)。接口后续可能发生不兼容变更或被弃用,不保证向后兼容。接入方需关注后续版本及变更说明,并根据需要调整调用代码。
265
+
266
+ :param request: Request instance for CreateSandboxSnapshot.
267
+ :type request: :class:`tencentcloud.ags.v20250920.models.CreateSandboxSnapshotRequest`
268
+ :rtype: :class:`tencentcloud.ags.v20250920.models.CreateSandboxSnapshotResponse`
269
+
270
+ """
271
+ try:
272
+ params = request._serialize()
273
+ headers = request.headers
274
+ body = self.call("CreateSandboxSnapshot", params, headers=headers)
275
+ response = json.loads(body)
276
+ model = models.CreateSandboxSnapshotResponse()
277
+ model._deserialize(response["Response"])
278
+ return model
279
+ except Exception as e:
280
+ if isinstance(e, TencentCloudSDKException):
281
+ raise
282
+ else:
283
+ raise TencentCloudSDKException(type(e).__name__, str(e))
284
+
285
+
262
286
  def CreateSandboxTool(self, request):
263
287
  r"""创建沙箱工具
264
288
 
@@ -377,6 +401,29 @@ class AgsClient(AbstractClient):
377
401
  raise TencentCloudSDKException(type(e).__name__, str(e))
378
402
 
379
403
 
404
+ def DeletePreCacheImage(self, request):
405
+ r"""删除预热镜像
406
+
407
+ :param request: Request instance for DeletePreCacheImage.
408
+ :type request: :class:`tencentcloud.ags.v20250920.models.DeletePreCacheImageRequest`
409
+ :rtype: :class:`tencentcloud.ags.v20250920.models.DeletePreCacheImageResponse`
410
+
411
+ """
412
+ try:
413
+ params = request._serialize()
414
+ headers = request.headers
415
+ body = self.call("DeletePreCacheImage", params, headers=headers)
416
+ response = json.loads(body)
417
+ model = models.DeletePreCacheImageResponse()
418
+ model._deserialize(response["Response"])
419
+ return model
420
+ except Exception as e:
421
+ if isinstance(e, TencentCloudSDKException):
422
+ raise
423
+ else:
424
+ raise TencentCloudSDKException(type(e).__name__, str(e))
425
+
426
+
380
427
  def DeleteRegistry(self, request):
381
428
  r"""删除 Registry。
382
429
 
@@ -423,6 +470,30 @@ class AgsClient(AbstractClient):
423
470
  raise TencentCloudSDKException(type(e).__name__, str(e))
424
471
 
425
472
 
473
+ def DeleteSandboxSnapshot(self, request):
474
+ r"""删除沙箱快照
475
+ 该接口属于 Runtime Snapshot API ,当前为预览版本(Beta)。接口后续可能发生不兼容变更或被弃用,不保证向后兼容。接入方需关注后续版本及变更说明,并根据需要调整调用代码。
476
+
477
+ :param request: Request instance for DeleteSandboxSnapshot.
478
+ :type request: :class:`tencentcloud.ags.v20250920.models.DeleteSandboxSnapshotRequest`
479
+ :rtype: :class:`tencentcloud.ags.v20250920.models.DeleteSandboxSnapshotResponse`
480
+
481
+ """
482
+ try:
483
+ params = request._serialize()
484
+ headers = request.headers
485
+ body = self.call("DeleteSandboxSnapshot", params, headers=headers)
486
+ response = json.loads(body)
487
+ model = models.DeleteSandboxSnapshotResponse()
488
+ model._deserialize(response["Response"])
489
+ return model
490
+ except Exception as e:
491
+ if isinstance(e, TencentCloudSDKException):
492
+ raise
493
+ else:
494
+ raise TencentCloudSDKException(type(e).__name__, str(e))
495
+
496
+
426
497
  def DeleteSandboxTool(self, request):
427
498
  r"""删除沙箱工具
428
499
 
@@ -587,6 +658,29 @@ class AgsClient(AbstractClient):
587
658
  raise TencentCloudSDKException(type(e).__name__, str(e))
588
659
 
589
660
 
661
+ def DescribePreCacheImageList(self, request):
662
+ r"""查询镜像预热列表
663
+
664
+ :param request: Request instance for DescribePreCacheImageList.
665
+ :type request: :class:`tencentcloud.ags.v20250920.models.DescribePreCacheImageListRequest`
666
+ :rtype: :class:`tencentcloud.ags.v20250920.models.DescribePreCacheImageListResponse`
667
+
668
+ """
669
+ try:
670
+ params = request._serialize()
671
+ headers = request.headers
672
+ body = self.call("DescribePreCacheImageList", params, headers=headers)
673
+ response = json.loads(body)
674
+ model = models.DescribePreCacheImageListResponse()
675
+ model._deserialize(response["Response"])
676
+ return model
677
+ except Exception as e:
678
+ if isinstance(e, TencentCloudSDKException):
679
+ raise
680
+ else:
681
+ raise TencentCloudSDKException(type(e).__name__, str(e))
682
+
683
+
590
684
  def DescribePreCacheImageTask(self, request):
591
685
  r"""查询镜像预热任务信息
592
686
 
@@ -794,6 +888,30 @@ class AgsClient(AbstractClient):
794
888
  raise TencentCloudSDKException(type(e).__name__, str(e))
795
889
 
796
890
 
891
+ def DescribeSandboxSnapshotList(self, request):
892
+ r"""查询沙箱快照
893
+ 该接口属于 Runtime Snapshot API ,当前为预览版本(Beta)。接口后续可能发生不兼容变更或被弃用,不保证向后兼容。请关注后续版本及变更说明,并根据需要调整调用代码。
894
+
895
+ :param request: Request instance for DescribeSandboxSnapshotList.
896
+ :type request: :class:`tencentcloud.ags.v20250920.models.DescribeSandboxSnapshotListRequest`
897
+ :rtype: :class:`tencentcloud.ags.v20250920.models.DescribeSandboxSnapshotListResponse`
898
+
899
+ """
900
+ try:
901
+ params = request._serialize()
902
+ headers = request.headers
903
+ body = self.call("DescribeSandboxSnapshotList", params, headers=headers)
904
+ response = json.loads(body)
905
+ model = models.DescribeSandboxSnapshotListResponse()
906
+ model._deserialize(response["Response"])
907
+ return model
908
+ except Exception as e:
909
+ if isinstance(e, TencentCloudSDKException):
910
+ raise
911
+ else:
912
+ raise TencentCloudSDKException(type(e).__name__, str(e))
913
+
914
+
797
915
  def DescribeSandboxToolList(self, request):
798
916
  r"""查询沙箱工具列表
799
917
 
@@ -208,6 +208,25 @@ class AgsClient(AbstractClient):
208
208
 
209
209
  return await self.call_and_deserialize(**kwargs)
210
210
 
211
+ async def CreateSandboxSnapshot(
212
+ self,
213
+ request: models.CreateSandboxSnapshotRequest,
214
+ opts: Dict = None,
215
+ ) -> models.CreateSandboxSnapshotResponse:
216
+ """
217
+ 创建沙箱快照
218
+ 该接口属于 Runtime Snapshot API ,当前为预览版本(Beta)。接口后续可能发生不兼容变更或被弃用,不保证向后兼容。接入方需关注后续版本及变更说明,并根据需要调整调用代码。
219
+ """
220
+
221
+ kwargs = {}
222
+ kwargs["action"] = "CreateSandboxSnapshot"
223
+ kwargs["params"] = request._serialize()
224
+ kwargs["resp_cls"] = models.CreateSandboxSnapshotResponse
225
+ kwargs["headers"] = request.headers
226
+ kwargs["opts"] = opts or {}
227
+
228
+ return await self.call_and_deserialize(**kwargs)
229
+
211
230
  async def CreateSandboxTool(
212
231
  self,
213
232
  request: models.CreateSandboxToolRequest,
@@ -301,6 +320,24 @@ class AgsClient(AbstractClient):
301
320
 
302
321
  return await self.call_and_deserialize(**kwargs)
303
322
 
323
+ async def DeletePreCacheImage(
324
+ self,
325
+ request: models.DeletePreCacheImageRequest,
326
+ opts: Dict = None,
327
+ ) -> models.DeletePreCacheImageResponse:
328
+ """
329
+ 删除预热镜像
330
+ """
331
+
332
+ kwargs = {}
333
+ kwargs["action"] = "DeletePreCacheImage"
334
+ kwargs["params"] = request._serialize()
335
+ kwargs["resp_cls"] = models.DeletePreCacheImageResponse
336
+ kwargs["headers"] = request.headers
337
+ kwargs["opts"] = opts or {}
338
+
339
+ return await self.call_and_deserialize(**kwargs)
340
+
304
341
  async def DeleteRegistry(
305
342
  self,
306
343
  request: models.DeleteRegistryRequest,
@@ -337,6 +374,25 @@ class AgsClient(AbstractClient):
337
374
 
338
375
  return await self.call_and_deserialize(**kwargs)
339
376
 
377
+ async def DeleteSandboxSnapshot(
378
+ self,
379
+ request: models.DeleteSandboxSnapshotRequest,
380
+ opts: Dict = None,
381
+ ) -> models.DeleteSandboxSnapshotResponse:
382
+ """
383
+ 删除沙箱快照
384
+ 该接口属于 Runtime Snapshot API ,当前为预览版本(Beta)。接口后续可能发生不兼容变更或被弃用,不保证向后兼容。接入方需关注后续版本及变更说明,并根据需要调整调用代码。
385
+ """
386
+
387
+ kwargs = {}
388
+ kwargs["action"] = "DeleteSandboxSnapshot"
389
+ kwargs["params"] = request._serialize()
390
+ kwargs["resp_cls"] = models.DeleteSandboxSnapshotResponse
391
+ kwargs["headers"] = request.headers
392
+ kwargs["opts"] = opts or {}
393
+
394
+ return await self.call_and_deserialize(**kwargs)
395
+
340
396
  async def DeleteSandboxTool(
341
397
  self,
342
398
  request: models.DeleteSandboxToolRequest,
@@ -466,6 +522,24 @@ class AgsClient(AbstractClient):
466
522
 
467
523
  return await self.call_and_deserialize(**kwargs)
468
524
 
525
+ async def DescribePreCacheImageList(
526
+ self,
527
+ request: models.DescribePreCacheImageListRequest,
528
+ opts: Dict = None,
529
+ ) -> models.DescribePreCacheImageListResponse:
530
+ """
531
+ 查询镜像预热列表
532
+ """
533
+
534
+ kwargs = {}
535
+ kwargs["action"] = "DescribePreCacheImageList"
536
+ kwargs["params"] = request._serialize()
537
+ kwargs["resp_cls"] = models.DescribePreCacheImageListResponse
538
+ kwargs["headers"] = request.headers
539
+ kwargs["opts"] = opts or {}
540
+
541
+ return await self.call_and_deserialize(**kwargs)
542
+
469
543
  async def DescribePreCacheImageTask(
470
544
  self,
471
545
  request: models.DescribePreCacheImageTaskRequest,
@@ -628,6 +702,25 @@ class AgsClient(AbstractClient):
628
702
 
629
703
  return await self.call_and_deserialize(**kwargs)
630
704
 
705
+ async def DescribeSandboxSnapshotList(
706
+ self,
707
+ request: models.DescribeSandboxSnapshotListRequest,
708
+ opts: Dict = None,
709
+ ) -> models.DescribeSandboxSnapshotListResponse:
710
+ """
711
+ 查询沙箱快照
712
+ 该接口属于 Runtime Snapshot API ,当前为预览版本(Beta)。接口后续可能发生不兼容变更或被弃用,不保证向后兼容。请关注后续版本及变更说明,并根据需要调整调用代码。
713
+ """
714
+
715
+ kwargs = {}
716
+ kwargs["action"] = "DescribeSandboxSnapshotList"
717
+ kwargs["params"] = request._serialize()
718
+ kwargs["resp_cls"] = models.DescribeSandboxSnapshotListResponse
719
+ kwargs["headers"] = request.headers
720
+ kwargs["opts"] = opts or {}
721
+
722
+ return await self.call_and_deserialize(**kwargs)
723
+
631
724
  async def DescribeSandboxToolList(
632
725
  self,
633
726
  request: models.DescribeSandboxToolListRequest,