Skip to content

Commit a838a4c

Browse files
committed
Generated 2017-08-01 for polardb.
1 parent 84b1be9 commit a838a4c

File tree

6 files changed

+248
-1
lines changed

6 files changed

+248
-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+
2024-12-19 Version: 1.8.51
2+
- Generated 2017-08-01 for `polardb`.
3+
14
2024-12-13 Version: 1.8.50
25
- Generated 2017-08-01 for `polardb`.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.8.50'
1+
__version__ = '1.8.51'
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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 CancelActiveOperationTasksRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'CancelActiveOperationTasks','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_TaskIds(self): # String
40+
return self.get_query_params().get('TaskIds')
41+
42+
def set_TaskIds(self, TaskIds): # String
43+
self.add_query_param('TaskIds', TaskIds)
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_OwnerAccount(self): # String
55+
return self.get_query_params().get('OwnerAccount')
56+
57+
def set_OwnerAccount(self, OwnerAccount): # String
58+
self.add_query_param('OwnerAccount', OwnerAccount)
59+
def get_OwnerId(self): # Long
60+
return self.get_query_params().get('OwnerId')
61+
62+
def set_OwnerId(self, OwnerId): # Long
63+
self.add_query_param('OwnerId', OwnerId)

aliyun-python-sdk-polardb/aliyunsdkpolardb/request/v20170801/CreateAccountRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,8 @@ def get_DBName(self): # String
9191

9292
def set_DBName(self, DBName): # String
9393
self.add_query_param('DBName', DBName)
94+
def get_PrivForAllDB(self): # String
95+
return self.get_query_params().get('PrivForAllDB')
96+
97+
def set_PrivForAllDB(self, PrivForAllDB): # String
98+
self.add_query_param('PrivForAllDB', PrivForAllDB)
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
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 DescribeActiveOperationTasksRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'DescribeActiveOperationTasks','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_ChangeLevel(self): # String
40+
return self.get_query_params().get('ChangeLevel')
41+
42+
def set_ChangeLevel(self, ChangeLevel): # String
43+
self.add_query_param('ChangeLevel', ChangeLevel)
44+
def get_PageNumber(self): # Integer
45+
return self.get_query_params().get('PageNumber')
46+
47+
def set_PageNumber(self, PageNumber): # Integer
48+
self.add_query_param('PageNumber', PageNumber)
49+
def get_SecurityToken(self): # String
50+
return self.get_query_params().get('SecurityToken')
51+
52+
def set_SecurityToken(self, SecurityToken): # String
53+
self.add_query_param('SecurityToken', SecurityToken)
54+
def get_PageSize(self): # Integer
55+
return self.get_query_params().get('PageSize')
56+
57+
def set_PageSize(self, PageSize): # Integer
58+
self.add_query_param('PageSize', PageSize)
59+
def get_TaskType(self): # String
60+
return self.get_query_params().get('TaskType')
61+
62+
def set_TaskType(self, TaskType): # String
63+
self.add_query_param('TaskType', TaskType)
64+
def get_ResourceOwnerAccount(self): # String
65+
return self.get_query_params().get('ResourceOwnerAccount')
66+
67+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
68+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
69+
def get_DBClusterId(self): # String
70+
return self.get_query_params().get('DBClusterId')
71+
72+
def set_DBClusterId(self, DBClusterId): # String
73+
self.add_query_param('DBClusterId', DBClusterId)
74+
def get_OwnerAccount(self): # String
75+
return self.get_query_params().get('OwnerAccount')
76+
77+
def set_OwnerAccount(self, OwnerAccount): # String
78+
self.add_query_param('OwnerAccount', OwnerAccount)
79+
def get_AllowCancel(self): # Long
80+
return self.get_query_params().get('AllowCancel')
81+
82+
def set_AllowCancel(self, AllowCancel): # Long
83+
self.add_query_param('AllowCancel', AllowCancel)
84+
def get_OwnerId(self): # Long
85+
return self.get_query_params().get('OwnerId')
86+
87+
def set_OwnerId(self, OwnerId): # Long
88+
self.add_query_param('OwnerId', OwnerId)
89+
def get_DBType(self): # String
90+
return self.get_query_params().get('DBType')
91+
92+
def set_DBType(self, DBType): # String
93+
self.add_query_param('DBType', DBType)
94+
def get_AllowChange(self): # Long
95+
return self.get_query_params().get('AllowChange')
96+
97+
def set_AllowChange(self, AllowChange): # Long
98+
self.add_query_param('AllowChange', AllowChange)
99+
def get_Status(self): # Long
100+
return self.get_query_params().get('Status')
101+
102+
def set_Status(self, Status): # Long
103+
self.add_query_param('Status', Status)
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 ModifyActiveOperationTasksRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'ModifyActiveOperationTasks','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_TaskIds(self): # String
40+
return self.get_query_params().get('TaskIds')
41+
42+
def set_TaskIds(self, TaskIds): # String
43+
self.add_query_param('TaskIds', TaskIds)
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_SwitchTime(self): # String
50+
return self.get_query_params().get('SwitchTime')
51+
52+
def set_SwitchTime(self, SwitchTime): # String
53+
self.add_query_param('SwitchTime', SwitchTime)
54+
def get_ResourceOwnerAccount(self): # String
55+
return self.get_query_params().get('ResourceOwnerAccount')
56+
57+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
58+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
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_ImmediateStart(self): # Integer
70+
return self.get_query_params().get('ImmediateStart')
71+
72+
def set_ImmediateStart(self, ImmediateStart): # Integer
73+
self.add_query_param('ImmediateStart', ImmediateStart)

0 commit comments

Comments
 (0)