1. Packages
  2. Packages
  3. Freebox
  4. API Docs
  5. lan
  6. Config
Viewing docs for Freebox v0.3.11
published on Friday, Jul 3, 2026 by OlivierPaquien
freebox logo
Viewing docs for Freebox v0.3.11
published on Friday, Jul 3, 2026 by OlivierPaquien

    Create Config Resource

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

    Constructor syntax

    new Config(name: string, args?: ConfigArgs, opts?: CustomResourceOptions);
    @overload
    def Config(resource_name: str,
               args: Optional[ConfigArgs] = None,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Config(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               ip: Optional[str] = None,
               mode: Optional[str] = None,
               name: Optional[str] = None,
               name_dns: Optional[str] = None,
               name_mdns: Optional[str] = None,
               name_netbios: Optional[str] = None)
    func NewConfig(ctx *Context, name string, args *ConfigArgs, opts ...ResourceOption) (*Config, error)
    public Config(string name, ConfigArgs? args = null, CustomResourceOptions? opts = null)
    public Config(String name, ConfigArgs args)
    public Config(String name, ConfigArgs args, CustomResourceOptions options)
    
    type: freebox:lan:Config
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "freebox_lan_config" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ConfigArgs
    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 ConfigArgs
    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 ConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConfigArgs
    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 configResource = new Freebox.Lan.Config("configResource", new()
    {
        Ip = "string",
        Mode = "string",
        Name = "string",
        NameDns = "string",
        NameMdns = "string",
        NameNetbios = "string",
    });
    
    example, err := lan.NewConfig(ctx, "configResource", &lan.ConfigArgs{
    	Ip:          pulumi.String("string"),
    	Mode:        pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	NameDns:     pulumi.String("string"),
    	NameMdns:    pulumi.String("string"),
    	NameNetbios: pulumi.String("string"),
    })
    
    resource "freebox_lan_config" "configResource" {
      ip           = "string"
      mode         = "string"
      name         = "string"
      name_dns     = "string"
      name_mdns    = "string"
      name_netbios = "string"
    }
    
    var configResource = new Config("configResource", ConfigArgs.builder()
        .ip("string")
        .mode("string")
        .name("string")
        .nameDns("string")
        .nameMdns("string")
        .nameNetbios("string")
        .build());
    
    config_resource = freebox.lan.Config("configResource",
        ip="string",
        mode="string",
        name="string",
        name_dns="string",
        name_mdns="string",
        name_netbios="string")
    
    const configResource = new freebox.lan.Config("configResource", {
        ip: "string",
        mode: "string",
        name: "string",
        nameDns: "string",
        nameMdns: "string",
        nameNetbios: "string",
    });
    
    type: freebox:lan:Config
    properties:
        ip: string
        mode: string
        name: string
        nameDns: string
        nameMdns: string
        nameNetbios: string
    

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

    Ip string
    Mode string
    Name string
    NameDns string
    NameMdns string
    NameNetbios string
    Ip string
    Mode string
    Name string
    NameDns string
    NameMdns string
    NameNetbios string
    ip string
    mode string
    name string
    name_dns string
    name_mdns string
    name_netbios string
    ip String
    mode String
    name String
    nameDns String
    nameMdns String
    nameNetbios String
    ip string
    mode string
    name string
    nameDns string
    nameMdns string
    nameNetbios string
    ip String
    mode String
    name String
    nameDns String
    nameMdns String
    nameNetbios String

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Package Details

    Repository
    freebox
    License
    freebox logo
    Viewing docs for Freebox v0.3.11
    published on Friday, Jul 3, 2026 by OlivierPaquien

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial