tencentcloud-sdk-python 3.0.1393__py2.py3-none-any.whl → 3.0.1395__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/bh/v20230418/models.py +15 -0
- tencentcloud/cdb/v20170320/models.py +34 -0
- tencentcloud/cdc/v20201214/models.py +20 -0
- tencentcloud/cfs/v20190719/models.py +8 -8
- tencentcloud/chc/v20230418/chc_client.py +23 -0
- tencentcloud/chc/v20230418/errorcodes.py +9 -0
- tencentcloud/chc/v20230418/models.py +109 -0
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/models.py +186 -0
- tencentcloud/cvm/v20170312/models.py +8 -0
- tencentcloud/cwp/v20180228/models.py +137 -2
- tencentcloud/dts/v20211206/models.py +6 -6
- tencentcloud/emr/v20190103/models.py +30 -0
- tencentcloud/ess/v20201111/models.py +2 -2
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/gs/v20191118/gs_client.py +150 -12
- tencentcloud/gs/v20191118/models.py +906 -32
- tencentcloud/lowcode/v20210108/models.py +90 -0
- tencentcloud/mariadb/v20170312/models.py +30 -10
- tencentcloud/monitor/v20180724/models.py +268 -0
- tencentcloud/monitor/v20180724/monitor_client.py +46 -0
- tencentcloud/mrs/v20200910/models.py +2 -2
- tencentcloud/oceanus/v20190422/models.py +17 -0
- tencentcloud/oceanus/v20190422/oceanus_client.py +1 -1
- tencentcloud/privatedns/v20201028/models.py +297 -0
- tencentcloud/privatedns/v20201028/privatedns_client.py +23 -0
- tencentcloud/tcss/v20201101/models.py +334 -4
- tencentcloud/tms/v20201229/models.py +4 -4
- tencentcloud/trtc/v20190722/models.py +12 -4
- tencentcloud/vclm/v20240523/models.py +350 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vm/v20210922/models.py +4 -16
- tencentcloud/vod/v20180717/models.py +40 -0
- tencentcloud/vpc/v20170312/models.py +31 -8
- {tencentcloud_sdk_python-3.0.1393.dist-info → tencentcloud_sdk_python-3.0.1395.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1393.dist-info → tencentcloud_sdk_python-3.0.1395.dist-info}/RECORD +40 -40
- {tencentcloud_sdk_python-3.0.1393.dist-info → tencentcloud_sdk_python-3.0.1395.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1393.dist-info → tencentcloud_sdk_python-3.0.1395.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1393.dist-info → tencentcloud_sdk_python-3.0.1395.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -16317,6 +16317,8 @@ class SearchSessionRequest(AbstractModel):
|
|
16317
16317
|
:type AppAssetKindSet: list of int non-negative
|
16318
16318
|
:param _AppAssetUrl: 应用资产Url
|
16319
16319
|
:type AppAssetUrl: str
|
16320
|
+
:param _DeviceKind: 资产类型
|
16321
|
+
:type DeviceKind: str
|
16320
16322
|
"""
|
16321
16323
|
self._PrivateIp = None
|
16322
16324
|
self._PublicIp = None
|
@@ -16334,6 +16336,7 @@ class SearchSessionRequest(AbstractModel):
|
|
16334
16336
|
self._Id = None
|
16335
16337
|
self._AppAssetKindSet = None
|
16336
16338
|
self._AppAssetUrl = None
|
16339
|
+
self._DeviceKind = None
|
16337
16340
|
|
16338
16341
|
@property
|
16339
16342
|
def PrivateIp(self):
|
@@ -16511,6 +16514,17 @@ class SearchSessionRequest(AbstractModel):
|
|
16511
16514
|
def AppAssetUrl(self, AppAssetUrl):
|
16512
16515
|
self._AppAssetUrl = AppAssetUrl
|
16513
16516
|
|
16517
|
+
@property
|
16518
|
+
def DeviceKind(self):
|
16519
|
+
"""资产类型
|
16520
|
+
:rtype: str
|
16521
|
+
"""
|
16522
|
+
return self._DeviceKind
|
16523
|
+
|
16524
|
+
@DeviceKind.setter
|
16525
|
+
def DeviceKind(self, DeviceKind):
|
16526
|
+
self._DeviceKind = DeviceKind
|
16527
|
+
|
16514
16528
|
|
16515
16529
|
def _deserialize(self, params):
|
16516
16530
|
self._PrivateIp = params.get("PrivateIp")
|
@@ -16529,6 +16543,7 @@ class SearchSessionRequest(AbstractModel):
|
|
16529
16543
|
self._Id = params.get("Id")
|
16530
16544
|
self._AppAssetKindSet = params.get("AppAssetKindSet")
|
16531
16545
|
self._AppAssetUrl = params.get("AppAssetUrl")
|
16546
|
+
self._DeviceKind = params.get("DeviceKind")
|
16532
16547
|
memeber_set = set(params.keys())
|
16533
16548
|
for name, value in vars(self).items():
|
16534
16549
|
property_name = name[1:]
|
@@ -7855,6 +7855,10 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
7855
7855
|
:type Period: int
|
7856
7856
|
:param _ClusterTopology: 集群版节点拓扑配置。
|
7857
7857
|
:type ClusterTopology: :class:`tencentcloud.cdb.v20170320.models.ClusterTopology`
|
7858
|
+
:param _SrcRegion: 原实例所在地域名,当传入异地备份时为必选项,例:ap-guangzhou
|
7859
|
+
:type SrcRegion: str
|
7860
|
+
:param _SpecifiedSubBackupId: 异地数据备份id
|
7861
|
+
:type SpecifiedSubBackupId: int
|
7858
7862
|
"""
|
7859
7863
|
self._InstanceId = None
|
7860
7864
|
self._SpecifiedRollbackTime = None
|
@@ -7880,6 +7884,8 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
7880
7884
|
self._PayType = None
|
7881
7885
|
self._Period = None
|
7882
7886
|
self._ClusterTopology = None
|
7887
|
+
self._SrcRegion = None
|
7888
|
+
self._SpecifiedSubBackupId = None
|
7883
7889
|
|
7884
7890
|
@property
|
7885
7891
|
def InstanceId(self):
|
@@ -8147,6 +8153,28 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
8147
8153
|
def ClusterTopology(self, ClusterTopology):
|
8148
8154
|
self._ClusterTopology = ClusterTopology
|
8149
8155
|
|
8156
|
+
@property
|
8157
|
+
def SrcRegion(self):
|
8158
|
+
"""原实例所在地域名,当传入异地备份时为必选项,例:ap-guangzhou
|
8159
|
+
:rtype: str
|
8160
|
+
"""
|
8161
|
+
return self._SrcRegion
|
8162
|
+
|
8163
|
+
@SrcRegion.setter
|
8164
|
+
def SrcRegion(self, SrcRegion):
|
8165
|
+
self._SrcRegion = SrcRegion
|
8166
|
+
|
8167
|
+
@property
|
8168
|
+
def SpecifiedSubBackupId(self):
|
8169
|
+
"""异地数据备份id
|
8170
|
+
:rtype: int
|
8171
|
+
"""
|
8172
|
+
return self._SpecifiedSubBackupId
|
8173
|
+
|
8174
|
+
@SpecifiedSubBackupId.setter
|
8175
|
+
def SpecifiedSubBackupId(self, SpecifiedSubBackupId):
|
8176
|
+
self._SpecifiedSubBackupId = SpecifiedSubBackupId
|
8177
|
+
|
8150
8178
|
|
8151
8179
|
def _deserialize(self, params):
|
8152
8180
|
self._InstanceId = params.get("InstanceId")
|
@@ -8180,6 +8208,8 @@ class CreateCloneInstanceRequest(AbstractModel):
|
|
8180
8208
|
if params.get("ClusterTopology") is not None:
|
8181
8209
|
self._ClusterTopology = ClusterTopology()
|
8182
8210
|
self._ClusterTopology._deserialize(params.get("ClusterTopology"))
|
8211
|
+
self._SrcRegion = params.get("SrcRegion")
|
8212
|
+
self._SpecifiedSubBackupId = params.get("SpecifiedSubBackupId")
|
8183
8213
|
memeber_set = set(params.keys())
|
8184
8214
|
for name, value in vars(self).items():
|
8185
8215
|
property_name = name[1:]
|
@@ -23605,8 +23635,10 @@ class HistoryJob(AbstractModel):
|
|
23605
23635
|
:param _ExpandType: 扩容类型
|
23606
23636
|
:type ExpandType: str
|
23607
23637
|
:param _StartTime: 扩容开始时间
|
23638
|
+
说明:此项显示的格式是 int 类型的 unix 时间戳
|
23608
23639
|
:type StartTime: int
|
23609
23640
|
:param _EndTime: 扩容结束时间
|
23641
|
+
说明:此项显示的格式是 int 类型的 unix 时间戳
|
23610
23642
|
:type EndTime: int
|
23611
23643
|
:param _OldCpu: 扩容前核数
|
23612
23644
|
:type OldCpu: int
|
@@ -23651,6 +23683,7 @@ class HistoryJob(AbstractModel):
|
|
23651
23683
|
@property
|
23652
23684
|
def StartTime(self):
|
23653
23685
|
"""扩容开始时间
|
23686
|
+
说明:此项显示的格式是 int 类型的 unix 时间戳
|
23654
23687
|
:rtype: int
|
23655
23688
|
"""
|
23656
23689
|
return self._StartTime
|
@@ -23662,6 +23695,7 @@ class HistoryJob(AbstractModel):
|
|
23662
23695
|
@property
|
23663
23696
|
def EndTime(self):
|
23664
23697
|
"""扩容结束时间
|
23698
|
+
说明:此项显示的格式是 int 类型的 unix 时间戳
|
23665
23699
|
:rtype: int
|
23666
23700
|
"""
|
23667
23701
|
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
|
@@ -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
|
@@ -3935,7 +3935,7 @@ class DescribeCfsSnapshotsRequest(AbstractModel):
|
|
3935
3935
|
<br>FileSystemId - Array of String - 是否必填:否 -(过滤条件)按文件系统ID过滤。
|
3936
3936
|
<br>FsName - Array of String - 是否必填:否 -(过滤条件)按文件系统名过滤。
|
3937
3937
|
<br>Status - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤
|
3938
|
-
(creating:表示创建中 | available
|
3938
|
+
(creating:表示创建中 | available:表示可用,deleting: 删除中;rollbacking_new:表示由快照创建新文件系统中| create-failed 创建失败)
|
3939
3939
|
<br>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
|
3940
3940
|
<br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
|
3941
3941
|
:type Filters: list of Filter
|
@@ -4004,7 +4004,7 @@ class DescribeCfsSnapshotsRequest(AbstractModel):
|
|
4004
4004
|
<br>FileSystemId - Array of String - 是否必填:否 -(过滤条件)按文件系统ID过滤。
|
4005
4005
|
<br>FsName - Array of String - 是否必填:否 -(过滤条件)按文件系统名过滤。
|
4006
4006
|
<br>Status - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤
|
4007
|
-
(creating:表示创建中 | available
|
4007
|
+
(creating:表示创建中 | available:表示可用,deleting: 删除中;rollbacking_new:表示由快照创建新文件系统中| create-failed 创建失败)
|
4008
4008
|
<br>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
|
4009
4009
|
<br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
|
4010
4010
|
:rtype: list of Filter
|
@@ -7170,14 +7170,14 @@ class StopMigrationTaskRequest(AbstractModel):
|
|
7170
7170
|
|
7171
7171
|
def __init__(self):
|
7172
7172
|
r"""
|
7173
|
-
:param _TaskId:
|
7173
|
+
:param _TaskId: 迁移任务Id
|
7174
7174
|
:type TaskId: str
|
7175
7175
|
"""
|
7176
7176
|
self._TaskId = None
|
7177
7177
|
|
7178
7178
|
@property
|
7179
7179
|
def TaskId(self):
|
7180
|
-
"""
|
7180
|
+
"""迁移任务Id
|
7181
7181
|
:rtype: str
|
7182
7182
|
"""
|
7183
7183
|
return self._TaskId
|
@@ -854,6 +854,29 @@ class ChcClient(AbstractClient):
|
|
854
854
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
855
855
|
|
856
856
|
|
857
|
+
def ExportCustomerWorkOrderDetail(self, request):
|
858
|
+
"""导出工单详情
|
859
|
+
|
860
|
+
:param request: Request instance for ExportCustomerWorkOrderDetail.
|
861
|
+
:type request: :class:`tencentcloud.chc.v20230418.models.ExportCustomerWorkOrderDetailRequest`
|
862
|
+
:rtype: :class:`tencentcloud.chc.v20230418.models.ExportCustomerWorkOrderDetailResponse`
|
863
|
+
|
864
|
+
"""
|
865
|
+
try:
|
866
|
+
params = request._serialize()
|
867
|
+
headers = request.headers
|
868
|
+
body = self.call("ExportCustomerWorkOrderDetail", params, headers=headers)
|
869
|
+
response = json.loads(body)
|
870
|
+
model = models.ExportCustomerWorkOrderDetailResponse()
|
871
|
+
model._deserialize(response["Response"])
|
872
|
+
return model
|
873
|
+
except Exception as e:
|
874
|
+
if isinstance(e, TencentCloudSDKException):
|
875
|
+
raise
|
876
|
+
else:
|
877
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
878
|
+
|
879
|
+
|
857
880
|
def ModifyWorkOrderTypeCollectFlag(self, request):
|
858
881
|
"""如果当前该工单类型是收藏状态,调用接口后变成未收藏状态,如果是未收藏状态,调用该接口变为收藏状态
|
859
882
|
|
@@ -13,3 +13,12 @@
|
|
13
13
|
# See the License for the specific language governing permissions and
|
14
14
|
# limitations under the License.
|
15
15
|
|
16
|
+
|
17
|
+
# 结束时间必须大于起始时间
|
18
|
+
INVALIDPARAMETERVALUE_ENDTIMELOWERTHANSTARTTIME = 'InvalidParameterValue.EndTimeLowerThanStartTime'
|
19
|
+
|
20
|
+
# 时间格式不符合规范
|
21
|
+
INVALIDPARAMETERVALUE_INVALIDTIMEFORMAT = 'InvalidParameterValue.InvalidTimeFormat'
|
22
|
+
|
23
|
+
# 非法的工单类型
|
24
|
+
INVALIDPARAMETERVALUE_INVALIDWORKORDERTYPE = 'InvalidParameterValue.InvalidWorkOrderType'
|
@@ -6772,6 +6772,115 @@ class Distribution(AbstractModel):
|
|
6772
6772
|
|
6773
6773
|
|
6774
6774
|
|
6775
|
+
class ExportCustomerWorkOrderDetailRequest(AbstractModel):
|
6776
|
+
"""ExportCustomerWorkOrderDetail请求参数结构体
|
6777
|
+
|
6778
|
+
"""
|
6779
|
+
|
6780
|
+
def __init__(self):
|
6781
|
+
r"""
|
6782
|
+
:param _WorkOrderType: 服务工单类型
|
6783
|
+
:type WorkOrderType: list of str
|
6784
|
+
:param _BeginDateTime: 要导出的工单的起始时间
|
6785
|
+
:type BeginDateTime: str
|
6786
|
+
:param _EndDateTime: 要导出的工单的结束时间
|
6787
|
+
:type EndDateTime: str
|
6788
|
+
"""
|
6789
|
+
self._WorkOrderType = None
|
6790
|
+
self._BeginDateTime = None
|
6791
|
+
self._EndDateTime = None
|
6792
|
+
|
6793
|
+
@property
|
6794
|
+
def WorkOrderType(self):
|
6795
|
+
"""服务工单类型
|
6796
|
+
:rtype: list of str
|
6797
|
+
"""
|
6798
|
+
return self._WorkOrderType
|
6799
|
+
|
6800
|
+
@WorkOrderType.setter
|
6801
|
+
def WorkOrderType(self, WorkOrderType):
|
6802
|
+
self._WorkOrderType = WorkOrderType
|
6803
|
+
|
6804
|
+
@property
|
6805
|
+
def BeginDateTime(self):
|
6806
|
+
"""要导出的工单的起始时间
|
6807
|
+
:rtype: str
|
6808
|
+
"""
|
6809
|
+
return self._BeginDateTime
|
6810
|
+
|
6811
|
+
@BeginDateTime.setter
|
6812
|
+
def BeginDateTime(self, BeginDateTime):
|
6813
|
+
self._BeginDateTime = BeginDateTime
|
6814
|
+
|
6815
|
+
@property
|
6816
|
+
def EndDateTime(self):
|
6817
|
+
"""要导出的工单的结束时间
|
6818
|
+
:rtype: str
|
6819
|
+
"""
|
6820
|
+
return self._EndDateTime
|
6821
|
+
|
6822
|
+
@EndDateTime.setter
|
6823
|
+
def EndDateTime(self, EndDateTime):
|
6824
|
+
self._EndDateTime = EndDateTime
|
6825
|
+
|
6826
|
+
|
6827
|
+
def _deserialize(self, params):
|
6828
|
+
self._WorkOrderType = params.get("WorkOrderType")
|
6829
|
+
self._BeginDateTime = params.get("BeginDateTime")
|
6830
|
+
self._EndDateTime = params.get("EndDateTime")
|
6831
|
+
memeber_set = set(params.keys())
|
6832
|
+
for name, value in vars(self).items():
|
6833
|
+
property_name = name[1:]
|
6834
|
+
if property_name in memeber_set:
|
6835
|
+
memeber_set.remove(property_name)
|
6836
|
+
if len(memeber_set) > 0:
|
6837
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
6838
|
+
|
6839
|
+
|
6840
|
+
|
6841
|
+
class ExportCustomerWorkOrderDetailResponse(AbstractModel):
|
6842
|
+
"""ExportCustomerWorkOrderDetail返回参数结构体
|
6843
|
+
|
6844
|
+
"""
|
6845
|
+
|
6846
|
+
def __init__(self):
|
6847
|
+
r"""
|
6848
|
+
:param _DownloadUrl: 返回下载地址
|
6849
|
+
:type DownloadUrl: str
|
6850
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6851
|
+
:type RequestId: str
|
6852
|
+
"""
|
6853
|
+
self._DownloadUrl = None
|
6854
|
+
self._RequestId = None
|
6855
|
+
|
6856
|
+
@property
|
6857
|
+
def DownloadUrl(self):
|
6858
|
+
"""返回下载地址
|
6859
|
+
:rtype: str
|
6860
|
+
"""
|
6861
|
+
return self._DownloadUrl
|
6862
|
+
|
6863
|
+
@DownloadUrl.setter
|
6864
|
+
def DownloadUrl(self, DownloadUrl):
|
6865
|
+
self._DownloadUrl = DownloadUrl
|
6866
|
+
|
6867
|
+
@property
|
6868
|
+
def RequestId(self):
|
6869
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6870
|
+
:rtype: str
|
6871
|
+
"""
|
6872
|
+
return self._RequestId
|
6873
|
+
|
6874
|
+
@RequestId.setter
|
6875
|
+
def RequestId(self, RequestId):
|
6876
|
+
self._RequestId = RequestId
|
6877
|
+
|
6878
|
+
|
6879
|
+
def _deserialize(self, params):
|
6880
|
+
self._DownloadUrl = params.get("DownloadUrl")
|
6881
|
+
self._RequestId = params.get("RequestId")
|
6882
|
+
|
6883
|
+
|
6775
6884
|
class ExpressDelivery(AbstractModel):
|
6776
6885
|
"""快递寄件信息,快递寄件必填
|
6777
6886
|
|
@@ -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
|
|