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
|
2019-07-12 Version 1.36.63
|
||||||
- Public api AddLivePullStreamInfoConfig.
|
- Public api AddLivePullStreamInfoConfig.
|
||||||
|
|
||||||
|
|||||||
@@ -35,28 +35,30 @@ namespace AlibabaCloud
|
|||||||
struct BackupPlanDetail
|
struct BackupPlanDetail
|
||||||
{
|
{
|
||||||
std::string backupPlanName;
|
std::string backupPlanName;
|
||||||
std::string backupMethod;
|
|
||||||
long backupPlanCreateTime;
|
long backupPlanCreateTime;
|
||||||
std::string backupPeriod;
|
|
||||||
std::string backupObjects;
|
std::string backupObjects;
|
||||||
std::string sourceEndpointInstanceID;
|
std::string sourceEndpointInstanceID;
|
||||||
std::string instanceClass;
|
|
||||||
std::string sourceEndpointDatabaseName;
|
std::string sourceEndpointDatabaseName;
|
||||||
std::string oSSBucketRegion;
|
std::string oSSBucketRegion;
|
||||||
|
long beginTimestampForRestore;
|
||||||
std::string sourceEndpointRegion;
|
std::string sourceEndpointRegion;
|
||||||
std::string sourceEndpointIpPort;
|
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;
|
int duplicationArchivePeriod;
|
||||||
std::string oSSBucketName;
|
std::string oSSBucketName;
|
||||||
std::string backupPlanStatus;
|
std::string backupPlanStatus;
|
||||||
std::string backupStartTime;
|
std::string backupStartTime;
|
||||||
bool enableBackupLog;
|
bool enableBackupLog;
|
||||||
std::string backupPlanId;
|
|
||||||
std::string sourceEndpointOracleSID;
|
std::string sourceEndpointOracleSID;
|
||||||
int backupRetentionPeriod;
|
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());
|
itemsObject.backupPlanCreateTime = std::stol(value["BackupPlanCreateTime"].asString());
|
||||||
if(!value["BackupPlanStatus"].isNull())
|
if(!value["BackupPlanStatus"].isNull())
|
||||||
itemsObject.backupPlanStatus = value["BackupPlanStatus"].asString();
|
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);
|
items_.push_back(itemsObject);
|
||||||
}
|
}
|
||||||
if(!value["Success"].isNull())
|
if(!value["Success"].isNull())
|
||||||
|
|||||||
Reference in New Issue
Block a user