Skip to content

Commit 8409405

Browse files
committed
Generated 2017-08-01 for polardb.
1 parent 0171aad commit 8409405

File tree

128 files changed

+8018
-1
lines changed

Some content is hidden

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

128 files changed

+8018
-1
lines changed

aliyun-python-sdk-polardb/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-10-17 Version: 1.8.57
2+
- Generated 2017-08-01 for `polardb`.
3+
14
2025-06-13 Version: 1.8.56
25
- Support DescribeHaLogs.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.8.56'
1+
__version__ = '1.8.57'
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
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+
from aliyunsdkpolardb.endpoint import endpoint_data
22+
23+
class AbortDBClusterMigrationRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'AbortDBClusterMigration','polardb')
27+
self.set_method('POST')
28+
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
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_ResourceGroupId(self): # String
40+
return self.get_query_params().get('ResourceGroupId')
41+
42+
def set_ResourceGroupId(self, ResourceGroupId): # String
43+
self.add_query_param('ResourceGroupId', ResourceGroupId)
44+
def get_SecurityToken(self): # String
45+
return self.get_query_params().get('SecurityToken')
46+
47+
def set_SecurityToken(self, SecurityToken): # String
48+
self.add_query_param('SecurityToken', SecurityToken)
49+
def get_ResourceOwnerAccount(self): # String
50+
return self.get_query_params().get('ResourceOwnerAccount')
51+
52+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
53+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
54+
def get_DBClusterId(self): # String
55+
return self.get_query_params().get('DBClusterId')
56+
57+
def set_DBClusterId(self, DBClusterId): # String
58+
self.add_query_param('DBClusterId', DBClusterId)
59+
def get_OwnerAccount(self): # String
60+
return self.get_query_params().get('OwnerAccount')
61+
62+
def set_OwnerAccount(self, OwnerAccount): # String
63+
self.add_query_param('OwnerAccount', OwnerAccount)
64+
def get_OwnerId(self): # Long
65+
return self.get_query_params().get('OwnerId')
66+
67+
def set_OwnerId(self, OwnerId): # Long
68+
self.add_query_param('OwnerId', OwnerId)
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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+
from aliyunsdkpolardb.endpoint import endpoint_data
22+
23+
class AddEncryptionDBRolePrivilegeRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'AddEncryptionDBRolePrivilege','polardb')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
if hasattr(self, "endpoint_map"):
31+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
32+
if hasattr(self, "endpoint_regional"):
33+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
34+
35+
def get_ResourceOwnerId(self): # Long
36+
return self.get_query_params().get('ResourceOwnerId')
37+
38+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
39+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
40+
def get_RolePrivilegeConfig(self): # String
41+
return self.get_query_params().get('RolePrivilegeConfig')
42+
43+
def set_RolePrivilegeConfig(self, RolePrivilegeConfig): # String
44+
self.add_query_param('RolePrivilegeConfig', RolePrivilegeConfig)
45+
def get_ResourceOwnerAccount(self): # String
46+
return self.get_query_params().get('ResourceOwnerAccount')
47+
48+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
49+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
50+
def get_DBClusterId(self): # String
51+
return self.get_query_params().get('DBClusterId')
52+
53+
def set_DBClusterId(self, DBClusterId): # String
54+
self.add_query_param('DBClusterId', DBClusterId)
55+
def get_OwnerAccount(self): # String
56+
return self.get_query_params().get('OwnerAccount')
57+
58+
def set_OwnerAccount(self, OwnerAccount): # String
59+
self.add_query_param('OwnerAccount', OwnerAccount)
60+
def get_OwnerId(self): # Long
61+
return self.get_query_params().get('OwnerId')
62+
63+
def set_OwnerId(self, OwnerId): # Long
64+
self.add_query_param('OwnerId', OwnerId)
65+
def get_RolePrivilegeName(self): # String
66+
return self.get_query_params().get('RolePrivilegeName')
67+
68+
def set_RolePrivilegeName(self, RolePrivilegeName): # String
69+
self.add_query_param('RolePrivilegeName', RolePrivilegeName)
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+
#
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+
from aliyunsdkpolardb.endpoint import endpoint_data
22+
23+
class AddFirewallRulesRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'AddFirewallRules','polardb')
27+
self.set_method('POST')
28+
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
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_RuleName(self): # String
40+
return self.get_query_params().get('RuleName')
41+
42+
def set_RuleName(self, RuleName): # String
43+
self.add_query_param('RuleName', RuleName)
44+
def get_ResourceGroupId(self): # String
45+
return self.get_query_params().get('ResourceGroupId')
46+
47+
def set_ResourceGroupId(self, ResourceGroupId): # String
48+
self.add_query_param('ResourceGroupId', ResourceGroupId)
49+
def get_ResourceOwnerAccount(self): # String
50+
return self.get_query_params().get('ResourceOwnerAccount')
51+
52+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
53+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
54+
def get_DBClusterId(self): # String
55+
return self.get_query_params().get('DBClusterId')
56+
57+
def set_DBClusterId(self, DBClusterId): # String
58+
self.add_query_param('DBClusterId', DBClusterId)
59+
def get_OwnerAccount(self): # String
60+
return self.get_query_params().get('OwnerAccount')
61+
62+
def set_OwnerAccount(self, OwnerAccount): # String
63+
self.add_query_param('OwnerAccount', OwnerAccount)
64+
def get_OwnerId(self): # Long
65+
return self.get_query_params().get('OwnerId')
66+
67+
def set_OwnerId(self, OwnerId): # Long
68+
self.add_query_param('OwnerId', OwnerId)
69+
def get_RuleConfig(self): # String
70+
return self.get_query_params().get('RuleConfig')
71+
72+
def set_RuleConfig(self, RuleConfig): # String
73+
self.add_query_param('RuleConfig', RuleConfig)
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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+
from aliyunsdkpolardb.endpoint import endpoint_data
22+
23+
class AddSQLRateLimitingRulesRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'AddSQLRateLimitingRules','polardb')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
if hasattr(self, "endpoint_map"):
31+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
32+
if hasattr(self, "endpoint_regional"):
33+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
34+
35+
def get_ResourceOwnerId(self): # Long
36+
return self.get_query_params().get('ResourceOwnerId')
37+
38+
def set_ResourceOwnerId(self, ResourceOwnerId): # Long
39+
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
40+
def get_RuleName(self): # String
41+
return self.get_query_params().get('RuleName')
42+
43+
def set_RuleName(self, RuleName): # String
44+
self.add_query_param('RuleName', RuleName)
45+
def get_ResourceOwnerAccount(self): # String
46+
return self.get_query_params().get('ResourceOwnerAccount')
47+
48+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
49+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
50+
def get_DBClusterId(self): # String
51+
return self.get_query_params().get('DBClusterId')
52+
53+
def set_DBClusterId(self, DBClusterId): # String
54+
self.add_query_param('DBClusterId', DBClusterId)
55+
def get_OwnerAccount(self): # String
56+
return self.get_query_params().get('OwnerAccount')
57+
58+
def set_OwnerAccount(self, OwnerAccount): # String
59+
self.add_query_param('OwnerAccount', OwnerAccount)
60+
def get_OwnerId(self): # Long
61+
return self.get_query_params().get('OwnerId')
62+
63+
def set_OwnerId(self, OwnerId): # Long
64+
self.add_query_param('OwnerId', OwnerId)
65+
def get_RuleConfig(self): # String
66+
return self.get_query_params().get('RuleConfig')
67+
68+
def set_RuleConfig(self, RuleConfig): # String
69+
self.add_query_param('RuleConfig', RuleConfig)
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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+
from aliyunsdkpolardb.endpoint import endpoint_data
22+
23+
class AttachApplicationPolarFSRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'AttachApplicationPolarFS','polardb')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
if hasattr(self, "endpoint_map"):
31+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
32+
if hasattr(self, "endpoint_regional"):
33+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
34+
35+
def get_ApplicationId(self): # String
36+
return self.get_query_params().get('ApplicationId')
37+
38+
def set_ApplicationId(self, ApplicationId): # String
39+
self.add_query_param('ApplicationId', ApplicationId)
40+
def get_PolarFSAccessKeyId(self): # String
41+
return self.get_query_params().get('PolarFSAccessKeyId')
42+
43+
def set_PolarFSAccessKeyId(self, PolarFSAccessKeyId): # String
44+
self.add_query_param('PolarFSAccessKeyId', PolarFSAccessKeyId)
45+
def get_PolarFSInstanceId(self): # String
46+
return self.get_query_params().get('PolarFSInstanceId')
47+
48+
def set_PolarFSInstanceId(self, PolarFSInstanceId): # String
49+
self.add_query_param('PolarFSInstanceId', PolarFSInstanceId)
50+
def get_PolarFSAccessKeySecret(self): # String
51+
return self.get_query_params().get('PolarFSAccessKeySecret')
52+
53+
def set_PolarFSAccessKeySecret(self, PolarFSAccessKeySecret): # String
54+
self.add_query_param('PolarFSAccessKeySecret', PolarFSAccessKeySecret)

0 commit comments

Comments
 (0)