Skip to content

Commit f605055

Browse files
committed
Account management add SourceBiz parameters.
1 parent e425634 commit f605055

27 files changed

+858
-6
lines changed

aliyun-python-sdk-r-kvstore/ChangeLog.txt

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-07-19 Version: 2.20.12
2+
- Account management add SourceBiz parameters.
3+
14
2024-01-18 Version: 2.20.11
25
- Add DescribeClusterBackupList OpenAPI.
36

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.20.11'
1+
__version__ = '2.20.12'

aliyun-python-sdk-r-kvstore/aliyunsdkr_kvstore/endpoint.py

-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def __init__(self):
5858
"cn-shanghai-et2-b01": "r-kvstore.aliyuncs.com",
5959
"cn-guangzhou": "r-kvstore.aliyuncs.com",
6060
"cn-hangzhou-finance": "r-kvstore.aliyuncs.com",
61-
"ap-southeast-1": "r-kvstore.aliyuncs.com",
6261
"cn-beijing-nu16-b01": "r-kvstore.aliyuncs.com",
6362
"cn-edge-1": "r-kvstore.aliyuncs.com",
6463
"cn-fujian": "r-kvstore.aliyuncs.com",

aliyun-python-sdk-r-kvstore/aliyunsdkr_kvstore/request/v20150101/CreateAccountRequest.py

+5
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ def get_SecurityToken(self): # String
6161

6262
def set_SecurityToken(self, SecurityToken): # String
6363
self.add_query_param('SecurityToken', SecurityToken)
64+
def get_SourceBiz(self): # String
65+
return self.get_query_params().get('SourceBiz')
66+
67+
def set_SourceBiz(self, SourceBiz): # String
68+
self.add_query_param('SourceBiz', SourceBiz)
6469
def get_ResourceOwnerAccount(self): # String
6570
return self.get_query_params().get('ResourceOwnerAccount')
6671

aliyun-python-sdk-r-kvstore/aliyunsdkr_kvstore/request/v20150101/CreateGlobalDistributeCacheRequest.py

+5
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ def get_SecurityToken(self): # String
4646

4747
def set_SecurityToken(self, SecurityToken): # String
4848
self.add_query_param('SecurityToken', SecurityToken)
49+
def get_EffectiveTime(self): # String
50+
return self.get_query_params().get('EffectiveTime')
51+
52+
def set_EffectiveTime(self, EffectiveTime): # String
53+
self.add_query_param('EffectiveTime', EffectiveTime)
4954
def get_ResourceOwnerAccount(self): # String
5055
return self.get_query_params().get('ResourceOwnerAccount')
5156

aliyun-python-sdk-r-kvstore/aliyunsdkr_kvstore/request/v20150101/CreateInstanceRequest.py

+10
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ def get_SecondaryZoneId(self): # String
4646

4747
def set_SecondaryZoneId(self, SecondaryZoneId): # String
4848
self.add_query_param('SecondaryZoneId', SecondaryZoneId)
49+
def get_SlaveReadOnlyCount(self): # Integer
50+
return self.get_query_params().get('SlaveReadOnlyCount')
51+
52+
def set_SlaveReadOnlyCount(self, SlaveReadOnlyCount): # Integer
53+
self.add_query_param('SlaveReadOnlyCount', SlaveReadOnlyCount)
4954
def get_CouponNo(self): # String
5055
return self.get_query_params().get('CouponNo')
5156

@@ -215,6 +220,11 @@ def get_GlobalInstance(self): # Boolean
215220

