tencentcloud-sdk-python-thpc 3.1.169__tar.gz → 3.1.180__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_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/setup.py +1 -1
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/thpc/v20230321/errorcodes.py +3 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/thpc/v20230321/models.py +239 -2
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/thpc/v20230321/thpc_client.py +69 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/thpc/v20230321/thpc_client_async.py +54 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud_sdk_python_thpc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_thpc-3.1.180/tencentcloud_sdk_python_thpc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_thpc-3.1.169/tencentcloud_sdk_python_thpc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/README.rst +0 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/setup.cfg +0 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/thpc/__init__.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/thpc/v20211109/__init__.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/thpc/v20211109/errorcodes.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/thpc/v20211109/models.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/thpc/v20211109/thpc_client.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/thpc/v20211109/thpc_client_async.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/thpc/v20220401/__init__.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/thpc/v20220401/errorcodes.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/thpc/v20220401/models.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/thpc/v20220401/thpc_client.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/thpc/v20220401/thpc_client_async.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud/thpc/v20230321/__init__.py +0 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud_sdk_python_thpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud_sdk_python_thpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_thpc-3.1.169 → tencentcloud_sdk_python_thpc-3.1.180}/tencentcloud_sdk_python_thpc.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-thpc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.180
|
|
4
4
|
Summary: Tencent Cloud Thpc 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.180
|
|
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-thpc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.180,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Thpc SDK for Python',
|
|
@@ -170,6 +170,9 @@ RESOURCENOTFOUND_LOCALPATH = 'ResourceNotFound.LocalPath'
|
|
|
170
170
|
# 无法找到ID对应节点。
|
|
171
171
|
RESOURCENOTFOUND_NODEID = 'ResourceNotFound.NodeId'
|
|
172
172
|
|
|
173
|
+
# 指定的 prometheus 实例不存在
|
|
174
|
+
RESOURCENOTFOUND_PROMETHEUSID = 'ResourceNotFound.PrometheusId'
|
|
175
|
+
|
|
173
176
|
# 无法找到指定队列。
|
|
174
177
|
RESOURCENOTFOUND_QUEUE = 'ResourceNotFound.Queue'
|
|
175
178
|
|
|
@@ -4159,6 +4159,100 @@ class DescribeClusterDedicatedProxyResponse(AbstractModel):
|
|
|
4159
4159
|
self._RequestId = params.get("RequestId")
|
|
4160
4160
|
|
|
4161
4161
|
|
|
4162
|
+
class DescribeClusterMonitorStatusRequest(AbstractModel):
|
|
4163
|
+
r"""DescribeClusterMonitorStatus请求参数结构体
|
|
4164
|
+
|
|
4165
|
+
"""
|
|
4166
|
+
|
|
4167
|
+
def __init__(self):
|
|
4168
|
+
r"""
|
|
4169
|
+
:param _ClusterId: <p>集群ID。</p>
|
|
4170
|
+
:type ClusterId: str
|
|
4171
|
+
"""
|
|
4172
|
+
self._ClusterId = None
|
|
4173
|
+
|
|
4174
|
+
@property
|
|
4175
|
+
def ClusterId(self):
|
|
4176
|
+
r"""<p>集群ID。</p>
|
|
4177
|
+
:rtype: str
|
|
4178
|
+
"""
|
|
4179
|
+
return self._ClusterId
|
|
4180
|
+
|
|
4181
|
+
@ClusterId.setter
|
|
4182
|
+
def ClusterId(self, ClusterId):
|
|
4183
|
+
self._ClusterId = ClusterId
|
|
4184
|
+
|
|
4185
|
+
|
|
4186
|
+
def _deserialize(self, params):
|
|
4187
|
+
self._ClusterId = params.get("ClusterId")
|
|
4188
|
+
memeber_set = set(params.keys())
|
|
4189
|
+
for name, value in vars(self).items():
|
|
4190
|
+
property_name = name[1:]
|
|
4191
|
+
if property_name in memeber_set:
|
|
4192
|
+
memeber_set.remove(property_name)
|
|
4193
|
+
if len(memeber_set) > 0:
|
|
4194
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4195
|
+
|
|
4196
|
+
|
|
4197
|
+
|
|
4198
|
+
class DescribeClusterMonitorStatusResponse(AbstractModel):
|
|
4199
|
+
r"""DescribeClusterMonitorStatus返回参数结构体
|
|
4200
|
+
|
|
4201
|
+
"""
|
|
4202
|
+
|
|
4203
|
+
def __init__(self):
|
|
4204
|
+
r"""
|
|
4205
|
+
:param _MonitorStatus: <p>集群监控状态</p>
|
|
4206
|
+
:type MonitorStatus: str
|
|
4207
|
+
:param _PrometheusId: <p>集群关联的prometheus实例ID</p>
|
|
4208
|
+
:type PrometheusId: str
|
|
4209
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4210
|
+
:type RequestId: str
|
|
4211
|
+
"""
|
|
4212
|
+
self._MonitorStatus = None
|
|
4213
|
+
self._PrometheusId = None
|
|
4214
|
+
self._RequestId = None
|
|
4215
|
+
|
|
4216
|
+
@property
|
|
4217
|
+
def MonitorStatus(self):
|
|
4218
|
+
r"""<p>集群监控状态</p>
|
|
4219
|
+
:rtype: str
|
|
4220
|
+
"""
|
|
4221
|
+
return self._MonitorStatus
|
|
4222
|
+
|
|
4223
|
+
@MonitorStatus.setter
|
|
4224
|
+
def MonitorStatus(self, MonitorStatus):
|
|
4225
|
+
self._MonitorStatus = MonitorStatus
|
|
4226
|
+
|
|
4227
|
+
@property
|
|
4228
|
+
def PrometheusId(self):
|
|
4229
|
+
r"""<p>集群关联的prometheus实例ID</p>
|
|
4230
|
+
:rtype: str
|
|
4231
|
+
"""
|
|
4232
|
+
return self._PrometheusId
|
|
4233
|
+
|
|
4234
|
+
@PrometheusId.setter
|
|
4235
|
+
def PrometheusId(self, PrometheusId):
|
|
4236
|
+
self._PrometheusId = PrometheusId
|
|
4237
|
+
|
|
4238
|
+
@property
|
|
4239
|
+
def RequestId(self):
|
|
4240
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4241
|
+
:rtype: str
|
|
4242
|
+
"""
|
|
4243
|
+
return self._RequestId
|
|
4244
|
+
|
|
4245
|
+
@RequestId.setter
|
|
4246
|
+
def RequestId(self, RequestId):
|
|
4247
|
+
self._RequestId = RequestId
|
|
4248
|
+
|
|
4249
|
+
|
|
4250
|
+
def _deserialize(self, params):
|
|
4251
|
+
self._MonitorStatus = params.get("MonitorStatus")
|
|
4252
|
+
self._PrometheusId = params.get("PrometheusId")
|
|
4253
|
+
self._RequestId = params.get("RequestId")
|
|
4254
|
+
|
|
4255
|
+
|
|
4162
4256
|
class DescribeClusterStorageOptionRequest(AbstractModel):
|
|
4163
4257
|
r"""DescribeClusterStorageOption请求参数结构体
|
|
4164
4258
|
|
|
@@ -5772,6 +5866,70 @@ class DisableClusterDedicatedProxyResponse(AbstractModel):
|
|
|
5772
5866
|
self._RequestId = params.get("RequestId")
|
|
5773
5867
|
|
|
5774
5868
|
|
|
5869
|
+
class DisableClusterMonitorRequest(AbstractModel):
|
|
5870
|
+
r"""DisableClusterMonitor请求参数结构体
|
|
5871
|
+
|
|
5872
|
+
"""
|
|
5873
|
+
|
|
5874
|
+
def __init__(self):
|
|
5875
|
+
r"""
|
|
5876
|
+
:param _ClusterId: <p>集群ID。</p>
|
|
5877
|
+
:type ClusterId: str
|
|
5878
|
+
"""
|
|
5879
|
+
self._ClusterId = None
|
|
5880
|
+
|
|
5881
|
+
@property
|
|
5882
|
+
def ClusterId(self):
|
|
5883
|
+
r"""<p>集群ID。</p>
|
|
5884
|
+
:rtype: str
|
|
5885
|
+
"""
|
|
5886
|
+
return self._ClusterId
|
|
5887
|
+
|
|
5888
|
+
@ClusterId.setter
|
|
5889
|
+
def ClusterId(self, ClusterId):
|
|
5890
|
+
self._ClusterId = ClusterId
|
|
5891
|
+
|
|
5892
|
+
|
|
5893
|
+
def _deserialize(self, params):
|
|
5894
|
+
self._ClusterId = params.get("ClusterId")
|
|
5895
|
+
memeber_set = set(params.keys())
|
|
5896
|
+
for name, value in vars(self).items():
|
|
5897
|
+
property_name = name[1:]
|
|
5898
|
+
if property_name in memeber_set:
|
|
5899
|
+
memeber_set.remove(property_name)
|
|
5900
|
+
if len(memeber_set) > 0:
|
|
5901
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5902
|
+
|
|
5903
|
+
|
|
5904
|
+
|
|
5905
|
+
class DisableClusterMonitorResponse(AbstractModel):
|
|
5906
|
+
r"""DisableClusterMonitor返回参数结构体
|
|
5907
|
+
|
|
5908
|
+
"""
|
|
5909
|
+
|
|
5910
|
+
def __init__(self):
|
|
5911
|
+
r"""
|
|
5912
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5913
|
+
:type RequestId: str
|
|
5914
|
+
"""
|
|
5915
|
+
self._RequestId = None
|
|
5916
|
+
|
|
5917
|
+
@property
|
|
5918
|
+
def RequestId(self):
|
|
5919
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5920
|
+
:rtype: str
|
|
5921
|
+
"""
|
|
5922
|
+
return self._RequestId
|
|
5923
|
+
|
|
5924
|
+
@RequestId.setter
|
|
5925
|
+
def RequestId(self, RequestId):
|
|
5926
|
+
self._RequestId = RequestId
|
|
5927
|
+
|
|
5928
|
+
|
|
5929
|
+
def _deserialize(self, params):
|
|
5930
|
+
self._RequestId = params.get("RequestId")
|
|
5931
|
+
|
|
5932
|
+
|
|
5775
5933
|
class Docker(AbstractModel):
|
|
5776
5934
|
r"""容器配置信息。
|
|
5777
5935
|
|
|
@@ -6007,6 +6165,85 @@ class EnableClusterDedicatedProxyResponse(AbstractModel):
|
|
|
6007
6165
|
self._RequestId = params.get("RequestId")
|
|
6008
6166
|
|
|
6009
6167
|
|
|
6168
|
+
class EnableClusterMonitorRequest(AbstractModel):
|
|
6169
|
+
r"""EnableClusterMonitor请求参数结构体
|
|
6170
|
+
|
|
6171
|
+
"""
|
|
6172
|
+
|
|
6173
|
+
def __init__(self):
|
|
6174
|
+
r"""
|
|
6175
|
+
:param _ClusterId: <p>集群ID。</p>
|
|
6176
|
+
:type ClusterId: str
|
|
6177
|
+
:param _PrometheusId: <p>Prometheus实例ID</p>
|
|
6178
|
+
:type PrometheusId: str
|
|
6179
|
+
"""
|
|
6180
|
+
self._ClusterId = None
|
|
6181
|
+
self._PrometheusId = None
|
|
6182
|
+
|
|
6183
|
+
@property
|
|
6184
|
+
def ClusterId(self):
|
|
6185
|
+
r"""<p>集群ID。</p>
|
|
6186
|
+
:rtype: str
|
|
6187
|
+
"""
|
|
6188
|
+
return self._ClusterId
|
|
6189
|
+
|
|
6190
|
+
@ClusterId.setter
|
|
6191
|
+
def ClusterId(self, ClusterId):
|
|
6192
|
+
self._ClusterId = ClusterId
|
|
6193
|
+
|
|
6194
|
+
@property
|
|
6195
|
+
def PrometheusId(self):
|
|
6196
|
+
r"""<p>Prometheus实例ID</p>
|
|
6197
|
+
:rtype: str
|
|
6198
|
+
"""
|
|
6199
|
+
return self._PrometheusId
|
|
6200
|
+
|
|
6201
|
+
@PrometheusId.setter
|
|
6202
|
+
def PrometheusId(self, PrometheusId):
|
|
6203
|
+
self._PrometheusId = PrometheusId
|
|
6204
|
+
|
|
6205
|
+
|
|
6206
|
+
def _deserialize(self, params):
|
|
6207
|
+
self._ClusterId = params.get("ClusterId")
|
|
6208
|
+
self._PrometheusId = params.get("PrometheusId")
|
|
6209
|
+
memeber_set = set(params.keys())
|
|
6210
|
+
for name, value in vars(self).items():
|
|
6211
|
+
property_name = name[1:]
|
|
6212
|
+
if property_name in memeber_set:
|
|
6213
|
+
memeber_set.remove(property_name)
|
|
6214
|
+
if len(memeber_set) > 0:
|
|
6215
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6216
|
+
|
|
6217
|
+
|
|
6218
|
+
|
|
6219
|
+
class EnableClusterMonitorResponse(AbstractModel):
|
|
6220
|
+
r"""EnableClusterMonitor返回参数结构体
|
|
6221
|
+
|
|
6222
|
+
"""
|
|
6223
|
+
|
|
6224
|
+
def __init__(self):
|
|
6225
|
+
r"""
|
|
6226
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6227
|
+
:type RequestId: str
|
|
6228
|
+
"""
|
|
6229
|
+
self._RequestId = None
|
|
6230
|
+
|
|
6231
|
+
@property
|
|
6232
|
+
def RequestId(self):
|
|
6233
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6234
|
+
:rtype: str
|
|
6235
|
+
"""
|
|
6236
|
+
return self._RequestId
|
|
6237
|
+
|
|
6238
|
+
@RequestId.setter
|
|
6239
|
+
def RequestId(self, RequestId):
|
|
6240
|
+
self._RequestId = RequestId
|
|
6241
|
+
|
|
6242
|
+
|
|
6243
|
+
def _deserialize(self, params):
|
|
6244
|
+
self._RequestId = params.get("RequestId")
|
|
6245
|
+
|
|
6246
|
+
|
|
6010
6247
|
class EnhancedService(AbstractModel):
|
|
6011
6248
|
r"""描述了实例的增强服务启用情况与其设置,如云安全,腾讯云可观测平台等实例 Agent
|
|
6012
6249
|
|
|
@@ -10534,14 +10771,14 @@ class QueueOverview(AbstractModel):
|
|
|
10534
10771
|
|
|
10535
10772
|
def __init__(self):
|
|
10536
10773
|
r"""
|
|
10537
|
-
:param _QueueName:
|
|
10774
|
+
:param _QueueName: <p>队列名称。</p>
|
|
10538
10775
|
:type QueueName: str
|
|
10539
10776
|
"""
|
|
10540
10777
|
self._QueueName = None
|
|
10541
10778
|
|
|
10542
10779
|
@property
|
|
10543
10780
|
def QueueName(self):
|
|
10544
|
-
r"""
|
|
10781
|
+
r"""<p>队列名称。</p>
|
|
10545
10782
|
:rtype: str
|
|
10546
10783
|
"""
|
|
10547
10784
|
return self._QueueName
|
|
@@ -431,6 +431,29 @@ class ThpcClient(AbstractClient):
|
|
|
431
431
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
432
432
|
|
|
433
433
|
|
|
434
|
+
def DescribeClusterMonitorStatus(self, request):
|
|
435
|
+
r"""本接口 (ModifyInitNodeScripts) 用于修改节点初始化脚本。
|
|
436
|
+
|
|
437
|
+
:param request: Request instance for DescribeClusterMonitorStatus.
|
|
438
|
+
:type request: :class:`tencentcloud.thpc.v20230321.models.DescribeClusterMonitorStatusRequest`
|
|
439
|
+
:rtype: :class:`tencentcloud.thpc.v20230321.models.DescribeClusterMonitorStatusResponse`
|
|
440
|
+
|
|
441
|
+
"""
|
|
442
|
+
try:
|
|
443
|
+
params = request._serialize()
|
|
444
|
+
headers = request.headers
|
|
445
|
+
body = self.call("DescribeClusterMonitorStatus", params, headers=headers)
|
|
446
|
+
response = json.loads(body)
|
|
447
|
+
model = models.DescribeClusterMonitorStatusResponse()
|
|
448
|
+
model._deserialize(response["Response"])
|
|
449
|
+
return model
|
|
450
|
+
except Exception as e:
|
|
451
|
+
if isinstance(e, TencentCloudSDKException):
|
|
452
|
+
raise
|
|
453
|
+
else:
|
|
454
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
455
|
+
|
|
456
|
+
|
|
434
457
|
def DescribeClusterStorageOption(self, request):
|
|
435
458
|
r"""本接口 (DescribeClusterStorageOption) 用于查询集群存储选项信息。
|
|
436
459
|
|
|
@@ -780,6 +803,29 @@ class ThpcClient(AbstractClient):
|
|
|
780
803
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
781
804
|
|
|
782
805
|
|
|
806
|
+
def DisableClusterMonitor(self, request):
|
|
807
|
+
r"""本接口 (ModifyInitNodeScripts) 用于修改节点初始化脚本。
|
|
808
|
+
|
|
809
|
+
:param request: Request instance for DisableClusterMonitor.
|
|
810
|
+
:type request: :class:`tencentcloud.thpc.v20230321.models.DisableClusterMonitorRequest`
|
|
811
|
+
:rtype: :class:`tencentcloud.thpc.v20230321.models.DisableClusterMonitorResponse`
|
|
812
|
+
|
|
813
|
+
"""
|
|
814
|
+
try:
|
|
815
|
+
params = request._serialize()
|
|
816
|
+
headers = request.headers
|
|
817
|
+
body = self.call("DisableClusterMonitor", params, headers=headers)
|
|
818
|
+
response = json.loads(body)
|
|
819
|
+
model = models.DisableClusterMonitorResponse()
|
|
820
|
+
model._deserialize(response["Response"])
|
|
821
|
+
return model
|
|
822
|
+
except Exception as e:
|
|
823
|
+
if isinstance(e, TencentCloudSDKException):
|
|
824
|
+
raise
|
|
825
|
+
else:
|
|
826
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
827
|
+
|
|
828
|
+
|
|
783
829
|
def EnableClusterDedicatedProxy(self, request):
|
|
784
830
|
r"""本接口 (EnableClusterDedicatedProxy) 用于开启IDC集群的专线/VPN代理。
|
|
785
831
|
|
|
@@ -807,6 +853,29 @@ class ThpcClient(AbstractClient):
|
|
|
807
853
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
808
854
|
|
|
809
855
|
|
|
856
|
+
def EnableClusterMonitor(self, request):
|
|
857
|
+
r"""本接口 (ModifyInitNodeScripts) 用于修改节点初始化脚本。
|
|
858
|
+
|
|
859
|
+
:param request: Request instance for EnableClusterMonitor.
|
|
860
|
+
:type request: :class:`tencentcloud.thpc.v20230321.models.EnableClusterMonitorRequest`
|
|
861
|
+
:rtype: :class:`tencentcloud.thpc.v20230321.models.EnableClusterMonitorResponse`
|
|
862
|
+
|
|
863
|
+
"""
|
|
864
|
+
try:
|
|
865
|
+
params = request._serialize()
|
|
866
|
+
headers = request.headers
|
|
867
|
+
body = self.call("EnableClusterMonitor", params, headers=headers)
|
|
868
|
+
response = json.loads(body)
|
|
869
|
+
model = models.EnableClusterMonitorResponse()
|
|
870
|
+
model._deserialize(response["Response"])
|
|
871
|
+
return model
|
|
872
|
+
except Exception as e:
|
|
873
|
+
if isinstance(e, TencentCloudSDKException):
|
|
874
|
+
raise
|
|
875
|
+
else:
|
|
876
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
877
|
+
|
|
878
|
+
|
|
810
879
|
def GenerateRegisterCode(self, request):
|
|
811
880
|
r"""本接口(GenerateRegisterCode)用于为队列创建一个注册码,注册码用于IDC机器的注册纳管。
|
|
812
881
|
|
|
@@ -345,6 +345,24 @@ class ThpcClient(AbstractClient):
|
|
|
345
345
|
|
|
346
346
|
return await self.call_and_deserialize(**kwargs)
|
|
347
347
|
|
|
348
|
+
async def DescribeClusterMonitorStatus(
|
|
349
|
+
self,
|
|
350
|
+
request: models.DescribeClusterMonitorStatusRequest,
|
|
351
|
+
opts: Dict = None,
|
|
352
|
+
) -> models.DescribeClusterMonitorStatusResponse:
|
|
353
|
+
"""
|
|
354
|
+
本接口 (ModifyInitNodeScripts) 用于修改节点初始化脚本。
|
|
355
|
+
"""
|
|
356
|
+
|
|
357
|
+
kwargs = {}
|
|
358
|
+
kwargs["action"] = "DescribeClusterMonitorStatus"
|
|
359
|
+
kwargs["params"] = request._serialize()
|
|
360
|
+
kwargs["resp_cls"] = models.DescribeClusterMonitorStatusResponse
|
|
361
|
+
kwargs["headers"] = request.headers
|
|
362
|
+
kwargs["opts"] = opts or {}
|
|
363
|
+
|
|
364
|
+
return await self.call_and_deserialize(**kwargs)
|
|
365
|
+
|
|
348
366
|
async def DescribeClusterStorageOption(
|
|
349
367
|
self,
|
|
350
368
|
request: models.DescribeClusterStorageOptionRequest,
|
|
@@ -619,6 +637,24 @@ class ThpcClient(AbstractClient):
|
|
|
619
637
|
|
|
620
638
|
return await self.call_and_deserialize(**kwargs)
|
|
621
639
|
|
|
640
|
+
async def DisableClusterMonitor(
|
|
641
|
+
self,
|
|
642
|
+
request: models.DisableClusterMonitorRequest,
|
|
643
|
+
opts: Dict = None,
|
|
644
|
+
) -> models.DisableClusterMonitorResponse:
|
|
645
|
+
"""
|
|
646
|
+
本接口 (ModifyInitNodeScripts) 用于修改节点初始化脚本。
|
|
647
|
+
"""
|
|
648
|
+
|
|
649
|
+
kwargs = {}
|
|
650
|
+
kwargs["action"] = "DisableClusterMonitor"
|
|
651
|
+
kwargs["params"] = request._serialize()
|
|
652
|
+
kwargs["resp_cls"] = models.DisableClusterMonitorResponse
|
|
653
|
+
kwargs["headers"] = request.headers
|
|
654
|
+
kwargs["opts"] = opts or {}
|
|
655
|
+
|
|
656
|
+
return await self.call_and_deserialize(**kwargs)
|
|
657
|
+
|
|
622
658
|
async def EnableClusterDedicatedProxy(
|
|
623
659
|
self,
|
|
624
660
|
request: models.EnableClusterDedicatedProxyRequest,
|
|
@@ -641,6 +677,24 @@ class ThpcClient(AbstractClient):
|
|
|
641
677
|
|
|
642
678
|
return await self.call_and_deserialize(**kwargs)
|
|
643
679
|
|
|
680
|
+
async def EnableClusterMonitor(
|
|
681
|
+
self,
|
|
682
|
+
request: models.EnableClusterMonitorRequest,
|
|
683
|
+
opts: Dict = None,
|
|
684
|
+
) -> models.EnableClusterMonitorResponse:
|
|
685
|
+
"""
|
|
686
|
+
本接口 (ModifyInitNodeScripts) 用于修改节点初始化脚本。
|
|
687
|
+
"""
|
|
688
|
+
|
|
689
|
+
kwargs = {}
|
|
690
|
+
kwargs["action"] = "EnableClusterMonitor"
|
|
691
|
+
kwargs["params"] = request._serialize()
|
|
692
|
+
kwargs["resp_cls"] = models.EnableClusterMonitorResponse
|
|
693
|
+
kwargs["headers"] = request.headers
|
|
694
|
+
kwargs["opts"] = opts or {}
|
|
695
|
+
|
|
696
|
+
return await self.call_and_deserialize(**kwargs)
|
|
697
|
+
|
|
644
698
|
async def GenerateRegisterCode(
|
|
645
699
|
self,
|
|
646
700
|
request: models.GenerateRegisterCodeRequest,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-thpc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.180
|
|
4
4
|
Summary: Tencent Cloud Thpc 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.180
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.180
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.169
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|