tencentcloud-sdk-python-ags 3.1.188__tar.gz → 3.1.193__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.
- {tencentcloud_sdk_python_ags-3.1.188 → tencentcloud_sdk_python_ags-3.1.193}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_ags-3.1.188 → tencentcloud_sdk_python_ags-3.1.193}/setup.py +1 -1
- {tencentcloud_sdk_python_ags-3.1.188 → tencentcloud_sdk_python_ags-3.1.193}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_ags-3.1.188 → tencentcloud_sdk_python_ags-3.1.193}/tencentcloud/ags/v20250920/ags_client.py +69 -0
- {tencentcloud_sdk_python_ags-3.1.188 → tencentcloud_sdk_python_ags-3.1.193}/tencentcloud/ags/v20250920/ags_client_async.py +54 -0
- {tencentcloud_sdk_python_ags-3.1.188 → tencentcloud_sdk_python_ags-3.1.193}/tencentcloud/ags/v20250920/models.py +899 -85
- {tencentcloud_sdk_python_ags-3.1.188 → tencentcloud_sdk_python_ags-3.1.193}/tencentcloud_sdk_python_ags.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_ags-3.1.193/tencentcloud_sdk_python_ags.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_ags-3.1.188/tencentcloud_sdk_python_ags.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_ags-3.1.188 → tencentcloud_sdk_python_ags-3.1.193}/README.rst +0 -0
- {tencentcloud_sdk_python_ags-3.1.188 → tencentcloud_sdk_python_ags-3.1.193}/setup.cfg +0 -0
- {tencentcloud_sdk_python_ags-3.1.188 → tencentcloud_sdk_python_ags-3.1.193}/tencentcloud/ags/__init__.py +0 -0
- {tencentcloud_sdk_python_ags-3.1.188 → tencentcloud_sdk_python_ags-3.1.193}/tencentcloud/ags/v20250920/__init__.py +0 -0
- {tencentcloud_sdk_python_ags-3.1.188 → tencentcloud_sdk_python_ags-3.1.193}/tencentcloud/ags/v20250920/errorcodes.py +0 -0
- {tencentcloud_sdk_python_ags-3.1.188 → tencentcloud_sdk_python_ags-3.1.193}/tencentcloud_sdk_python_ags.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_ags-3.1.188 → tencentcloud_sdk_python_ags-3.1.193}/tencentcloud_sdk_python_ags.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_ags-3.1.188 → tencentcloud_sdk_python_ags-3.1.193}/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.
|
|
3
|
+
Version: 3.1.193
|
|
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.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.193
|
|
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.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.193,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Ags SDK for Python',
|
|
@@ -401,6 +401,29 @@ class AgsClient(AbstractClient):
|
|
|
401
401
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
402
402
|
|
|
403
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
|
+
|
|
404
427
|
def DeleteRegistry(self, request):
|
|
405
428
|
r"""删除 Registry。
|
|
406
429
|
|
|
@@ -635,6 +658,29 @@ class AgsClient(AbstractClient):
|
|
|
635
658
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
636
659
|
|
|
637
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
|
+
|
|
638
684
|
def DescribePreCacheImageTask(self, request):
|
|
639
685
|
r"""查询镜像预热任务信息
|
|
640
686
|
|
|
@@ -842,6 +888,29 @@ class AgsClient(AbstractClient):
|
|
|
842
888
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
843
889
|
|
|
844
890
|
|
|
891
|
+
def DescribeSandboxInstances(self, request):
|
|
892
|
+
r"""查询沙箱实例
|
|
893
|
+
|
|
894
|
+
:param request: Request instance for DescribeSandboxInstances.
|
|
895
|
+
:type request: :class:`tencentcloud.ags.v20250920.models.DescribeSandboxInstancesRequest`
|
|
896
|
+
:rtype: :class:`tencentcloud.ags.v20250920.models.DescribeSandboxInstancesResponse`
|
|
897
|
+
|
|
898
|
+
"""
|
|
899
|
+
try:
|
|
900
|
+
params = request._serialize()
|
|
901
|
+
headers = request.headers
|
|
902
|
+
body = self.call("DescribeSandboxInstances", params, headers=headers)
|
|
903
|
+
response = json.loads(body)
|
|
904
|
+
model = models.DescribeSandboxInstancesResponse()
|
|
905
|
+
model._deserialize(response["Response"])
|
|
906
|
+
return model
|
|
907
|
+
except Exception as e:
|
|
908
|
+
if isinstance(e, TencentCloudSDKException):
|
|
909
|
+
raise
|
|
910
|
+
else:
|
|
911
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
912
|
+
|
|
913
|
+
|
|
845
914
|
def DescribeSandboxSnapshotList(self, request):
|
|
846
915
|
r"""查询沙箱快照
|
|
847
916
|
该接口属于 Runtime Snapshot API ,当前为预览版本(Beta)。接口后续可能发生不兼容变更或被弃用,不保证向后兼容。请关注后续版本及变更说明,并根据需要调整调用代码。
|
|
@@ -320,6 +320,24 @@ class AgsClient(AbstractClient):
|
|
|
320
320
|
|
|
321
321
|
return await self.call_and_deserialize(**kwargs)
|
|
322
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
|
+
|
|
323
341
|
async def DeleteRegistry(
|
|
324
342
|
self,
|
|
325
343
|
request: models.DeleteRegistryRequest,
|
|
@@ -504,6 +522,24 @@ class AgsClient(AbstractClient):
|
|
|
504
522
|
|
|
505
523
|
return await self.call_and_deserialize(**kwargs)
|
|
506
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
|
+
|
|
507
543
|
async def DescribePreCacheImageTask(
|
|
508
544
|
self,
|
|
509
545
|
request: models.DescribePreCacheImageTaskRequest,
|
|
@@ -666,6 +702,24 @@ class AgsClient(AbstractClient):
|
|
|
666
702
|
|
|
667
703
|
return await self.call_and_deserialize(**kwargs)
|
|
668
704
|
|
|
705
|
+
async def DescribeSandboxInstances(
|
|
706
|
+
self,
|
|
707
|
+
request: models.DescribeSandboxInstancesRequest,
|
|
708
|
+
opts: Dict = None,
|
|
709
|
+
) -> models.DescribeSandboxInstancesResponse:
|
|
710
|
+
"""
|
|
711
|
+
查询沙箱实例
|
|
712
|
+
"""
|
|
713
|
+
|
|
714
|
+
kwargs = {}
|
|
715
|
+
kwargs["action"] = "DescribeSandboxInstances"
|
|
716
|
+
kwargs["params"] = request._serialize()
|
|
717
|
+
kwargs["resp_cls"] = models.DescribeSandboxInstancesResponse
|
|
718
|
+
kwargs["headers"] = request.headers
|
|
719
|
+
kwargs["opts"] = opts or {}
|
|
720
|
+
|
|
721
|
+
return await self.call_and_deserialize(**kwargs)
|
|
722
|
+
|
|
669
723
|
async def DescribeSandboxSnapshotList(
|
|
670
724
|
self,
|
|
671
725
|
request: models.DescribeSandboxSnapshotListRequest,
|