Skip to content

Commit 4c4e859

Browse files
committed
DDS SDK Auto Released By junjun.zhang,Version:2.0.5
发布日志: 1, Add CreateAccount
1 parent 76dcc4c commit 4c4e859

File tree

100 files changed

+658
-92
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+658
-92
lines changed

aliyun-python-sdk-dds/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-04-18 Version: 2.0.5
2+
1, Add CreateAccount
3+
14
2019-02-15 Version: 2.0.4
25
1, Modify DescribeDBInstances LastDowngradeTime DataType
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.0.4"
1+
__version__ = "2.0.5"

aliyun-python-sdk-dds/aliyunsdkdds/request/v20151201/AllocatePublicNetworkAddressRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class AllocatePublicNetworkAddressRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'AllocatePublicNetworkAddress','dds')
24+
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'AllocatePublicNetworkAddress','Dds')
2525

2626
def get_ResourceOwnerId(self):
2727
return self.get_query_params().get('ResourceOwnerId')
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
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+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
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+
class CheckRecoveryConditionRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'CheckRecoveryCondition','Dds')
25+
26+
def get_ResourceOwnerId(self):
27+
return self.get_query_params().get('ResourceOwnerId')
28+
29+
def set_ResourceOwnerId(self,ResourceOwnerId):
30+
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
31+
32+
def get_RestoreTime(self):
33+
return self.get_query_params().get('RestoreTime')
34+
35+
def set_RestoreTime(self,RestoreTime):
36+
self.add_query_param('RestoreTime',RestoreTime)
37+
38+
def get_DatabaseNames(self):
39+
return self.get_query_params().get('DatabaseNames')
40+
41+
def set_DatabaseNames(self,DatabaseNames):
42+
self.add_query_param('DatabaseNames',DatabaseNames)
43+
44+
def get_SecurityToken(self):
45+
return self.get_query_params().get('SecurityToken')
46+
47+
def set_SecurityToken(self,SecurityToken):
48+
self.add_query_param('SecurityToken',SecurityToken)
49+
50+
def get_ResourceOwnerAccount(self):
51+
return self.get_query_params().get('ResourceOwnerAccount')
52+
53+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
54+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
55+
56+
def get_OwnerAccount(self):
57+
return self.get_query_params().get('OwnerAccount')
58+
59+
def set_OwnerAccount(self,OwnerAccount):
60+
self.add_query_param('OwnerAccount',OwnerAccount)
61+
62+
def get_BackupId(self):
63+
return self.get_query_params().get('BackupId')
64+
65+
def set_BackupId(self,BackupId):
66+
self.add_query_param('BackupId',BackupId)
67+
68+
def get_SourceDBInstance(self):
69+
return self.get_query_params().get('SourceDBInstance')
70+
71+
def set_SourceDBInstance(self,SourceDBInstance):
72+
self.add_query_param('SourceDBInstance',SourceDBInstance)
73+
74+
def get_OwnerId(self):
75+
return self.get_query_params().get('OwnerId')
76+
77+
def set_OwnerId(self,OwnerId):
78+
self.add_query_param('OwnerId',OwnerId)
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
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+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
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+
class CreateAccountRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'CreateAccount','Dds')
25+
26+
def get_ResourceOwnerId(self):
27+
return self.get_query_params().get('ResourceOwnerId')
28+
29+
def set_ResourceOwnerId(self,ResourceOwnerId):
30+
self.add_query_param('ResourceOwnerId',ResourceOwnerId)
31+
32+
def get_AccountPassword(self):
33+
return self.get_query_params().get('AccountPassword')
34+
35+
def set_AccountPassword(self,AccountPassword):
36+
self.add_query_param('AccountPassword',AccountPassword)
37+
38+
def get_AccountName(self):
39+
return self.get_query_params().get('AccountName')
40+
41+
def set_AccountName(self,AccountName):
42+
self.add_query_param('AccountName',AccountName)
43+
44+
def get_SecurityToken(self):
45+
return self.get_query_params().get('SecurityToken')
46+
47+
def set_SecurityToken(self,SecurityToken):
48+
self.add_query_param('SecurityToken',SecurityToken)
49+
50+
def get_ResourceOwnerAccount(self):
51+
return self.get_query_params().get('ResourceOwnerAccount')
52+
53+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
54+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
55+
56+
def get_OwnerAccount(self):
57+
return self.get_query_params().get('OwnerAccount')
58+
59+
def set_OwnerAccount(self,OwnerAccount):
60+
self.add_query_param('OwnerAccount',OwnerAccount)
61+
62+
def get_DBInstanceId(self):
63+
return self.get_query_params().get('DBInstanceId')
64+
65+
def set_DBInstanceId(self,DBInstanceId):
66+
self.add_query_param('DBInstanceId',DBInstanceId)
67+
68+
def get_OwnerId(self):
69+
return self.get_query_params().get('OwnerId')
70+
71+
def set_OwnerId(self,OwnerId):
72+
self.add_query_param('OwnerId',OwnerId)
73+
74+
def get_AccountDescription(self):
75+
return self.get_query_params().get('AccountDescription')
76+
77+
def set_AccountDescription(self,AccountDescription):
78+
self.add_query_param('AccountDescription',AccountDescription)

aliyun-python-sdk-dds/aliyunsdkdds/request/v20151201/CreateBackupRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class CreateBackupRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'CreateBackup','dds')
24+
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'CreateBackup','Dds')
2525

2626
def get_BackupMethod(self):
2727
return self.get_query_params().get('BackupMethod')

aliyun-python-sdk-dds/aliyunsdkdds/request/v20151201/CreateDBInstanceRequest.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class CreateDBInstanceRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'CreateDBInstance','dds')
24+
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'CreateDBInstance','Dds')
2525

2626
def get_ResourceOwnerId(self):
2727
return self.get_query_params().get('ResourceOwnerId')
@@ -77,6 +77,12 @@ def get_ResourceGroupId(self):
7777
def set_ResourceGroupId(self,ResourceGroupId):
7878
self.add_query_param('ResourceGroupId',ResourceGroupId)
7979

80+
def get_DatabaseNames(self):
81+
return self.get_query_params().get('DatabaseNames')
82+
83+
def set_DatabaseNames(self,DatabaseNames):
84+
self.add_query_param('DatabaseNames',DatabaseNames)
85+
8086
def get_SecurityToken(self):
8187
return self.get_query_params().get('SecurityToken')
8288

aliyun-python-sdk-dds/aliyunsdkdds/request/v20151201/CreateNodeRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class CreateNodeRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'CreateNode','dds')
24+
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'CreateNode','Dds')
2525

2626
def get_ResourceOwnerId(self):
2727
return self.get_query_params().get('ResourceOwnerId')

aliyun-python-sdk-dds/aliyunsdkdds/request/v20151201/CreateRecommendationTaskRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class CreateRecommendationTaskRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'CreateRecommendationTask','dds')
24+
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'CreateRecommendationTask','Dds')
2525

2626
def get_ResourceOwnerId(self):
2727
return self.get_query_params().get('ResourceOwnerId')

aliyun-python-sdk-dds/aliyunsdkdds/request/v20151201/CreateShardingDBInstanceRequest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
class CreateShardingDBInstanceRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'CreateShardingDBInstance','dds')
24+
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'CreateShardingDBInstance','Dds')
2525

2626
def get_ResourceOwnerId(self):
2727
return self.get_query_params().get('ResourceOwnerId')

0 commit comments

Comments
 (0)