File tree Expand file tree Collapse file tree 9 files changed +31
-355
lines changed
include/alibabacloud/ehpc/model Expand file tree Collapse file tree 9 files changed +31
-355
lines changed Original file line number Diff line number Diff line change
1
+ 2019-04-23 Version: 1.36.21
2
+ 1, Support mounting multiple volumes using different protocol
3
+ 2, Support scaling out cross AZ
4
+
1
5
2019-04-22 Version: 1.36.20
2
6
1, This is an example of release-log.
3
7
2, Please strictly follow this format to edit in English.
Original file line number Diff line number Diff line change 1
- 1.36.20
1
+ 1.36.21
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ namespace AlibabaCloud
36
36
{
37
37
struct InstanceTypeInfo
38
38
{
39
+ std::string zoneId;
40
+ std::string vSwitchId;
39
41
float spotPriceLimit;
40
42
std::string instanceType;
41
43
std::string spotStrategy;
Original file line number Diff line number Diff line change @@ -48,11 +48,14 @@ namespace AlibabaCloud
48
48
};
49
49
std::string status;
50
50
std::string imageOwnerAlias;
51
+ std::string zoneId;
52
+ std::string vSwitchId;
51
53
bool expired;
52
54
std::string addTime;
53
55
UsedResources usedResources;
54
56
bool createdByEhpc;
55
57
std::string createMode;
58
+ std::string vpcId;
56
59
std::string version;
57
60
TotalResources totalResources;
58
61
std::string expiredTime;
Original file line number Diff line number Diff line change @@ -48,12 +48,15 @@ namespace AlibabaCloud
48
48
};
49
49
std::string status;
50
50
std::string imageOwnerAlias;
51
+ std::string zoneId;
52
+ std::string vSwitchId;
51
53
bool expired;
52
54
std::vector<std::string> roles;
53
55
std::string addTime;
54
56
UsedResources usedResources;
55
57
bool createdByEhpc;
56
58
std::string createMode;
59
+ std::string vpcId;
57
60
std::string version;
58
61
TotalResources totalResources;
59
62
std::string expiredTime;
Original file line number Diff line number Diff line change @@ -66,6 +66,10 @@ void GetAutoScaleConfigResult::parse(const std::string &payload)
66
66
instanceTypesObject.spotStrategy = value[" SpotStrategy" ].asString ();
67
67
if (!value[" SpotPriceLimit" ].isNull ())
68
68
instanceTypesObject.spotPriceLimit = std::stof (value[" SpotPriceLimit" ].asString ());
69
+ if (!value[" ZoneId" ].isNull ())
70
+ instanceTypesObject.zoneId = value[" ZoneId" ].asString ();
71
+ if (!value[" VSwitchId" ].isNull ())
72
+ instanceTypesObject.vSwitchId = value[" VSwitchId" ].asString ();
69
73
queuesObject.instanceTypes .push_back (instanceTypesObject);
70
74
}
71
75
queues_.push_back (queuesObject);
Original file line number Diff line number Diff line change @@ -74,6 +74,12 @@ void ListNodesByQueueResult::parse(const std::string &payload)
74
74
nodesObject.location = value[" Location" ].asString ();
75
75
if (!value[" CreateMode" ].isNull ())
76
76
nodesObject.createMode = value[" CreateMode" ].asString ();
77
+ if (!value[" VpcId" ].isNull ())
78
+ nodesObject.vpcId = value[" VpcId" ].asString ();
79
+ if (!value[" ZoneId" ].isNull ())
80
+ nodesObject.zoneId = value[" ZoneId" ].asString ();
81
+ if (!value[" VSwitchId" ].isNull ())
82
+ nodesObject.vSwitchId = value[" VSwitchId" ].asString ();
77
83
auto totalResourcesNode = value[" TotalResources" ];
78
84
if (!totalResourcesNode[" Cpu" ].isNull ())
79
85
nodesObject.totalResources .cpu = std::stoi (totalResourcesNode[" Cpu" ].asString ());
Original file line number Diff line number Diff line change @@ -74,6 +74,12 @@ void ListNodesResult::parse(const std::string &payload)
74
74
nodesObject.location = value[" Location" ].asString ();
75
75
if (!value[" CreateMode" ].isNull ())
76
76
nodesObject.createMode = value[" CreateMode" ].asString ();
77
+ if (!value[" VpcId" ].isNull ())
78
+ nodesObject.vpcId = value[" VpcId" ].asString ();
79
+ if (!value[" ZoneId" ].isNull ())
80
+ nodesObject.zoneId = value[" ZoneId" ].asString ();
81
+ if (!value[" VSwitchId" ].isNull ())
82
+ nodesObject.vSwitchId = value[" VSwitchId" ].asString ();
77
83
auto totalResourcesNode = value[" TotalResources" ];
78
84
if (!totalResourcesNode[" Cpu" ].isNull ())
79
85
nodesObject.totalResources .cpu = std::stoi (totalResourcesNode[" Cpu" ].asString ());
You can’t perform that action at this time.
0 commit comments