tencentcloud-sdk-python 3.1.192__py2.py3-none-any.whl → 3.1.193__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/models.py +120 -0
- tencentcloud/csip/v20221121/models.py +39 -2
- tencentcloud/databuddy/v20260715/errorcodes.py +2 -2
- tencentcloud/dc/v20180410/models.py +42 -66
- tencentcloud/dts/v20211206/models.py +12 -12
- tencentcloud/ess/v20201111/models.py +83 -8
- tencentcloud/essbasic/v20210526/models.py +70 -10
- tencentcloud/ocr/v20181119/models.py +79 -0
- tencentcloud/organization/v20210331/errorcodes.py +6 -0
- tencentcloud/organization/v20210331/models.py +159 -30
- 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 +210 -0
- 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/vpc/v20170312/models.py +109 -112
- {tencentcloud_sdk_python-3.1.192.dist-info → tencentcloud_sdk_python-3.1.193.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.192.dist-info → tencentcloud_sdk_python-3.1.193.dist-info}/RECORD +27 -27
- {tencentcloud_sdk_python-3.1.192.dist-info → tencentcloud_sdk_python-3.1.193.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.192.dist-info → tencentcloud_sdk_python-3.1.193.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.192.dist-info → tencentcloud_sdk_python-3.1.193.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
|
"""
|
|
@@ -30609,12 +30609,27 @@ class ModifyModelAttributesRequest(AbstractModel):
|
|
|
30609
30609
|
:type ApiBase: str
|
|
30610
30610
|
:param _EndpointPath: <p>非chat输出模态的请求后缀</p>
|
|
30611
30611
|
:type EndpointPath: str
|
|
30612
|
+
:param _ModelProvider: <p>所属厂商</p>
|
|
30613
|
+
:type ModelProvider: str
|
|
30614
|
+
:param _Protocol: <p>协议</p>
|
|
30615
|
+
:type Protocol: str
|
|
30616
|
+
:param _CMRPrivateNetworkTunnelId: <p>所使用的CMR 私网管道 ID</p>
|
|
30617
|
+
:type CMRPrivateNetworkTunnelId: str
|
|
30618
|
+
:param _HostHeader: <p>携带的Host Header</p>
|
|
30619
|
+
:type HostHeader: str
|
|
30620
|
+
:param _VerifySSL: <p>是否需要进行ssl校验</p>
|
|
30621
|
+
:type VerifySSL: bool
|
|
30612
30622
|
"""
|
|
30613
30623
|
self._ServiceProviderId = None
|
|
30614
30624
|
self._ServiceProviderName = None
|
|
30615
30625
|
self._ApiBases = None
|
|
30616
30626
|
self._ApiBase = None
|
|
30617
30627
|
self._EndpointPath = None
|
|
30628
|
+
self._ModelProvider = None
|
|
30629
|
+
self._Protocol = None
|
|
30630
|
+
self._CMRPrivateNetworkTunnelId = None
|
|
30631
|
+
self._HostHeader = None
|
|
30632
|
+
self._VerifySSL = None
|
|
30618
30633
|
|
|
30619
30634
|
@property
|
|
30620
30635
|
def ServiceProviderId(self):
|
|
@@ -30671,6 +30686,61 @@ class ModifyModelAttributesRequest(AbstractModel):
|
|
|
30671
30686
|
def EndpointPath(self, EndpointPath):
|
|
30672
30687
|
self._EndpointPath = EndpointPath
|
|
30673
30688
|
|
|
30689
|
+
@property
|
|
30690
|
+
def ModelProvider(self):
|
|
30691
|
+
r"""<p>所属厂商</p>
|
|
30692
|
+
:rtype: str
|
|
30693
|
+
"""
|
|
30694
|
+
return self._ModelProvider
|
|
30695
|
+
|
|
30696
|
+
@ModelProvider.setter
|
|
30697
|
+
def ModelProvider(self, ModelProvider):
|
|
30698
|
+
self._ModelProvider = ModelProvider
|
|
30699
|
+
|
|
30700
|
+
@property
|
|
30701
|
+
def Protocol(self):
|
|
30702
|
+
r"""<p>协议</p>
|
|
30703
|
+
:rtype: str
|
|
30704
|
+
"""
|
|
30705
|
+
return self._Protocol
|
|
30706
|
+
|
|
30707
|
+
@Protocol.setter
|
|
30708
|
+
def Protocol(self, Protocol):
|
|
30709
|
+
self._Protocol = Protocol
|
|
30710
|
+
|
|
30711
|
+
@property
|
|
30712
|
+
def CMRPrivateNetworkTunnelId(self):
|
|
30713
|
+
r"""<p>所使用的CMR 私网管道 ID</p>
|
|
30714
|
+
:rtype: str
|
|
30715
|
+
"""
|
|
30716
|
+
return self._CMRPrivateNetworkTunnelId
|
|
30717
|
+
|
|
30718
|
+
@CMRPrivateNetworkTunnelId.setter
|
|
30719
|
+
def CMRPrivateNetworkTunnelId(self, CMRPrivateNetworkTunnelId):
|
|
30720
|
+
self._CMRPrivateNetworkTunnelId = CMRPrivateNetworkTunnelId
|
|
30721
|
+
|
|
30722
|
+
@property
|
|
30723
|
+
def HostHeader(self):
|
|
30724
|
+
r"""<p>携带的Host Header</p>
|
|
30725
|
+
:rtype: str
|
|
30726
|
+
"""
|
|
30727
|
+
return self._HostHeader
|
|
30728
|
+
|
|
30729
|
+
@HostHeader.setter
|
|
30730
|
+
def HostHeader(self, HostHeader):
|
|
30731
|
+
self._HostHeader = HostHeader
|
|
30732
|
+
|
|
30733
|
+
@property
|
|
30734
|
+
def VerifySSL(self):
|
|
30735
|
+
r"""<p>是否需要进行ssl校验</p>
|
|
30736
|
+
:rtype: bool
|
|
30737
|
+
"""
|
|
30738
|
+
return self._VerifySSL
|
|
30739
|
+
|
|
30740
|
+
@VerifySSL.setter
|
|
30741
|
+
def VerifySSL(self, VerifySSL):
|
|
30742
|
+
self._VerifySSL = VerifySSL
|
|
30743
|
+
|
|
30674
30744
|
|
|
30675
30745
|
def _deserialize(self, params):
|
|
30676
30746
|
self._ServiceProviderId = params.get("ServiceProviderId")
|
|
@@ -30683,6 +30753,11 @@ class ModifyModelAttributesRequest(AbstractModel):
|
|
|
30683
30753
|
self._ApiBases.append(obj)
|
|
30684
30754
|
self._ApiBase = params.get("ApiBase")
|
|
30685
30755
|
self._EndpointPath = params.get("EndpointPath")
|
|
30756
|
+
self._ModelProvider = params.get("ModelProvider")
|
|
30757
|
+
self._Protocol = params.get("Protocol")
|
|
30758
|
+
self._CMRPrivateNetworkTunnelId = params.get("CMRPrivateNetworkTunnelId")
|
|
30759
|
+
self._HostHeader = params.get("HostHeader")
|
|
30760
|
+
self._VerifySSL = params.get("VerifySSL")
|
|
30686
30761
|
memeber_set = set(params.keys())
|
|
30687
30762
|
for name, value in vars(self).items():
|
|
30688
30763
|
property_name = name[1:]
|
|
@@ -31377,10 +31452,16 @@ class ModifyServiceProviderModelAttributesRequest(AbstractModel):
|
|
|
31377
31452
|
:type ModelName: str
|
|
31378
31453
|
:param _InputModalities: <p>该模型支持的输入多模态能力列表</p><p>枚举值:</p><ul><li>text: 支持文本输入</li><li>image: 支持图像输入</li><li>file: 支持文件输入(当前仅支持pdf)</li></ul>
|
|
31379
31454
|
:type InputModalities: list of str
|
|
31455
|
+
:param _NewModelName: <p>新的上游模型名称</p>
|
|
31456
|
+
:type NewModelName: str
|
|
31457
|
+
:param _NewModelAlias: <p>新的对外模型名称</p>
|
|
31458
|
+
:type NewModelAlias: str
|
|
31380
31459
|
"""
|
|
31381
31460
|
self._ServiceProviderId = None
|
|
31382
31461
|
self._ModelName = None
|
|
31383
31462
|
self._InputModalities = None
|
|
31463
|
+
self._NewModelName = None
|
|
31464
|
+
self._NewModelAlias = None
|
|
31384
31465
|
|
|
31385
31466
|
@property
|
|
31386
31467
|
def ServiceProviderId(self):
|
|
@@ -31415,11 +31496,35 @@ class ModifyServiceProviderModelAttributesRequest(AbstractModel):
|
|
|
31415
31496
|
def InputModalities(self, InputModalities):
|
|
31416
31497
|
self._InputModalities = InputModalities
|
|
31417
31498
|
|
|
31499
|
+
@property
|
|
31500
|
+
def NewModelName(self):
|
|
31501
|
+
r"""<p>新的上游模型名称</p>
|
|
31502
|
+
:rtype: str
|
|
31503
|
+
"""
|
|
31504
|
+
return self._NewModelName
|
|
31505
|
+
|
|
31506
|
+
@NewModelName.setter
|
|
31507
|
+
def NewModelName(self, NewModelName):
|
|
31508
|
+
self._NewModelName = NewModelName
|
|
31509
|
+
|
|
31510
|
+
@property
|
|
31511
|
+
def NewModelAlias(self):
|
|
31512
|
+
r"""<p>新的对外模型名称</p>
|
|
31513
|
+
:rtype: str
|
|
31514
|
+
"""
|
|
31515
|
+
return self._NewModelAlias
|
|
31516
|
+
|
|
31517
|
+
@NewModelAlias.setter
|
|
31518
|
+
def NewModelAlias(self, NewModelAlias):
|
|
31519
|
+
self._NewModelAlias = NewModelAlias
|
|
31520
|
+
|
|
31418
31521
|
|
|
31419
31522
|
def _deserialize(self, params):
|
|
31420
31523
|
self._ServiceProviderId = params.get("ServiceProviderId")
|
|
31421
31524
|
self._ModelName = params.get("ModelName")
|
|
31422
31525
|
self._InputModalities = params.get("InputModalities")
|
|
31526
|
+
self._NewModelName = params.get("NewModelName")
|
|
31527
|
+
self._NewModelAlias = params.get("NewModelAlias")
|
|
31423
31528
|
memeber_set = set(params.keys())
|
|
31424
31529
|
for name, value in vars(self).items():
|
|
31425
31530
|
property_name = name[1:]
|
|
@@ -37694,8 +37799,11 @@ class StickyConfig(AbstractModel):
|
|
|
37694
37799
|
r"""
|
|
37695
37800
|
:param _Enabled: <p>是否开启粘连路由</p>
|
|
37696
37801
|
:type Enabled: bool
|
|
37802
|
+
:param _TimeoutSeconds: <p>会话粘性的超时时间(秒),取值范围 1–86400。创建时默认为 1800;修改时若不设置该字段,则保留原有值。</p><p>取值范围:[1, 86400]</p><p>单位:秒</p><p>默认值:1800</p>
|
|
37803
|
+
:type TimeoutSeconds: int
|
|
37697
37804
|
"""
|
|
37698
37805
|
self._Enabled = None
|
|
37806
|
+
self._TimeoutSeconds = None
|
|
37699
37807
|
|
|
37700
37808
|
@property
|
|
37701
37809
|
def Enabled(self):
|
|
@@ -37708,9 +37816,21 @@ class StickyConfig(AbstractModel):
|
|
|
37708
37816
|
def Enabled(self, Enabled):
|
|
37709
37817
|
self._Enabled = Enabled
|
|
37710
37818
|
|
|
37819
|
+
@property
|
|
37820
|
+
def TimeoutSeconds(self):
|
|
37821
|
+
r"""<p>会话粘性的超时时间(秒),取值范围 1–86400。创建时默认为 1800;修改时若不设置该字段,则保留原有值。</p><p>取值范围:[1, 86400]</p><p>单位:秒</p><p>默认值:1800</p>
|
|
37822
|
+
:rtype: int
|
|
37823
|
+
"""
|
|
37824
|
+
return self._TimeoutSeconds
|
|
37825
|
+
|
|
37826
|
+
@TimeoutSeconds.setter
|
|
37827
|
+
def TimeoutSeconds(self, TimeoutSeconds):
|
|
37828
|
+
self._TimeoutSeconds = TimeoutSeconds
|
|
37829
|
+
|
|
37711
37830
|
|
|
37712
37831
|
def _deserialize(self, params):
|
|
37713
37832
|
self._Enabled = params.get("Enabled")
|
|
37833
|
+
self._TimeoutSeconds = params.get("TimeoutSeconds")
|
|
37714
37834
|
memeber_set = set(params.keys())
|
|
37715
37835
|
for name, value in vars(self).items():
|
|
37716
37836
|
property_name = name[1:]
|
|
@@ -24416,7 +24416,7 @@ class ClusterListItem(AbstractModel):
|
|
|
24416
24416
|
:type TotalCoresCount: int
|
|
24417
24417
|
:param _DefendCoresCount: <p>已防护核数</p>
|
|
24418
24418
|
:type DefendCoresCount: int
|
|
24419
|
-
:param _AuditLogSwitchStatus: <p
|
|
24419
|
+
:param _AuditLogSwitchStatus: <p>审计日志状态<br>0:已关闭<br>1:已开启<br>2:开启失败(失败原因见 AuditLogFailedInfo)<br>3:关闭失败(失败原因见 AuditLogFailedInfo)<br>4:开启中<br>5:关闭中<br>6:不支持(当前集群类型不支持读取审计状态,如边缘集群)<br>7:未知(集群未接入或接入异常,无法判断审计状态)</p><p>枚举值:</p><ul><li>0: 已关闭</li><li>1: 已开启</li><li>2: 开启失败</li><li>3: 关闭失败</li><li>4: 开启中</li><li>5: 关闭中</li><li>6: 不支持</li><li>7: 未知</li></ul>
|
|
24420
24420
|
:type AuditLogSwitchStatus: int
|
|
24421
24421
|
:param _DefendStatus: <p>防护状态<br>已防护: Defended</p>
|
|
24422
24422
|
:type DefendStatus: str
|
|
@@ -24458,6 +24458,10 @@ class ClusterListItem(AbstractModel):
|
|
|
24458
24458
|
:type RegionNameEn: str
|
|
24459
24459
|
:param _UnboundUltimateNodeCount: <p>未绑定旗舰版的节点数量</p>
|
|
24460
24460
|
:type UnboundUltimateNodeCount: int
|
|
24461
|
+
:param _TagItems: <p>资产标签列表</p>
|
|
24462
|
+
:type TagItems: list of MiniTagItem
|
|
24463
|
+
:param _TagModifyInfo: <p>标签修改信息</p>
|
|
24464
|
+
:type TagModifyInfo: :class:`tencentcloud.csip.v20221121.models.AssetTagModifyAssetItem`
|
|
24461
24465
|
"""
|
|
24462
24466
|
self._AppID = None
|
|
24463
24467
|
self._AssetId = None
|
|
@@ -24498,6 +24502,8 @@ class ClusterListItem(AbstractModel):
|
|
|
24498
24502
|
self._RegionName = None
|
|
24499
24503
|
self._RegionNameEn = None
|
|
24500
24504
|
self._UnboundUltimateNodeCount = None
|
|
24505
|
+
self._TagItems = None
|
|
24506
|
+
self._TagModifyInfo = None
|
|
24501
24507
|
|
|
24502
24508
|
@property
|
|
24503
24509
|
def AppID(self):
|
|
@@ -24739,7 +24745,7 @@ class ClusterListItem(AbstractModel):
|
|
|
24739
24745
|
|
|
24740
24746
|
@property
|
|
24741
24747
|
def AuditLogSwitchStatus(self):
|
|
24742
|
-
r"""<p
|
|
24748
|
+
r"""<p>审计日志状态<br>0:已关闭<br>1:已开启<br>2:开启失败(失败原因见 AuditLogFailedInfo)<br>3:关闭失败(失败原因见 AuditLogFailedInfo)<br>4:开启中<br>5:关闭中<br>6:不支持(当前集群类型不支持读取审计状态,如边缘集群)<br>7:未知(集群未接入或接入异常,无法判断审计状态)</p><p>枚举值:</p><ul><li>0: 已关闭</li><li>1: 已开启</li><li>2: 开启失败</li><li>3: 关闭失败</li><li>4: 开启中</li><li>5: 关闭中</li><li>6: 不支持</li><li>7: 未知</li></ul>
|
|
24743
24749
|
:rtype: int
|
|
24744
24750
|
"""
|
|
24745
24751
|
return self._AuditLogSwitchStatus
|
|
@@ -24976,6 +24982,28 @@ class ClusterListItem(AbstractModel):
|
|
|
24976
24982
|
def UnboundUltimateNodeCount(self, UnboundUltimateNodeCount):
|
|
24977
24983
|
self._UnboundUltimateNodeCount = UnboundUltimateNodeCount
|
|
24978
24984
|
|
|
24985
|
+
@property
|
|
24986
|
+
def TagItems(self):
|
|
24987
|
+
r"""<p>资产标签列表</p>
|
|
24988
|
+
:rtype: list of MiniTagItem
|
|
24989
|
+
"""
|
|
24990
|
+
return self._TagItems
|
|
24991
|
+
|
|
24992
|
+
@TagItems.setter
|
|
24993
|
+
def TagItems(self, TagItems):
|
|
24994
|
+
self._TagItems = TagItems
|
|
24995
|
+
|
|
24996
|
+
@property
|
|
24997
|
+
def TagModifyInfo(self):
|
|
24998
|
+
r"""<p>标签修改信息</p>
|
|
24999
|
+
:rtype: :class:`tencentcloud.csip.v20221121.models.AssetTagModifyAssetItem`
|
|
25000
|
+
"""
|
|
25001
|
+
return self._TagModifyInfo
|
|
25002
|
+
|
|
25003
|
+
@TagModifyInfo.setter
|
|
25004
|
+
def TagModifyInfo(self, TagModifyInfo):
|
|
25005
|
+
self._TagModifyInfo = TagModifyInfo
|
|
25006
|
+
|
|
24979
25007
|
|
|
24980
25008
|
def _deserialize(self, params):
|
|
24981
25009
|
self._AppID = params.get("AppID")
|
|
@@ -25022,6 +25050,15 @@ class ClusterListItem(AbstractModel):
|
|
|
25022
25050
|
self._RegionName = params.get("RegionName")
|
|
25023
25051
|
self._RegionNameEn = params.get("RegionNameEn")
|
|
25024
25052
|
self._UnboundUltimateNodeCount = params.get("UnboundUltimateNodeCount")
|
|
25053
|
+
if params.get("TagItems") is not None:
|
|
25054
|
+
self._TagItems = []
|
|
25055
|
+
for item in params.get("TagItems"):
|
|
25056
|
+
obj = MiniTagItem()
|
|
25057
|
+
obj._deserialize(item)
|
|
25058
|
+
self._TagItems.append(obj)
|
|
25059
|
+
if params.get("TagModifyInfo") is not None:
|
|
25060
|
+
self._TagModifyInfo = AssetTagModifyAssetItem()
|
|
25061
|
+
self._TagModifyInfo._deserialize(params.get("TagModifyInfo"))
|
|
25025
25062
|
memeber_set = set(params.keys())
|
|
25026
25063
|
for name, value in vars(self).items():
|
|
25027
25064
|
property_name = name[1:]
|
|
@@ -86,10 +86,10 @@ INTERNALERROR_INTERFACECALLERROR = 'InternalError.InterfaceCallError'
|
|
|
86
86
|
# 参数不合法
|
|
87
87
|
INTERNALERROR_INVALIDPARAMETER = 'InternalError.InvalidParameter'
|
|
88
88
|
|
|
89
|
-
#
|
|
89
|
+
# 当前账号无权限操作该资源:不在工作空间内,或缺少该资源的查看/运行/删除权限
|
|
90
90
|
INTERNALERROR_PERMISSIONDENIED = 'InternalError.PermissionDenied'
|
|
91
91
|
|
|
92
|
-
#
|
|
92
|
+
# 资源不存在或不可见:ID 不存在、不属于当前工作空间或已删除;TaskRunId 传入非执行层 JobId(如调度实例 WorkflowTaskRunId)时返回其 JobNotFound 子码
|
|
93
93
|
INTERNALERROR_RESOURCENOTFOUND = 'InternalError.ResourceNotFound'
|
|
94
94
|
|
|
95
95
|
# 未知错误
|