Show / Hide Table of Contents

Class GetImage

Inheritance
System.Object
GetImage
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 GetImage

Methods

View Source

InvokeAsync(GetImageArgs, InvokeOptions)

Provides information about a Linode image

{{% examples %}}

Example Usage

{{% example %}}

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

using Pulumi;
using Linode = Pulumi.Linode;

class MyStack : Stack
{
public MyStack()
{
    var k8Master = Output.Create(Linode.GetImage.InvokeAsync(new Linode.GetImageArgs
    {
        Id = "linode/debian8",
    }));
}

}

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

Attributes

The Linode Image resource exports the following attributes:

  • label - A short description of the Image.

  • created - When this Image was created.

  • created_by - The name of the User who created this Image, or "linode" for official Images.

  • deprecated - Whether or not this Image is deprecated. Will only be true for deprecated public Images.

  • description - A detailed description of this Image.

  • is_public - True if the Image is public.

  • size - The minimum size this Image needs to deploy. Size is in MB. example: 2500

  • type - How the Image was created. Manual Images can be created at any time. image"Automatic" Images are created automatically from a deleted Linode.

  • vendor - The upstream distribution vendor. None for private Images.

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