tencentcloud-sdk-python 3.1.157__py2.py3-none-any.whl → 3.1.159__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/cbs/v20170312/cbs_client.py +23 -0
- tencentcloud/cbs/v20170312/cbs_client_async.py +18 -0
- tencentcloud/cbs/v20170312/models.py +34 -0
- tencentcloud/cdb/v20170320/models.py +15 -0
- tencentcloud/ckafka/v20190819/models.py +744 -182
- tencentcloud/csip/v20221121/models.py +237 -46
- tencentcloud/cvm/v20170312/errorcodes.py +3 -0
- tencentcloud/cvm/v20170312/models.py +6 -18
- tencentcloud/dlc/v20210125/models.py +45 -45
- tencentcloud/essbasic/v20210526/models.py +100 -292
- tencentcloud/mps/v20190612/models.py +30 -0
- tencentcloud/tcb/v20180608/models.py +43 -28
- tencentcloud/tcr/v20190924/models.py +32 -32
- tencentcloud/tcss/v20201101/models.py +2 -2
- tencentcloud/thpc/v20230321/models.py +452 -0
- tencentcloud/thpc/v20230321/thpc_client.py +46 -0
- tencentcloud/thpc/v20230321/thpc_client_async.py +36 -0
- tencentcloud/vod/v20180717/models.py +2 -2
- tencentcloud/wedata/v20210820/models.py +92 -64
- tencentcloud/wedata/v20250806/models.py +429 -207
- {tencentcloud_sdk_python-3.1.157.dist-info → tencentcloud_sdk_python-3.1.159.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.157.dist-info → tencentcloud_sdk_python-3.1.159.dist-info}/RECORD +26 -26
- {tencentcloud_sdk_python-3.1.157.dist-info → tencentcloud_sdk_python-3.1.159.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.157.dist-info → tencentcloud_sdk_python-3.1.159.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.1.157.dist-info → tencentcloud_sdk_python-3.1.159.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -506,6 +506,29 @@ class CbsClient(AbstractClient):
|
|
|
506
506
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
507
507
|
|
|
508
508
|
|
|
509
|
+
def DescribeDedicatedClusterDiskStatistics(self, request):
|
|
510
|
+
r"""查询 CVM CDC 独享集群云硬盘统计信息。
|
|
511
|
+
|
|
512
|
+
:param request: Request instance for DescribeDedicatedClusterDiskStatistics.
|
|
513
|
+
:type request: :class:`tencentcloud.cbs.v20170312.models.DescribeDedicatedClusterDiskStatisticsRequest`
|
|
514
|
+
:rtype: :class:`tencentcloud.cbs.v20170312.models.DescribeDedicatedClusterDiskStatisticsResponse`
|
|
515
|
+
|
|
516
|
+
"""
|
|
517
|
+
try:
|
|
518
|
+
params = request._serialize()
|
|
519
|
+
headers = request.headers
|
|
520
|
+
body = self.call("DescribeDedicatedClusterDiskStatistics", params, headers=headers)
|
|
521
|
+
response = json.loads(body)
|
|
522
|
+
model = models.DescribeDedicatedClusterDiskStatisticsResponse()
|
|
523
|
+
model._deserialize(response["Response"])
|
|
524
|
+
return model
|
|
525
|
+
except Exception as e:
|
|
526
|
+
if isinstance(e, TencentCloudSDKException):
|
|
527
|
+
raise
|
|
528
|
+
else:
|
|
529
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
530
|
+
|
|
531
|
+
|
|
509
532
|
def DescribeDiskAssociatedAutoSnapshotPolicy(self, request):
|
|
510
533
|
r"""本接口(DescribeDiskAssociatedAutoSnapshotPolicy)用于查询云盘绑定的定期快照策略。
|
|
511
534
|
|
|
@@ -410,6 +410,24 @@ class CbsClient(AbstractClient):
|
|
|
410
410
|
|
|
411
411
|
return await self.call_and_deserialize(**kwargs)
|
|
412
412
|
|
|
413
|
+
async def DescribeDedicatedClusterDiskStatistics(
|
|
414
|
+
self,
|
|
415
|
+
request: models.DescribeDedicatedClusterDiskStatisticsRequest,
|
|
416
|
+
opts: Dict = None,
|
|
417
|
+
) -> models.DescribeDedicatedClusterDiskStatisticsResponse:
|
|
418
|
+
"""
|
|
419
|
+
查询 CVM CDC 独享集群云硬盘统计信息。
|
|
420
|
+
"""
|
|
421
|
+
|
|
422
|
+
kwargs = {}
|
|
423
|
+
kwargs["action"] = "DescribeDedicatedClusterDiskStatistics"
|
|
424
|
+
kwargs["params"] = request._serialize()
|
|
425
|
+
kwargs["resp_cls"] = models.DescribeDedicatedClusterDiskStatisticsResponse
|
|
426
|
+
kwargs["headers"] = request.headers
|
|
427
|
+
kwargs["opts"] = opts or {}
|
|
428
|
+
|
|
429
|
+
return await self.call_and_deserialize(**kwargs)
|
|
430
|
+
|
|
413
431
|
async def DescribeDiskAssociatedAutoSnapshotPolicy(
|
|
414
432
|
self,
|
|
415
433
|
request: models.DescribeDiskAssociatedAutoSnapshotPolicyRequest,
|
|
@@ -3202,6 +3202,40 @@ class DescribeAutoSnapshotPoliciesResponse(AbstractModel):
|
|
|
3202
3202
|
self._RequestId = params.get("RequestId")
|
|
3203
3203
|
|
|
3204
3204
|
|
|
3205
|
+
class DescribeDedicatedClusterDiskStatisticsRequest(AbstractModel):
|
|
3206
|
+
r"""DescribeDedicatedClusterDiskStatistics请求参数结构体
|
|
3207
|
+
|
|
3208
|
+
"""
|
|
3209
|
+
|
|
3210
|
+
|
|
3211
|
+
class DescribeDedicatedClusterDiskStatisticsResponse(AbstractModel):
|
|
3212
|
+
r"""DescribeDedicatedClusterDiskStatistics返回参数结构体
|
|
3213
|
+
|
|
3214
|
+
"""
|
|
3215
|
+
|
|
3216
|
+
def __init__(self):
|
|
3217
|
+
r"""
|
|
3218
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3219
|
+
:type RequestId: str
|
|
3220
|
+
"""
|
|
3221
|
+
self._RequestId = None
|
|
3222
|
+
|
|
3223
|
+
@property
|
|
3224
|
+
def RequestId(self):
|
|
3225
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3226
|
+
:rtype: str
|
|
3227
|
+
"""
|
|
3228
|
+
return self._RequestId
|
|
3229
|
+
|
|
3230
|
+
@RequestId.setter
|
|
3231
|
+
def RequestId(self, RequestId):
|
|
3232
|
+
self._RequestId = RequestId
|
|
3233
|
+
|
|
3234
|
+
|
|
3235
|
+
def _deserialize(self, params):
|
|
3236
|
+
self._RequestId = params.get("RequestId")
|
|
3237
|
+
|
|
3238
|
+
|
|
3205
3239
|
class DescribeDiskAssociatedAutoSnapshotPolicyRequest(AbstractModel):
|
|
3206
3240
|
r"""DescribeDiskAssociatedAutoSnapshotPolicy请求参数结构体
|
|
3207
3241
|
|
|
@@ -8667,6 +8667,8 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
|
8667
8667
|
:type ClusterTopology: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
|
|
8668
8668
|
:param _DiskType: <p>硬盘类型,单节点(云盘)或者云盘版实例可以指定此参数。CLOUD_SSD 表示 SSD 云硬盘,CLOUD_HSSD 表示增强型 SSD 云硬盘,CLOUD_PREMIUM 表示高性能云硬盘。<br>说明:单节点(云盘)、云盘版实例硬盘类型所支持的地域略有不同,具体支持情况请参考 <a href="https://cloud.tencent.com/document/product/236/8458">地域和可用区</a>。</p>
|
|
8669
8669
|
:type DiskType: str
|
|
8670
|
+
:param _CdcId: <p>CDC集群ID,非CDC场景无需指定该入参</p>
|
|
8671
|
+
:type CdcId: str
|
|
8670
8672
|
:param _ClusterType: <p>集群类型:cage——金融围拢,cdc——CDB ON CDC;dedicate——独享集群</p>
|
|
8671
8673
|
:type ClusterType: str
|
|
8672
8674
|
:param _DiskEncryption: <p>是否对磁盘进行加密。仅云盘版实例支持该功能。 指定为 "on" 表示开启加密, 否则不加密。 购买只读实例、灾备实例、新克隆实例时该参数自动和主实例保持一致。</p>
|
|
@@ -8716,6 +8718,7 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
|
8716
8718
|
self._DataProtectVolume = None
|
|
8717
8719
|
self._ClusterTopology = None
|
|
8718
8720
|
self._DiskType = None
|
|
8721
|
+
self._CdcId = None
|
|
8719
8722
|
self._ClusterType = None
|
|
8720
8723
|
self._DiskEncryption = None
|
|
8721
8724
|
self._DestroyProtect = None
|
|
@@ -9161,6 +9164,17 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
|
9161
9164
|
def DiskType(self, DiskType):
|
|
9162
9165
|
self._DiskType = DiskType
|
|
9163
9166
|
|
|
9167
|
+
@property
|
|
9168
|
+
def CdcId(self):
|
|
9169
|
+
r"""<p>CDC集群ID,非CDC场景无需指定该入参</p>
|
|
9170
|
+
:rtype: str
|
|
9171
|
+
"""
|
|
9172
|
+
return self._CdcId
|
|
9173
|
+
|
|
9174
|
+
@CdcId.setter
|
|
9175
|
+
def CdcId(self, CdcId):
|
|
9176
|
+
self._CdcId = CdcId
|
|
9177
|
+
|
|
9164
9178
|
@property
|
|
9165
9179
|
def ClusterType(self):
|
|
9166
9180
|
r"""<p>集群类型:cage——金融围拢,cdc——CDB ON CDC;dedicate——独享集群</p>
|
|
@@ -9261,6 +9275,7 @@ class CreateDBInstanceHourRequest(AbstractModel):
|
|
|
9261
9275
|
self._ClusterTopology = ClusterTopology()
|
|
9262
9276
|
self._ClusterTopology._deserialize(params.get("ClusterTopology"))
|
|
9263
9277
|
self._DiskType = params.get("DiskType")
|
|
9278
|
+
self._CdcId = params.get("CdcId")
|
|
9264
9279
|
self._ClusterType = params.get("ClusterType")
|
|
9265
9280
|
self._DiskEncryption = params.get("DiskEncryption")
|
|
9266
9281
|
self._DestroyProtect = params.get("DestroyProtect")
|