Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
published on Tuesday, Sep 15, 2026 by Pulumi
Viewing docs for Linode v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
published on Tuesday, Sep 15, 2026 by Pulumi
Provides information about a Linode instance type For more information, see the Linode APIv4 docs.
Example Usage
The following example shows how one might use this data source to access information about a Linode Instance type.
import * as pulumi from "@pulumi/pulumi";
import * as linode from "@pulumi/linode";
const _default = linode.getInstanceType({
id: "g6-standard-2",
});
import pulumi
import pulumi_linode as linode
default = linode.get_instance_type(id="g6-standard-2")
package main
import (
"github.com/pulumi/pulumi-linode/sdk/v6/go/linode"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := linode.GetInstanceType(ctx, &linode.GetInstanceTypeArgs{
Id: "g6-standard-2",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Linode = Pulumi.Linode;
return await Deployment.RunAsync(() =>
{
var @default = Linode.GetInstanceType.Invoke(new()
{
Id = "g6-standard-2",
});
});
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.GetInstanceTypeArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 default = LinodeFunctions.getInstanceType(GetInstanceTypeArgs.builder()
.id("g6-standard-2")
.build());
}
}
variables:
default:
fn::invoke:
function: linode:getInstanceType
arguments:
id: g6-standard-2
pulumi {
required_providers {
linode = {
source = "pulumi/linode"
}
}
}
data "linode_getinstancetype" "default" {
id = "g6-standard-2"
}
Using getInstanceType
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 getInstanceType(args: GetInstanceTypeArgs, opts?: InvokeOptions): Promise<GetInstanceTypeResult>
function getInstanceTypeOutput(args: GetInstanceTypeOutputArgs, opts?: InvokeOutputOptions): Output<GetInstanceTypeResult>def get_instance_type(id: Optional[str] = None,
label: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceTypeResult
def get_instance_type_output(id: pulumi.Input[Optional[str]] = None,
label: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetInstanceTypeResult]func GetInstanceType(ctx *Context, args *GetInstanceTypeArgs, opts ...InvokeOption) (*GetInstanceTypeResult, error)
func GetInstanceTypeOutput(ctx *Context, args *GetInstanceTypeOutputArgs, opts ...InvokeOption) GetInstanceTypeResultOutput> Note: This function is named GetInstanceType in the Go SDK.
public static class GetInstanceType
{
public static Task<GetInstanceTypeResult> InvokeAsync(GetInstanceTypeArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceTypeResult> Invoke(GetInstanceTypeInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceTypeResult> Invoke(GetInstanceTypeInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetInstanceTypeResult> getInstanceType(GetInstanceTypeArgs args, InvokeOptions options)
public static Output<GetInstanceTypeResult> getInstanceType(GetInstanceTypeArgs args, InvokeOptions options)
public static Output<GetInstanceTypeResult> getInstanceType(GetInstanceTypeArgs args, InvokeOutputOptions options)
fn::invoke:
function: linode:index/getInstanceType:getInstanceType
arguments:
# arguments dictionarydata "linode_get_instance_type" "name" {
# arguments
}The following arguments are supported:
getInstanceType Result
The following output properties are available:
- Accelerated
Devices int - The number of VPUs this Linode Type offers.
- Addons
List<Get
Instance Type Addon> - (Read-Only Object List) Add-ons available for this Linode Type. Referenced with an index (e.g.
addons.0.backups). - Class string
- The class of the Linode Type. See all classes here.
- Disk int
- The Disk size, in MB, of the Linode Type
- Id string
- The ID representing the Linode Type
- Label string
- The Linode Type's label is for display purposes only
- Memory int
- The amount of RAM included in this Linode Type.
- Network
Out int - The Mbits outbound bandwidth allocation.
- Prices
List<Get
Instance Type Price> - (Read-Only Object List) Pricing information for this Linode Type. Referenced with an index (e.g.
price.0.hourly). - Region
Prices List<GetInstance Type Region Price> - (Read-Only Object List) Region-specific pricing information for this Linode Type. Referenced with an index (e.g.
region_prices.0.id). - Transfer int
- The monthly outbound transfer amount, in MB.
- Vcpus int
- The number of VCPU cores this Linode Type offers.
- Accelerated
Devices int - The number of VPUs this Linode Type offers.
- Addons
[]Get
Instance Type Addon - (Read-Only Object List) Add-ons available for this Linode Type. Referenced with an index (e.g.
addons.0.backups). - Class string
- The class of the Linode Type. See all classes here.
- Disk int
- The Disk size, in MB, of the Linode Type
- Id string
- The ID representing the Linode Type
- Label string
- The Linode Type's label is for display purposes only
- Memory int
- The amount of RAM included in this Linode Type.
- Network
Out int - The Mbits outbound bandwidth allocation.
- Prices
[]Get
Instance Type Price - (Read-Only Object List) Pricing information for this Linode Type. Referenced with an index (e.g.
price.0.hourly). - Region
Prices []GetInstance Type Region Price - (Read-Only Object List) Region-specific pricing information for this Linode Type. Referenced with an index (e.g.
region_prices.0.id). - Transfer int
- The monthly outbound transfer amount, in MB.
- Vcpus int
- The number of VCPU cores this Linode Type offers.
- accelerated_
devices number - The number of VPUs this Linode Type offers.
- addons list(object)
- (Read-Only Object List) Add-ons available for this Linode Type. Referenced with an index (e.g.
addons.0.backups). - class string
- The class of the Linode Type. See all classes here.
- disk number
- The Disk size, in MB, of the Linode Type
- id string
- The ID representing the Linode Type
- label string
- The Linode Type's label is for display purposes only
- memory number
- The amount of RAM included in this Linode Type.
- network_
out number - The Mbits outbound bandwidth allocation.
- prices list(object)
- (Read-Only Object List) Pricing information for this Linode Type. Referenced with an index (e.g.
price.0.hourly). - region_
prices list(object) - (Read-Only Object List) Region-specific pricing information for this Linode Type. Referenced with an index (e.g.
region_prices.0.id). - transfer number
- The monthly outbound transfer amount, in MB.
- vcpus number
- The number of VCPU cores this Linode Type offers.
- accelerated
Devices Integer - The number of VPUs this Linode Type offers.
- addons
List<Get
Instance Type Addon> - (Read-Only Object List) Add-ons available for this Linode Type. Referenced with an index (e.g.
addons.0.backups). - class_ String
- The class of the Linode Type. See all classes here.
- disk Integer
- The Disk size, in MB, of the Linode Type
- id String
- The ID representing the Linode Type
- label String
- The Linode Type's label is for display purposes only
- memory Integer
- The amount of RAM included in this Linode Type.
- network
Out Integer - The Mbits outbound bandwidth allocation.
- prices
List<Get
Instance Type Price> - (Read-Only Object List) Pricing information for this Linode Type. Referenced with an index (e.g.
price.0.hourly). - region
Prices List<GetInstance Type Region Price> - (Read-Only Object List) Region-specific pricing information for this Linode Type. Referenced with an index (e.g.
region_prices.0.id). - transfer Integer
- The monthly outbound transfer amount, in MB.
- vcpus Integer
- The number of VCPU cores this Linode Type offers.
- accelerated
Devices number - The number of VPUs this Linode Type offers.
- addons
Get
Instance Type Addon[] - (Read-Only Object List) Add-ons available for this Linode Type. Referenced with an index (e.g.
addons.0.backups). - class string
- The class of the Linode Type. See all classes here.
- disk number
- The Disk size, in MB, of the Linode Type
- id string
- The ID representing the Linode Type
- label string
- The Linode Type's label is for display purposes only
- memory number
- The amount of RAM included in this Linode Type.
- network
Out number - The Mbits outbound bandwidth allocation.
- prices
Get
Instance Type Price[] - (Read-Only Object List) Pricing information for this Linode Type. Referenced with an index (e.g.
price.0.hourly). - region
Prices GetInstance Type Region Price[] - (Read-Only Object List) Region-specific pricing information for this Linode Type. Referenced with an index (e.g.
region_prices.0.id). - transfer number
- The monthly outbound transfer amount, in MB.
- vcpus number
- The number of VCPU cores this Linode Type offers.
- accelerated_
devices int - The number of VPUs this Linode Type offers.
- addons
Sequence[Get
Instance Type Addon] - (Read-Only Object List) Add-ons available for this Linode Type. Referenced with an index (e.g.
addons.0.backups). - class_ str
- The class of the Linode Type. See all classes here.
- disk int
- The Disk size, in MB, of the Linode Type
- id str
- The ID representing the Linode Type
- label str
- The Linode Type's label is for display purposes only
- memory int
- The amount of RAM included in this Linode Type.
- network_
out int - The Mbits outbound bandwidth allocation.
- prices
Sequence[Get
Instance Type Price] - (Read-Only Object List) Pricing information for this Linode Type. Referenced with an index (e.g.
price.0.hourly). - region_
prices Sequence[GetInstance Type Region Price] - (Read-Only Object List) Region-specific pricing information for this Linode Type. Referenced with an index (e.g.
region_prices.0.id). - transfer int
- The monthly outbound transfer amount, in MB.
- vcpus int
- The number of VCPU cores this Linode Type offers.
- accelerated
Devices Number - The number of VPUs this Linode Type offers.
- addons List<Property Map>
- (Read-Only Object List) Add-ons available for this Linode Type. Referenced with an index (e.g.
addons.0.backups). - class String
- The class of the Linode Type. See all classes here.
- disk Number
- The Disk size, in MB, of the Linode Type
- id String
- The ID representing the Linode Type
- label String
- The Linode Type's label is for display purposes only
- memory Number
- The amount of RAM included in this Linode Type.
- network
Out Number - The Mbits outbound bandwidth allocation.
- prices List<Property Map>
- (Read-Only Object List) Pricing information for this Linode Type. Referenced with an index (e.g.
price.0.hourly). - region
Prices List<Property Map> - (Read-Only Object List) Region-specific pricing information for this Linode Type. Referenced with an index (e.g.
region_prices.0.id). - transfer Number
- The monthly outbound transfer amount, in MB.
- vcpus Number
- The number of VCPU cores this Linode Type offers.
Supporting Types
GetInstanceTypeAddon
- Backups
List<Get
Instance Type Addon Backup> - (Read-Only Object List) Backups add-on pricing information. Referenced with an index (e.g.
addons.0.backups.0.price).
- Backups
[]Get
Instance Type Addon Backup - (Read-Only Object List) Backups add-on pricing information. Referenced with an index (e.g.
addons.0.backups.0.price).
- backups list(object)
- (Read-Only Object List) Backups add-on pricing information. Referenced with an index (e.g.
addons.0.backups.0.price).
- backups
List<Get
Instance Type Addon Backup> - (Read-Only Object List) Backups add-on pricing information. Referenced with an index (e.g.
addons.0.backups.0.price).
- backups
Get
Instance Type Addon Backup[] - (Read-Only Object List) Backups add-on pricing information. Referenced with an index (e.g.
addons.0.backups.0.price).
- backups
Sequence[Get
Instance Type Addon Backup] - (Read-Only Object List) Backups add-on pricing information. Referenced with an index (e.g.
addons.0.backups.0.price).
- backups List<Property Map>
- (Read-Only Object List) Backups add-on pricing information. Referenced with an index (e.g.
addons.0.backups.0.price).
GetInstanceTypeAddonBackup
- Prices
List<Get
Instance Type Addon Backup Price> - (Read-Only Object List) The price to add Backups service. Referenced with an index (e.g.
addons.0.backups.0.price.0.hourly). - Region
Prices List<GetInstance Type Addon Backup Region Price> - (Read-Only Object List) Region-specific pricing information for this Linode Type. Referenced with an index (e.g.
region_prices.0.id).
- Prices
[]Get
Instance Type Addon Backup Price - (Read-Only Object List) The price to add Backups service. Referenced with an index (e.g.
addons.0.backups.0.price.0.hourly). - Region
Prices []GetInstance Type Addon Backup Region Price - (Read-Only Object List) Region-specific pricing information for this Linode Type. Referenced with an index (e.g.
region_prices.0.id).
- prices list(object)
- (Read-Only Object List) The price to add Backups service. Referenced with an index (e.g.
addons.0.backups.0.price.0.hourly). - region_
prices list(object) - (Read-Only Object List) Region-specific pricing information for this Linode Type. Referenced with an index (e.g.
region_prices.0.id).
- prices
List<Get
Instance Type Addon Backup Price> - (Read-Only Object List) The price to add Backups service. Referenced with an index (e.g.
addons.0.backups.0.price.0.hourly). - region
Prices List<GetInstance Type Addon Backup Region Price> - (Read-Only Object List) Region-specific pricing information for this Linode Type. Referenced with an index (e.g.
region_prices.0.id).
- prices
Get
Instance Type Addon Backup Price[] - (Read-Only Object List) The price to add Backups service. Referenced with an index (e.g.
addons.0.backups.0.price.0.hourly). - region
Prices GetInstance Type Addon Backup Region Price[] - (Read-Only Object List) Region-specific pricing information for this Linode Type. Referenced with an index (e.g.
region_prices.0.id).
- prices
Sequence[Get
Instance Type Addon Backup Price] - (Read-Only Object List) The price to add Backups service. Referenced with an index (e.g.
addons.0.backups.0.price.0.hourly). - region_
prices Sequence[GetInstance Type Addon Backup Region Price] - (Read-Only Object List) Region-specific pricing information for this Linode Type. Referenced with an index (e.g.
region_prices.0.id).
- prices List<Property Map>
- (Read-Only Object List) The price to add Backups service. Referenced with an index (e.g.
addons.0.backups.0.price.0.hourly). - region
Prices List<Property Map> - (Read-Only Object List) Region-specific pricing information for this Linode Type. Referenced with an index (e.g.
region_prices.0.id).
GetInstanceTypeAddonBackupPrice
GetInstanceTypeAddonBackupRegionPrice
GetInstanceTypePrice
GetInstanceTypeRegionPrice
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 v6.6.0
published on Tuesday, Sep 15, 2026 by Pulumi
published on Tuesday, Sep 15, 2026 by Pulumi