Modify DBS API DescribeBackupPlanList.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2019-07-14 Version 1.36.64
|
||||
- Modify DBS API DescribeBackupPlanList.
|
||||
|
||||
2019-07-12 Version 1.36.63
|
||||
- Public api AddLivePullStreamInfoConfig.
|
||||
|
||||
|
||||
@@ -35,28 +35,30 @@ namespace AlibabaCloud
|
||||
struct BackupPlanDetail
|
||||
{
|
||||
std::string backupPlanName;
|
||||
std::string backupMethod;
|
||||
long backupPlanCreateTime;
|
||||
std::string backupPeriod;
|
||||
std::string backupObjects;
|
||||
std::string sourceEndpointInstanceID;
|
||||
std::string instanceClass;
|
||||
std::string sourceEndpointDatabaseName;
|
||||
std::string oSSBucketRegion;
|
||||
long beginTimestampForRestore;
|
||||
std::string sourceEndpointRegion;
|
||||
std::string sourceEndpointIpPort;
|
||||
std::string backupPlanId;
|
||||
std::string sourceEndpointInstanceType;
|
||||
long backupGatewayId;
|
||||
std::string sourceEndpointUserName;
|
||||
int duplicationInfrequentAccessPeriod;
|
||||
std::string backupMethod;
|
||||
std::string backupPeriod;
|
||||
std::string instanceClass;
|
||||
long endTimestampForRestore;
|
||||
int duplicationArchivePeriod;
|
||||
std::string oSSBucketName;
|
||||
std::string backupPlanStatus;
|
||||
std::string backupStartTime;
|
||||
bool enableBackupLog;
|
||||
std::string backupPlanId;
|
||||
std::string sourceEndpointOracleSID;
|
||||
int backupRetentionPeriod;
|
||||
std::string sourceEndpointInstanceType;
|
||||
long backupGatewayId;
|
||||
std::string sourceEndpointUserName;
|
||||
int duplicationInfrequentAccessPeriod;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -90,6 +90,10 @@ void DescribeBackupPlanListResult::parse(const std::string &payload)
|
||||
itemsObject.backupPlanCreateTime = std::stol(value["BackupPlanCreateTime"].asString());
|
||||
if(!value["BackupPlanStatus"].isNull())
|
||||
itemsObject.backupPlanStatus = value["BackupPlanStatus"].asString();
|
||||
if(!value["BeginTimestampForRestore"].isNull())
|
||||
itemsObject.beginTimestampForRestore = std::stol(value["BeginTimestampForRestore"].asString());
|
||||
if(!value["EndTimestampForRestore"].isNull())
|
||||
itemsObject.endTimestampForRestore = std::stol(value["EndTimestampForRestore"].asString());
|
||||
items_.push_back(itemsObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
|
||||
Reference in New Issue
Block a user