tencentcloud-sdk-python 3.0.1315__py2.py3-none-any.whl → 3.0.1317__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/batch/v20170312/models.py +2 -2
- tencentcloud/bh/v20230418/models.py +783 -2
- tencentcloud/cbs/v20170312/models.py +21 -4
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +10 -10
- tencentcloud/chdfs/v20201112/models.py +0 -6
- tencentcloud/cls/v20201016/models.py +27 -6
- tencentcloud/common/abstract_client.py +37 -18
- tencentcloud/common/profile/client_profile.py +4 -3
- tencentcloud/common/retry.py +62 -0
- tencentcloud/cvm/v20170312/models.py +17 -2
- tencentcloud/ess/v20201111/models.py +0 -12
- tencentcloud/facefusion/v20220927/models.py +4 -4
- tencentcloud/lcic/v20220817/models.py +0 -8
- tencentcloud/lighthouse/v20200324/models.py +0 -6
- tencentcloud/lkeap/v20240522/models.py +824 -37
- tencentcloud/mna/v20210119/models.py +0 -16
- tencentcloud/mongodb/v20190725/models.py +155 -0
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/mps/v20190612/models.py +136 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +6 -0
- tencentcloud/mqtt/v20240516/models.py +2003 -195
- tencentcloud/mqtt/v20240516/mqtt_client.py +255 -0
- tencentcloud/ocr/v20181119/models.py +45 -0
- tencentcloud/rum/v20210622/models.py +16 -0
- tencentcloud/ssl/v20191205/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +791 -21
- tencentcloud/ssl/v20191205/ssl_client.py +46 -0
- tencentcloud/tcr/v20190924/models.py +4 -0
- tencentcloud/teo/v20220901/models.py +2 -4
- tencentcloud/tke/v20180525/models.py +30 -0
- tencentcloud/tmt/v20180321/models.py +4 -0
- tencentcloud/trtc/v20190722/models.py +0 -4
- tencentcloud/vpc/v20170312/models.py +7 -4
- tencentcloud/vpc/v20170312/vpc_client.py +1 -1
- tencentcloud/waf/v20180125/models.py +30 -0
- tencentcloud/wedata/v20210820/models.py +189 -0
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1315.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1315.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/RECORD +44 -43
- {tencentcloud_sdk_python-3.0.1315.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1315.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1315.dist-info → tencentcloud_sdk_python-3.0.1317.dist-info}/top_level.txt +0 -0
@@ -95,6 +95,52 @@ class SslClient(AbstractClient):
|
|
95
95
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
96
96
|
|
97
97
|
|
98
|
+
def CertificateInfoSubmit(self, request):
|
99
|
+
"""付费提交证书资料
|
100
|
+
|
101
|
+
:param request: Request instance for CertificateInfoSubmit.
|
102
|
+
:type request: :class:`tencentcloud.ssl.v20191205.models.CertificateInfoSubmitRequest`
|
103
|
+
:rtype: :class:`tencentcloud.ssl.v20191205.models.CertificateInfoSubmitResponse`
|
104
|
+
|
105
|
+
"""
|
106
|
+
try:
|
107
|
+
params = request._serialize()
|
108
|
+
headers = request.headers
|
109
|
+
body = self.call("CertificateInfoSubmit", params, headers=headers)
|
110
|
+
response = json.loads(body)
|
111
|
+
model = models.CertificateInfoSubmitResponse()
|
112
|
+
model._deserialize(response["Response"])
|
113
|
+
return model
|
114
|
+
except Exception as e:
|
115
|
+
if isinstance(e, TencentCloudSDKException):
|
116
|
+
raise
|
117
|
+
else:
|
118
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
119
|
+
|
120
|
+
|
121
|
+
def CertificateOrderSubmit(self, request):
|
122
|
+
"""提交付费证书订单
|
123
|
+
|
124
|
+
:param request: Request instance for CertificateOrderSubmit.
|
125
|
+
:type request: :class:`tencentcloud.ssl.v20191205.models.CertificateOrderSubmitRequest`
|
126
|
+
:rtype: :class:`tencentcloud.ssl.v20191205.models.CertificateOrderSubmitResponse`
|
127
|
+
|
128
|
+
"""
|
129
|
+
try:
|
130
|
+
params = request._serialize()
|
131
|
+
headers = request.headers
|
132
|
+
body = self.call("CertificateOrderSubmit", params, headers=headers)
|
133
|
+
response = json.loads(body)
|
134
|
+
model = models.CertificateOrderSubmitResponse()
|
135
|
+
model._deserialize(response["Response"])
|
136
|
+
return model
|
137
|
+
except Exception as e:
|
138
|
+
if isinstance(e, TencentCloudSDKException):
|
139
|
+
raise
|
140
|
+
else:
|
141
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
142
|
+
|
143
|
+
|
98
144
|
def CheckCertificateChain(self, request):
|
99
145
|
"""本接口(CheckCertificateChain)用于检查证书链是否完整。
|
100
146
|
|
@@ -6788,6 +6788,8 @@ class DescribeImagesRequest(AbstractModel):
|
|
6788
6788
|
:param _Limit: 每页个数,用于分页,默认20
|
6789
6789
|
:type Limit: int
|
6790
6790
|
:param _Offset: 页数,默认值为1
|
6791
|
+
补充说明:limit指的是每页的大小,offset指的是具体第几页。
|
6792
|
+
举例:limit 20 offset 1指的是1-20;limit 20 offset 2 指的是21-40;limit 30 offset 4 是指 90-120。
|
6791
6793
|
:type Offset: int
|
6792
6794
|
:param _Digest: 指定镜像 Digest 进行查找
|
6793
6795
|
:type Digest: str
|
@@ -6861,6 +6863,8 @@ class DescribeImagesRequest(AbstractModel):
|
|
6861
6863
|
@property
|
6862
6864
|
def Offset(self):
|
6863
6865
|
"""页数,默认值为1
|
6866
|
+
补充说明:limit指的是每页的大小,offset指的是具体第几页。
|
6867
|
+
举例:limit 20 offset 1指的是1-20;limit 20 offset 2 指的是21-40;limit 30 offset 4 是指 90-120。
|
6864
6868
|
:rtype: int
|
6865
6869
|
"""
|
6866
6870
|
return self._Offset
|
@@ -36719,8 +36719,7 @@ class RuleBranch(AbstractModel):
|
|
36719
36719
|
|
36720
36720
|
def __init__(self):
|
36721
36721
|
r"""
|
36722
|
-
:param _Condition: [匹配条件
|
36723
|
-
](https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d)。
|
36722
|
+
:param _Condition: [匹配条件](https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d)。
|
36724
36723
|
:type Condition: str
|
36725
36724
|
:param _Actions: [操作](https://cloud.tencent.com/document/product/1552/90438#c7bd7e02-9247-4a72-b0e4-11c27cadb198)。<br>注意:Actions 和 SubRules 不可同时为空。
|
36726
36725
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -36735,8 +36734,7 @@ class RuleBranch(AbstractModel):
|
|
36735
36734
|
|
36736
36735
|
@property
|
36737
36736
|
def Condition(self):
|
36738
|
-
"""[匹配条件
|
36739
|
-
](https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d)。
|
36737
|
+
"""[匹配条件](https://cloud.tencent.com/document/product/1552/90438#33f65828-c6c6-4b66-a011-25a20b548d5d)。
|
36740
36738
|
:rtype: str
|
36741
36739
|
"""
|
36742
36740
|
return self._Condition
|
@@ -30889,11 +30889,14 @@ class InstallAddonRequest(AbstractModel):
|
|
30889
30889
|
:type AddonVersion: str
|
30890
30890
|
:param _RawValues: addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取)
|
30891
30891
|
:type RawValues: str
|
30892
|
+
:param _DryRun: 是否仅做安装检查,设置为true时仅做检查,不会安装组件
|
30893
|
+
:type DryRun: bool
|
30892
30894
|
"""
|
30893
30895
|
self._ClusterId = None
|
30894
30896
|
self._AddonName = None
|
30895
30897
|
self._AddonVersion = None
|
30896
30898
|
self._RawValues = None
|
30899
|
+
self._DryRun = None
|
30897
30900
|
|
30898
30901
|
@property
|
30899
30902
|
def ClusterId(self):
|
@@ -30939,12 +30942,24 @@ class InstallAddonRequest(AbstractModel):
|
|
30939
30942
|
def RawValues(self, RawValues):
|
30940
30943
|
self._RawValues = RawValues
|
30941
30944
|
|
30945
|
+
@property
|
30946
|
+
def DryRun(self):
|
30947
|
+
"""是否仅做安装检查,设置为true时仅做检查,不会安装组件
|
30948
|
+
:rtype: bool
|
30949
|
+
"""
|
30950
|
+
return self._DryRun
|
30951
|
+
|
30952
|
+
@DryRun.setter
|
30953
|
+
def DryRun(self, DryRun):
|
30954
|
+
self._DryRun = DryRun
|
30955
|
+
|
30942
30956
|
|
30943
30957
|
def _deserialize(self, params):
|
30944
30958
|
self._ClusterId = params.get("ClusterId")
|
30945
30959
|
self._AddonName = params.get("AddonName")
|
30946
30960
|
self._AddonVersion = params.get("AddonVersion")
|
30947
30961
|
self._RawValues = params.get("RawValues")
|
30962
|
+
self._DryRun = params.get("DryRun")
|
30948
30963
|
memeber_set = set(params.keys())
|
30949
30964
|
for name, value in vars(self).items():
|
30950
30965
|
property_name = name[1:]
|
@@ -46637,12 +46652,15 @@ class UpdateAddonRequest(AbstractModel):
|
|
46637
46652
|
:type RawValues: str
|
46638
46653
|
:param _UpdateStrategy: addon参数的更新策略,支持replace和merge两种策略,默认值为merge,兼容旧版本API。replace:使用新RawValues全量替换addon原RawValues,merge:根据新RawValues新增或更新addon原RawValues中对应参数。
|
46639
46654
|
:type UpdateStrategy: str
|
46655
|
+
:param _DryRun: 是否仅做更新检查,设置为true时仅做检查,不会更新组件
|
46656
|
+
:type DryRun: bool
|
46640
46657
|
"""
|
46641
46658
|
self._ClusterId = None
|
46642
46659
|
self._AddonName = None
|
46643
46660
|
self._AddonVersion = None
|
46644
46661
|
self._RawValues = None
|
46645
46662
|
self._UpdateStrategy = None
|
46663
|
+
self._DryRun = None
|
46646
46664
|
|
46647
46665
|
@property
|
46648
46666
|
def ClusterId(self):
|
@@ -46699,6 +46717,17 @@ class UpdateAddonRequest(AbstractModel):
|
|
46699
46717
|
def UpdateStrategy(self, UpdateStrategy):
|
46700
46718
|
self._UpdateStrategy = UpdateStrategy
|
46701
46719
|
|
46720
|
+
@property
|
46721
|
+
def DryRun(self):
|
46722
|
+
"""是否仅做更新检查,设置为true时仅做检查,不会更新组件
|
46723
|
+
:rtype: bool
|
46724
|
+
"""
|
46725
|
+
return self._DryRun
|
46726
|
+
|
46727
|
+
@DryRun.setter
|
46728
|
+
def DryRun(self, DryRun):
|
46729
|
+
self._DryRun = DryRun
|
46730
|
+
|
46702
46731
|
|
46703
46732
|
def _deserialize(self, params):
|
46704
46733
|
self._ClusterId = params.get("ClusterId")
|
@@ -46706,6 +46735,7 @@ class UpdateAddonRequest(AbstractModel):
|
|
46706
46735
|
self._AddonVersion = params.get("AddonVersion")
|
46707
46736
|
self._RawValues = params.get("RawValues")
|
46708
46737
|
self._UpdateStrategy = params.get("UpdateStrategy")
|
46738
|
+
self._DryRun = params.get("DryRun")
|
46709
46739
|
memeber_set = set(params.keys())
|
46710
46740
|
for name, value in vars(self).items():
|
46711
46741
|
property_name = name[1:]
|
@@ -40,6 +40,8 @@ ja:日语
|
|
40
40
|
pt:葡萄牙语
|
41
41
|
ru:俄语
|
42
42
|
ko:韩语
|
43
|
+
tr:土耳其语
|
44
|
+
vi:越南语
|
43
45
|
th:泰语
|
44
46
|
:type Source: str
|
45
47
|
:param _Target: 目标语言,各源语言的目标语言支持列表如下
|
@@ -100,6 +102,8 @@ ja:日语
|
|
100
102
|
pt:葡萄牙语
|
101
103
|
ru:俄语
|
102
104
|
ko:韩语
|
105
|
+
tr:土耳其语
|
106
|
+
vi:越南语
|
103
107
|
th:泰语
|
104
108
|
:rtype: str
|
105
109
|
"""
|
@@ -28,7 +28,6 @@ class AbnormalEvent(AbstractModel):
|
|
28
28
|
:param _AbnormalEventId: 异常事件ID,具体值查看附录:异常体验ID映射表:https://cloud.tencent.com/document/product/647/44916
|
29
29
|
:type AbnormalEventId: int
|
30
30
|
:param _PeerId: 远端用户ID,"":表示异常事件不是由远端用户产生
|
31
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
32
31
|
:type PeerId: str
|
33
32
|
"""
|
34
33
|
self._AbnormalEventId = None
|
@@ -48,7 +47,6 @@ class AbnormalEvent(AbstractModel):
|
|
48
47
|
@property
|
49
48
|
def PeerId(self):
|
50
49
|
"""远端用户ID,"":表示异常事件不是由远端用户产生
|
51
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
52
50
|
:rtype: str
|
53
51
|
"""
|
54
52
|
return self._PeerId
|
@@ -9849,7 +9847,6 @@ class QualityData(AbstractModel):
|
|
9849
9847
|
:param _UserId: 用户ID
|
9850
9848
|
:type UserId: str
|
9851
9849
|
:param _PeerId: 对端Id,为空时表示上行数据
|
9852
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9853
9850
|
:type PeerId: str
|
9854
9851
|
:param _DataType: 数据类型
|
9855
9852
|
:type DataType: str
|
@@ -9884,7 +9881,6 @@ class QualityData(AbstractModel):
|
|
9884
9881
|
@property
|
9885
9882
|
def PeerId(self):
|
9886
9883
|
"""对端Id,为空时表示上行数据
|
9887
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
9888
9884
|
:rtype: str
|
9889
9885
|
"""
|
9890
9886
|
return self._PeerId
|
@@ -8067,7 +8067,7 @@ class CloneSecurityGroupRequest(AbstractModel):
|
|
8067
8067
|
:type RemoteRegion: str
|
8068
8068
|
:param _Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
8069
8069
|
若指定Tags入参且指定IsCloneTags为true,会合并源安全组的标签和新增的标签。
|
8070
|
-
:type Tags:
|
8070
|
+
:type Tags: list of Tag
|
8071
8071
|
"""
|
8072
8072
|
self._SecurityGroupId = None
|
8073
8073
|
self._GroupName = None
|
@@ -8135,7 +8135,7 @@ class CloneSecurityGroupRequest(AbstractModel):
|
|
8135
8135
|
def Tags(self):
|
8136
8136
|
"""指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
8137
8137
|
若指定Tags入参且指定IsCloneTags为true,会合并源安全组的标签和新增的标签。
|
8138
|
-
:rtype:
|
8138
|
+
:rtype: list of Tag
|
8139
8139
|
"""
|
8140
8140
|
return self._Tags
|
8141
8141
|
|
@@ -8151,8 +8151,11 @@ class CloneSecurityGroupRequest(AbstractModel):
|
|
8151
8151
|
self._ProjectId = params.get("ProjectId")
|
8152
8152
|
self._RemoteRegion = params.get("RemoteRegion")
|
8153
8153
|
if params.get("Tags") is not None:
|
8154
|
-
self._Tags =
|
8155
|
-
|
8154
|
+
self._Tags = []
|
8155
|
+
for item in params.get("Tags"):
|
8156
|
+
obj = Tag()
|
8157
|
+
obj._deserialize(item)
|
8158
|
+
self._Tags.append(obj)
|
8156
8159
|
memeber_set = set(params.keys())
|
8157
8160
|
for name, value in vars(self).items():
|
8158
8161
|
property_name = name[1:]
|
@@ -1733,7 +1733,7 @@ class VpcClient(AbstractClient):
|
|
1733
1733
|
* Port字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当Protocol字段是TCP或UDP时,Port字段才被接受,即Protocol字段不是TCP或UDP时,Protocol和Port是排他关系,不允许同时输入,否则会接口报错。
|
1734
1734
|
* Action字段只允许输入ACCEPT或DROP。
|
1735
1735
|
* CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate四者是排他关系,不允许同时输入,Protocol + Port和ServiceTemplate二者是排他关系,不允许同时输入。
|
1736
|
-
*
|
1736
|
+
* 请求中可以同时指定入站和出站两个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。
|
1737
1737
|
|
1738
1738
|
:param request: Request instance for CreateSecurityGroupWithPolicies.
|
1739
1739
|
:type request: :class:`tencentcloud.vpc.v20170312.models.CreateSecurityGroupWithPoliciesRequest`
|
@@ -24395,6 +24395,10 @@ class InstanceInfo(AbstractModel):
|
|
24395
24395
|
:type BillingItem: str
|
24396
24396
|
:param _FreeDelayFlag: 实例延期释放标识
|
24397
24397
|
:type FreeDelayFlag: int
|
24398
|
+
:param _Last3MaxQPS: 最近3天最大qps
|
24399
|
+
:type Last3MaxQPS: int
|
24400
|
+
:param _Last3MaxBandwidth: 最近3天最大带宽
|
24401
|
+
:type Last3MaxBandwidth: int
|
24398
24402
|
"""
|
24399
24403
|
self._InstanceId = None
|
24400
24404
|
self._InstanceName = None
|
@@ -24437,6 +24441,8 @@ class InstanceInfo(AbstractModel):
|
|
24437
24441
|
self._MiniExtendPkg = None
|
24438
24442
|
self._BillingItem = None
|
24439
24443
|
self._FreeDelayFlag = None
|
24444
|
+
self._Last3MaxQPS = None
|
24445
|
+
self._Last3MaxBandwidth = None
|
24440
24446
|
|
24441
24447
|
@property
|
24442
24448
|
def InstanceId(self):
|
@@ -24899,6 +24905,28 @@ class InstanceInfo(AbstractModel):
|
|
24899
24905
|
def FreeDelayFlag(self, FreeDelayFlag):
|
24900
24906
|
self._FreeDelayFlag = FreeDelayFlag
|
24901
24907
|
|
24908
|
+
@property
|
24909
|
+
def Last3MaxQPS(self):
|
24910
|
+
"""最近3天最大qps
|
24911
|
+
:rtype: int
|
24912
|
+
"""
|
24913
|
+
return self._Last3MaxQPS
|
24914
|
+
|
24915
|
+
@Last3MaxQPS.setter
|
24916
|
+
def Last3MaxQPS(self, Last3MaxQPS):
|
24917
|
+
self._Last3MaxQPS = Last3MaxQPS
|
24918
|
+
|
24919
|
+
@property
|
24920
|
+
def Last3MaxBandwidth(self):
|
24921
|
+
"""最近3天最大带宽
|
24922
|
+
:rtype: int
|
24923
|
+
"""
|
24924
|
+
return self._Last3MaxBandwidth
|
24925
|
+
|
24926
|
+
@Last3MaxBandwidth.setter
|
24927
|
+
def Last3MaxBandwidth(self, Last3MaxBandwidth):
|
24928
|
+
self._Last3MaxBandwidth = Last3MaxBandwidth
|
24929
|
+
|
24902
24930
|
|
24903
24931
|
def _deserialize(self, params):
|
24904
24932
|
self._InstanceId = params.get("InstanceId")
|
@@ -24962,6 +24990,8 @@ class InstanceInfo(AbstractModel):
|
|
24962
24990
|
self._MiniExtendPkg._deserialize(params.get("MiniExtendPkg"))
|
24963
24991
|
self._BillingItem = params.get("BillingItem")
|
24964
24992
|
self._FreeDelayFlag = params.get("FreeDelayFlag")
|
24993
|
+
self._Last3MaxQPS = params.get("Last3MaxQPS")
|
24994
|
+
self._Last3MaxBandwidth = params.get("Last3MaxBandwidth")
|
24965
24995
|
memeber_set = set(params.keys())
|
24966
24996
|
for name, value in vars(self).items():
|
24967
24997
|
property_name = name[1:]
|
@@ -25035,6 +25035,195 @@ class DescribeInstanceByCycleResponse(AbstractModel):
|
|
25035
25035
|
self._RequestId = params.get("RequestId")
|
25036
25036
|
|
25037
25037
|
|
25038
|
+
class DescribeInstanceDetailInfoRequest(AbstractModel):
|
25039
|
+
"""DescribeInstanceDetailInfo请求参数结构体
|
25040
|
+
|
25041
|
+
"""
|
25042
|
+
|
25043
|
+
def __init__(self):
|
25044
|
+
r"""
|
25045
|
+
:param _TaskId: 任务ID
|
25046
|
+
:type TaskId: str
|
25047
|
+
:param _CurRunDate: 实例数据时间
|
25048
|
+
:type CurRunDate: str
|
25049
|
+
:param _ProjectId: 项目id
|
25050
|
+
:type ProjectId: str
|
25051
|
+
:param _LifeRound: 实例的第几次执行
|
25052
|
+
:type LifeRound: int
|
25053
|
+
:param _LifeRoundStartIndex: 生命周期查询起始index
|
25054
|
+
:type LifeRoundStartIndex: int
|
25055
|
+
:param _LifeRoundSize: 生命周期查询批次数量
|
25056
|
+
:type LifeRoundSize: int
|
25057
|
+
:param _TotalLifeRound: 生命周期总数,可省略
|
25058
|
+
:type TotalLifeRound: str
|
25059
|
+
:param _Dynamic: 动态加载日志标识
|
25060
|
+
:type Dynamic: bool
|
25061
|
+
"""
|
25062
|
+
self._TaskId = None
|
25063
|
+
self._CurRunDate = None
|
25064
|
+
self._ProjectId = None
|
25065
|
+
self._LifeRound = None
|
25066
|
+
self._LifeRoundStartIndex = None
|
25067
|
+
self._LifeRoundSize = None
|
25068
|
+
self._TotalLifeRound = None
|
25069
|
+
self._Dynamic = None
|
25070
|
+
|
25071
|
+
@property
|
25072
|
+
def TaskId(self):
|
25073
|
+
"""任务ID
|
25074
|
+
:rtype: str
|
25075
|
+
"""
|
25076
|
+
return self._TaskId
|
25077
|
+
|
25078
|
+
@TaskId.setter
|
25079
|
+
def TaskId(self, TaskId):
|
25080
|
+
self._TaskId = TaskId
|
25081
|
+
|
25082
|
+
@property
|
25083
|
+
def CurRunDate(self):
|
25084
|
+
"""实例数据时间
|
25085
|
+
:rtype: str
|
25086
|
+
"""
|
25087
|
+
return self._CurRunDate
|
25088
|
+
|
25089
|
+
@CurRunDate.setter
|
25090
|
+
def CurRunDate(self, CurRunDate):
|
25091
|
+
self._CurRunDate = CurRunDate
|
25092
|
+
|
25093
|
+
@property
|
25094
|
+
def ProjectId(self):
|
25095
|
+
"""项目id
|
25096
|
+
:rtype: str
|
25097
|
+
"""
|
25098
|
+
return self._ProjectId
|
25099
|
+
|
25100
|
+
@ProjectId.setter
|
25101
|
+
def ProjectId(self, ProjectId):
|
25102
|
+
self._ProjectId = ProjectId
|
25103
|
+
|
25104
|
+
@property
|
25105
|
+
def LifeRound(self):
|
25106
|
+
"""实例的第几次执行
|
25107
|
+
:rtype: int
|
25108
|
+
"""
|
25109
|
+
return self._LifeRound
|
25110
|
+
|
25111
|
+
@LifeRound.setter
|
25112
|
+
def LifeRound(self, LifeRound):
|
25113
|
+
self._LifeRound = LifeRound
|
25114
|
+
|
25115
|
+
@property
|
25116
|
+
def LifeRoundStartIndex(self):
|
25117
|
+
"""生命周期查询起始index
|
25118
|
+
:rtype: int
|
25119
|
+
"""
|
25120
|
+
return self._LifeRoundStartIndex
|
25121
|
+
|
25122
|
+
@LifeRoundStartIndex.setter
|
25123
|
+
def LifeRoundStartIndex(self, LifeRoundStartIndex):
|
25124
|
+
self._LifeRoundStartIndex = LifeRoundStartIndex
|
25125
|
+
|
25126
|
+
@property
|
25127
|
+
def LifeRoundSize(self):
|
25128
|
+
"""生命周期查询批次数量
|
25129
|
+
:rtype: int
|
25130
|
+
"""
|
25131
|
+
return self._LifeRoundSize
|
25132
|
+
|
25133
|
+
@LifeRoundSize.setter
|
25134
|
+
def LifeRoundSize(self, LifeRoundSize):
|
25135
|
+
self._LifeRoundSize = LifeRoundSize
|
25136
|
+
|
25137
|
+
@property
|
25138
|
+
def TotalLifeRound(self):
|
25139
|
+
"""生命周期总数,可省略
|
25140
|
+
:rtype: str
|
25141
|
+
"""
|
25142
|
+
return self._TotalLifeRound
|
25143
|
+
|
25144
|
+
@TotalLifeRound.setter
|
25145
|
+
def TotalLifeRound(self, TotalLifeRound):
|
25146
|
+
self._TotalLifeRound = TotalLifeRound
|
25147
|
+
|
25148
|
+
@property
|
25149
|
+
def Dynamic(self):
|
25150
|
+
"""动态加载日志标识
|
25151
|
+
:rtype: bool
|
25152
|
+
"""
|
25153
|
+
return self._Dynamic
|
25154
|
+
|
25155
|
+
@Dynamic.setter
|
25156
|
+
def Dynamic(self, Dynamic):
|
25157
|
+
self._Dynamic = Dynamic
|
25158
|
+
|
25159
|
+
|
25160
|
+
def _deserialize(self, params):
|
25161
|
+
self._TaskId = params.get("TaskId")
|
25162
|
+
self._CurRunDate = params.get("CurRunDate")
|
25163
|
+
self._ProjectId = params.get("ProjectId")
|
25164
|
+
self._LifeRound = params.get("LifeRound")
|
25165
|
+
self._LifeRoundStartIndex = params.get("LifeRoundStartIndex")
|
25166
|
+
self._LifeRoundSize = params.get("LifeRoundSize")
|
25167
|
+
self._TotalLifeRound = params.get("TotalLifeRound")
|
25168
|
+
self._Dynamic = params.get("Dynamic")
|
25169
|
+
memeber_set = set(params.keys())
|
25170
|
+
for name, value in vars(self).items():
|
25171
|
+
property_name = name[1:]
|
25172
|
+
if property_name in memeber_set:
|
25173
|
+
memeber_set.remove(property_name)
|
25174
|
+
if len(memeber_set) > 0:
|
25175
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
25176
|
+
|
25177
|
+
|
25178
|
+
|
25179
|
+
class DescribeInstanceDetailInfoResponse(AbstractModel):
|
25180
|
+
"""DescribeInstanceDetailInfo返回参数结构体
|
25181
|
+
|
25182
|
+
"""
|
25183
|
+
|
25184
|
+
def __init__(self):
|
25185
|
+
r"""
|
25186
|
+
:param _Data: 生命周期结果
|
25187
|
+
:type Data: list of InstanceLifeCycleOpsDto
|
25188
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
25189
|
+
:type RequestId: str
|
25190
|
+
"""
|
25191
|
+
self._Data = None
|
25192
|
+
self._RequestId = None
|
25193
|
+
|
25194
|
+
@property
|
25195
|
+
def Data(self):
|
25196
|
+
"""生命周期结果
|
25197
|
+
:rtype: list of InstanceLifeCycleOpsDto
|
25198
|
+
"""
|
25199
|
+
return self._Data
|
25200
|
+
|
25201
|
+
@Data.setter
|
25202
|
+
def Data(self, Data):
|
25203
|
+
self._Data = Data
|
25204
|
+
|
25205
|
+
@property
|
25206
|
+
def RequestId(self):
|
25207
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
25208
|
+
:rtype: str
|
25209
|
+
"""
|
25210
|
+
return self._RequestId
|
25211
|
+
|
25212
|
+
@RequestId.setter
|
25213
|
+
def RequestId(self, RequestId):
|
25214
|
+
self._RequestId = RequestId
|
25215
|
+
|
25216
|
+
|
25217
|
+
def _deserialize(self, params):
|
25218
|
+
if params.get("Data") is not None:
|
25219
|
+
self._Data = []
|
25220
|
+
for item in params.get("Data"):
|
25221
|
+
obj = InstanceLifeCycleOpsDto()
|
25222
|
+
obj._deserialize(item)
|
25223
|
+
self._Data.append(obj)
|
25224
|
+
self._RequestId = params.get("RequestId")
|
25225
|
+
|
25226
|
+
|
25038
25227
|
class DescribeInstanceLastLogRequest(AbstractModel):
|
25039
25228
|
"""DescribeInstanceLastLog请求参数结构体
|
25040
25229
|
|
@@ -2188,6 +2188,29 @@ class WedataClient(AbstractClient):
|
|
2188
2188
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2189
2189
|
|
2190
2190
|
|
2191
|
+
def DescribeInstanceDetailInfo(self, request):
|
2192
|
+
"""实例详情页,返回某个实例所有生命周期信息
|
2193
|
+
|
2194
|
+
:param request: Request instance for DescribeInstanceDetailInfo.
|
2195
|
+
:type request: :class:`tencentcloud.wedata.v20210820.models.DescribeInstanceDetailInfoRequest`
|
2196
|
+
:rtype: :class:`tencentcloud.wedata.v20210820.models.DescribeInstanceDetailInfoResponse`
|
2197
|
+
|
2198
|
+
"""
|
2199
|
+
try:
|
2200
|
+
params = request._serialize()
|
2201
|
+
headers = request.headers
|
2202
|
+
body = self.call("DescribeInstanceDetailInfo", params, headers=headers)
|
2203
|
+
response = json.loads(body)
|
2204
|
+
model = models.DescribeInstanceDetailInfoResponse()
|
2205
|
+
model._deserialize(response["Response"])
|
2206
|
+
return model
|
2207
|
+
except Exception as e:
|
2208
|
+
if isinstance(e, TencentCloudSDKException):
|
2209
|
+
raise
|
2210
|
+
else:
|
2211
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2212
|
+
|
2213
|
+
|
2191
2214
|
def DescribeInstanceLastLog(self, request):
|
2192
2215
|
"""日志获取详情页面
|
2193
2216
|
|