getInstances

Provides information about Linode instances that match a set of filters.

Filterable Fields

  • group

  • id

  • image

  • label

  • region

  • status

  • tags

  • type

  • watchdog_enabled

Example Usage

Get information about all Linode instances with a certain label and tag

using System.Collections.Generic;
using Pulumi;
using Linode = Pulumi.Linode;

return await Deployment.RunAsync(() => 
{
    var my_instances = Linode.GetInstances.Invoke(new()
    {
        Filters = new[]
        {
            new Linode.Inputs.GetInstancesFilterInputArgs
            {
                Name = "label",
                Values = new[]
                {
                    "my-label",
                    "my-other-label",
                },
            },
            new Linode.Inputs.GetInstancesFilterInputArgs
            {
                Name = "tags",
                Values = new[]
                {
                    "my-tag",
                },
            },
        },
    });

});
package main

import (
	"github.com/pulumi/pulumi-linode/sdk/v3/go/linode"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := linode.GetInstances(ctx, &GetInstancesArgs{
			Filters: []GetInstancesFilter{
				GetInstancesFilter{
					Name: "label",
					Values: []string{
						"my-label",
						"my-other-label",
					},
				},
				GetInstancesFilter{
					Name: "tags",
					Values: []string{
						"my-tag",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.LinodeFunctions;
import com.pulumi.linode.inputs.GetInstancesArgs;
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) {
        final var my-instances = LinodeFunctions.getInstances(GetInstancesArgs.builder()
            .filters(            
                GetInstancesFilterArgs.builder()
                    .name("label")
                    .values(                    
                        "my-label",
                        "my-other-label")
                    .build(),
                GetInstancesFilterArgs.builder()
                    .name("tags")
                    .values("my-tag")
                    .build())
            .build());

    }
}
import pulumi
import pulumi_linode as linode

my_instances = linode.get_instances(filters=[
    linode.GetInstancesFilterArgs(
        name="label",
        values=[
            "my-label",
            "my-other-label",
        ],
    ),
    linode.GetInstancesFilterArgs(
        name="tags",
        values=["my-tag"],
    ),
])
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";

const my_instances = pulumi.output(linode.getInstances({
    filters: [
        {
            name: "label",
            values: [
                "my-label",
                "my-other-label",
            ],
        },
        {
            name: "tags",
            values: ["my-tag"],
        },
    ],
}));
variables:
  my-instances:
    Fn::Invoke:
      Function: linode:getInstances
      Arguments:
        filters:
          - name: label
            values:
              - my-label
              - my-other-label
          - name: tags
            values:
              - my-tag

Get information about all Linode instances associated with the current token

using System.Collections.Generic;
using Pulumi;
using Linode = Pulumi.Linode;

return await Deployment.RunAsync(() => 
{
    var all_instances = Linode.GetInstances.Invoke();

});
package main

import (
	"github.com/pulumi/pulumi-linode/sdk/v3/go/linode"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := linode.GetInstances(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.linode.LinodeFunctions;
import com.pulumi.linode.inputs.GetInstancesArgs;
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) {
        final var all-instances = LinodeFunctions.getInstances();

    }
}
import pulumi
import pulumi_linode as linode

all_instances = linode.get_instances()
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";

const all_instances = pulumi.output(linode.getInstances());
variables:
  all-instances:
    Fn::Invoke:
      Function: linode:getInstances
      Arguments: {}

Using getInstances

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getInstances(args: GetInstancesArgs, opts?: InvokeOptions): Promise<GetInstancesResult>
function getInstancesOutput(args: GetInstancesOutputArgs, opts?: InvokeOptions): Output<GetInstancesResult>
def get_instances(filters: Optional[Sequence[GetInstancesFilter]] = None,
                  order: Optional[str] = None,
                  order_by: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetInstancesResult
def get_instances_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetInstancesFilterArgs]]]] = None,
                  order: Optional[pulumi.Input[str]] = None,
                  order_by: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetInstancesResult]
func GetInstances(ctx *Context, args *GetInstancesArgs, opts ...InvokeOption) (*GetInstancesResult, error)
func GetInstancesOutput(ctx *Context, args *GetInstancesOutputArgs, opts ...InvokeOption) GetInstancesResultOutput

> Note: This function is named GetInstances in the Go SDK.

