Class GetImageArgs
Inherited Members
Namespace: Pulumi.OpenStack.Images
Assembly: Pulumi.OpenStack.dll
Syntax
public sealed class GetImageArgs : InvokeArgs
Constructors
View SourceGetImageArgs()
Declaration
public GetImageArgs()
Properties
View SourceMemberStatus
The status of the image. Must be one of "accepted", "pending", "rejected", or "all".
Declaration
public string MemberStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
MostRecent
If more than one result is returned, use the most recent image.
Declaration
public bool? MostRecent { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
Name
The name of the image.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Owner
The owner (UUID) of the image.
Declaration
public string Owner { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Properties
a map of key/value pairs to match an image with. All specified properties must be matched.
Declaration
public Dictionary<string, object> Properties { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.Dictionary<System.String, System.Object> |
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.
Declaration
public string Region { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SizeMax
The maximum size (in bytes) of the image to return.
Declaration
public int? SizeMax { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
SizeMin
The minimum size (in bytes) of the image to return.
Declaration
public int? SizeMin { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
SortDirection
Order the results in either asc or desc.
Declaration
public string SortDirection { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SortKey
Sort images based on a certain key. Defaults to name.
Declaration
public string SortKey { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Tag
Search for images with a specific tag.
Declaration
public string Tag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Visibility
The visibility of the image. Must be one of "public", "private", "community", or "shared". Defaults to "private".
Declaration
public string Visibility { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |