Viewing docs for Linode v3.12.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for Linode v3.12.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Provides information about Linode instances that match a set of filters.
Filterable Fields
groupidimagelabelregionstatustagstypewatchdog_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",
},
},
},
});
return new Dictionary<string, object?>
{
["instanceId"] = my_instances.Apply(my_instances => my_instances.Apply(getInstancesResult => getInstancesResult.Instances[0]?.Id)),
};
});
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 {
my_instances, err := linode.GetInstances(ctx, &linode.GetInstancesArgs{
Filters: []linode.GetInstancesFilter{
{
Name: "label",
Values: []string{
"my-label",
"my-other-label",
},
},
{
Name: "tags",
Values: []string{
"my-tag",
},
},
},
}, nil)
if err != nil {
return err
}
ctx.Export("instanceId", my_instances.Instances[0].Id)
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());
ctx.export("instanceId", my_instances.instances()[0].id());
}
}
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const my-instances = linode.getInstances({
filters: [
{
name: "label",
values: [
"my-label",
"my-other-label",
],
},
{
name: "tags",
values: ["my-tag"],
},
],
});
export const instanceId = my_instances.then(my_instances => my_instances.instances?.[0]?.id);
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"],
),
])
pulumi.export("instanceId", my_instances.instances[0].id)
variables:
my-instances:
fn::invoke:
Function: linode:getInstances
Arguments:
filters:
- name: label
values:
- my-label
- my-other-label
- name: tags
values:
- my-tag
outputs:
instanceId: ${["my-instances"].instances[0].id}
Get information about all Linode instances associated with the current token
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var all_instances = Linode.GetInstances.Invoke();
return new Dictionary<string, object?>
{
["instanceIds"] = new[]
{
all_instances.Apply(all_instances => all_instances.Apply(getInstancesResult => getInstancesResult.Instances)),
}.Select(__item => __item?.Id).ToList(),
};
});
Example coming soon!
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();
ctx.export("instanceIds", all_instances.instances().stream().map(element -> element.id()).collect(toList()));
}
}
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const all-instances = linode.getInstances({});
export const instanceIds = [all_instances.then(all_instances => all_instances.instances)].map(__item => __item?.id);
import pulumi
import pulumi_linode as linode
all_instances = linode.get_instances()
pulumi.export("instanceIds", [__item.id for __item in [all_instances.instances]])
Example coming soon!
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)
public static Output<GetInstancesResult> getInstances(GetInstancesArgs args, InvokeOptions options)
fn::invoke:
function: linode:index/getInstances:getInstances
arguments:
# arguments dictionaryThe following arguments are supported:
- Filters
List<Get
Instances Filter> - Order string
- The order in which results should be returned. (
asc,desc; defaultasc) - Order
By string - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- Filters
[]Get
Instances Filter - Order string
- The order in which results should be returned. (
asc,desc; defaultasc) - Order
By string - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- filters
List<Get
Instances Filter> - order String
- The order in which results should be returned. (
asc,desc; defaultasc) - order
By String - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- filters
Get
Instances Filter[] - order string
- The order in which results should be returned. (
asc,desc; defaultasc) - order
By string - The attribute to order the results by. See the Filterable Fields section for a list of valid fields.
- filters
Sequence[Get
Instances Filter] - order str
- The order in which results should be returned. (
asc,desc; defaultasc) - 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; defaultasc) - order
By 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<Get
Instances Instance> - Filters
List<Get
Instances Filter> - Order string
- Order
By string
- Id string
- The provider-assigned unique ID for this managed resource.
- Instances
[]Get
Instances Instance - Filters
[]Get
Instances Filter - Order string
- Order
By string
- id String
- The provider-assigned unique ID for this managed resource.
- instances
List<Get
Instances Instance> - filters
List<Get
Instances Filter> - order String
- order
By String
- id string
- The provider-assigned unique ID for this managed resource.
- instances
Get
Instances Instance[] - filters
Get
Instances Filter[] - order string
- order
By string
- id str
- The provider-assigned unique ID for this managed resource.
- instances
Sequence[Get
Instances Instance] - filters
Sequence[Get
Instances Filter] - 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
- order
By 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.
- Match
By string - The method to match the field by. (
exact,regex,substring; defaultexact)
- 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.
- Match
By string - The method to match the field by. (
exact,regex,substring; defaultexact)
- 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.
- match
By String - The method to match the field by. (
exact,regex,substring; defaultexact)
- 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.
- match
By string - The method to match the field by. (
exact,regex,substring; defaultexact)
- 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; defaultexact)
- 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.
- match
By String - The method to match the field by. (
exact,regex,substring; defaultexact)
GetInstancesInstance
- Alerts
Get
Instances Instance Alerts - Backups
List<Get
Instances Instance Backup> - Boot
Config stringLabel - Configs
List<Get
Instances Instance Config> - Disks
List<Get
Instances Instance Disk> - Group string
- The display group of the Linode instance.
- Host
Uuid string - 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 arelinode/debian9,linode/fedora28,linode/ubuntu16.04lts,linode/arch, andprivate/12345. See all images here (Requires a personal access token; docs here). This value can not be imported. Changingimageforces the creation of a new Linode Instance. - Ip
Address 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 forpublicpurpose interfaces. - Private
Ip stringAddress - 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<Get
Instances Instance Spec> - Status string
- 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.
- 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. - 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
Get
Instances Instance Alerts - Backups
[]Get
Instances Instance Backup - Boot
Config stringLabel - Configs
[]Get
Instances Instance Config - Disks
[]Get
Instances Instance Disk - Group string
- The display group of the Linode instance.
- Host
Uuid string - 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 arelinode/debian9,linode/fedora28,linode/ubuntu16.04lts,linode/arch, andprivate/12345. See all images here (Requires a personal access token; docs here). This value can not be imported. Changingimageforces the creation of a new Linode Instance. - Ip
Address 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 forpublicpurpose interfaces. - Private
Ip stringAddress - 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
[]Get
Instances Instance Spec - Status string
- 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.
- []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. - 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
Get
Instances Instance Alerts - backups
List<Get
Instances Instance Backup> - boot
Config StringLabel - configs
List<Get
Instances Instance Config> - disks
List<Get
Instances Instance Disk> - group String
- The display group of the Linode instance.
- host
Uuid String - 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 arelinode/debian9,linode/fedora28,linode/ubuntu16.04lts,linode/arch, andprivate/12345. See all images here (Requires a personal access token; docs here). This value can not be imported. Changingimageforces the creation of a new Linode Instance. - ip
Address 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 forpublicpurpose interfaces. - private
Ip StringAddress - 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<Get
Instances Instance Spec> - status String
- The status of the instance, indicating the current readiness state. (
running,offline, ...) - swap
Size 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.
- 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. - watchdog
Enabled 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
Get
Instances Instance Alerts - backups
Get
Instances Instance Backup[] - boot
Config stringLabel - configs
Get
Instances Instance Config[] - disks
Get
Instances Instance Disk[] - group string
- The display group of the Linode instance.
- host
Uuid string - 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 arelinode/debian9,linode/fedora28,linode/ubuntu16.04lts,linode/arch, andprivate/12345. See all images here (Requires a personal access token; docs here). This value can not be imported. Changingimageforces the creation of a new Linode Instance. - ip
Address 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 forpublicpurpose interfaces. - private
Ip stringAddress - 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
Get
Instances Instance Spec[] - status string
- The status of the instance, indicating the current readiness state. (
running,offline, ...) - swap
Size 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.
- 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. - watchdog
Enabled 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
Get
Instances Instance Alerts - backups
Sequence[Get
Instances Instance Backup] - boot_
config_ strlabel - configs
Sequence[Get
Instances Instance Config] - disks
Sequence[Get
Instances Instance Disk] - group str
- The display group of the Linode instance.
- host_
uuid str - 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 arelinode/debian9,linode/fedora28,linode/ubuntu16.04lts,linode/arch, andprivate/12345. See all images here (Requires a personal access token; docs here). This value can not be imported. Changingimageforces 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 forpublicpurpose interfaces. - private_
ip_ straddress - 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[Get
Instances Instance Spec] - 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.
- 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>
- boot
Config StringLabel - configs List<Property Map>
- disks List<Property Map>
- group String
- The display group of the Linode instance.
- host
Uuid String - 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 arelinode/debian9,linode/fedora28,linode/ubuntu16.04lts,linode/arch, andprivate/12345. See all images here (Requires a personal access token; docs here). This value can not be imported. Changingimageforces the creation of a new Linode Instance. - ip
Address 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 forpublicpurpose interfaces. - private
Ip StringAddress - 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, ...) - swap
Size 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.
- 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. - watchdog
Enabled 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 int
- Io int
- Network
In int - Network
Out int - Transfer
Quota int
- Cpu int
- Io int
- Network
In int - Network
Out int - Transfer
Quota int
- cpu Integer
- io Integer
- network
In Integer - network
Out Integer - transfer
Quota Integer
- cpu number
- io number
- network
In number - network
Out number - transfer
Quota number
- cpu int
- io int
- network_
in int - network_
out int - transfer_
quota int
- cpu Number
- io Number
- network
In Number - network
Out Number - transfer
Quota Number
GetInstancesInstanceBackup
- Available bool
- Enabled bool
- If this Linode has the Backup service enabled.
- Schedules
List<Get
Instances Instance Backup Schedule>
- Available bool
- Enabled bool
- If this Linode has the Backup service enabled.
- Schedules
[]Get
Instances Instance Backup Schedule
- available Boolean
- enabled Boolean
- If this Linode has the Backup service enabled.
- schedules
List<Get
Instances Instance Backup Schedule>
- available boolean
- enabled boolean
- If this Linode has the Backup service enabled.
- schedules
Get
Instances Instance Backup Schedule[]
- available bool
- enabled bool
- If this Linode has the Backup service enabled.
- schedules
Sequence[Get
Instances Instance Backup Schedule]
- available Boolean
- 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<Get
Instances Instance Config Device> - A list of
diskorvolumeattachments for thisconfig. If theboot_config_labelomits adevicesblock, the Linode will not be booted. - Helpers
List<Get
Instances Instance Config Helper> - Helpers enabled when booting to this Linode Config.
- Interfaces
List<Get
Instances Instance Config Interface> - 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 forpublicpurpose interfaces. - Memory
Limit int - Defaults to the total RAM of the Linode
- Root
Device string - The root device to boot.
- Run
Level string - Defines the state of your Linode after booting.
- Virt
Mode string - Controls the virtualization mode.
- Comments string
- Arbitrary user comments about this
config. - Devices
[]Get
Instances Instance Config Device - A list of
diskorvolumeattachments for thisconfig. If theboot_config_labelomits adevicesblock, the Linode will not be booted. - Helpers
[]Get
Instances Instance Config Helper - Helpers enabled when booting to this Linode Config.
- Interfaces
[]Get
Instances Instance Config Interface - 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 forpublicpurpose interfaces. - Memory
Limit int - Defaults to the total RAM of the Linode
- Root
Device string - The root device to boot.
- Run
Level string - Defines the state of your Linode after booting.
- Virt
Mode string - Controls the virtualization mode.
- comments String
- Arbitrary user comments about this
config. - devices
List<Get
Instances Instance Config Device> - A list of
diskorvolumeattachments for thisconfig. If theboot_config_labelomits adevicesblock, the Linode will not be booted. - helpers
List<Get
Instances Instance Config Helper> - Helpers enabled when booting to this Linode Config.
- interfaces
List<Get
Instances Instance Config Interface> - 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 forpublicpurpose interfaces. - memory
Limit Integer - Defaults to the total RAM of the Linode
- root
Device String - The root device to boot.
- run
Level String - Defines the state of your Linode after booting.
- virt
Mode String - Controls the virtualization mode.
- comments string
- Arbitrary user comments about this
config. - devices
Get
Instances Instance Config Device[] - A list of
diskorvolumeattachments for thisconfig. If theboot_config_labelomits adevicesblock, the Linode will not be booted. - helpers
Get
Instances Instance Config Helper[] - Helpers enabled when booting to this Linode Config.
- interfaces
Get
Instances Instance Config Interface[] - 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 forpublicpurpose interfaces. - memory
Limit number - Defaults to the total RAM of the Linode
- root
Device string - The root device to boot.
- run
Level string - Defines the state of your Linode after booting.
- virt
Mode string - Controls the virtualization mode.
- comments str
- Arbitrary user comments about this
config. - devices
Sequence[Get
Instances Instance Config Device] - A list of
diskorvolumeattachments for thisconfig. If theboot_config_labelomits adevicesblock, the Linode will not be booted. - helpers
Sequence[Get
Instances Instance Config Helper] - Helpers enabled when booting to this Linode Config.
- interfaces
Sequence[Get
Instances Instance Config Interface] - 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 forpublicpurpose 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
diskorvolumeattachments for thisconfig. If theboot_config_labelomits adevicesblock, 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 forpublicpurpose interfaces. - memory
Limit Number - Defaults to the total RAM of the Linode
- root
Device String - The root device to boot.
- run
Level String - Defines the state of your Linode after booting.
- virt
Mode String - Controls the virtualization mode.
GetInstancesInstanceConfigDevice
- Sdas
List<Get
Instances Instance Config Device Sda> - ...
sdh- 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 bydisk_labelorvolume_id. Only one disk identifier is permitted per slot. Devices mapped fromsdethroughsdhare unavailable in"fullvirt"virt_mode. - Sdbs
List<Get
Instances Instance Config Device Sdb> - Sdcs
List<Get
Instances Instance Config Device Sdc> - Sdds
List<Get
Instances Instance Config Device Sdd> - Sdes
List<Get
Instances Instance Config Device Sde> - Sdfs
List<Get
Instances Instance Config Device Sdf> - Sdgs
List<Get
Instances Instance Config Device Sdg> - Sdhs
List<Get
Instances Instance Config Device Sdh>
- Sdas
[]Get
Instances Instance Config Device Sda - ...
sdh- 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 bydisk_labelorvolume_id. Only one disk identifier is permitted per slot. Devices mapped fromsdethroughsdhare unavailable in"fullvirt"virt_mode. - Sdbs
[]Get
Instances Instance Config Device Sdb - Sdcs
[]Get
Instances Instance Config Device Sdc - Sdds
[]Get
Instances Instance Config Device Sdd - Sdes
[]Get
Instances Instance Config Device Sde - Sdfs
[]Get
Instances Instance Config Device Sdf - Sdgs
[]Get
Instances Instance Config Device Sdg - Sdhs
[]Get
Instances Instance Config Device Sdh
- sdas
List<Get
Instances Instance Config Device Sda> - ...
sdh- 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 bydisk_labelorvolume_id. Only one disk identifier is permitted per slot. Devices mapped fromsdethroughsdhare unavailable in"fullvirt"virt_mode. - sdbs
List<Get
Instances Instance Config Device Sdb> - sdcs
List<Get
Instances Instance Config Device Sdc> - sdds
List<Get
Instances Instance Config Device Sdd> - sdes
List<Get
Instances Instance Config Device Sde> - sdfs
List<Get
Instances Instance Config Device Sdf> - sdgs
List<Get
Instances Instance Config Device Sdg> - sdhs
List<Get
Instances Instance Config Device Sdh>
- sdas
Get
Instances Instance Config Device Sda[] - ...
sdh- 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 bydisk_labelorvolume_id. Only one disk identifier is permitted per slot. Devices mapped fromsdethroughsdhare unavailable in"fullvirt"virt_mode. - sdbs
Get
Instances Instance Config Device Sdb[] - sdcs
Get
Instances Instance Config Device Sdc[] - sdds
Get
Instances Instance Config Device Sdd[] - sdes
Get
Instances Instance Config Device Sde[] - sdfs
Get
Instances Instance Config Device Sdf[] - sdgs
Get
Instances Instance Config Device Sdg[] - sdhs
Get
Instances Instance Config Device Sdh[]
- sdas
Sequence[Get
Instances Instance Config Device Sda] - ...
sdh- 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 bydisk_labelorvolume_id. Only one disk identifier is permitted per slot. Devices mapped fromsdethroughsdhare unavailable in"fullvirt"virt_mode. - sdbs
Sequence[Get
Instances Instance Config Device Sdb] - sdcs
Sequence[Get
Instances Instance Config Device Sdc] - sdds
Sequence[Get
Instances Instance Config Device Sdd] - sdes
Sequence[Get
Instances Instance Config Device Sde] - sdfs
Sequence[Get
Instances Instance Config Device Sdf] - sdgs
Sequence[Get
Instances Instance Config Device Sdg] - sdhs
Sequence[Get
Instances Instance Config Device Sdh]
- sdas List<Property Map>
- ...
sdh- 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 bydisk_labelorvolume_id. Only one disk identifier is permitted per slot. Devices mapped fromsdethroughsdhare unavailable in"fullvirt"virt_mode. - sdbs List<Property Map>
- sdcs List<Property Map>
- sdds List<Property Map>
- sdes List<Property Map>
- sdfs List<Property Map>
- sdgs List<Property Map>
- sdhs List<Property Map>
GetInstancesInstanceConfigDeviceSda
- disk_
id int - The Disk ID of the associated
disk_label, if used - disk_
label str - The
labelof thediskto map to thisdeviceslot. - volume_
id int - The Volume ID to map to this
deviceslot.
GetInstancesInstanceConfigDeviceSdb
- disk_
id int - The Disk ID of the associated
disk_label, if used - disk_
label str - The
labelof thediskto map to thisdeviceslot. - volume_
id int - The Volume ID to map to this
deviceslot.
GetInstancesInstanceConfigDeviceSdc
- disk_
id int - The Disk ID of the associated
disk_label, if used - disk_
label str - The
labelof thediskto map to thisdeviceslot. - volume_
id int - The Volume ID to map to this
deviceslot.
GetInstancesInstanceConfigDeviceSdd
- disk_
id int - The Disk ID of the associated
disk_label, if used - disk_
label str - The
labelof thediskto map to thisdeviceslot. - volume_
id int - The Volume ID to map to this
deviceslot.
GetInstancesInstanceConfigDeviceSde
- disk_
id int - The Disk ID of the associated
disk_label, if used - disk_
label str - The
labelof thediskto map to thisdeviceslot. - volume_
id int - The Volume ID to map to this
deviceslot.
GetInstancesInstanceConfigDeviceSdf
- disk_
id int - The Disk ID of the associated
disk_label, if used - disk_
label str - The
labelof thediskto map to thisdeviceslot. - volume_
id int - The Volume ID to map to this
deviceslot.
GetInstancesInstanceConfigDeviceSdg
- disk_
id int - The Disk ID of the associated
disk_label, if used - disk_
label str - The
labelof thediskto map to thisdeviceslot. - volume_
id int - The Volume ID to map to this
deviceslot.
GetInstancesInstanceConfigDeviceSdh
- disk_
id int - The Disk ID of the associated
disk_label, if used - disk_
label str - The
labelof thediskto map to thisdeviceslot. - volume_
id int - The Volume ID to map to this
deviceslot.
GetInstancesInstanceConfigHelper
- 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.
- 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.
- devtmpfs
Automount Boolean - distro Boolean
- Controls the behavior of the Linode Config's Distribution Helper setting.
- modules
Dep 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.
- updatedb
Disabled Boolean - Disables updatedb cron job to avoid disk thrashing.
- devtmpfs
Automount boolean - distro boolean
- Controls the behavior of the Linode Config's Distribution Helper setting.
- modules
Dep 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.
- updatedb
Disabled 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.
- devtmpfs
Automount Boolean - distro Boolean
- Controls the behavior of the Linode Config's Distribution Helper setting.
- modules
Dep 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.
- updatedb
Disabled Boolean - Disables updatedb cron job to avoid disk thrashing.
GetInstancesInstanceConfigInterface
- Ipam
Address 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 forpublicpurpose interfaces. - Purpose string
- (Required) The type of interface. (
public,vlan)
- Ipam
Address 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 forpublicpurpose interfaces. - Purpose string
- (Required) The type of interface. (
public,vlan)
- ipam
Address 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 forpublicpurpose interfaces. - purpose String
- (Required) The type of interface. (
public,vlan)
- ipam
Address 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 forpublicpurpose 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 forpublicpurpose interfaces. - purpose str
- (Required) The type of interface. (
public,vlan)
- ipam
Address 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 forpublicpurpose 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 forpublicpurpose 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 forpublicpurpose 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 forpublicpurpose 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 forpublicpurpose 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 forpublicpurpose 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 forpublicpurpose interfaces. - size Number
- The size of the Disk in MB.
GetInstancesInstanceSpec
Package Details
- Repository
- Linode pulumi/pulumi-linode
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
linodeTerraform Provider.
Viewing docs for Linode v3.12.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
