Class GetImage
Inheritance
Inherited Members
Namespace: Pulumi.Linode
Assembly: Pulumi.Linode.dll
Syntax
public static class GetImage
Methods
View SourceInvokeAsync(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: 2500type- 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.Nonefor 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> |