Skip to content

Commit a22c551

Browse files
committed
GPDB SDK Auto Released By shenshi,Version:1.0.1
发布日志: 1, Update Dependency
1 parent 05931cb commit a22c551

File tree

10 files changed

+375
-20
lines changed

10 files changed

+375
-20
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-03-14 Version: 1.0.1
2+
1, Update Dependency
3+
14
2018-07-30 Version: 1.0.0
25
1, first version 1.0.0
36

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

aliyun-python-sdk-gpdb/aliyunsdkgpdb/request/v20160503/DescribeDBInstancesRequest.py

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ class DescribeDBInstancesRequest(RpcRequest):
2323
def __init__(self):
2424
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'DescribeDBInstances','gpdb')
2525

26-
def get_ConnectionMode(self):
27-
return self.get_query_params().get('ConnectionMode')
26+
def get_DBInstanceIds(self):
27+
return self.get_query_params().get('DBInstanceIds')
2828

29-
def set_ConnectionMode(self,ConnectionMode):
30-
self.add_query_param('ConnectionMode',ConnectionMode)
29+
def set_DBInstanceIds(self,DBInstanceIds):
30+
self.add_query_param('DBInstanceIds',DBInstanceIds)
3131

3232
def get_PageSize(self):
3333
return self.get_query_params().get('PageSize')
@@ -41,6 +41,17 @@ def get_DBInstanceDescription(self):
4141
def set_DBInstanceDescription(self,DBInstanceDescription):
4242
self.add_query_param('DBInstanceDescription',DBInstanceDescription)
4343

44+
def get_Tags(self):
45+
return self.get_query_params().get('Tags')
46+
47+
def set_Tags(self,Tags):
48+
for i in range(len(Tags)):
49+
if Tags[i].get('Value') is not None:
50+
self.add_query_param('Tag.' + str(i + 1) + '.Value' , Tags[i].get('Value'))
51+
if Tags[i].get('Key') is not None:
52+
self.add_query_param('Tag.' + str(i + 1) + '.Key' , Tags[i].get('Key'))
53+
54+
4455
def get_OwnerId(self):
4556
return self.get_query_params().get('OwnerId')
4657

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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 DescribeRdsVSwitchsRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'DescribeRdsVSwitchs','gpdb')
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_SecurityToken(self):
33+
return self.get_query_params().get('SecurityToken')
34+
35+
def set_SecurityToken(self,SecurityToken):
36+
self.add_query_param('SecurityToken',SecurityToken)
37+
38+
def get_ResourceOwnerAccount(self):
39+
return self.get_query_params().get('ResourceOwnerAccount')
40+
41+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
42+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
43+
44+
def get_OwnerAccount(self):
45+
return self.get_query_params().get('OwnerAccount')
46+
47+
def set_OwnerAccount(self,OwnerAccount):
48+
self.add_query_param('OwnerAccount',OwnerAccount)
49+
50+
def get_VpcId(self):
51+
return self.get_query_params().get('VpcId')
52+
53+
def set_VpcId(self,VpcId):
54+
self.add_query_param('VpcId',VpcId)
55+
56+
def get_ZoneId(self):
57+
return self.get_query_params().get('ZoneId')
58+
59+
def set_ZoneId(self,ZoneId):
60+
self.add_query_param('ZoneId',ZoneId)
61+
62+
def get_OwnerId(self):
63+
return self.get_query_params().get('OwnerId')
64+
65+
def set_OwnerId(self,OwnerId):
66+
self.add_query_param('OwnerId',OwnerId)
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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 DescribeRdsVpcsRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'DescribeRdsVpcs','gpdb')
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_SecurityToken(self):
33+
return self.get_query_params().get('SecurityToken')
34+
35+
def set_SecurityToken(self,SecurityToken):
36+
self.add_query_param('SecurityToken',SecurityToken)
37+
38+
def get_ResourceOwnerAccount(self):
39+
return self.get_query_params().get('ResourceOwnerAccount')
40+
41+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
42+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
43+
44+
def get_OwnerAccount(self):
45+
return self.get_query_params().get('OwnerAccount')
46+
47+
def set_OwnerAccount(self,OwnerAccount):
48+
self.add_query_param('OwnerAccount',OwnerAccount)
49+
50+
def get_ZoneId(self):
51+
return self.get_query_params().get('ZoneId')
52+
53+
def set_ZoneId(self,ZoneId):
54+
self.add_query_param('ZoneId',ZoneId)
55+
56+
def get_OwnerId(self):
57+
return self.get_query_params().get('OwnerId')
58+
59+
def set_OwnerId(self,OwnerId):
60+
self.add_query_param('OwnerId',OwnerId)

