1. Packages
  2. Scaleway
  3. API Docs
  4. VpcGatewayNetwork
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

scaleway.VpcGatewayNetwork

Explore with Pulumi AI

scaleway logo
Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs

    Creates and manages Scaleway VPC Public Gateway Network. It allows attaching Private Networks to the VPC Public Gateway and your DHCP config For more information, see the documentation.

    Example

    Create a gateway network with DHCP

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@lbrlabs/pulumi-scaleway";
    
    const pn01 = new scaleway.VpcPrivateNetwork("pn01", {});
    const gw01 = new scaleway.VpcPublicGatewayIp("gw01", {});
    const dhcp01 = new scaleway.VpcPublicGatewayDhcp("dhcp01", {
        subnet: "192.168.1.0/24",
        pushDefaultRoute: true,
    });
    const pg01 = new scaleway.VpcPublicGateway("pg01", {
        type: "VPC-GW-S",
        ipId: gw01.id,
    });
    const main = new scaleway.VpcGatewayNetwork("main", {
        gatewayId: pg01.id,
        privateNetworkId: pn01.id,
        dhcpId: dhcp01.id,
        cleanupDhcp: true,
        enableMasquerade: true,
    });
    
    import pulumi
    import lbrlabs_pulumi_scaleway as scaleway
    
    pn01 = scaleway.VpcPrivateNetwork("pn01")
    gw01 = scaleway.VpcPublicGatewayIp("gw01")
    dhcp01 = scaleway.VpcPublicGatewayDhcp("dhcp01",
        subnet="192.168.1.0/24",
        push_default_route=True)
    pg01 = scaleway.VpcPublicGateway("pg01",
        type="VPC-GW-S",
        ip_id=gw01.id)
    main = scaleway.VpcGatewayNetwork("main",
        gateway_id=pg01.id,
        private_network_id=pn01.id,
        dhcp_id=dhcp01.id,
        cleanup_dhcp=True,
        enable_masquerade=True)
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Lbrlabs.PulumiPackage.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var pn01 = new Scaleway.VpcPrivateNetwork("pn01");
    
        var gw01 = new Scaleway.VpcPublicGatewayIp("gw01");
    
        var dhcp01 = new Scaleway.VpcPublicGatewayDhcp("dhcp01", new()
        {
            Subnet = "192.168.1.0/24",
            PushDefaultRoute = true,
        });
    
        var pg01 = new Scaleway.VpcPublicGateway("pg01", new()
        {
            Type = "VPC-GW-S",
            IpId = gw01.Id,
        });
    
        var main = new Scaleway.VpcGatewayNetwork("main", new()
        {
            GatewayId = pg01.Id,
            PrivateNetworkId = pn01.Id,
            DhcpId = dhcp01.Id,
            CleanupDhcp = true,
            EnableMasquerade = true,
        });
    
    });
    
    package main
    
    import (
    	"github.com/lbrlabs/pulumi-scaleway/sdk/go/scaleway"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		pn01, err := scaleway.NewVpcPrivateNetwork(ctx, "pn01", nil)
    		if err != nil {
    			return err
    		}
    		gw01, err := scaleway.NewVpcPublicGatewayIp(ctx, "gw01", nil)
    		if err != nil {
    			return err
    		}
    		dhcp01, err := scaleway.NewVpcPublicGatewayDhcp(ctx, "dhcp01", &scaleway.VpcPublicGatewayDhcpArgs{
    			Subnet:           pulumi.String("192.168.1.0/24"),
    			PushDefaultRoute: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		pg01, err := scaleway.NewVpcPublicGateway(ctx, "pg01", &scaleway.VpcPublicGatewayArgs{
    			Type: pulumi.String("VPC-GW-S"),
    			IpId: gw01.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = scaleway.NewVpcGatewayNetwork(ctx, "main", &scaleway.VpcGatewayNetworkArgs{
    			GatewayId:        pg01.ID(),
    			PrivateNetworkId: pn01.ID(),
    			DhcpId:           dhcp01.ID(),
    			CleanupDhcp:      pulumi.Bool(true),
    			EnableMasquerade: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.VpcPrivateNetwork;
    import com.pulumi.scaleway.VpcPublicGatewayIp;
    import com.pulumi.scaleway.VpcPublicGatewayDhcp;
    import com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;
    import com.pulumi.scaleway.VpcPublicGateway;
    import com.pulumi.scaleway.VpcPublicGatewayArgs;
    import com.pulumi.scaleway.VpcGatewayNetwork;
    import com.pulumi.scaleway.VpcGatewayNetworkArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var pn01 = new VpcPrivateNetwork("pn01");
    
            var gw01 = new VpcPublicGatewayIp("gw01");
    
            var dhcp01 = new VpcPublicGatewayDhcp("dhcp01", VpcPublicGatewayDhcpArgs.builder()        
                .subnet("192.168.1.0/24")
                .pushDefaultRoute(true)
                .build());
    
            var pg01 = new VpcPublicGateway("pg01", VpcPublicGatewayArgs.builder()        
                .type("VPC-GW-S")
                .ipId(gw01.id())
                .build());
    
            var main = new VpcGatewayNetwork("main", VpcGatewayNetworkArgs.builder()        
                .gatewayId(pg01.id())
                .privateNetworkId(pn01.id())
                .dhcpId(dhcp01.id())
                .cleanupDhcp(true)
                .enableMasquerade(true)
                .build());
    
        }
    }
    
    resources:
      pn01:
        type: scaleway:VpcPrivateNetwork
      gw01:
        type: scaleway:VpcPublicGatewayIp
      dhcp01:
        type: scaleway:VpcPublicGatewayDhcp
        properties:
          subnet: 192.168.1.0/24
          pushDefaultRoute: true
      pg01:
        type: scaleway:VpcPublicGateway
        properties:
          type: VPC-GW-S
          ipId: ${gw01.id}
      main:
        type: scaleway:VpcGatewayNetwork
        properties:
          gatewayId: ${pg01.id}
          privateNetworkId: ${pn01.id}
          dhcpId: ${dhcp01.id}
          cleanupDhcp: true
          enableMasquerade: true
    

    Create a gateway network with a static IP address

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@lbrlabs/pulumi-scaleway";
    
    const pn01 = new scaleway.VpcPrivateNetwork("pn01", {});
    const pg01 = new scaleway.VpcPublicGateway("pg01", {type: "VPC-GW-S"});
    const main = new scaleway.VpcGatewayNetwork("main", {
        gatewayId: pg01.id,
        privateNetworkId: pn01.id,
        enableDhcp: false,
        enableMasquerade: true,
        staticAddress: "192.168.1.42/24",
    });
    
    import pulumi
    import lbrlabs_pulumi_scaleway as scaleway
    
    pn01 = scaleway.VpcPrivateNetwork("pn01")
    pg01 = scaleway.VpcPublicGateway("pg01", type="VPC-GW-S")
    main = scaleway.VpcGatewayNetwork("main",
        gateway_id=pg01.id,
        private_network_id=pn01.id,
        enable_dhcp=False,
        enable_masquerade=True,
        static_address="192.168.1.42/24")
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Lbrlabs.PulumiPackage.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var pn01 = new Scaleway.VpcPrivateNetwork("pn01");
    
        var pg01 = new Scaleway.VpcPublicGateway("pg01", new()
        {
            Type = "VPC-GW-S",
        });
    
        var main = new Scaleway.VpcGatewayNetwork("main", new()
        {
            GatewayId = pg01.Id,
            PrivateNetworkId = pn01.Id,
            EnableDhcp = false,
            EnableMasquerade = true,
            StaticAddress = "192.168.1.42/24",
        });
    
    });
    
    package main
    
    import (
    	"github.com/lbrlabs/pulumi-scaleway/sdk/go/scaleway"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		pn01, err := scaleway.NewVpcPrivateNetwork(ctx, "pn01", nil)
    		if err != nil {
    			return err
    		}
    		pg01, err := scaleway.NewVpcPublicGateway(ctx, "pg01", &scaleway.VpcPublicGatewayArgs{
    			Type: pulumi.String("VPC-GW-S"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = scaleway.NewVpcGatewayNetwork(ctx, "main", &scaleway.VpcGatewayNetworkArgs{
    			GatewayId:        pg01.ID(),
    			PrivateNetworkId: pn01.ID(),
    			EnableDhcp:       pulumi.Bool(false),
    			EnableMasquerade: pulumi.Bool(true),
    			StaticAddress:    pulumi.String("192.168.1.42/24"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.VpcPrivateNetwork;
    import com.pulumi.scaleway.VpcPublicGateway;
    import com.pulumi.scaleway.VpcPublicGatewayArgs;
    import com.pulumi.scaleway.VpcGatewayNetwork;
    import com.pulumi.scaleway.VpcGatewayNetworkArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var pn01 = new VpcPrivateNetwork("pn01");
    
            var pg01 = new VpcPublicGateway("pg01", VpcPublicGatewayArgs.builder()        
                .type("VPC-GW-S")
                .build());
    
            var main = new VpcGatewayNetwork("main", VpcGatewayNetworkArgs.builder()        
                .gatewayId(pg01.id())
                .privateNetworkId(pn01.id())
                .enableDhcp(false)
                .enableMasquerade(true)
                .staticAddress("192.168.1.42/24")
                .build());
    
        }
    }
    
    resources:
      pn01:
        type: scaleway:VpcPrivateNetwork
      pg01:
        type: scaleway:VpcPublicGateway
        properties:
          type: VPC-GW-S
      main:
        type: scaleway:VpcGatewayNetwork
        properties:
          gatewayId: ${pg01.id}
          privateNetworkId: ${pn01.id}
          enableDhcp: false
          enableMasquerade: true
          staticAddress: 192.168.1.42/24
    

    Create VpcGatewayNetwork Resource

    new VpcGatewayNetwork(name: string, args: VpcGatewayNetworkArgs, opts?: CustomResourceOptions);
    @overload
    def VpcGatewayNetwork(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          cleanup_dhcp: Optional[bool] = None,
                          dhcp_id: Optional[str] = None,
                          enable_dhcp: Optional[bool] = None,
                          enable_masquerade: Optional[bool] = None,
                          gateway_id: Optional[str] = None,
                          private_network_id: Optional[str] = None,
                          static_address: Optional[str] = None,
                          zone: Optional[str] = None)
    @overload
    def VpcGatewayNetwork(resource_name: str,
                          args: VpcGatewayNetworkArgs,
                          opts: Optional[ResourceOptions] = None)
    func NewVpcGatewayNetwork(ctx *Context, name string, args VpcGatewayNetworkArgs, opts ...ResourceOption) (*VpcGatewayNetwork, error)
    public VpcGatewayNetwork(string name, VpcGatewayNetworkArgs args, CustomResourceOptions? opts = null)
    public VpcGatewayNetwork(String name, VpcGatewayNetworkArgs args)
    public VpcGatewayNetwork(String name, VpcGatewayNetworkArgs args, CustomResourceOptions options)
    
    type: scaleway:VpcGatewayNetwork
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args VpcGatewayNetworkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VpcGatewayNetworkArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VpcGatewayNetworkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcGatewayNetworkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcGatewayNetworkArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    VpcGatewayNetwork Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The VpcGatewayNetwork resource accepts the following input properties:

    GatewayId string

    The ID of the public gateway.

    PrivateNetworkId string

    The ID of the private network.

    CleanupDhcp bool

    Remove DHCP config on this network on destroy. It requires DHCP id.

    DhcpId string

    The ID of the public gateway DHCP config. Only one of dhcp_id and static_address should be specified.

    EnableDhcp bool

    Enable DHCP config on this network. It requires DHCP id.

    EnableMasquerade bool

    Enable masquerade on this network

    StaticAddress string

    Enable DHCP config on this network. Only one of dhcp_id and static_address should be specified.

    Zone string

    zone) The zone in which the gateway network should be created.

    GatewayId string

    The ID of the public gateway.

    PrivateNetworkId string

    The ID of the private network.

    CleanupDhcp bool

    Remove DHCP config on this network on destroy. It requires DHCP id.

    DhcpId string

    The ID of the public gateway DHCP config. Only one of dhcp_id and static_address should be specified.

    EnableDhcp bool

    Enable DHCP config on this network. It requires DHCP id.

    EnableMasquerade bool

    Enable masquerade on this network

    StaticAddress string

    Enable DHCP config on this network. Only one of dhcp_id and static_address should be specified.

    Zone string

    zone) The zone in which the gateway network should be created.

    gatewayId String

    The ID of the public gateway.

    privateNetworkId String

    The ID of the private network.

    cleanupDhcp Boolean

    Remove DHCP config on this network on destroy. It requires DHCP id.

    dhcpId String

    The ID of the public gateway DHCP config. Only one of dhcp_id and static_address should be specified.

    enableDhcp Boolean

    Enable DHCP config on this network. It requires DHCP id.

    enableMasquerade Boolean

    Enable masquerade on this network

    staticAddress String

    Enable DHCP config on this network. Only one of dhcp_id and static_address should be specified.

    zone String

    zone) The zone in which the gateway network should be created.

    gatewayId string

    The ID of the public gateway.

    privateNetworkId string

    The ID of the private network.

    cleanupDhcp boolean

    Remove DHCP config on this network on destroy. It requires DHCP id.

    dhcpId string

    The ID of the public gateway DHCP config. Only one of dhcp_id and static_address should be specified.

    enableDhcp boolean

    Enable DHCP config on this network. It requires DHCP id.

    enableMasquerade boolean

    Enable masquerade on this network

    staticAddress string

    Enable DHCP config on this network. Only one of dhcp_id and static_address should be specified.

    zone string

    zone) The zone in which the gateway network should be created.

    gateway_id str

    The ID of the public gateway.

    private_network_id str

    The ID of the private network.

    cleanup_dhcp bool

    Remove DHCP config on this network on destroy. It requires DHCP id.

    dhcp_id str

    The ID of the public gateway DHCP config. Only one of dhcp_id and static_address should be specified.

    enable_dhcp bool

    Enable DHCP config on this network. It requires DHCP id.

    enable_masquerade bool

    Enable masquerade on this network

    static_address str

    Enable DHCP config on this network. Only one of dhcp_id and static_address should be specified.

    zone str

    zone) The zone in which the gateway network should be created.

    gatewayId String

    The ID of the public gateway.

    privateNetworkId String

    The ID of the private network.

    cleanupDhcp Boolean

    Remove DHCP config on this network on destroy. It requires DHCP id.

    dhcpId String

    The ID of the public gateway DHCP config. Only one of dhcp_id and static_address should be specified.

    enableDhcp Boolean

    Enable DHCP config on this network. It requires DHCP id.

    enableMasquerade Boolean

    Enable masquerade on this network

    staticAddress String

    Enable DHCP config on this network. Only one of dhcp_id and static_address should be specified.

    zone String

    zone) The zone in which the gateway network should be created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VpcGatewayNetwork resource produces the following output properties:

    CreatedAt string

    The date and time of the creation of the gateway network.

    Id string

    The provider-assigned unique ID for this managed resource.

    MacAddress string

    The mac address of the creation of the gateway network.

    UpdatedAt string

    The date and time of the last update of the gateway network.

    CreatedAt string

    The date and time of the creation of the gateway network.

    Id string

    The provider-assigned unique ID for this managed resource.

    MacAddress string

    The mac address of the creation of the gateway network.

    UpdatedAt string

    The date and time of the last update of the gateway network.

    createdAt String

    The date and time of the creation of the gateway network.

    id String

    The provider-assigned unique ID for this managed resource.

    macAddress String

    The mac address of the creation of the gateway network.

    updatedAt String

    The date and time of the last update of the gateway network.

    createdAt string

    The date and time of the creation of the gateway network.

    id string

    The provider-assigned unique ID for this managed resource.

    macAddress string

    The mac address of the creation of the gateway network.

    updatedAt string

    The date and time of the last update of the gateway network.

    created_at str

    The date and time of the creation of the gateway network.

    id str

    The provider-assigned unique ID for this managed resource.

    mac_address str

    The mac address of the creation of the gateway network.

    updated_at str

    The date and time of the last update of the gateway network.

    createdAt String

    The date and time of the creation of the gateway network.

    id String

    The provider-assigned unique ID for this managed resource.

    macAddress String

    The mac address of the creation of the gateway network.

    updatedAt String

    The date and time of the last update of the gateway network.

    Look up Existing VpcGatewayNetwork Resource

    Get an existing VpcGatewayNetwork resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: VpcGatewayNetworkState, opts?: CustomResourceOptions): VpcGatewayNetwork
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cleanup_dhcp: Optional[bool] = None,
            created_at: Optional[str] = None,
            dhcp_id: Optional[str] = None,
            enable_dhcp: Optional[bool] = None,
            enable_masquerade: Optional[bool] = None,
            gateway_id: Optional[str] = None,
            mac_address: Optional[str] = None,
            private_network_id: Optional[str] = None,
            static_address: Optional[str] = None,
            updated_at: Optional[str] = None,
            zone: Optional[str] = None) -> VpcGatewayNetwork
    func GetVpcGatewayNetwork(ctx *Context, name string, id IDInput, state *VpcGatewayNetworkState, opts ...ResourceOption) (*VpcGatewayNetwork, error)
    public static VpcGatewayNetwork Get(string name, Input<string> id, VpcGatewayNetworkState? state, CustomResourceOptions? opts = null)
    public static VpcGatewayNetwork get(String name, Output<String> id, VpcGatewayNetworkState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CleanupDhcp bool

    Remove DHCP config on this network on destroy. It requires DHCP id.

    CreatedAt string

    The date and time of the creation of the gateway network.

    DhcpId string

    The ID of the public gateway DHCP config. Only one of dhcp_id and static_address should be specified.

    EnableDhcp bool

    Enable DHCP config on this network. It requires DHCP id.

    EnableMasquerade bool

    Enable masquerade on this network

    GatewayId string

    The ID of the public gateway.

    MacAddress string

    The mac address of the creation of the gateway network.

    PrivateNetworkId string

    The ID of the private network.

    StaticAddress string

    Enable DHCP config on this network. Only one of dhcp_id and static_address should be specified.

    UpdatedAt string

    The date and time of the last update of the gateway network.

    Zone string

    zone) The zone in which the gateway network should be created.

    CleanupDhcp bool

    Remove DHCP config on this network on destroy. It requires DHCP id.

    CreatedAt string

    The date and time of the creation of the gateway network.

    DhcpId string

    The ID of the public gateway DHCP config. Only one of dhcp_id and static_address should be specified.

    EnableDhcp bool

    Enable DHCP config on this network. It requires DHCP id.

    EnableMasquerade bool

    Enable masquerade on this network

    GatewayId string

    The ID of the public gateway.

    MacAddress string

    The mac address of the creation of the gateway network.

    PrivateNetworkId string

    The ID of the private network.

    StaticAddress string

    Enable DHCP config on this network. Only one of dhcp_id and static_address should be specified.

    UpdatedAt string

    The date and time of the last update of the gateway network.

    Zone string

    zone) The zone in which the gateway network should be created.

    cleanupDhcp Boolean

    Remove DHCP config on this network on destroy. It requires DHCP id.

    createdAt String

    The date and time of the creation of the gateway network.

    dhcpId String

    The ID of the public gateway DHCP config. Only one of dhcp_id and static_address should be specified.

    enableDhcp Boolean

    Enable DHCP config on this network. It requires DHCP id.

    enableMasquerade Boolean

    Enable masquerade on this network

    gatewayId String

    The ID of the public gateway.

    macAddress String

    The mac address of the creation of the gateway network.

    privateNetworkId String

    The ID of the private network.

    staticAddress String

    Enable DHCP config on this network. Only one of dhcp_id and static_address should be specified.

    updatedAt String

    The date and time of the last update of the gateway network.

    zone String

    zone) The zone in which the gateway network should be created.

    cleanupDhcp boolean

    Remove DHCP config on this network on destroy. It requires DHCP id.

    createdAt string

    The date and time of the creation of the gateway network.

    dhcpId string

    The ID of the public gateway DHCP config. Only one of dhcp_id and static_address should be specified.

    enableDhcp boolean

    Enable DHCP config on this network. It requires DHCP id.

    enableMasquerade boolean

    Enable masquerade on this network

    gatewayId string

    The ID of the public gateway.

    macAddress string

    The mac address of the creation of the gateway network.

    privateNetworkId string

    The ID of the private network.

    staticAddress string

    Enable DHCP config on this network. Only one of dhcp_id and static_address should be specified.

    updatedAt string

    The date and time of the last update of the gateway network.

    zone string

    zone) The zone in which the gateway network should be created.

    cleanup_dhcp bool

    Remove DHCP config on this network on destroy. It requires DHCP id.

    created_at str

    The date and time of the creation of the gateway network.

    dhcp_id str

    The ID of the public gateway DHCP config. Only one of dhcp_id and static_address should be specified.

    enable_dhcp bool

    Enable DHCP config on this network. It requires DHCP id.

    enable_masquerade bool

    Enable masquerade on this network

    gateway_id str

    The ID of the public gateway.

    mac_address str

    The mac address of the creation of the gateway network.

    private_network_id str

    The ID of the private network.

    static_address str

    Enable DHCP config on this network. Only one of dhcp_id and static_address should be specified.

    updated_at str

    The date and time of the last update of the gateway network.

    zone str

    zone) The zone in which the gateway network should be created.

    cleanupDhcp Boolean

    Remove DHCP config on this network on destroy. It requires DHCP id.

    createdAt String

    The date and time of the creation of the gateway network.

    dhcpId String

    The ID of the public gateway DHCP config. Only one of dhcp_id and static_address should be specified.

    enableDhcp Boolean

    Enable DHCP config on this network. It requires DHCP id.

    enableMasquerade Boolean

    Enable masquerade on this network

    gatewayId String

    The ID of the public gateway.

    macAddress String

    The mac address of the creation of the gateway network.

    privateNetworkId String

    The ID of the private network.

    staticAddress String

    Enable DHCP config on this network. Only one of dhcp_id and static_address should be specified.

    updatedAt String

    The date and time of the last update of the gateway network.

    zone String

    zone) The zone in which the gateway network should be created.

    Import

    Gateway network can be imported using the {zone}/{id}, e.g. bash

     $ pulumi import scaleway:index/vpcGatewayNetwork:VpcGatewayNetwork main fr-par-1/11111111-1111-1111-1111-111111111111
    

    Package Details

    Repository
    scaleway lbrlabs/pulumi-scaleway
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the scaleway Terraform Provider.

    scaleway logo
    Scaleway v1.10.0 published on Saturday, Jul 1, 2023 by lbrlabs