public static class GetInstances 
{
    public static Task<GetInstancesResult> InvokeAsync(GetInstancesArgs args, InvokeOptions? opts = null)
    public static Output<GetInstancesResult> Invoke(GetInstancesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstancesResult> getInstances(GetInstancesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: linode:index/getInstances:getInstances
  arguments:
    # arguments dictionary

The following arguments are supported:

Filters List<GetInstancesFilter>
Order string

The order in which results should be returned. (asc, desc; default asc)

OrderBy string

The attribute to order the results by. See the Filterable Fields section for a list of valid fields.

Filters []GetInstancesFilter
Order string

The order in which results should be returned. (asc, desc; default asc)

OrderBy string

The attribute to order the results by. See the Filterable Fields section for a list of valid fields.

filters List<GetInstancesFilter>
order String

The order in which results should be returned. (asc, desc; default asc)

orderBy String

The attribute to order the results by. See the Filterable Fields section for a list of valid fields.

filters GetInstancesFilter[]
order string

The order in which results should be returned. (asc, desc; default asc)

orderBy string

The attribute to order the results by. See the Filterable Fields section for a list of valid fields.

filters Sequence[GetInstancesFilter]
order str

The order in which results should be returned. (asc, desc; default asc)

order_by str

The attribute to order the results by. See the Filterable Fields section for a list of valid fields.

filters List<Property Map>
order String

The order in which results should be returned. (asc, desc; default asc)

orderBy String

The attribute to order the results by. See the Filterable Fields section for a list of valid fields.

getInstances Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Instances List<GetInstancesInstance>
Filters List<GetInstancesFilter>
Order string
OrderBy string
Id string

The provider-assigned unique ID for this managed resource.

Instances []GetInstancesInstance
Filters []GetInstancesFilter
Order string
OrderBy string
id String

The provider-assigned unique ID for this managed resource.

instances List<GetInstancesInstance>
filters List<GetInstancesFilter>
order String
orderBy String
id string

The provider-assigned unique ID for this managed resource.

instances GetInstancesInstance[]
filters GetInstancesFilter[]
order string
orderBy string
id str

The provider-assigned unique ID for this managed resource.

instances Sequence[GetInstancesInstance]
filters Sequence[GetInstancesFilter]
order str
order_by str
id String

The provider-assigned unique ID for this managed resource.

instances List<Property Map>
filters List<Property Map>
order String
orderBy String

Supporting Types

GetInstancesFilter

Name string

The name of the field to filter by. See the Filterable Fields section for a list of filterable fields.

Values List<string>

A list of values for the filter to allow. These values should all be in string form.

MatchBy string

The method to match the field by. (exact, regex, substring; default exact)

Name string

The name of the field to filter by. See the Filterable Fields section for a list of filterable fields.

Values []string

A list of values for the filter to allow. These values should all be in string form.

MatchBy string

The method to match the field by. (exact, regex, substring; default exact)

name String

The name of the field to filter by. See the Filterable Fields section for a list of filterable fields.

values List<String>

A list of values for the filter to allow. These values should all be in string form.

matchBy String

The method to match the field by. (exact, regex, substring; default exact)

name string

The name of the field to filter by. See the Filterable Fields section for a list of filterable fields.

values string[]

A list of values for the filter to allow. These values should all be in string form.

matchBy string

The method to match the field by. (exact, regex, substring; default exact)

name str

The name of the field to filter by. See the Filterable Fields section for a list of filterable fields.

values Sequence[str]

A list of values for the filter to allow. These values should all be in string form.

match_by str

The method to match the field by. (exact, regex, substring; default exact)

name String

The name of the field to filter by. See the Filterable Fields section for a list of filterable fields.

values List<String>

A list of values for the filter to allow. These values should all be in string form.

matchBy String

The method to match the field by. (exact, regex, substring; default exact)

GetInstancesInstance

Alerts GetInstancesInstanceAlerts
Backups List<GetInstancesInstanceBackup>
BootConfigLabel string
Configs List<GetInstancesInstanceConfig>
Disks List<GetInstancesInstanceDisk>
Group string

The display group of the Linode instance.

Id int

The ID of the disk in the Linode API.

Image string

An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See images for more information on the Images available for you to use. Examples are linode/debian9, linode/fedora28, linode/ubuntu16.04lts, linode/arch, and private/12345. See all images here (Requires a personal access token; docs here). This value can not be imported. Changing image forces the creation of a new Linode Instance.

IpAddress string

A string containing the Linode's public IP address.

Ipv4s List<string>

This Linode's IPv4 Addresses. Each Linode is assigned a single public IPv4 address upon creation, and may get a single private IPv4 address if needed. You may need to open a support ticket to get additional IPv4 addresses.

Ipv6 string

This Linode's IPv6 SLAAC addresses. This address is specific to a Linode, and may not be shared. The prefix (/64) is included in this attribute.

Label string

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

PrivateIpAddress string

This Linode's Private IPv4 Address, if enabled. The regional private IP address range, 192.168.128.0/17, is shared by all Linode Instances in a region.

Region string

This is the location where the Linode is deployed. Examples are "us-east", "us-west", "ap-south", etc. See all regions here.

Specs List<GetInstancesInstanceSpec>
Status string

The status of the instance, indicating the current readiness state. (running, offline, ...)

SwapSize int

When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This is used to set the swap disk size for the newly-created Linode.

Tags List<string>

A list of tags applied to this object. Tags are for organizational purposes only.

Type string

The Linode type defines the pricing, CPU, disk, and RAM specs of the instance. Examples are "g6-nanode-1", "g6-standard-2", "g6-highmem-16", "g6-dedicated-16", etc. See all types here.

WatchdogEnabled bool

The watchdog, named Lassie, is a Shutdown Watchdog that monitors your Linode and will reboot it if it powers off unexpectedly. It works by issuing a boot job when your Linode powers off without a shutdown job being responsible. To prevent a loop, Lassie will give up if there have been more than 5 boot jobs issued within 15 minutes.

Alerts GetInstancesInstanceAlerts
Backups []GetInstancesInstanceBackup
BootConfigLabel string
Configs []GetInstancesInstanceConfig
Disks []GetInstancesInstanceDisk
Group string

The display group of the Linode instance.

Id int

The ID of the disk in the Linode API.

Image string

An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See images for more information on the Images available for you to use. Examples are linode/debian9, linode/fedora28, linode/ubuntu16.04lts, linode/arch, and private/12345. See all images here (Requires a personal access token; docs here). This value can not be imported. Changing image forces the creation of a new Linode Instance.

IpAddress string

A string containing the Linode's public IP address.

Ipv4s []string

This Linode's IPv4 Addresses. Each Linode is assigned a single public IPv4 address upon creation, and may get a single private IPv4 address if needed. You may need to open a support ticket to get additional IPv4 addresses.

Ipv6 string

This Linode's IPv6 SLAAC addresses. This address is specific to a Linode, and may not be shared. The prefix (/64) is included in this attribute.

Label string

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

PrivateIpAddress string

This Linode's Private IPv4 Address, if enabled. The regional private IP address range, 192.168.128.0/17, is shared by all Linode Instances in a region.

Region string

This is the location where the Linode is deployed. Examples are "us-east", "us-west", "ap-south", etc. See all regions here.

Specs []GetInstancesInstanceSpec
Status string

The status of the instance, indicating the current readiness state. (running, offline, ...)

SwapSize int

When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This is used to set the swap disk size for the newly-created Linode.

Tags []string

A list of tags applied to this object. Tags are for organizational purposes only.

Type string

The Linode type defines the pricing, CPU, disk, and RAM specs of the instance. Examples are "g6-nanode-1", "g6-standard-2", "g6-highmem-16", "g6-dedicated-16", etc. See all types here.

WatchdogEnabled bool

The watchdog, named Lassie, is a Shutdown Watchdog that monitors your Linode and will reboot it if it powers off unexpectedly. It works by issuing a boot job when your Linode powers off without a shutdown job being responsible. To prevent a loop, Lassie will give up if there have been more than 5 boot jobs issued within 15 minutes.

alerts GetInstancesInstanceAlerts
backups List<GetInstancesInstanceBackup>
bootConfigLabel String
configs List<GetInstancesInstanceConfig>
disks List<GetInstancesInstanceDisk>
group String

The display group of the Linode instance.

id Integer

The ID of the disk in the Linode API.

image String

An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See images for more information on the Images available for you to use. Examples are linode/debian9, linode/fedora28, linode/ubuntu16.04lts, linode/arch, and private/12345. See all images here (Requires a personal access token; docs here). This value can not be imported. Changing image forces the creation of a new Linode Instance.

ipAddress String

A string containing the Linode's public IP address.

ipv4s List<String>

This Linode's IPv4 Addresses. Each Linode is assigned a single public IPv4 address upon creation, and may get a single private IPv4 address if needed. You may need to open a support ticket to get additional IPv4 addresses.

ipv6 String

This Linode's IPv6 SLAAC addresses. This address is specific to a Linode, and may not be shared. The prefix (/64) is included in this attribute.

label String

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

privateIpAddress String

This Linode's Private IPv4 Address, if enabled. The regional private IP address range, 192.168.128.0/17, is shared by all Linode Instances in a region.

region String

This is the location where the Linode is deployed. Examples are "us-east", "us-west", "ap-south", etc. See all regions here.

specs List<GetInstancesInstanceSpec>
status String

The status of the instance, indicating the current readiness state. (running, offline, ...)

swapSize Integer

When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This is used to set the swap disk size for the newly-created Linode.

tags List<String>

A list of tags applied to this object. Tags are for organizational purposes only.

type String

The Linode type defines the pricing, CPU, disk, and RAM specs of the instance. Examples are "g6-nanode-1", "g6-standard-2", "g6-highmem-16", "g6-dedicated-16", etc. See all types here.

watchdogEnabled Boolean

The watchdog, named Lassie, is a Shutdown Watchdog that monitors your Linode and will reboot it if it powers off unexpectedly. It works by issuing a boot job when your Linode powers off without a shutdown job being responsible. To prevent a loop, Lassie will give up if there have been more than 5 boot jobs issued within 15 minutes.

alerts GetInstancesInstanceAlerts
backups GetInstancesInstanceBackup[]
bootConfigLabel string
configs GetInstancesInstanceConfig[]
disks GetInstancesInstanceDisk[]
group string

The display group of the Linode instance.

id number

The ID of the disk in the Linode API.

image string

An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See images for more information on the Images available for you to use. Examples are linode/debian9, linode/fedora28, linode/ubuntu16.04lts, linode/arch, and private/12345. See all images here (Requires a personal access token; docs here). This value can not be imported. Changing image forces the creation of a new Linode Instance.

ipAddress string

A string containing the Linode's public IP address.

ipv4s string[]

This Linode's IPv4 Addresses. Each Linode is assigned a single public IPv4 address upon creation, and may get a single private IPv4 address if needed. You may need to open a support ticket to get additional IPv4 addresses.

ipv6 string

This Linode's IPv6 SLAAC addresses. This address is specific to a Linode, and may not be shared. The prefix (/64) is included in this attribute.

label string

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

privateIpAddress string

This Linode's Private IPv4 Address, if enabled. The regional private IP address range, 192.168.128.0/17, is shared by all Linode Instances in a region.

region string

This is the location where the Linode is deployed. Examples are "us-east", "us-west", "ap-south", etc. See all regions here.

specs GetInstancesInstanceSpec[]
status string

The status of the instance, indicating the current readiness state. (running, offline, ...)

swapSize number

When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This is used to set the swap disk size for the newly-created Linode.

tags string[]

A list of tags applied to this object. Tags are for organizational purposes only.

type string

The Linode type defines the pricing, CPU, disk, and RAM specs of the instance. Examples are "g6-nanode-1", "g6-standard-2", "g6-highmem-16", "g6-dedicated-16", etc. See all types here.

watchdogEnabled boolean

The watchdog, named Lassie, is a Shutdown Watchdog that monitors your Linode and will reboot it if it powers off unexpectedly. It works by issuing a boot job when your Linode powers off without a shutdown job being responsible. To prevent a loop, Lassie will give up if there have been more than 5 boot jobs issued within 15 minutes.

alerts GetInstancesInstanceAlerts
backups Sequence[GetInstancesInstanceBackup]
boot_config_label str
configs Sequence[GetInstancesInstanceConfig]
disks Sequence[GetInstancesInstanceDisk]
group str

The display group of the Linode instance.

id int

The ID of the disk in the Linode API.

image str

An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See images for more information on the Images available for you to use. Examples are linode/debian9, linode/fedora28, linode/ubuntu16.04lts, linode/arch, and private/12345. See all images here (Requires a personal access token; docs here). This value can not be imported. Changing image forces the creation of a new Linode Instance.

ip_address str

A string containing the Linode's public IP address.

ipv4s Sequence[str]

This Linode's IPv4 Addresses. Each Linode is assigned a single public IPv4 address upon creation, and may get a single private IPv4 address if needed. You may need to open a support ticket to get additional IPv4 addresses.

ipv6 str

This Linode's IPv6 SLAAC addresses. This address is specific to a Linode, and may not be shared. The prefix (/64) is included in this attribute.

label str

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

private_ip_address str

This Linode's Private IPv4 Address, if enabled. The regional private IP address range, 192.168.128.0/17, is shared by all Linode Instances in a region.

region str

This is the location where the Linode is deployed. Examples are "us-east", "us-west", "ap-south", etc. See all regions here.

specs Sequence[GetInstancesInstanceSpec]
status str

The status of the instance, indicating the current readiness state. (running, offline, ...)

swap_size int

When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This is used to set the swap disk size for the newly-created Linode.

tags Sequence[str]

A list of tags applied to this object. Tags are for organizational purposes only.

type str

The Linode type defines the pricing, CPU, disk, and RAM specs of the instance. Examples are "g6-nanode-1", "g6-standard-2", "g6-highmem-16", "g6-dedicated-16", etc. See all types here.

watchdog_enabled bool

The watchdog, named Lassie, is a Shutdown Watchdog that monitors your Linode and will reboot it if it powers off unexpectedly. It works by issuing a boot job when your Linode powers off without a shutdown job being responsible. To prevent a loop, Lassie will give up if there have been more than 5 boot jobs issued within 15 minutes.

alerts Property Map
backups List<Property Map>
bootConfigLabel String
configs List<Property Map>
disks List<Property Map>
group String

The display group of the Linode instance.

id Number

The ID of the disk in the Linode API.

image String

An Image ID to deploy the Disk from. Official Linode Images start with linode/, while your Images start with private/. See images for more information on the Images available for you to use. Examples are linode/debian9, linode/fedora28, linode/ubuntu16.04lts, linode/arch, and private/12345. See all images here (Requires a personal access token; docs here). This value can not be imported. Changing image forces the creation of a new Linode Instance.

ipAddress String

A string containing the Linode's public IP address.

ipv4s List<String>

This Linode's IPv4 Addresses. Each Linode is assigned a single public IPv4 address upon creation, and may get a single private IPv4 address if needed. You may need to open a support ticket to get additional IPv4 addresses.

ipv6 String

This Linode's IPv6 SLAAC addresses. This address is specific to a Linode, and may not be shared. The prefix (/64) is included in this attribute.

label String

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

privateIpAddress String

This Linode's Private IPv4 Address, if enabled. The regional private IP address range, 192.168.128.0/17, is shared by all Linode Instances in a region.

region String

This is the location where the Linode is deployed. Examples are "us-east", "us-west", "ap-south", etc. See all regions here.

specs List<Property Map>
status String

The status of the instance, indicating the current readiness state. (running, offline, ...)

swapSize Number

When deploying from an Image, this field is optional with a Linode API default of 512mb, otherwise it is ignored. This is used to set the swap disk size for the newly-created Linode.

tags List<String>

A list of tags applied to this object. Tags are for organizational purposes only.

type String

The Linode type defines the pricing, CPU, disk, and RAM specs of the instance. Examples are "g6-nanode-1", "g6-standard-2", "g6-highmem-16", "g6-dedicated-16", etc. See all types here.

watchdogEnabled Boolean

The watchdog, named Lassie, is a Shutdown Watchdog that monitors your Linode and will reboot it if it powers off unexpectedly. It works by issuing a boot job when your Linode powers off without a shutdown job being responsible. To prevent a loop, Lassie will give up if there have been more than 5 boot jobs issued within 15 minutes.

GetInstancesInstanceAlerts

cpu Integer
io Integer
networkIn Integer
networkOut Integer
transferQuota Integer
cpu number
io number
networkIn number
networkOut number
transferQuota number
cpu Number
io Number
networkIn Number
networkOut Number
transferQuota Number

GetInstancesInstanceBackup

Enabled bool

If this Linode has the Backup service enabled.

Schedules List<GetInstancesInstanceBackupSchedule>
Enabled bool

If this Linode has the Backup service enabled.

Schedules []GetInstancesInstanceBackupSchedule
enabled Boolean

If this Linode has the Backup service enabled.

schedules List<GetInstancesInstanceBackupSchedule>
enabled boolean

If this Linode has the Backup service enabled.

schedules GetInstancesInstanceBackupSchedule[]
enabled bool

If this Linode has the Backup service enabled.

schedules Sequence[GetInstancesInstanceBackupSchedule]
enabled Boolean

If this Linode has the Backup service enabled.

schedules List<Property Map>

GetInstancesInstanceBackupSchedule

Day string

The day of the week that your Linode's weekly Backup is taken. If not set manually, a day will be chosen for you. Backups are taken every day, but backups taken on this day are preferred when selecting backups to retain for a longer period. If not set manually, then when backups are initially enabled, this may come back as "Scheduling" until the day is automatically selected.

Window string

The window ('W0'-'W22') in which your backups will be taken, in UTC. A backups window is a two-hour span of time in which the backup may occur. For example, 'W10' indicates that your backups should be taken between 10:00 and 12:00. If you do not choose a backup window, one will be selected for you automatically. If not set manually, when backups are initially enabled this may come back as Scheduling until the window is automatically selected.

Day string

The day of the week that your Linode's weekly Backup is taken. If not set manually, a day will be chosen for you. Backups are taken every day, but backups taken on this day are preferred when selecting backups to retain for a longer period. If not set manually, then when backups are initially enabled, this may come back as "Scheduling" until the day is automatically selected.

Window string

The window ('W0'-'W22') in which your backups will be taken, in UTC. A backups window is a two-hour span of time in which the backup may occur. For example, 'W10' indicates that your backups should be taken between 10:00 and 12:00. If you do not choose a backup window, one will be selected for you automatically. If not set manually, when backups are initially enabled this may come back as Scheduling until the window is automatically selected.

day String

The day of the week that your Linode's weekly Backup is taken. If not set manually, a day will be chosen for you. Backups are taken every day, but backups taken on this day are preferred when selecting backups to retain for a longer period. If not set manually, then when backups are initially enabled, this may come back as "Scheduling" until the day is automatically selected.

window String

The window ('W0'-'W22') in which your backups will be taken, in UTC. A backups window is a two-hour span of time in which the backup may occur. For example, 'W10' indicates that your backups should be taken between 10:00 and 12:00. If you do not choose a backup window, one will be selected for you automatically. If not set manually, when backups are initially enabled this may come back as Scheduling until the window is automatically selected.

day string

The day of the week that your Linode's weekly Backup is taken. If not set manually, a day will be chosen for you. Backups are taken every day, but backups taken on this day are preferred when selecting backups to retain for a longer period. If not set manually, then when backups are initially enabled, this may come back as "Scheduling" until the day is automatically selected.

window string

The window ('W0'-'W22') in which your backups will be taken, in UTC. A backups window is a two-hour span of time in which the backup may occur. For example, 'W10' indicates that your backups should be taken between 10:00 and 12:00. If you do not choose a backup window, one will be selected for you automatically. If not set manually, when backups are initially enabled this may come back as Scheduling until the window is automatically selected.

day str

The day of the week that your Linode's weekly Backup is taken. If not set manually, a day will be chosen for you. Backups are taken every day, but backups taken on this day are preferred when selecting backups to retain for a longer period. If not set manually, then when backups are initially enabled, this may come back as "Scheduling" until the day is automatically selected.

window str

The window ('W0'-'W22') in which your backups will be taken, in UTC. A backups window is a two-hour span of time in which the backup may occur. For example, 'W10' indicates that your backups should be taken between 10:00 and 12:00. If you do not choose a backup window, one will be selected for you automatically. If not set manually, when backups are initially enabled this may come back as Scheduling until the window is automatically selected.

day String

The day of the week that your Linode's weekly Backup is taken. If not set manually, a day will be chosen for you. Backups are taken every day, but backups taken on this day are preferred when selecting backups to retain for a longer period. If not set manually, then when backups are initially enabled, this may come back as "Scheduling" until the day is automatically selected.

window String

The window ('W0'-'W22') in which your backups will be taken, in UTC. A backups window is a two-hour span of time in which the backup may occur. For example, 'W10' indicates that your backups should be taken between 10:00 and 12:00. If you do not choose a backup window, one will be selected for you automatically. If not set manually, when backups are initially enabled this may come back as Scheduling until the window is automatically selected.

GetInstancesInstanceConfig

Comments string

Arbitrary user comments about this config.

Devices List<GetInstancesInstanceConfigDevice>

A list of disk or volume attachments for this config. If the boot_config_label omits a devices block, the Linode will not be booted.

Helpers List<GetInstancesInstanceConfigHelper>

Helpers enabled when booting to this Linode Config.

Interfaces List<GetInstancesInstanceConfigInterface>
Kernel string

A Kernel ID to boot a Linode with. Default is based on image choice. 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

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

MemoryLimit int

Defaults to the total RAM of the Linode

RootDevice string

The root device to boot.

RunLevel string

Defines the state of your Linode after booting.

VirtMode string

Controls the virtualization mode.

Comments string

Arbitrary user comments about this config.

Devices []GetInstancesInstanceConfigDevice

A list of disk or volume attachments for this config. If the boot_config_label omits a devices block, the Linode will not be booted.

Helpers []GetInstancesInstanceConfigHelper

Helpers enabled when booting to this Linode Config.

Interfaces []GetInstancesInstanceConfigInterface
Kernel string

A Kernel ID to boot a Linode with. Default is based on image choice. 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

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

MemoryLimit int

Defaults to the total RAM of the Linode

RootDevice string

The root device to boot.

RunLevel string

Defines the state of your Linode after booting.

VirtMode string

Controls the virtualization mode.

comments String

Arbitrary user comments about this config.

devices List<GetInstancesInstanceConfigDevice>

A list of disk or volume attachments for this config. If the boot_config_label omits a devices block, the Linode will not be booted.

helpers List<GetInstancesInstanceConfigHelper>

Helpers enabled when booting to this Linode Config.

interfaces List<GetInstancesInstanceConfigInterface>
kernel String

A Kernel ID to boot a Linode with. Default is based on image choice. 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

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

memoryLimit Integer

Defaults to the total RAM of the Linode

rootDevice String

The root device to boot.

runLevel String

Defines the state of your Linode after booting.

virtMode String

Controls the virtualization mode.

comments string

Arbitrary user comments about this config.

devices GetInstancesInstanceConfigDevice[]

A list of disk or volume attachments for this config. If the boot_config_label omits a devices block, the Linode will not be booted.

helpers GetInstancesInstanceConfigHelper[]

Helpers enabled when booting to this Linode Config.

interfaces GetInstancesInstanceConfigInterface[]
kernel string

A Kernel ID to boot a Linode with. Default is based on image choice. 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

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

memoryLimit number

Defaults to the total RAM of the Linode

rootDevice string

The root device to boot.

runLevel string

Defines the state of your Linode after booting.

virtMode string

Controls the virtualization mode.

comments str

Arbitrary user comments about this config.

devices Sequence[GetInstancesInstanceConfigDevice]

A list of disk or volume attachments for this config. If the boot_config_label omits a devices block, the Linode will not be booted.

helpers Sequence[GetInstancesInstanceConfigHelper]

Helpers enabled when booting to this Linode Config.

interfaces Sequence[GetInstancesInstanceConfigInterface]
kernel str

A Kernel ID to boot a Linode with. Default is based on image choice. 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

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

memory_limit int

Defaults to the total RAM of the Linode

root_device str

The root device to boot.

run_level str

Defines the state of your Linode after booting.

virt_mode str

Controls the virtualization mode.

comments String

Arbitrary user comments about this config.

devices List<Property Map>

A list of disk or volume attachments for this config. If the boot_config_label omits a devices block, the Linode will not be booted.

helpers List<Property Map>

Helpers enabled when booting to this Linode Config.

interfaces List<Property Map>
kernel String

A Kernel ID to boot a Linode with. Default is based on image choice. 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

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

memoryLimit Number

Defaults to the total RAM of the Linode

rootDevice String

The root device to boot.

runLevel String

Defines the state of your Linode after booting.

virtMode String

Controls the virtualization mode.

GetInstancesInstanceConfigDevice

GetInstancesInstanceConfigDeviceSda

DiskId int

The Disk ID of the associated disk_label, if used

DiskLabel string

The label of the disk to map to this device slot.

VolumeId int

The Volume ID to map to this device slot.

DiskId int

The Disk ID of the associated disk_label, if used

DiskLabel string

The label of the disk to map to this device slot.

VolumeId int

The Volume ID to map to this device slot.

diskId Integer

The Disk ID of the associated disk_label, if used

diskLabel String

The label of the disk to map to this device slot.

volumeId Integer

The Volume ID to map to this device slot.

diskId number

The Disk ID of the associated disk_label, if used

diskLabel string

The label of the disk to map to this device slot.

volumeId number

The Volume ID to map to this device slot.

disk_id int

The Disk ID of the associated disk_label, if used

disk_label str

The label of the disk to map to this device slot.

volume_id int

The Volume ID to map to this device slot.

diskId Number

The Disk ID of the associated disk_label, if used

diskLabel String

The label of the disk to map to this device slot.

volumeId Number

The Volume ID to map to this device slot.

GetInstancesInstanceConfigDeviceSdb

DiskId int

The Disk ID of the associated disk_label, if used

DiskLabel string

The label of the disk to map to this device slot.

VolumeId int

The Volume ID to map to this device slot.

DiskId int

The Disk ID of the associated disk_label, if used

DiskLabel string

The label of the disk to map to this device slot.

VolumeId int

The Volume ID to map to this device slot.

diskId Integer

The Disk ID of the associated disk_label, if used

diskLabel String

The label of the disk to map to this device slot.

volumeId Integer

The Volume ID to map to this device slot.

diskId number

The Disk ID of the associated disk_label, if used

diskLabel string

The label of the disk to map to this device slot.

volumeId number

The Volume ID to map to this device slot.

disk_id int

The Disk ID of the associated disk_label, if used

disk_label str

The label of the disk to map to this device slot.

volume_id int

The Volume ID to map to this device slot.

diskId Number

The Disk ID of the associated disk_label, if used

diskLabel String

The label of the disk to map to this device slot.

volumeId Number

The Volume ID to map to this device slot.

GetInstancesInstanceConfigDeviceSdc

DiskId int

The Disk ID of the associated disk_label, if used

DiskLabel string

The label of the disk to map to this device slot.

VolumeId int

The Volume ID to map to this device slot.

DiskId int

The Disk ID of the associated disk_label, if used

DiskLabel string

The label of the disk to map to this device slot.

VolumeId int

The Volume ID to map to this device slot.

diskId Integer

The Disk ID of the associated disk_label, if used

diskLabel String

The label of the disk to map to this device slot.

volumeId Integer

The Volume ID to map to this device slot.

diskId number

The Disk ID of the associated disk_label, if used

diskLabel string

The label of the disk to map to this device slot.

volumeId number

The Volume ID to map to this device slot.

disk_id int

The Disk ID of the associated disk_label, if used

disk_label str

The label of the disk to map to this device slot.

volume_id int

The Volume ID to map to this device slot.

diskId Number

The Disk ID of the associated disk_label, if used

diskLabel String

The label of the disk to map to this device slot.

volumeId Number

The Volume ID to map to this device slot.

GetInstancesInstanceConfigDeviceSdd

DiskId int

The Disk ID of the associated disk_label, if used

DiskLabel string

The label of the disk to map to this device slot.

VolumeId int

The Volume ID to map to this device slot.

DiskId int

The Disk ID of the associated disk_label, if used

DiskLabel string

The label of the disk to map to this device slot.

VolumeId int

The Volume ID to map to this device slot.

diskId Integer

The Disk ID of the associated disk_label, if used

diskLabel String

The label of the disk to map to this device slot.

volumeId Integer

The Volume ID to map to this device slot.

diskId number

The Disk ID of the associated disk_label, if used

diskLabel string

The label of the disk to map to this device slot.

volumeId number

The Volume ID to map to this device slot.

disk_id int

The Disk ID of the associated disk_label, if used

disk_label str

The label of the disk to map to this device slot.

volume_id int

The Volume ID to map to this device slot.

diskId Number

The Disk ID of the associated disk_label, if used

diskLabel String

The label of the disk to map to this device slot.

volumeId Number

The Volume ID to map to this device slot.

GetInstancesInstanceConfigDeviceSde

DiskId int

The Disk ID of the associated disk_label, if used

DiskLabel string

The label of the disk to map to this device slot.

VolumeId int

The Volume ID to map to this device slot.

DiskId int

The Disk ID of the associated disk_label, if used

DiskLabel string

The label of the disk to map to this device slot.

VolumeId int

The Volume ID to map to this device slot.

diskId Integer

The Disk ID of the associated disk_label, if used

diskLabel String

The label of the disk to map to this device slot.

volumeId Integer

The Volume ID to map to this device slot.

diskId number

The Disk ID of the associated disk_label, if used

diskLabel string

The label of the disk to map to this device slot.

volumeId number

The Volume ID to map to this device slot.

disk_id int

The Disk ID of the associated disk_label, if used

disk_label str

The label of the disk to map to this device slot.

volume_id int

The Volume ID to map to this device slot.

diskId Number

The Disk ID of the associated disk_label, if used

diskLabel String

The label of the disk to map to this device slot.

volumeId Number

The Volume ID to map to this device slot.

GetInstancesInstanceConfigDeviceSdf

DiskId int

The Disk ID of the associated disk_label, if used

DiskLabel string

The label of the disk to map to this device slot.

VolumeId int

The Volume ID to map to this device slot.

DiskId int

The Disk ID of the associated disk_label, if used

DiskLabel string

The label of the disk to map to this device slot.

VolumeId int

The Volume ID to map to this device slot.

diskId Integer

The Disk ID of the associated disk_label, if used

diskLabel String

The label of the disk to map to this device slot.

volumeId Integer

The Volume ID to map to this device slot.

diskId number

The Disk ID of the associated disk_label, if used

diskLabel string

The label of the disk to map to this device slot.

volumeId number

The Volume ID to map to this device slot.

disk_id int

The Disk ID of the associated disk_label, if used

disk_label str

The label of the disk to map to this device slot.

volume_id int

The Volume ID to map to this device slot.

diskId Number

The Disk ID of the associated disk_label, if used

diskLabel String

The label of the disk to map to this device slot.

volumeId Number

The Volume ID to map to this device slot.

GetInstancesInstanceConfigDeviceSdg

DiskId int

The Disk ID of the associated disk_label, if used

DiskLabel string

The label of the disk to map to this device slot.

VolumeId int

The Volume ID to map to this device slot.

DiskId int

The Disk ID of the associated disk_label, if used

DiskLabel string

The label of the disk to map to this device slot.

VolumeId int

The Volume ID to map to this device slot.

diskId Integer

The Disk ID of the associated disk_label, if used

diskLabel String

The label of the disk to map to this device slot.

volumeId Integer

The Volume ID to map to this device slot.

diskId number

The Disk ID of the associated disk_label, if used

diskLabel string

The label of the disk to map to this device slot.

volumeId number

The Volume ID to map to this device slot.

disk_id int

The Disk ID of the associated disk_label, if used

disk_label str

The label of the disk to map to this device slot.

volume_id int

The Volume ID to map to this device slot.

diskId Number

The Disk ID of the associated disk_label, if used

diskLabel String

The label of the disk to map to this device slot.

volumeId Number

The Volume ID to map to this device slot.

GetInstancesInstanceConfigDeviceSdh

DiskId int

The Disk ID of the associated disk_label, if used

DiskLabel string

The label of the disk to map to this device slot.

VolumeId int

The Volume ID to map to this device slot.

DiskId int

The Disk ID of the associated disk_label, if used

DiskLabel string

The label of the disk to map to this device slot.

VolumeId int

The Volume ID to map to this device slot.

diskId Integer

The Disk ID of the associated disk_label, if used

diskLabel String

The label of the disk to map to this device slot.

volumeId Integer

The Volume ID to map to this device slot.

diskId number

The Disk ID of the associated disk_label, if used

diskLabel string

The label of the disk to map to this device slot.

volumeId number

The Volume ID to map to this device slot.

disk_id int

The Disk ID of the associated disk_label, if used

disk_label str

The label of the disk to map to this device slot.

volume_id int

The Volume ID to map to this device slot.

diskId Number

The Disk ID of the associated disk_label, if used

diskLabel String

The label of the disk to map to this device slot.

volumeId Number

The Volume ID to map to this device slot.

GetInstancesInstanceConfigHelper

DevtmpfsAutomount bool
Distro bool

Controls the behavior of the Linode Config's Distribution Helper setting.

ModulesDep bool

Creates a modules dependency file for the Kernel you run.

Network bool

Controls the behavior of the Linode Config's Network Helper setting, used to automatically configure additional IP addresses assigned to this instance.

UpdatedbDisabled bool

Disables updatedb cron job to avoid disk thrashing.

DevtmpfsAutomount bool
Distro bool

Controls the behavior of the Linode Config's Distribution Helper setting.

ModulesDep bool

Creates a modules dependency file for the Kernel you run.

Network bool

Controls the behavior of the Linode Config's Network Helper setting, used to automatically configure additional IP addresses assigned to this instance.

UpdatedbDisabled bool

Disables updatedb cron job to avoid disk thrashing.

devtmpfsAutomount Boolean
distro Boolean

Controls the behavior of the Linode Config's Distribution Helper setting.

modulesDep Boolean

Creates a modules dependency file for the Kernel you run.

network Boolean

Controls the behavior of the Linode Config's Network Helper setting, used to automatically configure additional IP addresses assigned to this instance.

updatedbDisabled Boolean

Disables updatedb cron job to avoid disk thrashing.

devtmpfsAutomount boolean
distro boolean

Controls the behavior of the Linode Config's Distribution Helper setting.

modulesDep boolean

Creates a modules dependency file for the Kernel you run.

network boolean

Controls the behavior of the Linode Config's Network Helper setting, used to automatically configure additional IP addresses assigned to this instance.

updatedbDisabled boolean

Disables updatedb cron job to avoid disk thrashing.

devtmpfs_automount bool
distro bool

Controls the behavior of the Linode Config's Distribution Helper setting.

modules_dep bool

Creates a modules dependency file for the Kernel you run.

network bool

Controls the behavior of the Linode Config's Network Helper setting, used to automatically configure additional IP addresses assigned to this instance.

updatedb_disabled bool

Disables updatedb cron job to avoid disk thrashing.

devtmpfsAutomount Boolean
distro Boolean

Controls the behavior of the Linode Config's Distribution Helper setting.

modulesDep Boolean

Creates a modules dependency file for the Kernel you run.

network Boolean

Controls the behavior of the Linode Config's Network Helper setting, used to automatically configure additional IP addresses assigned to this instance.

updatedbDisabled Boolean

Disables updatedb cron job to avoid disk thrashing.

GetInstancesInstanceConfigInterface

IpamAddress string

(Optional) This Network Interface’s private IP address in Classless Inter-Domain Routing (CIDR) notation.

Label string

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

Purpose string

(Required) The type of interface. (public, vlan)

IpamAddress string

(Optional) This Network Interface’s private IP address in Classless Inter-Domain Routing (CIDR) notation.

Label string

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

Purpose string

(Required) The type of interface. (public, vlan)

ipamAddress String

(Optional) This Network Interface’s private IP address in Classless Inter-Domain Routing (CIDR) notation.

label String

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

purpose String

(Required) The type of interface. (public, vlan)

ipamAddress string

(Optional) This Network Interface’s private IP address in Classless Inter-Domain Routing (CIDR) notation.

label string

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

purpose string

(Required) The type of interface. (public, vlan)

ipam_address str

(Optional) This Network Interface’s private IP address in Classless Inter-Domain Routing (CIDR) notation.

label str

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

purpose str

(Required) The type of interface. (public, vlan)

ipamAddress String

(Optional) This Network Interface’s private IP address in Classless Inter-Domain Routing (CIDR) notation.

label String

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

purpose String

(Required) The type of interface. (public, vlan)

GetInstancesInstanceDisk

Filesystem string
Id int

The ID of the disk in the Linode API.

Label string

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

Size int

The size of the Disk in MB.

Filesystem string
Id int

The ID of the disk in the Linode API.

Label string

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

Size int

The size of the Disk in MB.

filesystem String
id Integer

The ID of the disk in the Linode API.

label String

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

size Integer

The size of the Disk in MB.

filesystem string
id number

The ID of the disk in the Linode API.

label string

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

size number

The size of the Disk in MB.

filesystem str
id int

The ID of the disk in the Linode API.

label str

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

size int

The size of the Disk in MB.

filesystem String
id Number

The ID of the disk in the Linode API.

label String

(Optional) The name of this interface. If the interface is a vlan, a label is required. Must be undefined for public purpose interfaces.

size Number

The size of the Disk in MB.

GetInstancesInstanceSpec

Disk int
Memory int
Transfer int
Vcpus int
Disk int
Memory int
Transfer int
Vcpus int
disk Integer
memory Integer
transfer Integer
vcpus Integer
disk number
memory number
transfer number
vcpus number
disk int
memory int
transfer int
vcpus int
disk Number
memory Number
transfer Number
vcpus Number

Package Details

Repository
https://github.com/pulumi/pulumi-linode
License
Apache-2.0
Notes

This Pulumi package is based on the linode Terraform Provider.