Class ImageArgs


  • public final class ImageArgs
    extends com.pulumi.resources.ResourceArgs
    • Nested Class Summary

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

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

      Fields 
      Modifier and Type Field Description
      static ImageArgs Empty  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ImageArgs.Builder builder()  
      static ImageArgs.Builder builder​(ImageArgs defaults)  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()  
      java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> diskSizeGb()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> family()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<ImageGuestOsFeatureArgs>>> guestOsFeatures()  
      java.util.Optional<com.pulumi.core.Output<ImageImageEncryptionKeyArgs>> imageEncryptionKey()  
      java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> labels()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> licenses()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()  
      java.util.Optional<com.pulumi.core.Output<ImageRawDiskArgs>> rawDisk()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> sourceDisk()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> sourceImage()  
      java.util.Optional<com.pulumi.core.Output<java.lang.String>> sourceSnapshot()  
      java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> storageLocations()  
      • Methods inherited from class com.pulumi.resources.ResourceArgs

        validateMember
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        An optional description of this resource. Provide this property when you create the resource.
      • diskSizeGb

        public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> diskSizeGb()
        Returns:
        Size of the image when restored onto a persistent disk (in GB).
      • family

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> family()
        Returns:
        The name of the image family to which this image belongs. You can create disks by specifying an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035.
      • guestOsFeatures

        public java.util.Optional<com.pulumi.core.Output<java.util.List<ImageGuestOsFeatureArgs>>> guestOsFeatures()
        Returns:
        A list of features to enable on the guest operating system. Applicable only for bootable images. Structure is documented below.
      • imageEncryptionKey

        public java.util.Optional<com.pulumi.core.Output<ImageImageEncryptionKeyArgs>> imageEncryptionKey()
        Returns:
        Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image) Structure is documented below.
      • labels

        public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>>> labels()
        Returns:
        Labels to apply to this Image.
      • licenses

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> licenses()
        Returns:
        Any applicable license URI.
      • name

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `a-z?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. ***
      • project

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
        Returns:
        The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
      • rawDisk

        public java.util.Optional<com.pulumi.core.Output<ImageRawDiskArgs>> rawDisk()
        Returns:
        The parameters of the raw disk image. Structure is documented below.
      • sourceDisk

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> sourceDisk()
        Returns:
        The source disk to create this image based on. You must provide either this property or the rawDisk.source property but not both to create an image.
      • sourceImage

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> sourceImage()
        Returns:
        URL of the source image used to create this image. In order to create an image, you must provide the full or partial URL of one of the following: * The selfLink URL * This property * The rawDisk.source URL * The sourceDisk URL
      • sourceSnapshot

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> sourceSnapshot()
        Returns:
        URL of the source snapshot used to create this image. In order to create an image, you must provide the full or partial URL of one of the following: * The selfLink URL * This property * The sourceImage URL * The rawDisk.source URL * The sourceDisk URL
      • storageLocations

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> storageLocations()
        Returns:
        Cloud Storage bucket storage location of the image (regional or multi-regional). Reference link: https://cloud.google.com/compute/docs/reference/rest/v1/images