tencentcloud-sdk-python 3.0.1392__py2.py3-none-any.whl → 3.0.1394__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/cdb/v20170320/models.py +4 -0
- tencentcloud/cdc/v20201214/models.py +20 -0
- tencentcloud/cfs/v20190719/cfs_client.py +2 -6
- tencentcloud/cfs/v20190719/models.py +12 -14
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/models.py +186 -0
- tencentcloud/cme/v20191029/cme_client.py +0 -1
- tencentcloud/cme/v20191029/models.py +16 -0
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/models.py +85 -0
- tencentcloud/domain/v20180808/models.py +2 -2
- tencentcloud/emr/v20190103/errorcodes.py +9 -0
- tencentcloud/emr/v20190103/models.py +45 -0
- tencentcloud/es/v20250101/es_client.py +0 -23
- tencentcloud/es/v20250101/models.py +1 -352
- tencentcloud/ess/v20201111/models.py +20 -10
- tencentcloud/essbasic/v20210526/models.py +4 -4
- tencentcloud/gs/v20191118/gs_client.py +122 -7
- tencentcloud/gs/v20191118/models.py +748 -6
- tencentcloud/hai/v20230812/models.py +8 -14
- tencentcloud/lke/v20231130/errorcodes.py +0 -6
- tencentcloud/lke/v20231130/lke_client.py +0 -26
- tencentcloud/lke/v20231130/models.py +0 -229
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -5
- tencentcloud/lowcode/v20210108/models.py +90 -0
- tencentcloud/monitor/v20180724/models.py +364 -2
- tencentcloud/monitor/v20180724/monitor_client.py +69 -0
- tencentcloud/mrs/v20200910/models.py +8 -0
- tencentcloud/mrs/v20200910/mrs_client.py +2 -0
- tencentcloud/oceanus/v20190422/models.py +17 -0
- tencentcloud/oceanus/v20190422/oceanus_client.py +1 -1
- tencentcloud/postgres/v20170312/models.py +0 -405
- tencentcloud/postgres/v20170312/postgres_client.py +0 -25
- tencentcloud/privatedns/v20201028/models.py +297 -0
- tencentcloud/privatedns/v20201028/privatedns_client.py +23 -0
- tencentcloud/pts/v20210728/models.py +30 -0
- tencentcloud/redis/v20180412/models.py +8 -8
- tencentcloud/tcss/v20201101/models.py +240 -0
- tencentcloud/tms/v20201229/models.py +4 -4
- tencentcloud/vm/v20210922/models.py +4 -16
- tencentcloud/vpc/v20170312/models.py +12 -6
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1394.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1394.dist-info}/RECORD +47 -47
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1394.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1394.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1392.dist-info → tencentcloud_sdk_python-3.0.1394.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -23605,8 +23605,10 @@ class HistoryJob(AbstractModel):
|
|
23605
23605
|
:param _ExpandType: 扩容类型
|
23606
23606
|
:type ExpandType: str
|
23607
23607
|
:param _StartTime: 扩容开始时间
|
23608
|
+
说明:此项显示的格式是 int 类型的 unix 时间戳
|
23608
23609
|
:type StartTime: int
|
23609
23610
|
:param _EndTime: 扩容结束时间
|
23611
|
+
说明:此项显示的格式是 int 类型的 unix 时间戳
|
23610
23612
|
:type EndTime: int
|
23611
23613
|
:param _OldCpu: 扩容前核数
|
23612
23614
|
:type OldCpu: int
|
@@ -23651,6 +23653,7 @@ class HistoryJob(AbstractModel):
|
|
23651
23653
|
@property
|
23652
23654
|
def StartTime(self):
|
23653
23655
|
"""扩容开始时间
|
23656
|
+
说明:此项显示的格式是 int 类型的 unix 时间戳
|
23654
23657
|
:rtype: int
|
23655
23658
|
"""
|
23656
23659
|
return self._StartTime
|
@@ -23662,6 +23665,7 @@ class HistoryJob(AbstractModel):
|
|
23662
23665
|
@property
|
23663
23666
|
def EndTime(self):
|
23664
23667
|
"""扩容结束时间
|
23668
|
+
说明:此项显示的格式是 int 类型的 unix 时间戳
|
23665
23669
|
:rtype: int
|
23666
23670
|
"""
|
23667
23671
|
return self._EndTime
|
@@ -1489,6 +1489,8 @@ class DedicatedClusterOrder(AbstractModel):
|
|
1489
1489
|
|
1490
1490
|
@property
|
1491
1491
|
def DedicatedClusterTypeId(self):
|
1492
|
+
warnings.warn("parameter `DedicatedClusterTypeId` is deprecated", DeprecationWarning)
|
1493
|
+
|
1492
1494
|
"""专用集群类型id(移到下一层级,已经废弃,后续将删除)
|
1493
1495
|
:rtype: str
|
1494
1496
|
"""
|
@@ -1496,10 +1498,14 @@ class DedicatedClusterOrder(AbstractModel):
|
|
1496
1498
|
|
1497
1499
|
@DedicatedClusterTypeId.setter
|
1498
1500
|
def DedicatedClusterTypeId(self, DedicatedClusterTypeId):
|
1501
|
+
warnings.warn("parameter `DedicatedClusterTypeId` is deprecated", DeprecationWarning)
|
1502
|
+
|
1499
1503
|
self._DedicatedClusterTypeId = DedicatedClusterTypeId
|
1500
1504
|
|
1501
1505
|
@property
|
1502
1506
|
def SupportedStorageType(self):
|
1507
|
+
warnings.warn("parameter `SupportedStorageType` is deprecated", DeprecationWarning)
|
1508
|
+
|
1503
1509
|
"""支持的存储类型列表(移到下一层级,已经废弃,后续将删除)
|
1504
1510
|
:rtype: list of str
|
1505
1511
|
"""
|
@@ -1507,10 +1513,14 @@ class DedicatedClusterOrder(AbstractModel):
|
|
1507
1513
|
|
1508
1514
|
@SupportedStorageType.setter
|
1509
1515
|
def SupportedStorageType(self, SupportedStorageType):
|
1516
|
+
warnings.warn("parameter `SupportedStorageType` is deprecated", DeprecationWarning)
|
1517
|
+
|
1510
1518
|
self._SupportedStorageType = SupportedStorageType
|
1511
1519
|
|
1512
1520
|
@property
|
1513
1521
|
def SupportedUplinkSpeed(self):
|
1522
|
+
warnings.warn("parameter `SupportedUplinkSpeed` is deprecated", DeprecationWarning)
|
1523
|
+
|
1514
1524
|
"""支持的上连交换机的链路传输速率(GiB)(移到下一层级,已经废弃,后续将删除)
|
1515
1525
|
:rtype: list of int
|
1516
1526
|
"""
|
@@ -1518,10 +1528,14 @@ class DedicatedClusterOrder(AbstractModel):
|
|
1518
1528
|
|
1519
1529
|
@SupportedUplinkSpeed.setter
|
1520
1530
|
def SupportedUplinkSpeed(self, SupportedUplinkSpeed):
|
1531
|
+
warnings.warn("parameter `SupportedUplinkSpeed` is deprecated", DeprecationWarning)
|
1532
|
+
|
1521
1533
|
self._SupportedUplinkSpeed = SupportedUplinkSpeed
|
1522
1534
|
|
1523
1535
|
@property
|
1524
1536
|
def SupportedInstanceFamily(self):
|
1537
|
+
warnings.warn("parameter `SupportedInstanceFamily` is deprecated", DeprecationWarning)
|
1538
|
+
|
1525
1539
|
"""支持的实例族列表(移到下一层级,已经废弃,后续将删除)
|
1526
1540
|
:rtype: list of str
|
1527
1541
|
"""
|
@@ -1529,6 +1543,8 @@ class DedicatedClusterOrder(AbstractModel):
|
|
1529
1543
|
|
1530
1544
|
@SupportedInstanceFamily.setter
|
1531
1545
|
def SupportedInstanceFamily(self, SupportedInstanceFamily):
|
1546
|
+
warnings.warn("parameter `SupportedInstanceFamily` is deprecated", DeprecationWarning)
|
1547
|
+
|
1532
1548
|
self._SupportedInstanceFamily = SupportedInstanceFamily
|
1533
1549
|
|
1534
1550
|
@property
|
@@ -4499,6 +4515,8 @@ class HostInfo(AbstractModel):
|
|
4499
4515
|
|
4500
4516
|
@property
|
4501
4517
|
def HostIp(self):
|
4518
|
+
warnings.warn("parameter `HostIp` is deprecated", DeprecationWarning)
|
4519
|
+
|
4502
4520
|
"""宿主机IP(废弃)
|
4503
4521
|
:rtype: str
|
4504
4522
|
"""
|
@@ -4506,6 +4524,8 @@ class HostInfo(AbstractModel):
|
|
4506
4524
|
|
4507
4525
|
@HostIp.setter
|
4508
4526
|
def HostIp(self, HostIp):
|
4527
|
+
warnings.warn("parameter `HostIp` is deprecated", DeprecationWarning)
|
4528
|
+
|
4509
4529
|
self._HostIp = HostIp
|
4510
4530
|
|
4511
4531
|
@property
|
@@ -189,7 +189,6 @@ class CfsClient(AbstractClient):
|
|
189
189
|
|
190
190
|
def CreateMigrationTask(self, request):
|
191
191
|
"""用于创建迁移任务。
|
192
|
-
此接口需提交工单,开启白名单之后才能使用。
|
193
192
|
|
194
193
|
:param request: Request instance for CreateMigrationTask.
|
195
194
|
:type request: :class:`tencentcloud.cfs.v20190719.models.CreateMigrationTaskRequest`
|
@@ -327,8 +326,7 @@ class CfsClient(AbstractClient):
|
|
327
326
|
|
328
327
|
|
329
328
|
def DeleteMigrationTask(self, request):
|
330
|
-
"""
|
331
|
-
此接口需提交工单,开启白名单之后才能使用。
|
329
|
+
"""用于删除迁移任务。不支持删除等待中、创建中、运行中、取消中、终止中状态的任务。
|
332
330
|
|
333
331
|
:param request: Request instance for DeleteMigrationTask.
|
334
332
|
:type request: :class:`tencentcloud.cfs.v20190719.models.DeleteMigrationTaskRequest`
|
@@ -445,7 +443,6 @@ class CfsClient(AbstractClient):
|
|
445
443
|
|
446
444
|
def DescribeBucketList(self, request):
|
447
445
|
"""用于获取数据源桶列表。
|
448
|
-
此接口需提交工单,开启白名单之后才能使用。
|
449
446
|
|
450
447
|
:param request: Request instance for DescribeBucketList.
|
451
448
|
:type request: :class:`tencentcloud.cfs.v20190719.models.DescribeBucketListRequest`
|
@@ -814,8 +811,7 @@ class CfsClient(AbstractClient):
|
|
814
811
|
|
815
812
|
|
816
813
|
def StopMigrationTask(self, request):
|
817
|
-
"""
|
818
|
-
此接口需提交工单,开启白名单之后才能使用。
|
814
|
+
"""用于终止迁移任务,可以终止等待中、运行中状态的任务。
|
819
815
|
|
820
816
|
:param request: Request instance for StopMigrationTask.
|
821
817
|
:type request: :class:`tencentcloud.cfs.v20190719.models.StopMigrationTaskRequest`
|
@@ -685,9 +685,9 @@ class BindAutoSnapshotPolicyRequest(AbstractModel):
|
|
685
685
|
|
686
686
|
def __init__(self):
|
687
687
|
r"""
|
688
|
-
:param _AutoSnapshotPolicyId:
|
688
|
+
:param _AutoSnapshotPolicyId: 需要解绑的文件系统ID列表,用"," 分割,文件系统ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
|
689
689
|
:type AutoSnapshotPolicyId: str
|
690
|
-
:param _FileSystemIds:
|
690
|
+
:param _FileSystemIds: 解绑的快照策略ID,可以通过[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/582/80208) 查询获取
|
691
691
|
:type FileSystemIds: str
|
692
692
|
"""
|
693
693
|
self._AutoSnapshotPolicyId = None
|
@@ -695,7 +695,7 @@ class BindAutoSnapshotPolicyRequest(AbstractModel):
|
|
695
695
|
|
696
696
|
@property
|
697
697
|
def AutoSnapshotPolicyId(self):
|
698
|
-
"""
|
698
|
+
"""需要解绑的文件系统ID列表,用"," 分割,文件系统ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
|
699
699
|
:rtype: str
|
700
700
|
"""
|
701
701
|
return self._AutoSnapshotPolicyId
|
@@ -706,7 +706,7 @@ class BindAutoSnapshotPolicyRequest(AbstractModel):
|
|
706
706
|
|
707
707
|
@property
|
708
708
|
def FileSystemIds(self):
|
709
|
-
"""
|
709
|
+
"""解绑的快照策略ID,可以通过[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/582/80208) 查询获取
|
710
710
|
:rtype: str
|
711
711
|
"""
|
712
712
|
return self._FileSystemIds
|
@@ -3251,7 +3251,6 @@ class DescribeBucketListRequest(AbstractModel):
|
|
3251
3251
|
:param _SrcService: 数据源服务商。COS: 腾讯云COS,OSS: 阿里云OSS,OBS:华为云OBS
|
3252
3252
|
:type SrcService: str
|
3253
3253
|
:param _SrcSecretId: 数据源账号的SecretId
|
3254
|
-
|
3255
3254
|
:type SrcSecretId: str
|
3256
3255
|
:param _SrcSecretKey: 数据源账号的SecretKey
|
3257
3256
|
:type SrcSecretKey: str
|
@@ -3274,7 +3273,6 @@ class DescribeBucketListRequest(AbstractModel):
|
|
3274
3273
|
@property
|
3275
3274
|
def SrcSecretId(self):
|
3276
3275
|
"""数据源账号的SecretId
|
3277
|
-
|
3278
3276
|
:rtype: str
|
3279
3277
|
"""
|
3280
3278
|
return self._SrcSecretId
|
@@ -3937,7 +3935,7 @@ class DescribeCfsSnapshotsRequest(AbstractModel):
|
|
3937
3935
|
<br>FileSystemId - Array of String - 是否必填:否 -(过滤条件)按文件系统ID过滤。
|
3938
3936
|
<br>FsName - Array of String - 是否必填:否 -(过滤条件)按文件系统名过滤。
|
3939
3937
|
<br>Status - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤
|
3940
|
-
(creating:表示创建中 | available
|
3938
|
+
(creating:表示创建中 | available:表示可用。rollbacking_new:表示由快照创建新文件系统中| create-failed 创建失败)
|
3941
3939
|
<br>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
|
3942
3940
|
<br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
|
3943
3941
|
:type Filters: list of Filter
|
@@ -4006,7 +4004,7 @@ class DescribeCfsSnapshotsRequest(AbstractModel):
|
|
4006
4004
|
<br>FileSystemId - Array of String - 是否必填:否 -(过滤条件)按文件系统ID过滤。
|
4007
4005
|
<br>FsName - Array of String - 是否必填:否 -(过滤条件)按文件系统名过滤。
|
4008
4006
|
<br>Status - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤
|
4009
|
-
(creating:表示创建中 | available
|
4007
|
+
(creating:表示创建中 | available:表示可用。rollbacking_new:表示由快照创建新文件系统中| create-failed 创建失败)
|
4010
4008
|
<br>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
|
4011
4009
|
<br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
|
4012
4010
|
:rtype: list of Filter
|
@@ -5419,7 +5417,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
5419
5417
|
:type CreateTime: int
|
5420
5418
|
:param _EndTime: 完成/终止时间
|
5421
5419
|
:type EndTime: int
|
5422
|
-
:param _Status: 迁移状态。0: 已完成;1:
|
5420
|
+
:param _Status: 迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中
|
5423
5421
|
:type Status: int
|
5424
5422
|
:param _FileTotalCount: 文件数量
|
5425
5423
|
:type FileTotalCount: int
|
@@ -5627,7 +5625,7 @@ class MigrationTaskInfo(AbstractModel):
|
|
5627
5625
|
|
5628
5626
|
@property
|
5629
5627
|
def Status(self):
|
5630
|
-
"""迁移状态。0: 已完成;1:
|
5628
|
+
"""迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中
|
5631
5629
|
:rtype: int
|
5632
5630
|
"""
|
5633
5631
|
return self._Status
|
@@ -7172,14 +7170,14 @@ class StopMigrationTaskRequest(AbstractModel):
|
|
7172
7170
|
|
7173
7171
|
def __init__(self):
|
7174
7172
|
r"""
|
7175
|
-
:param _TaskId:
|
7173
|
+
:param _TaskId: 迁移任务Id
|
7176
7174
|
:type TaskId: str
|
7177
7175
|
"""
|
7178
7176
|
self._TaskId = None
|
7179
7177
|
|
7180
7178
|
@property
|
7181
7179
|
def TaskId(self):
|
7182
|
-
"""
|
7180
|
+
"""迁移任务Id
|
7183
7181
|
:rtype: str
|
7184
7182
|
"""
|
7185
7183
|
return self._TaskId
|
@@ -7210,7 +7208,7 @@ class StopMigrationTaskResponse(AbstractModel):
|
|
7210
7208
|
r"""
|
7211
7209
|
:param _TaskId: 迁移任务Id
|
7212
7210
|
:type TaskId: str
|
7213
|
-
:param _Status: 迁移状态。0: 已完成;1:
|
7211
|
+
:param _Status: 迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中
|
7214
7212
|
:type Status: int
|
7215
7213
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7216
7214
|
:type RequestId: str
|
@@ -7232,7 +7230,7 @@ class StopMigrationTaskResponse(AbstractModel):
|
|
7232
7230
|
|
7233
7231
|
@property
|
7234
7232
|
def Status(self):
|
7235
|
-
"""迁移状态。0: 已完成;1:
|
7233
|
+
"""迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中
|
7236
7234
|
:rtype: int
|
7237
7235
|
"""
|
7238
7236
|
return self._Status
|
@@ -1042,6 +1042,29 @@ class ClbClient(AbstractClient):
|
|
1042
1042
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1043
1043
|
|
1044
1044
|
|
1045
|
+
def DescribeLBOperateProtect(self, request):
|
1046
|
+
"""查询负载均衡的操作保护信息。
|
1047
|
+
|
1048
|
+
:param request: Request instance for DescribeLBOperateProtect.
|
1049
|
+
:type request: :class:`tencentcloud.clb.v20180317.models.DescribeLBOperateProtectRequest`
|
1050
|
+
:rtype: :class:`tencentcloud.clb.v20180317.models.DescribeLBOperateProtectResponse`
|
1051
|
+
|
1052
|
+
"""
|
1053
|
+
try:
|
1054
|
+
params = request._serialize()
|
1055
|
+
headers = request.headers
|
1056
|
+
body = self.call("DescribeLBOperateProtect", params, headers=headers)
|
1057
|
+
response = json.loads(body)
|
1058
|
+
model = models.DescribeLBOperateProtectResponse()
|
1059
|
+
model._deserialize(response["Response"])
|
1060
|
+
return model
|
1061
|
+
except Exception as e:
|
1062
|
+
if isinstance(e, TencentCloudSDKException):
|
1063
|
+
raise
|
1064
|
+
else:
|
1065
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1066
|
+
|
1067
|
+
|
1045
1068
|
def DescribeListeners(self, request):
|
1046
1069
|
"""DescribeListeners 接口可根据负载均衡器 ID、监听器的协议或端口作为过滤条件获取监听器列表。如果不指定任何过滤条件,则返回该负载均衡实例下的所有监听器。
|
1047
1070
|
|
@@ -8549,6 +8549,90 @@ class DescribeLBListenersResponse(AbstractModel):
|
|
8549
8549
|
self._RequestId = params.get("RequestId")
|
8550
8550
|
|
8551
8551
|
|
8552
|
+
class DescribeLBOperateProtectRequest(AbstractModel):
|
8553
|
+
"""DescribeLBOperateProtect请求参数结构体
|
8554
|
+
|
8555
|
+
"""
|
8556
|
+
|
8557
|
+
def __init__(self):
|
8558
|
+
r"""
|
8559
|
+
:param _LoadBalancerIds: 负载均衡实例ID。
|
8560
|
+
:type LoadBalancerIds: list of str
|
8561
|
+
"""
|
8562
|
+
self._LoadBalancerIds = None
|
8563
|
+
|
8564
|
+
@property
|
8565
|
+
def LoadBalancerIds(self):
|
8566
|
+
"""负载均衡实例ID。
|
8567
|
+
:rtype: list of str
|
8568
|
+
"""
|
8569
|
+
return self._LoadBalancerIds
|
8570
|
+
|
8571
|
+
@LoadBalancerIds.setter
|
8572
|
+
def LoadBalancerIds(self, LoadBalancerIds):
|
8573
|
+
self._LoadBalancerIds = LoadBalancerIds
|
8574
|
+
|
8575
|
+
|
8576
|
+
def _deserialize(self, params):
|
8577
|
+
self._LoadBalancerIds = params.get("LoadBalancerIds")
|
8578
|
+
memeber_set = set(params.keys())
|
8579
|
+
for name, value in vars(self).items():
|
8580
|
+
property_name = name[1:]
|
8581
|
+
if property_name in memeber_set:
|
8582
|
+
memeber_set.remove(property_name)
|
8583
|
+
if len(memeber_set) > 0:
|
8584
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
8585
|
+
|
8586
|
+
|
8587
|
+
|
8588
|
+
class DescribeLBOperateProtectResponse(AbstractModel):
|
8589
|
+
"""DescribeLBOperateProtect返回参数结构体
|
8590
|
+
|
8591
|
+
"""
|
8592
|
+
|
8593
|
+
def __init__(self):
|
8594
|
+
r"""
|
8595
|
+
:param _LoadBalancerSet: 返回的负载均衡操作保护信息数组。
|
8596
|
+
:type LoadBalancerSet: list of LBOperateProtectInfo
|
8597
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8598
|
+
:type RequestId: str
|
8599
|
+
"""
|
8600
|
+
self._LoadBalancerSet = None
|
8601
|
+
self._RequestId = None
|
8602
|
+
|
8603
|
+
@property
|
8604
|
+
def LoadBalancerSet(self):
|
8605
|
+
"""返回的负载均衡操作保护信息数组。
|
8606
|
+
:rtype: list of LBOperateProtectInfo
|
8607
|
+
"""
|
8608
|
+
return self._LoadBalancerSet
|
8609
|
+
|
8610
|
+
@LoadBalancerSet.setter
|
8611
|
+
def LoadBalancerSet(self, LoadBalancerSet):
|
8612
|
+
self._LoadBalancerSet = LoadBalancerSet
|
8613
|
+
|
8614
|
+
@property
|
8615
|
+
def RequestId(self):
|
8616
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
8617
|
+
:rtype: str
|
8618
|
+
"""
|
8619
|
+
return self._RequestId
|
8620
|
+
|
8621
|
+
@RequestId.setter
|
8622
|
+
def RequestId(self, RequestId):
|
8623
|
+
self._RequestId = RequestId
|
8624
|
+
|
8625
|
+
|
8626
|
+
def _deserialize(self, params):
|
8627
|
+
if params.get("LoadBalancerSet") is not None:
|
8628
|
+
self._LoadBalancerSet = []
|
8629
|
+
for item in params.get("LoadBalancerSet"):
|
8630
|
+
obj = LBOperateProtectInfo()
|
8631
|
+
obj._deserialize(item)
|
8632
|
+
self._LoadBalancerSet.append(obj)
|
8633
|
+
self._RequestId = params.get("RequestId")
|
8634
|
+
|
8635
|
+
|
8552
8636
|
class DescribeListenersRequest(AbstractModel):
|
8553
8637
|
"""DescribeListeners请求参数结构体
|
8554
8638
|
|
@@ -12653,6 +12737,108 @@ class LBItem(AbstractModel):
|
|
12653
12737
|
|
12654
12738
|
|
12655
12739
|
|
12740
|
+
class LBOperateProtectInfo(AbstractModel):
|
12741
|
+
"""负载均衡的操作保护信息
|
12742
|
+
|
12743
|
+
"""
|
12744
|
+
|
12745
|
+
def __init__(self):
|
12746
|
+
r"""
|
12747
|
+
:param _LoadBalancerId: 负载均衡实例 ID。
|
12748
|
+
:type LoadBalancerId: str
|
12749
|
+
:param _ProtectState: 保护状态,true:表示开启了操作保护,false:表示未开启操作保护。
|
12750
|
+
:type ProtectState: bool
|
12751
|
+
:param _OperatorUin: 操作保护的设置uin。
|
12752
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12753
|
+
:type OperatorUin: str
|
12754
|
+
:param _Description: 设置操作保护时的描述信息。
|
12755
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12756
|
+
:type Description: str
|
12757
|
+
:param _ModifyTime: 最后修改时间。
|
12758
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12759
|
+
:type ModifyTime: str
|
12760
|
+
"""
|
12761
|
+
self._LoadBalancerId = None
|
12762
|
+
self._ProtectState = None
|
12763
|
+
self._OperatorUin = None
|
12764
|
+
self._Description = None
|
12765
|
+
self._ModifyTime = None
|
12766
|
+
|
12767
|
+
@property
|
12768
|
+
def LoadBalancerId(self):
|
12769
|
+
"""负载均衡实例 ID。
|
12770
|
+
:rtype: str
|
12771
|
+
"""
|
12772
|
+
return self._LoadBalancerId
|
12773
|
+
|
12774
|
+
@LoadBalancerId.setter
|
12775
|
+
def LoadBalancerId(self, LoadBalancerId):
|
12776
|
+
self._LoadBalancerId = LoadBalancerId
|
12777
|
+
|
12778
|
+
@property
|
12779
|
+
def ProtectState(self):
|
12780
|
+
"""保护状态,true:表示开启了操作保护,false:表示未开启操作保护。
|
12781
|
+
:rtype: bool
|
12782
|
+
"""
|
12783
|
+
return self._ProtectState
|
12784
|
+
|
12785
|
+
@ProtectState.setter
|
12786
|
+
def ProtectState(self, ProtectState):
|
12787
|
+
self._ProtectState = ProtectState
|
12788
|
+
|
12789
|
+
@property
|
12790
|
+
def OperatorUin(self):
|
12791
|
+
"""操作保护的设置uin。
|
12792
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12793
|
+
:rtype: str
|
12794
|
+
"""
|
12795
|
+
return self._OperatorUin
|
12796
|
+
|
12797
|
+
@OperatorUin.setter
|
12798
|
+
def OperatorUin(self, OperatorUin):
|
12799
|
+
self._OperatorUin = OperatorUin
|
12800
|
+
|
12801
|
+
@property
|
12802
|
+
def Description(self):
|
12803
|
+
"""设置操作保护时的描述信息。
|
12804
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12805
|
+
:rtype: str
|
12806
|
+
"""
|
12807
|
+
return self._Description
|
12808
|
+
|
12809
|
+
@Description.setter
|
12810
|
+
def Description(self, Description):
|
12811
|
+
self._Description = Description
|
12812
|
+
|
12813
|
+
@property
|
12814
|
+
def ModifyTime(self):
|
12815
|
+
"""最后修改时间。
|
12816
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12817
|
+
:rtype: str
|
12818
|
+
"""
|
12819
|
+
return self._ModifyTime
|
12820
|
+
|
12821
|
+
@ModifyTime.setter
|
12822
|
+
def ModifyTime(self, ModifyTime):
|
12823
|
+
self._ModifyTime = ModifyTime
|
12824
|
+
|
12825
|
+
|
12826
|
+
def _deserialize(self, params):
|
12827
|
+
self._LoadBalancerId = params.get("LoadBalancerId")
|
12828
|
+
self._ProtectState = params.get("ProtectState")
|
12829
|
+
self._OperatorUin = params.get("OperatorUin")
|
12830
|
+
self._Description = params.get("Description")
|
12831
|
+
self._ModifyTime = params.get("ModifyTime")
|
12832
|
+
memeber_set = set(params.keys())
|
12833
|
+
for name, value in vars(self).items():
|
12834
|
+
property_name = name[1:]
|
12835
|
+
if property_name in memeber_set:
|
12836
|
+
memeber_set.remove(property_name)
|
12837
|
+
if len(memeber_set) > 0:
|
12838
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12839
|
+
|
12840
|
+
|
12841
|
+
|
12656
12842
|
class LbRsItem(AbstractModel):
|
12657
12843
|
"""查询类型
|
12658
12844
|
|
@@ -125,7 +125,6 @@ class CmeClient(AbstractClient):
|
|
125
125
|
<li>导播台项目:用于云导播台;</li>
|
126
126
|
<li>视频拆条:用于视频拆条;</li>
|
127
127
|
<li>录制回放项目:用于直播录制回放;</li>
|
128
|
-
<li>云转推项目:用于直播云转推<font color=red>(废弃,可使用媒体转推项目替代)</font>;</li>
|
129
128
|
<li>媒体转推项目:用于媒体文件转直播输出。</li>
|
130
129
|
|
131
130
|
:param request: Request instance for CreateProject.
|
@@ -1721,6 +1721,8 @@ class CreateProjectRequest(AbstractModel):
|
|
1721
1721
|
|
1722
1722
|
@property
|
1723
1723
|
def AspectRatio(self):
|
1724
|
+
warnings.warn("parameter `AspectRatio` is deprecated", DeprecationWarning)
|
1725
|
+
|
1724
1726
|
"""画布宽高比。
|
1725
1727
|
该字段已经废弃,请使用具体项目输入中的 AspectRatio 字段。
|
1726
1728
|
:rtype: str
|
@@ -1729,6 +1731,8 @@ class CreateProjectRequest(AbstractModel):
|
|
1729
1731
|
|
1730
1732
|
@AspectRatio.setter
|
1731
1733
|
def AspectRatio(self, AspectRatio):
|
1734
|
+
warnings.warn("parameter `AspectRatio` is deprecated", DeprecationWarning)
|
1735
|
+
|
1732
1736
|
self._AspectRatio = AspectRatio
|
1733
1737
|
|
1734
1738
|
@property
|
@@ -6453,6 +6457,8 @@ class ExternalMediaInfo(AbstractModel):
|
|
6453
6457
|
|
6454
6458
|
@property
|
6455
6459
|
def Definition(self):
|
6460
|
+
warnings.warn("parameter `Definition` is deprecated", DeprecationWarning)
|
6461
|
+
|
6456
6462
|
"""该字段废弃,请勿使用。
|
6457
6463
|
:rtype: int
|
6458
6464
|
"""
|
@@ -6460,6 +6466,8 @@ class ExternalMediaInfo(AbstractModel):
|
|
6460
6466
|
|
6461
6467
|
@Definition.setter
|
6462
6468
|
def Definition(self, Definition):
|
6469
|
+
warnings.warn("parameter `Definition` is deprecated", DeprecationWarning)
|
6470
|
+
|
6463
6471
|
self._Definition = Definition
|
6464
6472
|
|
6465
6473
|
@property
|
@@ -8957,6 +8965,8 @@ class MaterialBasicInfo(AbstractModel):
|
|
8957
8965
|
|
8958
8966
|
@property
|
8959
8967
|
def TagInfoSet(self):
|
8968
|
+
warnings.warn("parameter `TagInfoSet` is deprecated", DeprecationWarning)
|
8969
|
+
|
8960
8970
|
"""媒体绑定的标签信息列表 。
|
8961
8971
|
该字段已废弃。
|
8962
8972
|
注意:此字段可能返回 null,表示取不到有效值。
|
@@ -8966,6 +8976,8 @@ class MaterialBasicInfo(AbstractModel):
|
|
8966
8976
|
|
8967
8977
|
@TagInfoSet.setter
|
8968
8978
|
def TagInfoSet(self, TagInfoSet):
|
8979
|
+
warnings.warn("parameter `TagInfoSet` is deprecated", DeprecationWarning)
|
8980
|
+
|
8969
8981
|
self._TagInfoSet = TagInfoSet
|
8970
8982
|
|
8971
8983
|
|
@@ -14062,6 +14074,8 @@ class StorageNewFileCreatedEvent(AbstractModel):
|
|
14062
14074
|
|
14063
14075
|
@property
|
14064
14076
|
def Operator(self):
|
14077
|
+
warnings.warn("parameter `Operator` is deprecated", DeprecationWarning)
|
14078
|
+
|
14065
14079
|
"""操作者 Id。(废弃,请勿使用)
|
14066
14080
|
:rtype: str
|
14067
14081
|
"""
|
@@ -14069,6 +14083,8 @@ class StorageNewFileCreatedEvent(AbstractModel):
|
|
14069
14083
|
|
14070
14084
|
@Operator.setter
|
14071
14085
|
def Operator(self, Operator):
|
14086
|
+
warnings.warn("parameter `Operator` is deprecated", DeprecationWarning)
|
14087
|
+
|
14072
14088
|
self._Operator = Operator
|
14073
14089
|
|
14074
14090
|
@property
|
@@ -2096,6 +2096,29 @@ class DlcClient(AbstractClient):
|
|
2096
2096
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2097
2097
|
|
2098
2098
|
|
2099
|
+
def DescribeTablePartitions(self, request):
|
2100
|
+
"""本接口(DescribeTablePartitions)用于查询数据表分区信息
|
2101
|
+
|
2102
|
+
:param request: Request instance for DescribeTablePartitions.
|
2103
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeTablePartitionsRequest`
|
2104
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeTablePartitionsResponse`
|
2105
|
+
|
2106
|
+
"""
|
2107
|
+
try:
|
2108
|
+
params = request._serialize()
|
2109
|
+
headers = request.headers
|
2110
|
+
body = self.call("DescribeTablePartitions", params, headers=headers)
|
2111
|
+
response = json.loads(body)
|
2112
|
+
model = models.DescribeTablePartitionsResponse()
|
2113
|
+
model._deserialize(response["Response"])
|
2114
|
+
return model
|
2115
|
+
except Exception as e:
|
2116
|
+
if isinstance(e, TencentCloudSDKException):
|
2117
|
+
raise
|
2118
|
+
else:
|
2119
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2120
|
+
|
2121
|
+
|
2099
2122
|
def DescribeTables(self, request):
|
2100
2123
|
"""本接口(DescribeTables)用于查询数据表列表。
|
2101
2124
|
|