1. Packages
  2. Outscale Provider
  3. API Docs
  4. DhcpOption
outscale 1.1.0 published on Thursday, Apr 3, 2025 by outscale

outscale.DhcpOption

Explore with Pulumi AI

Manages a DHCP option.

For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.

Example Usage

Create a basic DHCP options set

import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const dhcpOption01 = new outscale.DhcpOption("dhcpOption01", {domainName: "MyCompany.com"});
Copy
import pulumi
import pulumi_outscale as outscale

dhcp_option01 = outscale.DhcpOption("dhcpOption01", domain_name="MyCompany.com")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewDhcpOption(ctx, "dhcpOption01", &outscale.DhcpOptionArgs{
			DomainName: pulumi.String("MyCompany.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var dhcpOption01 = new Outscale.DhcpOption("dhcpOption01", new()
    {
        DomainName = "MyCompany.com",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.DhcpOption;
import com.pulumi.outscale.DhcpOptionArgs;
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 dhcpOption01 = new DhcpOption("dhcpOption01", DhcpOptionArgs.builder()
            .domainName("MyCompany.com")
            .build());

    }
}
Copy
resources:
  dhcpOption01:
    type: outscale:DhcpOption
    properties:
      domainName: MyCompany.com
Copy

Create a complete DHCP options set

import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";

const dhcpOption02 = new outscale.DhcpOption("dhcpOption02", {
    domainName: "MyCompany.com",
    domainNameServers: [
        "111.111.11.111",
        "222.222.22.222",
    ],
    ntpServers: [
        "111.1.1.1",
        "222.2.2.2",
    ],
    tags: [{
        key: "Name",
        value: "DHCP01",
    }],
});
Copy
import pulumi
import pulumi_outscale as outscale

dhcp_option02 = outscale.DhcpOption("dhcpOption02",
    domain_name="MyCompany.com",
    domain_name_servers=[
        "111.111.11.111",
        "222.222.22.222",
    ],
    ntp_servers=[
        "111.1.1.1",
        "222.2.2.2",
    ],
    tags=[{
        "key": "Name",
        "value": "DHCP01",
    }])
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := outscale.NewDhcpOption(ctx, "dhcpOption02", &outscale.DhcpOptionArgs{
			DomainName: pulumi.String("MyCompany.com"),
			DomainNameServers: pulumi.StringArray{
				pulumi.String("111.111.11.111"),
				pulumi.String("222.222.22.222"),
			},
			NtpServers: pulumi.StringArray{
				pulumi.String("111.1.1.1"),
				pulumi.String("222.2.2.2"),
			},
			Tags: outscale.DhcpOptionTagArray{
				&outscale.DhcpOptionTagArgs{
					Key:   pulumi.String("Name"),
					Value: pulumi.String("DHCP01"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;

return await Deployment.RunAsync(() => 
{
    var dhcpOption02 = new Outscale.DhcpOption("dhcpOption02", new()
    {
        DomainName = "MyCompany.com",
        DomainNameServers = new[]
        {
            "111.111.11.111",
            "222.222.22.222",
        },
        NtpServers = new[]
        {
            "111.1.1.1",
            "222.2.2.2",
        },
        Tags = new[]
        {
            new Outscale.Inputs.DhcpOptionTagArgs
            {
                Key = "Name",
                Value = "DHCP01",
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.DhcpOption;
import com.pulumi.outscale.DhcpOptionArgs;
import com.pulumi.outscale.inputs.DhcpOptionTagArgs;
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 dhcpOption02 = new DhcpOption("dhcpOption02", DhcpOptionArgs.builder()
            .domainName("MyCompany.com")
            .domainNameServers(            
                "111.111.11.111",
                "222.222.22.222")
            .ntpServers(            
                "111.1.1.1",
                "222.2.2.2")
            .tags(DhcpOptionTagArgs.builder()
                .key("Name")
                .value("DHCP01")
                .build())
            .build());

    }
}
Copy
resources:
  dhcpOption02:
    type: outscale:DhcpOption
    properties:
      domainName: MyCompany.com
      domainNameServers:
        - 111.111.11.111
        - 222.222.22.222
      ntpServers:
        - 111.1.1.1
        - 222.2.2.2
      tags:
        - key: Name
          value: DHCP01
Copy

Create DhcpOption Resource

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

Constructor syntax

new DhcpOption(name: string, args?: DhcpOptionArgs, opts?: CustomResourceOptions);
@overload
def DhcpOption(resource_name: str,
               args: Optional[DhcpOptionArgs] = None,
               opts: Optional[ResourceOptions] = None)

@overload
def DhcpOption(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               dhcp_option_id: Optional[str] = None,
               domain_name: Optional[str] = None,
               domain_name_servers: Optional[Sequence[str]] = None,
               log_servers: Optional[Sequence[str]] = None,
               ntp_servers: Optional[Sequence[str]] = None,
               tags: Optional[Sequence[DhcpOptionTagArgs]] = None)
func NewDhcpOption(ctx *Context, name string, args *DhcpOptionArgs, opts ...ResourceOption) (*DhcpOption, error)
public DhcpOption(string name, DhcpOptionArgs? args = null, CustomResourceOptions? opts = null)
public DhcpOption(String name, DhcpOptionArgs args)
public DhcpOption(String name, DhcpOptionArgs args, CustomResourceOptions options)
type: outscale:DhcpOption
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args DhcpOptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args DhcpOptionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args DhcpOptionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args DhcpOptionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DhcpOptionArgs
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 dhcpOptionResource = new Outscale.DhcpOption("dhcpOptionResource", new()
{
    DhcpOptionId = "string",
    DomainName = "string",
    DomainNameServers = new[]
    {
        "string",
    },
    LogServers = new[]
    {
        "string",
    },
    NtpServers = new[]
    {
        "string",
    },
    Tags = new[]
    {
        new Outscale.Inputs.DhcpOptionTagArgs
        {
            Key = "string",
            Value = "string",
        },
    },
});
Copy
example, err := outscale.NewDhcpOption(ctx, "dhcpOptionResource", &outscale.DhcpOptionArgs{
DhcpOptionId: pulumi.String("string"),
DomainName: pulumi.String("string"),
DomainNameServers: pulumi.StringArray{
pulumi.String("string"),
},
LogServers: pulumi.StringArray{
pulumi.String("string"),
},
NtpServers: pulumi.StringArray{
pulumi.String("string"),
},
Tags: .DhcpOptionTagArray{
&.DhcpOptionTagArgs{
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
Copy
var dhcpOptionResource = new DhcpOption("dhcpOptionResource", DhcpOptionArgs.builder()
    .dhcpOptionId("string")
    .domainName("string")
    .domainNameServers("string")
    .logServers("string")
    .ntpServers("string")
    .tags(DhcpOptionTagArgs.builder()
        .key("string")
        .value("string")
        .build())
    .build());
Copy
dhcp_option_resource = outscale.DhcpOption("dhcpOptionResource",
    dhcp_option_id="string",
    domain_name="string",
    domain_name_servers=["string"],
    log_servers=["string"],
    ntp_servers=["string"],
    tags=[{
        "key": "string",
        "value": "string",
    }])
Copy
const dhcpOptionResource = new outscale.DhcpOption("dhcpOptionResource", {
    dhcpOptionId: "string",
    domainName: "string",
    domainNameServers: ["string"],
    logServers: ["string"],
    ntpServers: ["string"],
    tags: [{
        key: "string",
        value: "string",
    }],
});
Copy
type: outscale:DhcpOption
properties:
    dhcpOptionId: string
    domainName: string
    domainNameServers:
        - string
    logServers:
        - string
    ntpServers:
        - string
    tags:
        - key: string
          value: string
Copy

DhcpOption Resource Properties

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

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DhcpOption resource accepts the following input properties:

DhcpOptionId string
DomainName string
Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
DomainNameServers List<string>
The IPs of domain name servers. If no IPs are specified, the OutscaleProvidedDNS value is set by default. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
LogServers List<string>
The IPs of the log servers. You must specify at least one of the following parameters: domain_name, domain_name_servers, log_servers, or ntp_servers.
NtpServers List<string>
The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
Tags List<DhcpOptionTag>
A tag to add to this resource. You can specify this argument several times.
DhcpOptionId string
DomainName string
Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
DomainNameServers []string
The IPs of domain name servers. If no IPs are specified, the OutscaleProvidedDNS value is set by default. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
LogServers []string
The IPs of the log servers. You must specify at least one of the following parameters: domain_name, domain_name_servers, log_servers, or ntp_servers.
NtpServers []string
The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
Tags []DhcpOptionTagArgs
A tag to add to this resource. You can specify this argument several times.
dhcpOptionId String
domainName String
Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
domainNameServers List<String>
The IPs of domain name servers. If no IPs are specified, the OutscaleProvidedDNS value is set by default. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
logServers List<String>
The IPs of the log servers. You must specify at least one of the following parameters: domain_name, domain_name_servers, log_servers, or ntp_servers.
ntpServers List<String>
The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
tags List<DhcpOptionTag>
A tag to add to this resource. You can specify this argument several times.
dhcpOptionId string
domainName string
Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
domainNameServers string[]
The IPs of domain name servers. If no IPs are specified, the OutscaleProvidedDNS value is set by default. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
logServers string[]
The IPs of the log servers. You must specify at least one of the following parameters: domain_name, domain_name_servers, log_servers, or ntp_servers.
ntpServers string[]
The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
tags DhcpOptionTag[]
A tag to add to this resource. You can specify this argument several times.
dhcp_option_id str
domain_name str
Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
domain_name_servers Sequence[str]
The IPs of domain name servers. If no IPs are specified, the OutscaleProvidedDNS value is set by default. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
log_servers Sequence[str]
The IPs of the log servers. You must specify at least one of the following parameters: domain_name, domain_name_servers, log_servers, or ntp_servers.
ntp_servers Sequence[str]
The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
tags Sequence[DhcpOptionTagArgs]
A tag to add to this resource. You can specify this argument several times.
dhcpOptionId String
domainName String
Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
domainNameServers List<String>
The IPs of domain name servers. If no IPs are specified, the OutscaleProvidedDNS value is set by default. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
logServers List<String>
The IPs of the log servers. You must specify at least one of the following parameters: domain_name, domain_name_servers, log_servers, or ntp_servers.
ntpServers List<String>
The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
tags List<Property Map>
A tag to add to this resource. You can specify this argument several times.

Outputs

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

Default bool
If true, the DHCP options set is a default one. If false, it is not.
DhcpOptionsSetId string
The ID of the DHCP options set.
Id string
The provider-assigned unique ID for this managed resource.
RequestId string
Default bool
If true, the DHCP options set is a default one. If false, it is not.
DhcpOptionsSetId string
The ID of the DHCP options set.
Id string
The provider-assigned unique ID for this managed resource.
RequestId string
default_ Boolean
If true, the DHCP options set is a default one. If false, it is not.
dhcpOptionsSetId String
The ID of the DHCP options set.
id String
The provider-assigned unique ID for this managed resource.
requestId String
default boolean
If true, the DHCP options set is a default one. If false, it is not.
dhcpOptionsSetId string
The ID of the DHCP options set.
id string
The provider-assigned unique ID for this managed resource.
requestId string
default bool
If true, the DHCP options set is a default one. If false, it is not.
dhcp_options_set_id str
The ID of the DHCP options set.
id str
The provider-assigned unique ID for this managed resource.
request_id str
default Boolean
If true, the DHCP options set is a default one. If false, it is not.
dhcpOptionsSetId String
The ID of the DHCP options set.
id String
The provider-assigned unique ID for this managed resource.
requestId String

Look up Existing DhcpOption Resource

Get an existing DhcpOption 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?: DhcpOptionState, opts?: CustomResourceOptions): DhcpOption
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        default: Optional[bool] = None,
        dhcp_option_id: Optional[str] = None,
        dhcp_options_set_id: Optional[str] = None,
        domain_name: Optional[str] = None,
        domain_name_servers: Optional[Sequence[str]] = None,
        log_servers: Optional[Sequence[str]] = None,
        ntp_servers: Optional[Sequence[str]] = None,
        request_id: Optional[str] = None,
        tags: Optional[Sequence[DhcpOptionTagArgs]] = None) -> DhcpOption
func GetDhcpOption(ctx *Context, name string, id IDInput, state *DhcpOptionState, opts ...ResourceOption) (*DhcpOption, error)
public static DhcpOption Get(string name, Input<string> id, DhcpOptionState? state, CustomResourceOptions? opts = null)
public static DhcpOption get(String name, Output<String> id, DhcpOptionState state, CustomResourceOptions options)
resources:  _:    type: outscale:DhcpOption    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Default bool
If true, the DHCP options set is a default one. If false, it is not.
DhcpOptionId string
DhcpOptionsSetId string
The ID of the DHCP options set.
DomainName string
Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
DomainNameServers List<string>
The IPs of domain name servers. If no IPs are specified, the OutscaleProvidedDNS value is set by default. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
LogServers List<string>
The IPs of the log servers. You must specify at least one of the following parameters: domain_name, domain_name_servers, log_servers, or ntp_servers.
NtpServers List<string>
The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
RequestId string
Tags List<DhcpOptionTag>
A tag to add to this resource. You can specify this argument several times.
Default bool
If true, the DHCP options set is a default one. If false, it is not.
DhcpOptionId string
DhcpOptionsSetId string
The ID of the DHCP options set.
DomainName string
Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
DomainNameServers []string
The IPs of domain name servers. If no IPs are specified, the OutscaleProvidedDNS value is set by default. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
LogServers []string
The IPs of the log servers. You must specify at least one of the following parameters: domain_name, domain_name_servers, log_servers, or ntp_servers.
NtpServers []string
The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
RequestId string
Tags []DhcpOptionTagArgs
A tag to add to this resource. You can specify this argument several times.
default_ Boolean
If true, the DHCP options set is a default one. If false, it is not.
dhcpOptionId String
dhcpOptionsSetId String
The ID of the DHCP options set.
domainName String
Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
domainNameServers List<String>
The IPs of domain name servers. If no IPs are specified, the OutscaleProvidedDNS value is set by default. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
logServers List<String>
The IPs of the log servers. You must specify at least one of the following parameters: domain_name, domain_name_servers, log_servers, or ntp_servers.
ntpServers List<String>
The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
requestId String
tags List<DhcpOptionTag>
A tag to add to this resource. You can specify this argument several times.
default boolean
If true, the DHCP options set is a default one. If false, it is not.
dhcpOptionId string
dhcpOptionsSetId string
The ID of the DHCP options set.
domainName string
Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
domainNameServers string[]
The IPs of domain name servers. If no IPs are specified, the OutscaleProvidedDNS value is set by default. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
logServers string[]
The IPs of the log servers. You must specify at least one of the following parameters: domain_name, domain_name_servers, log_servers, or ntp_servers.
ntpServers string[]
The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
requestId string
tags DhcpOptionTag[]
A tag to add to this resource. You can specify this argument several times.
default bool
If true, the DHCP options set is a default one. If false, it is not.
dhcp_option_id str
dhcp_options_set_id str
The ID of the DHCP options set.
domain_name str
Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
domain_name_servers Sequence[str]
The IPs of domain name servers. If no IPs are specified, the OutscaleProvidedDNS value is set by default. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
log_servers Sequence[str]
The IPs of the log servers. You must specify at least one of the following parameters: domain_name, domain_name_servers, log_servers, or ntp_servers.
ntp_servers Sequence[str]
The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
request_id str
tags Sequence[DhcpOptionTagArgs]
A tag to add to this resource. You can specify this argument several times.
default Boolean
If true, the DHCP options set is a default one. If false, it is not.
dhcpOptionId String
dhcpOptionsSetId String
The ID of the DHCP options set.
domainName String
Specify a domain name (for example, MyCompany.com). You can specify only one domain name. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
domainNameServers List<String>
The IPs of domain name servers. If no IPs are specified, the OutscaleProvidedDNS value is set by default. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
logServers List<String>
The IPs of the log servers. You must specify at least one of the following parameters: domain_name, domain_name_servers, log_servers, or ntp_servers.
ntpServers List<String>
The IPs of the Network Time Protocol (NTP) servers. You must specify at least one of the following parameters: DomainName, DomainNameServers, or NtpServers.
requestId String
tags List<Property Map>
A tag to add to this resource. You can specify this argument several times.

Supporting Types

DhcpOptionTag
, DhcpOptionTagArgs

Key string
The key of the tag, with a minimum of 1 character.
Value string
The value of the tag, between 0 and 255 characters.
Key string
The key of the tag, with a minimum of 1 character.
Value string
The value of the tag, between 0 and 255 characters.
key String
The key of the tag, with a minimum of 1 character.
value String
The value of the tag, between 0 and 255 characters.
key string
The key of the tag, with a minimum of 1 character.
value string
The value of the tag, between 0 and 255 characters.
key str
The key of the tag, with a minimum of 1 character.
value str
The value of the tag, between 0 and 255 characters.
key String
The key of the tag, with a minimum of 1 character.
value String
The value of the tag, between 0 and 255 characters.

Import

DHCP options can be imported using the DHCP option ID. For example:

console

$ pulumi import outscale:index/dhcpOption:DhcpOption ImportedDhcpSet dopt-87654321
Copy

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

Package Details

Repository
outscale outscale/terraform-provider-outscale
License
Notes
This Pulumi package is based on the outscale Terraform Provider.