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.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public static class GetImage

Methods

View Source

InvokeAsync(GetImageArgs, InvokeOptions)

Get information about a Google Compute Image. Check that your service account has the compute.imageUser role if you want to share custom images from another project. If you want to use [public images][pubimg], do not forget to specify the dedicated project. For more information see the official documentation and its API.

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

Declaration
public static Task<GetImageResult> InvokeAsync(GetImageArgs args = null, 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.