Skip to content

Commit 9806526

Browse files
committed
Generated 2014-08-15 for Rds.
1 parent c3ef606 commit 9806526

File tree

6 files changed

+296
-1
lines changed

6 files changed

+296
-1
lines changed

aliyun-python-sdk-rds/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-07-03 Version: 2.7.47
2+
- Generated 2014-08-15 for `Rds`.
3+
14
2024-06-27 Version: 2.7.46
25
- Generated 2014-08-15 for `Rds`.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.7.46'
1+
__version__ = '2.7.47'
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
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 aliyunsdkrds.endpoint import endpoint_data
22+
23+
class CreateDBInstanceSecurityGroupRuleRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Rds', '2014-08-15', 'CreateDBInstanceSecurityGroupRule','rds')
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_Description(self): # String
40+
return self.get_query_params().get('Description')
41+
42+
def set_Description(self, Description): # String
43+
self.add_query_param('Description', Description)
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)
49+
def get_PortRange(self): # String
50+
return self.get_query_params().get('PortRange')
51+
52+
def set_PortRange(self, PortRange): # String
53+
self.add_query_param('PortRange', PortRange)
54+
def get_IpProtocol(self): # String
55+
return self.get_query_params().get('IpProtocol')
56+
57+
def set_IpProtocol(self, IpProtocol): # String
58+
self.add_query_param('IpProtocol', IpProtocol)
59+
def get_ResourceOwnerAccount(self): # String
60+
return self.get_query_params().get('ResourceOwnerAccount')
61+
62+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
63+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
64+
def get_SourceCidrIp(self): # String
65+
return self.get_query_params().get('SourceCidrIp')
66+
67+
def set_SourceCidrIp(self, SourceCidrIp): # String
68+
self.add_query_param('SourceCidrIp', SourceCidrIp)
69+
def get_OwnerAccount(self): # String
70+
return self.get_query_params().get('OwnerAccount')
71+
72+
def set_OwnerAccount(self, OwnerAccount): # String
73+
self.add_query_param('OwnerAccount', OwnerAccount)
74+
def get_OwnerId(self): # String
75+
return self.get_query_params().get('OwnerId')
76+
77+
def set_OwnerId(self, OwnerId): # String
78+
self.add_query_param('OwnerId', OwnerId)
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 aliyunsdkrds.endpoint import endpoint_data
22+
23+
class DeleteDBInstanceSecurityGroupRuleRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Rds', '2014-08-15', 'DeleteDBInstanceSecurityGroupRule','rds')
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_ClientToken(self): # String
40+
return self.get_query_params().get('ClientToken')
41+
42+
def set_ClientToken(self, ClientToken): # String
43+
self.add_query_param('ClientToken', ClientToken)
44+
def get_SecurityGroupRuleIds(self): # String
45+
return self.get_query_params().get('SecurityGroupRuleIds')
46+
47+
def set_SecurityGroupRuleIds(self, SecurityGroupRuleIds): # String
48+
self.add_query_param('SecurityGroupRuleIds', SecurityGroupRuleIds)
49+
def get_ResourceGroupId(self): # String
50+
return self.get_query_params().get('ResourceGroupId')
51+
52+
def set_ResourceGroupId(self, ResourceGroupId): # String
53+
self.add_query_param('ResourceGroupId', ResourceGroupId)
54+
def get_DBInstanceId(self): # String
55+
return self.get_query_params().get('DBInstanceId')
56+
57+
def set_DBInstanceId(self, DBInstanceId): # String
58+
self.add_query_param('DBInstanceId', DBInstanceId)
59+
def get_ResourceOwnerAccount(self): # String
60+
return self.get_query_params().get('ResourceOwnerAccount')
61+
62+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
63+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
64+
def get_OwnerAccount(self): # String
65+
return self.get_query_params().get('OwnerAccount')
66+
67+
def set_OwnerAccount(self, OwnerAccount): # String
68+
self.add_query_param('OwnerAccount', OwnerAccount)
69+
def get_OwnerId(self): # String
70+
return self.get_query_params().get('OwnerId')
71+
72+
def set_OwnerId(self, OwnerId): # String
73+
self.add_query_param('OwnerId', OwnerId)
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
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 aliyunsdkrds.endpoint import endpoint_data
22+
23+
class DescribeDBInstanceSecurityGroupRuleRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Rds', '2014-08-15', 'DescribeDBInstanceSecurityGroupRule','rds')
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_DBInstanceId(self): # String
40+
return self.get_query_params().get('DBInstanceId')
41+
42+
def set_DBInstanceId(self, DBInstanceId): # String
43+
self.add_query_param('DBInstanceId', DBInstanceId)
44+
def get_ResourceOwnerAccount(self): # String
45+
return self.get_query_params().get('ResourceOwnerAccount')
46+
47+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
48+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
49+
def get_OwnerAccount(self): # String
50+
return self.get_query_params().get('OwnerAccount')
51+
52+
def set_OwnerAccount(self, OwnerAccount): # String
53+
self.add_query_param('OwnerAccount', OwnerAccount)
54+
def get_OwnerId(self): # String
55+
return self.get_query_params().get('OwnerId')
56+
57+
def set_OwnerId(self, OwnerId): # String
58+
self.add_query_param('OwnerId', OwnerId)
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
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 aliyunsdkrds.endpoint import endpoint_data
22+
23+
class ModifyDBInstanceSecurityGroupRuleRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Rds', '2014-08-15', 'ModifyDBInstanceSecurityGroupRule','rds')
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_Description(self): # String
40+
return self.get_query_params().get('Description')
41+
42+
def set_Description(self, Description): # String
43+
self.add_query_param('Description', Description)
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)
49+
def get_PortRange(self): # String
50+
return self.get_query_params().get('PortRange')
51+
52+
def set_PortRange(self, PortRange): # String
53+
self.add_query_param('PortRange', PortRange)
54+
def get_IpProtocol(self): # String
55+
return self.get_query_params().get('IpProtocol')
56+
57+
def set_IpProtocol(self, IpProtocol): # String
58+
self.add_query_param('IpProtocol', IpProtocol)
59+
def get_ResourceOwnerAccount(self): # String
60+
return self.get_query_params().get('ResourceOwnerAccount')
61+
62+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
63+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
64+
def get_SourceCidrIp(self): # String
65+
return self.get_query_params().get('SourceCidrIp')
66+
67+
def set_SourceCidrIp(self, SourceCidrIp): # String
68+
self.add_query_param('SourceCidrIp', SourceCidrIp)
69+
def get_OwnerAccount(self): # String
70+
return self.get_query_params().get('OwnerAccount')
71+
72+
def set_OwnerAccount(self, OwnerAccount): # String
73+
self.add_query_param('OwnerAccount', OwnerAccount)
74+
def get_OwnerId(self): # String
75+
return self.get_query_params().get('OwnerId')
76+
77+
def set_OwnerId(self, OwnerId): # String
78+
self.add_query_param('OwnerId', OwnerId)
79+
def get_SecurityGroupRuleId(self): # String
80+
return self.get_query_params().get('SecurityGroupRuleId')
81+
82+
def set_SecurityGroupRuleId(self, SecurityGroupRuleId): # String
83+
self.add_query_param('SecurityGroupRuleId', SecurityGroupRuleId)

0 commit comments

Comments
 (0)