@@ -545,12 +545,16 @@ export type CreateGatewayNetworkRequest = {
545545 gatewayId : string
546546 /** Private Network to connect. */
547547 privateNetworkId : string
548- /** Defines whether to enable masquerade (dynamic NAT) on this network. */
548+ /**
549+ * Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork.
550+ * Note: this setting is ignored when passing `ipam_config`.
551+ */
549552 enableMasquerade : boolean
550553 /**
551554 * Defines whether to enable DHCP on this Private Network. Defaults to `true`
552555 * if either `dhcp_id` or `dhcp` are present. If set to `true`, either
553- * `dhcp_id` or `dhcp` must be present.
556+ * `dhcp_id` or `dhcp` must be present. Note: this setting is ignored when
557+ * passing `ipam_config`.
554558 */
555559 enableDhcp ?: boolean
556560 /**
@@ -592,9 +596,16 @@ export type UpdateGatewayNetworkRequest = {
592596 zone ?: Zone
593597 /** ID of the GatewayNetwork to update. */
594598 gatewayNetworkId : string
595- /** Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork. */
599+ /**
600+ * Defines whether to enable masquerade (dynamic NAT) on the GatewayNetwork.
601+ * Note: this setting is ignored when passing `ipam_config`.
602+ */
596603 enableMasquerade ?: boolean
597- /** Defines whether to enable DHCP on the connected Private Network. */
604+ /**
605+ * Defines whether to enable DHCP on this Private Network. Defaults to `true`
606+ * if `dhcp_id` is present. If set to `true`, `dhcp_id` must be present. Note:
607+ * this setting is ignored when passing `ipam_config`.
608+ */
598609 enableDhcp ?: boolean
599610 /**
600611 * ID of the new DHCP configuration object to use with this GatewayNetwork.
@@ -611,7 +622,11 @@ export type UpdateGatewayNetworkRequest = {
611622 */
612623 address ?: string
613624 /**
614- * New IPAM configuration to use for this GatewayNetwork.
625+ * Auto-configure the GatewayNetwork using Scaleway's IPAM (IP address
626+ * management service). Note: all or none of the GatewayNetworks for a single
627+ * gateway can use the IPAM. DHCP and IPAM configurations cannot be mixed.
628+ * Some products may require that the Public Gateway uses the IPAM, to ensure
629+ * correct functionality.
615630 *
616631 * One-of ('ipConfig'): at most one of 'dhcpId', 'address', 'ipamConfig' could
617632 * be set.
0 commit comments