Skip to content

Commit 357c5b9

Browse files
committed
Generated 2023-05-22 for selectdb.
1 parent d16df7a commit 357c5b9

Some content is hidden

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

42 files changed

+1929
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2024-12-18 Version: 1.0.0
2+
- Generated 2023-05-22 for `selectdb`.
3+

aliyun-python-sdk-selectdb/LICENSE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 1999-present Alibaba Group Holding Ltd.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include LICENSE README.rst ChangeLog.txt
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
=============================================================
2+
aliyun-python-sdk-selectdb
3+
=============================================================
4+
5+
.. This is the selectdb module of Aliyun Python SDK.
6+
7+
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services.
8+
9+
This module works on Python versions:
10+
11+
3.7 and greater
12+
13+
**Documentation:**
14+
15+
Please visit `http://develop.aliyun.com/sdk/python <http://develop.aliyun.com/sdk/python>`_
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '1.0.0'

aliyun-python-sdk-selectdb/aliyunsdkselectdb/request/__init__.py

Whitespace-only changes.
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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+
22+
class AllocateInstancePublicConnectionRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'selectdb', '2023-05-22', 'AllocateInstancePublicConnection')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_ConnectionStringPrefix(self): # String
30+
return self.get_query_params().get('ConnectionStringPrefix')
31+
32+
def set_ConnectionStringPrefix(self, ConnectionStringPrefix): # String
33+
self.add_query_param('ConnectionStringPrefix', ConnectionStringPrefix)
34+
def get_ResourceOwnerId(self): # Long
35+
return self.get_query_params().get('ResourceOwnerId')
36+
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_NetType(self): # String
40+
return self.get_query_params().get('NetType')
41+
42+
def set_NetType(self, NetType): # String
43+
self.add_query_param('NetType', NetType)
44+
def get_DBInstanceId(self): # String
45+
return self.get_query_params().get('DBInstanceId')
46+
47+
def set_DBInstanceId(self, DBInstanceId): # String
48+
self.add_query_param('DBInstanceId', DBInstanceId)
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
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+
22+
class CheckCreateDBInstanceRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'selectdb', '2023-05-22', 'CheckCreateDBInstance')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_ResourceOwnerId(self): # Long
30+
return self.get_query_params().get('ResourceOwnerId')
31+
32+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
33+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
34+
def get_ClientToken(self): # String
35+
return self.get_query_params().get('ClientToken')
36+
37+
def set_ClientToken(self, ClientToken): # String
38+
self.add_query_param('ClientToken', ClientToken)
39+
def get_ConnectionString(self): # String
40+
return self.get_query_params().get('ConnectionString')
41+
42+
def set_ConnectionString(self, ConnectionString): # String
43+
self.add_query_param('ConnectionString', ConnectionString)
44+
def get_EngineVersion(self): # String
45+
return self.get_query_params().get('EngineVersion')
46+
47+
def set_EngineVersion(self, EngineVersion): # String
48+
self.add_query_param('EngineVersion', EngineVersion)
49+
def get_CacheSize(self): # Integer
50+
return self.get_query_params().get('CacheSize')
51+
52+
def set_CacheSize(self, CacheSize): # Integer
53+
self.add_query_param('CacheSize', CacheSize)
54+
def get_ResourceGroupId(self): # String
55+
return self.get_query_params().get('ResourceGroupId')
56+
57+
def set_ResourceGroupId(self, ResourceGroupId): # String
58+
self.add_query_param('ResourceGroupId', ResourceGroupId)
59+
def get_Engine(self): # String
60+
return self.get_query_params().get('Engine')
61+
62+
def set_Engine(self, Engine): # String
63+
self.add_query_param('Engine', Engine)
64+
def get_DBInstanceDescription(self): # String
65+
return self.get_query_params().get('DBInstanceDescription')
66+
67+
def set_DBInstanceDescription(self, DBInstanceDescription): # String
68+
self.add_query_param('DBInstanceDescription', DBInstanceDescription)
69+
def get_Period(self): # String
70+
return self.get_query_params().get('Period')
71+
72+
def set_Period(self, Period): # String
73+
self.add_query_param('Period', Period)
74+
def get_UsedTime(self): # Integer
75+
return self.get_query_params().get('UsedTime')
76+
77+
def set_UsedTime(self, UsedTime): # Integer
78+
self.add_query_param('UsedTime', UsedTime)
79+
def get_DBInstanceClass(self): # String
80+
return self.get_query_params().get('DBInstanceClass')
81+
82+
def set_DBInstanceClass(self, DBInstanceClass): # String
83+
self.add_query_param('DBInstanceClass', DBInstanceClass)
84+
def get_VSwitchId(self): # String
85+
return self.get_query_params().get('VSwitchId')
86+
87+
def set_VSwitchId(self, VSwitchId): # String
88+
self.add_query_param('VSwitchId', VSwitchId)
89+
def get_SecurityIPList(self): # String
90+
return self.get_query_params().get('SecurityIPList')
91+
92+
def set_SecurityIPList(self, SecurityIPList): # String
93+
self.add_query_param('SecurityIPList', SecurityIPList)
94+
def get_VpcId(self): # String
95+
return self.get_query_params().get('VpcId')
96+
97+
def set_VpcId(self, VpcId): # String
98+
self.add_query_param('VpcId', VpcId)
99+
def get_ZoneId(self): # String
100+
return self.get_query_params().get('ZoneId')
101+
102+
def set_ZoneId(self, ZoneId): # String
103+
self.add_query_param('ZoneId', ZoneId)
104+
def get_ChargeType(self): # String
105+
return self.get_query_params().get('ChargeType')
106+
107+
def set_ChargeType(self, ChargeType): # String
108+
self.add_query_param('ChargeType', ChargeType)
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+
22+
class CheckServiceLinkedRoleRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'selectdb', '2023-05-22', 'CheckServiceLinkedRole')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_ResourceOwnerId(self): # Long
30+
return self.get_query_params().get('ResourceOwnerId')
31+
32+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
33+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
34+
def get_OwnerAccount(self): # String
35+
return self.get_query_params().get('OwnerAccount')
36+
37+
def set_OwnerAccount(self, OwnerAccount): # String
38+
self.add_query_param('OwnerAccount', OwnerAccount)
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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+
22+
class CreateDBClusterRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'selectdb', '2023-05-22', 'CreateDBCluster')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_DBClusterDescription(self): # String
30+
return self.get_query_params().get('DBClusterDescription')
31+
32+
def set_DBClusterDescription(self, DBClusterDescription): # String
33+
self.add_query_param('DBClusterDescription', DBClusterDescription)
34+
def get_ResourceOwnerId(self): # Long
35+
return self.get_query_params().get('ResourceOwnerId')
36+
37+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
38+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
39+
def get_EngineVersion(self): # String
40+
return self.get_query_params().get('EngineVersion')
41+
42+
def set_EngineVersion(self, EngineVersion): # String
43+
self.add_query_param('EngineVersion', EngineVersion)
44+
def get_CacheSize(self): # String
45+
return self.get_query_params().get('CacheSize')
46+
47+
def set_CacheSize(self, CacheSize): # String
48+
self.add_query_param('CacheSize', CacheSize)
49+
def get_Engine(self): # String
50+
return self.get_query_params().get('Engine')
51+
52+
def set_Engine(self, Engine): # String
53+
self.add_query_param('Engine', Engine)
54+
def get_DBInstanceId(self): # String
55+
return self.get_body_params().get('DBInstanceId')
56+
57+
def set_DBInstanceId(self, DBInstanceId): # String
58+
self.add_body_params('DBInstanceId', DBInstanceId)
59+
def get_Period(self): # String
60+
return self.get_query_params().get('Period')
61+
62+
def set_Period(self, Period): # String
63+
self.add_query_param('Period', Period)
64+
def get_DBClusterClass(self): # String
65+
return self.get_query_params().get('DBClusterClass')
66+
67+
def set_DBClusterClass(self, DBClusterClass): # String
68+
self.add_query_param('DBClusterClass', DBClusterClass)
69+
def get_UsedTime(self): # String
70+
return self.get_query_params().get('UsedTime')
71+
72+
def set_UsedTime(self, UsedTime): # String
73+
self.add_query_param('UsedTime', UsedTime)
74+
def get_VSwitchId(self): # String
75+
return self.get_query_params().get('VSwitchId')
76+
77+
def set_VSwitchId(self, VSwitchId): # String
78+
self.add_query_param('VSwitchId', VSwitchId)
79+
def get_VpcId(self): # String
80+
return self.get_query_params().get('VpcId')
81+
82+
def set_VpcId(self, VpcId): # String
83+
self.add_query_param('VpcId', VpcId)
84+
def get_ZoneId(self): # String
85+
return self.get_query_params().get('ZoneId')
86+
87+
def set_ZoneId(self, ZoneId): # String
88+
self.add_query_param('ZoneId', ZoneId)
89+
def get_ChargeType(self): # String
90+
return self.get_query_params().get('ChargeType')
91+
92+
def set_ChargeType(self, ChargeType): # String
93+
self.add_query_param('ChargeType', ChargeType)

0 commit comments

Comments
 (0)