216221
def set_GlobalInstance(self, GlobalInstance): # Boolean
217222
self.add_query_param('GlobalInstance', GlobalInstance)
223+
def get_RecoverConfigMode(self): # String
224+
return self.get_query_params().get('RecoverConfigMode')
225+
226+
def set_RecoverConfigMode(self, RecoverConfigMode): # String
227+
self.add_query_param('RecoverConfigMode', RecoverConfigMode)
218228
def get_Token(self): # String
219229
return self.get_query_params().get('Token')
220230

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkr_kvstore.endpoint import endpoint_data
22+
23+
class CreateParameterGroupRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'R-kvstore', '2015-01-01', 'CreateParameterGroup','redisa')
27+
self.set_method('POST')
28+
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
34+
def get_ResourceOwnerId(self): # Long
35+
return self.get_query_params().get('ResourceOwnerId')
36+
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_EngineVersion(self): # String
40+
return self.get_query_params().get('EngineVersion')
41+
42+
def set_EngineVersion(self, EngineVersion): # String
43+
self.add_query_param('EngineVersion', EngineVersion)
44+
def get_SecurityToken(self): # String
45+
return self.get_query_params().get('SecurityToken')
46+
47+
def set_SecurityToken(self, SecurityToken): # String
48+
self.add_query_param('SecurityToken', SecurityToken)
49+
def get_EngineType(self): # String
50+
return self.get_query_params().get('EngineType')
51+
52+
def set_EngineType(self, EngineType): # String
53+
self.add_query_param('EngineType', EngineType)
54+
def get_ResourceOwnerAccount(self): # String
55+
return self.get_query_params().get('ResourceOwnerAccount')
56+
57+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
58+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
59+
def get_OwnerAccount(self): # String
60+
return self.get_query_params().get('OwnerAccount')
61+
62+
def set_OwnerAccount(self, OwnerAccount): # String
63+
self.add_query_param('OwnerAccount', OwnerAccount)
64+
def get_OwnerId(self): # Long
65+
return self.get_query_params().get('OwnerId')
66+
67+
def set_OwnerId(self, OwnerId): # Long
68+
self.add_query_param('OwnerId', OwnerId)
69+
def get_Category(self): # String
70+
return self.get_query_params().get('Category')
71+
72+
def set_Category(self, Category): # String
73+
self.add_query_param('Category', Category)
74+
def get_ParameterGroupName(self): # String
75+
return self.get_query_params().get('ParameterGroupName')
76+
77+
def set_ParameterGroupName(self, ParameterGroupName): # String
78+
self.add_query_param('ParameterGroupName', ParameterGroupName)
79+
def get_Parameters(self): # String
80+
return self.get_query_params().get('Parameters')
81+
82+
def set_Parameters(self, Parameters): # String
83+
self.add_query_param('Parameters', Parameters)
84+
def get_ParameterGroupDesc(self): # String
85+
return self.get_query_params().get('ParameterGroupDesc')
86+
87+
def set_ParameterGroupDesc(self, ParameterGroupDesc): # String
88+
self.add_query_param('ParameterGroupDesc', ParameterGroupDesc)

aliyun-python-sdk-r-kvstore/aliyunsdkr_kvstore/request/v20150101/CreateTairInstanceRequest.py

+15
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ def get_SecondaryZoneId(self): # String
4141

4242
def set_SecondaryZoneId(self, SecondaryZoneId): # String
4343
self.add_query_param('SecondaryZoneId', SecondaryZoneId)
44+
def get_SlaveReadOnlyCount(self): # Integer
45+
return self.get_query_params().get('SlaveReadOnlyCount')
46+
47+
def set_SlaveReadOnlyCount(self, SlaveReadOnlyCount): # Integer
48+
self.add_query_param('SlaveReadOnlyCount', SlaveReadOnlyCount)
4449
def get_CouponNo(self): # String
4550
return self.get_query_params().get('CouponNo')
4651

@@ -180,6 +185,11 @@ def get_InstanceType(self): # String
180185

181186
def set_InstanceType(self, InstanceType): # String
182187
self.add_query_param('InstanceType', InstanceType)
188+
def get_RestoreTime(self): # String
189+
return self.get_query_params().get('RestoreTime')
190+
191+
def set_RestoreTime(self, RestoreTime): # String
192+
self.add_query_param('RestoreTime', RestoreTime)
183193
def get_AutoPay(self): # Boolean
184194
return self.get_query_params().get('AutoPay')
185195

@@ -200,6 +210,11 @@ def get_OwnerAccount(self): # String
200210

201211
def set_OwnerAccount(self, OwnerAccount): # String
202212
self.add_query_param('OwnerAccount', OwnerAccount)
213+
def get_RecoverConfigMode(self): # String
214+
return self.get_query_params().get('RecoverConfigMode')
215+
216+
def set_RecoverConfigMode(self, RecoverConfigMode): # String
217+
self.add_query_param('RecoverConfigMode', RecoverConfigMode)
203218
def get_GlobalInstanceId(self): # String
204219
return self.get_query_params().get('GlobalInstanceId')
205220

aliyun-python-sdk-r-kvstore/aliyunsdkr_kvstore/request/v20150101/DeleteAccountRequest.py

+5
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ def get_SecurityToken(self): # String
4646

