kingsoftcloud-sdk-python 1.1.1__py2.py3-none-any.whl → 1.5.8.49__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.
- kingsoftcloud_sdk_python-1.5.8.49.dist-info/METADATA +71 -0
- kingsoftcloud_sdk_python-1.5.8.49.dist-info/RECORD +337 -0
- {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.49.dist-info}/WHEEL +1 -1
- ksyun/__init__.py +1 -1
- ksyun/client/actiontrail/v20190401/client.py +2 -4
- ksyun/client/aicp/v20240612/client.py +1344 -0
- ksyun/client/aicp/v20240612/models.py +1963 -0
- ksyun/client/aicp/v20251212/__init__.py +0 -0
- ksyun/client/aicp/v20251212/client.py +56 -0
- ksyun/client/aicp/v20251212/models.py +114 -0
- ksyun/client/bill/v20180601/client.py +6 -77
- ksyun/client/bill/v20180601/models.py +29 -41
- ksyun/client/bill/v20220601/__init__.py +0 -0
- ksyun/client/bill/v20220601/client.py +54 -0
- ksyun/client/bill/v20220601/models.py +54 -0
- ksyun/client/bill_union/v20200101/client.py +81 -14
- ksyun/client/bill_union/v20200101/models.py +119 -3
- ksyun/client/bill_union/v20221222/__init__.py +0 -0
- ksyun/client/bill_union/v20221222/client.py +146 -0
- ksyun/client/bill_union/v20221222/models.py +193 -0
- ksyun/client/bill_union/v20250801/__init__.py +0 -0
- ksyun/client/bill_union/v20250801/client.py +54 -0
- ksyun/client/bill_union/v20250801/models.py +64 -0
- ksyun/client/bws/v20160304/client.py +33 -12
- ksyun/client/bws/v20160304/models.py +51 -0
- ksyun/client/cdn/__init__.py +0 -0
- ksyun/client/cdn/v20160901/__init__.py +0 -0
- ksyun/client/cdn/v20160901/client.py +77 -0
- ksyun/client/cdn/v20160901/models.py +51 -0
- ksyun/client/cdn/v20200630/__init__.py +0 -0
- ksyun/client/cdn/v20200630/client.py +399 -0
- ksyun/client/cdn/v20200630/models.py +826 -0
- ksyun/client/cdn/v20200901/__init__.py +0 -0
- ksyun/client/cdn/v20200901/client.py +169 -0
- ksyun/client/cdn/v20200901/models.py +224 -0
- ksyun/client/cdn/v20211201/__init__.py +0 -0
- ksyun/client/cdn/v20211201/client.py +31 -0
- ksyun/client/cdn/v20211201/models.py +23 -0
- ksyun/client/cdn/v3/__init__.py +0 -0
- ksyun/client/cdn/v3/client.py +997 -0
- ksyun/client/cdn/v3/models.py +1323 -0
- ksyun/client/cen/__init__.py +0 -0
- ksyun/client/cen/v20160304/__init__.py +0 -0
- ksyun/client/cen/v20160304/client.py +606 -0
- ksyun/client/cen/v20160304/models.py +718 -0
- ksyun/client/clickhouse/__init__.py +0 -0
- ksyun/client/clickhouse/v20210101/__init__.py +0 -0
- ksyun/client/clickhouse/v20210101/client.py +905 -0
- ksyun/client/clickhouse/v20210101/models.py +1127 -0
- ksyun/client/cloud_advisor/__init__.py +0 -0
- ksyun/client/cloud_advisor/v20250610/__init__.py +0 -0
- ksyun/client/cloud_advisor/v20250610/client.py +77 -0
- ksyun/client/cloud_advisor/v20250610/models.py +80 -0
- ksyun/client/dmp/__init__.py +0 -0
- ksyun/client/dmp/v20240101/__init__.py +0 -0
- ksyun/client/dmp/v20240101/client.py +468 -0
- ksyun/client/dmp/v20240101/models.py +423 -0
- ksyun/client/dts/__init__.py +0 -0
- ksyun/client/dts/v20180108/__init__.py +0 -0
- ksyun/client/dts/v20180108/client.py +445 -0
- ksyun/client/dts/v20180108/models.py +734 -0
- ksyun/client/ebs/v20160304/client.py +260 -55
- ksyun/client/ebs/v20160304/models.py +320 -66
- ksyun/client/eip/v20160304/client.py +127 -14
- ksyun/client/eip/v20160304/models.py +95 -1
- ksyun/client/epc/v20151101/client.py +1309 -184
- ksyun/client/epc/v20151101/models.py +2623 -137
- ksyun/client/iam/v20151101/client.py +325 -120
- ksyun/client/iam/v20151101/models.py +284 -28
- ksyun/client/iam/v20240513/__init__.py +0 -0
- ksyun/client/iam/v20240513/client.py +31 -0
- ksyun/client/iam/v20240513/models.py +33 -0
- ksyun/client/iam/v20240703/__init__.py +0 -0
- ksyun/client/iam/v20240703/client.py +31 -0
- ksyun/client/iam/v20240703/models.py +18 -0
- ksyun/client/influxdb/__init__.py +0 -0
- ksyun/client/influxdb/v20191010/__init__.py +0 -0
- ksyun/client/influxdb/v20191010/client.py +629 -0
- ksyun/client/influxdb/v20191010/models.py +655 -0
- ksyun/client/kad/v20161122/client.py +56 -12
- ksyun/client/kad/v20161122/models.py +38 -0
- ksyun/client/kce/__init__.py +0 -0
- ksyun/client/kce/v20180314/__init__.py +0 -0
- ksyun/client/kce/v20180314/client.py +399 -0
- ksyun/client/kce/v20180314/models.py +374 -0
- ksyun/client/kce/v20190806/__init__.py +0 -0
- ksyun/client/kce/v20190806/client.py +790 -0
- ksyun/client/kce/v20190806/models.py +1099 -0
- ksyun/client/kce/v20201231/__init__.py +0 -0
- ksyun/client/{slb/v20171210 → kce/v20201231}/client.py +10 -12
- ksyun/client/kce/v20201231/models.py +137 -0
- ksyun/client/kce/v20230101/__init__.py +0 -0
- ksyun/client/kce/v20230101/client.py +215 -0
- ksyun/client/kce/v20230101/models.py +259 -0
- ksyun/client/kce/v20230306/__init__.py +0 -0
- ksyun/client/kce/v20230306/client.py +514 -0
- ksyun/client/kce/v20230306/models.py +655 -0
- ksyun/client/kce/v20231115/__init__.py +0 -0
- ksyun/client/kce/v20231115/client.py +54 -0
- ksyun/client/kce/v20231115/models.py +59 -0
- ksyun/client/kce2/__init__.py +0 -0
- ksyun/client/kce2/v20230101/__init__.py +0 -0
- ksyun/client/kce2/v20230101/client.py +353 -0
- ksyun/client/kce2/v20230101/models.py +483 -0
- ksyun/client/kcf/__init__.py +0 -0
- ksyun/client/kcf/v20211215/__init__.py +0 -0
- ksyun/client/kcf/v20211215/client.py +215 -0
- ksyun/client/kcf/v20211215/models.py +313 -0
- ksyun/client/kci/__init__.py +0 -0
- ksyun/client/kci/v20200702/__init__.py +0 -0
- ksyun/client/kci/v20200702/client.py +353 -0
- ksyun/client/kci/v20200702/models.py +614 -0
- ksyun/client/kcm/__init__.py +0 -0
- ksyun/client/kcm/v20160304/__init__.py +0 -0
- ksyun/client/kcm/v20160304/client.py +238 -0
- ksyun/client/kcm/v20160304/models.py +394 -0
- ksyun/client/kcrs/__init__.py +0 -0
- ksyun/client/kcrs/v20211109/__init__.py +0 -0
- ksyun/client/kcrs/v20211109/client.py +1020 -0
- ksyun/client/kcrs/v20211109/models.py +1282 -0
- ksyun/client/kcs/__init__.py +0 -0
- ksyun/client/kcs/v20160701/__init__.py +0 -0
- ksyun/client/kcs/v20160701/client.py +1526 -0
- ksyun/client/kcs/v20160701/models.py +1917 -0
- ksyun/client/kcs/v20170401/__init__.py +0 -0
- ksyun/client/kcs/v20170401/client.py +31 -0
- ksyun/client/kcs/v20170401/models.py +28 -0
- ksyun/client/kcs/v20240701/__init__.py +0 -0
- ksyun/client/kcs/v20240701/client.py +31 -0
- ksyun/client/kcs/v20240701/models.py +23 -0
- ksyun/client/kead/v20200101/client.py +48 -4
- ksyun/client/kead/v20200101/models.py +52 -42
- ksyun/client/kec/v20160304/client.py +890 -223
- ksyun/client/kec/v20160304/models.py +1377 -140
- ksyun/client/ked/__init__.py +0 -0
- ksyun/client/ked/v1/__init__.py +0 -0
- ksyun/client/ked/v1/client.py +1020 -0
- ksyun/client/ked/v1/models.py +1132 -0
- ksyun/client/kes/__init__.py +0 -0
- ksyun/client/kes/v20201215/__init__.py +0 -0
- ksyun/client/kes/v20201215/client.py +192 -0
- ksyun/client/kes/v20201215/models.py +252 -0
- ksyun/client/ket/__init__.py +0 -0
- ksyun/client/ket/v20170101/__init__.py +0 -0
- ksyun/client/ket/v20170101/client.py +192 -0
- ksyun/client/ket/v20170101/models.py +265 -0
- ksyun/client/kfw/__init__.py +0 -0
- ksyun/client/kfw/v20160304/__init__.py +0 -0
- ksyun/client/kfw/v20160304/client.py +692 -0
- ksyun/client/kfw/v20160304/models.py +1029 -0
- ksyun/client/kingpay/__init__.py +0 -0
- ksyun/client/kingpay/v1/__init__.py +0 -0
- ksyun/client/kingpay/v1/client.py +31 -0
- ksyun/client/kingpay/v1/models.py +18 -0
- ksyun/client/kkms/__init__.py +0 -0
- ksyun/client/kkms/v20160304/__init__.py +0 -0
- ksyun/client/kkms/v20160304/client.py +192 -0
- ksyun/client/kkms/v20160304/models.py +185 -0
- ksyun/client/klog/__init__.py +0 -0
- ksyun/client/klog/v20200731/__init__.py +0 -0
- ksyun/client/klog/v20200731/client.py +376 -0
- ksyun/client/klog/v20200731/models.py +508 -0
- ksyun/client/kls/__init__.py +0 -0
- ksyun/client/kls/v20170101/__init__.py +0 -0
- ksyun/client/kls/v20170101/client.py +192 -0
- ksyun/client/kls/v20170101/models.py +320 -0
- ksyun/client/kmr/__init__.py +0 -0
- ksyun/client/kmr/v20210902/__init__.py +0 -0
- ksyun/client/kmr/v20210902/client.py +537 -0
- ksyun/client/kmr/v20210902/models.py +536 -0
- ksyun/client/kmr/v20231231/__init__.py +0 -0
- ksyun/client/kmr/v20231231/client.py +169 -0
- ksyun/client/kmr/v20231231/models.py +201 -0
- ksyun/client/kmr/v20240814/__init__.py +0 -0
- ksyun/client/kmr/v20240814/client.py +445 -0
- ksyun/client/kmr/v20240814/models.py +523 -0
- ksyun/client/knad/__init__.py +0 -0
- ksyun/client/knad/v20230323/__init__.py +0 -0
- ksyun/client/knad/v20230323/client.py +399 -0
- ksyun/client/knad/v20230323/models.py +470 -0
- ksyun/client/kpfs/__init__.py +0 -0
- ksyun/client/kpfs/v20240930/__init__.py +0 -0
- ksyun/client/kpfs/v20240930/client.py +217 -0
- ksyun/client/kpfs/v20240930/models.py +396 -0
- ksyun/client/krds/__init__.py +0 -0
- ksyun/client/krds/v20160701/__init__.py +0 -0
- ksyun/client/krds/v20160701/client.py +2101 -0
- ksyun/client/krds/v20160701/models.py +2722 -0
- ksyun/client/krds/v20200825/__init__.py +0 -0
- ksyun/client/krds/v20200825/client.py +238 -0
- ksyun/client/krds/v20200825/models.py +336 -0
- ksyun/client/memcached/__init__.py +0 -0
- ksyun/client/memcached/v20180627/__init__.py +0 -0
- ksyun/client/memcached/v20180627/client.py +307 -0
- ksyun/client/memcached/v20180627/models.py +317 -0
- ksyun/client/milvus/__init__.py +0 -0
- ksyun/client/milvus/v20231010/__init__.py +0 -0
- ksyun/client/milvus/v20231010/client.py +445 -0
- ksyun/client/milvus/v20231010/models.py +520 -0
- ksyun/client/mongodb/v20170101/client.py +312 -84
- ksyun/client/mongodb/v20170101/models.py +251 -34
- ksyun/client/mongodb/v20250101/__init__.py +0 -0
- ksyun/client/mongodb/v20250101/client.py +31 -0
- ksyun/client/mongodb/v20250101/models.py +18 -0
- ksyun/client/monitor/__init__.py +0 -0
- ksyun/client/monitor/v20100525/__init__.py +0 -0
- ksyun/client/monitor/v20100525/client.py +54 -0
- ksyun/client/monitor/v20100525/models.py +108 -0
- ksyun/client/monitor/v20181114/__init__.py +0 -0
- ksyun/client/monitor/v20181114/client.py +31 -0
- ksyun/client/monitor/v20181114/models.py +59 -0
- ksyun/client/monitor/v20210101/__init__.py +0 -0
- ksyun/client/monitor/v20210101/client.py +284 -0
- ksyun/client/monitor/v20210101/models.py +330 -0
- ksyun/client/monitor/v20220101/__init__.py +0 -0
- ksyun/client/monitor/v20220101/client.py +54 -0
- ksyun/client/monitor/v20220101/models.py +32 -0
- ksyun/client/monitor/v20250101/__init__.py +0 -0
- ksyun/client/monitor/v20250101/client.py +121 -0
- ksyun/client/monitor/v20250101/models.py +188 -0
- ksyun/client/pdns/__init__.py +0 -0
- ksyun/client/pdns/v20160304/__init__.py +0 -0
- ksyun/client/pdns/v20160304/client.py +813 -0
- ksyun/client/pdns/v20160304/models.py +805 -0
- ksyun/client/postgresql/__init__.py +0 -0
- ksyun/client/postgresql/v20181225/__init__.py +0 -0
- ksyun/client/postgresql/v20181225/client.py +1158 -0
- ksyun/client/postgresql/v20181225/models.py +1629 -0
- ksyun/client/rabbitmq/__init__.py +0 -0
- ksyun/client/rabbitmq/v20191017/__init__.py +0 -0
- ksyun/client/rabbitmq/v20191017/client.py +445 -0
- ksyun/client/rabbitmq/v20191017/models.py +413 -0
- ksyun/client/relyt/__init__.py +0 -0
- ksyun/client/relyt/v20240117/__init__.py +0 -0
- ksyun/client/{bill_union/v20211209 → relyt/v20240117}/client.py +10 -12
- ksyun/client/relyt/v20240117/models.py +23 -0
- ksyun/client/resourcemanager/v20210320/client.py +16 -18
- ksyun/client/sks/v20151101/client.py +11 -13
- ksyun/client/sks/v20151101/models.py +28 -2
- ksyun/client/slb/v20160304/client.py +1099 -112
- ksyun/client/slb/v20160304/models.py +1697 -24
- ksyun/client/slb/v20250430/__init__.py +0 -0
- ksyun/client/slb/v20250430/client.py +813 -0
- ksyun/client/slb/v20250430/models.py +1372 -0
- ksyun/client/sqlserver/__init__.py +0 -0
- ksyun/client/sqlserver/v20190425/__init__.py +0 -0
- ksyun/client/sqlserver/v20190425/client.py +1066 -0
- ksyun/client/sqlserver/v20190425/models.py +1528 -0
- ksyun/client/sts/v20151101/client.py +23 -2
- ksyun/client/sts/v20151101/models.py +54 -1
- ksyun/client/tagv2/v20200901/client.py +60 -16
- ksyun/client/tagv2/v20200901/models.py +56 -4
- ksyun/client/ter/__init__.py +0 -0
- ksyun/client/ter/v20240415/__init__.py +0 -0
- ksyun/client/ter/v20240415/client.py +123 -0
- ksyun/client/ter/v20240415/models.py +115 -0
- ksyun/client/tidb/__init__.py +0 -0
- ksyun/client/tidb/v20210520/__init__.py +0 -0
- ksyun/client/tidb/v20210520/client.py +928 -0
- ksyun/client/tidb/v20210520/models.py +1162 -0
- ksyun/client/trade/v20200114/client.py +2 -4
- ksyun/client/trade/v20200831/client.py +2 -4
- ksyun/client/trade/v20250220/__init__.py +0 -0
- ksyun/client/trade/v20250220/client.py +100 -0
- ksyun/client/trade/v20250220/models.py +91 -0
- ksyun/client/trade/v20250321/__init__.py +0 -0
- ksyun/client/trade/v20250321/client.py +100 -0
- ksyun/client/trade/v20250321/models.py +71 -0
- ksyun/client/trade/v20250828/__init__.py +0 -0
- ksyun/client/trade/v20250828/client.py +31 -0
- ksyun/client/trade/v20250828/models.py +81 -0
- ksyun/client/vpc/v20160304/client.py +1377 -229
- ksyun/client/vpc/v20160304/models.py +1540 -138
- ksyun/client/waf/__init__.py +0 -0
- ksyun/client/waf/v20200707/__init__.py +0 -0
- ksyun/client/waf/v20200707/client.py +468 -0
- ksyun/client/waf/v20200707/models.py +738 -0
- ksyun/common/abstract_client.py +57 -21
- ksyun/common/abstract_model.py +3 -3
- ksyun/common/common_client.py +2 -0
- ksyun/common/credential.py +2 -0
- ksyun/common/exception/ksyun_sdk_exception.py +11 -7
- ksyun/common/http/request.py +45 -6
- ksyun/common/profile/client_profile.py +3 -0
- ksyun/common/profile/http_profile.py +28 -1
- kingsoftcloud_sdk_python-1.1.1.dist-info/METADATA +0 -47
- kingsoftcloud_sdk_python-1.1.1.dist-info/RECORD +0 -105
- ksyun/client/bill_union/v20211209/models.py +0 -38
- ksyun/client/slb/v20171210/models.py +0 -33
- ksyun/common/sign.py +0 -33
- {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.49.dist-info/licenses}/LICENSE +0 -0
- {kingsoftcloud_sdk_python-1.1.1.dist-info → kingsoftcloud_sdk_python-1.5.8.49.dist-info}/top_level.txt +0 -0
- /ksyun/client/{bill_union/v20211209 → aicp}/__init__.py +0 -0
- /ksyun/client/{slb/v20171210 → aicp/v20240612}/__init__.py +0 -0
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
from ksyun.common.abstract_model import AbstractModel
|
|
2
|
+
|
|
3
|
+
class DescribeDefaultMonitorItemsRequest(AbstractModel):
|
|
4
|
+
"""DescribeDefaultMonitorItems请求参数结构体
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
def __init__(self):
|
|
8
|
+
r"""查询支持的监控项
|
|
9
|
+
:param PanelType: 监控大盘类型。可选值为:MySQL,Redis(严格区分大小写)。
|
|
10
|
+
:type PathPrefix: String
|
|
11
|
+
"""
|
|
12
|
+
self.PanelType = None
|
|
13
|
+
|
|
14
|
+
def _deserialize(self, params):
|
|
15
|
+
if params.get("PanelType"):
|
|
16
|
+
self.PanelType = params.get("PanelType")
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
class DeleteMonitorPanelRequest(AbstractModel):
|
|
20
|
+
"""DeleteMonitorPanel请求参数结构体
|
|
21
|
+
"""
|
|
22
|
+
|
|
23
|
+
def __init__(self):
|
|
24
|
+
r"""删除监控大盘
|
|
25
|
+
:param PanelId: 监控大盘ID。
|
|
26
|
+
:type PathPrefix: String
|
|
27
|
+
"""
|
|
28
|
+
self.PanelId = None
|
|
29
|
+
|
|
30
|
+
def _deserialize(self, params):
|
|
31
|
+
if params.get("PanelId"):
|
|
32
|
+
self.PanelId = params.get("PanelId")
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class OperateMonitorPanelRequest(AbstractModel):
|
|
36
|
+
"""OperateMonitorPanel请求参数结构体
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
def __init__(self):
|
|
40
|
+
r"""更新监控大盘
|
|
41
|
+
:param AddInstanceIds: 待加入监控大盘的实例ID列表。
|
|
42
|
+
:type PathPrefix: Array
|
|
43
|
+
:param RemoveInstanceIds: 待从监控大盘删除的实例ID列表。
|
|
44
|
+
:type PathPrefix: Array
|
|
45
|
+
:param AddMonitorItems: 待加入监控大盘的监控项列表。
|
|
46
|
+
:type PathPrefix: Array
|
|
47
|
+
:param RemoveMonitorItems: 待从监控大盘移除的监控项列表。
|
|
48
|
+
:type PathPrefix: Array
|
|
49
|
+
:param PanelId: 监控大盘ID。
|
|
50
|
+
:type PathPrefix: String
|
|
51
|
+
"""
|
|
52
|
+
self.AddInstanceIds = None
|
|
53
|
+
self.RemoveInstanceIds = None
|
|
54
|
+
self.AddMonitorItems = None
|
|
55
|
+
self.RemoveMonitorItems = None
|
|
56
|
+
self.PanelId = None
|
|
57
|
+
|
|
58
|
+
def _deserialize(self, params):
|
|
59
|
+
if params.get("AddInstanceIds"):
|
|
60
|
+
self.AddInstanceIds = params.get("AddInstanceIds")
|
|
61
|
+
if params.get("RemoveInstanceIds"):
|
|
62
|
+
self.RemoveInstanceIds = params.get("RemoveInstanceIds")
|
|
63
|
+
if params.get("AddMonitorItems"):
|
|
64
|
+
self.AddMonitorItems = params.get("AddMonitorItems")
|
|
65
|
+
if params.get("RemoveMonitorItems"):
|
|
66
|
+
self.RemoveMonitorItems = params.get("RemoveMonitorItems")
|
|
67
|
+
if params.get("PanelId"):
|
|
68
|
+
self.PanelId = params.get("PanelId")
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
class DescribeMonitorPanelRequest(AbstractModel):
|
|
72
|
+
"""DescribeMonitorPanel请求参数结构体
|
|
73
|
+
"""
|
|
74
|
+
|
|
75
|
+
def __init__(self):
|
|
76
|
+
r"""查询监控大盘详情
|
|
77
|
+
:param PanelId: 监控大盘ID。
|
|
78
|
+
:type PathPrefix: String
|
|
79
|
+
"""
|
|
80
|
+
self.PanelId = None
|
|
81
|
+
|
|
82
|
+
def _deserialize(self, params):
|
|
83
|
+
if params.get("PanelId"):
|
|
84
|
+
self.PanelId = params.get("PanelId")
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
class ModifyMonitorPanelInfoRequest(AbstractModel):
|
|
88
|
+
"""ModifyMonitorPanelInfo请求参数结构体
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
def __init__(self):
|
|
92
|
+
r"""修改监控大盘信息
|
|
93
|
+
:param PanelId: 监控大盘ID。
|
|
94
|
+
:type PathPrefix: String
|
|
95
|
+
:param PanelName: 监控大盘名称。
|
|
96
|
+
:type PathPrefix: String
|
|
97
|
+
"""
|
|
98
|
+
self.PanelId = None
|
|
99
|
+
self.PanelName = None
|
|
100
|
+
|
|
101
|
+
def _deserialize(self, params):
|
|
102
|
+
if params.get("PanelId"):
|
|
103
|
+
self.PanelId = params.get("PanelId")
|
|
104
|
+
if params.get("PanelName"):
|
|
105
|
+
self.PanelName = params.get("PanelName")
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
class CreateMonitorPanelRequest(AbstractModel):
|
|
109
|
+
"""CreateMonitorPanel请求参数结构体
|
|
110
|
+
"""
|
|
111
|
+
|
|
112
|
+
def __init__(self):
|
|
113
|
+
r"""创建监控大盘
|
|
114
|
+
:param PanelName: 监控大盘名称。
|
|
115
|
+
:type PathPrefix: String
|
|
116
|
+
:param PanelType: 监控大盘类型。
|
|
117
|
+
:type PathPrefix: String
|
|
118
|
+
"""
|
|
119
|
+
self.PanelName = None
|
|
120
|
+
self.PanelType = None
|
|
121
|
+
|
|
122
|
+
def _deserialize(self, params):
|
|
123
|
+
if params.get("PanelName"):
|
|
124
|
+
self.PanelName = params.get("PanelName")
|
|
125
|
+
if params.get("PanelType"):
|
|
126
|
+
self.PanelType = params.get("PanelType")
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
class DeleteBatchInstancesRequest(AbstractModel):
|
|
130
|
+
"""DeleteBatchInstances请求参数结构体
|
|
131
|
+
"""
|
|
132
|
+
|
|
133
|
+
def __init__(self):
|
|
134
|
+
r"""批量删除实例
|
|
135
|
+
:param InstanceIds: 待从KDMP中删除的实例ID列表。
|
|
136
|
+
注意:实例从KDMP中删除并不影响实例本身运行。
|
|
137
|
+
:type PathPrefix: Array
|
|
138
|
+
"""
|
|
139
|
+
self.InstanceIds = None
|
|
140
|
+
|
|
141
|
+
def _deserialize(self, params):
|
|
142
|
+
if params.get("InstanceIds"):
|
|
143
|
+
self.InstanceIds = params.get("InstanceIds")
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
class InstanceStatisticsRequest(AbstractModel):
|
|
147
|
+
"""InstanceStatistics请求参数结构体
|
|
148
|
+
"""
|
|
149
|
+
|
|
150
|
+
def __init__(self):
|
|
151
|
+
r"""实例资产统计
|
|
152
|
+
"""
|
|
153
|
+
|
|
154
|
+
def _deserialize(self, params):
|
|
155
|
+
return
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
class DescribeMonitorPanelListRequest(AbstractModel):
|
|
159
|
+
"""DescribeMonitorPanelList请求参数结构体
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
def __init__(self):
|
|
163
|
+
r"""查询监控大盘列表
|
|
164
|
+
:param PanelIds: 指定监控大盘ID进行筛选。多个监控大盘ID用“,”隔开。
|
|
165
|
+
:type PathPrefix: String
|
|
166
|
+
:param PanelType: 指定监控大盘类型进行筛选。
|
|
167
|
+
:type PathPrefix: String
|
|
168
|
+
:param Page: 页数,从1开始,默认为1。
|
|
169
|
+
:type PathPrefix: Int
|
|
170
|
+
:param PageSize: 每页最多返回数据条目数。默认为10。
|
|
171
|
+
:type PathPrefix: Int
|
|
172
|
+
"""
|
|
173
|
+
self.PanelIds = None
|
|
174
|
+
self.PanelType = None
|
|
175
|
+
self.Page = None
|
|
176
|
+
self.PageSize = None
|
|
177
|
+
|
|
178
|
+
def _deserialize(self, params):
|
|
179
|
+
if params.get("PanelIds"):
|
|
180
|
+
self.PanelIds = params.get("PanelIds")
|
|
181
|
+
if params.get("PanelType"):
|
|
182
|
+
self.PanelType = params.get("PanelType")
|
|
183
|
+
if params.get("Page"):
|
|
184
|
+
self.Page = params.get("Page")
|
|
185
|
+
if params.get("PageSize"):
|
|
186
|
+
self.PageSize = params.get("PageSize")
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
class DescribeInstanceListRequest(AbstractModel):
|
|
190
|
+
"""DescribeInstanceList请求参数结构体
|
|
191
|
+
"""
|
|
192
|
+
|
|
193
|
+
def __init__(self):
|
|
194
|
+
r"""查询实例列表
|
|
195
|
+
:param InstanceId: 指定实例ID查询。
|
|
196
|
+
:type PathPrefix: String
|
|
197
|
+
:param DatabaseType: 指定数据库类型进行筛选。
|
|
198
|
+
:type PathPrefix: String
|
|
199
|
+
:param InstanceRegion: 指定实例机房进行筛选。
|
|
200
|
+
:type PathPrefix: String
|
|
201
|
+
:param InstanceName: 指定监控大盘类型查找。
|
|
202
|
+
:type PathPrefix: String
|
|
203
|
+
:param Ip: 指定实例Ip进行查找。
|
|
204
|
+
:type PathPrefix: String
|
|
205
|
+
:param Search: 支持按实例ID,实例名称,Ip地址模糊查找。
|
|
206
|
+
:type PathPrefix: String
|
|
207
|
+
:param Page: 页数,从1开始,默认为1。
|
|
208
|
+
:type PathPrefix: Int
|
|
209
|
+
:param PageSize: 每页返回数据条目数。默认为10。
|
|
210
|
+
:type PathPrefix: Int
|
|
211
|
+
"""
|
|
212
|
+
self.InstanceId = None
|
|
213
|
+
self.DatabaseType = None
|
|
214
|
+
self.InstanceRegion = None
|
|
215
|
+
self.InstanceName = None
|
|
216
|
+
self.Ip = None
|
|
217
|
+
self.Search = None
|
|
218
|
+
self.Page = None
|
|
219
|
+
self.PageSize = None
|
|
220
|
+
|
|
221
|
+
def _deserialize(self, params):
|
|
222
|
+
if params.get("InstanceId"):
|
|
223
|
+
self.InstanceId = params.get("InstanceId")
|
|
224
|
+
if params.get("DatabaseType"):
|
|
225
|
+
self.DatabaseType = params.get("DatabaseType")
|
|
226
|
+
if params.get("InstanceRegion"):
|
|
227
|
+
self.InstanceRegion = params.get("InstanceRegion")
|
|
228
|
+
if params.get("InstanceName"):
|
|
229
|
+
self.InstanceName = params.get("InstanceName")
|
|
230
|
+
if params.get("Ip"):
|
|
231
|
+
self.Ip = params.get("Ip")
|
|
232
|
+
if params.get("Search"):
|
|
233
|
+
self.Search = params.get("Search")
|
|
234
|
+
if params.get("Page"):
|
|
235
|
+
self.Page = params.get("Page")
|
|
236
|
+
if params.get("PageSize"):
|
|
237
|
+
self.PageSize = params.get("PageSize")
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
class ImportInstanceToDmpRequest(AbstractModel):
|
|
241
|
+
"""ImportInstanceToDmp请求参数结构体
|
|
242
|
+
"""
|
|
243
|
+
|
|
244
|
+
def __init__(self):
|
|
245
|
+
r"""导入实例至KDMP
|
|
246
|
+
:param InstanceRegion:
|
|
247
|
+
:type PathPrefix: String
|
|
248
|
+
:param DatabaseType:
|
|
249
|
+
:type PathPrefix: String
|
|
250
|
+
:param InstanceId:
|
|
251
|
+
:type PathPrefix: String
|
|
252
|
+
"""
|
|
253
|
+
self.InstanceRegion = None
|
|
254
|
+
self.DatabaseType = None
|
|
255
|
+
self.InstanceId = None
|
|
256
|
+
|
|
257
|
+
def _deserialize(self, params):
|
|
258
|
+
if params.get("InstanceRegion"):
|
|
259
|
+
self.InstanceRegion = params.get("InstanceRegion")
|
|
260
|
+
if params.get("DatabaseType"):
|
|
261
|
+
self.DatabaseType = params.get("DatabaseType")
|
|
262
|
+
if params.get("InstanceId"):
|
|
263
|
+
self.InstanceId = params.get("InstanceId")
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
class DescribeDedicatedClustersRequest(AbstractModel):
|
|
267
|
+
"""DescribeDedicatedClusters请求参数结构体
|
|
268
|
+
"""
|
|
269
|
+
|
|
270
|
+
def __init__(self):
|
|
271
|
+
r"""查询专属集群列表
|
|
272
|
+
"""
|
|
273
|
+
|
|
274
|
+
def _deserialize(self, params):
|
|
275
|
+
return
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
class DescribeDedicatedHostsRequest(AbstractModel):
|
|
279
|
+
"""DescribeDedicatedHosts请求参数结构体
|
|
280
|
+
"""
|
|
281
|
+
|
|
282
|
+
def __init__(self):
|
|
283
|
+
r"""查询专属集群主机列表
|
|
284
|
+
"""
|
|
285
|
+
|
|
286
|
+
def _deserialize(self, params):
|
|
287
|
+
return
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
class DescribeDatabaseSchemaRequest(AbstractModel):
|
|
291
|
+
"""DescribeDatabaseSchema请求参数结构体
|
|
292
|
+
"""
|
|
293
|
+
|
|
294
|
+
def __init__(self):
|
|
295
|
+
r"""查询数据库模式
|
|
296
|
+
:param DatabaseId: 数据库Id
|
|
297
|
+
:type PathPrefix: Int
|
|
298
|
+
"""
|
|
299
|
+
self.DatabaseId = None
|
|
300
|
+
|
|
301
|
+
def _deserialize(self, params):
|
|
302
|
+
if params.get("DatabaseId"):
|
|
303
|
+
self.DatabaseId = params.get("DatabaseId")
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
class DescribeDatabaseListRequest(AbstractModel):
|
|
307
|
+
"""DescribeDatabaseList请求参数结构体
|
|
308
|
+
"""
|
|
309
|
+
|
|
310
|
+
def __init__(self):
|
|
311
|
+
r"""查询数据库列表
|
|
312
|
+
"""
|
|
313
|
+
|
|
314
|
+
def _deserialize(self, params):
|
|
315
|
+
return
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
class DescribeHistorySQLRequest(AbstractModel):
|
|
319
|
+
"""DescribeHistorySQL请求参数结构体
|
|
320
|
+
"""
|
|
321
|
+
|
|
322
|
+
def __init__(self):
|
|
323
|
+
r"""查询执行历史SQL
|
|
324
|
+
"""
|
|
325
|
+
|
|
326
|
+
def _deserialize(self, params):
|
|
327
|
+
return
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
class StartExecuteSQLRequest(AbstractModel):
|
|
331
|
+
"""StartExecuteSQL请求参数结构体
|
|
332
|
+
"""
|
|
333
|
+
|
|
334
|
+
def __init__(self):
|
|
335
|
+
r"""开始执行sql
|
|
336
|
+
:param DatabaseName: 数据库名称
|
|
337
|
+
:type PathPrefix: String
|
|
338
|
+
:param Statement: SQL语句
|
|
339
|
+
:type PathPrefix: String
|
|
340
|
+
"""
|
|
341
|
+
self.DatabaseName = None
|
|
342
|
+
self.Statement = None
|
|
343
|
+
|
|
344
|
+
def _deserialize(self, params):
|
|
345
|
+
if params.get("DatabaseName"):
|
|
346
|
+
self.DatabaseName = params.get("DatabaseName")
|
|
347
|
+
if params.get("Statement"):
|
|
348
|
+
self.Statement = params.get("Statement")
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
class UpdateInstanceDatabaseRequest(AbstractModel):
|
|
352
|
+
"""UpdateInstanceDatabase请求参数结构体
|
|
353
|
+
"""
|
|
354
|
+
|
|
355
|
+
def __init__(self):
|
|
356
|
+
r"""刷新实例数据库信息
|
|
357
|
+
:param InstanceId: 实例Id.
|
|
358
|
+
:type PathPrefix: String
|
|
359
|
+
"""
|
|
360
|
+
self.InstanceId = None
|
|
361
|
+
|
|
362
|
+
def _deserialize(self, params):
|
|
363
|
+
if params.get("InstanceId"):
|
|
364
|
+
self.InstanceId = params.get("InstanceId")
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
class UpdateDatabaseTableRequest(AbstractModel):
|
|
368
|
+
"""UpdateDatabaseTable请求参数结构体
|
|
369
|
+
"""
|
|
370
|
+
|
|
371
|
+
def __init__(self):
|
|
372
|
+
r"""更新数据库表信息
|
|
373
|
+
:param DatabaseId:
|
|
374
|
+
:type PathPrefix: String
|
|
375
|
+
"""
|
|
376
|
+
self.DatabaseId = None
|
|
377
|
+
|
|
378
|
+
def _deserialize(self, params):
|
|
379
|
+
if params.get("DatabaseId"):
|
|
380
|
+
self.DatabaseId = params.get("DatabaseId")
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
class TestInstanceConnectionRequest(AbstractModel):
|
|
384
|
+
"""TestInstanceConnection请求参数结构体
|
|
385
|
+
"""
|
|
386
|
+
|
|
387
|
+
def __init__(self):
|
|
388
|
+
r"""测试实例连通性
|
|
389
|
+
:param InstanceId: 实例Id.
|
|
390
|
+
:type PathPrefix: String
|
|
391
|
+
:param DatabaseType: 数据库类型
|
|
392
|
+
:type PathPrefix: String
|
|
393
|
+
:param DatabaseVersion: 数据库版本
|
|
394
|
+
:type PathPrefix: String
|
|
395
|
+
:param Username: 用户名
|
|
396
|
+
:type PathPrefix: String
|
|
397
|
+
:param Password: 用户名密码
|
|
398
|
+
:type PathPrefix: String
|
|
399
|
+
:param UseSourceUser: 是否使用加入dmp时的用户名和密码
|
|
400
|
+
:type PathPrefix: Boolean
|
|
401
|
+
"""
|
|
402
|
+
self.InstanceId = None
|
|
403
|
+
self.DatabaseType = None
|
|
404
|
+
self.DatabaseVersion = None
|
|
405
|
+
self.Username = None
|
|
406
|
+
self.Password = None
|
|
407
|
+
self.UseSourceUser = None
|
|
408
|
+
|
|
409
|
+
def _deserialize(self, params):
|
|
410
|
+
if params.get("InstanceId"):
|
|
411
|
+
self.InstanceId = params.get("InstanceId")
|
|
412
|
+
if params.get("DatabaseType"):
|
|
413
|
+
self.DatabaseType = params.get("DatabaseType")
|
|
414
|
+
if params.get("DatabaseVersion"):
|
|
415
|
+
self.DatabaseVersion = params.get("DatabaseVersion")
|
|
416
|
+
if params.get("Username"):
|
|
417
|
+
self.Username = params.get("Username")
|
|
418
|
+
if params.get("Password"):
|
|
419
|
+
self.Password = params.get("Password")
|
|
420
|
+
if params.get("UseSourceUser"):
|
|
421
|
+
self.UseSourceUser = params.get("UseSourceUser")
|
|
422
|
+
|
|
423
|
+
|
|
File without changes
|
|
File without changes
|