-
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.
GPDB SDK Auto Released By zhigang.xzg,Version:1.0.0
发布日志: 1, first version 1.0.0
- Loading branch information
Showing
37 changed files
with
1,480 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
2018-07-30 Version: 1.0.0 | ||
1, first version 1.0.0 | ||
|
Empty file.
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,11 @@ | ||
aliyun-python-sdk-gpdb | ||
This is the gpdb module of Aliyun Python SDK. | ||
|
||
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services. | ||
|
||
This module works on Python versions: | ||
|
||
2.6.5 and greater | ||
Documentation: | ||
|
||
Please visit http://develop.aliyun.com/sdk/python |
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 @@ | ||
__version__ = "1.0.0" |
Empty file.
42 changes: 42 additions & 0 deletions
42
aliyun-python-sdk-gpdb/aliyunsdkgpdb/request/v20160503/AddBuDBInstanceRelationRequest.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,42 @@ | ||
# 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 | ||
class AddBuDBInstanceRelationRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'AddBuDBInstanceRelation','gpdb') | ||
|
||
def get_BusinessUnit(self): | ||
return self.get_query_params().get('BusinessUnit') | ||
|
||
def set_BusinessUnit(self,BusinessUnit): | ||
self.add_query_param('BusinessUnit',BusinessUnit) | ||
|
||
def get_DBInstanceId(self): | ||
return self.get_query_params().get('DBInstanceId') | ||
|
||
def set_DBInstanceId(self,DBInstanceId): | ||
self.add_query_param('DBInstanceId',DBInstanceId) | ||
|
||
def get_OwnerId(self): | ||
return self.get_query_params().get('OwnerId') | ||
|
||
def set_OwnerId(self,OwnerId): | ||
self.add_query_param('OwnerId',OwnerId) |
60 changes: 60 additions & 0 deletions
60
...ython-sdk-gpdb/aliyunsdkgpdb/request/v20160503/AllocateInstancePublicConnectionRequest.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,60 @@ | ||
# 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 | ||
class AllocateInstancePublicConnectionRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'AllocateInstancePublicConnection','gpdb') | ||
|
||
def get_ResourceOwnerId(self): | ||
return self.get_query_params().get('ResourceOwnerId') | ||
|
||
def set_ResourceOwnerId(self,ResourceOwnerId): | ||
self.add_query_param('ResourceOwnerId',ResourceOwnerId) | ||
|
||
def get_ConnectionStringPrefix(self): | ||
return self.get_query_params().get('ConnectionStringPrefix') | ||
|
||
def set_ConnectionStringPrefix(self,ConnectionStringPrefix): | ||
self.add_query_param('ConnectionStringPrefix',ConnectionStringPrefix) | ||
|
||
def get_ResourceOwnerAccount(self): | ||
return self.get_query_params().get('ResourceOwnerAccount') | ||
|
||
def set_ResourceOwnerAccount(self,ResourceOwnerAccount): | ||
self.add_query_param('ResourceOwnerAccount',ResourceOwnerAccount) | ||
|
||
def get_Port(self): | ||
return self.get_query_params().get('Port') | ||
|
||
def set_Port(self,Port): | ||
self.add_query_param('Port',Port) | ||
|
||
def get_DBInstanceId(self): | ||
return self.get_query_params().get('DBInstanceId') | ||
|
||
def set_DBInstanceId(self,DBInstanceId): | ||
self.add_query_param('DBInstanceId',DBInstanceId) | ||
|
||
def get_OwnerId(self): | ||
return self.get_query_params().get('OwnerId') | ||
|
||
def set_OwnerId(self,OwnerId): | ||
self.add_query_param('OwnerId',OwnerId) |
60 changes: 60 additions & 0 deletions
60
aliyun-python-sdk-gpdb/aliyunsdkgpdb/request/v20160503/CreateAccountRequest.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,60 @@ | ||
# 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 | ||
class CreateAccountRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'CreateAccount','gpdb') | ||
|
||
def get_AccountPassword(self): | ||
return self.get_query_params().get('AccountPassword') | ||
|
||
def set_AccountPassword(self,AccountPassword): | ||
self.add_query_param('AccountPassword',AccountPassword) | ||
|
||
def get_AccountName(self): | ||
return self.get_query_params().get('AccountName') | ||
|
||
def set_AccountName(self,AccountName): | ||
self.add_query_param('AccountName',AccountName) | ||
|
||
def get_DatabaseName(self): | ||
return self.get_query_params().get('DatabaseName') | ||
|
||
def set_DatabaseName(self,DatabaseName): | ||
self.add_query_param('DatabaseName',DatabaseName) | ||
|
||
def get_DBInstanceId(self): | ||
return self.get_query_params().get('DBInstanceId') | ||
|
||
def set_DBInstanceId(self,DBInstanceId): | ||
self.add_query_param('DBInstanceId',DBInstanceId) | ||
|
||
def get_OwnerId(self): | ||
return self.get_query_params().get('OwnerId') | ||
|
||
def set_OwnerId(self,OwnerId): | ||
self.add_query_param('OwnerId',OwnerId) | ||
|
||
def get_AccountDescription(self): | ||
return self.get_query_params().get('AccountDescription') | ||
|
||
def set_AccountDescription(self,AccountDescription): | ||
self.add_query_param('AccountDescription',AccountDescription) |
120 changes: 120 additions & 0 deletions
120
aliyun-python-sdk-gpdb/aliyunsdkgpdb/request/v20160503/CreateDBInstanceRequest.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,120 @@ | ||
# 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 | ||
class CreateDBInstanceRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'CreateDBInstance','gpdb') | ||
|
||
def get_DBInstanceGroupCount(self): | ||
return self.get_query_params().get('DBInstanceGroupCount') | ||
|
||
def set_DBInstanceGroupCount(self,DBInstanceGroupCount): | ||
self.add_query_param('DBInstanceGroupCount',DBInstanceGroupCount) | ||
|
||
def get_Period(self): | ||
return self.get_query_params().get('Period') | ||
|
||
def set_Period(self,Period): | ||
self.add_query_param('Period',Period) | ||
|
||
def get_ClientToken(self): | ||
return self.get_query_params().get('ClientToken') | ||
|
||
def set_ClientToken(self,ClientToken): | ||
self.add_query_param('ClientToken',ClientToken) | ||
|
||
def get_EngineVersion(self): | ||
return self.get_query_params().get('EngineVersion') | ||
|
||
def set_EngineVersion(self,EngineVersion): | ||
self.add_query_param('EngineVersion',EngineVersion) | ||
|
||
def get_OwnerId(self): | ||
return self.get_query_params().get('OwnerId') | ||
|
||
def set_OwnerId(self,OwnerId): | ||
self.add_query_param('OwnerId',OwnerId) | ||
|
||
def get_UsedTime(self): | ||
return self.get_query_params().get('UsedTime') | ||
|
||
def set_UsedTime(self,UsedTime): | ||
self.add_query_param('UsedTime',UsedTime) | ||
|
||
def get_DBInstanceClass(self): | ||
return self.get_query_params().get('DBInstanceClass') | ||
|
||
def set_DBInstanceClass(self,DBInstanceClass): | ||
self.add_query_param('DBInstanceClass',DBInstanceClass) | ||
|
||
def get_SecurityIPList(self): | ||
return self.get_query_params().get('SecurityIPList') | ||
|
||
def set_SecurityIPList(self,SecurityIPList): | ||
self.add_query_param('SecurityIPList',SecurityIPList) | ||
|
||
def get_VSwitchId(self): | ||
return self.get_query_params().get('VSwitchId') | ||
|
||
def set_VSwitchId(self,VSwitchId): | ||
self.add_query_param('VSwitchId',VSwitchId) | ||
|
||
def get_PrivateIpAddress(self): | ||
return self.get_query_params().get('PrivateIpAddress') | ||
|
||
def set_PrivateIpAddress(self,PrivateIpAddress): | ||
self.add_query_param('PrivateIpAddress',PrivateIpAddress) | ||
|
||
def get_Engine(self): | ||
return self.get_query_params().get('Engine') | ||
|
||
def set_Engine(self,Engine): | ||
self.add_query_param('Engine',Engine) | ||
|
||
def get_VPCId(self): | ||
return self.get_query_params().get('VPCId') | ||
|
||
def set_VPCId(self,VPCId): | ||
self.add_query_param('VPCId',VPCId) | ||
|
||
def get_ZoneId(self): | ||
return self.get_query_params().get('ZoneId') | ||
|
||
def set_ZoneId(self,ZoneId): | ||
self.add_query_param('ZoneId',ZoneId) | ||
|
||
def get_DBInstanceDescription(self): | ||
return self.get_query_params().get('DBInstanceDescription') | ||
|
||
def set_DBInstanceDescription(self,DBInstanceDescription): | ||
self.add_query_param('DBInstanceDescription',DBInstanceDescription) | ||
|
||
def get_PayType(self): | ||
return self.get_query_params().get('PayType') | ||
|
||
def set_PayType(self,PayType): | ||
self.add_query_param('PayType',PayType) | ||
|
||
def get_InstanceNetworkType(self): | ||
return self.get_query_params().get('InstanceNetworkType') | ||
|
||
def set_InstanceNetworkType(self,InstanceNetworkType): | ||
self.add_query_param('InstanceNetworkType',InstanceNetworkType) |
42 changes: 42 additions & 0 deletions
42
aliyun-python-sdk-gpdb/aliyunsdkgpdb/request/v20160503/DeleteDBInstanceRequest.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,42 @@ | ||
# 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 | ||
class DeleteDBInstanceRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'DeleteDBInstance','gpdb') | ||
|
||
def get_ClientToken(self): | ||
return self.get_query_params().get('ClientToken') | ||
|
||
def set_ClientToken(self,ClientToken): | ||
self.add_query_param('ClientToken',ClientToken) | ||
|
||
def get_DBInstanceId(self): | ||
return self.get_query_params().get('DBInstanceId') | ||
|
||
def set_DBInstanceId(self,DBInstanceId): | ||
self.add_query_param('DBInstanceId',DBInstanceId) | ||
|
||
def get_OwnerId(self): | ||
return self.get_query_params().get('OwnerId') | ||
|
||
def set_OwnerId(self,OwnerId): | ||
self.add_query_param('OwnerId',OwnerId) |
36 changes: 36 additions & 0 deletions
36
aliyun-python-sdk-gpdb/aliyunsdkgpdb/request/v20160503/DeleteDatabaseRequest.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,36 @@ | ||
# 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 | ||
class DeleteDatabaseRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'gpdb', '2016-05-03', 'DeleteDatabase','gpdb') | ||
|
||
def get_DBName(self): | ||
return self.get_query_params().get('DBName') | ||
|
||
def set_DBName(self,DBName): | ||
self.add_query_param('DBName',DBName) | ||
|
||
def get_DBInstanceId(self): | ||
return self.get_query_params().get('DBInstanceId') | ||
|
||
def set_DBInstanceId(self,DBInstanceId): | ||
self.add_query_param('DBInstanceId',DBInstanceId) |
Oops, something went wrong.