Show / Hide Table of Contents

Class GetInstanceType

Inheritance
System.Object
GetInstanceType
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Linode
Assembly: Pulumi.Linode.dll
Syntax
public static class GetInstanceType

Methods

View Source

InvokeAsync(GetInstanceTypeArgs, InvokeOptions)

Provides information about a Linode instance type

{{% examples %}}

Example Usage

{{% example %}}

The following example shows how one might use this data source to access information about a Linode Instance type.

using Pulumi;
using Linode = Pulumi.Linode;

class MyStack : Stack
{
public MyStack()
{
    var @default = Output.Create(Linode.GetInstanceType.InvokeAsync(new Linode.GetInstanceTypeArgs
    {
        Id = "g6-standard-2",
    }));
}

}

{{% /example %}} {{% /examples %}}

Attributes

The Linode Instance Type resource exports the following attributes:

  • id - The ID representing the Linode Type

  • label - The Linode Type's label is for display purposes only

  • class - The class of the Linode Type

  • disk - The Disk size, in MB, of the Linode Type

  • price.0.hourly - Cost (in US dollars) per hour.

  • price.0.monthly - Cost (in US dollars) per month.

  • addons.0.backups.0.price.0.hourly - The cost (in US dollars) per hour to add Backups service.

  • addons.0.backups.0.price.0.monthly - The cost (in US dollars) per month to add Backups service.

Declaration
public static Task<GetInstanceTypeResult> InvokeAsync(GetInstanceTypeArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetInstanceTypeArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetInstanceTypeResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.