-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CreateInstance add ReplicaCount parameter.
- Loading branch information
Showing
24 changed files
with
1,303 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '2.20.13' | ||
__version__ = '2.20.14' |
63 changes: 63 additions & 0 deletions
63
...n-sdk-r-kvstore/aliyunsdkr_kvstore/request/v20150101/CancelActiveOperationTasksRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
from aliyunsdkr_kvstore.endpoint import endpoint_data | ||
|
||
class CancelActiveOperationTasksRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'R-kvstore', '2015-01-01', 'CancelActiveOperationTasks','redisa') | ||
self.set_method('POST') | ||
|
||
if hasattr(self, "endpoint_map"): | ||
setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) | ||
if hasattr(self, "endpoint_regional"): | ||
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) | ||
|
||
def get_ResourceOwnerId(self): # Long | ||
return self.get_query_params().get('ResourceOwnerId') | ||
|
||
def set_ResourceOwnerId(self, ResourceOwnerId): # Long | ||
self.add_query_param('ResourceOwnerId', ResourceOwnerId) | ||
def get_SecurityToken(self): # String | ||
return self.get_query_params().get('SecurityToken') | ||
|
||
def set_SecurityToken(self, SecurityToken): # String | ||
self.add_query_param('SecurityToken', SecurityToken) | ||
def get_ResourceOwnerAccount(self): # String | ||
return self.get_query_params().get('ResourceOwnerAccount') | ||
|
||
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String | ||
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount) | ||
def get_OwnerAccount(self): # String | ||
return self.get_query_params().get('OwnerAccount') | ||
|
||
def set_OwnerAccount(self, OwnerAccount): # String | ||
self.add_query_param('OwnerAccount', OwnerAccount) | ||
def get_OwnerId(self): # Long | ||
return self.get_query_params().get('OwnerId') | ||
|
||
def set_OwnerId(self, OwnerId): # Long | ||
self.add_query_param('OwnerId', OwnerId) | ||
def get_Ids(self): # String | ||
return self.get_query_params().get('Ids') | ||
|
||
def set_Ids(self, Ids): # String | ||
self.add_query_param('Ids', Ids) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
174 changes: 174 additions & 0 deletions
174
aliyun-python-sdk-r-kvstore/aliyunsdkr_kvstore/request/v20150101/CreateTCInstanceRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,174 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
from aliyunsdkr_kvstore.endpoint import endpoint_data | ||
|
||
class CreateTCInstanceRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'R-kvstore', '2015-01-01', 'CreateTCInstance','redisa') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
if hasattr(self, "endpoint_map"): | ||
setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) | ||
if hasattr(self, "endpoint_regional"): | ||
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) | ||
|
||
def get_ResourceOwnerId(self): # Long | ||
return self.get_query_params().get('ResourceOwnerId') | ||
|
||
def set_ResourceOwnerId(self, ResourceOwnerId): # Long | ||
self.add_query_param('ResourceOwnerId', ResourceOwnerId) | ||
def get_CouponNo(self): # String | ||
return self.get_query_params().get('CouponNo') | ||
|
||
def set_CouponNo(self, CouponNo): # String | ||
self.add_query_param('CouponNo', CouponNo) | ||
def get_NetworkType(self): # String | ||
return self.get_query_params().get('NetworkType') | ||
|
||
def set_NetworkType(self, NetworkType): # String | ||
self.add_query_param('NetworkType', NetworkType) | ||
def get_NeedEni(self): # Boolean | ||
return self.get_query_params().get('NeedEni') | ||
|
||
def set_NeedEni(self, NeedEni): # Boolean | ||
self.add_query_param('NeedEni', NeedEni) | ||
def get_ResourceGroupId(self): # String | ||
return self.get_query_params().get('ResourceGroupId') | ||
|
||
def set_ResourceGroupId(self, ResourceGroupId): # String | ||
self.add_query_param('ResourceGroupId', ResourceGroupId) | ||
def get_SecurityToken(self): # String | ||
return self.get_query_params().get('SecurityToken') | ||
|
||
def set_SecurityToken(self, SecurityToken): # String | ||
self.add_query_param('SecurityToken', SecurityToken) | ||
def get_Tags(self): # RepeatList | ||
return self.get_query_params().get('Tag') | ||
|
||
def set_Tags(self, Tag): # RepeatList | ||
for depth1 in range(len(Tag)): | ||
if Tag[depth1].get('Value') is not None: | ||
self.add_query_param('Tag.' + str(depth1 + 1) + '.Value', Tag[depth1].get('Value')) | ||
if Tag[depth1].get('Key') is not None: | ||
self.add_query_param('Tag.' + str(depth1 + 1) + '.Key', Tag[depth1].get('Key')) | ||
def get_BusinessInfo(self): # String | ||
return self.get_query_params().get('BusinessInfo') | ||
|
||
def set_BusinessInfo(self, BusinessInfo): # String | ||
self.add_query_param('BusinessInfo', BusinessInfo) | ||
def get_AutoRenewPeriod(self): # String | ||
return self.get_query_params().get('AutoRenewPeriod') | ||
|
||
def set_AutoRenewPeriod(self, AutoRenewPeriod): # String | ||
self.add_query_param('AutoRenewPeriod', AutoRenewPeriod) | ||
def get_Period(self): # String | ||
return self.get_query_params().get('Period') | ||
|
||
def set_Period(self, Period): # String | ||
self.add_query_param('Period', Period) | ||
def get_DryRun(self): # Boolean | ||
return self.get_query_params().get('DryRun') | ||
|
||
def set_DryRun(self, DryRun): # Boolean | ||
self.add_query_param('DryRun', DryRun) | ||
def get_OwnerId(self): # Long | ||
return self.get_query_params().get('OwnerId') | ||
|
||
def set_OwnerId(self, OwnerId): # Long | ||
self.add_query_param('OwnerId', OwnerId) | ||
def get_VSwitchId(self): # String | ||
return self.get_query_params().get('VSwitchId') | ||
|
||
def set_VSwitchId(self, VSwitchId): # String | ||
self.add_query_param('VSwitchId', VSwitchId) | ||
def get_InstanceName(self): # String | ||
return self.get_query_params().get('InstanceName') | ||
|
||
def set_InstanceName(self, InstanceName): # String | ||
self.add_query_param('InstanceName', InstanceName) | ||
def get_AutoRenew(self): # String | ||
return self.get_query_params().get('AutoRenew') | ||
|
||
def set_AutoRenew(self, AutoRenew): # String | ||
self.add_query_param('AutoRenew', AutoRenew) | ||
def get_ZoneId(self): # String | ||
return self.get_query_params().get('ZoneId') | ||
|
||
def set_ZoneId(self, ZoneId): # String | ||
self.add_query_param('ZoneId', ZoneId) | ||
def get_ImageId(self): # String | ||
return self.get_query_params().get('ImageId') | ||
|
||
def set_ImageId(self, ImageId): # String | ||
self.add_query_param('ImageId', ImageId) | ||
def get_ClientToken(self): # String | ||
return self.get_query_params().get('ClientToken') | ||
|
||
def set_ClientToken(self, ClientToken): # String | ||
self.add_query_param('ClientToken', ClientToken) | ||
def get_SecurityGroupId(self): # String | ||
return self.get_query_params().get('SecurityGroupId') | ||
|
||
def set_SecurityGroupId(self, SecurityGroupId): # String | ||
self.add_query_param('SecurityGroupId', SecurityGroupId) | ||
def get_AutoUseCoupon(self): # String | ||
return self.get_query_params().get('AutoUseCoupon') | ||
|
||
def set_AutoUseCoupon(self, AutoUseCoupon): # String | ||
self.add_query_param('AutoUseCoupon', AutoUseCoupon) | ||
def get_InstanceClass(self): # String | ||
return self.get_query_params().get('InstanceClass') | ||
|
||
def set_InstanceClass(self, InstanceClass): # String | ||
self.add_query_param('InstanceClass', InstanceClass) | ||
def get_InstanceChargeType(self): # String | ||
return self.get_query_params().get('InstanceChargeType') | ||
|
||
def set_InstanceChargeType(self, InstanceChargeType): # String | ||
self.add_query_param('InstanceChargeType', InstanceChargeType) | ||
def get_ResourceOwnerAccount(self): # String | ||
return self.get_query_params().get('ResourceOwnerAccount') | ||
|
||
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String | ||
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount) | ||
def get_OwnerAccount(self): # String | ||
return self.get_query_params().get('OwnerAccount') | ||
|
||
def set_OwnerAccount(self, OwnerAccount): # String | ||
self.add_query_param('OwnerAccount', OwnerAccount) | ||
def get_DataDisks(self): # RepeatList | ||
return self.get_query_params().get('DataDisk') | ||
|
||
def set_DataDisks(self, DataDisk): # RepeatList | ||
for depth1 in range(len(DataDisk)): | ||
if DataDisk[depth1].get('Size') is not None: | ||
self.add_query_param('DataDisk.' + str(depth1 + 1) + '.Size', DataDisk[depth1].get('Size')) | ||
if DataDisk[depth1].get('PerformanceLevel') is not None: | ||
self.add_query_param('DataDisk.' + str(depth1 + 1) + '.PerformanceLevel', DataDisk[depth1].get('PerformanceLevel')) | ||
if DataDisk[depth1].get('Category') is not None: | ||
self.add_query_param('DataDisk.' + str(depth1 + 1) + '.Category', DataDisk[depth1].get('Category')) | ||
def get_VpcId(self): # String | ||
return self.get_query_params().get('VpcId') | ||
|
||
def set_VpcId(self, VpcId): # String | ||
self.add_query_param('VpcId', VpcId) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
...aliyunsdkr_kvstore/request/v20150101/DescribeTairKVCacheCustomInstanceAttributeRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
from aliyunsdkr_kvstore.endpoint import endpoint_data | ||
|
||
class DescribeTairKVCacheCustomInstanceAttributeRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'R-kvstore', '2015-01-01', 'DescribeTairKVCacheCustomInstanceAttribute','redisa') | ||
self.set_protocol_type('https') | ||
self.set_method('GET') | ||
|
||
if hasattr(self, "endpoint_map"): | ||
setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) | ||
if hasattr(self, "endpoint_regional"): | ||
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) | ||
|
||
def get_ResourceOwnerId(self): # Long | ||
return self.get_query_params().get('ResourceOwnerId') | ||
|
||
def set_ResourceOwnerId(self, ResourceOwnerId): # Long | ||
self.add_query_param('ResourceOwnerId', ResourceOwnerId) | ||
def get_SecurityToken(self): # String | ||
return self.get_query_params().get('SecurityToken') | ||
|
||
def set_SecurityToken(self, SecurityToken): # String | ||
self.add_query_param('SecurityToken', SecurityToken) | ||
def get_ResourceOwnerAccount(self): # String | ||
return self.get_query_params().get('ResourceOwnerAccount') | ||
|
||
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String | ||
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount) | ||
def get_OwnerAccount(self): # String | ||
return self.get_query_params().get('OwnerAccount') | ||
|
||
def set_OwnerAccount(self, OwnerAccount): # String | ||
self.add_query_param('OwnerAccount', OwnerAccount) | ||
def get_OwnerId(self): # Long | ||
return self.get_query_params().get('OwnerId') | ||
|
||
def set_OwnerId(self, OwnerId): # Long | ||
self.add_query_param('OwnerId', OwnerId) | ||
def get_InstanceId(self): # String | ||
return self.get_query_params().get('InstanceId') | ||
|
||
def set_InstanceId(self, InstanceId): # String | ||
self.add_query_param('InstanceId', InstanceId) |
Oops, something went wrong.