Skip to content

Commit 59c7a96

Browse files
publish jdcloud-sdk-python 1.6.169
1 parent 452675c commit 59c7a96

12 files changed

Lines changed: 470 additions & 4 deletions

jdcloud_sdk/services/redis/ChangeLog.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# 更新历史
22

3-
API版本:2.6.16
3+
API版本:2.6.17
44

55
| 发布时间 | 版本号 | 更新 | 说明 |
66
| ---------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
7-
| 2022-05-31 | 2.6.16 | 新增接口 | 新增接口describeNodeList,更新接口executeCommand |
7+
| 2022-07-06 | 2.6.17 | 新增接口 | 新增接口bigKey、bigKeyDetail、bigKeyAutoAnalysisTime、stopCacheAnalysis、cacheAnalysisThreshold |
8+
| 2022-05-31 | 2.6.16 | 新增接口 | 新增接口describeNodeList,更新接口executeCommand |
89
| 2022-05-23 | 2.6.15 | 接口更新 | 更新接口createCacheInstance、describeCacheInstance、describeCacheInstances、describeAvailableResource |
910
| 2022-05-20 | 2.6.14 | 新增接口 | 新增接口filteredClientPerfData |
1011
| 2022-05-17 | 2.6.13 | 接口更新 | 更新接口describeInstanceConfig |
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class CreateBigKeyAnalysisRequest(JDCloudRequest):
23+
"""
24+
创建大key分析任务
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(CreateBigKeyAnalysisRequest, self).__init__(
29+
'/regions/{regionId}/cacheInstance/{cacheInstanceId}/bigKey', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class CreateBigKeyAnalysisParameters(object):
34+
35+
def __init__(self, regionId,cacheInstanceId,):
36+
"""
37+
:param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2
38+
:param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识
39+
"""
40+
41+
self.regionId = regionId
42+
self.cacheInstanceId = cacheInstanceId
43+
self.stringSize = None
44+
self.listSize = None
45+
self.hashSize = None
46+
self.setSize = None
47+
self.zsetSize = None
48+
self.top = None
49+
50+
def setStringSize(self, stringSize):
51+
"""
52+
:param stringSize: (Optional) String类型阈值
53+
"""
54+
self.stringSize = stringSize
55+
56+
def setListSize(self, listSize):
57+
"""
58+
:param listSize: (Optional) List类型阈值
59+
"""
60+
self.listSize = listSize
61+
62+
def setHashSize(self, hashSize):
63+
"""
64+
:param hashSize: (Optional) Hash类型阈值
65+
"""
66+
self.hashSize = hashSize
67+
68+
def setSetSize(self, setSize):
69+
"""
70+
:param setSize: (Optional) Set类型阈值
71+
"""
72+
self.setSize = setSize
73+
74+
def setZsetSize(self, zsetSize):
75+
"""
76+
:param zsetSize: (Optional) Zset类型阈值
77+
"""
78+
self.zsetSize = zsetSize
79+
80+
def setTop(self, top):
81+
"""
82+
:param top: (Optional) top值,范围10~1000
83+
"""
84+
self.top = top
85+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class DescribeAnalysisThresholdRequest(JDCloudRequest):
23+
"""
24+
查询缓存分析阈值
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DescribeAnalysisThresholdRequest, self).__init__(
29+
'/regions/{regionId}/cacheInstance/{cacheInstanceId}/cacheAnalysisThreshold', 'GET', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DescribeAnalysisThresholdParameters(object):
34+
35+
def __init__(self, regionId,cacheInstanceId,taskId):
36+
"""
37+
:param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2
38+
:param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识
39+
:param taskId: 任务id
40+
"""
41+
42+
self.regionId = regionId
43+
self.cacheInstanceId = cacheInstanceId
44+
self.taskId = taskId
45+
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class DescribeBigKeyAnalysisTimeRequest(JDCloudRequest):
23+
"""
24+
获取大key自动缓存分析时间
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DescribeBigKeyAnalysisTimeRequest, self).__init__(
29+
'/regions/{regionId}/cacheInstance/{cacheInstanceId}/bigKeyAutoAnalysisTime', 'GET', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DescribeBigKeyAnalysisTimeParameters(object):
34+
35+
def __init__(self, regionId,cacheInstanceId,):
36+
"""
37+
:param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2
38+
:param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识
39+
"""
40+
41+
self.regionId = regionId
42+
self.cacheInstanceId = cacheInstanceId
43+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class DescribeBigKeyDetailRequest(JDCloudRequest):
23+
"""
24+
查询大key分析详情
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DescribeBigKeyDetailRequest, self).__init__(
29+
'/regions/{regionId}/cacheInstance/{cacheInstanceId}/bigKeyDetail', 'GET', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DescribeBigKeyDetailParameters(object):
34+
35+
def __init__(self, regionId,cacheInstanceId,taskId):
36+
"""
37+
:param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2
38+
:param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识
39+
:param taskId: 任务id
40+
"""
41+
42+
self.regionId = regionId
43+
self.cacheInstanceId = cacheInstanceId
44+
self.taskId = taskId
45+
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class DescribeBigKeyListRequest(JDCloudRequest):
23+
"""
24+
查询大key分析任务列表
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(DescribeBigKeyListRequest, self).__init__(
29+
'/regions/{regionId}/cacheInstance/{cacheInstanceId}/bigKey', 'GET', header, version)
30+
self.parameters = parameters
31+
32+
33+
class DescribeBigKeyListParameters(object):
34+
35+
def __init__(self, regionId,cacheInstanceId,):
36+
"""
37+
:param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2
38+
:param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识
39+
"""
40+
41+
self.regionId = regionId
42+
self.cacheInstanceId = cacheInstanceId
43+
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# coding=utf8
2+
3+
# Copyright 2018 JDCLOUD.COM
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
#
17+
# NOTE: This class is auto generated by the jdcloud code generator program.
18+
19+
from jdcloud_sdk.core.jdcloudrequest import JDCloudRequest
20+
21+
22+
class ModifyAnalysisThresholdRequest(JDCloudRequest):
23+
"""
24+
设置缓存分析阈值
25+
"""
26+
27+
def __init__(self, parameters, header=None, version="v1"):
28+
super(ModifyAnalysisThresholdRequest, self).__init__(
29+
'/regions/{regionId}/cacheInstance/{cacheInstanceId}/cacheAnalysisThreshold', 'POST', header, version)
30+
self.parameters = parameters
31+
32+
33+
class ModifyAnalysisThresholdParameters(object):
34+
35+
def __init__(self, regionId,cacheInstanceId,):
36+
"""
37+
:param regionId: 缓存Redis实例所在区域的Region ID。目前有华北-北京、华南-广州、华东-上海三个区域,Region ID分别为cn-north-1、cn-south-1、cn-east-2
38+
:param cacheInstanceId: 缓存Redis实例ID,是访问实例的唯一标识
39+
"""
40+
41+
self.regionId = regionId
42+
self.cacheInstanceId = cacheInstanceId
43+
self.stringSize = None
44+
self.listSize = None
45+
self.hashSize = None
46+
self.setSize = None
47+
self.zsetSize = None
48+
self.top = None
49+
50+
def setStringSize(self, stringSize):
51+
"""
52+
:param stringSize: (Optional) String类型阈值
53+
"""
54+
self.stringSize = stringSize
55+
56+
def setListSize(self, listSize):
57+
"""
58+
:param listSize: (Optional) List类型阈值
59+
"""
60+
self.listSize = listSize
61+
62+
def setHashSize(self, hashSize):
63+
"""
64+
:param hashSize: (Optional) Hash类型阈值
65+
"""
66+
self.hashSize = hashSize
67+
68+
def setSetSize(self, setSize):
69+
"""
70+
:param setSize: (Optional) Set类型阈值
71+
"""
72+
self.setSize = setSize
73+
74+
def setZsetSize(self, zsetSize):
75+
"""
76+
:param zsetSize: (Optional) Zset类型阈值
77+
"""
78+
self.zsetSize = zsetSize
79+
80+
def setTop(self, top):
81+
"""
82+
:param top: (Optional) top值,范围10~1000
83+
"""
84+
self.top = top
85+

0 commit comments

Comments
 (0)