Skip to content

Commit fa2e6ee

Browse files
committed
Add CreateAndStartBackupPlan.
1 parent 62775c1 commit fa2e6ee

File tree

4 files changed

+22
-17
lines changed

4 files changed

+22
-17
lines changed

aliyun-python-sdk-dbs/ChangeLog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2021-03-30 Version: 1.0.33
2+
- Add CreateAndStartBackupPlan.
3+
- Add DescribeFullBackupSet.
4+
- Add DescribeLogicalBackupSet.
5+
16
2021-03-08 Version: 1.0.32
27
- Update CreateAndStartBackupPlan Response with createBackupSet.
38

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

aliyun-python-sdk-dbs/aliyunsdkdbs/request/v20190306/CloseDLAServiceRequest.py renamed to aliyun-python-sdk-dbs/aliyunsdkdbs/request/v20190306/DescribeFullBackupSetRequest.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
from aliyunsdkcore.request import RpcRequest
2121
from aliyunsdkdbs.endpoint import endpoint_data
2222

23-
class CloseDLAServiceRequest(RpcRequest):
23+
class DescribeFullBackupSetRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'Dbs', '2019-03-06', 'CloseDLAService','cbs')
26+
RpcRequest.__init__(self, 'Dbs', '2019-03-06', 'DescribeFullBackupSet','cbs')
2727
self.set_method('POST')
2828
if hasattr(self, "endpoint_map"):
2929
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
@@ -43,6 +43,12 @@ def get_BackupPlanId(self):
4343
def set_BackupPlanId(self,BackupPlanId):
4444
self.add_query_param('BackupPlanId',BackupPlanId)
4545

46+
def get_BackupsetId(self):
47+
return self.get_query_params().get('BackupsetId')
48+
49+
def set_BackupsetId(self,BackupsetId):
50+
self.add_query_param('BackupsetId',BackupsetId)
51+
4652
def get_OwnerId(self):
4753
return self.get_query_params().get('OwnerId')
4854

aliyun-python-sdk-dbs/aliyunsdkdbs/request/v20190306/CreateDLAServiceRequest.py renamed to aliyun-python-sdk-dbs/aliyunsdkdbs/request/v20190306/DescribeLogicalBackupSetRequest.py

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
from aliyunsdkcore.request import RpcRequest
2121
from aliyunsdkdbs.endpoint import endpoint_data
2222

23-
class CreateDLAServiceRequest(RpcRequest):
23+
class DescribeLogicalBackupSetRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'Dbs', '2019-03-06', 'CreateDLAService','cbs')
26+
RpcRequest.__init__(self, 'Dbs', '2019-03-06', 'DescribeLogicalBackupSet','cbs')
2727
self.set_method('POST')
2828
if hasattr(self, "endpoint_map"):
2929
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
@@ -37,24 +37,18 @@ def get_ClientToken(self):
3737
def set_ClientToken(self,ClientToken):
3838
self.add_query_param('ClientToken',ClientToken)
3939

40-
def get_AutoAdd(self):
41-
return self.get_query_params().get('AutoAdd')
42-
43-
def set_AutoAdd(self,AutoAdd):
44-
self.add_query_param('AutoAdd',AutoAdd)
45-
46-
def get_BackupSetIds(self):
47-
return self.get_query_params().get('BackupSetIds')
48-
49-
def set_BackupSetIds(self,BackupSetIds):
50-
self.add_query_param('BackupSetIds',BackupSetIds)
51-
5240
def get_BackupPlanId(self):
5341
return self.get_query_params().get('BackupPlanId')
5442

5543
def set_BackupPlanId(self,BackupPlanId):
5644
self.add_query_param('BackupPlanId',BackupPlanId)
5745

46+
def get_BackupsetId(self):
47+
return self.get_query_params().get('BackupsetId')
48+
49+
def set_BackupsetId(self,BackupsetId):
50+
self.add_query_param('BackupsetId',BackupsetId)
51+
5852
def get_OwnerId(self):
5953
return self.get_query_params().get('OwnerId')
6054

0 commit comments

Comments
 (0)