tencentcloud-sdk-python 3.1.192__py2.py3-none-any.whl → 3.1.194__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/ags/v20250920/ags_client.py +23 -0
- tencentcloud/ags/v20250920/ags_client_async.py +18 -0
- tencentcloud/ags/v20250920/models.py +88 -4
- tencentcloud/clb/v20180317/errorcodes.py +3 -0
- tencentcloud/clb/v20180317/models.py +285 -18
- tencentcloud/csip/v20221121/models.py +39 -2
- tencentcloud/cynosdb/v20190107/models.py +16 -20
- tencentcloud/databuddy/v20260715/databuddy_client.py +804 -16
- tencentcloud/databuddy/v20260715/databuddy_client_async.py +623 -0
- tencentcloud/databuddy/v20260715/errorcodes.py +26 -2
- tencentcloud/databuddy/v20260715/models.py +20234 -10335
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +69 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +54 -0
- tencentcloud/dbbrain/v20210527/models.py +1766 -95
- tencentcloud/dc/v20180410/models.py +42 -66
- tencentcloud/dts/v20211206/models.py +12 -12
- tencentcloud/ess/v20201111/models.py +100 -8
- tencentcloud/essbasic/v20210526/models.py +70 -10
- tencentcloud/iotexplorer/v20190423/errorcodes.py +27 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +207 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client_async.py +162 -0
- tencentcloud/iotexplorer/v20190423/models.py +1299 -171
- tencentcloud/mps/v20190612/models.py +8 -8
- tencentcloud/ocr/v20181119/models.py +79 -0
- tencentcloud/organization/v20210331/errorcodes.py +6 -0
- tencentcloud/organization/v20210331/models.py +159 -30
- tencentcloud/postgres/v20170312/models.py +56 -108
- tencentcloud/rum/v20210622/errorcodes.py +3 -0
- tencentcloud/rum/v20210622/models.py +34338 -11514
- tencentcloud/rum/v20210622/rum_client.py +2190 -212
- tencentcloud/rum/v20210622/rum_client_async.py +1674 -126
- tencentcloud/ssm/v20190923/errorcodes.py +3 -0
- tencentcloud/ssm/v20190923/models.py +109 -0
- tencentcloud/ssm/v20190923/ssm_client.py +23 -0
- tencentcloud/ssm/v20190923/ssm_client_async.py +18 -0
- tencentcloud/tcb/v20180608/models.py +1570 -0
- tencentcloud/tcb/v20180608/tcb_client.py +115 -0
- tencentcloud/tcb/v20180608/tcb_client_async.py +90 -0
- tencentcloud/teo/v20220901/models.py +212 -2
- tencentcloud/teo/v20220901/teo_client.py +23 -0
- tencentcloud/teo/v20220901/teo_client_async.py +18 -0
- tencentcloud/tke/v20220501/models.py +30 -0
- tencentcloud/trro/v20220325/models.py +45 -0
- tencentcloud/vod/v20180717/models.py +99 -22
- tencentcloud/vpc/v20170312/models.py +109 -112
- tencentcloud/workbuddyenterprise/v20260709/models.py +51 -34
- {tencentcloud_sdk_python-3.1.192.dist-info → tencentcloud_sdk_python-3.1.194.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.192.dist-info → tencentcloud_sdk_python-3.1.194.dist-info}/RECORD +52 -52
- {tencentcloud_sdk_python-3.1.192.dist-info → tencentcloud_sdk_python-3.1.194.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.192.dist-info → tencentcloud_sdk_python-3.1.194.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.192.dist-info → tencentcloud_sdk_python-3.1.194.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -888,6 +888,29 @@ class AgsClient(AbstractClient):
|
|
|
888
888
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
889
889
|
|
|
890
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
|
+
|
|
891
914
|
def DescribeSandboxSnapshotList(self, request):
|
|
892
915
|
r"""查询沙箱快照
|
|
893
916
|
该接口属于 Runtime Snapshot API ,当前为预览版本(Beta)。接口后续可能发生不兼容变更或被弃用,不保证向后兼容。请关注后续版本及变更说明,并根据需要调整调用代码。
|
|
@@ -702,6 +702,24 @@ class AgsClient(AbstractClient):
|
|
|
702
702
|
|
|
703
703
|
return await self.call_and_deserialize(**kwargs)
|
|
704
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
|
+
|
|
705
723
|
async def DescribeSandboxSnapshotList(
|
|
706
724
|
self,
|
|
707
725
|
request: models.DescribeSandboxSnapshotListRequest,
|
|
@@ -7939,6 +7939,90 @@ class DescribeSandboxInstanceListResponse(AbstractModel):
|
|
|
7939
7939
|
self._RequestId = params.get("RequestId")
|
|
7940
7940
|
|
|
7941
7941
|
|
|
7942
|
+
class DescribeSandboxInstancesRequest(AbstractModel):
|
|
7943
|
+
r"""DescribeSandboxInstances请求参数结构体
|
|
7944
|
+
|
|
7945
|
+
"""
|
|
7946
|
+
|
|
7947
|
+
def __init__(self):
|
|
7948
|
+
r"""
|
|
7949
|
+
:param _InstanceIds: <p>沙箱实例ID列表,指定要查询的实例。如果为空则查询所有实例。最大支持100个ID</p>
|
|
7950
|
+
:type InstanceIds: list of str
|
|
7951
|
+
"""
|
|
7952
|
+
self._InstanceIds = None
|
|
7953
|
+
|
|
7954
|
+
@property
|
|
7955
|
+
def InstanceIds(self):
|
|
7956
|
+
r"""<p>沙箱实例ID列表,指定要查询的实例。如果为空则查询所有实例。最大支持100个ID</p>
|
|
7957
|
+
:rtype: list of str
|
|
7958
|
+
"""
|
|
7959
|
+
return self._InstanceIds
|
|
7960
|
+
|
|
7961
|
+
@InstanceIds.setter
|
|
7962
|
+
def InstanceIds(self, InstanceIds):
|
|
7963
|
+
self._InstanceIds = InstanceIds
|
|
7964
|
+
|
|
7965
|
+
|
|
7966
|
+
def _deserialize(self, params):
|
|
7967
|
+
self._InstanceIds = params.get("InstanceIds")
|
|
7968
|
+
memeber_set = set(params.keys())
|
|
7969
|
+
for name, value in vars(self).items():
|
|
7970
|
+
property_name = name[1:]
|
|
7971
|
+
if property_name in memeber_set:
|
|
7972
|
+
memeber_set.remove(property_name)
|
|
7973
|
+
if len(memeber_set) > 0:
|
|
7974
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7975
|
+
|
|
7976
|
+
|
|
7977
|
+
|
|
7978
|
+
class DescribeSandboxInstancesResponse(AbstractModel):
|
|
7979
|
+
r"""DescribeSandboxInstances返回参数结构体
|
|
7980
|
+
|
|
7981
|
+
"""
|
|
7982
|
+
|
|
7983
|
+
def __init__(self):
|
|
7984
|
+
r"""
|
|
7985
|
+
:param _InstanceSet: <p>沙箱实例列表</p>
|
|
7986
|
+
:type InstanceSet: list of SandboxInstance
|
|
7987
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7988
|
+
:type RequestId: str
|
|
7989
|
+
"""
|
|
7990
|
+
self._InstanceSet = None
|
|
7991
|
+
self._RequestId = None
|
|
7992
|
+
|
|
7993
|
+
@property
|
|
7994
|
+
def InstanceSet(self):
|
|
7995
|
+
r"""<p>沙箱实例列表</p>
|
|
7996
|
+
:rtype: list of SandboxInstance
|
|
7997
|
+
"""
|
|
7998
|
+
return self._InstanceSet
|
|
7999
|
+
|
|
8000
|
+
@InstanceSet.setter
|
|
8001
|
+
def InstanceSet(self, InstanceSet):
|
|
8002
|
+
self._InstanceSet = InstanceSet
|
|
8003
|
+
|
|
8004
|
+
@property
|
|
8005
|
+
def RequestId(self):
|
|
8006
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8007
|
+
:rtype: str
|
|
8008
|
+
"""
|
|
8009
|
+
return self._RequestId
|
|
8010
|
+
|
|
8011
|
+
@RequestId.setter
|
|
8012
|
+
def RequestId(self, RequestId):
|
|
8013
|
+
self._RequestId = RequestId
|
|
8014
|
+
|
|
8015
|
+
|
|
8016
|
+
def _deserialize(self, params):
|
|
8017
|
+
if params.get("InstanceSet") is not None:
|
|
8018
|
+
self._InstanceSet = []
|
|
8019
|
+
for item in params.get("InstanceSet"):
|
|
8020
|
+
obj = SandboxInstance()
|
|
8021
|
+
obj._deserialize(item)
|
|
8022
|
+
self._InstanceSet.append(obj)
|
|
8023
|
+
self._RequestId = params.get("RequestId")
|
|
8024
|
+
|
|
8025
|
+
|
|
7942
8026
|
class DescribeSandboxSnapshotListRequest(AbstractModel):
|
|
7943
8027
|
r"""DescribeSandboxSnapshotList请求参数结构体
|
|
7944
8028
|
|
|
@@ -14383,10 +14467,10 @@ class VolumeRef(AbstractModel):
|
|
|
14383
14467
|
|
|
14384
14468
|
def __init__(self):
|
|
14385
14469
|
r"""
|
|
14386
|
-
:param _VolumeName: Volume 名称;服务端在当前认证 AppId 下解析为稳定 VolumeId
|
|
14470
|
+
:param _VolumeName: <p>Volume 名称;服务端在当前认证 AppId 下解析为稳定 VolumeId</p>
|
|
14387
14471
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
14388
14472
|
:type VolumeName: str
|
|
14389
|
-
:param _VolumeId:
|
|
14473
|
+
:param _VolumeId: <p>稳定 Volume ID,格式 vol-xxxxxxxx</p>
|
|
14390
14474
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
14391
14475
|
:type VolumeId: str
|
|
14392
14476
|
"""
|
|
@@ -14395,7 +14479,7 @@ class VolumeRef(AbstractModel):
|
|
|
14395
14479
|
|
|
14396
14480
|
@property
|
|
14397
14481
|
def VolumeName(self):
|
|
14398
|
-
r"""Volume 名称;服务端在当前认证 AppId 下解析为稳定 VolumeId
|
|
14482
|
+
r"""<p>Volume 名称;服务端在当前认证 AppId 下解析为稳定 VolumeId</p>
|
|
14399
14483
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
14400
14484
|
:rtype: str
|
|
14401
14485
|
"""
|
|
@@ -14407,7 +14491,7 @@ class VolumeRef(AbstractModel):
|
|
|
14407
14491
|
|
|
14408
14492
|
@property
|
|
14409
14493
|
def VolumeId(self):
|
|
14410
|
-
r"""
|
|
14494
|
+
r"""<p>稳定 Volume ID,格式 vol-xxxxxxxx</p>
|
|
14411
14495
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
14412
14496
|
:rtype: str
|
|
14413
14497
|
"""
|
|
@@ -206,6 +206,9 @@ UNSUPPORTEDOPERATION_INVALIDMODELROUTERSTATUS = 'UnsupportedOperation.InvalidMod
|
|
|
206
206
|
# 无效的状态转换。
|
|
207
207
|
UNSUPPORTEDOPERATION_INVALIDSTATETRANSITION = 'UnsupportedOperation.InvalidStateTransition'
|
|
208
208
|
|
|
209
|
+
# ServiceProvider有关联的CMR实例,操作拒绝
|
|
210
|
+
UNSUPPORTEDOPERATION_MODELASSOCIATEDWITHMODELROUTER = 'UnsupportedOperation.ModelAssociatedWithModelRouter'
|
|
211
|
+
|
|
209
212
|
# 模型路由资源包已开启自动续订,请先关闭自动续订后再发起退款。
|
|
210
213
|
UNSUPPORTEDOPERATION_MODELROUTERRESOURCEPACKAGEAUTOPURCHASEENABLED = 'UnsupportedOperation.ModelRouterResourcePackageAutoPurchaseEnabled'
|
|
211
214
|
|