File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change
1
+ 2021-03-22 Version: 1.0.1
2
+ - CreateEai api adds SecurityGroupId, VSwitchId parameters.
3
+
1
4
2021-02-19 Version: 1.0.0
2
5
- Initialization.
3
6
Original file line number Diff line number Diff line change @@ -158,6 +158,8 @@ class CreateEaiRequest : public Darabonba::Model {
158
158
shared_ptr<string> instanceType{};
159
159
shared_ptr<string> clientToken{};
160
160
shared_ptr<string> instanceName{};
161
+ shared_ptr<string> securityGroupId{};
162
+ shared_ptr<string> vSwitchId{};
161
163
162
164
CreateEaiRequest () {}
163
165
@@ -181,6 +183,12 @@ class CreateEaiRequest : public Darabonba::Model {
181
183
if (instanceName) {
182
184
res[" InstanceName" ] = boost::any (*instanceName);
183
185
}
186
+ if (securityGroupId) {
187
+ res[" SecurityGroupId" ] = boost::any (*securityGroupId);
188
+ }
189
+ if (vSwitchId) {
190
+ res[" VSwitchId" ] = boost::any (*vSwitchId);
191
+ }
184
192
return res;
185
193
}
186
194
@@ -197,6 +205,12 @@ class CreateEaiRequest : public Darabonba::Model {
197
205
if (m.find (" InstanceName" ) != m.end () && !m[" InstanceName" ].empty ()) {
198
206
instanceName = make_shared<string>(boost::any_cast<string>(m[" InstanceName" ]));
199
207
}
208
+ if (m.find (" SecurityGroupId" ) != m.end () && !m[" SecurityGroupId" ].empty ()) {
209
+ securityGroupId = make_shared<string>(boost::any_cast<string>(m[" SecurityGroupId" ]));
210
+ }
211
+ if (m.find (" VSwitchId" ) != m.end () && !m[" VSwitchId" ].empty ()) {
212
+ vSwitchId = make_shared<string>(boost::any_cast<string>(m[" VSwitchId" ]));
213
+ }
200
214
}
201
215
202
216
You can’t perform that action at this time.
0 commit comments