You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/vpcgw/v1/vpcgw_sdk.go
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1109,10 +1109,13 @@ type CreateGatewayNetworkRequest struct {
1109
1109
// EnableMasquerade: whether to enable masquerade on this network.
1110
1110
EnableMasqueradebool`json:"enable_masquerade"`
1111
1111
// DHCPID: existing configuration.
1112
-
// Precisely one of Address, DHCPID must be set.
1112
+
// Precisely one of Address, DHCP, DHCPID must be set.
1113
1113
DHCPID*string`json:"dhcp_id,omitempty"`
1114
+
// DHCP: new DHCP configuration.
1115
+
// Precisely one of Address, DHCP, DHCPID must be set.
1116
+
DHCP*CreateDHCPRequest`json:"dhcp,omitempty"`
1114
1117
// Address: static IP address in CIDR format to to use without DHCP.
1115
-
// Precisely one of Address, DHCPID must be set.
1118
+
// Precisely one of Address, DHCP, DHCPID must be set.
1116
1119
Address*scw.IPNet`json:"address,omitempty"`
1117
1120
// EnableDHCP: whether to enable DHCP on this Private Network. Defaults to `true` if either `dhcp_id` or `dhcp` short: are present. If set to `true`, requires that either `dhcp_id` or `dhcp` to be present.
0 commit comments