scaleway.VpcPublicGatewayDhcp
Explore with Pulumi AI
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.
- Dns
Local stringName - 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 topriv
. - Dns
Searches List<string> - Additional DNS search paths
- Dns
Servers List<string>Overrides - 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 string - High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
- Pool
Low string - Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
- Project
Id string project_id
) The ID of the project the public gateway DHCP config is associated with.- Push
Default boolRoute - Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to
true
. - Push
Dns boolServer - 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 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.
- Dns
Local stringName - 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 topriv
. - Dns
Searches []string - Additional DNS search paths
- Dns
Servers []stringOverrides - 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 string - High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
- Pool
Low string - Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
- Project
Id string project_id
) The ID of the project the public gateway DHCP config is associated with.- Push
Default boolRoute - Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to
true
. - Push
Dns boolServer - 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 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.
- dns
Local StringName - 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 topriv
. - dns
Searches List<String> - Additional DNS search paths
- dns
Servers List<String>Overrides - Override the DNS server list pushed to DHCP clients, instead of the gateway itself
- enable
Dynamic 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
. - pool
High String - High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
- pool
Low String - Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
- project
Id String project_id
) The ID of the project the public gateway DHCP config is associated with.- push
Default BooleanRoute - Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to
true
. - push
Dns BooleanServer - Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to
true
. - rebind
Timer 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). - renew
Timer Integer - After how long, in seconds, a renewal will be attempted. Must be 30s lower than
rebind_timer
. Defaults to 50m (3000s). - valid
Lifetime 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.
- dns
Local stringName - 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 topriv
. - dns
Searches string[] - Additional DNS search paths
- dns
Servers string[]Overrides - Override the DNS server list pushed to DHCP clients, instead of the gateway itself
- enable
Dynamic 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
. - pool
High string - High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
- pool
Low string - Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
- project
Id string project_id
) The ID of the project the public gateway DHCP config is associated with.- push
Default booleanRoute - Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to
true
. - push
Dns booleanServer - Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to
true
. - rebind
Timer 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). - renew
Timer number - After how long, in seconds, a renewal will be attempted. Must be 30s lower than
rebind_timer
. Defaults to 50m (3000s). - valid
Lifetime 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_ strname - 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 topriv
. - dns_
searches Sequence[str] - Additional DNS search paths
- dns_
servers_ Sequence[str]overrides - 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_ boolroute - Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to
true
. - push_
dns_ boolserver - 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.
- dns
Local StringName - 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 topriv
. - dns
Searches List<String> - Additional DNS search paths
- dns
Servers List<String>Overrides - Override the DNS server list pushed to DHCP clients, instead of the gateway itself
- enable
Dynamic 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
. - pool
High String - High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
- pool
Low String - Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
- project
Id String project_id
) The ID of the project the public gateway DHCP config is associated with.- push
Default BooleanRoute - Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to
true
. - push
Dns BooleanServer - Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to
true
. - rebind
Timer 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). - renew
Timer Number - After how long, in seconds, a renewal will be attempted. Must be 30s lower than
rebind_timer
. Defaults to 50m (3000s). - valid
Lifetime 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:
- Created
At 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.
- Organization
Id string - The organization ID the public gateway DHCP config is associated with.
- Updated
At string - The date and time of the last update of the public gateway DHCP config.
- Created
At 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.
- Organization
Id string - The organization ID the public gateway DHCP config is associated with.
- Updated
At string - The date and time of the last update of the public gateway DHCP config.
- created
At 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.
- organization
Id String - The organization ID the public gateway DHCP config is associated with.
- updated
At String - The date and time of the last update of the public gateway DHCP config.
- created
At 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.
- organization
Id string - The organization ID the public gateway DHCP config is associated with.
- updated
At 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.
- created
At 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.
- organization
Id String - The organization ID the public gateway DHCP config is associated with.
- updated
At 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.
- Address string
- The IP address of the public gateway DHCP config.
- Created
At string - The date and time of the creation of the public gateway DHCP config.
- Dns
Local stringName - 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 topriv
. - Dns
Searches List<string> - Additional DNS search paths
- Dns
Servers List<string>Overrides - 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 string - The organization ID the public gateway DHCP config is associated with.
- Pool
High string - High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
- Pool
Low string - Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
- Project
Id string project_id
) The ID of the project the public gateway DHCP config is associated with.- Push
Default boolRoute - Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to
true
. - Push
Dns boolServer - 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 string
- The subnet to associate with the public gateway DHCP config.
- Updated
At string - 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 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.
- Created
At string - The date and time of the creation of the public gateway DHCP config.
- Dns
Local stringName - 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 topriv
. - Dns
Searches []string - Additional DNS search paths
- Dns
Servers []stringOverrides - 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 string - The organization ID the public gateway DHCP config is associated with.
- Pool
High string - High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
- Pool
Low string - Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
- Project
Id string project_id
) The ID of the project the public gateway DHCP config is associated with.- Push
Default boolRoute - Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to
true
. - Push
Dns boolServer - 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 string
- The subnet to associate with the public gateway DHCP config.
- Updated
At string - 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 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.
- created
At String - The date and time of the creation of the public gateway DHCP config.
- dns
Local StringName - 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 topriv
. - dns
Searches List<String> - Additional DNS search paths
- dns
Servers List<String>Overrides - Override the DNS server list pushed to DHCP clients, instead of the gateway itself
- enable
Dynamic 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
. - organization
Id String - The organization ID the public gateway DHCP config is associated with.
- pool
High String - High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
- pool
Low String - Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
- project
Id String project_id
) The ID of the project the public gateway DHCP config is associated with.- push
Default BooleanRoute - Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to
true
. - push
Dns BooleanServer - Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to
true
. - rebind
Timer 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). - renew
Timer 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.
- updated
At String - The date and time of the last update of the public gateway DHCP config.
- valid
Lifetime 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.
- created
At string - The date and time of the creation of the public gateway DHCP config.
- dns
Local stringName - 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 topriv
. - dns
Searches string[] - Additional DNS search paths
- dns
Servers string[]Overrides - Override the DNS server list pushed to DHCP clients, instead of the gateway itself
- enable
Dynamic 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
. - organization
Id string - The organization ID the public gateway DHCP config is associated with.
- pool
High string - High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
- pool
Low string - Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
- project
Id string project_id
) The ID of the project the public gateway DHCP config is associated with.- push
Default booleanRoute - Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to
true
. - push
Dns booleanServer - Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to
true
. - rebind
Timer 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). - renew
Timer 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.
- updated
At string - The date and time of the last update of the public gateway DHCP config.
- valid
Lifetime 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_ strname - 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 topriv
. - dns_
searches Sequence[str] - Additional DNS search paths
- dns_
servers_ Sequence[str]overrides - 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_ boolroute - Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to
true
. - push_
dns_ boolserver - 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.
- created
At String - The date and time of the creation of the public gateway DHCP config.
- dns
Local StringName - 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 topriv
. - dns
Searches List<String> - Additional DNS search paths
- dns
Servers List<String>Overrides - Override the DNS server list pushed to DHCP clients, instead of the gateway itself
- enable
Dynamic 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
. - organization
Id String - The organization ID the public gateway DHCP config is associated with.
- pool
High String - High IP (excluded) of the dynamic address pool. Defaults to the last address of the subnet.
- pool
Low String - Low IP (included) of the dynamic address pool. Defaults to the second address of the subnet.
- project
Id String project_id
) The ID of the project the public gateway DHCP config is associated with.- push
Default BooleanRoute - Whether the gateway should push a default route to DHCP clients or only hand out IPs. Defaults to
true
. - push
Dns BooleanServer - Whether the gateway should push custom DNS servers to clients. This allows for instance hostname > IP resolution. Defaults to
true
. - rebind
Timer 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). - renew
Timer 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.
- updated
At String - The date and time of the last update of the public gateway DHCP config.
- valid
Lifetime 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.