Skip to content

Commit fe38072

Browse files
committed
CreateEai api adds SecurityGroupId, VSwitchId parameters.
1 parent d0f7015 commit fe38072

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

eais-20190624/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-03-22 Version: 1.0.1
2+
- CreateEai api adds SecurityGroupId, VSwitchId parameters.
3+
14
2021-02-19 Version: 1.0.0
25
- Initialization.
36

eais-20190624/include/alibabacloud/eais_20190624.hpp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,8 @@ class CreateEaiRequest : public Darabonba::Model {
158158
shared_ptr<string> instanceType{};
159159
shared_ptr<string> clientToken{};
160160
shared_ptr<string> instanceName{};
161+
shared_ptr<string> securityGroupId{};
162+
shared_ptr<string> vSwitchId{};
161163

162164
CreateEaiRequest() {}
163165

@@ -181,6 +183,12 @@ class CreateEaiRequest : public Darabonba::Model {
181183
if (instanceName) {
182184
res["InstanceName"] = boost::any(*instanceName);
183185
}
186+
if (securityGroupId) {
187+
res["SecurityGroupId"] = boost::any(*securityGroupId);
188+
}
189+
if (vSwitchId) {
190+
res["VSwitchId"] = boost::any(*vSwitchId);
191+
}
184192
return res;
185193
}
186194

@@ -197,6 +205,12 @@ class CreateEaiRequest : public Darabonba::Model {
197205
if (m.find("InstanceName") != m.end() && !m["InstanceName"].empty()) {
198206
instanceName = make_shared<string>(boost::any_cast<string>(m["InstanceName"]));
199207
}
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+
}
200214
}
201215

202216

0 commit comments

Comments
 (0)