4747
def set_SecurityToken(self, SecurityToken): # String
4848
self.add_query_param('SecurityToken', SecurityToken)
49+
def get_SourceBiz(self): # String
50+
return self.get_query_params().get('SourceBiz')
51+
52+
def set_SourceBiz(self, SourceBiz): # String
53+
self.add_query_param('SourceBiz', SourceBiz)
4954
def get_ResourceOwnerAccount(self): # String
5055
return self.get_query_params().get('ResourceOwnerAccount')
5156

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkr_kvstore.endpoint import endpoint_data
22+
23+
class DeleteParameterGroupRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'R-kvstore', '2015-01-01', 'DeleteParameterGroup','redisa')
27+
self.set_method('POST')
28+
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
34+
def get_ResourceOwnerId(self): # Long
35+
return self.get_query_params().get('ResourceOwnerId')
36+
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_ParameterGroupId(self): # String
40+
return self.get_query_params().get('ParameterGroupId')
41+
42+
def set_ParameterGroupId(self, ParameterGroupId): # String
43+
self.add_query_param('ParameterGroupId', ParameterGroupId)
44+
def get_SecurityToken(self): # String
45+
return self.get_query_params().get('SecurityToken')
46+
47+
def set_SecurityToken(self, SecurityToken): # String
48+
self.add_query_param('SecurityToken', SecurityToken)
49+
def get_ResourceOwnerAccount(self): # String
50+
return self.get_query_params().get('ResourceOwnerAccount')
51+
52+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
53+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
54+
def get_OwnerAccount(self): # String
55+
return self.get_query_params().get('OwnerAccount')
56+
57+
def set_OwnerAccount(self, OwnerAccount): # String
58+
self.add_query_param('OwnerAccount', OwnerAccount)
59+
def get_OwnerId(self): # Long
60+
return self.get_query_params().get('OwnerId')
61+
62+
def set_OwnerId(self, OwnerId): # Long
63+
self.add_query_param('OwnerId', OwnerId)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkr_kvstore.endpoint import endpoint_data
22+
23+
class DescribeActiveOperationTasksRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'R-kvstore', '2015-01-01', 'DescribeActiveOperationTasks','redisa')
27+
self.set_method('POST')
28+
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
34+
def get_ResourceOwnerId(self): # Long
35+
return self.get_query_params().get('ResourceOwnerId')
36+
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_ProductId(self): # String
40+
return self.get_query_params().get('ProductId')
41+
42+
def set_ProductId(self, ProductId): # String
43+
self.add_query_param('ProductId', ProductId)
44+
def get_ChangeLevel(self): # String
45+
return self.get_query_params().get('ChangeLevel')
46+
47+
def set_ChangeLevel(self, ChangeLevel): # String
48+
self.add_query_param('ChangeLevel', ChangeLevel)
49+
def get_PageNumber(self): # Integer
50+
return self.get_query_params().get('PageNumber')
51+
52+
def set_PageNumber(self, PageNumber): # Integer
53+
self.add_query_param('PageNumber', PageNumber)
54+
def get_InsName(self): # String
55+
return self.get_query_params().get('InsName')
56+
57+
def set_InsName(self, InsName): # String
58+
self.add_query_param('InsName', InsName)
59+
def get_SecurityToken(self): # String
60+
return self.get_query_params().get('SecurityToken')
61+
62+
def set_SecurityToken(self, SecurityToken): # String
63+
self.add_query_param('SecurityToken', SecurityToken)
64+
def get_PageSize(self): # Integer
65+
return self.get_query_params().get('PageSize')
66+
67+
def set_PageSize(self, PageSize): # Integer
68+
self.add_query_param('PageSize', PageSize)
69+
def get_TaskType(self): # String
70+
return self.get_query_params().get('TaskType')
71+
72+
def set_TaskType(self, TaskType): # String
73+
self.add_query_param('TaskType', TaskType)
74+
def get_ResourceOwnerAccount(self): # String
75+
return self.get_query_params().get('ResourceOwnerAccount')
76+
77+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
78+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
79+
def get_OwnerAccount(self): # String
80+
return self.get_query_params().get('OwnerAccount')
81+
82+
def set_OwnerAccount(self, OwnerAccount): # String
83+
self.add_query_param('OwnerAccount', OwnerAccount)
84+
def get_AllowCancel(self): # Integer
85+
return self.get_query_params().get('AllowCancel')
86+
87+
def set_AllowCancel(self, AllowCancel): # Integer
88+
self.add_query_param('AllowCancel', AllowCancel)
89+
def get_OwnerId(self): # Long
90+
return self.get_query_params().get('OwnerId')
91+
92+
def set_OwnerId(self, OwnerId): # Long
93+
self.add_query_param('OwnerId', OwnerId)
94+
def get_DbType(self): # String
95+
return self.get_query_params().get('DbType')
96+
97+
def set_DbType(self, DbType): # String
98+
self.add_query_param('DbType', DbType)
99+
def get_AllowChange(self): # Integer
100+
return self.get_query_params().get('AllowChange')
101+
102+
def set_AllowChange(self, AllowChange): # Integer
103+
self.add_query_param('AllowChange', AllowChange)
104+
def get_Region(self): # String
105+
return self.get_query_params().get('Region')
106+
107+
def set_Region(self, Region): # String
108+
self.add_query_param('Region', Region)
109+
def get_Status(self): # Integer
110+
return self.get_query_params().get('Status')
111+
112+
def set_Status(self, Status): # Integer
113+
self.add_query_param('Status', Status)

0 commit comments

Comments
 (0)