Package com.pulumi.openstack.images
Class ImageArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.openstack.images.ImageArgs
-
public final class ImageArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classImageArgs.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageArgs.Builderbuilder()static ImageArgs.Builderbuilder(ImageArgs defaults)com.pulumi.core.Output<java.lang.String>containerFormat()java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>decompress()com.pulumi.core.Output<java.lang.String>diskFormat()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.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.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.util.List<java.lang.String>>>tags()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 ImageArgs Empty
-
-
Method Detail
-
containerFormat
public com.pulumi.core.Output<java.lang.String> containerFormat()
- Returns:
- The container format. Must be one of "ami", "ari", "aki", "bare", "ovf".
-
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 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".
-
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`.
-
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.
-
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.
-
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.
-
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 ImageArgs.Builder builder()
-
builder
public static ImageArgs.Builder builder(ImageArgs defaults)
-
-