aliyun-python-sdk-gpdb/aliyunsdkgpdb/request/v20160503/DescribeRegionsRequest.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,4 @@
2121
class DescribeRegionsRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'DescribeRegions','gpdb')
25-
26-
def get_ZoneId(self):
27-
return self.get_query_params().get('ZoneId')
28-
29-
def set_ZoneId(self,ZoneId):
30-
self.add_query_param('ZoneId',ZoneId)
24+
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'DescribeRegions','gpdb')
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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 ListTagResourcesRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'ListTagResources','gpdb')
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_ResourceIds(self):
33+
return self.get_query_params().get('ResourceIds')
34+
35+
def set_ResourceIds(self,ResourceIds):
36+
for i in range(len(ResourceIds)):
37+
if ResourceIds[i] is not None:
38+
self.add_query_param('ResourceId.' + str(i + 1) , ResourceIds[i]);
39+
40+
def get_ResourceOwnerAccount(self):
41+
return self.get_query_params().get('ResourceOwnerAccount')
42+
43+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
44+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
45+
46+
def get_NextToken(self):
47+
return self.get_query_params().get('NextToken')
48+
49+
def set_NextToken(self,NextToken):
50+
self.add_query_param('NextToken',NextToken)
51+
52+
def get_OwnerAccount(self):
53+
return self.get_query_params().get('OwnerAccount')
54+
55+
def set_OwnerAccount(self,OwnerAccount):
56+
self.add_query_param('OwnerAccount',OwnerAccount)
57+
58+
def get_Tags(self):
59+
return self.get_query_params().get('Tags')
60+
61+
def set_Tags(self,Tags):
62+
for i in range(len(Tags)):
63+
if Tags[i].get('Value') is not None:
64+
self.add_query_param('Tag.' + str(i + 1) + '.Value' , Tags[i].get('Value'))
65+
if Tags[i].get('Key') is not None:
66+
self.add_query_param('Tag.' + str(i + 1) + '.Key' , Tags[i].get('Key'))
67+
68+
69+
def get_OwnerId(self):
70+
return self.get_query_params().get('OwnerId')
71+
72+
def set_OwnerId(self,OwnerId):
73+
self.add_query_param('OwnerId',OwnerId)
74+
75+
def get_ResourceType(self):
76+
return self.get_query_params().get('ResourceType')
77+
78+
def set_ResourceType(self,ResourceType):
79+
self.add_query_param('ResourceType',ResourceType)
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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 TagResourcesRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'TagResources','gpdb')
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_ResourceIds(self):
33+
return self.get_query_params().get('ResourceIds')
34+
35+
def set_ResourceIds(self,ResourceIds):
36+
for i in range(len(ResourceIds)):
37+
if ResourceIds[i] is not None:
38+
self.add_query_param('ResourceId.' + str(i + 1) , ResourceIds[i]);
39+
40+
def get_ResourceOwnerAccount(self):
41+
return self.get_query_params().get('ResourceOwnerAccount')
42+
43+
def set_ResourceOwnerAccount(self,ResourceOwnerAccount):
44+
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount)
45+
46+
def get_OwnerAccount(self):
47+
return self.get_query_params().get('OwnerAccount')
48+
49+
def set_OwnerAccount(self,OwnerAccount):
50+
self.add_query_param('OwnerAccount',OwnerAccount)
51+
52+
def get_Tags(self):
53+
return self.get_query_params().get('Tags')
54+
55+
def set_Tags(self,Tags):
56+
for i in range(len(Tags)):
57+
if Tags[i].get('Value') is not None:
58+
self.add_query_param('Tag.' + str(i + 1) + '.Value' , Tags[i].get('Value'))
59+
if Tags[i].get('Key') is not None:
60+
self.add_query_param('Tag.' + str(i + 1) + '.Key' , Tags[i].get('Key'))
61+
62+
63+
def get_OwnerId(self):
64+
return self.get_query_params().get('OwnerId')
65+
66+
def set_OwnerId(self,OwnerId):
67+
self.add_query_param('OwnerId',OwnerId)
68+
69+
def get_ResourceType(self):
70+
return self.get_query_params().get('ResourceType')
71+
72+
def set_ResourceType(self,ResourceType):
73+
self.add_query_param('ResourceType',ResourceType)

0 commit comments

Comments
 (0)