Show / Hide Table of Contents

Class ImageState

Inheritance
System.Object
InputArgs
ResourceArgs
ImageState
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.OpenStack.Images
Assembly: Pulumi.OpenStack.dll
Syntax
public sealed class ImageState : ResourceArgs

Constructors

View Source

ImageState()

Declaration
public ImageState()

Properties

View Source

Checksum

The checksum of the data associated with the image.

Declaration
public Input<string> Checksum { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ContainerFormat

The container format. Must be one of "ami", "ari", "aki", "bare", "ovf".

Declaration
public Input<string> ContainerFormat { get; set; }
Property Value
Type Description
Input<System.String>
View Source

CreatedAt

The date the image was created.

Declaration
public Input<string> CreatedAt { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DiskFormat

The disk format. Must be one of "ami", "ari", "aki", "vhd", "vmdk", "raw", "qcow2", "vdi", "iso".

Declaration
public Input<string> DiskFormat { get; set; }
Property Value
Type Description
Input<System.String>
View Source

File

the trailing path after the glance endpoint that represent the location of the image or the path to retrieve it.

Declaration
public Input<string> File { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ImageCachePath

Declaration
public Input<string> ImageCachePath { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ImageSourceUrl

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.

Declaration
public Input<string> ImageSourceUrl { get; set; }
Property Value
Type Description
Input<System.String>
View Source

LocalFilePath

This is the filepath of the raw image file that will be uploaded to Glance. Conflicts with image_source_url and web_download.

Declaration
public Input<string> LocalFilePath { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Metadata

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.

Declaration
public InputMap<object> Metadata { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

MinDiskGb

Amount of disk space (in GB) required to boot image. Defaults to 0.

Declaration
public Input<int> MinDiskGb { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

MinRamMb

Amount of ram (in MB) required to boot image. Defauts to 0.

Declaration
public Input<int> MinRamMb { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Name

The name of the image.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Owner

The id of the openstack user who owns the image.

Declaration
public Input<string> Owner { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Properties

A map of key/value pairs to set freeform information about an image. See the "Notes" section for further information about properties.

Declaration
public InputMap<object> Properties { get; set; }
Property Value
Type Description
InputMap<System.Object>
View Source

Protected

If true, image will not be deletable. Defaults to false.

Declaration
public Input<bool> Protected { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Region

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.

Declaration
public Input<string> Region { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Schema

The path to the JSON-schema that represent the image or image

Declaration
public Input<string> Schema { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SizeBytes

The size in bytes of the data associated with the image.

Declaration
public Input<int> SizeBytes { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

Status

The status of the image. It can be "queued", "active" or "saving".

Declaration
public Input<string> Status { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Tags

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.

Declaration
public InputList<string> Tags { get; set; }
Property Value
Type Description
InputList<System.String>
View Source

UpdateAt

(Deprecated - use updated_at instead)

Declaration
public Input<string> UpdateAt { get; set; }
Property Value
Type Description
Input<System.String>
View Source

UpdatedAt

The date the image was last updated.

Declaration
public Input<string> UpdatedAt { get; set; }
Property Value
Type Description
Input<System.String>
View Source

VerifyChecksum

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.

Declaration
public Input<bool> VerifyChecksum { get; set; }
Property Value
Type Description
Input<System.Boolean>
View Source

Visibility

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.

Declaration
public Input<string> Visibility { get; set; }
Property Value
Type Description
Input<System.String>
View Source

WebDownload

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.

Declaration
public Input<bool> WebDownload { get; set; }
Property Value
Type Description
Input<System.Boolean>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.