1. Packages
  2. Linode Provider
  3. API Docs
  4. InstanceConfig
Linode v4.30.0 published on Friday, Nov 8, 2024 by Pulumi

linode.InstanceConfig

Explore with Pulumi AI

linode logo
Linode v4.30.0 published on Friday, Nov 8, 2024 by Pulumi

    Example Usage

    Creating a simple bootable Linode Instance Configuration Profile:

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.Instance;
    import com.pulumi.linode.InstanceArgs;
    import com.pulumi.linode.InstanceDisk;
    import com.pulumi.linode.InstanceDiskArgs;
    import com.pulumi.linode.InstanceConfig;
    import com.pulumi.linode.InstanceConfigArgs;
    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 my_instance = new Instance("my-instance", InstanceArgs.builder()
                .label("my-instance")
                .type("g6-standard-1")
                .region("us-southeast")
                .build());
    
            var boot = new InstanceDisk("boot", InstanceDiskArgs.builder()
                .label("boot")
                .linodeId(my_instance.id())
                .size(my_instance.specs().applyValue(specs -> specs.disk()))
                .image("linode/ubuntu22.04")
                .rootPass("myc00lpass!")
                .build());
    
            var my_config = new InstanceConfig("my-config", InstanceConfigArgs.builder()
                .linodeId(my_instance.id())
                .label("my-config")
                .devices(InstanceConfigDevicesArgs.builder()
                    .deviceName("sda")
                    .diskId(boot.id())
                    .build())
                .booted(true)
                .build());
    
        }
    }
    
    resources:
      my-config:
        type: linode:InstanceConfig
        properties:
          linodeId: ${["my-instance"].id}
          label: my-config
          devices:
            - deviceName: sda
              diskId: ${boot.id}
          booted: true
      boot:
        type: linode:InstanceDisk
        properties:
          label: boot
          linodeId: ${["my-instance"].id}
          size: ${["my-instance"].specs.disk}
          image: linode/ubuntu22.04
          rootPass: myc00lpass!
      my-instance:
        type: linode:Instance
        properties:
          label: my-instance
          type: g6-standard-1
          region: us-southeast
    

    Creating a complex bootable Instance Configuration Profile with a VPC:

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.linode.Vpc;
    import com.pulumi.linode.VpcArgs;
    import com.pulumi.linode.VpcSubnet;
    import com.pulumi.linode.VpcSubnetArgs;
    import com.pulumi.linode.Instance;
    import com.pulumi.linode.InstanceArgs;
    import com.pulumi.linode.InstanceDisk;
    import com.pulumi.linode.InstanceDiskArgs;
    import com.pulumi.linode.InstanceConfig;
    import com.pulumi.linode.InstanceConfigArgs;
    import com.pulumi.linode.inputs.InstanceConfigHelperArgs;
    import com.pulumi.linode.inputs.InstanceConfigInterfaceArgs;
    import com.pulumi.linode.inputs.InstanceConfigInterfaceIpv4Args;
    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) {
            // Create a VPC and a subnet
            var foobar = new Vpc("foobar", VpcArgs.builder()
                .label("my-vpc")
                .region("us-mia")
                .description("test description")
                .build());
    
            var foobarVpcSubnet = new VpcSubnet("foobarVpcSubnet", VpcSubnetArgs.builder()
                .vpcId(foobar.id())
                .label("my-subnet")
                .ipv4("10.0.4.0/24")
                .build());
    
            var my_instance = new Instance("my-instance", InstanceArgs.builder()
                .label("my-instance")
                .type("g6-standard-1")
                .region("us-mia")
                .build());
    
            // Create a boot disk
            var boot = new InstanceDisk("boot", InstanceDiskArgs.builder()
                .label("boot")
                .linodeId(my_instance.id())
                .size(my_instance.specs().applyValue(specs -> specs.disk() - 512))
                .image("linode/ubuntu22.04")
                .rootPass("myc00lpass!ciuw23asxbviwuc")
                .build());
    
            // Create a swap disk
            var swap = new InstanceDisk("swap", InstanceDiskArgs.builder()
                .label("swap")
                .linodeId(my_instance.id())
                .size(512)
                .filesystem("swap")
                .build());
    
            var my_config = new InstanceConfig("my-config", InstanceConfigArgs.builder()
                .linodeId(my_instance.id())
                .label("my-config")
                .devices(            
                    InstanceConfigDevicesArgs.builder()
                        .deviceName("sda")
                        .diskId(boot.id())
                        .build(),
                    InstanceConfigDevicesArgs.builder()
                        .deviceName("sdb")
                        .diskId(swap.id())
                        .build())
                .helpers(InstanceConfigHelperArgs.builder()
                    .updatedbDisabled(false)
                    .build())
                .interfaces(            
                    InstanceConfigInterfaceArgs.builder()
                        .purpose("public")
                        .build(),
                    InstanceConfigInterfaceArgs.builder()
                        .purpose("vlan")
                        .label("my-vlan")
                        .ipamAddress("10.0.0.2/24")
                        .build(),
                    InstanceConfigInterfaceArgs.builder()
                        .purpose("vpc")
                        .subnetId(foobarVpcSubnet.id())
                        .ipv4(InstanceConfigInterfaceIpv4Args.builder()
                            .vpc("10.0.4.250")
                            .build())
                        .build())
                .booted(true)
                .build());
    
            // Unsupported provisioner type remote-exec
        }
    }
    
    Coming soon!
    

    Create InstanceConfig Resource

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

    Constructor syntax

    new InstanceConfig(name: string, args: InstanceConfigArgs, opts?: CustomResourceOptions);
    @overload
    def InstanceConfig(resource_name: str,
                       args: InstanceConfigInitArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def InstanceConfig(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       label: Optional[str] = None,
                       linode_id: Optional[int] = None,
                       kernel: Optional[str] = None,
                       devices: Optional[InstanceConfigDevicesArgs] = None,
                       helpers: Optional[Sequence[InstanceConfigHelperArgs]] = None,
                       interfaces: Optional[Sequence[InstanceConfigInterfaceArgs]] = None,
                       booted: Optional[bool] = None,
                       device: Optional[Sequence[InstanceConfigDeviceArgs]] = None,
                       comments: Optional[str] = None,
                       memory_limit: Optional[int] = None,
                       root_device: Optional[str] = None,
                       run_level: Optional[str] = None,
                       virt_mode: Optional[str] = None)
    func NewInstanceConfig(ctx *Context, name string, args InstanceConfigArgs, opts ...ResourceOption) (*InstanceConfig, error)
    public InstanceConfig(string name, InstanceConfigArgs args, CustomResourceOptions? opts = null)
    public InstanceConfig(String name, InstanceConfigArgs args)
    public InstanceConfig(String name, InstanceConfigArgs args, CustomResourceOptions options)
    
    type: linode:InstanceConfig
    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 InstanceConfigArgs
    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 InstanceConfigInitArgs
    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 InstanceConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstanceConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InstanceConfigArgs
    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 instanceConfigResource = new Linode.InstanceConfig("instanceConfigResource", new()
    {
        Label = "string",
        LinodeId = 0,
        Kernel = "string",
        Helpers = new[]
        {
            new Linode.Inputs.InstanceConfigHelperArgs
            {
                DevtmpfsAutomount = false,
                Distro = false,
                ModulesDep = false,
                Network = false,
                UpdatedbDisabled = false,
            },
        },
        Interfaces = new[]
        {
            new Linode.Inputs.InstanceConfigInterfaceArgs
            {
                Purpose = "string",
                Active = false,
                Id = 0,
                IpRanges = new[]
                {
                    "string",
                },
                IpamAddress = "string",
                Ipv4 = new Linode.Inputs.InstanceConfigInterfaceIpv4Args
                {
                    Nat11 = "string",
                    Vpc = "string",
                },
                Label = "string",
                Primary = false,
                SubnetId = 0,
                VpcId = 0,
            },
        },
        Booted = false,
        Device = new[]
        {
            new Linode.Inputs.InstanceConfigDeviceArgs
            {
                DeviceName = "string",
                DiskId = 0,
                VolumeId = 0,
            },
        },
        Comments = "string",
        MemoryLimit = 0,
        RootDevice = "string",
        RunLevel = "string",
        VirtMode = "string",
    });
    
    example, err := linode.NewInstanceConfig(ctx, "instanceConfigResource", &linode.InstanceConfigArgs{
    	Label:    pulumi.String("string"),
    	LinodeId: pulumi.Int(0),
    	Kernel:   pulumi.String("string"),
    	Helpers: linode.InstanceConfigHelperArray{
    		&linode.InstanceConfigHelperArgs{
    			DevtmpfsAutomount: pulumi.Bool(false),
    			Distro:            pulumi.Bool(false),
    			ModulesDep:        pulumi.Bool(false),
    			Network:           pulumi.Bool(false),
    			UpdatedbDisabled:  pulumi.Bool(false),
    		},
    	},
    	Interfaces: linode.InstanceConfigInterfaceArray{
    		&linode.InstanceConfigInterfaceArgs{
    			Purpose: pulumi.String("string"),
    			Active:  pulumi.Bool(false),
    			Id:      pulumi.Int(0),
    			IpRanges: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			IpamAddress: pulumi.String("string"),
    			Ipv4: &linode.InstanceConfigInterfaceIpv4Args{
    				Nat11: pulumi.String("string"),
    				Vpc:   pulumi.String("string"),
    			},
    			Label:    pulumi.String("string"),
    			Primary:  pulumi.Bool(false),
    			SubnetId: pulumi.Int(0),
    			VpcId:    pulumi.Int(0),
    		},
    	},
    	Booted: pulumi.Bool(false),
    	Device: linode.InstanceConfigDeviceArray{
    		&linode.InstanceConfigDeviceArgs{
    			DeviceName: pulumi.String("string"),
    			DiskId:     pulumi.Int(0),
    			VolumeId:   pulumi.Int(0),
    		},
    	},
    	Comments:    pulumi.String("string"),
    	MemoryLimit: pulumi.Int(0),
    	RootDevice:  pulumi.String("string"),
    	RunLevel:    pulumi.String("string"),
    	VirtMode:    pulumi.String("string"),
    })
    
    var instanceConfigResource = new InstanceConfig("instanceConfigResource", InstanceConfigArgs.builder()
        .label("string")
        .linodeId(0)
        .kernel("string")
        .helpers(InstanceConfigHelperArgs.builder()
            .devtmpfsAutomount(false)
            .distro(false)
            .modulesDep(false)
            .network(false)
            .updatedbDisabled(false)
            .build())
        .interfaces(InstanceConfigInterfaceArgs.builder()
            .purpose("string")
            .active(false)
            .id(0)
            .ipRanges("string")
            .ipamAddress("string")
            .ipv4(InstanceConfigInterfaceIpv4Args.builder()
                .nat11("string")
                .vpc("string")
                .build())
            .label("string")
            .primary(false)
            .subnetId(0)
            .vpcId(0)
            .build())
        .booted(false)
        .device(InstanceConfigDeviceArgs.builder()
            .deviceName("string")
            .diskId(0)
            .volumeId(0)
            .build())
        .comments("string")
        .memoryLimit(0)
        .rootDevice("string")
        .runLevel("string")
        .virtMode("string")
        .build());
    
    instance_config_resource = linode.InstanceConfig("instanceConfigResource",
        label="string",
        linode_id=0,
        kernel="string",
        helpers=[{
            "devtmpfs_automount": False,
            "distro": False,
            "modules_dep": False,
            "network": False,
            "updatedb_disabled": False,
        }],
        interfaces=[{
            "purpose": "string",
            "active": False,
            "id": 0,
            "ip_ranges": ["string"],
            "ipam_address": "string",
            "ipv4": {
                "nat11": "string",
                "vpc": "string",
            },
            "label": "string",
            "primary": False,
            "subnet_id": 0,
            "vpc_id": 0,
        }],
        booted=False,
        device=[{
            "device_name": "string",
            "disk_id": 0,
            "volume_id": 0,
        }],
        comments="string",
        memory_limit=0,
        root_device="string",
        run_level="string",
        virt_mode="string")
    
    const instanceConfigResource = new linode.InstanceConfig("instanceConfigResource", {
        label: "string",
        linodeId: 0,
        kernel: "string",
        helpers: [{
            devtmpfsAutomount: false,
            distro: false,
            modulesDep: false,
            network: false,
            updatedbDisabled: false,
        }],
        interfaces: [{
            purpose: "string",
            active: false,
            id: 0,
            ipRanges: ["string"],
            ipamAddress: "string",
            ipv4: {
                nat11: "string",
                vpc: "string",
            },
            label: "string",
            primary: false,
            subnetId: 0,
            vpcId: 0,
        }],
        booted: false,
        device: [{
            deviceName: "string",
            diskId: 0,
            volumeId: 0,
        }],
        comments: "string",
        memoryLimit: 0,
        rootDevice: "string",
        runLevel: "string",
        virtMode: "string",
    });
    
    type: linode:InstanceConfig
    properties:
        booted: false
        comments: string
        device:
            - deviceName: string
              diskId: 0
              volumeId: 0
        helpers:
            - devtmpfsAutomount: false
              distro: false
              modulesDep: false
              network: false
              updatedbDisabled: false
        interfaces:
            - active: false
              id: 0
              ipRanges:
                - string
              ipamAddress: string
              ipv4:
                nat11: string
                vpc: string
              label: string
              primary: false
              purpose: string
              subnetId: 0
              vpcId: 0
        kernel: string
        label: string
        linodeId: 0
        memoryLimit: 0
        rootDevice: string
        runLevel: string
        virtMode: string
    

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

    Label string
    The Config’s label for display purposes only.


    LinodeId int
    The ID of the Linode to create this configuration profile under.
    Booted bool
    If true, the Linode will be booted into this config. If another config is booted, the Linode will be rebooted into this config. If false, the Linode will be shutdown only if it is currently booted into this config. If undefined, the config will alter the boot status of the Linode.
    Comments string

    Optional field for arbitrary User comments on this Config.

    • devices - (Optional) A dictionary of device disks to use as a device map in a Linode’s configuration profile.

    • helpers - (Optional) Helpers enabled when booting to this Linode Config.

    • interface - (Optional) An array of Network Interfaces to use for this Configuration Profile.

    Device List<InstanceConfigDevice>
    Blocks for device disks in a Linode's configuration profile.
    Devices InstanceConfigDevices
    A dictionary of device disks to use as a device map in a Linode's configuration profile.

    Deprecated: Devices attribute is deprecated in favor of device.

    Helpers List<InstanceConfigHelper>
    Helpers enabled when booting to this Linode Config.
    Interfaces List<InstanceConfigInterface>
    An array of Network Interfaces to add to this Linode's Configuration Profile.
    Kernel string
    A Kernel ID to boot a Linode with. Default is linode/latest-64bit. Examples are linode/latest-64bit, linode/grub2, linode/direct-disk, etc. See all kernels here. Note that this is a paginated API endpoint (docs).
    MemoryLimit int
    The memory limit of the Config. Defaults to the total ram of the Linode.
    RootDevice string
    The root device to boot. (default /dev/sda)
    RunLevel string
    Defines the state of your Linode after booting. (default, single, binbash)
    VirtMode string
    Controls the virtualization mode. (paravirt, fullvirt)
    Label string
    The Config’s label for display purposes only.


    LinodeId int
    The ID of the Linode to create this configuration profile under.
    Booted bool
    If true, the Linode will be booted into this config. If another config is booted, the Linode will be rebooted into this config. If false, the Linode will be shutdown only if it is currently booted into this config. If undefined, the config will alter the boot status of the Linode.
    Comments string

    Optional field for arbitrary User comments on this Config.

    • devices - (Optional) A dictionary of device disks to use as a device map in a Linode’s configuration profile.

    • helpers - (Optional) Helpers enabled when booting to this Linode Config.

    • interface - (Optional) An array of Network Interfaces to use for this Configuration Profile.

    Device []InstanceConfigDeviceArgs
    Blocks for device disks in a Linode's configuration profile.
    Devices InstanceConfigDevicesArgs
    A dictionary of device disks to use as a device map in a Linode's configuration profile.

    Deprecated: Devices attribute is deprecated in favor of device.

    Helpers []InstanceConfigHelperArgs
    Helpers enabled when booting to this Linode Config.
    Interfaces []InstanceConfigInterfaceArgs
    An array of Network Interfaces to add to this Linode's Configuration Profile.
    Kernel string
    A Kernel ID to boot a Linode with. Default is linode/latest-64bit. Examples are linode/latest-64bit, linode/grub2, linode/direct-disk, etc. See all kernels here. Note that this is a paginated API endpoint (docs).
    MemoryLimit int
    The memory limit of the Config. Defaults to the total ram of the Linode.
    RootDevice string
    The root device to boot. (default /dev/sda)
    RunLevel string
    Defines the state of your Linode after booting. (default, single, binbash)
    VirtMode string
    Controls the virtualization mode. (paravirt, fullvirt)
    label String
    The Config’s label for display purposes only.


    linodeId Integer
    The ID of the Linode to create this configuration profile under.
    booted Boolean
    If true, the Linode will be booted into this config. If another config is booted, the Linode will be rebooted into this config. If false, the Linode will be shutdown only if it is currently booted into this config. If undefined, the config will alter the boot status of the Linode.
    comments String

    Optional field for arbitrary User comments on this Config.

    • devices - (Optional) A dictionary of device disks to use as a device map in a Linode’s configuration profile.

    • helpers - (Optional) Helpers enabled when booting to this Linode Config.

    • interface - (Optional) An array of Network Interfaces to use for this Configuration Profile.

    device List<InstanceConfigDevice>
    Blocks for device disks in a Linode's configuration profile.
    devices InstanceConfigDevices
    A dictionary of device disks to use as a device map in a Linode's configuration profile.

    Deprecated: Devices attribute is deprecated in favor of device.

    helpers List<InstanceConfigHelper>
    Helpers enabled when booting to this Linode Config.
    interfaces List<InstanceConfigInterface>
    An array of Network Interfaces to add to this Linode's Configuration Profile.
    kernel String
    A Kernel ID to boot a Linode with. Default is linode/latest-64bit. Examples are linode/latest-64bit, linode/grub2, linode/direct-disk, etc. See all kernels here. Note that this is a paginated API endpoint (docs).
    memoryLimit Integer
    The memory limit of the Config. Defaults to the total ram of the Linode.
    rootDevice String
    The root device to boot. (default /dev/sda)
    runLevel String
    Defines the state of your Linode after booting. (default, single, binbash)
    virtMode String
    Controls the virtualization mode. (paravirt, fullvirt)
    label string
    The Config’s label for display purposes only.


    linodeId number
    The ID of the Linode to create this configuration profile under.
    booted boolean
    If true, the Linode will be booted into this config. If another config is booted, the Linode will be rebooted into this config. If false, the Linode will be shutdown only if it is currently booted into this config. If undefined, the config will alter the boot status of the Linode.
    comments string

    Optional field for arbitrary User comments on this Config.

    • devices - (Optional) A dictionary of device disks to use as a device map in a Linode’s configuration profile.

    • helpers - (Optional) Helpers enabled when booting to this Linode Config.

    • interface - (Optional) An array of Network Interfaces to use for this Configuration Profile.

    device InstanceConfigDevice[]
    Blocks for device disks in a Linode's configuration profile.
    devices InstanceConfigDevices
    A dictionary of device disks to use as a device map in a Linode's configuration profile.

    Deprecated: Devices attribute is deprecated in favor of device.

    helpers InstanceConfigHelper[]
    Helpers enabled when booting to this Linode Config.
    interfaces InstanceConfigInterface[]
    An array of Network Interfaces to add to this Linode's Configuration Profile.
    kernel string
    A Kernel ID to boot a Linode with. Default is linode/latest-64bit. Examples are linode/latest-64bit, linode/grub2, linode/direct-disk, etc. See all kernels here. Note that this is a paginated API endpoint (docs).
    memoryLimit number
    The memory limit of the Config. Defaults to the total ram of the Linode.
    rootDevice string
    The root device to boot. (default /dev/sda)
    runLevel string
    Defines the state of your Linode after booting. (default, single, binbash)
    virtMode string
    Controls the virtualization mode. (paravirt, fullvirt)
    label str
    The Config’s label for display purposes only.


    linode_id int
    The ID of the Linode to create this configuration profile under.
    booted bool
    If true, the Linode will be booted into this config. If another config is booted, the Linode will be rebooted into this config. If false, the Linode will be shutdown only if it is currently booted into this config. If undefined, the config will alter the boot status of the Linode.
    comments str

    Optional field for arbitrary User comments on this Config.

    • devices - (Optional) A dictionary of device disks to use as a device map in a Linode’s configuration profile.

    • helpers - (Optional) Helpers enabled when booting to this Linode Config.

    • interface - (Optional) An array of Network Interfaces to use for this Configuration Profile.

    device Sequence[InstanceConfigDeviceArgs]
    Blocks for device disks in a Linode's configuration profile.
    devices InstanceConfigDevicesArgs
    A dictionary of device disks to use as a device map in a Linode's configuration profile.

    Deprecated: Devices attribute is deprecated in favor of device.

    helpers Sequence[InstanceConfigHelperArgs]
    Helpers enabled when booting to this Linode Config.
    interfaces Sequence[InstanceConfigInterfaceArgs]
    An array of Network Interfaces to add to this Linode's Configuration Profile.
    kernel str
    A Kernel ID to boot a Linode with. Default is linode/latest-64bit. Examples are linode/latest-64bit, linode/grub2, linode/direct-disk, etc. See all kernels here. Note that this is a paginated API endpoint (docs).
    memory_limit int
    The memory limit of the Config. Defaults to the total ram of the Linode.
    root_device str
    The root device to boot. (default /dev/sda)
    run_level str
    Defines the state of your Linode after booting. (default, single, binbash)
    virt_mode str
    Controls the virtualization mode. (paravirt, fullvirt)
    label String
    The Config’s label for display purposes only.


    linodeId Number
    The ID of the Linode to create this configuration profile under.
    booted Boolean
    If true, the Linode will be booted into this config. If another config is booted, the Linode will be rebooted into this config. If false, the Linode will be shutdown only if it is currently booted into this config. If undefined, the config will alter the boot status of the Linode.
    comments String

    Optional field for arbitrary User comments on this Config.

    • devices - (Optional) A dictionary of device disks to use as a device map in a Linode’s configuration profile.

    • helpers - (Optional) Helpers enabled when booting to this Linode Config.

    • interface - (Optional) An array of Network Interfaces to use for this Configuration Profile.

    device List<Property Map>
    Blocks for device disks in a Linode's configuration profile.
    devices Property Map
    A dictionary of device disks to use as a device map in a Linode's configuration profile.

    Deprecated: Devices attribute is deprecated in favor of device.

    helpers List<Property Map>
    Helpers enabled when booting to this Linode Config.
    interfaces List<Property Map>
    An array of Network Interfaces to add to this Linode's Configuration Profile.
    kernel String
    A Kernel ID to boot a Linode with. Default is linode/latest-64bit. Examples are linode/latest-64bit, linode/grub2, linode/direct-disk, etc. See all kernels here. Note that this is a paginated API endpoint (docs).
    memoryLimit Number
    The memory limit of the Config. Defaults to the total ram of the Linode.
    rootDevice String
    The root device to boot. (default /dev/sda)
    runLevel String
    Defines the state of your Linode after booting. (default, single, binbash)
    virtMode String
    Controls the virtualization mode. (paravirt, fullvirt)

    Outputs

    All input properties are implicitly available as output properties. Additionally, the InstanceConfig 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 str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing InstanceConfig Resource

    Get an existing InstanceConfig 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?: InstanceConfigState, opts?: CustomResourceOptions): InstanceConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            booted: Optional[bool] = None,
            comments: Optional[str] = None,
            device: Optional[Sequence[InstanceConfigDeviceArgs]] = None,
            devices: Optional[InstanceConfigDevicesArgs] = None,
            helpers: Optional[Sequence[InstanceConfigHelperArgs]] = None,
            interfaces: Optional[Sequence[InstanceConfigInterfaceArgs]] = None,
            kernel: Optional[str] = None,
            label: Optional[str] = None,
            linode_id: Optional[int] = None,
            memory_limit: Optional[int] = None,
            root_device: Optional[str] = None,
            run_level: Optional[str] = None,
            virt_mode: Optional[str] = None) -> InstanceConfig
    func GetInstanceConfig(ctx *Context, name string, id IDInput, state *InstanceConfigState, opts ...ResourceOption) (*InstanceConfig, error)
    public static InstanceConfig Get(string name, Input<string> id, InstanceConfigState? state, CustomResourceOptions? opts = null)
    public static InstanceConfig get(String name, Output<String> id, InstanceConfigState 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:
    Booted bool
    If true, the Linode will be booted into this config. If another config is booted, the Linode will be rebooted into this config. If false, the Linode will be shutdown only if it is currently booted into this config. If undefined, the config will alter the boot status of the Linode.
    Comments string

    Optional field for arbitrary User comments on this Config.

    • devices - (Optional) A dictionary of device disks to use as a device map in a Linode’s configuration profile.

    • helpers - (Optional) Helpers enabled when booting to this Linode Config.

    • interface - (Optional) An array of Network Interfaces to use for this Configuration Profile.

    Device List<InstanceConfigDevice>
    Blocks for device disks in a Linode's configuration profile.
    Devices InstanceConfigDevices
    A dictionary of device disks to use as a device map in a Linode's configuration profile.

    Deprecated: Devices attribute is deprecated in favor of device.

    Helpers List<InstanceConfigHelper>
    Helpers enabled when booting to this Linode Config.
    Interfaces List<InstanceConfigInterface>
    An array of Network Interfaces to add to this Linode's Configuration Profile.
    Kernel string
    A Kernel ID to boot a Linode with. Default is linode/latest-64bit. Examples are linode/latest-64bit, linode/grub2, linode/direct-disk, etc. See all kernels here. Note that this is a paginated API endpoint (docs).
    Label string
    The Config’s label for display purposes only.


    LinodeId int
    The ID of the Linode to create this configuration profile under.
    MemoryLimit int
    The memory limit of the Config. Defaults to the total ram of the Linode.
    RootDevice string
    The root device to boot. (default /dev/sda)
    RunLevel string
    Defines the state of your Linode after booting. (default, single, binbash)
    VirtMode string
    Controls the virtualization mode. (paravirt, fullvirt)
    Booted bool
    If true, the Linode will be booted into this config. If another config is booted, the Linode will be rebooted into this config. If false, the Linode will be shutdown only if it is currently booted into this config. If undefined, the config will alter the boot status of the Linode.
    Comments string

    Optional field for arbitrary User comments on this Config.

    • devices - (Optional) A dictionary of device disks to use as a device map in a Linode’s configuration profile.

    • helpers - (Optional) Helpers enabled when booting to this Linode Config.

    • interface - (Optional) An array of Network Interfaces to use for this Configuration Profile.

    Device []InstanceConfigDeviceArgs
    Blocks for device disks in a Linode's configuration profile.
    Devices InstanceConfigDevicesArgs
    A dictionary of device disks to use as a device map in a Linode's configuration profile.

    Deprecated: Devices attribute is deprecated in favor of device.

    Helpers []InstanceConfigHelperArgs
    Helpers enabled when booting to this Linode Config.
    Interfaces []InstanceConfigInterfaceArgs
    An array of Network Interfaces to add to this Linode's Configuration Profile.
    Kernel string
    A Kernel ID to boot a Linode with. Default is linode/latest-64bit. Examples are linode/latest-64bit, linode/grub2, linode/direct-disk, etc. See all kernels here. Note that this is a paginated API endpoint (docs).
    Label string
    The Config’s label for display purposes only.


    LinodeId int
    The ID of the Linode to create this configuration profile under.
    MemoryLimit int
    The memory limit of the Config. Defaults to the total ram of the Linode.
    RootDevice string
    The root device to boot. (default /dev/sda)
    RunLevel string
    Defines the state of your Linode after booting. (default, single, binbash)
    VirtMode string
    Controls the virtualization mode. (paravirt, fullvirt)
    booted Boolean
    If true, the Linode will be booted into this config. If another config is booted, the Linode will be rebooted into this config. If false, the Linode will be shutdown only if it is currently booted into this config. If undefined, the config will alter the boot status of the Linode.
    comments String

    Optional field for arbitrary User comments on this Config.

    • devices - (Optional) A dictionary of device disks to use as a device map in a Linode’s configuration profile.

    • helpers - (Optional) Helpers enabled when booting to this Linode Config.

    • interface - (Optional) An array of Network Interfaces to use for this Configuration Profile.

    device List<InstanceConfigDevice>
    Blocks for device disks in a Linode's configuration profile.
    devices InstanceConfigDevices
    A dictionary of device disks to use as a device map in a Linode's configuration profile.

    Deprecated: Devices attribute is deprecated in favor of device.

    helpers List<InstanceConfigHelper>
    Helpers enabled when booting to this Linode Config.
    interfaces List<InstanceConfigInterface>
    An array of Network Interfaces to add to this Linode's Configuration Profile.
    kernel String
    A Kernel ID to boot a Linode with. Default is linode/latest-64bit. Examples are linode/latest-64bit, linode/grub2, linode/direct-disk, etc. See all kernels here. Note that this is a paginated API endpoint (docs).
    label String
    The Config’s label for display purposes only.


    linodeId Integer
    The ID of the Linode to create this configuration profile under.
    memoryLimit Integer
    The memory limit of the Config. Defaults to the total ram of the Linode.
    rootDevice String
    The root device to boot. (default /dev/sda)
    runLevel String
    Defines the state of your Linode after booting. (default, single, binbash)
    virtMode String
    Controls the virtualization mode. (paravirt, fullvirt)
    booted boolean
    If true, the Linode will be booted into this config. If another config is booted, the Linode will be rebooted into this config. If false, the Linode will be shutdown only if it is currently booted into this config. If undefined, the config will alter the boot status of the Linode.
    comments string

    Optional field for arbitrary User comments on this Config.

    • devices - (Optional) A dictionary of device disks to use as a device map in a Linode’s configuration profile.

    • helpers - (Optional) Helpers enabled when booting to this Linode Config.

    • interface - (Optional) An array of Network Interfaces to use for this Configuration Profile.

    device InstanceConfigDevice[]
    Blocks for device disks in a Linode's configuration profile.
    devices InstanceConfigDevices
    A dictionary of device disks to use as a device map in a Linode's configuration profile.

    Deprecated: Devices attribute is deprecated in favor of device.

    helpers InstanceConfigHelper[]
    Helpers enabled when booting to this Linode Config.
    interfaces InstanceConfigInterface[]
    An array of Network Interfaces to add to this Linode's Configuration Profile.
    kernel string
    A Kernel ID to boot a Linode with. Default is linode/latest-64bit. Examples are linode/latest-64bit, linode/grub2, linode/direct-disk, etc. See all kernels here. Note that this is a paginated API endpoint (docs).
    label string
    The Config’s label for display purposes only.


    linodeId number
    The ID of the Linode to create this configuration profile under.
    memoryLimit number
    The memory limit of the Config. Defaults to the total ram of the Linode.
    rootDevice string
    The root device to boot. (default /dev/sda)
    runLevel string
    Defines the state of your Linode after booting. (default, single, binbash)
    virtMode string
    Controls the virtualization mode. (paravirt, fullvirt)
    booted bool
    If true, the Linode will be booted into this config. If another config is booted, the Linode will be rebooted into this config. If false, the Linode will be shutdown only if it is currently booted into this config. If undefined, the config will alter the boot status of the Linode.
    comments str

    Optional field for arbitrary User comments on this Config.

    • devices - (Optional) A dictionary of device disks to use as a device map in a Linode’s configuration profile.

    • helpers - (Optional) Helpers enabled when booting to this Linode Config.

    • interface - (Optional) An array of Network Interfaces to use for this Configuration Profile.

    device Sequence[InstanceConfigDeviceArgs]
    Blocks for device disks in a Linode's configuration profile.
    devices InstanceConfigDevicesArgs
    A dictionary of device disks to use as a device map in a Linode's configuration profile.

    Deprecated: Devices attribute is deprecated in favor of device.

    helpers Sequence[InstanceConfigHelperArgs]
    Helpers enabled when booting to this Linode Config.
    interfaces Sequence[InstanceConfigInterfaceArgs]
    An array of Network Interfaces to add to this Linode's Configuration Profile.
    kernel str
    A Kernel ID to boot a Linode with. Default is linode/latest-64bit. Examples are linode/latest-64bit, linode/grub2, linode/direct-disk, etc. See all kernels here. Note that this is a paginated API endpoint (docs).
    label str
    The Config’s label for display purposes only.


    linode_id int
    The ID of the Linode to create this configuration profile under.
    memory_limit int
    The memory limit of the Config. Defaults to the total ram of the Linode.
    root_device str
    The root device to boot. (default /dev/sda)
    run_level str
    Defines the state of your Linode after booting. (default, single, binbash)
    virt_mode str
    Controls the virtualization mode. (paravirt, fullvirt)
    booted Boolean
    If true, the Linode will be booted into this config. If another config is booted, the Linode will be rebooted into this config. If false, the Linode will be shutdown only if it is currently booted into this config. If undefined, the config will alter the boot status of the Linode.
    comments String

    Optional field for arbitrary User comments on this Config.

    • devices - (Optional) A dictionary of device disks to use as a device map in a Linode’s configuration profile.

    • helpers - (Optional) Helpers enabled when booting to this Linode Config.

    • interface - (Optional) An array of Network Interfaces to use for this Configuration Profile.

    device List<Property Map>
    Blocks for device disks in a Linode's configuration profile.
    devices Property Map
    A dictionary of device disks to use as a device map in a Linode's configuration profile.

    Deprecated: Devices attribute is deprecated in favor of device.

    helpers List<Property Map>
    Helpers enabled when booting to this Linode Config.
    interfaces List<Property Map>
    An array of Network Interfaces to add to this Linode's Configuration Profile.
    kernel String
    A Kernel ID to boot a Linode with. Default is linode/latest-64bit. Examples are linode/latest-64bit, linode/grub2, linode/direct-disk, etc. See all kernels here. Note that this is a paginated API endpoint (docs).
    label String
    The Config’s label for display purposes only.


    linodeId Number
    The ID of the Linode to create this configuration profile under.
    memoryLimit Number
    The memory limit of the Config. Defaults to the total ram of the Linode.
    rootDevice String
    The root device to boot. (default /dev/sda)
    runLevel String
    Defines the state of your Linode after booting. (default, single, binbash)
    virtMode String
    Controls the virtualization mode. (paravirt, fullvirt)

    Supporting Types

    InstanceConfigDevice, InstanceConfigDeviceArgs

    DeviceName string
    The Disk ID to map to this disk slot
    DiskId int
    The Disk ID to map to this disk slot
    VolumeId int
    The Block Storage volume ID to map to this disk slot
    DeviceName string
    The Disk ID to map to this disk slot
    DiskId int
    The Disk ID to map to this disk slot
    VolumeId int
    The Block Storage volume ID to map to this disk slot
    deviceName String
    The Disk ID to map to this disk slot
    diskId Integer
    The Disk ID to map to this disk slot
    volumeId Integer
    The Block Storage volume ID to map to this disk slot
    deviceName string
    The Disk ID to map to this disk slot
    diskId number
    The Disk ID to map to this disk slot
    volumeId number
    The Block Storage volume ID to map to this disk slot
    device_name str
    The Disk ID to map to this disk slot
    disk_id int
    The Disk ID to map to this disk slot
    volume_id int
    The Block Storage volume ID to map to this disk slot
    deviceName String
    The Disk ID to map to this disk slot
    diskId Number
    The Disk ID to map to this disk slot
    volumeId Number
    The Block Storage volume ID to map to this disk slot

    InstanceConfigDevices, InstanceConfigDevicesArgs

    Sda InstanceConfigDevicesSda
    ... sdh - (Optional) The SDA-SDH slots, represent the Linux block device nodes for the first 8 disks attached to the Linode. Each device must be suplied sequentially. The device can be either a Disk or a Volume identified by disk_id or volume_id. Only one disk identifier is permitted per slot. Devices mapped from sde through sdh are unavailable in "fullvirt" virt_mode.
    Sdb InstanceConfigDevicesSdb
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    Sdc InstanceConfigDevicesSdc
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    Sdd InstanceConfigDevicesSdd
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    Sde InstanceConfigDevicesSde
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    Sdf InstanceConfigDevicesSdf
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    Sdg InstanceConfigDevicesSdg
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    Sdh InstanceConfigDevicesSdh
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    Sda InstanceConfigDevicesSda
    ... sdh - (Optional) The SDA-SDH slots, represent the Linux block device nodes for the first 8 disks attached to the Linode. Each device must be suplied sequentially. The device can be either a Disk or a Volume identified by disk_id or volume_id. Only one disk identifier is permitted per slot. Devices mapped from sde through sdh are unavailable in "fullvirt" virt_mode.
    Sdb InstanceConfigDevicesSdb
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    Sdc InstanceConfigDevicesSdc
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    Sdd InstanceConfigDevicesSdd
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    Sde InstanceConfigDevicesSde
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    Sdf InstanceConfigDevicesSdf
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    Sdg InstanceConfigDevicesSdg
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    Sdh InstanceConfigDevicesSdh
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sda InstanceConfigDevicesSda
    ... sdh - (Optional) The SDA-SDH slots, represent the Linux block device nodes for the first 8 disks attached to the Linode. Each device must be suplied sequentially. The device can be either a Disk or a Volume identified by disk_id or volume_id. Only one disk identifier is permitted per slot. Devices mapped from sde through sdh are unavailable in "fullvirt" virt_mode.
    sdb InstanceConfigDevicesSdb
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdc InstanceConfigDevicesSdc
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdd InstanceConfigDevicesSdd
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sde InstanceConfigDevicesSde
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdf InstanceConfigDevicesSdf
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdg InstanceConfigDevicesSdg
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdh InstanceConfigDevicesSdh
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sda InstanceConfigDevicesSda
    ... sdh - (Optional) The SDA-SDH slots, represent the Linux block device nodes for the first 8 disks attached to the Linode. Each device must be suplied sequentially. The device can be either a Disk or a Volume identified by disk_id or volume_id. Only one disk identifier is permitted per slot. Devices mapped from sde through sdh are unavailable in "fullvirt" virt_mode.
    sdb InstanceConfigDevicesSdb
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdc InstanceConfigDevicesSdc
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdd InstanceConfigDevicesSdd
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sde InstanceConfigDevicesSde
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdf InstanceConfigDevicesSdf
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdg InstanceConfigDevicesSdg
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdh InstanceConfigDevicesSdh
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sda InstanceConfigDevicesSda
    ... sdh - (Optional) The SDA-SDH slots, represent the Linux block device nodes for the first 8 disks attached to the Linode. Each device must be suplied sequentially. The device can be either a Disk or a Volume identified by disk_id or volume_id. Only one disk identifier is permitted per slot. Devices mapped from sde through sdh are unavailable in "fullvirt" virt_mode.
    sdb InstanceConfigDevicesSdb
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdc InstanceConfigDevicesSdc
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdd InstanceConfigDevicesSdd
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sde InstanceConfigDevicesSde
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdf InstanceConfigDevicesSdf
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdg InstanceConfigDevicesSdg
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdh InstanceConfigDevicesSdh
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sda Property Map
    ... sdh - (Optional) The SDA-SDH slots, represent the Linux block device nodes for the first 8 disks attached to the Linode. Each device must be suplied sequentially. The device can be either a Disk or a Volume identified by disk_id or volume_id. Only one disk identifier is permitted per slot. Devices mapped from sde through sdh are unavailable in "fullvirt" virt_mode.
    sdb Property Map
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdc Property Map
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdd Property Map
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sde Property Map
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdf Property Map
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdg Property Map
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.
    sdh Property Map
    Device can be either a Disk or Volume identified by disk_id or volume_id. Only one type per slot allowed.

    InstanceConfigDevicesSda, InstanceConfigDevicesSdaArgs

    DiskId int
    The Disk ID to map to this device slot
    VolumeId int
    The Volume ID to map to this device slot.
    DiskId int
    The Disk ID to map to this device slot
    VolumeId int
    The Volume ID to map to this device slot.
    diskId Integer
    The Disk ID to map to this device slot
    volumeId Integer
    The Volume ID to map to this device slot.
    diskId number
    The Disk ID to map to this device slot
    volumeId number
    The Volume ID to map to this device slot.
    disk_id int
    The Disk ID to map to this device slot
    volume_id int
    The Volume ID to map to this device slot.
    diskId Number
    The Disk ID to map to this device slot
    volumeId Number
    The Volume ID to map to this device slot.

    InstanceConfigDevicesSdb, InstanceConfigDevicesSdbArgs

    DiskId int
    The Disk ID to map to this disk slot
    VolumeId int
    The Block Storage volume ID to map to this disk slot
    DiskId int
    The Disk ID to map to this disk slot
    VolumeId int
    The Block Storage volume ID to map to this disk slot
    diskId Integer
    The Disk ID to map to this disk slot
    volumeId Integer
    The Block Storage volume ID to map to this disk slot
    diskId number
    The Disk ID to map to this disk slot
    volumeId number
    The Block Storage volume ID to map to this disk slot
    disk_id int
    The Disk ID to map to this disk slot
    volume_id int
    The Block Storage volume ID to map to this disk slot
    diskId Number
    The Disk ID to map to this disk slot
    volumeId Number
    The Block Storage volume ID to map to this disk slot

    InstanceConfigDevicesSdc, InstanceConfigDevicesSdcArgs

    DiskId int
    The Disk ID to map to this disk slot
    VolumeId int
    The Block Storage volume ID to map to this disk slot
    DiskId int
    The Disk ID to map to this disk slot
    VolumeId int
    The Block Storage volume ID to map to this disk slot
    diskId Integer
    The Disk ID to map to this disk slot
    volumeId Integer
    The Block Storage volume ID to map to this disk slot
    diskId number
    The Disk ID to map to this disk slot
    volumeId number
    The Block Storage volume ID to map to this disk slot
    disk_id int
    The Disk ID to map to this disk slot
    volume_id int
    The Block Storage volume ID to map to this disk slot
    diskId Number
    The Disk ID to map to this disk slot
    volumeId Number
    The Block Storage volume ID to map to this disk slot

    InstanceConfigDevicesSdd, InstanceConfigDevicesSddArgs

    DiskId int
    The Disk ID to map to this disk slot
    VolumeId int
    The Block Storage volume ID to map to this disk slot
    DiskId int
    The Disk ID to map to this disk slot
    VolumeId int
    The Block Storage volume ID to map to this disk slot
    diskId Integer
    The Disk ID to map to this disk slot
    volumeId Integer
    The Block Storage volume ID to map to this disk slot
    diskId number
    The Disk ID to map to this disk slot
    volumeId number
    The Block Storage volume ID to map to this disk slot
    disk_id int
    The Disk ID to map to this disk slot
    volume_id int
    The Block Storage volume ID to map to this disk slot
    diskId Number
    The Disk ID to map to this disk slot
    volumeId Number
    The Block Storage volume ID to map to this disk slot

    InstanceConfigDevicesSde, InstanceConfigDevicesSdeArgs

    DiskId int
    The Disk ID to map to this disk slot
    VolumeId int
    The Block Storage volume ID to map to this disk slot
    DiskId int
    The Disk ID to map to this disk slot
    VolumeId int
    The Block Storage volume ID to map to this disk slot
    diskId Integer
    The Disk ID to map to this disk slot
    volumeId Integer
    The Block Storage volume ID to map to this disk slot
    diskId number
    The Disk ID to map to this disk slot
    volumeId number
    The Block Storage volume ID to map to this disk slot
    disk_id int
    The Disk ID to map to this disk slot
    volume_id int
    The Block Storage volume ID to map to this disk slot
    diskId Number
    The Disk ID to map to this disk slot
    volumeId Number
    The Block Storage volume ID to map to this disk slot

    InstanceConfigDevicesSdf, InstanceConfigDevicesSdfArgs

    DiskId int
    The Disk ID to map to this disk slot
    VolumeId int
    The Block Storage volume ID to map to this disk slot
    DiskId int
    The Disk ID to map to this disk slot
    VolumeId int
    The Block Storage volume ID to map to this disk slot
    diskId Integer
    The Disk ID to map to this disk slot
    volumeId Integer
    The Block Storage volume ID to map to this disk slot
    diskId number
    The Disk ID to map to this disk slot
    volumeId number
    The Block Storage volume ID to map to this disk slot
    disk_id int
    The Disk ID to map to this disk slot
    volume_id int
    The Block Storage volume ID to map to this disk slot
    diskId Number
    The Disk ID to map to this disk slot
    volumeId Number
    The Block Storage volume ID to map to this disk slot

    InstanceConfigDevicesSdg, InstanceConfigDevicesSdgArgs

    DiskId int
    The Disk ID to map to this disk slot
    VolumeId int
    The Block Storage volume ID to map to this disk slot
    DiskId int
    The Disk ID to map to this disk slot
    VolumeId int
    The Block Storage volume ID to map to this disk slot
    diskId Integer
    The Disk ID to map to this disk slot
    volumeId Integer
    The Block Storage volume ID to map to this disk slot
    diskId number
    The Disk ID to map to this disk slot
    volumeId number
    The Block Storage volume ID to map to this disk slot
    disk_id int
    The Disk ID to map to this disk slot
    volume_id int
    The Block Storage volume ID to map to this disk slot
    diskId Number
    The Disk ID to map to this disk slot
    volumeId Number
    The Block Storage volume ID to map to this disk slot

    InstanceConfigDevicesSdh, InstanceConfigDevicesSdhArgs

    DiskId int
    The Disk ID to map to this disk slot
    VolumeId int
    The Block Storage volume ID to map to this disk slot
    DiskId int
    The Disk ID to map to this disk slot
    VolumeId int
    The Block Storage volume ID to map to this disk slot
    diskId Integer
    The Disk ID to map to this disk slot
    volumeId Integer
    The Block Storage volume ID to map to this disk slot
    diskId number
    The Disk ID to map to this disk slot
    volumeId number
    The Block Storage volume ID to map to this disk slot
    disk_id int
    The Disk ID to map to this disk slot
    volume_id int
    The Block Storage volume ID to map to this disk slot
    diskId Number
    The Disk ID to map to this disk slot
    volumeId Number
    The Block Storage volume ID to map to this disk slot

    InstanceConfigHelper, InstanceConfigHelperArgs

    DevtmpfsAutomount bool
    Populates the /dev directory early during boot without udev. (default true)
    Distro bool
    Helps maintain correct inittab/upstart console device. (default true)
    ModulesDep bool
    Creates a modules dependency file for the Kernel you run. (default true)
    Network bool
    Automatically configures static networking. (default true)
    UpdatedbDisabled bool
    Disables updatedb cron job to avoid disk thrashing. (default true)
    DevtmpfsAutomount bool
    Populates the /dev directory early during boot without udev. (default true)
    Distro bool
    Helps maintain correct inittab/upstart console device. (default true)
    ModulesDep bool
    Creates a modules dependency file for the Kernel you run. (default true)
    Network bool
    Automatically configures static networking. (default true)
    UpdatedbDisabled bool
    Disables updatedb cron job to avoid disk thrashing. (default true)
    devtmpfsAutomount Boolean
    Populates the /dev directory early during boot without udev. (default true)
    distro Boolean
    Helps maintain correct inittab/upstart console device. (default true)
    modulesDep Boolean
    Creates a modules dependency file for the Kernel you run. (default true)
    network Boolean
    Automatically configures static networking. (default true)
    updatedbDisabled Boolean
    Disables updatedb cron job to avoid disk thrashing. (default true)
    devtmpfsAutomount boolean
    Populates the /dev directory early during boot without udev. (default true)
    distro boolean
    Helps maintain correct inittab/upstart console device. (default true)
    modulesDep boolean
    Creates a modules dependency file for the Kernel you run. (default true)
    network boolean
    Automatically configures static networking. (default true)
    updatedbDisabled boolean
    Disables updatedb cron job to avoid disk thrashing. (default true)
    devtmpfs_automount bool
    Populates the /dev directory early during boot without udev. (default true)
    distro bool
    Helps maintain correct inittab/upstart console device. (default true)
    modules_dep bool
    Creates a modules dependency file for the Kernel you run. (default true)
    network bool
    Automatically configures static networking. (default true)
    updatedb_disabled bool
    Disables updatedb cron job to avoid disk thrashing. (default true)
    devtmpfsAutomount Boolean
    Populates the /dev directory early during boot without udev. (default true)
    distro Boolean
    Helps maintain correct inittab/upstart console device. (default true)
    modulesDep Boolean
    Creates a modules dependency file for the Kernel you run. (default true)
    network Boolean
    Automatically configures static networking. (default true)
    updatedbDisabled Boolean
    Disables updatedb cron job to avoid disk thrashing. (default true)

    InstanceConfigInterface, InstanceConfigInterfaceArgs

    Purpose string
    The type of interface. (public, vlan, vpc)
    Active bool
    Whether this interface is currently booted and active.
    Id int
    The ID of the interface.
    IpRanges List<string>
    IPv4 CIDR VPC Subnet ranges that are routed to this Interface. IPv6 ranges are also available to select participants in the Beta program.
    IpamAddress string
    This Network Interface’s private IP address in Classless Inter-Domain Routing (CIDR) notation. (e.g. 10.0.0.1/24) This field is only allowed for interfaces with the vlan purpose.
    Ipv4 InstanceConfigInterfaceIpv4
    The IPv4 configuration of the VPC interface.This attribute is only allowed for VPC interfaces.
    Label string
    The name of the VLAN to join. This field is only allowed and required for interfaces with the vlan purpose.
    Primary bool

    Whether the interface is the primary interface that should have the default route for this Linode. This field is only allowed for interfaces with the public or vpc purpose.

    • ipv4 - (Optional) The IPv4 configuration of the VPC interface. This field is currently only allowed for interfaces with the vpc purpose.

    The following computed attribute is available in a VPC interface:

    SubnetId int
    The name of the VPC Subnet to join. This field is only allowed and required for interfaces with the vpc purpose.
    VpcId int
    The ID of VPC which this interface is attached to.
    Purpose string
    The type of interface. (public, vlan, vpc)
    Active bool
    Whether this interface is currently booted and active.
    Id int
    The ID of the interface.
    IpRanges []string
    IPv4 CIDR VPC Subnet ranges that are routed to this Interface. IPv6 ranges are also available to select participants in the Beta program.
    IpamAddress string
    This Network Interface’s private IP address in Classless Inter-Domain Routing (CIDR) notation. (e.g. 10.0.0.1/24) This field is only allowed for interfaces with the vlan purpose.
    Ipv4 InstanceConfigInterfaceIpv4
    The IPv4 configuration of the VPC interface.This attribute is only allowed for VPC interfaces.
    Label string
    The name of the VLAN to join. This field is only allowed and required for interfaces with the vlan purpose.
    Primary bool

    Whether the interface is the primary interface that should have the default route for this Linode. This field is only allowed for interfaces with the public or vpc purpose.

    • ipv4 - (Optional) The IPv4 configuration of the VPC interface. This field is currently only allowed for interfaces with the vpc purpose.

    The following computed attribute is available in a VPC interface:

    SubnetId int
    The name of the VPC Subnet to join. This field is only allowed and required for interfaces with the vpc purpose.
    VpcId int
    The ID of VPC which this interface is attached to.
    purpose String
    The type of interface. (public, vlan, vpc)
    active Boolean
    Whether this interface is currently booted and active.
    id Integer
    The ID of the interface.
    ipRanges List<String>
    IPv4 CIDR VPC Subnet ranges that are routed to this Interface. IPv6 ranges are also available to select participants in the Beta program.
    ipamAddress String
    This Network Interface’s private IP address in Classless Inter-Domain Routing (CIDR) notation. (e.g. 10.0.0.1/24) This field is only allowed for interfaces with the vlan purpose.
    ipv4 InstanceConfigInterfaceIpv4
    The IPv4 configuration of the VPC interface.This attribute is only allowed for VPC interfaces.
    label String
    The name of the VLAN to join. This field is only allowed and required for interfaces with the vlan purpose.
    primary Boolean

    Whether the interface is the primary interface that should have the default route for this Linode. This field is only allowed for interfaces with the public or vpc purpose.

    • ipv4 - (Optional) The IPv4 configuration of the VPC interface. This field is currently only allowed for interfaces with the vpc purpose.

    The following computed attribute is available in a VPC interface:

    subnetId Integer
    The name of the VPC Subnet to join. This field is only allowed and required for interfaces with the vpc purpose.
    vpcId Integer
    The ID of VPC which this interface is attached to.
    purpose string
    The type of interface. (public, vlan, vpc)
    active boolean
    Whether this interface is currently booted and active.
    id number
    The ID of the interface.
    ipRanges string[]
    IPv4 CIDR VPC Subnet ranges that are routed to this Interface. IPv6 ranges are also available to select participants in the Beta program.
    ipamAddress string
    This Network Interface’s private IP address in Classless Inter-Domain Routing (CIDR) notation. (e.g. 10.0.0.1/24) This field is only allowed for interfaces with the vlan purpose.
    ipv4 InstanceConfigInterfaceIpv4
    The IPv4 configuration of the VPC interface.This attribute is only allowed for VPC interfaces.
    label string
    The name of the VLAN to join. This field is only allowed and required for interfaces with the vlan purpose.
    primary boolean

    Whether the interface is the primary interface that should have the default route for this Linode. This field is only allowed for interfaces with the public or vpc purpose.

    • ipv4 - (Optional) The IPv4 configuration of the VPC interface. This field is currently only allowed for interfaces with the vpc purpose.

    The following computed attribute is available in a VPC interface:

    subnetId number
    The name of the VPC Subnet to join. This field is only allowed and required for interfaces with the vpc purpose.
    vpcId number
    The ID of VPC which this interface is attached to.
    purpose str
    The type of interface. (public, vlan, vpc)
    active bool
    Whether this interface is currently booted and active.
    id int
    The ID of the interface.
    ip_ranges Sequence[str]
    IPv4 CIDR VPC Subnet ranges that are routed to this Interface. IPv6 ranges are also available to select participants in the Beta program.
    ipam_address str
    This Network Interface’s private IP address in Classless Inter-Domain Routing (CIDR) notation. (e.g. 10.0.0.1/24) This field is only allowed for interfaces with the vlan purpose.
    ipv4 InstanceConfigInterfaceIpv4
    The IPv4 configuration of the VPC interface.This attribute is only allowed for VPC interfaces.
    label str
    The name of the VLAN to join. This field is only allowed and required for interfaces with the vlan purpose.
    primary bool

    Whether the interface is the primary interface that should have the default route for this Linode. This field is only allowed for interfaces with the public or vpc purpose.

    • ipv4 - (Optional) The IPv4 configuration of the VPC interface. This field is currently only allowed for interfaces with the vpc purpose.

    The following computed attribute is available in a VPC interface:

    subnet_id int
    The name of the VPC Subnet to join. This field is only allowed and required for interfaces with the vpc purpose.
    vpc_id int
    The ID of VPC which this interface is attached to.
    purpose String
    The type of interface. (public, vlan, vpc)
    active Boolean
    Whether this interface is currently booted and active.
    id Number
    The ID of the interface.
    ipRanges List<String>
    IPv4 CIDR VPC Subnet ranges that are routed to this Interface. IPv6 ranges are also available to select participants in the Beta program.
    ipamAddress String
    This Network Interface’s private IP address in Classless Inter-Domain Routing (CIDR) notation. (e.g. 10.0.0.1/24) This field is only allowed for interfaces with the vlan purpose.
    ipv4 Property Map
    The IPv4 configuration of the VPC interface.This attribute is only allowed for VPC interfaces.
    label String
    The name of the VLAN to join. This field is only allowed and required for interfaces with the vlan purpose.
    primary Boolean

    Whether the interface is the primary interface that should have the default route for this Linode. This field is only allowed for interfaces with the public or vpc purpose.

    • ipv4 - (Optional) The IPv4 configuration of the VPC interface. This field is currently only allowed for interfaces with the vpc purpose.

    The following computed attribute is available in a VPC interface:

    subnetId Number
    The name of the VPC Subnet to join. This field is only allowed and required for interfaces with the vpc purpose.
    vpcId Number
    The ID of VPC which this interface is attached to.

    InstanceConfigInterfaceIpv4, InstanceConfigInterfaceIpv4Args

    Nat11 string
    The public IP that will be used for the one-to-one NAT purpose. If this is any, the public IPv4 address assigned to this Linode is used on this interface and will be 1:1 NATted with the VPC IPv4 address.
    Vpc string
    The IP from the VPC subnet to use for this interface. A random address will be assigned if this is not specified in a VPC interface.
    Nat11 string
    The public IP that will be used for the one-to-one NAT purpose. If this is any, the public IPv4 address assigned to this Linode is used on this interface and will be 1:1 NATted with the VPC IPv4 address.
    Vpc string
    The IP from the VPC subnet to use for this interface. A random address will be assigned if this is not specified in a VPC interface.
    nat11 String
    The public IP that will be used for the one-to-one NAT purpose. If this is any, the public IPv4 address assigned to this Linode is used on this interface and will be 1:1 NATted with the VPC IPv4 address.
    vpc String
    The IP from the VPC subnet to use for this interface. A random address will be assigned if this is not specified in a VPC interface.
    nat11 string
    The public IP that will be used for the one-to-one NAT purpose. If this is any, the public IPv4 address assigned to this Linode is used on this interface and will be 1:1 NATted with the VPC IPv4 address.
    vpc string
    The IP from the VPC subnet to use for this interface. A random address will be assigned if this is not specified in a VPC interface.
    nat11 str
    The public IP that will be used for the one-to-one NAT purpose. If this is any, the public IPv4 address assigned to this Linode is used on this interface and will be 1:1 NATted with the VPC IPv4 address.
    vpc str
    The IP from the VPC subnet to use for this interface. A random address will be assigned if this is not specified in a VPC interface.
    nat11 String
    The public IP that will be used for the one-to-one NAT purpose. If this is any, the public IPv4 address assigned to this Linode is used on this interface and will be 1:1 NATted with the VPC IPv4 address.
    vpc String
    The IP from the VPC subnet to use for this interface. A random address will be assigned if this is not specified in a VPC interface.

    Import

    Instance Configs can be imported using the linode_id followed by the Instance Config id separated by a comma, e.g.

    $ pulumi import linode:index/instanceConfig:InstanceConfig my-config 1234567,7654321
    

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

    Package Details

    Repository
    Linode pulumi/pulumi-linode
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the linode Terraform Provider.
    linode logo
    Linode v4.30.0 published on Friday, Nov 8, 2024 by Pulumi