1. Packages
  2. Scaleway
  3. API Docs
  4. VpcPublicGatewayDhcp
Scaleway v1.14.0 published on Thursday, Jun 6, 2024 by pulumiverse

scaleway.VpcPublicGatewayDhcp

Explore with Pulumi AI

scaleway logo
Scaleway v1.14.0 published on Thursday, Jun 6, 2024 by pulumiverse

    Creates and manages Scaleway VPC Public Gateway DHCP. For more information, see the documentation.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scaleway from "@pulumiverse/scaleway";
    
    const main = new scaleway.VpcPublicGatewayDhcp("main", {subnet: "192.168.1.0/24"});
    
    import pulumi
    import pulumiverse_scaleway as scaleway
    
    main = scaleway.VpcPublicGatewayDhcp("main", subnet="192.168.1.0/24")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := scaleway.NewVpcPublicGatewayDhcp(ctx, "main", &scaleway.VpcPublicGatewayDhcpArgs{
    			Subnet: pulumi.String("192.168.1.0/24"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scaleway = Pulumiverse.Scaleway;
    
    return await Deployment.RunAsync(() => 
    {
        var main = new Scaleway.VpcPublicGatewayDhcp("main", new()
        {
            Subnet = "192.168.1.0/24",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scaleway.VpcPublicGatewayDhcp;
    import com.pulumi.scaleway.VpcPublicGatewayDhcpArgs;
    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 main = new VpcPublicGatewayDhcp("main", VpcPublicGatewayDhcpArgs.builder()        
                .subnet("192.168.1.0/24")
                .build());
    
        }
    }
    
    resources:
      main:
        type: scaleway:VpcPublicGatewayDhcp
        properties:
          subnet: 192.168.1.0/24
    

    Create VpcPublicGatewayDhcp Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VpcPublicGatewayDhcp(name: string, args: VpcPublicGatewayDhcpArgs, opts?: CustomResourceOptions);
    @overload
    def VpcPublicGatewayDhcp(resource_name: str,
                             args: VpcPublicGatewayDhcpArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpcPublicGatewayDhcp(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             subnet: Optional[str] = None,
                             pool_low: Optional[str] = None,
                             push_default_route: Optional[bool] = None,
                             dns_servers_overrides: Optional[Sequence[str]] = None,
                             enable_dynamic: Optional[bool] = None,
                             pool_high: Optional[str] = None,
                             address: Optional[str] = None,
                             project_id: Optional[str] = None,
                             dns_searches: Optional[Sequence[str]] = None,
                             push_dns_server: Optional[bool] = None,
                             rebind_timer: Optional[int] = None,
                             renew_timer: Optional[int] = None,
                             dns_local_name: Optional[str] = None,
                             valid_lifetime: Optional[int] = None,
                             zone: Optional[str] = None)
    func NewVpcPublicGatewayDhcp(ctx *Context, name string, args VpcPublicGatewayDhcpArgs, opts ...ResourceOption) (*VpcPublicGatewayDhcp, error)
    public VpcPublicGatewayDhcp(string name, VpcPublicGatewayDhcpArgs args, CustomResourceOptions? opts = null)
    public VpcPublicGatewayDhcp(String name, VpcPublicGatewayDhcpArgs args)
    public VpcPublicGatewayDhcp(String name, VpcPublicGatewayDhcpArgs args, CustomResourceOptions options)
    
    type: scaleway:VpcPublicGatewayDhcp
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VpcPublicGatewayDhcpArgs
    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 VpcPublicGatewayDhcpArgs
    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 VpcPublicGatewayDhcpArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcPublicGatewayDhcpArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcPublicGatewayDhcpArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var vpcPublicGatewayDhcpResource = new Scaleway.VpcPublicGatewayDhcp("vpcPublicGatewayDhcpResource", new()
    {
        Subnet = "string",
        PoolLow = "string",
        PushDefaultRoute = false,
        DnsServersOverrides = new[]
        {
            "string",
        },
        EnableDynamic = false,
        PoolHigh = "string",
        Address = "string",
        ProjectId = "string",
        DnsSearches = new[]
        {
            "string",
        },
        PushDnsServer = false,
        RebindTimer = 0,
        RenewTimer = 0,
        DnsLocalName = "string",
        ValidLifetime = 0,
        Zone = "string",
    });
    
    example, err := scaleway.NewVpcPublicGatewayDhcp(ctx, "vpcPublicGatewayDhcpResource", &scaleway.VpcPublicGatewayDhcpArgs{
    	Subnet:           pulumi.String("string"),
    	PoolLow:          pulumi.String("string"),
    	PushDefaultRoute: pulumi.Bool(false),
    	DnsServersOverrides: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	EnableDynamic: pulumi.Bool(false),
    	PoolHigh:      pulumi.String("string"),
    	Address:       pulumi.String("string"),
    	ProjectId:     pulumi.String("string"),
    	DnsSearches: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	PushDnsServer: pulumi.Bool(false),
    	RebindTimer:   pulumi.Int(0),
    	RenewTimer:    pulumi.Int(0),
    	DnsLocalName:  pulumi.String("string"),
    	ValidLifetime: pulumi.Int(0),
    	Zone:          pulumi.String("string"),
    })
    
    var vpcPublicGatewayDhcpResource = new VpcPublicGatewayDhcp("vpcPublicGatewayDhcpResource", VpcPublicGatewayDhcpArgs.builder()
        .subnet("string")
        .poolLow("string")
        .pushDefaultRoute(false)
        .dnsServersOverrides("string")
        .enableDynamic(false)
        .poolHigh("string")
        .address("string")
        .projectId("string")
        .dnsSearches("string")
        .pushDnsServer(false)
        .rebindTimer(0)
        .renewTimer(0)
        .dnsLocalName("string")
        .validLifetime(0)
        .zone("string")
        .build());
    
    vpc_public_gateway_dhcp_resource = scaleway.VpcPublicGatewayDhcp("vpcPublicGatewayDhcpResource",
        subnet="string",
        pool_low="string",
        push_default_route=False,
        dns_servers_overrides=["string"],
        enable_dynamic=False,
        pool_high="string",
        address="string",
        project_id="string",
        dns_searches=["string"],
        push_dns_server=False,
        rebind_timer=0,
        renew_timer=0,
        dns_local_name="string",
        valid_lifetime=0,
        zone="string")
    
    const vpcPublicGatewayDhcpResource = new scaleway.VpcPublicGatewayDhcp("vpcPublicGatewayDhcpResource", {
        subnet: "string",
        poolLow: "string",
        pushDefaultRoute: false,
        dnsServersOverrides: ["string"],
        enableDynamic: false,
        poolHigh: "string",
        address: "string",
        projectId: "string",
        dnsSearches: ["string"],
        pushDnsServer: false,
        rebindTimer: 0,
        renewTimer: 0,
        dnsLocalName: "string",
        validLifetime: 0,
        zone: "string",
    });
    
    type: scaleway:VpcPublicGatewayDhcp
    properties:
        address: string
        dnsLocalName: string
        dnsSearches:
            - string
        dnsServersOverrides:
            - string
        enableDynamic: false
        poolHigh: string
        poolLow: string
        projectId: string
        pushDefaultRoute: false
        pushDnsServer: false
        rebindTimer: 0
        renewTimer: 0
        subnet: string
        validLifetime: 0
        zone: string
    

    VpcPublicGatewayDhcp 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 VpcPublicGatewayDhcp resource accepts the following input properties:

    Subnet string
    The subnet to associate with the public gateway DHCP config.
    Address string
    The IP address of the public gateway DHCP config.
    DnsLocalName string
    TLD given to hostnames in the Private Network. Allowed characters are a-z0-9-.. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to priv.
    DnsSearches List<string>
    Additional DNS search paths
    DnsServersOverrides List<string>
    Override the DNS server list pushed to DHCP clients, instead of the gateway itself
    EnableDynamic bool
    Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to true.
    PoolHigh string
    High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
    PoolLow string
    Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
    ProjectId string
    project_id) The ID of the project the public gateway DHCP config is associated with.
    PushDefaultRoute bool
    Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
    PushDnsServer bool
    Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to true.
    RebindTimer int
    After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than valid_lifetime. Defaults to 51m (3060s).
    RenewTimer int
    After how long, in seconds, a renewal will be attempted. Must be 30s lower than rebind_timer. Defaults to 50m (3000s).
    ValidLifetime int
    For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).
    Zone string
    zone) The zone in which the public gateway DHCP config should be created.
    Subnet string
    The subnet to associate with the public gateway DHCP config.
    Address string
    The IP address of the public gateway DHCP config.
    DnsLocalName string
    TLD given to hostnames in the Private Network. Allowed characters are a-z0-9-.. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to priv.
    DnsSearches []string
    Additional DNS search paths
    DnsServersOverrides []string
    Override the DNS server list pushed to DHCP clients, instead of the gateway itself
    EnableDynamic bool
    Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to true.
    PoolHigh string
    High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
    PoolLow string
    Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
    ProjectId string
    project_id) The ID of the project the public gateway DHCP config is associated with.
    PushDefaultRoute bool
    Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
    PushDnsServer bool
    Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to true.
    RebindTimer int
    After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than valid_lifetime. Defaults to 51m (3060s).
    RenewTimer int
    After how long, in seconds, a renewal will be attempted. Must be 30s lower than rebind_timer. Defaults to 50m (3000s).
    ValidLifetime int
    For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).
    Zone string
    zone) The zone in which the public gateway DHCP config should be created.
    subnet String
    The subnet to associate with the public gateway DHCP config.
    address String
    The IP address of the public gateway DHCP config.
    dnsLocalName String
    TLD given to hostnames in the Private Network. Allowed characters are a-z0-9-.. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to priv.
    dnsSearches List<String>
    Additional DNS search paths
    dnsServersOverrides List<String>
    Override the DNS server list pushed to DHCP clients, instead of the gateway itself
    enableDynamic Boolean
    Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to true.
    poolHigh String
    High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
    poolLow String
    Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
    projectId String
    project_id) The ID of the project the public gateway DHCP config is associated with.
    pushDefaultRoute Boolean
    Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
    pushDnsServer Boolean
    Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to true.
    rebindTimer Integer
    After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than valid_lifetime. Defaults to 51m (3060s).
    renewTimer Integer
    After how long, in seconds, a renewal will be attempted. Must be 30s lower than rebind_timer. Defaults to 50m (3000s).
    validLifetime Integer
    For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).
    zone String
    zone) The zone in which the public gateway DHCP config should be created.
    subnet string
    The subnet to associate with the public gateway DHCP config.
    address string
    The IP address of the public gateway DHCP config.
    dnsLocalName string
    TLD given to hostnames in the Private Network. Allowed characters are a-z0-9-.. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to priv.
    dnsSearches string[]
    Additional DNS search paths
    dnsServersOverrides string[]
    Override the DNS server list pushed to DHCP clients, instead of the gateway itself
    enableDynamic boolean
    Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to true.
    poolHigh string
    High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
    poolLow string
    Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
    projectId string
    project_id) The ID of the project the public gateway DHCP config is associated with.
    pushDefaultRoute boolean
    Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
    pushDnsServer boolean
    Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to true.
    rebindTimer number
    After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than valid_lifetime. Defaults to 51m (3060s).
    renewTimer number
    After how long, in seconds, a renewal will be attempted. Must be 30s lower than rebind_timer. Defaults to 50m (3000s).
    validLifetime number
    For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).
    zone string
    zone) The zone in which the public gateway DHCP config should be created.
    subnet str
    The subnet to associate with the public gateway DHCP config.
    address str
    The IP address of the public gateway DHCP config.
    dns_local_name str
    TLD given to hostnames in the Private Network. Allowed characters are a-z0-9-.. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to priv.
    dns_searches Sequence[str]
    Additional DNS search paths
    dns_servers_overrides Sequence[str]
    Override the DNS server list pushed to DHCP clients, instead of the gateway itself
    enable_dynamic bool
    Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to true.
    pool_high str
    High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
    pool_low str
    Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
    project_id str
    project_id) The ID of the project the public gateway DHCP config is associated with.
    push_default_route bool
    Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
    push_dns_server bool
    Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to true.
    rebind_timer int
    After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than valid_lifetime. Defaults to 51m (3060s).
    renew_timer int
    After how long, in seconds, a renewal will be attempted. Must be 30s lower than rebind_timer. Defaults to 50m (3000s).
    valid_lifetime int
    For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).
    zone str
    zone) The zone in which the public gateway DHCP config should be created.
    subnet String
    The subnet to associate with the public gateway DHCP config.
    address String
    The IP address of the public gateway DHCP config.
    dnsLocalName String
    TLD given to hostnames in the Private Network. Allowed characters are a-z0-9-.. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to priv.
    dnsSearches List<String>
    Additional DNS search paths
    dnsServersOverrides List<String>
    Override the DNS server list pushed to DHCP clients, instead of the gateway itself
    enableDynamic Boolean
    Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to true.
    poolHigh String
    High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
    poolLow String
    Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
    projectId String
    project_id) The ID of the project the public gateway DHCP config is associated with.
    pushDefaultRoute Boolean
    Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
    pushDnsServer Boolean
    Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to true.
    rebindTimer Number
    After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than valid_lifetime. Defaults to 51m (3060s).
    renewTimer Number
    After how long, in seconds, a renewal will be attempted. Must be 30s lower than rebind_timer. Defaults to 50m (3000s).
    validLifetime Number
    For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).
    zone String
    zone) The zone in which the public gateway DHCP config should be created.

    Outputs

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

    CreatedAt string
    The date and time of the creation of the public gateway DHCP config.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    The organization ID the public gateway DHCP config is associated with.
    UpdatedAt string
    The date and time of the last update of the public gateway DHCP config.
    CreatedAt string
    The date and time of the creation of the public gateway DHCP config.
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    The organization ID the public gateway DHCP config is associated with.
    UpdatedAt string
    The date and time of the last update of the public gateway DHCP config.
    createdAt String
    The date and time of the creation of the public gateway DHCP config.
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    The organization ID the public gateway DHCP config is associated with.
    updatedAt String
    The date and time of the last update of the public gateway DHCP config.
    createdAt string
    The date and time of the creation of the public gateway DHCP config.
    id string
    The provider-assigned unique ID for this managed resource.
    organizationId string
    The organization ID the public gateway DHCP config is associated with.
    updatedAt string
    The date and time of the last update of the public gateway DHCP config.
    created_at str
    The date and time of the creation of the public gateway DHCP config.
    id str
    The provider-assigned unique ID for this managed resource.
    organization_id str
    The organization ID the public gateway DHCP config is associated with.
    updated_at str
    The date and time of the last update of the public gateway DHCP config.
    createdAt String
    The date and time of the creation of the public gateway DHCP config.
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    The organization ID the public gateway DHCP config is associated with.
    updatedAt String
    The date and time of the last update of the public gateway DHCP config.

    Look up Existing VpcPublicGatewayDhcp Resource

    Get an existing VpcPublicGatewayDhcp 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?: VpcPublicGatewayDhcpState, opts?: CustomResourceOptions): VpcPublicGatewayDhcp
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            address: Optional[str] = None,
            created_at: Optional[str] = None,
            dns_local_name: Optional[str] = None,
            dns_searches: Optional[Sequence[str]] = None,
            dns_servers_overrides: Optional[Sequence[str]] = None,
            enable_dynamic: Optional[bool] = None,
            organization_id: Optional[str] = None,
            pool_high: Optional[str] = None,
            pool_low: Optional[str] = None,
            project_id: Optional[str] = None,
            push_default_route: Optional[bool] = None,
            push_dns_server: Optional[bool] = None,
            rebind_timer: Optional[int] = None,
            renew_timer: Optional[int] = None,
            subnet: Optional[str] = None,
            updated_at: Optional[str] = None,
            valid_lifetime: Optional[int] = None,
            zone: Optional[str] = None) -> VpcPublicGatewayDhcp
    func GetVpcPublicGatewayDhcp(ctx *Context, name string, id IDInput, state *VpcPublicGatewayDhcpState, opts ...ResourceOption) (*VpcPublicGatewayDhcp, error)
    public static VpcPublicGatewayDhcp Get(string name, Input<string> id, VpcPublicGatewayDhcpState? state, CustomResourceOptions? opts = null)
    public static VpcPublicGatewayDhcp get(String name, Output<String> id, VpcPublicGatewayDhcpState 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:
    Address string
    The IP address of the public gateway DHCP config.
    CreatedAt string
    The date and time of the creation of the public gateway DHCP config.
    DnsLocalName string
    TLD given to hostnames in the Private Network. Allowed characters are a-z0-9-.. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to priv.
    DnsSearches List<string>
    Additional DNS search paths
    DnsServersOverrides List<string>
    Override the DNS server list pushed to DHCP clients, instead of the gateway itself
    EnableDynamic bool
    Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to true.
    OrganizationId string
    The organization ID the public gateway DHCP config is associated with.
    PoolHigh string
    High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
    PoolLow string
    Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
    ProjectId string
    project_id) The ID of the project the public gateway DHCP config is associated with.
    PushDefaultRoute bool
    Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
    PushDnsServer bool
    Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to true.
    RebindTimer int
    After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than valid_lifetime. Defaults to 51m (3060s).
    RenewTimer int
    After how long, in seconds, a renewal will be attempted. Must be 30s lower than rebind_timer. Defaults to 50m (3000s).
    Subnet string
    The subnet to associate with the public gateway DHCP config.
    UpdatedAt string
    The date and time of the last update of the public gateway DHCP config.
    ValidLifetime int
    For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).
    Zone string
    zone) The zone in which the public gateway DHCP config should be created.
    Address string
    The IP address of the public gateway DHCP config.
    CreatedAt string
    The date and time of the creation of the public gateway DHCP config.
    DnsLocalName string
    TLD given to hostnames in the Private Network. Allowed characters are a-z0-9-.. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to priv.
    DnsSearches []string
    Additional DNS search paths
    DnsServersOverrides []string
    Override the DNS server list pushed to DHCP clients, instead of the gateway itself
    EnableDynamic bool
    Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to true.
    OrganizationId string
    The organization ID the public gateway DHCP config is associated with.
    PoolHigh string
    High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
    PoolLow string
    Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
    ProjectId string
    project_id) The ID of the project the public gateway DHCP config is associated with.
    PushDefaultRoute bool
    Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
    PushDnsServer bool
    Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to true.
    RebindTimer int
    After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than valid_lifetime. Defaults to 51m (3060s).
    RenewTimer int
    After how long, in seconds, a renewal will be attempted. Must be 30s lower than rebind_timer. Defaults to 50m (3000s).
    Subnet string
    The subnet to associate with the public gateway DHCP config.
    UpdatedAt string
    The date and time of the last update of the public gateway DHCP config.
    ValidLifetime int
    For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).
    Zone string
    zone) The zone in which the public gateway DHCP config should be created.
    address String
    The IP address of the public gateway DHCP config.
    createdAt String
    The date and time of the creation of the public gateway DHCP config.
    dnsLocalName String
    TLD given to hostnames in the Private Network. Allowed characters are a-z0-9-.. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to priv.
    dnsSearches List<String>
    Additional DNS search paths
    dnsServersOverrides List<String>
    Override the DNS server list pushed to DHCP clients, instead of the gateway itself
    enableDynamic Boolean
    Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to true.
    organizationId String
    The organization ID the public gateway DHCP config is associated with.
    poolHigh String
    High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
    poolLow String
    Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
    projectId String
    project_id) The ID of the project the public gateway DHCP config is associated with.
    pushDefaultRoute Boolean
    Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
    pushDnsServer Boolean
    Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to true.
    rebindTimer Integer
    After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than valid_lifetime. Defaults to 51m (3060s).
    renewTimer Integer
    After how long, in seconds, a renewal will be attempted. Must be 30s lower than rebind_timer. Defaults to 50m (3000s).
    subnet String
    The subnet to associate with the public gateway DHCP config.
    updatedAt String
    The date and time of the last update of the public gateway DHCP config.
    validLifetime Integer
    For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).
    zone String
    zone) The zone in which the public gateway DHCP config should be created.
    address string
    The IP address of the public gateway DHCP config.
    createdAt string
    The date and time of the creation of the public gateway DHCP config.
    dnsLocalName string
    TLD given to hostnames in the Private Network. Allowed characters are a-z0-9-.. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to priv.
    dnsSearches string[]
    Additional DNS search paths
    dnsServersOverrides string[]
    Override the DNS server list pushed to DHCP clients, instead of the gateway itself
    enableDynamic boolean
    Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to true.
    organizationId string
    The organization ID the public gateway DHCP config is associated with.
    poolHigh string
    High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
    poolLow string
    Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
    projectId string
    project_id) The ID of the project the public gateway DHCP config is associated with.
    pushDefaultRoute boolean
    Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
    pushDnsServer boolean
    Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to true.
    rebindTimer number
    After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than valid_lifetime. Defaults to 51m (3060s).
    renewTimer number
    After how long, in seconds, a renewal will be attempted. Must be 30s lower than rebind_timer. Defaults to 50m (3000s).
    subnet string
    The subnet to associate with the public gateway DHCP config.
    updatedAt string
    The date and time of the last update of the public gateway DHCP config.
    validLifetime number
    For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).
    zone string
    zone) The zone in which the public gateway DHCP config should be created.
    address str
    The IP address of the public gateway DHCP config.
    created_at str
    The date and time of the creation of the public gateway DHCP config.
    dns_local_name str
    TLD given to hostnames in the Private Network. Allowed characters are a-z0-9-.. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to priv.
    dns_searches Sequence[str]
    Additional DNS search paths
    dns_servers_overrides Sequence[str]
    Override the DNS server list pushed to DHCP clients, instead of the gateway itself
    enable_dynamic bool
    Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to true.
    organization_id str
    The organization ID the public gateway DHCP config is associated with.
    pool_high str
    High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
    pool_low str
    Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
    project_id str
    project_id) The ID of the project the public gateway DHCP config is associated with.
    push_default_route bool
    Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
    push_dns_server bool
    Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to true.
    rebind_timer int
    After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than valid_lifetime. Defaults to 51m (3060s).
    renew_timer int
    After how long, in seconds, a renewal will be attempted. Must be 30s lower than rebind_timer. Defaults to 50m (3000s).
    subnet str
    The subnet to associate with the public gateway DHCP config.
    updated_at str
    The date and time of the last update of the public gateway DHCP config.
    valid_lifetime int
    For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).
    zone str
    zone) The zone in which the public gateway DHCP config should be created.
    address String
    The IP address of the public gateway DHCP config.
    createdAt String
    The date and time of the creation of the public gateway DHCP config.
    dnsLocalName String
    TLD given to hostnames in the Private Network. Allowed characters are a-z0-9-.. Defaults to the slugified Private Network name if created along a GatewayNetwork, or else to priv.
    dnsSearches List<String>
    Additional DNS search paths
    dnsServersOverrides List<String>
    Override the DNS server list pushed to DHCP clients, instead of the gateway itself
    enableDynamic Boolean
    Whether to enable dynamic pooling of IPs. By turning the dynamic pool off, only pre-existing DHCP reservations will be handed out. Defaults to true.
    organizationId String
    The organization ID the public gateway DHCP config is associated with.
    poolHigh String
    High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
    poolLow String
    Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
    projectId String
    project_id) The ID of the project the public gateway DHCP config is associated with.
    pushDefaultRoute Boolean
    Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to true.
    pushDnsServer Boolean
    Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to true.
    rebindTimer Number
    After how long, in seconds, a DHCP client will query for a new lease if previous renews fail. Must be 30s lower than valid_lifetime. Defaults to 51m (3060s).
    renewTimer Number
    After how long, in seconds, a renewal will be attempted. Must be 30s lower than rebind_timer. Defaults to 50m (3000s).
    subnet String
    The subnet to associate with the public gateway DHCP config.
    updatedAt String
    The date and time of the last update of the public gateway DHCP config.
    validLifetime Number
    For how long, in seconds, will DHCP entries will be valid. Defaults to 1h (3600s).
    zone String
    zone) The zone in which the public gateway DHCP config should be created.

    Import

    Public gateway DHCP config can be imported using the {zone}/{id}, e.g.

    bash

    $ pulumi import scaleway:index/vpcPublicGatewayDhcp:VpcPublicGatewayDhcp main fr-par-1/11111111-1111-1111-1111-111111111111
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    scaleway pulumiverse/pulumi-scaleway
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scaleway Terraform Provider.
    scaleway logo
    Scaleway v1.14.0 published on Thursday, Jun 6, 2024 by pulumiverse