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
:param zone: Zone to target. If none is passed will use default zone from the config.
663
663
:param gateway_id: Public Gateway to connect.
664
664
:param private_network_id: Private Network to connect.
665
-
:param enable_masquerade: Defines whether to enable masquerade (dynamic NAT) on this network.
666
-
:param enable_dhcp: Defines whether to enable DHCP on this Private Network. Defaults to `true` if either `dhcp_id` or `dhcp` are present. If set to `true`, either `dhcp_id` or `dhcp` must be present.
665
+
:param enable_masquerade: Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork.
666
+
Note: this setting is ignored when passing `ipam_config`.
667
+
:param enable_dhcp: Defines whether to enable DHCP on this Private Network.
668
+
Defaults to `true` if either `dhcp_id` or `dhcp` are present. If set to `true`, either `dhcp_id` or `dhcp` must be present.
669
+
Note: this setting is ignored when passing `ipam_config`.
667
670
:param dhcp_id: ID of an existing DHCP configuration object to use for this GatewayNetwork.
668
671
669
672
One-of ('ip_config'): at most one of 'dhcp_id', 'dhcp', 'address', 'ipam_config' could be set.
:param zone: Zone to target. If none is passed will use default zone from the config.
731
734
:param gateway_network_id: ID of the GatewayNetwork to update.
732
735
:param enable_masquerade: Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork.
733
-
:param enable_dhcp: Defines whether to enable DHCP on the connected Private Network.
736
+
Note: this setting is ignored when passing `ipam_config`.
737
+
:param enable_dhcp: Defines whether to enable DHCP on this Private Network.
738
+
Defaults to `true` if `dhcp_id` is present. If set to `true`, `dhcp_id` must be present.
739
+
Note: this setting is ignored when passing `ipam_config`.
734
740
:param dhcp_id: ID of the new DHCP configuration object to use with this GatewayNetwork.
735
741
736
742
One-of ('ip_config'): at most one of 'dhcp_id', 'address', 'ipam_config' could be set.
737
743
:param address: New static IP address.
738
744
739
745
One-of ('ip_config'): at most one of 'dhcp_id', 'address', 'ipam_config' could be set.
740
-
:param ipam_config: New IPAM configuration to use for this GatewayNetwork.
746
+
:param ipam_config: Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service).
747
+
Note: all or none of the GatewayNetworks for a single gateway can use the IPAM. DHCP and IPAM configurations cannot be mixed. Some products may require that the Public Gateway uses the IPAM, to ensure correct functionality.
741
748
742
749
One-of ('ip_config'): at most one of 'dhcp_id', 'address', 'ipam_config' could be set.
Copy file name to clipboardExpand all lines: scaleway-async/scaleway_async/vpcgw/v1/types.py
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1054,12 +1054,15 @@ class CreateGatewayNetworkRequest:
1054
1054
1055
1055
enable_masquerade: bool
1056
1056
"""
1057
-
Defines whether to enable masquerade (dynamic NAT) on this network.
1057
+
Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork.
1058
+
Note: this setting is ignored when passing `ipam_config`.
1058
1059
"""
1059
1060
1060
1061
enable_dhcp: Optional[bool]
1061
1062
"""
1062
-
Defines whether to enable DHCP on this Private Network. Defaults to `true` if either `dhcp_id` or `dhcp` are present. If set to `true`, either `dhcp_id` or `dhcp` must be present.
1063
+
Defines whether to enable DHCP on this Private Network.
1064
+
Defaults to `true` if either `dhcp_id` or `dhcp` are present. If set to `true`, either `dhcp_id` or `dhcp` must be present.
1065
+
Note: this setting is ignored when passing `ipam_config`.
1063
1066
"""
1064
1067
1065
1068
dhcp_id: Optional[str]
@@ -1107,11 +1110,14 @@ class UpdateGatewayNetworkRequest:
1107
1110
enable_masquerade: Optional[bool]
1108
1111
"""
1109
1112
Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork.
1113
+
Note: this setting is ignored when passing `ipam_config`.
1110
1114
"""
1111
1115
1112
1116
enable_dhcp: Optional[bool]
1113
1117
"""
1114
-
Defines whether to enable DHCP on the connected Private Network.
1118
+
Defines whether to enable DHCP on this Private Network.
1119
+
Defaults to `true` if `dhcp_id` is present. If set to `true`, `dhcp_id` must be present.
1120
+
Note: this setting is ignored when passing `ipam_config`.
1115
1121
"""
1116
1122
1117
1123
dhcp_id: Optional[str]
@@ -1130,7 +1136,8 @@ class UpdateGatewayNetworkRequest:
1130
1136
1131
1137
ipam_config: Optional[IpamConfig]
1132
1138
"""
1133
-
New IPAM configuration to use for this GatewayNetwork.
1139
+
Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address management service).
1140
+
Note: all or none of the GatewayNetworks for a single gateway can use the IPAM. DHCP and IPAM configurations cannot be mixed. Some products may require that the Public Gateway uses the IPAM, to ensure correct functionality.
1134
1141
1135
1142
One-of ('ip_config'): at most one of 'dhcp_id', 'address', 'ipam_config' could be set.
0 commit comments