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,1917 @@
|
|
|
1
|
+
from ksyun.common.abstract_model import AbstractModel
|
|
2
|
+
|
|
3
|
+
class CreateCacheClusterRequest(AbstractModel):
|
|
4
|
+
"""CreateCacheCluster请求参数结构体
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
def __init__(self):
|
|
8
|
+
r"""创建新实例
|
|
9
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
10
|
+
:type PathPrefix: String
|
|
11
|
+
:param Name: 缓存服务名称 支持6-64个中文或者英文字符,包括汉字,大小写字母,数字,下划线和中划线
|
|
12
|
+
:type PathPrefix: String
|
|
13
|
+
:param PassWord: 缓存服务密码。可不填(无密码)或者密码须符合以下规则:含大写字母、小写字母、数字、特殊字符(!@#$%^&*()_+=-)4中字符中的3种以上,且长度为8-30个字符。
|
|
14
|
+
:type PathPrefix: String
|
|
15
|
+
:param Mode: 缓存服务的模式。 默认:2,取值范围:2:单主从;3:自定义集群。
|
|
16
|
+
:type PathPrefix: Int
|
|
17
|
+
:param Vip: 缓存服务IP 默认为:自动分配,填写则为指定IP
|
|
18
|
+
:type PathPrefix: String
|
|
19
|
+
:param Capacity: 缓存服务容量。主从实例(mode为2)默认1G,集群必填。 缓存服务内存大小,以GB为单位,参照请见-[缓存服务容量](https://docs.ksyun.com/documents/38475)
|
|
20
|
+
:type PathPrefix: Int
|
|
21
|
+
:param VpcId: 虚拟专用网络 VPC网络ID,可在网络控制台获取
|
|
22
|
+
:type PathPrefix: String
|
|
23
|
+
:param VnetId: 终端子网ID 终端子网ID,可在网络控制台获取(注意类型必须为终端子网)
|
|
24
|
+
:type PathPrefix: String
|
|
25
|
+
:param BillType: 计费方式 默认值:1。可选值范围:1包年包月,5按量付费(按日月结),87按量付费。 参照请见-[计费方式](https://docs.ksyun.com/documents/37271)
|
|
26
|
+
:type PathPrefix: Int
|
|
27
|
+
:param Duration: 时长 默认:1,BillType=1(包年包月)必填,最大支持范围是(1 ~36月)
|
|
28
|
+
:type PathPrefix: Int
|
|
29
|
+
:param IamProjectId: 项目ID 默认为0:默认项目
|
|
30
|
+
:type PathPrefix: String
|
|
31
|
+
:param Protocol: 缓存服务版本 集群默认:4.0、单主从默认:4.0,参照请见-[缓存服务版本](https://docs.ksyun.com/documents/38472)
|
|
32
|
+
:type PathPrefix: String
|
|
33
|
+
:param BackupTimezone: 自动备份时间 不设置参数代表不开启自动备份,参照请见-[自动备份时间格式](https://docs.ksyun.com/documents/38478)
|
|
34
|
+
:type PathPrefix: String
|
|
35
|
+
:param SecurityGroupId: 安全组ID 安全组ID,可通过安全组模块的列表查询获取到具体的安全组ID 参见 [查询安全组列表](https://docs.ksyun.com/documents/38503) 。此接口为20年10月新增参数
|
|
36
|
+
:type PathPrefix: String
|
|
37
|
+
:param SlaveNum: 主从实例的只读节点数量 默认:0,取值范围:0~7(注意当缓存服务方式:2.单主从时生效)
|
|
38
|
+
:type PathPrefix: Int
|
|
39
|
+
:param SlaveVip: 主从实例的只读节点IP。 默认为:自动分配,填写则为指定IP。
|
|
40
|
+
(注意当缓存服务mode:2.单主从时生效)
|
|
41
|
+
:type PathPrefix: String
|
|
42
|
+
:param PrepareAzName: 主从实例从节点可用区az。 (注意当缓存服务mode:2.单主从时,且当前Region支持多az生效)
|
|
43
|
+
:type PathPrefix: String
|
|
44
|
+
:param RrAzName: 主从只读实例可用区az。(注意当缓存服务mode:2.单主从时,且当前Region支持多az生效)
|
|
45
|
+
:type PathPrefix: String
|
|
46
|
+
:param ShardNum: 集群分片数量。(注意当缓存服务mode:1. 集群时必填)。
|
|
47
|
+
:type PathPrefix: Int
|
|
48
|
+
:param ShardSize: 集群每个分片内存大小。(注意当缓存服务mode:1. 集群时必填)。
|
|
49
|
+
:type PathPrefix: Int
|
|
50
|
+
:param Separation: 是否开启读写分离。可选范围:0(关闭),1(开启)。默认为0。请注意,目前仅集群实例支持。
|
|
51
|
+
:type PathPrefix: Int
|
|
52
|
+
"""
|
|
53
|
+
self.AvailableZone = None
|
|
54
|
+
self.Name = None
|
|
55
|
+
self.PassWord = None
|
|
56
|
+
self.Mode = None
|
|
57
|
+
self.Vip = None
|
|
58
|
+
self.Capacity = None
|
|
59
|
+
self.VpcId = None
|
|
60
|
+
self.VnetId = None
|
|
61
|
+
self.BillType = None
|
|
62
|
+
self.Duration = None
|
|
63
|
+
self.IamProjectId = None
|
|
64
|
+
self.Protocol = None
|
|
65
|
+
self.BackupTimezone = None
|
|
66
|
+
self.SecurityGroupId = None
|
|
67
|
+
self.SlaveNum = None
|
|
68
|
+
self.SlaveVip = None
|
|
69
|
+
self.PrepareAzName = None
|
|
70
|
+
self.RrAzName = None
|
|
71
|
+
self.ShardNum = None
|
|
72
|
+
self.ShardSize = None
|
|
73
|
+
self.Separation = None
|
|
74
|
+
|
|
75
|
+
def _deserialize(self, params):
|
|
76
|
+
if params.get("AvailableZone"):
|
|
77
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
78
|
+
if params.get("Name"):
|
|
79
|
+
self.Name = params.get("Name")
|
|
80
|
+
if params.get("PassWord"):
|
|
81
|
+
self.PassWord = params.get("PassWord")
|
|
82
|
+
if params.get("Mode"):
|
|
83
|
+
self.Mode = params.get("Mode")
|
|
84
|
+
if params.get("Vip"):
|
|
85
|
+
self.Vip = params.get("Vip")
|
|
86
|
+
if params.get("Capacity"):
|
|
87
|
+
self.Capacity = params.get("Capacity")
|
|
88
|
+
if params.get("VpcId"):
|
|
89
|
+
self.VpcId = params.get("VpcId")
|
|
90
|
+
if params.get("VnetId"):
|
|
91
|
+
self.VnetId = params.get("VnetId")
|
|
92
|
+
if params.get("BillType"):
|
|
93
|
+
self.BillType = params.get("BillType")
|
|
94
|
+
if params.get("Duration"):
|
|
95
|
+
self.Duration = params.get("Duration")
|
|
96
|
+
if params.get("IamProjectId"):
|
|
97
|
+
self.IamProjectId = params.get("IamProjectId")
|
|
98
|
+
if params.get("Protocol"):
|
|
99
|
+
self.Protocol = params.get("Protocol")
|
|
100
|
+
if params.get("BackupTimezone"):
|
|
101
|
+
self.BackupTimezone = params.get("BackupTimezone")
|
|
102
|
+
if params.get("SecurityGroupId"):
|
|
103
|
+
self.SecurityGroupId = params.get("SecurityGroupId")
|
|
104
|
+
if params.get("SlaveNum"):
|
|
105
|
+
self.SlaveNum = params.get("SlaveNum")
|
|
106
|
+
if params.get("SlaveVip"):
|
|
107
|
+
self.SlaveVip = params.get("SlaveVip")
|
|
108
|
+
if params.get("PrepareAzName"):
|
|
109
|
+
self.PrepareAzName = params.get("PrepareAzName")
|
|
110
|
+
if params.get("RrAzName"):
|
|
111
|
+
self.RrAzName = params.get("RrAzName")
|
|
112
|
+
if params.get("ShardNum"):
|
|
113
|
+
self.ShardNum = params.get("ShardNum")
|
|
114
|
+
if params.get("ShardSize"):
|
|
115
|
+
self.ShardSize = params.get("ShardSize")
|
|
116
|
+
if params.get("Separation"):
|
|
117
|
+
self.Separation = params.get("Separation")
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
class DeleteCacheClusterRequest(AbstractModel):
|
|
121
|
+
"""DeleteCacheCluster请求参数结构体
|
|
122
|
+
"""
|
|
123
|
+
|
|
124
|
+
def __init__(self):
|
|
125
|
+
r"""删除实例。
|
|
126
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
127
|
+
:type PathPrefix: String
|
|
128
|
+
:param CacheId: 缓存服务ID
|
|
129
|
+
:type PathPrefix: String
|
|
130
|
+
"""
|
|
131
|
+
self.AvailableZone = None
|
|
132
|
+
self.CacheId = None
|
|
133
|
+
|
|
134
|
+
def _deserialize(self, params):
|
|
135
|
+
if params.get("AvailableZone"):
|
|
136
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
137
|
+
if params.get("CacheId"):
|
|
138
|
+
self.CacheId = params.get("CacheId")
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
class DescribeCacheClusterRequest(AbstractModel):
|
|
142
|
+
"""DescribeCacheCluster请求参数结构体
|
|
143
|
+
"""
|
|
144
|
+
|
|
145
|
+
def __init__(self):
|
|
146
|
+
r"""查询实例详情
|
|
147
|
+
:param CacheId: 缓存服务ID
|
|
148
|
+
:type PathPrefix: String
|
|
149
|
+
:param AvailableZone: 默认:对应机房的a区
|
|
150
|
+
:type PathPrefix: String
|
|
151
|
+
"""
|
|
152
|
+
self.CacheId = None
|
|
153
|
+
self.AvailableZone = None
|
|
154
|
+
|
|
155
|
+
def _deserialize(self, params):
|
|
156
|
+
if params.get("CacheId"):
|
|
157
|
+
self.CacheId = params.get("CacheId")
|
|
158
|
+
if params.get("AvailableZone"):
|
|
159
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
class DescribeCacheClustersRequest(AbstractModel):
|
|
163
|
+
"""DescribeCacheClusters请求参数结构体
|
|
164
|
+
"""
|
|
165
|
+
|
|
166
|
+
def __init__(self):
|
|
167
|
+
r"""查看实例列表
|
|
168
|
+
:param AvailableZone: 实例所属az。AvailableZone不作为实例筛选条件。
|
|
169
|
+
:type PathPrefix: String
|
|
170
|
+
:param CacheId: 缓存服务ID。
|
|
171
|
+
:type PathPrefix: String
|
|
172
|
+
:param Name: 缓存服务名称。
|
|
173
|
+
:type PathPrefix: String
|
|
174
|
+
:param Vip: 缓存服务IP。
|
|
175
|
+
:type PathPrefix: String
|
|
176
|
+
:param VpcId: 虚拟网络ID。 只适用于VPC网络下的缓存服务。
|
|
177
|
+
:type PathPrefix: String
|
|
178
|
+
:param VnetId: 终端子网ID 。 只适用于VPC网络下的缓存服务。
|
|
179
|
+
:type PathPrefix: String
|
|
180
|
+
:param Offset: 数据偏移量。 默认:0。
|
|
181
|
+
:type PathPrefix: String
|
|
182
|
+
:param Limit: 每页查询数量。 默认:10,取值范围为[1~100]。
|
|
183
|
+
:type PathPrefix: String
|
|
184
|
+
:param OrderBy: 排序字段。 传值为{name,asc,name,desc,created,asc,created,desc},默认按照创建时间降序,只有排序字段时,默认按照升序排列。
|
|
185
|
+
:type PathPrefix: String
|
|
186
|
+
:param IamProjectId: 项目ID。 默认:查询全部项目。可传入多个的项目ID,以‘,’(逗号)隔开。
|
|
187
|
+
:type PathPrefix: String
|
|
188
|
+
:param FuzzySearch: 模糊条件查询。 如:可根据ID,IP,名称进行过滤。
|
|
189
|
+
:type PathPrefix: String
|
|
190
|
+
:param Protocol: 版本号。 默认:查询所有,可选版本号:4.0、5.0、6.0。
|
|
191
|
+
:type PathPrefix: String
|
|
192
|
+
:param TagKey: 标签的key,标签名。标签过滤查询(必须同标签值一同传入)。
|
|
193
|
+
:type PathPrefix: String
|
|
194
|
+
:param TagValue: 标签的value,标签值。标签过滤查询(必须同标签名一同传入)。
|
|
195
|
+
:type PathPrefix: String
|
|
196
|
+
:param Mode: 根据实例的部署方式进行筛选。可选:singledatanode(主从实例),cluster(集群实例),enterprise(企业版)。
|
|
197
|
+
|
|
198
|
+
:type PathPrefix: String
|
|
199
|
+
"""
|
|
200
|
+
self.AvailableZone = None
|
|
201
|
+
self.CacheId = None
|
|
202
|
+
self.Name = None
|
|
203
|
+
self.Vip = None
|
|
204
|
+
self.VpcId = None
|
|
205
|
+
self.VnetId = None
|
|
206
|
+
self.Offset = None
|
|
207
|
+
self.Limit = None
|
|
208
|
+
self.OrderBy = None
|
|
209
|
+
self.IamProjectId = None
|
|
210
|
+
self.FuzzySearch = None
|
|
211
|
+
self.Protocol = None
|
|
212
|
+
self.TagKey = None
|
|
213
|
+
self.TagValue = None
|
|
214
|
+
self.Mode = None
|
|
215
|
+
|
|
216
|
+
def _deserialize(self, params):
|
|
217
|
+
if params.get("AvailableZone"):
|
|
218
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
219
|
+
if params.get("CacheId"):
|
|
220
|
+
self.CacheId = params.get("CacheId")
|
|
221
|
+
if params.get("Name"):
|
|
222
|
+
self.Name = params.get("Name")
|
|
223
|
+
if params.get("Vip"):
|
|
224
|
+
self.Vip = params.get("Vip")
|
|
225
|
+
if params.get("VpcId"):
|
|
226
|
+
self.VpcId = params.get("VpcId")
|
|
227
|
+
if params.get("VnetId"):
|
|
228
|
+
self.VnetId = params.get("VnetId")
|
|
229
|
+
if params.get("Offset"):
|
|
230
|
+
self.Offset = params.get("Offset")
|
|
231
|
+
if params.get("Limit"):
|
|
232
|
+
self.Limit = params.get("Limit")
|
|
233
|
+
if params.get("OrderBy"):
|
|
234
|
+
self.OrderBy = params.get("OrderBy")
|
|
235
|
+
if params.get("IamProjectId"):
|
|
236
|
+
self.IamProjectId = params.get("IamProjectId")
|
|
237
|
+
if params.get("FuzzySearch"):
|
|
238
|
+
self.FuzzySearch = params.get("FuzzySearch")
|
|
239
|
+
if params.get("Protocol"):
|
|
240
|
+
self.Protocol = params.get("Protocol")
|
|
241
|
+
if params.get("TagKey"):
|
|
242
|
+
self.TagKey = params.get("TagKey")
|
|
243
|
+
if params.get("TagValue"):
|
|
244
|
+
self.TagValue = params.get("TagValue")
|
|
245
|
+
if params.get("Mode"):
|
|
246
|
+
self.Mode = params.get("Mode")
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
class FlushCacheClusterRequest(AbstractModel):
|
|
250
|
+
"""FlushCacheCluster请求参数结构体
|
|
251
|
+
"""
|
|
252
|
+
|
|
253
|
+
def __init__(self):
|
|
254
|
+
r"""清空缓存。
|
|
255
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
256
|
+
:type PathPrefix: String
|
|
257
|
+
:param CacheId: 缓存服务ID。
|
|
258
|
+
:type PathPrefix: String
|
|
259
|
+
:param DatabaseNo: 指定清除的数据库。若指定多个数据库,用","(逗号)隔开,如:如:DatabaseNo=0,1,2,3,4,5,6,7,8,9,10
|
|
260
|
+
|
|
261
|
+
:type PathPrefix: String
|
|
262
|
+
"""
|
|
263
|
+
self.AvailableZone = None
|
|
264
|
+
self.CacheId = None
|
|
265
|
+
self.DatabaseNo = None
|
|
266
|
+
|
|
267
|
+
def _deserialize(self, params):
|
|
268
|
+
if params.get("AvailableZone"):
|
|
269
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
270
|
+
if params.get("CacheId"):
|
|
271
|
+
self.CacheId = params.get("CacheId")
|
|
272
|
+
if params.get("DatabaseNo"):
|
|
273
|
+
self.DatabaseNo = params.get("DatabaseNo")
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
class RenameCacheClusterRequest(AbstractModel):
|
|
277
|
+
"""RenameCacheCluster请求参数结构体
|
|
278
|
+
"""
|
|
279
|
+
|
|
280
|
+
def __init__(self):
|
|
281
|
+
r"""修改实例名称
|
|
282
|
+
:param CacheId: 实例Id
|
|
283
|
+
:type PathPrefix: String
|
|
284
|
+
:param Name: 实例新名称。
|
|
285
|
+
:type PathPrefix: String
|
|
286
|
+
"""
|
|
287
|
+
self.CacheId = None
|
|
288
|
+
self.Name = None
|
|
289
|
+
|
|
290
|
+
def _deserialize(self, params):
|
|
291
|
+
if params.get("CacheId"):
|
|
292
|
+
self.CacheId = params.get("CacheId")
|
|
293
|
+
if params.get("Name"):
|
|
294
|
+
self.Name = params.get("Name")
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
class ResizeCacheClusterRequest(AbstractModel):
|
|
298
|
+
"""ResizeCacheCluster请求参数结构体
|
|
299
|
+
"""
|
|
300
|
+
|
|
301
|
+
def __init__(self):
|
|
302
|
+
r"""更改实例配置
|
|
303
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
304
|
+
:type PathPrefix: String
|
|
305
|
+
:param CacheId: 缓存服务ID。
|
|
306
|
+
:type PathPrefix: String
|
|
307
|
+
:param Capacity: 更配目标容量。 缓存资源为单主从模式时,可选值为:{1, 2, 4, 8, 16, 32, 64}。
|
|
308
|
+
:type PathPrefix: Int
|
|
309
|
+
:param ShardSize: 仅集群实例使用。shardSize和shardNum不能同时更配,只能一次更配这两种参数中的一种。范围可参照创建实例的范围。自定义集群暂不支持降配。
|
|
310
|
+
:type PathPrefix: Int
|
|
311
|
+
:param ShardNum: 仅集群实例使用。shardSize和shardNum不能同时更配,只能一次更配这两种参数中的一种。范围可参照创建实例的范围。自定义集群暂不支持降配。
|
|
312
|
+
:type PathPrefix: Int
|
|
313
|
+
"""
|
|
314
|
+
self.AvailableZone = None
|
|
315
|
+
self.CacheId = None
|
|
316
|
+
self.Capacity = None
|
|
317
|
+
self.ShardSize = None
|
|
318
|
+
self.ShardNum = None
|
|
319
|
+
|
|
320
|
+
def _deserialize(self, params):
|
|
321
|
+
if params.get("AvailableZone"):
|
|
322
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
323
|
+
if params.get("CacheId"):
|
|
324
|
+
self.CacheId = params.get("CacheId")
|
|
325
|
+
if params.get("Capacity"):
|
|
326
|
+
self.Capacity = params.get("Capacity")
|
|
327
|
+
if params.get("ShardSize"):
|
|
328
|
+
self.ShardSize = params.get("ShardSize")
|
|
329
|
+
if params.get("ShardNum"):
|
|
330
|
+
self.ShardNum = params.get("ShardNum")
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
class DescribeCacheParametersRequest(AbstractModel):
|
|
334
|
+
"""DescribeCacheParameters请求参数结构体
|
|
335
|
+
"""
|
|
336
|
+
|
|
337
|
+
def __init__(self):
|
|
338
|
+
r"""查询缓存服务参数
|
|
339
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
340
|
+
:type PathPrefix: String
|
|
341
|
+
:param CacheId: 缓存服务ID。
|
|
342
|
+
:type PathPrefix: String
|
|
343
|
+
"""
|
|
344
|
+
self.AvailableZone = None
|
|
345
|
+
self.CacheId = None
|
|
346
|
+
|
|
347
|
+
def _deserialize(self, params):
|
|
348
|
+
if params.get("AvailableZone"):
|
|
349
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
350
|
+
if params.get("CacheId"):
|
|
351
|
+
self.CacheId = params.get("CacheId")
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
class SetCacheParametersRequest(AbstractModel):
|
|
355
|
+
"""SetCacheParameters请求参数结构体
|
|
356
|
+
"""
|
|
357
|
+
|
|
358
|
+
def __init__(self):
|
|
359
|
+
r"""设置缓存服务参数
|
|
360
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
361
|
+
:type PathPrefix: String
|
|
362
|
+
:param CacheId: 缓存服务ID 缓存服务ID
|
|
363
|
+
:type PathPrefix: String
|
|
364
|
+
:param Protocol: 参数组版本 参数组版本,版本号:4.0,5.0
|
|
365
|
+
:type PathPrefix: String
|
|
366
|
+
:param Parameters.ParameterName: 参数名称 N:表示数字,示例(Parameters.ParameterName.1=xx&Parameters.ParameterName.2=yy)参考请见:[参数组参数](https://docs.ksyun.com/documents/38470)(默认不修改)
|
|
367
|
+
:type PathPrefix: Filter
|
|
368
|
+
:param Parameters.ParameterValue: 参数值 N:表示数字,示例(Parameters.ParameterValue.1=xx&Parameters.ParameterValue.2=yy)参考请见:参数组参数(默认不修改)
|
|
369
|
+
:type PathPrefix: Filter
|
|
370
|
+
:param ResetAllParameters: 是否为重置参数 默认:false;重置实例参数时修改为true,参数值/参数名不传
|
|
371
|
+
:type PathPrefix: Boolean
|
|
372
|
+
"""
|
|
373
|
+
self.AvailableZone = None
|
|
374
|
+
self.CacheId = None
|
|
375
|
+
self.Protocol = None
|
|
376
|
+
self.Parameters_ParameterName = None
|
|
377
|
+
self.Parameters_ParameterValue = None
|
|
378
|
+
self.ResetAllParameters = None
|
|
379
|
+
|
|
380
|
+
def _deserialize(self, params):
|
|
381
|
+
if params.get("AvailableZone"):
|
|
382
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
383
|
+
if params.get("CacheId"):
|
|
384
|
+
self.CacheId = params.get("CacheId")
|
|
385
|
+
if params.get("Protocol"):
|
|
386
|
+
self.Protocol = params.get("Protocol")
|
|
387
|
+
if params.get("Parameters.ParameterName"):
|
|
388
|
+
self.Parameters_ParameterName = params.get("Parameters.ParameterName")
|
|
389
|
+
if params.get("Parameters.ParameterValue"):
|
|
390
|
+
self.Parameters_ParameterValue = params.get("Parameters.ParameterValue")
|
|
391
|
+
if params.get("ResetAllParameters"):
|
|
392
|
+
self.ResetAllParameters = params.get("ResetAllParameters")
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
class DescribeCacheDefaultParametersRequest(AbstractModel):
|
|
396
|
+
"""DescribeCacheDefaultParameters请求参数结构体
|
|
397
|
+
"""
|
|
398
|
+
|
|
399
|
+
def __init__(self):
|
|
400
|
+
r"""查询实例默认参数
|
|
401
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
402
|
+
:type PathPrefix: String
|
|
403
|
+
:param ParamVersion: 参数组版本 ,默认是2.8版本。 可选2.8,3.0,4.0,5.0,6.0
|
|
404
|
+
:type PathPrefix: String
|
|
405
|
+
"""
|
|
406
|
+
self.AvailableZone = None
|
|
407
|
+
self.ParamVersion = None
|
|
408
|
+
|
|
409
|
+
def _deserialize(self, params):
|
|
410
|
+
if params.get("AvailableZone"):
|
|
411
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
412
|
+
if params.get("ParamVersion"):
|
|
413
|
+
self.ParamVersion = params.get("ParamVersion")
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
class SetCacheParameterGroupRequest(AbstractModel):
|
|
417
|
+
"""SetCacheParameterGroup请求参数结构体
|
|
418
|
+
"""
|
|
419
|
+
|
|
420
|
+
def __init__(self):
|
|
421
|
+
r"""应用参数组,将参数组中所有的参数的当前值应用到指定的缓存服务对应参数上
|
|
422
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
423
|
+
:type PathPrefix: String
|
|
424
|
+
:param CacheParameterGroupIds: 参数组ID。支持同时应用server参数组和proxy参数组,以','分隔。
|
|
425
|
+
:type PathPrefix: String
|
|
426
|
+
:param CacheId: 缓存服务ID。
|
|
427
|
+
:type PathPrefix: String
|
|
428
|
+
"""
|
|
429
|
+
self.AvailableZone = None
|
|
430
|
+
self.CacheParameterGroupIds = None
|
|
431
|
+
self.CacheId = None
|
|
432
|
+
|
|
433
|
+
def _deserialize(self, params):
|
|
434
|
+
if params.get("AvailableZone"):
|
|
435
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
436
|
+
if params.get("CacheParameterGroupIds"):
|
|
437
|
+
self.CacheParameterGroupIds = params.get("CacheParameterGroupIds")
|
|
438
|
+
if params.get("CacheId"):
|
|
439
|
+
self.CacheId = params.get("CacheId")
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
class CreateCacheParameterGroupRequest(AbstractModel):
|
|
443
|
+
"""CreateCacheParameterGroup请求参数结构体
|
|
444
|
+
"""
|
|
445
|
+
|
|
446
|
+
def __init__(self):
|
|
447
|
+
r"""创建参数组
|
|
448
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
449
|
+
:type PathPrefix: String
|
|
450
|
+
:param Name: 参数组名称。 支持1-64个中文或者英文字符,包括汉字,大小写字母,数字,下划线和中划线。
|
|
451
|
+
:type PathPrefix: String
|
|
452
|
+
:param Description: 参数组描述。
|
|
453
|
+
:type PathPrefix: String
|
|
454
|
+
:param ParamVersion: 参数组版本。
|
|
455
|
+
:type PathPrefix: String
|
|
456
|
+
:param Parameters: 参数名称 N:表示数字,示例(Parameters.ParameterName.1=xx&Parameters.ParameterName.2=yy)参考请见-[参数组参数](https://docs.ksyun.com/documents/38470)
|
|
457
|
+
:type PathPrefix: Filter
|
|
458
|
+
"""
|
|
459
|
+
self.AvailableZone = None
|
|
460
|
+
self.Name = None
|
|
461
|
+
self.Description = None
|
|
462
|
+
self.ParamVersion = None
|
|
463
|
+
self.Parameters = None
|
|
464
|
+
|
|
465
|
+
def _deserialize(self, params):
|
|
466
|
+
if params.get("AvailableZone"):
|
|
467
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
468
|
+
if params.get("Name"):
|
|
469
|
+
self.Name = params.get("Name")
|
|
470
|
+
if params.get("Description"):
|
|
471
|
+
self.Description = params.get("Description")
|
|
472
|
+
if params.get("ParamVersion"):
|
|
473
|
+
self.ParamVersion = params.get("ParamVersion")
|
|
474
|
+
if params.get("Parameters"):
|
|
475
|
+
self.Parameters = params.get("Parameters")
|
|
476
|
+
|
|
477
|
+
|
|
478
|
+
class DeleteCacheParameterGroupRequest(AbstractModel):
|
|
479
|
+
"""DeleteCacheParameterGroup请求参数结构体
|
|
480
|
+
"""
|
|
481
|
+
|
|
482
|
+
def __init__(self):
|
|
483
|
+
r"""删除参数组
|
|
484
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
485
|
+
:type PathPrefix: String
|
|
486
|
+
:param CacheParameterGroupId: 参数组ID。
|
|
487
|
+
:type PathPrefix: String
|
|
488
|
+
"""
|
|
489
|
+
self.AvailableZone = None
|
|
490
|
+
self.CacheParameterGroupId = None
|
|
491
|
+
|
|
492
|
+
def _deserialize(self, params):
|
|
493
|
+
if params.get("AvailableZone"):
|
|
494
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
495
|
+
if params.get("CacheParameterGroupId"):
|
|
496
|
+
self.CacheParameterGroupId = params.get("CacheParameterGroupId")
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
class ModifyCacheParameterGroupRequest(AbstractModel):
|
|
500
|
+
"""ModifyCacheParameterGroup请求参数结构体
|
|
501
|
+
"""
|
|
502
|
+
|
|
503
|
+
def __init__(self):
|
|
504
|
+
r"""修改参数组
|
|
505
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
506
|
+
:type PathPrefix: String
|
|
507
|
+
:param Name: 参数组名称 支持1-64个中文或者英文字符,包括汉字,大小写字母,数字,下划线和中划线
|
|
508
|
+
:type PathPrefix: String
|
|
509
|
+
:param Description: 参数组描述 参数组描述
|
|
510
|
+
:type PathPrefix: String
|
|
511
|
+
:param ParamVersion: 参数组版本。 必须和修改前保持一致
|
|
512
|
+
:type PathPrefix: String
|
|
513
|
+
:param CacheParameterGroupId: 参数组ID 参数组ID
|
|
514
|
+
:type PathPrefix: String
|
|
515
|
+
:param Parameters: 参数名称 N:表示数字,示例(Parameters.ParameterName.1=xx&Parameters.ParameterName.2=yy)参考请见 - [参数组参数](https://docs.ksyun.com/documents/38470)
|
|
516
|
+
:type PathPrefix: Filter
|
|
517
|
+
"""
|
|
518
|
+
self.AvailableZone = None
|
|
519
|
+
self.Name = None
|
|
520
|
+
self.Description = None
|
|
521
|
+
self.ParamVersion = None
|
|
522
|
+
self.CacheParameterGroupId = None
|
|
523
|
+
self.Parameters = None
|
|
524
|
+
|
|
525
|
+
def _deserialize(self, params):
|
|
526
|
+
if params.get("AvailableZone"):
|
|
527
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
528
|
+
if params.get("Name"):
|
|
529
|
+
self.Name = params.get("Name")
|
|
530
|
+
if params.get("Description"):
|
|
531
|
+
self.Description = params.get("Description")
|
|
532
|
+
if params.get("ParamVersion"):
|
|
533
|
+
self.ParamVersion = params.get("ParamVersion")
|
|
534
|
+
if params.get("CacheParameterGroupId"):
|
|
535
|
+
self.CacheParameterGroupId = params.get("CacheParameterGroupId")
|
|
536
|
+
if params.get("Parameters"):
|
|
537
|
+
self.Parameters = params.get("Parameters")
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
class DescribeCacheParameterGroupsRequest(AbstractModel):
|
|
541
|
+
"""DescribeCacheParameterGroups请求参数结构体
|
|
542
|
+
"""
|
|
543
|
+
|
|
544
|
+
def __init__(self):
|
|
545
|
+
r"""根据参数组的名称以及ID进行参数组查询
|
|
546
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
547
|
+
:type PathPrefix: String
|
|
548
|
+
:param Name: 参数组名称
|
|
549
|
+
:type PathPrefix: String
|
|
550
|
+
:param CacheParameterGroupId: 参数组ID 参数组ID
|
|
551
|
+
:type PathPrefix: String
|
|
552
|
+
:param ParamVersion: 参数组版本 参数组版本
|
|
553
|
+
:type PathPrefix: String
|
|
554
|
+
:param Offset: 数据偏移量 默认:0
|
|
555
|
+
:type PathPrefix: String
|
|
556
|
+
:param Limit: 每页数量 默认:10,取值范围为[1~10000]
|
|
557
|
+
:type PathPrefix: String
|
|
558
|
+
"""
|
|
559
|
+
self.AvailableZone = None
|
|
560
|
+
self.Name = None
|
|
561
|
+
self.CacheParameterGroupId = None
|
|
562
|
+
self.ParamVersion = None
|
|
563
|
+
self.Offset = None
|
|
564
|
+
self.Limit = None
|
|
565
|
+
|
|
566
|
+
def _deserialize(self, params):
|
|
567
|
+
if params.get("AvailableZone"):
|
|
568
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
569
|
+
if params.get("Name"):
|
|
570
|
+
self.Name = params.get("Name")
|
|
571
|
+
if params.get("CacheParameterGroupId"):
|
|
572
|
+
self.CacheParameterGroupId = params.get("CacheParameterGroupId")
|
|
573
|
+
if params.get("ParamVersion"):
|
|
574
|
+
self.ParamVersion = params.get("ParamVersion")
|
|
575
|
+
if params.get("Offset"):
|
|
576
|
+
self.Offset = params.get("Offset")
|
|
577
|
+
if params.get("Limit"):
|
|
578
|
+
self.Limit = params.get("Limit")
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
class DescribeCacheParameterGroupRequest(AbstractModel):
|
|
582
|
+
"""DescribeCacheParameterGroup请求参数结构体
|
|
583
|
+
"""
|
|
584
|
+
|
|
585
|
+
def __init__(self):
|
|
586
|
+
r"""查询参数组详情
|
|
587
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
588
|
+
:type PathPrefix: String
|
|
589
|
+
:param CacheParameterGroupId: 参数组ID。
|
|
590
|
+
:type PathPrefix: String
|
|
591
|
+
"""
|
|
592
|
+
self.AvailableZone = None
|
|
593
|
+
self.CacheParameterGroupId = None
|
|
594
|
+
|
|
595
|
+
def _deserialize(self, params):
|
|
596
|
+
if params.get("AvailableZone"):
|
|
597
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
598
|
+
if params.get("CacheParameterGroupId"):
|
|
599
|
+
self.CacheParameterGroupId = params.get("CacheParameterGroupId")
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
class SetTimingSnapshotRequest(AbstractModel):
|
|
603
|
+
"""SetTimingSnapshot请求参数结构体
|
|
604
|
+
"""
|
|
605
|
+
|
|
606
|
+
def __init__(self):
|
|
607
|
+
r"""设置备份时间
|
|
608
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
609
|
+
:type PathPrefix: String
|
|
610
|
+
:param TimingSwitch: 备份开关 On/Off:开/关
|
|
611
|
+
:type PathPrefix: String
|
|
612
|
+
:param CacheId: 缓存服务ID 缓存服务ID
|
|
613
|
+
:type PathPrefix: String
|
|
614
|
+
:param Timezone: 时段 TimingSwitch=On时,该项必填,参照请见-[自动备份的时间格式](https://docs.ksyun.com/documents/38478)
|
|
615
|
+
:type PathPrefix: String
|
|
616
|
+
:param Bigkey: 是否进行大key分析,默认false
|
|
617
|
+
:type PathPrefix: Boolean
|
|
618
|
+
"""
|
|
619
|
+
self.AvailableZone = None
|
|
620
|
+
self.TimingSwitch = None
|
|
621
|
+
self.CacheId = None
|
|
622
|
+
self.Timezone = None
|
|
623
|
+
self.Bigkey = None
|
|
624
|
+
|
|
625
|
+
def _deserialize(self, params):
|
|
626
|
+
if params.get("AvailableZone"):
|
|
627
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
628
|
+
if params.get("TimingSwitch"):
|
|
629
|
+
self.TimingSwitch = params.get("TimingSwitch")
|
|
630
|
+
if params.get("CacheId"):
|
|
631
|
+
self.CacheId = params.get("CacheId")
|
|
632
|
+
if params.get("Timezone"):
|
|
633
|
+
self.Timezone = params.get("Timezone")
|
|
634
|
+
if params.get("Bigkey"):
|
|
635
|
+
self.Bigkey = params.get("Bigkey")
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
class DeleteSnapshotRequest(AbstractModel):
|
|
639
|
+
"""DeleteSnapshot请求参数结构体
|
|
640
|
+
"""
|
|
641
|
+
|
|
642
|
+
def __init__(self):
|
|
643
|
+
r"""删除实例备份
|
|
644
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
645
|
+
:type PathPrefix: String
|
|
646
|
+
:param SnapshotId: 备份ID。
|
|
647
|
+
:type PathPrefix: String
|
|
648
|
+
"""
|
|
649
|
+
self.AvailableZone = None
|
|
650
|
+
self.SnapshotId = None
|
|
651
|
+
|
|
652
|
+
def _deserialize(self, params):
|
|
653
|
+
if params.get("AvailableZone"):
|
|
654
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
655
|
+
if params.get("SnapshotId"):
|
|
656
|
+
self.SnapshotId = params.get("SnapshotId")
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
class RenameSnapshotRequest(AbstractModel):
|
|
660
|
+
"""RenameSnapshot请求参数结构体
|
|
661
|
+
"""
|
|
662
|
+
|
|
663
|
+
def __init__(self):
|
|
664
|
+
r"""重命名备份
|
|
665
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
666
|
+
:type PathPrefix: String
|
|
667
|
+
:param Name: 备份名称。 支持6-64个中文或者英文字符,包括汉字,大小写字母,数字,下划线和中划线。
|
|
668
|
+
:type PathPrefix: String
|
|
669
|
+
:param SnapshotId: 备份ID。
|
|
670
|
+
:type PathPrefix: String
|
|
671
|
+
"""
|
|
672
|
+
self.AvailableZone = None
|
|
673
|
+
self.Name = None
|
|
674
|
+
self.SnapshotId = None
|
|
675
|
+
|
|
676
|
+
def _deserialize(self, params):
|
|
677
|
+
if params.get("AvailableZone"):
|
|
678
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
679
|
+
if params.get("Name"):
|
|
680
|
+
self.Name = params.get("Name")
|
|
681
|
+
if params.get("SnapshotId"):
|
|
682
|
+
self.SnapshotId = params.get("SnapshotId")
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
class RestoreSnapshotRequest(AbstractModel):
|
|
686
|
+
"""RestoreSnapshot请求参数结构体
|
|
687
|
+
"""
|
|
688
|
+
|
|
689
|
+
def __init__(self):
|
|
690
|
+
r"""将实例恢复至备份
|
|
691
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
692
|
+
:type PathPrefix: String
|
|
693
|
+
:param Cacheld: 缓存服务ID。
|
|
694
|
+
:type PathPrefix: String
|
|
695
|
+
:param Type: 备份类型 Default / BaseKS3
|
|
696
|
+
:type PathPrefix: String
|
|
697
|
+
:param SnapshotId: 备份ID。 Type值为Default时,必选项。
|
|
698
|
+
:type PathPrefix: String
|
|
699
|
+
:param BucketName: 存储空间名称。 Type值为BaseKS3时,必选项。
|
|
700
|
+
:type PathPrefix: String
|
|
701
|
+
:param ObjectName: 文件名称。 Type值为BaseKS3时,必选项
|
|
702
|
+
:type PathPrefix: String
|
|
703
|
+
"""
|
|
704
|
+
self.AvailableZone = None
|
|
705
|
+
self.Cacheld = None
|
|
706
|
+
self.Type = None
|
|
707
|
+
self.SnapshotId = None
|
|
708
|
+
self.BucketName = None
|
|
709
|
+
self.ObjectName = None
|
|
710
|
+
|
|
711
|
+
def _deserialize(self, params):
|
|
712
|
+
if params.get("AvailableZone"):
|
|
713
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
714
|
+
if params.get("Cacheld"):
|
|
715
|
+
self.Cacheld = params.get("Cacheld")
|
|
716
|
+
if params.get("Type"):
|
|
717
|
+
self.Type = params.get("Type")
|
|
718
|
+
if params.get("SnapshotId"):
|
|
719
|
+
self.SnapshotId = params.get("SnapshotId")
|
|
720
|
+
if params.get("BucketName"):
|
|
721
|
+
self.BucketName = params.get("BucketName")
|
|
722
|
+
if params.get("ObjectName"):
|
|
723
|
+
self.ObjectName = params.get("ObjectName")
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
class DescribeSnapshotsRequest(AbstractModel):
|
|
727
|
+
"""DescribeSnapshots请求参数结构体
|
|
728
|
+
"""
|
|
729
|
+
|
|
730
|
+
def __init__(self):
|
|
731
|
+
r"""获取备份列表
|
|
732
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
733
|
+
:type PathPrefix: String
|
|
734
|
+
:param CacheId: 缓存服务ID
|
|
735
|
+
:type PathPrefix: String
|
|
736
|
+
"""
|
|
737
|
+
self.AvailableZone = None
|
|
738
|
+
self.CacheId = None
|
|
739
|
+
|
|
740
|
+
def _deserialize(self, params):
|
|
741
|
+
if params.get("AvailableZone"):
|
|
742
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
743
|
+
if params.get("CacheId"):
|
|
744
|
+
self.CacheId = params.get("CacheId")
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
class DownloadSnapshotRequest(AbstractModel):
|
|
748
|
+
"""DownloadSnapshot请求参数结构体
|
|
749
|
+
"""
|
|
750
|
+
|
|
751
|
+
def __init__(self):
|
|
752
|
+
r"""下载实例备份
|
|
753
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
754
|
+
:type PathPrefix: String
|
|
755
|
+
:param SnapshotId: 备份ID
|
|
756
|
+
:type PathPrefix: String
|
|
757
|
+
"""
|
|
758
|
+
self.AvailableZone = None
|
|
759
|
+
self.SnapshotId = None
|
|
760
|
+
|
|
761
|
+
def _deserialize(self, params):
|
|
762
|
+
if params.get("AvailableZone"):
|
|
763
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
764
|
+
if params.get("SnapshotId"):
|
|
765
|
+
self.SnapshotId = params.get("SnapshotId")
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
class ExportSnapshotRequest(AbstractModel):
|
|
769
|
+
"""ExportSnapshot请求参数结构体
|
|
770
|
+
"""
|
|
771
|
+
|
|
772
|
+
def __init__(self):
|
|
773
|
+
r"""导出备份至ks3
|
|
774
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
775
|
+
:type PathPrefix: String
|
|
776
|
+
:param SnapshotId: 备份ID
|
|
777
|
+
:type PathPrefix: String
|
|
778
|
+
:param BucketName: 存储空间名称
|
|
779
|
+
:type PathPrefix: String
|
|
780
|
+
:param ObjectName: 文件名称
|
|
781
|
+
:type PathPrefix: String
|
|
782
|
+
:param CacheId: 实例Id。
|
|
783
|
+
:type PathPrefix: String
|
|
784
|
+
"""
|
|
785
|
+
self.AvailableZone = None
|
|
786
|
+
self.SnapshotId = None
|
|
787
|
+
self.BucketName = None
|
|
788
|
+
self.ObjectName = None
|
|
789
|
+
self.CacheId = None
|
|
790
|
+
|
|
791
|
+
def _deserialize(self, params):
|
|
792
|
+
if params.get("AvailableZone"):
|
|
793
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
794
|
+
if params.get("SnapshotId"):
|
|
795
|
+
self.SnapshotId = params.get("SnapshotId")
|
|
796
|
+
if params.get("BucketName"):
|
|
797
|
+
self.BucketName = params.get("BucketName")
|
|
798
|
+
if params.get("ObjectName"):
|
|
799
|
+
self.ObjectName = params.get("ObjectName")
|
|
800
|
+
if params.get("CacheId"):
|
|
801
|
+
self.CacheId = params.get("CacheId")
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
class DescribeRegionsRequest(AbstractModel):
|
|
805
|
+
"""DescribeRegions请求参数结构体
|
|
806
|
+
"""
|
|
807
|
+
|
|
808
|
+
def __init__(self):
|
|
809
|
+
r"""查询地域列表
|
|
810
|
+
"""
|
|
811
|
+
|
|
812
|
+
def _deserialize(self, params):
|
|
813
|
+
return
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
class DescribeAvailabilityZonesRequest(AbstractModel):
|
|
817
|
+
"""DescribeAvailabilityZones请求参数结构体
|
|
818
|
+
"""
|
|
819
|
+
|
|
820
|
+
def __init__(self):
|
|
821
|
+
r"""查询可用区列表
|
|
822
|
+
"""
|
|
823
|
+
|
|
824
|
+
def _deserialize(self, params):
|
|
825
|
+
return
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
class DescribeCacheByRoleRequest(AbstractModel):
|
|
829
|
+
"""DescribeCacheByRole请求参数结构体
|
|
830
|
+
"""
|
|
831
|
+
|
|
832
|
+
def __init__(self):
|
|
833
|
+
r"""通过角色查询缓存服务列表接口
|
|
834
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
835
|
+
:type PathPrefix: String
|
|
836
|
+
:param CacheId: 缓存服务ID
|
|
837
|
+
:type PathPrefix: String
|
|
838
|
+
:param Proxy: 节点角色。默认查询全部。可选:MASTER、SLAVE、READONLY、PROXY
|
|
839
|
+
:type PathPrefix: String
|
|
840
|
+
"""
|
|
841
|
+
self.AvailableZone = None
|
|
842
|
+
self.CacheId = None
|
|
843
|
+
self.Proxy = None
|
|
844
|
+
|
|
845
|
+
def _deserialize(self, params):
|
|
846
|
+
if params.get("AvailableZone"):
|
|
847
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
848
|
+
if params.get("CacheId"):
|
|
849
|
+
self.CacheId = params.get("CacheId")
|
|
850
|
+
if params.get("Proxy"):
|
|
851
|
+
self.Proxy = params.get("Proxy")
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
class StatisticDBInstancesRequest(AbstractModel):
|
|
855
|
+
"""StatisticDBInstances请求参数结构体
|
|
856
|
+
"""
|
|
857
|
+
|
|
858
|
+
def __init__(self):
|
|
859
|
+
r"""实例概览统计
|
|
860
|
+
"""
|
|
861
|
+
|
|
862
|
+
def _deserialize(self, params):
|
|
863
|
+
return
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
class UpdatePasswordRequest(AbstractModel):
|
|
867
|
+
"""UpdatePassword请求参数结构体
|
|
868
|
+
"""
|
|
869
|
+
|
|
870
|
+
def __init__(self):
|
|
871
|
+
r"""修改密码。
|
|
872
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
873
|
+
:type PathPrefix: String
|
|
874
|
+
:param CacheId: 缓存服务ID
|
|
875
|
+
:type PathPrefix: String
|
|
876
|
+
:param Password: 缓存服务密码。可不填(无密码)或者密码须符合以下规则:含大写字母、小写字母、数字、特殊字符(!@#$%^&*()_+=-)4中字符中的3种以上,且长度为8-30个字符。
|
|
877
|
+
:type PathPrefix: String
|
|
878
|
+
"""
|
|
879
|
+
self.AvailableZone = None
|
|
880
|
+
self.CacheId = None
|
|
881
|
+
self.Password = None
|
|
882
|
+
|
|
883
|
+
def _deserialize(self, params):
|
|
884
|
+
if params.get("AvailableZone"):
|
|
885
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
886
|
+
if params.get("CacheId"):
|
|
887
|
+
self.CacheId = params.get("CacheId")
|
|
888
|
+
if params.get("Password"):
|
|
889
|
+
self.Password = params.get("Password")
|
|
890
|
+
|
|
891
|
+
|
|
892
|
+
class RestartCacheClusterRequest(AbstractModel):
|
|
893
|
+
"""RestartCacheCluster请求参数结构体
|
|
894
|
+
"""
|
|
895
|
+
|
|
896
|
+
def __init__(self):
|
|
897
|
+
r"""重启实例。
|
|
898
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
899
|
+
:type PathPrefix: String
|
|
900
|
+
:param CacheId: 缓存服务ID
|
|
901
|
+
:type PathPrefix: String
|
|
902
|
+
"""
|
|
903
|
+
self.AvailableZone = None
|
|
904
|
+
self.CacheId = None
|
|
905
|
+
|
|
906
|
+
def _deserialize(self, params):
|
|
907
|
+
if params.get("AvailableZone"):
|
|
908
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
909
|
+
if params.get("CacheId"):
|
|
910
|
+
self.CacheId = params.get("CacheId")
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
class AllocateEipRequest(AbstractModel):
|
|
914
|
+
"""AllocateEip请求参数结构体
|
|
915
|
+
"""
|
|
916
|
+
|
|
917
|
+
def __init__(self):
|
|
918
|
+
r"""申请外网EIP
|
|
919
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
920
|
+
:type PathPrefix: String
|
|
921
|
+
:param CacheId: 缓存服务ID。
|
|
922
|
+
:type PathPrefix: String
|
|
923
|
+
:param InsType: 实例类型。 1:master 仅给主实例上绑定</br> 2:readonly 仅给只读上绑定</br>3:all 给两者上绑定</br>注释:集群版本不需要该参数,主从版需要该参数。
|
|
924
|
+
:type PathPrefix: String
|
|
925
|
+
"""
|
|
926
|
+
self.AvailableZone = None
|
|
927
|
+
self.CacheId = None
|
|
928
|
+
self.InsType = None
|
|
929
|
+
|
|
930
|
+
def _deserialize(self, params):
|
|
931
|
+
if params.get("AvailableZone"):
|
|
932
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
933
|
+
if params.get("CacheId"):
|
|
934
|
+
self.CacheId = params.get("CacheId")
|
|
935
|
+
if params.get("InsType"):
|
|
936
|
+
self.InsType = params.get("InsType")
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
class DeallocateEipRequest(AbstractModel):
|
|
940
|
+
"""DeallocateEip请求参数结构体
|
|
941
|
+
"""
|
|
942
|
+
|
|
943
|
+
def __init__(self):
|
|
944
|
+
r"""释放外网EIP
|
|
945
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
946
|
+
:type PathPrefix: String
|
|
947
|
+
:param CacheId: 缓存服务ID 缓存服务ID
|
|
948
|
+
:type PathPrefix: String
|
|
949
|
+
:param InsType: 实例类型 1:master 仅给主节点解绑</br>2:readonly 仅给只读节点解绑</br>3:all 给两者都解绑</br>注释:集群版本不需要该参数,主从版需要该参数
|
|
950
|
+
:type PathPrefix: String
|
|
951
|
+
"""
|
|
952
|
+
self.AvailableZone = None
|
|
953
|
+
self.CacheId = None
|
|
954
|
+
self.InsType = None
|
|
955
|
+
|
|
956
|
+
def _deserialize(self, params):
|
|
957
|
+
if params.get("AvailableZone"):
|
|
958
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
959
|
+
if params.get("CacheId"):
|
|
960
|
+
self.CacheId = params.get("CacheId")
|
|
961
|
+
if params.get("InsType"):
|
|
962
|
+
self.InsType = params.get("InsType")
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
class DescribeInstancesRequest(AbstractModel):
|
|
966
|
+
"""DescribeInstances请求参数结构体
|
|
967
|
+
"""
|
|
968
|
+
|
|
969
|
+
def __init__(self):
|
|
970
|
+
r"""查询安全组绑定查询实例信息
|
|
971
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
972
|
+
:type PathPrefix: String
|
|
973
|
+
:param SecurityGroupId: 安全组id
|
|
974
|
+
:type PathPrefix: String
|
|
975
|
+
:param Offset: 数据偏移量 默认:0,数据偏移量,
|
|
976
|
+
:type PathPrefix: Int
|
|
977
|
+
:param Limit: 返回结果数量限制
|
|
978
|
+
:type PathPrefix: Int
|
|
979
|
+
:param FilterCache: 参考值:true|false。
|
|
980
|
+
<br>FilterCache:true 查询绑定指定安全组的缓存服务列表标识;
|
|
981
|
+
<br>FilterCache:false 查询未绑定指定安全组的缓存服务列表标识;
|
|
982
|
+
:type PathPrefix: Boolean
|
|
983
|
+
:param SearchKey: 模糊查找。根据缓存服务名称或者IP进行筛选。
|
|
984
|
+
|
|
985
|
+
:type PathPrefix: String
|
|
986
|
+
"""
|
|
987
|
+
self.AvailableZone = None
|
|
988
|
+
self.SecurityGroupId = None
|
|
989
|
+
self.Offset = None
|
|
990
|
+
self.Limit = None
|
|
991
|
+
self.FilterCache = None
|
|
992
|
+
self.SearchKey = None
|
|
993
|
+
|
|
994
|
+
def _deserialize(self, params):
|
|
995
|
+
if params.get("AvailableZone"):
|
|
996
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
997
|
+
if params.get("SecurityGroupId"):
|
|
998
|
+
self.SecurityGroupId = params.get("SecurityGroupId")
|
|
999
|
+
if params.get("Offset"):
|
|
1000
|
+
self.Offset = params.get("Offset")
|
|
1001
|
+
if params.get("Limit"):
|
|
1002
|
+
self.Limit = params.get("Limit")
|
|
1003
|
+
if params.get("FilterCache"):
|
|
1004
|
+
self.FilterCache = params.get("FilterCache")
|
|
1005
|
+
if params.get("SearchKey"):
|
|
1006
|
+
self.SearchKey = params.get("SearchKey")
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
class DeleteSecurityGroupRuleRequest(AbstractModel):
|
|
1010
|
+
"""DeleteSecurityGroupRule请求参数结构体
|
|
1011
|
+
"""
|
|
1012
|
+
|
|
1013
|
+
def __init__(self):
|
|
1014
|
+
r"""删除安全组规则
|
|
1015
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
1016
|
+
:type PathPrefix: String
|
|
1017
|
+
:param SecurityGroupId: 安全组ID 安全组ID
|
|
1018
|
+
:type PathPrefix: String
|
|
1019
|
+
:param SecurityGroupRuleId: 安全组规则ID N:代表数字,示例(SecurityGroupRuleId.1=xxx&SecurityGroupRuleId.2=yyy)
|
|
1020
|
+
:type PathPrefix: Filter
|
|
1021
|
+
"""
|
|
1022
|
+
self.AvailableZone = None
|
|
1023
|
+
self.SecurityGroupId = None
|
|
1024
|
+
self.SecurityGroupRuleId = None
|
|
1025
|
+
|
|
1026
|
+
def _deserialize(self, params):
|
|
1027
|
+
if params.get("AvailableZone"):
|
|
1028
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
1029
|
+
if params.get("SecurityGroupId"):
|
|
1030
|
+
self.SecurityGroupId = params.get("SecurityGroupId")
|
|
1031
|
+
if params.get("SecurityGroupRuleId"):
|
|
1032
|
+
self.SecurityGroupRuleId = params.get("SecurityGroupRuleId")
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
class CreateSecurityGroupRuleRequest(AbstractModel):
|
|
1036
|
+
"""CreateSecurityGroupRule请求参数结构体
|
|
1037
|
+
"""
|
|
1038
|
+
|
|
1039
|
+
def __init__(self):
|
|
1040
|
+
r"""创建安全组规则
|
|
1041
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
1042
|
+
:type PathPrefix: String
|
|
1043
|
+
:param Cidrs: IP规则 N:代表数字,示例(Cidrs.1=127.0.0.1/32&Cidrs.2=0.0.0.0/32)
|
|
1044
|
+
:type PathPrefix: Filter
|
|
1045
|
+
:param SecurityGroupId: 安全组ID
|
|
1046
|
+
:type PathPrefix: String
|
|
1047
|
+
"""
|
|
1048
|
+
self.AvailableZone = None
|
|
1049
|
+
self.Cidrs = None
|
|
1050
|
+
self.SecurityGroupId = None
|
|
1051
|
+
|
|
1052
|
+
def _deserialize(self, params):
|
|
1053
|
+
if params.get("AvailableZone"):
|
|
1054
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
1055
|
+
if params.get("Cidrs"):
|
|
1056
|
+
self.Cidrs = params.get("Cidrs")
|
|
1057
|
+
if params.get("SecurityGroupId"):
|
|
1058
|
+
self.SecurityGroupId = params.get("SecurityGroupId")
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
class DeallocateSecurityGroupRequest(AbstractModel):
|
|
1062
|
+
"""DeallocateSecurityGroup请求参数结构体
|
|
1063
|
+
"""
|
|
1064
|
+
|
|
1065
|
+
def __init__(self):
|
|
1066
|
+
r"""解绑安全组
|
|
1067
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
1068
|
+
:type PathPrefix: String
|
|
1069
|
+
:param CacheId: 缓存服务ID N:代表数字,示例(CacheId.1=xxx&CacheId.2=yyy)
|
|
1070
|
+
:type PathPrefix: Filter
|
|
1071
|
+
:param SecurityGroupId: 安全组ID 安全组ID
|
|
1072
|
+
:type PathPrefix: String
|
|
1073
|
+
"""
|
|
1074
|
+
self.AvailableZone = None
|
|
1075
|
+
self.CacheId = None
|
|
1076
|
+
self.SecurityGroupId = None
|
|
1077
|
+
|
|
1078
|
+
def _deserialize(self, params):
|
|
1079
|
+
if params.get("AvailableZone"):
|
|
1080
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
1081
|
+
if params.get("CacheId"):
|
|
1082
|
+
self.CacheId = params.get("CacheId")
|
|
1083
|
+
if params.get("SecurityGroupId"):
|
|
1084
|
+
self.SecurityGroupId = params.get("SecurityGroupId")
|
|
1085
|
+
|
|
1086
|
+
|
|
1087
|
+
class AllocateSecurityGroupRequest(AbstractModel):
|
|
1088
|
+
"""AllocateSecurityGroup请求参数结构体
|
|
1089
|
+
"""
|
|
1090
|
+
|
|
1091
|
+
def __init__(self):
|
|
1092
|
+
r"""绑定安全组
|
|
1093
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
1094
|
+
:type PathPrefix: String
|
|
1095
|
+
:param CacheId: 缓存服务ID N:代表数字,示例(CacheId.1=xxxx&CacheId.2=yyyy),每个缓存服务都会绑定SecurityGroupId.N
|
|
1096
|
+
:type PathPrefix: Filter
|
|
1097
|
+
:param SecurityGroupId: 安全组ID N:代表数字,示例(SecurityGroupId.1=xxxx&SecurityGroupId.2=yyyy)
|
|
1098
|
+
:type PathPrefix: Filter
|
|
1099
|
+
"""
|
|
1100
|
+
self.AvailableZone = None
|
|
1101
|
+
self.CacheId = None
|
|
1102
|
+
self.SecurityGroupId = None
|
|
1103
|
+
|
|
1104
|
+
def _deserialize(self, params):
|
|
1105
|
+
if params.get("AvailableZone"):
|
|
1106
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
1107
|
+
if params.get("CacheId"):
|
|
1108
|
+
self.CacheId = params.get("CacheId")
|
|
1109
|
+
if params.get("SecurityGroupId"):
|
|
1110
|
+
self.SecurityGroupId = params.get("SecurityGroupId")
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
class DescribeSecurityGroupRequest(AbstractModel):
|
|
1114
|
+
"""DescribeSecurityGroup请求参数结构体
|
|
1115
|
+
"""
|
|
1116
|
+
|
|
1117
|
+
def __init__(self):
|
|
1118
|
+
r"""查询安全组明细
|
|
1119
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
1120
|
+
:type PathPrefix: String
|
|
1121
|
+
:param SecurityGroupId: 安全组ID 安全组规则ID
|
|
1122
|
+
:type PathPrefix: String
|
|
1123
|
+
:param SearchKey: 查询条件 根据IP进行过滤
|
|
1124
|
+
:type PathPrefix: String
|
|
1125
|
+
:param Offset: 数据偏移量 默认:0
|
|
1126
|
+
:type PathPrefix: String
|
|
1127
|
+
:param Limit: 每页最大数量 默认:1000,最大值1000
|
|
1128
|
+
:type PathPrefix: Int
|
|
1129
|
+
"""
|
|
1130
|
+
self.AvailableZone = None
|
|
1131
|
+
self.SecurityGroupId = None
|
|
1132
|
+
self.SearchKey = None
|
|
1133
|
+
self.Offset = None
|
|
1134
|
+
self.Limit = None
|
|
1135
|
+
|
|
1136
|
+
def _deserialize(self, params):
|
|
1137
|
+
if params.get("AvailableZone"):
|
|
1138
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
1139
|
+
if params.get("SecurityGroupId"):
|
|
1140
|
+
self.SecurityGroupId = params.get("SecurityGroupId")
|
|
1141
|
+
if params.get("SearchKey"):
|
|
1142
|
+
self.SearchKey = params.get("SearchKey")
|
|
1143
|
+
if params.get("Offset"):
|
|
1144
|
+
self.Offset = params.get("Offset")
|
|
1145
|
+
if params.get("Limit"):
|
|
1146
|
+
self.Limit = params.get("Limit")
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
class DescribeSecurityGroupsRequest(AbstractModel):
|
|
1150
|
+
"""DescribeSecurityGroups请求参数结构体
|
|
1151
|
+
"""
|
|
1152
|
+
|
|
1153
|
+
def __init__(self):
|
|
1154
|
+
r"""查询安全组列表
|
|
1155
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
1156
|
+
:type PathPrefix: String
|
|
1157
|
+
:param Offset: 数据偏移量 默认:0,数据偏移量,
|
|
1158
|
+
:type PathPrefix: String
|
|
1159
|
+
:param Limit: 每页数据量
|
|
1160
|
+
:type PathPrefix: Int
|
|
1161
|
+
:param CacheId: 缓存服务ID
|
|
1162
|
+
:type PathPrefix: String
|
|
1163
|
+
:param FilterCache: 参考值:true|false
|
|
1164
|
+
|
|
1165
|
+
如果传入CacheId
|
|
1166
|
+
FilterCache:true 查询包含缓存服务ID的安全规则;
|
|
1167
|
+
FilterCache:false 查询不包含缓存服务ID的安全规则;
|
|
1168
|
+
|
|
1169
|
+
如果CacheId为空
|
|
1170
|
+
FilterCache参数无效
|
|
1171
|
+
:type PathPrefix: Boolean
|
|
1172
|
+
:param SearchKey: 根据名称或者备注进行筛选
|
|
1173
|
+
:type PathPrefix: String
|
|
1174
|
+
"""
|
|
1175
|
+
self.AvailableZone = None
|
|
1176
|
+
self.Offset = None
|
|
1177
|
+
self.Limit = None
|
|
1178
|
+
self.CacheId = None
|
|
1179
|
+
self.FilterCache = None
|
|
1180
|
+
self.SearchKey = None
|
|
1181
|
+
|
|
1182
|
+
def _deserialize(self, params):
|
|
1183
|
+
if params.get("AvailableZone"):
|
|
1184
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
1185
|
+
if params.get("Offset"):
|
|
1186
|
+
self.Offset = params.get("Offset")
|
|
1187
|
+
if params.get("Limit"):
|
|
1188
|
+
self.Limit = params.get("Limit")
|
|
1189
|
+
if params.get("CacheId"):
|
|
1190
|
+
self.CacheId = params.get("CacheId")
|
|
1191
|
+
if params.get("FilterCache"):
|
|
1192
|
+
self.FilterCache = params.get("FilterCache")
|
|
1193
|
+
if params.get("SearchKey"):
|
|
1194
|
+
self.SearchKey = params.get("SearchKey")
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
class ModifySecurityGroupRequest(AbstractModel):
|
|
1198
|
+
"""ModifySecurityGroup请求参数结构体
|
|
1199
|
+
"""
|
|
1200
|
+
|
|
1201
|
+
def __init__(self):
|
|
1202
|
+
r"""修改安全组
|
|
1203
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
1204
|
+
:type PathPrefix: String
|
|
1205
|
+
:param Name: 安全组名称 安全组名称支持1-64个字符,中文,字母,数字,中划线,下划线;
|
|
1206
|
+
:type PathPrefix: String
|
|
1207
|
+
:param Description: 安全组描述 安全组描述支持1-64个字符,中文,字母,数字,中划线,下划线;
|
|
1208
|
+
:type PathPrefix: String
|
|
1209
|
+
:param SecurityGroupId: 安全组ID
|
|
1210
|
+
:type PathPrefix: String
|
|
1211
|
+
"""
|
|
1212
|
+
self.AvailableZone = None
|
|
1213
|
+
self.Name = None
|
|
1214
|
+
self.Description = None
|
|
1215
|
+
self.SecurityGroupId = None
|
|
1216
|
+
|
|
1217
|
+
def _deserialize(self, params):
|
|
1218
|
+
if params.get("AvailableZone"):
|
|
1219
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
1220
|
+
if params.get("Name"):
|
|
1221
|
+
self.Name = params.get("Name")
|
|
1222
|
+
if params.get("Description"):
|
|
1223
|
+
self.Description = params.get("Description")
|
|
1224
|
+
if params.get("SecurityGroupId"):
|
|
1225
|
+
self.SecurityGroupId = params.get("SecurityGroupId")
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
class DeleteSecurityGroupRequest(AbstractModel):
|
|
1229
|
+
"""DeleteSecurityGroup请求参数结构体
|
|
1230
|
+
"""
|
|
1231
|
+
|
|
1232
|
+
def __init__(self):
|
|
1233
|
+
r"""删除安全组
|
|
1234
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
1235
|
+
:type PathPrefix: String
|
|
1236
|
+
:param SecurityGroupId: 安全组ID N:代表数字,示例(SecurityGroupId.1=xxxx&SecurityGroupId.2=yyyyy)
|
|
1237
|
+
:type PathPrefix: Filter
|
|
1238
|
+
"""
|
|
1239
|
+
self.AvailableZone = None
|
|
1240
|
+
self.SecurityGroupId = None
|
|
1241
|
+
|
|
1242
|
+
def _deserialize(self, params):
|
|
1243
|
+
if params.get("AvailableZone"):
|
|
1244
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
1245
|
+
if params.get("SecurityGroupId"):
|
|
1246
|
+
self.SecurityGroupId = params.get("SecurityGroupId")
|
|
1247
|
+
|
|
1248
|
+
|
|
1249
|
+
class CloneSecurityGroupRequest(AbstractModel):
|
|
1250
|
+
"""CloneSecurityGroup请求参数结构体
|
|
1251
|
+
"""
|
|
1252
|
+
|
|
1253
|
+
def __init__(self):
|
|
1254
|
+
r"""克隆安全组
|
|
1255
|
+
:param AvailableZone: 可用区。 默认:对应机房的a区</br>注意:未指定和源安全组相同可用区,则默认克隆至机房a区。
|
|
1256
|
+
:type PathPrefix: String
|
|
1257
|
+
:param Name: 安全组名称。 安全组名称支持1-64个字符,中文,字母,数字,中划线,下划线。
|
|
1258
|
+
:type PathPrefix: String
|
|
1259
|
+
:param Description: 安全组描述。 安全组描述支持1-64个字符,中文,字母,数字,中划线,下划线。
|
|
1260
|
+
:type PathPrefix: String
|
|
1261
|
+
:param SrcSecurityGroupId: 源安全组ID。
|
|
1262
|
+
:type PathPrefix: String
|
|
1263
|
+
"""
|
|
1264
|
+
self.AvailableZone = None
|
|
1265
|
+
self.Name = None
|
|
1266
|
+
self.Description = None
|
|
1267
|
+
self.SrcSecurityGroupId = None
|
|
1268
|
+
|
|
1269
|
+
def _deserialize(self, params):
|
|
1270
|
+
if params.get("AvailableZone"):
|
|
1271
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
1272
|
+
if params.get("Name"):
|
|
1273
|
+
self.Name = params.get("Name")
|
|
1274
|
+
if params.get("Description"):
|
|
1275
|
+
self.Description = params.get("Description")
|
|
1276
|
+
if params.get("SrcSecurityGroupId"):
|
|
1277
|
+
self.SrcSecurityGroupId = params.get("SrcSecurityGroupId")
|
|
1278
|
+
|
|
1279
|
+
|
|
1280
|
+
class CreateSecurityGroupRequest(AbstractModel):
|
|
1281
|
+
"""CreateSecurityGroup请求参数结构体
|
|
1282
|
+
"""
|
|
1283
|
+
|
|
1284
|
+
def __init__(self):
|
|
1285
|
+
r"""创建安全组
|
|
1286
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
1287
|
+
:type PathPrefix: String
|
|
1288
|
+
:param Name: 安全组名称。 安全组名称支持1-64个字符,中文,字母,数字,中划线,下划线。
|
|
1289
|
+
:type PathPrefix: String
|
|
1290
|
+
:param Description: 安全组描述。 安全组描述支持1-64个字符,中文,字母,数字,中划线,下划线。
|
|
1291
|
+
:type PathPrefix: String
|
|
1292
|
+
"""
|
|
1293
|
+
self.AvailableZone = None
|
|
1294
|
+
self.Name = None
|
|
1295
|
+
self.Description = None
|
|
1296
|
+
|
|
1297
|
+
def _deserialize(self, params):
|
|
1298
|
+
if params.get("AvailableZone"):
|
|
1299
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
1300
|
+
if params.get("Name"):
|
|
1301
|
+
self.Name = params.get("Name")
|
|
1302
|
+
if params.get("Description"):
|
|
1303
|
+
self.Description = params.get("Description")
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
class DescribeCacheReadonlyNodeRequest(AbstractModel):
|
|
1307
|
+
"""DescribeCacheReadonlyNode请求参数结构体
|
|
1308
|
+
"""
|
|
1309
|
+
|
|
1310
|
+
def __init__(self):
|
|
1311
|
+
r"""获取只读实例列表
|
|
1312
|
+
:param CacheId: 实例Id。
|
|
1313
|
+
:type PathPrefix: String
|
|
1314
|
+
"""
|
|
1315
|
+
self.CacheId = None
|
|
1316
|
+
|
|
1317
|
+
def _deserialize(self, params):
|
|
1318
|
+
if params.get("CacheId"):
|
|
1319
|
+
self.CacheId = params.get("CacheId")
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
class AddCacheSlaveNodeRequest(AbstractModel):
|
|
1323
|
+
"""AddCacheSlaveNode请求参数结构体
|
|
1324
|
+
"""
|
|
1325
|
+
|
|
1326
|
+
def __init__(self):
|
|
1327
|
+
r"""社区版主从实例添加只读实例
|
|
1328
|
+
:param CacheId: 缓存服务ID
|
|
1329
|
+
:type PathPrefix: String
|
|
1330
|
+
:param SlaveVip: 只读节点指定内网ip
|
|
1331
|
+
|
|
1332
|
+
:type PathPrefix: String
|
|
1333
|
+
"""
|
|
1334
|
+
self.CacheId = None
|
|
1335
|
+
self.SlaveVip = None
|
|
1336
|
+
|
|
1337
|
+
def _deserialize(self, params):
|
|
1338
|
+
if params.get("CacheId"):
|
|
1339
|
+
self.CacheId = params.get("CacheId")
|
|
1340
|
+
if params.get("SlaveVip"):
|
|
1341
|
+
self.SlaveVip = params.get("SlaveVip")
|
|
1342
|
+
|
|
1343
|
+
|
|
1344
|
+
class DescribeHotKeysRequest(AbstractModel):
|
|
1345
|
+
"""DescribeHotKeys请求参数结构体
|
|
1346
|
+
"""
|
|
1347
|
+
|
|
1348
|
+
def __init__(self):
|
|
1349
|
+
r"""查询热key列表
|
|
1350
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
1351
|
+
:type PathPrefix: String
|
|
1352
|
+
:param CacheId: 缓存服务ID 缓存服务ID
|
|
1353
|
+
:type PathPrefix: String
|
|
1354
|
+
:param Limit: 偏移量 默认:10
|
|
1355
|
+
:type PathPrefix: Int
|
|
1356
|
+
:param Offset: 每页数量 默认:0
|
|
1357
|
+
:type PathPrefix: Int
|
|
1358
|
+
:param SortKey: 排序字段名 count
|
|
1359
|
+
:type PathPrefix: String
|
|
1360
|
+
:param SortDir: 排序方式 asc,desc
|
|
1361
|
+
:type PathPrefix: String
|
|
1362
|
+
"""
|
|
1363
|
+
self.AvailableZone = None
|
|
1364
|
+
self.CacheId = None
|
|
1365
|
+
self.Limit = None
|
|
1366
|
+
self.Offset = None
|
|
1367
|
+
self.SortKey = None
|
|
1368
|
+
self.SortDir = None
|
|
1369
|
+
|
|
1370
|
+
def _deserialize(self, params):
|
|
1371
|
+
if params.get("AvailableZone"):
|
|
1372
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
1373
|
+
if params.get("CacheId"):
|
|
1374
|
+
self.CacheId = params.get("CacheId")
|
|
1375
|
+
if params.get("Limit"):
|
|
1376
|
+
self.Limit = params.get("Limit")
|
|
1377
|
+
if params.get("Offset"):
|
|
1378
|
+
self.Offset = params.get("Offset")
|
|
1379
|
+
if params.get("SortKey"):
|
|
1380
|
+
self.SortKey = params.get("SortKey")
|
|
1381
|
+
if params.get("SortDir"):
|
|
1382
|
+
self.SortDir = params.get("SortDir")
|
|
1383
|
+
|
|
1384
|
+
|
|
1385
|
+
class AnalyzeHotKeysRequest(AbstractModel):
|
|
1386
|
+
"""AnalyzeHotKeys请求参数结构体
|
|
1387
|
+
"""
|
|
1388
|
+
|
|
1389
|
+
def __init__(self):
|
|
1390
|
+
r"""发起热key分析
|
|
1391
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
1392
|
+
:type PathPrefix: String
|
|
1393
|
+
:param CacheId: 缓存服务ID
|
|
1394
|
+
:type PathPrefix: String
|
|
1395
|
+
"""
|
|
1396
|
+
self.AvailableZone = None
|
|
1397
|
+
self.CacheId = None
|
|
1398
|
+
|
|
1399
|
+
def _deserialize(self, params):
|
|
1400
|
+
if params.get("AvailableZone"):
|
|
1401
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
1402
|
+
if params.get("CacheId"):
|
|
1403
|
+
self.CacheId = params.get("CacheId")
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
class CloseDirectAccessToClusterRequest(AbstractModel):
|
|
1407
|
+
"""CloseDirectAccessToCluster请求参数结构体
|
|
1408
|
+
"""
|
|
1409
|
+
|
|
1410
|
+
def __init__(self):
|
|
1411
|
+
r"""社区版集群实例关闭直连
|
|
1412
|
+
:param AvailableZone: 可用区 默认:对应机房的a区
|
|
1413
|
+
:type PathPrefix: String
|
|
1414
|
+
:param CacheId: 缓存服务ID。
|
|
1415
|
+
:type PathPrefix: String
|
|
1416
|
+
"""
|
|
1417
|
+
self.AvailableZone = None
|
|
1418
|
+
self.CacheId = None
|
|
1419
|
+
|
|
1420
|
+
def _deserialize(self, params):
|
|
1421
|
+
if params.get("AvailableZone"):
|
|
1422
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
1423
|
+
if params.get("CacheId"):
|
|
1424
|
+
self.CacheId = params.get("CacheId")
|
|
1425
|
+
|
|
1426
|
+
|
|
1427
|
+
class OpenDirectAccessToClusterRequest(AbstractModel):
|
|
1428
|
+
"""OpenDirectAccessToCluster请求参数结构体
|
|
1429
|
+
"""
|
|
1430
|
+
|
|
1431
|
+
def __init__(self):
|
|
1432
|
+
r"""社区版集群实例开启直连
|
|
1433
|
+
:param AvailableZone: 可用区。默认为当前region的a区。
|
|
1434
|
+
:type PathPrefix: String
|
|
1435
|
+
:param CacheId: 缓存服务ID
|
|
1436
|
+
:type PathPrefix: String
|
|
1437
|
+
:param SubnetId: 终端网络id
|
|
1438
|
+
:type PathPrefix: String
|
|
1439
|
+
:param VpcId: 虚拟网络VPC id
|
|
1440
|
+
:type PathPrefix: String
|
|
1441
|
+
"""
|
|
1442
|
+
self.AvailableZone = None
|
|
1443
|
+
self.CacheId = None
|
|
1444
|
+
self.SubnetId = None
|
|
1445
|
+
self.VpcId = None
|
|
1446
|
+
|
|
1447
|
+
def _deserialize(self, params):
|
|
1448
|
+
if params.get("AvailableZone"):
|
|
1449
|
+
self.AvailableZone = params.get("AvailableZone")
|
|
1450
|
+
if params.get("CacheId"):
|
|
1451
|
+
self.CacheId = params.get("CacheId")
|
|
1452
|
+
if params.get("SubnetId"):
|
|
1453
|
+
self.SubnetId = params.get("SubnetId")
|
|
1454
|
+
if params.get("VpcId"):
|
|
1455
|
+
self.VpcId = params.get("VpcId")
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
|
+
class DescribeParentBackUpsSnapshotsRequest(AbstractModel):
|
|
1459
|
+
"""DescribeParentBackUpsSnapshots请求参数结构体
|
|
1460
|
+
"""
|
|
1461
|
+
|
|
1462
|
+
def __init__(self):
|
|
1463
|
+
r"""集群实例备份数据父列表数据
|
|
1464
|
+
:param CacheId: 缓存服务ID 缓存服务ID
|
|
1465
|
+
:type PathPrefix: String
|
|
1466
|
+
"""
|
|
1467
|
+
self.CacheId = None
|
|
1468
|
+
|
|
1469
|
+
def _deserialize(self, params):
|
|
1470
|
+
if params.get("CacheId"):
|
|
1471
|
+
self.CacheId = params.get("CacheId")
|
|
1472
|
+
|
|
1473
|
+
|
|
1474
|
+
class DescribeBackUpsSnapshotsDetailRequest(AbstractModel):
|
|
1475
|
+
"""DescribeBackUpsSnapshotsDetail请求参数结构体
|
|
1476
|
+
"""
|
|
1477
|
+
|
|
1478
|
+
def __init__(self):
|
|
1479
|
+
r"""集群实例备份数据子列表数据
|
|
1480
|
+
:param CacheId: 缓存服务ID
|
|
1481
|
+
:type PathPrefix: String
|
|
1482
|
+
:param SnapshotId: 备份ID
|
|
1483
|
+
:type PathPrefix: String
|
|
1484
|
+
"""
|
|
1485
|
+
self.CacheId = None
|
|
1486
|
+
self.SnapshotId = None
|
|
1487
|
+
|
|
1488
|
+
def _deserialize(self, params):
|
|
1489
|
+
if params.get("CacheId"):
|
|
1490
|
+
self.CacheId = params.get("CacheId")
|
|
1491
|
+
if params.get("SnapshotId"):
|
|
1492
|
+
self.SnapshotId = params.get("SnapshotId")
|
|
1493
|
+
|
|
1494
|
+
|
|
1495
|
+
class DeleteLevelSnapshotsRequest(AbstractModel):
|
|
1496
|
+
"""DeleteLevelSnapshots请求参数结构体
|
|
1497
|
+
"""
|
|
1498
|
+
|
|
1499
|
+
def __init__(self):
|
|
1500
|
+
r"""集群实例层级备份数据删除
|
|
1501
|
+
:param CacheId: 缓存服务ID 缓存服务ID
|
|
1502
|
+
:type PathPrefix: String
|
|
1503
|
+
:param SnapshotId: 备份ID 备份ID
|
|
1504
|
+
:type PathPrefix: String
|
|
1505
|
+
"""
|
|
1506
|
+
self.CacheId = None
|
|
1507
|
+
self.SnapshotId = None
|
|
1508
|
+
|
|
1509
|
+
def _deserialize(self, params):
|
|
1510
|
+
if params.get("CacheId"):
|
|
1511
|
+
self.CacheId = params.get("CacheId")
|
|
1512
|
+
if params.get("SnapshotId"):
|
|
1513
|
+
self.SnapshotId = params.get("SnapshotId")
|
|
1514
|
+
|
|
1515
|
+
|
|
1516
|
+
class DownloadLevelSnapshotRequest(AbstractModel):
|
|
1517
|
+
"""DownloadLevelSnapshot请求参数结构体
|
|
1518
|
+
"""
|
|
1519
|
+
|
|
1520
|
+
def __init__(self):
|
|
1521
|
+
r"""集群实例层次备份数据下载
|
|
1522
|
+
:param CacheId: 缓存服务ID
|
|
1523
|
+
:type PathPrefix: String
|
|
1524
|
+
:param SnapshotId: 备份ID
|
|
1525
|
+
:type PathPrefix: String
|
|
1526
|
+
"""
|
|
1527
|
+
self.CacheId = None
|
|
1528
|
+
self.SnapshotId = None
|
|
1529
|
+
|
|
1530
|
+
def _deserialize(self, params):
|
|
1531
|
+
if params.get("CacheId"):
|
|
1532
|
+
self.CacheId = params.get("CacheId")
|
|
1533
|
+
if params.get("SnapshotId"):
|
|
1534
|
+
self.SnapshotId = params.get("SnapshotId")
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
class DescribeBigKeysRequest(AbstractModel):
|
|
1538
|
+
"""DescribeBigKeys请求参数结构体
|
|
1539
|
+
"""
|
|
1540
|
+
|
|
1541
|
+
def __init__(self):
|
|
1542
|
+
r"""获取大key分析的任务结果列表
|
|
1543
|
+
:param CacheId: 缓存服务ID(实例ID)
|
|
1544
|
+
:type PathPrefix: String
|
|
1545
|
+
"""
|
|
1546
|
+
self.CacheId = None
|
|
1547
|
+
|
|
1548
|
+
def _deserialize(self, params):
|
|
1549
|
+
if params.get("CacheId"):
|
|
1550
|
+
self.CacheId = params.get("CacheId")
|
|
1551
|
+
|
|
1552
|
+
|
|
1553
|
+
class DeleteBigKeysAnalyseResultRequest(AbstractModel):
|
|
1554
|
+
"""DeleteBigKeysAnalyseResult请求参数结构体
|
|
1555
|
+
"""
|
|
1556
|
+
|
|
1557
|
+
def __init__(self):
|
|
1558
|
+
r"""删除大key分析任务列表数据
|
|
1559
|
+
:param CacheId: 缓存服务ID(实例ID)
|
|
1560
|
+
:type PathPrefix: String
|
|
1561
|
+
:param TaskId: 大key任务ID
|
|
1562
|
+
:type PathPrefix: String
|
|
1563
|
+
"""
|
|
1564
|
+
self.CacheId = None
|
|
1565
|
+
self.TaskId = None
|
|
1566
|
+
|
|
1567
|
+
def _deserialize(self, params):
|
|
1568
|
+
if params.get("CacheId"):
|
|
1569
|
+
self.CacheId = params.get("CacheId")
|
|
1570
|
+
if params.get("TaskId"):
|
|
1571
|
+
self.TaskId = params.get("TaskId")
|
|
1572
|
+
|
|
1573
|
+
|
|
1574
|
+
class AnalyzeBigKeysRequest(AbstractModel):
|
|
1575
|
+
"""AnalyzeBigKeys请求参数结构体
|
|
1576
|
+
"""
|
|
1577
|
+
|
|
1578
|
+
def __init__(self):
|
|
1579
|
+
r"""获取大key分析的结果
|
|
1580
|
+
:param TaskId: 任务ID 大key分析任务id
|
|
1581
|
+
:type PathPrefix: String
|
|
1582
|
+
:param QueryType: 操作类型 范围(1,2,3,4),1-缓存分析-结果-基础信息;2-缓存分析-结果-top大key占比图;3-缓存分析-结果-详情;4-缓存分析-结果-详情下载
|
|
1583
|
+
:type PathPrefix: Int
|
|
1584
|
+
"""
|
|
1585
|
+
self.TaskId = None
|
|
1586
|
+
self.QueryType = None
|
|
1587
|
+
|
|
1588
|
+
def _deserialize(self, params):
|
|
1589
|
+
if params.get("TaskId"):
|
|
1590
|
+
self.TaskId = params.get("TaskId")
|
|
1591
|
+
if params.get("QueryType"):
|
|
1592
|
+
self.QueryType = params.get("QueryType")
|
|
1593
|
+
|
|
1594
|
+
|
|
1595
|
+
class DescribeCreateSnapshotStatusRequest(AbstractModel):
|
|
1596
|
+
"""DescribeCreateSnapshotStatus请求参数结构体
|
|
1597
|
+
"""
|
|
1598
|
+
|
|
1599
|
+
def __init__(self):
|
|
1600
|
+
r"""创建备份前的备份状态和大key分析状态查询
|
|
1601
|
+
"""
|
|
1602
|
+
|
|
1603
|
+
def _deserialize(self, params):
|
|
1604
|
+
return
|
|
1605
|
+
|
|
1606
|
+
|
|
1607
|
+
class GetDailyAnalyzeSwitchStateRequest(AbstractModel):
|
|
1608
|
+
"""GetDailyAnalyzeSwitchState请求参数结构体
|
|
1609
|
+
"""
|
|
1610
|
+
|
|
1611
|
+
def __init__(self):
|
|
1612
|
+
r"""慢日志和运行日志分析开关
|
|
1613
|
+
:param CacheId: 缓存服务ID(实例ID)
|
|
1614
|
+
:type PathPrefix: String
|
|
1615
|
+
"""
|
|
1616
|
+
self.CacheId = None
|
|
1617
|
+
|
|
1618
|
+
def _deserialize(self, params):
|
|
1619
|
+
if params.get("CacheId"):
|
|
1620
|
+
self.CacheId = params.get("CacheId")
|
|
1621
|
+
|
|
1622
|
+
|
|
1623
|
+
class AnalyzeDailyRequest(AbstractModel):
|
|
1624
|
+
"""AnalyzeDaily请求参数结构体
|
|
1625
|
+
"""
|
|
1626
|
+
|
|
1627
|
+
def __init__(self):
|
|
1628
|
+
r"""运行日志分析
|
|
1629
|
+
:param CacheId: 缓存服务ID(实例ID)
|
|
1630
|
+
:type PathPrefix: String
|
|
1631
|
+
:param StartQueryTime: 运行日志采集开始时间 yyyy-MM-dd HH:mm:ss格式
|
|
1632
|
+
:type PathPrefix: String
|
|
1633
|
+
:param EndQueryTime: 运行日志采集结束时间 yyyy-MM-dd HH:mm:ss格式
|
|
1634
|
+
:type PathPrefix: String
|
|
1635
|
+
:param PageNum: 记录开始偏移量 位移量(查询数据的开始位置,默认为1)
|
|
1636
|
+
:type PathPrefix: String
|
|
1637
|
+
:param PageSize: 每页记录大小 每页记录大小, 默认10
|
|
1638
|
+
:type PathPrefix: String
|
|
1639
|
+
:param ShardId: 实例节点ID 实例为集群架构可选填写,加上查询实例下节点的日志,不传默认查询全部
|
|
1640
|
+
:type PathPrefix: String
|
|
1641
|
+
:param OperationType: 操作类型 筛选不同操作类型的日志数据,如LATENCY GET STATS ALL 等
|
|
1642
|
+
:type PathPrefix: String
|
|
1643
|
+
"""
|
|
1644
|
+
self.CacheId = None
|
|
1645
|
+
self.StartQueryTime = None
|
|
1646
|
+
self.EndQueryTime = None
|
|
1647
|
+
self.PageNum = None
|
|
1648
|
+
self.PageSize = None
|
|
1649
|
+
self.ShardId = None
|
|
1650
|
+
self.OperationType = None
|
|
1651
|
+
|
|
1652
|
+
def _deserialize(self, params):
|
|
1653
|
+
if params.get("CacheId"):
|
|
1654
|
+
self.CacheId = params.get("CacheId")
|
|
1655
|
+
if params.get("StartQueryTime"):
|
|
1656
|
+
self.StartQueryTime = params.get("StartQueryTime")
|
|
1657
|
+
if params.get("EndQueryTime"):
|
|
1658
|
+
self.EndQueryTime = params.get("EndQueryTime")
|
|
1659
|
+
if params.get("PageNum"):
|
|
1660
|
+
self.PageNum = params.get("PageNum")
|
|
1661
|
+
if params.get("PageSize"):
|
|
1662
|
+
self.PageSize = params.get("PageSize")
|
|
1663
|
+
if params.get("ShardId"):
|
|
1664
|
+
self.ShardId = params.get("ShardId")
|
|
1665
|
+
if params.get("OperationType"):
|
|
1666
|
+
self.OperationType = params.get("OperationType")
|
|
1667
|
+
|
|
1668
|
+
|
|
1669
|
+
class AnalyzeSlowDailyRequest(AbstractModel):
|
|
1670
|
+
"""AnalyzeSlowDaily请求参数结构体
|
|
1671
|
+
"""
|
|
1672
|
+
|
|
1673
|
+
def __init__(self):
|
|
1674
|
+
r"""慢日志分析
|
|
1675
|
+
:param CacheId: 缓存服务ID(实例ID)
|
|
1676
|
+
:type PathPrefix: String
|
|
1677
|
+
:param StartQueryTime: 慢日志采集开始时间 yyyy-MM-dd HH:mm:ss格式
|
|
1678
|
+
:type PathPrefix: String
|
|
1679
|
+
:param EndQueryTime: 慢日志采集结束时间 yyyy-MM-dd HH:mm:ss格式
|
|
1680
|
+
:type PathPrefix: String
|
|
1681
|
+
:param PageNum: 记录开始偏移量 位移量(查询数据的开始位置,默认为1)
|
|
1682
|
+
:type PathPrefix: Int
|
|
1683
|
+
:param PageSize: 每页记录大小 每页记录大小, 默认10
|
|
1684
|
+
:type PathPrefix: Int
|
|
1685
|
+
:param ShardId: 实例节点ID 实例为集群架构可选填写,加上查询实例下节点的日志,不传默认查询全部。若isProxy为true,则选择Proxy的node
|
|
1686
|
+
:type PathPrefix: String
|
|
1687
|
+
:param IsProxy: 是否是proxy查询 取值:true;false。默认false
|
|
1688
|
+
:type PathPrefix: Boolean
|
|
1689
|
+
:param OperationType: 操作类型 筛选不同操作类型的日志数据,如LATENCY GET STATS ALL 等
|
|
1690
|
+
:type PathPrefix: String
|
|
1691
|
+
"""
|
|
1692
|
+
self.CacheId = None
|
|
1693
|
+
self.StartQueryTime = None
|
|
1694
|
+
self.EndQueryTime = None
|
|
1695
|
+
self.PageNum = None
|
|
1696
|
+
self.PageSize = None
|
|
1697
|
+
self.ShardId = None
|
|
1698
|
+
self.IsProxy = None
|
|
1699
|
+
self.OperationType = None
|
|
1700
|
+
|
|
1701
|
+
def _deserialize(self, params):
|
|
1702
|
+
if params.get("CacheId"):
|
|
1703
|
+
self.CacheId = params.get("CacheId")
|
|
1704
|
+
if params.get("StartQueryTime"):
|
|
1705
|
+
self.StartQueryTime = params.get("StartQueryTime")
|
|
1706
|
+
if params.get("EndQueryTime"):
|
|
1707
|
+
self.EndQueryTime = params.get("EndQueryTime")
|
|
1708
|
+
if params.get("PageNum"):
|
|
1709
|
+
self.PageNum = params.get("PageNum")
|
|
1710
|
+
if params.get("PageSize"):
|
|
1711
|
+
self.PageSize = params.get("PageSize")
|
|
1712
|
+
if params.get("ShardId"):
|
|
1713
|
+
self.ShardId = params.get("ShardId")
|
|
1714
|
+
if params.get("IsProxy"):
|
|
1715
|
+
self.IsProxy = params.get("IsProxy")
|
|
1716
|
+
if params.get("OperationType"):
|
|
1717
|
+
self.OperationType = params.get("OperationType")
|
|
1718
|
+
|
|
1719
|
+
|
|
1720
|
+
class AnalyzeDailySwitchRequest(AbstractModel):
|
|
1721
|
+
"""AnalyzeDailySwitch请求参数结构体
|
|
1722
|
+
"""
|
|
1723
|
+
|
|
1724
|
+
def __init__(self):
|
|
1725
|
+
r"""日志分析开关
|
|
1726
|
+
:param CacheId: 缓存服务ID 实例ID
|
|
1727
|
+
:type PathPrefix: String
|
|
1728
|
+
:param ServiceLog: 运行日志开关 true表示开启,false表示关闭,null保持当前状态不变 默认传null
|
|
1729
|
+
:type PathPrefix: Boolean
|
|
1730
|
+
:param SlowLog: 慢日志开关 true表示开启,false表示关闭,null保持当前状态不变 默认传null
|
|
1731
|
+
:type PathPrefix: Boolean
|
|
1732
|
+
"""
|
|
1733
|
+
self.CacheId = None
|
|
1734
|
+
self.ServiceLog = None
|
|
1735
|
+
self.SlowLog = None
|
|
1736
|
+
|
|
1737
|
+
def _deserialize(self, params):
|
|
1738
|
+
if params.get("CacheId"):
|
|
1739
|
+
self.CacheId = params.get("CacheId")
|
|
1740
|
+
if params.get("ServiceLog"):
|
|
1741
|
+
self.ServiceLog = params.get("ServiceLog")
|
|
1742
|
+
if params.get("SlowLog"):
|
|
1743
|
+
self.SlowLog = params.get("SlowLog")
|
|
1744
|
+
|
|
1745
|
+
|
|
1746
|
+
class RestoreByTimePointSwitchRequest(AbstractModel):
|
|
1747
|
+
"""RestoreByTimePointSwitch请求参数结构体
|
|
1748
|
+
"""
|
|
1749
|
+
|
|
1750
|
+
def __init__(self):
|
|
1751
|
+
r"""实例开启或关闭基于时间点恢复
|
|
1752
|
+
:param CacheId: 实例Id。
|
|
1753
|
+
:type PathPrefix: String
|
|
1754
|
+
:param RestoreSwitch: 开启或关闭基于时间点恢复。可选值:on,off
|
|
1755
|
+
:type PathPrefix: String
|
|
1756
|
+
"""
|
|
1757
|
+
self.CacheId = None
|
|
1758
|
+
self.RestoreSwitch = None
|
|
1759
|
+
|
|
1760
|
+
def _deserialize(self, params):
|
|
1761
|
+
if params.get("CacheId"):
|
|
1762
|
+
self.CacheId = params.get("CacheId")
|
|
1763
|
+
if params.get("RestoreSwitch"):
|
|
1764
|
+
self.RestoreSwitch = params.get("RestoreSwitch")
|
|
1765
|
+
|
|
1766
|
+
|
|
1767
|
+
class DescribeRestoreTimePointsRequest(AbstractModel):
|
|
1768
|
+
"""DescribeRestoreTimePoints请求参数结构体
|
|
1769
|
+
"""
|
|
1770
|
+
|
|
1771
|
+
def __init__(self):
|
|
1772
|
+
r"""查询实例可恢复时间点
|
|
1773
|
+
:param CacheId: 实例Id。
|
|
1774
|
+
:type PathPrefix: String
|
|
1775
|
+
"""
|
|
1776
|
+
self.CacheId = None
|
|
1777
|
+
|
|
1778
|
+
def _deserialize(self, params):
|
|
1779
|
+
if params.get("CacheId"):
|
|
1780
|
+
self.CacheId = params.get("CacheId")
|
|
1781
|
+
|
|
1782
|
+
|
|
1783
|
+
class DescribeBigHotKeysRequest(AbstractModel):
|
|
1784
|
+
"""DescribeBigHotKeys请求参数结构体
|
|
1785
|
+
"""
|
|
1786
|
+
|
|
1787
|
+
def __init__(self):
|
|
1788
|
+
r"""查询实例实时或历史的大key,热key信息(仅支持企业版实例)。
|
|
1789
|
+
:param CacheId: 实例Id。
|
|
1790
|
+
:type PathPrefix: String
|
|
1791
|
+
:param NodeId: 根据指定节点查询。
|
|
1792
|
+
:type PathPrefix: String
|
|
1793
|
+
:param QueryType: 查询类型,可选值:RealTime(实时)或History(历史)。默认:RealTime。
|
|
1794
|
+
:type PathPrefix: String
|
|
1795
|
+
:param KeyType: 查询的Key类型。可选值:1,2,3;默认为1。
|
|
1796
|
+
1:热key; 2:大key(子元素数量);3:大key(内存占用)
|
|
1797
|
+
:type PathPrefix: Int
|
|
1798
|
+
:param KeyName: 指定查询某个key的全部数据。仅QueryType为History时生效。
|
|
1799
|
+
:type PathPrefix: String
|
|
1800
|
+
:param StartQueryTime: 查询时间范围的开始时间。默认取当前时间的前30分钟。格式:"yyyy-MM-dd HH:mm:ss。仅QueryType为History时生效。
|
|
1801
|
+
:type PathPrefix: String
|
|
1802
|
+
:param EndQueryTime: 查询时间范围的结束时间。默认取当前时间。格式:"yyyy-MM-dd HH:mm:ss。仅QueryType为History时生效。
|
|
1803
|
+
:type PathPrefix: String
|
|
1804
|
+
:param PageSize: 查询结果每页返回记录数。默认10,范围1-100。
|
|
1805
|
+
:type PathPrefix: Int
|
|
1806
|
+
:param PageNum: 页数。默认1. 最小为1
|
|
1807
|
+
:type PathPrefix: Int
|
|
1808
|
+
"""
|
|
1809
|
+
self.CacheId = None
|
|
1810
|
+
self.NodeId = None
|
|
1811
|
+
self.QueryType = None
|
|
1812
|
+
self.KeyType = None
|
|
1813
|
+
self.KeyName = None
|
|
1814
|
+
self.StartQueryTime = None
|
|
1815
|
+
self.EndQueryTime = None
|
|
1816
|
+
self.PageSize = None
|
|
1817
|
+
self.PageNum = None
|
|
1818
|
+
|
|
1819
|
+
def _deserialize(self, params):
|
|
1820
|
+
if params.get("CacheId"):
|
|
1821
|
+
self.CacheId = params.get("CacheId")
|
|
1822
|
+
if params.get("NodeId"):
|
|
1823
|
+
self.NodeId = params.get("NodeId")
|
|
1824
|
+
if params.get("QueryType"):
|
|
1825
|
+
self.QueryType = params.get("QueryType")
|
|
1826
|
+
if params.get("KeyType"):
|
|
1827
|
+
self.KeyType = params.get("KeyType")
|
|
1828
|
+
if params.get("KeyName"):
|
|
1829
|
+
self.KeyName = params.get("KeyName")
|
|
1830
|
+
if params.get("StartQueryTime"):
|
|
1831
|
+
self.StartQueryTime = params.get("StartQueryTime")
|
|
1832
|
+
if params.get("EndQueryTime"):
|
|
1833
|
+
self.EndQueryTime = params.get("EndQueryTime")
|
|
1834
|
+
if params.get("PageSize"):
|
|
1835
|
+
self.PageSize = params.get("PageSize")
|
|
1836
|
+
if params.get("PageNum"):
|
|
1837
|
+
self.PageNum = params.get("PageNum")
|
|
1838
|
+
|
|
1839
|
+
|
|
1840
|
+
class DescribePluginsRequest(AbstractModel):
|
|
1841
|
+
"""DescribePlugins请求参数结构体
|
|
1842
|
+
"""
|
|
1843
|
+
|
|
1844
|
+
def __init__(self):
|
|
1845
|
+
r"""查询插件列表
|
|
1846
|
+
:param CacheId: 实例ID
|
|
1847
|
+
:type PathPrefix: String
|
|
1848
|
+
:param Installed: 是否是已安装的插件。
|
|
1849
|
+
:type PathPrefix: Boolean
|
|
1850
|
+
:param FuzzySearch: 模糊查找
|
|
1851
|
+
:type PathPrefix: String
|
|
1852
|
+
:param Offset: 偏移量
|
|
1853
|
+
:type PathPrefix: Int
|
|
1854
|
+
:param Limit: 返回最大记录数
|
|
1855
|
+
:type PathPrefix: Int
|
|
1856
|
+
"""
|
|
1857
|
+
self.CacheId = None
|
|
1858
|
+
self.Installed = None
|
|
1859
|
+
self.FuzzySearch = None
|
|
1860
|
+
self.Offset = None
|
|
1861
|
+
self.Limit = None
|
|
1862
|
+
|
|
1863
|
+
def _deserialize(self, params):
|
|
1864
|
+
if params.get("CacheId"):
|
|
1865
|
+
self.CacheId = params.get("CacheId")
|
|
1866
|
+
if params.get("Installed"):
|
|
1867
|
+
self.Installed = params.get("Installed")
|
|
1868
|
+
if params.get("FuzzySearch"):
|
|
1869
|
+
self.FuzzySearch = params.get("FuzzySearch")
|
|
1870
|
+
if params.get("Offset"):
|
|
1871
|
+
self.Offset = params.get("Offset")
|
|
1872
|
+
if params.get("Limit"):
|
|
1873
|
+
self.Limit = params.get("Limit")
|
|
1874
|
+
|
|
1875
|
+
|
|
1876
|
+
class InstallPluginsRequest(AbstractModel):
|
|
1877
|
+
"""InstallPlugins请求参数结构体
|
|
1878
|
+
"""
|
|
1879
|
+
|
|
1880
|
+
def __init__(self):
|
|
1881
|
+
r"""实例安装插件
|
|
1882
|
+
:param CacheId: 实例ID
|
|
1883
|
+
:type PathPrefix: String
|
|
1884
|
+
:param Plugins: 需安装的插件列表。
|
|
1885
|
+
:type PathPrefix: Array
|
|
1886
|
+
"""
|
|
1887
|
+
self.CacheId = None
|
|
1888
|
+
self.Plugins = None
|
|
1889
|
+
|
|
1890
|
+
def _deserialize(self, params):
|
|
1891
|
+
if params.get("CacheId"):
|
|
1892
|
+
self.CacheId = params.get("CacheId")
|
|
1893
|
+
if params.get("Plugins"):
|
|
1894
|
+
self.Plugins = params.get("Plugins")
|
|
1895
|
+
|
|
1896
|
+
|
|
1897
|
+
class UninstallPluginsRequest(AbstractModel):
|
|
1898
|
+
"""UninstallPlugins请求参数结构体
|
|
1899
|
+
"""
|
|
1900
|
+
|
|
1901
|
+
def __init__(self):
|
|
1902
|
+
r"""实例卸载插件
|
|
1903
|
+
:param CacheId: 实例ID
|
|
1904
|
+
:type PathPrefix: String
|
|
1905
|
+
:param PluginNames: 插件名称
|
|
1906
|
+
:type PathPrefix: Array
|
|
1907
|
+
"""
|
|
1908
|
+
self.CacheId = None
|
|
1909
|
+
self.PluginNames = None
|
|
1910
|
+
|
|
1911
|
+
def _deserialize(self, params):
|
|
1912
|
+
if params.get("CacheId"):
|
|
1913
|
+
self.CacheId = params.get("CacheId")
|
|
1914
|
+
if params.get("PluginNames"):
|
|
1915
|
+
self.PluginNames = params.get("PluginNames")
|
|
1916
|
+
|
|
1917
|
+
|