Show / Hide Table of Contents

Class ImageArgs

Inheritance
System.Object
InputArgs
ResourceArgs
ImageArgs
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 ImageArgs : ResourceArgs

Constructors

View Source

ImageArgs()

Declaration
public ImageArgs()

Properties

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

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

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

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

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

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

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.