Skip to content

Commit 9ec5b0c

Browse files
committed
Generated 2015-01-01 for R-kvstore.
1 parent c1638a0 commit 9ec5b0c

File tree

8 files changed

+314
-47
lines changed

8 files changed

+314
-47
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-08-28 Version: 2.20.16
2+
- Generated 2015-01-01 for `R-kvstore`.
3+
14
2025-07-30 Version: 2.20.15
25
- Backup OpenAPI update.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.20.15'
1+
__version__ = '2.20.16'

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ def __init__(self):
3535
"cn-hongkong-finance-pop": "r-kvstore.aliyuncs.com",
3636
"cn-qingdao-nebula": "r-kvstore.aliyuncs.com",
3737
"cn-shanghai": "r-kvstore.aliyuncs.com",
38-
"cn-shanghai-finance-1": "r-kvstore.aliyuncs.com",
3938
"cn-heyuan": "r-kvstore.aliyuncs.com",
4039
"cn-beijing-finance-pop": "r-kvstore.aliyuncs.com",
4140
"cn-wuhan": "r-kvstore.aliyuncs.com",
Lines changed: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
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 CreateTairKVCacheVNodeRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'R-kvstore', '2015-01-01', 'CreateTairKVCacheVNode','redisa')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
if hasattr(self, "endpoint_map"):
31+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
32+
if hasattr(self, "endpoint_regional"):
33+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
34+
35+
def get_ResourceOwnerId(self): # Long
36+
return self.get_query_params().get('ResourceOwnerId')
37+
38+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
39+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
40+
def get_ClientToken(self): # String
41+
return self.get_query_params().get('ClientToken')
42+
43+
def set_ClientToken(self, ClientToken): # String
44+
self.add_query_param('ClientToken', ClientToken)
45+
def get_CouponNo(self): # String
46+
return self.get_query_params().get('CouponNo')
47+
48+
def set_CouponNo(self, CouponNo): # String
49+
self.add_query_param('CouponNo', CouponNo)
50+
def get_AutoUseCoupon(self): # Boolean
51+
return self.get_query_params().get('AutoUseCoupon')
52+
53+
def set_AutoUseCoupon(self, AutoUseCoupon): # Boolean
54+
self.add_query_param('AutoUseCoupon', AutoUseCoupon)
55+
def get_InstanceClass(self): # String
56+
return self.get_query_params().get('InstanceClass')
57+
58+
def set_InstanceClass(self, InstanceClass): # String
59+
self.add_query_param('InstanceClass', InstanceClass)
60+
def get_ResourceGroupId(self): # String
61+
return self.get_query_params().get('ResourceGroupId')
62+
63+
def set_ResourceGroupId(self, ResourceGroupId): # String
64+
self.add_query_param('ResourceGroupId', ResourceGroupId)
65+
def get_SecurityToken(self): # String
66+
return self.get_query_params().get('SecurityToken')
67+
68+
def set_SecurityToken(self, SecurityToken): # String
69+
self.add_query_param('SecurityToken', SecurityToken)
70+
def get_Tags(self): # RepeatList
71+
return self.get_query_params().get('Tag')
72+
73+
def set_Tags(self, Tag): # RepeatList
74+
for depth1 in range(len(Tag)):
75+
if Tag[depth1].get('Value') is not None:
76+
self.add_query_param('Tag.' + str(depth1 + 1) + '.Value', Tag[depth1].get('Value'))
77+
if Tag[depth1].get('Key') is not None:
78+
self.add_query_param('Tag.' + str(depth1 + 1) + '.Key', Tag[depth1].get('Key'))
79+
def get_BusinessInfo(self): # String
80+
return self.get_query_params().get('BusinessInfo')
81+
82+
def set_BusinessInfo(self, BusinessInfo): # String
83+
self.add_query_param('BusinessInfo', BusinessInfo)
84+
def get_AutoRenewPeriod(self): # String
85+
return self.get_query_params().get('AutoRenewPeriod')
86+
87+
def set_AutoRenewPeriod(self, AutoRenewPeriod): # String
88+
self.add_query_param('AutoRenewPeriod', AutoRenewPeriod)
89+
def get_Period(self): # Integer
90+
return self.get_query_params().get('Period')
91+
92+
def set_Period(self, Period): # Integer
93+
self.add_query_param('Period', Period)
94+
def get_AutoPay(self): # Boolean
95+
return self.get_query_params().get('AutoPay')
96+
97+
def set_AutoPay(self, AutoPay): # Boolean
98+
self.add_query_param('AutoPay', AutoPay)
99+
def get_DryRun(self): # Boolean
100+
return self.get_query_params().get('DryRun')
101+
102+
def set_DryRun(self, DryRun): # Boolean
103+
self.add_query_param('DryRun', DryRun)
104+
def get_ResourceOwnerAccount(self): # String
105+
return self.get_query_params().get('ResourceOwnerAccount')
106+
107+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
108+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
109+
def get_OwnerAccount(self): # String
110+
return self.get_query_params().get('OwnerAccount')
111+
112+
def set_OwnerAccount(self, OwnerAccount): # String
113+
self.add_query_param('OwnerAccount', OwnerAccount)
114+
def get_OwnerId(self): # Long
115+
return self.get_query_params().get('OwnerId')
116+
117+
def set_OwnerId(self, OwnerId): # Long
118+
self.add_query_param('OwnerId', OwnerId)
119+
def get_VSwitchId(self): # String
120+
return self.get_query_params().get('VSwitchId')
121+
122+
def set_VSwitchId(self, VSwitchId): # String
123+
self.add_query_param('VSwitchId', VSwitchId)
124+
def get_InstanceName(self): # String
125+
return self.get_query_params().get('InstanceName')
126+
127+
def set_InstanceName(self, InstanceName): # String
128+
self.add_query_param('InstanceName', InstanceName)
129+
def get_VkName(self): # String
130+
return self.get_query_params().get('VkName')
131+
132+
def set_VkName(self, VkName): # String
133+
self.add_query_param('VkName', VkName)
134+
def get_AutoRenew(self): # Boolean
135+
return self.get_query_params().get('AutoRenew')
136+
137+
def set_AutoRenew(self, AutoRenew): # Boolean
138+
self.add_query_param('AutoRenew', AutoRenew)
139+
def get_ComputeUnitNum(self): # Integer
140+
return self.get_query_params().get('ComputeUnitNum')
141+
142+
def set_ComputeUnitNum(self, ComputeUnitNum): # Integer
143+
self.add_query_param('ComputeUnitNum', ComputeUnitNum)
144+
def get_ZoneId(self): # String
145+
return self.get_query_params().get('ZoneId')
146+
147+
def set_ZoneId(self, ZoneId): # String
148+
self.add_query_param('ZoneId', ZoneId)
149+
def get_ChargeType(self): # String
150+
return self.get_query_params().get('ChargeType')
151+
152+
def set_ChargeType(self, ChargeType): # String
153+
self.add_query_param('ChargeType', ChargeType)

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

Lines changed: 49 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ def get_ResourceOwnerId(self): # Long
3636

3737
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
3838
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39-
def get_SearchKey(self): # String
40-
return self.get_query_params().get('SearchKey')
41-
42-
def set_SearchKey(self, SearchKey): # String
43-
self.add_query_param('SearchKey', SearchKey)
4439
def get_NetworkType(self): # String
4540
return self.get_query_params().get('NetworkType')
4641

@@ -51,6 +46,55 @@ def get_EngineVersion(self): # String
5146

5247
def set_EngineVersion(self, EngineVersion): # String
5348
self.add_query_param('EngineVersion', EngineVersion)
49+
def get_ResourceGroupId(self): # String
50+
return self.get_query_params().get('ResourceGroupId')
51+
52+
def set_ResourceGroupId(self, ResourceGroupId): # String
53+
self.add_query_param('ResourceGroupId', ResourceGroupId)
54+
def get_SecurityToken(self): # String
55+
return self.get_query_params().get('SecurityToken')
56+
57+
def set_SecurityToken(self, SecurityToken): # String
58+
self.add_query_param('SecurityToken', SecurityToken)
59+
def get_Tags(self): # RepeatList
60+
return self.get_query_params().get('Tag')
61+
62+
def set_Tags(self, Tag): # RepeatList
63+
for depth1 in range(len(Tag)):
64+
if Tag[depth1].get('Value') is not None:
65+
self.add_query_param('Tag.' + str(depth1 + 1) + '.Value', Tag[depth1].get('Value'))
66+
if Tag[depth1].get('Key') is not None:
67+
self.add_query_param('Tag.' + str(depth1 + 1) + '.Key', Tag[depth1].get('Key'))
68+
def get_OwnerId(self): # Long
69+
return self.get_query_params().get('OwnerId')
70+
71+
def set_OwnerId(self, OwnerId): # Long
72+
self.add_query_param('OwnerId', OwnerId)
73+
def get_VSwitchId(self): # String
74+
return self.get_query_params().get('VSwitchId')
75+
76+
def set_VSwitchId(self, VSwitchId): # String
77+
self.add_query_param('VSwitchId', VSwitchId)
78+
def get_InstanceIds(self): # String
79+
return self.get_query_params().get('InstanceIds')
80+
81+
def set_InstanceIds(self, InstanceIds): # String
82+
self.add_query_param('InstanceIds', InstanceIds)
83+
def get_ZoneId(self): # String
84+
return self.get_query_params().get('ZoneId')
85+
86+
def set_ZoneId(self, ZoneId): # String
87+
self.add_query_param('ZoneId', ZoneId)
88+
def get_NodeType(self): # String
89+
return self.get_query_params().get('NodeType')
90+
91+
def set_NodeType(self, NodeType): # String
92+
self.add_query_param('NodeType', NodeType)
93+
def get_SearchKey(self): # String
94+
return self.get_query_params().get('SearchKey')
95+
96+
def set_SearchKey(self, SearchKey): # String
97+
self.add_query_param('SearchKey', SearchKey)
5498
def get_InstanceClass(self): # String
5599
return self.get_query_params().get('InstanceClass')
56100

