Skip to content

Commit e03798f

Browse files
committed
Generated 2015-12-01 for Dds.
1 parent 1a464b4 commit e03798f

17 files changed

+425
-2
lines changed

aliyun-python-sdk-dds/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-04-08 Version: 3.7.22
2+
- Generated 2015-12-01 for `Dds`.
3+
14
2024-11-05 Version: 3.7.21
25
- Generated 2015-12-01 for `Dds`.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.7.21'
1+
__version__ = '3.7.22'

aliyun-python-sdk-dds/aliyunsdkdds/endpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def __init__(self):
2626
"cn-beijing": "mongodb.aliyuncs.com",
2727
"cn-shanghai-inner": "mongodb.aliyuncs.com",
2828
"cn-hangzhou-internal-prod-1": "mongodb.aliyuncs.com",
29-
"cn-north-2-gov-1": "mongodb.aliyuncs.com",
29+
"cn-north-2-gov-1": "mongodb.cn-north-2-gov-1.aliyuncs.com",
3030
"cn-yushanfang": "mongodb.aliyuncs.com",
3131
"cn-qingdao-nebula": "mongodb.aliyuncs.com",
3232
"cn-heyuan": "mongodb.aliyuncs.com",
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+
from aliyunsdkdds.endpoint import endpoint_data
22+
23+
class CheckServiceLinkedRoleRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'CheckServiceLinkedRole','dds')
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_ResourceOwnerAccount(self): # String
35+
return self.get_query_params().get('ResourceOwnerAccount')
36+
37+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
38+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
39+
def get_OwnerAccount(self): # String
40+
return self.get_query_params().get('OwnerAccount')
41+
42+
def set_OwnerAccount(self, OwnerAccount): # String
43+
self.add_query_param('OwnerAccount', OwnerAccount)
44+
def get_OwnerId(self): # Long
45+
return self.get_query_params().get('OwnerId')
46+
47+
def set_OwnerId(self, OwnerId): # Long
48+
self.add_query_param('OwnerId', OwnerId)

aliyun-python-sdk-dds/aliyunsdkdds/request/v20151201/CreateAccountRequest.py

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

6767
def set_AccountPassword(self, AccountPassword): # String
6868
self.add_query_param('AccountPassword', AccountPassword)
69+
def get_CharacterType(self): # String
70+
return self.get_query_params().get('CharacterType')
71+
72+
def set_CharacterType(self, CharacterType): # String
73+
self.add_query_param('CharacterType', CharacterType)
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
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 aliyunsdkdds.endpoint import endpoint_data
22+
23+
class DescribeActiveOperationMaintenanceConfigRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'DescribeActiveOperationMaintenanceConfig','dds')
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_ResourceOwnerAccount(self): # String
40+
return self.get_query_params().get('ResourceOwnerAccount')
41+
42+
def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
43+
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
44+
def get_OwnerAccount(self): # String
45+
return self.get_query_params().get('OwnerAccount')
46+
47+
def set_OwnerAccount(self, OwnerAccount): # String
48+
self.add_query_param('OwnerAccount', OwnerAccount)
49+
def get_OwnerId(self): # Long
50+
return self.get_query_params().get('OwnerId')
51+
52+
def set_OwnerId(self, OwnerId): # Long
53+
self.add_query_param('OwnerId', OwnerId)
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 aliyunsdkdds.endpoint import endpoint_data
22+
23+
class DescribeActiveOperationTaskRegionRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'DescribeActiveOperationTaskRegion','dds')
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_IsHistory(self): # Integer
40+
return self.get_query_params().get('IsHistory')
41+
42+
def set_IsHistory(self, IsHistory): # Integer
43+
self.add_query_param('IsHistory', IsHistory)
44+
def get_TaskType(self): # String
45+
return self.get_query_params().get('TaskType')
46+
47+
def set_TaskType(self, TaskType): # String
48+
self.add_query_param('TaskType', TaskType)
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)
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 aliyunsdkdds.endpoint import endpoint_data
22+
23+
class DescribeActiveOperationTaskRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Dds', '2015-12-01', 'DescribeActiveOperationTask','dds')
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_ProductId(self): # String
40+
return self.get_query_params().get('ProductId')
41+
42+
def set_ProductId(self, ProductId): # String
43+
self.add_query_param('ProductId', ProductId)
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_IsHistory(self): # Integer
50+
return self.get_query_params().get('IsHistory')
51+
52+
def set_IsHistory(self, IsHistory): # Integer
53+
self.add_query_param('IsHistory', IsHistory)
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_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): # Long
75+
return self.get_query_params().get('OwnerId')
76+
77+
def set_OwnerId(self, OwnerId): # Long
78+
self.add_query_param('OwnerId', OwnerId)
79+
def get_Region(self): # String
80+
return self.get_query_params().get('Region')
81+
82+
def set_Region(self, Region): # String
83+
self.add_query_param('Region', Region)

aliyun-python-sdk-dds/aliyunsdkdds/request/v20151201/DescribeActiveOperationTasksRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,11 @@ def get_PageNumber(self): # Integer
5151

5252
def set_PageNumber(self, PageNumber): # Integer
5353
self.add_query_param('PageNumber', PageNumber)
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)
5459
def get_InsName(self): # String
5560
return self.get_query_params().get('InsName')
5661

aliyun-python-sdk-dds/aliyunsdkdds/request/v20151201/DescribeAvailabilityZonesRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ def get_ExcludeZoneId(self): # String
6161

6262
def set_ExcludeZoneId(self, ExcludeZoneId): # String
6363
self.add_query_param('ExcludeZoneId', ExcludeZoneId)
64+
def get_InstanceType(self): # String
65+
return self.get_query_params().get('InstanceType')
66+
67+
def set_InstanceType(self, InstanceType): # String
68+
self.add_query_param('InstanceType', InstanceType)
6469
def get_ExcludeSecondaryZoneId(self): # String
6570
return self.get_query_params().get('ExcludeSecondaryZoneId')
6671

0 commit comments

Comments
 (0)