File tree 3 files changed +37
-16
lines changed 3 files changed +37
-16
lines changed Original file line number Diff line number Diff line change @@ -898,6 +898,18 @@ func (c *VPCClient) CreateNetworkAclEntry(req *CreateNetworkAclEntryRequest) (*C
898
898
return & res , nil
899
899
}
900
900
901
+ /*
902
+ CreateNetworkInterfaceParamPrioritySecGroup is request schema for complex param
903
+ */
904
+ type CreateNetworkInterfaceParamPrioritySecGroup struct {
905
+
906
+ // 安全组优先级
907
+ Pripority * int `required:"false"`
908
+
909
+ // 安全组 ID
910
+ SecGroupId * string `required:"false"`
911
+ }
912
+
901
913
// CreateNetworkInterfaceRequest is request schema for CreateNetworkInterface action
902
914
type CreateNetworkInterfaceRequest struct {
903
915
request.CommonBase
@@ -908,9 +920,15 @@ type CreateNetworkInterfaceRequest struct {
908
920
// [公共参数] 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist)
909
921
// Region *string `required:"true"`
910
922
923
+ // 是否开启EIP直通,默认false
924
+ EipDirectMode * bool `required:"false"`
925
+
911
926
// 虚拟网卡名称,默认为 NetworkInterface
912
927
Name * string `required:"false"`
913
928
929
+ //
930
+ PrioritySecGroup []CreateNetworkInterfaceParamPrioritySecGroup `required:"false"`
931
+
914
932
// 指定内网IP。当前一个网卡仅支持绑定一个内网IP
915
933
PrivateIp []string `required:"false"`
916
934
@@ -920,6 +938,9 @@ type CreateNetworkInterfaceRequest struct {
920
938
// 防火墙GroupId,默认:Web推荐防火墙 可由DescribeSecurityGroupResponse中的GroupId取得
921
939
SecurityGroupId * string `required:"false"`
922
940
941
+ // 指定使用 安全组还是防火墙。为 0 时绑定防火墙,为1时绑定安全组
942
+ SecurityMode * int `required:"false"`
943
+
923
944
// 所属子网ID
924
945
SubnetId * string `required:"true"`
925
946
Original file line number Diff line number Diff line change @@ -215,21 +215,6 @@ type NatGWIPResInfo struct {
215
215
OperatorName string
216
216
}
217
217
218
- /*
219
- NatGatewaySubnetSet - natgw里面的子网信息
220
- */
221
- type NatGatewaySubnetSet struct {
222
-
223
- // 子网网段
224
- Subnet string
225
-
226
- // 子网名字
227
- SubnetName string
228
-
229
- // 子网id
230
- SubnetworkId string
231
- }
232
-
233
218
/*
234
219
NatGatewayIPSet - IPSet信息
235
220
*/
@@ -251,6 +236,21 @@ type NatGatewayIPSet struct {
251
236
Weight int
252
237
}
253
238
239
+ /*
240
+ NatGatewaySubnetSet - natgw里面的子网信息
241
+ */
242
+ type NatGatewaySubnetSet struct {
243
+
244
+ // 子网网段
245
+ Subnet string
246
+
247
+ // 子网名字
248
+ SubnetName string
249
+
250
+ // 子网id
251
+ SubnetworkId string
252
+ }
253
+
254
254
/*
255
255
NatGatewayDataSet - natgw的信息
256
256
*/
Original file line number Diff line number Diff line change 1
1
package version
2
2
3
- const Version = "0.22.31 "
3
+ const Version = "0.22.32 "
You can’t perform that action at this time.
0 commit comments