Class GetImageArgs


  • public final class GetImageArgs
    extends com.pulumi.resources.InvokeArgs
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  GetImageArgs.Builder  
      • Nested classes/interfaces inherited from class com.pulumi.resources.InputArgs

        com.pulumi.resources.InputArgs.InputArgsInternal
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static GetImageArgs.Builder builder()  
      static GetImageArgs.Builder builder​(GetImageArgs defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> family()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> filter()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> mostRecent()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()  
      • Methods inherited from class com.pulumi.resources.InvokeArgs

        validateMember
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • family

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> family()
        Returns:
        The family name of the image.
      • filter

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> filter()
      • mostRecent

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> mostRecent()
        Returns:
        A boolean to indicate either to take to most recent image if your filter returns more than one image.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        , `family` or `filter` - (Required) The name of a specific image or a family. Exactly one of `name`, `family` or `filter` must be specified. If `name` is specified, it will fetch the corresponding image. If `family` is specified, it will return the latest image that is part of an image family and is not deprecated. If you specify `filter`, your filter must return exactly one image unless you use `most_recent`. Filter syntax can be found [here](https://cloud.google.com/compute/docs/reference/rest/v1/images/list) in the filter section. ***
      • project

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
        Returns:
        The project in which the resource belongs. If it is not provided, the provider project is used. If you are using a [public base image][pubimg], be sure to specify the correct Image Project.