@@ -61,21 +105,11 @@ def get_PageNumber(self): # Integer
61105

62106
def set_PageNumber(self, PageNumber): # Integer
63107
self.add_query_param('PageNumber', PageNumber)
64-
def get_ResourceGroupId(self): # String
65-
return self.get_query_params().get('ResourceGroupId')
66-
67-
def set_ResourceGroupId(self, ResourceGroupId): # String
68-
self.add_query_param('ResourceGroupId', ResourceGroupId)
69108
def get_Expired(self): # String
70109
return self.get_query_params().get('Expired')
71110

72111
def set_Expired(self, Expired): # String
73112
self.add_query_param('Expired', Expired)
74-
def get_SecurityToken(self): # String
75-
return self.get_query_params().get('SecurityToken')
76-
77-
def set_SecurityToken(self, SecurityToken): # String
78-
self.add_query_param('SecurityToken', SecurityToken)
79113
def get_PageSize(self): # Integer
80114
return self.get_query_params().get('PageSize')
81115

@@ -91,15 +125,6 @@ def get_EditionType(self): # String
91125

92126
def set_EditionType(self, EditionType): # String
93127
self.add_query_param('EditionType', EditionType)
94-
def get_Tags(self): # RepeatList
95-
return self.get_query_params().get('Tag')
96-
97-
def set_Tags(self, Tag): # RepeatList
98-
for depth1 in range(len(Tag)):
99-
if Tag[depth1].get('Value') is not None:
100-
self.add_query_param('Tag.' + str(depth1 + 1) + '.Value', Tag[depth1].get('Value'))
101-
if Tag[depth1].get('Key') is not None:
102-
self.add_query_param('Tag.' + str(depth1 + 1) + '.Key', Tag[depth1].get('Key'))
103128
def get_InstanceStatus(self): # String
104129
return self.get_query_params().get('InstanceStatus')
105130

@@ -125,21 +150,6 @@ def get_PrivateIp(self): # String
125150

126151
def set_PrivateIp(self, PrivateIp): # String
127152
self.add_query_param('PrivateIp', PrivateIp)
128-
def get_OwnerId(self): # Long
129-
return self.get_query_params().get('OwnerId')
130-
131-
def set_OwnerId(self, OwnerId): # Long
132-
self.add_query_param('OwnerId', OwnerId)
133-
def get_VSwitchId(self): # String
134-
return self.get_query_params().get('VSwitchId')
135-
136-
def set_VSwitchId(self, VSwitchId): # String
137-
self.add_query_param('VSwitchId', VSwitchId)
138-
def get_InstanceIds(self): # String
139-
return self.get_query_params().get('InstanceIds')
140-
141-
def set_InstanceIds(self, InstanceIds): # String
142-
self.add_query_param('InstanceIds', InstanceIds)
143153
def get_ArchitectureType(self): # String
144154
return self.get_query_params().get('ArchitectureType')
145155

@@ -150,11 +160,6 @@ def get_VpcId(self): # String
150160

151161
def set_VpcId(self, VpcId): # String
152162
self.add_query_param('VpcId', VpcId)
153-
def get_ZoneId(self): # String
154-
return self.get_query_params().get('ZoneId')
155-
156-
def set_ZoneId(self, ZoneId): # String
157-
self.add_query_param('ZoneId', ZoneId)
158163
def get_ChargeType(self): # String
159164
return self.get_query_params().get('ChargeType')
160165

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ def get_Instances(self): # String
4646

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

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ class DescribeTairKVCacheInferInstancesRequest(RpcRequest):
2424

2525
def __init__(self):
2626
RpcRequest.__init__(self, 'R-kvstore', '2015-01-01', 'DescribeTairKVCacheInferInstances','redisa')
27-
self.set_protocol_type('https')
2827
self.set_method('GET')
2928

3029
if hasattr(self, "endpoint_map"):

0 commit comments

Comments
 (0)