Class MachineImageState


  • public final class MachineImageState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • description

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
        Returns:
        A text description of the resource.
      • guestFlush

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> guestFlush()
        Returns:
        Specify this to create an application consistent machine image by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
      • machineImageEncryptionKey

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

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
        Returns:
        Name of the resource.
      • 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.
      • selfLink

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> selfLink()
        Returns:
        The URI of the created resource.
      • sourceInstance

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> sourceInstance()
        Returns:
        The source instance used to create the machine image. You can provide this as a partial or full URL to the resource. ***
      • storageLocations

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> storageLocations()
        Returns:
        The regional or multi-regional Cloud Storage bucket location where the machine image is stored.