Class ImageState
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.openstack.images.inputs.ImageState
-
public final class ImageState extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImageState.Builder
-
Field Summary
Fields Modifier and Type Field Description static ImageStateEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ImageState.Builderbuilder()static ImageState.Builderbuilder(ImageState defaults)java.util.Optional<com.pulumi.core.Output<java.lang.String>>checksum()java.util.Optional<com.pulumi.core.Output<java.lang.String>>containerFormat()java.util.Optional<com.pulumi.core.Output<java.lang.String>>createdAt()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>decompress()java.util.Optional<com.pulumi.core.Output<java.lang.String>>diskFormat()java.util.Optional<com.pulumi.core.Output<java.lang.String>>file()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>hidden()java.util.Optional<com.pulumi.core.Output<java.lang.String>>imageCachePath()java.util.Optional<com.pulumi.core.Output<java.lang.String>>imageId()java.util.Optional<com.pulumi.core.Output<java.lang.String>>imageSourcePassword()java.util.Optional<com.pulumi.core.Output<java.lang.String>>imageSourceUrl()java.util.Optional<com.pulumi.core.Output<java.lang.String>>imageSourceUsername()java.util.Optional<com.pulumi.core.Output<java.lang.String>>localFilePath()java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>>metadata()java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>minDiskGb()java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>minRamMb()java.util.Optional<com.pulumi.core.Output<java.lang.String>>name()java.util.Optional<com.pulumi.core.Output<java.lang.String>>owner()java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>>properties()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>protected_()java.util.Optional<com.pulumi.core.Output<java.lang.String>>region()java.util.Optional<com.pulumi.core.Output<java.lang.String>>schema()java.util.Optional<com.pulumi.core.Output<java.lang.Integer>>sizeBytes()java.util.Optional<com.pulumi.core.Output<java.lang.String>>status()java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>tags()java.util.Optional<com.pulumi.core.Output<java.lang.String>>updateAt()Deprecated.Use updated_at insteadjava.util.Optional<com.pulumi.core.Output<java.lang.String>>updatedAt()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>verifyChecksum()java.util.Optional<com.pulumi.core.Output<java.lang.String>>visibility()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>webDownload()
-
-
-
Field Detail
-
Empty
public static final ImageState Empty
-
-
Method Detail
-
checksum
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> checksum()
- Returns:
- The checksum of the data associated with the image.
-
containerFormat
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> containerFormat()
- Returns:
- The container format. Must be one of "ami", "ari", "aki", "bare", "ovf".
-
createdAt
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> createdAt()
- Returns:
- The date the image was created.
-
decompress
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> decompress()
- Returns:
- If true, this provider will decompress downloaded image before uploading it to OpenStack. Decompression algorithm is chosen by checking "Content-Type" header, supported algorithm are: gzip, bzip2 and xz. Defaults to false. Changing this creates a new Image.
-
diskFormat
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> diskFormat()
- Returns:
- The disk format. Must be one of "ami", "ari", "aki", "vhd", "vmdk", "raw", "qcow2", "vdi", "iso".
-
file
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> file()
- Returns:
- the trailing path after the glance endpoint that represent the location of the image or the path to retrieve it.
-
hidden
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> hidden()
- Returns:
- If true, image will be hidden from public list. Defaults to false.
-
imageCachePath
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageCachePath()
-
imageId
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageId()
- Returns:
- Unique ID (valid UUID) of image to create. Changing this creates a new image.
-
imageSourcePassword
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageSourcePassword()
- Returns:
- The password of basic auth to download `image_source_url`.
-
imageSourceUrl
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageSourceUrl()
- Returns:
- This is the url of the raw image. If `web_download` is not used, then the image will be downloaded in the `image_cache_path` before being uploaded to Glance. Conflicts with `local_file_path`.
-
imageSourceUsername
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> imageSourceUsername()
- Returns:
- The username of basic auth to download `image_source_url`.
-
localFilePath
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> localFilePath()
- Returns:
- This is the filepath of the raw image file that will be uploaded to Glance. Conflicts with `image_source_url` and `web_download`.
-
metadata
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>> metadata()
- Returns:
- The metadata associated with the image. Image metadata allow for meaningfully define the image properties and tags. See https://docs.openstack.org/glance/latest/user/metadefs-concepts.html.
-
minDiskGb
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> minDiskGb()
- Returns:
- Amount of disk space (in GB) required to boot image. Defaults to 0.
-
minRamMb
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> minRamMb()
- Returns:
- Amount of ram (in MB) required to boot image. Defauts to 0.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- The name of the image.
-
owner
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> owner()
- Returns:
- The id of the openstack user who owns the image.
-
properties
public java.util.Optional<com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.Object>>> properties()
- Returns:
- A map of key/value pairs to set freeform information about an image. See the "Notes" section for further information about properties.
-
protected_
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> protected_()
- Returns:
- If true, image will not be deletable. Defaults to false.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- The region in which to obtain the V2 Glance client. A Glance client is needed to create an Image that can be used with a compute instance. If omitted, the `region` argument of the provider is used. Changing this creates a new Image.
-
schema
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> schema()
- Returns:
- The path to the JSON-schema that represent the image or image
-
sizeBytes
public java.util.Optional<com.pulumi.core.Output<java.lang.Integer>> sizeBytes()
- Returns:
- The size in bytes of the data associated with the image.
-
status
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> status()
- Returns:
- The status of the image. It can be "queued", "active" or "saving".
-
tags
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> tags()
- Returns:
- The tags of the image. It must be a list of strings. At this time, it is not possible to delete all tags of an image.
-
updateAt
@Deprecated public java.util.Optional<com.pulumi.core.Output<java.lang.String>> updateAt()
Deprecated.Use updated_at instead- Returns:
- (**Deprecated** - use `updated_at` instead)
-
updatedAt
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> updatedAt()
- Returns:
- The date the image was last updated.
-
verifyChecksum
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> verifyChecksum()
- Returns:
- If false, the checksum will not be verified once the image is finished uploading. Conflicts with `web_download`. Defaults to true when not using `web_download`.
-
visibility
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> visibility()
- Returns:
- The visibility of the image. Must be one of "public", "private", "community", or "shared". The ability to set the visibility depends upon the configuration of the OpenStack cloud.
-
webDownload
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> webDownload()
- Returns:
- If true, the "web-download" import method will be used to let Openstack download the image directly from the remote source. Conflicts with `local_file_path`. Defaults to false.
-
builder
public static ImageState.Builder builder()
-
builder
public static ImageState.Builder builder(ImageState defaults)
-
-