Nutanix v0.5.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg
nutanix.getImage
Explore with Pulumi AI
Describes a Image
Using getImage
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getImage(args: GetImageArgs, opts?: InvokeOptions): Promise<GetImageResult>
function getImageOutput(args: GetImageOutputArgs, opts?: InvokeOptions): Output<GetImageResult>def get_image(categories: Optional[Sequence[GetImageCategory]] = None,
              image_id: Optional[str] = None,
              image_name: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetImageResult
def get_image_output(categories: Optional[pulumi.Input[Sequence[pulumi.Input[GetImageCategoryArgs]]]] = None,
              image_id: Optional[pulumi.Input[str]] = None,
              image_name: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetImageResult]func LookupImage(ctx *Context, args *LookupImageArgs, opts ...InvokeOption) (*LookupImageResult, error)
func LookupImageOutput(ctx *Context, args *LookupImageOutputArgs, opts ...InvokeOption) LookupImageResultOutput> Note: This function is named LookupImage in the Go SDK.
public static class GetImage 
{
    public static Task<GetImageResult> InvokeAsync(GetImageArgs args, InvokeOptions? opts = null)
    public static Output<GetImageResult> Invoke(GetImageInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetImageResult> getImage(GetImageArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: nutanix:index/getImage:getImage
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Categories
List<Piers
Karsenbarg. Nutanix. Inputs. Get Image Category>  - Categories for the image.
 
- Image
Id string - Represents image UUID
 - Image
Name string - Represents image name
 
- Categories
[]Get
Image Category  - Categories for the image.
 
- Image
Id string - Represents image UUID
 - Image
Name string - Represents image name
 
- categories
List<Get
Image Category>  - Categories for the image.
 
- image
Id String - Represents image UUID
 - image
Name String - Represents image name
 
- categories
Get
Image Category[]  - Categories for the image.
 
- image
Id string - Represents image UUID
 - image
Name string - Represents image name
 
- categories
Sequence[Get
Image Category]  - Categories for the image.
 
- image_
id str - Represents image UUID
 - image_
name str - Represents image name
 
- categories List<Property Map>
 - Categories for the image.
 
- image
Id String - Represents image UUID
 - image
Name String - Represents image name
 
getImage Result
The following output properties are available:
- Api
Version string - Architecture string
 - The supported CPU architecture for a disk image.
 
- Availability
Zone Dictionary<string, string>Reference  - The reference to a availability_zone.
 
- Categories
List<Piers
Karsenbarg. Nutanix. Outputs. Get Image Category>  - Categories for the image.
 
- Checksum Dictionary<string, string>
 - Checksum of the image. The checksum is used for image validation if the image has a source specified. For images that do not have their source specified the checksum is generated by the image service.
 
- Cluster
Name string - Cluster
References List<PiersKarsenbarg. Nutanix. Outputs. Get Image Cluster Reference>  - Cluster
Uuid string - Current
Cluster List<PiersReference Lists Karsenbarg. Nutanix. Outputs. Get Image Current Cluster Reference List>  - Description string
 - A description for image.
 
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Image
Type string - The type of image.
 
- Metadata Dictionary<string, string>
 - The image kind metadata.
 
- Name string
 - the name.
 
- Owner
Reference Dictionary<string, string> - The reference to a user.
 
- Project
Reference Dictionary<string, string> - The reference to a project.
 
- Retrieval
Uri List<string>Lists  - List of URIs where the raw image data can be accessed.
 
- Size
Bytes int - The size of the image in bytes.
 
- Source
Uri string - The source URI points at the location of the source image which is used to create/update image.
 
- State string
 - The state of the image.
 
- Version Dictionary<string, string>
 - The image version.
 
- Image
Id string - Image
Name string 
- Api
Version string - Architecture string
 - The supported CPU architecture for a disk image.
 
- Availability
Zone map[string]stringReference  - The reference to a availability_zone.
 
- Categories
[]Get
Image Category  - Categories for the image.
 
- Checksum map[string]string
 - Checksum of the image. The checksum is used for image validation if the image has a source specified. For images that do not have their source specified the checksum is generated by the image service.
 
- Cluster
Name string - Cluster
References []GetImage Cluster Reference  - Cluster
Uuid string - Current
Cluster []GetReference Lists Image Current Cluster Reference List  - Description string
 - A description for image.
 
- Id string
 - The provider-assigned unique ID for this managed resource.
 - Image
Type string - The type of image.
 
- Metadata map[string]string
 - The image kind metadata.
 
- Name string
 - the name.
 
- Owner
Reference map[string]string - The reference to a user.
 
- Project
Reference map[string]string - The reference to a project.
 
- Retrieval
Uri []stringLists  - List of URIs where the raw image data can be accessed.
 
- Size
Bytes int - The size of the image in bytes.
 
- Source
Uri string - The source URI points at the location of the source image which is used to create/update image.
 
- State string
 - The state of the image.
 
- Version map[string]string
 - The image version.
 
- Image
Id string - Image
Name string 
- api
Version String - architecture String
 - The supported CPU architecture for a disk image.
 
- availability
Zone Map<String,String>Reference  - The reference to a availability_zone.
 
- categories
List<Get
Image Category>  - Categories for the image.
 
- checksum Map<String,String>
 - Checksum of the image. The checksum is used for image validation if the image has a source specified. For images that do not have their source specified the checksum is generated by the image service.
 
- cluster
Name String - cluster
References List<GetImage Cluster Reference>  - cluster
Uuid String - current
Cluster List<GetReference Lists Image Current Cluster Reference List>  - description String
 - A description for image.
 
- id String
 - The provider-assigned unique ID for this managed resource.
 - image
Type String - The type of image.
 
- metadata Map<String,String>
 - The image kind metadata.
 
- name String
 - the name.
 
- owner
Reference Map<String,String> - The reference to a user.
 
- project
Reference Map<String,String> - The reference to a project.
 
- retrieval
Uri List<String>Lists  - List of URIs where the raw image data can be accessed.
 
- size
Bytes Integer - The size of the image in bytes.
 
- source
Uri String - The source URI points at the location of the source image which is used to create/update image.
 
- state String
 - The state of the image.
 
- version Map<String,String>
 - The image version.
 
- image
Id String - image
Name String 
- api
Version string - architecture string
 - The supported CPU architecture for a disk image.
 
- availability
Zone {[key: string]: string}Reference  - The reference to a availability_zone.
 
- categories
Get
Image Category[]  - Categories for the image.
 
- checksum {[key: string]: string}
 - Checksum of the image. The checksum is used for image validation if the image has a source specified. For images that do not have their source specified the checksum is generated by the image service.
 
- cluster
Name string - cluster
References GetImage Cluster Reference[]  - cluster
Uuid string - current
Cluster GetReference Lists Image Current Cluster Reference List[]  - description string
 - A description for image.
 
- id string
 - The provider-assigned unique ID for this managed resource.
 - image
Type string - The type of image.
 
- metadata {[key: string]: string}
 - The image kind metadata.
 
- name string
 - the name.
 
- owner
Reference {[key: string]: string} - The reference to a user.
 
- project
Reference {[key: string]: string} - The reference to a project.
 
- retrieval
Uri string[]Lists  - List of URIs where the raw image data can be accessed.
 
- size
Bytes number - The size of the image in bytes.
 
- source
Uri string - The source URI points at the location of the source image which is used to create/update image.
 
- state string
 - The state of the image.
 
- version {[key: string]: string}
 - The image version.
 
- image
Id string - image
Name string 
- api_
version str - architecture str
 - The supported CPU architecture for a disk image.
 
- availability_
zone_ Mapping[str, str]reference  - The reference to a availability_zone.
 
- categories
Sequence[Get
Image Category]  - Categories for the image.
 
- checksum Mapping[str, str]
 - Checksum of the image. The checksum is used for image validation if the image has a source specified. For images that do not have their source specified the checksum is generated by the image service.
 
- cluster_
name str - cluster_
references Sequence[GetImage Cluster Reference]  - cluster_
uuid str - current_
cluster_ Sequence[Getreference_ lists Image Current Cluster Reference List]  - description str
 - A description for image.
 
- id str
 - The provider-assigned unique ID for this managed resource.
 - image_
type str - The type of image.
 
- metadata Mapping[str, str]
 - The image kind metadata.
 
- name str
 - the name.
 
- owner_
reference Mapping[str, str] - The reference to a user.
 
- project_
reference Mapping[str, str] - The reference to a project.
 
- retrieval_
uri_ Sequence[str]lists  - List of URIs where the raw image data can be accessed.
 
- size_
bytes int - The size of the image in bytes.
 
- source_
uri str - The source URI points at the location of the source image which is used to create/update image.
 
- state str
 - The state of the image.
 
- version Mapping[str, str]
 - The image version.
 
- image_
id str - image_
name str 
- api
Version String - architecture String
 - The supported CPU architecture for a disk image.
 
- availability
Zone Map<String>Reference  - The reference to a availability_zone.
 
- categories List<Property Map>
 - Categories for the image.
 
- checksum Map<String>
 - Checksum of the image. The checksum is used for image validation if the image has a source specified. For images that do not have their source specified the checksum is generated by the image service.
 
- cluster
Name String - cluster
References List<Property Map> - cluster
Uuid String - current
Cluster List<Property Map>Reference Lists  - description String
 - A description for image.
 
- id String
 - The provider-assigned unique ID for this managed resource.
 - image
Type String - The type of image.
 
- metadata Map<String>
 - The image kind metadata.
 
- name String
 - the name.
 
- owner
Reference Map<String> - The reference to a user.
 
- project
Reference Map<String> - The reference to a project.
 
- retrieval
Uri List<String>Lists  - List of URIs where the raw image data can be accessed.
 
- size
Bytes Number - The size of the image in bytes.
 
- source
Uri String - The source URI points at the location of the source image which is used to create/update image.
 
- state String
 - The state of the image.
 
- version Map<String>
 - The image version.
 
- image
Id String - image
Name String 
Supporting Types
GetImageCategory  
GetImageClusterReference   
GetImageCurrentClusterReferenceList     
Package Details
- Repository
 - nutanix pierskarsenbarg/pulumi-nutanix
 - License
 - Apache-2.0
 - Notes
 - This Pulumi package is based on the 
nutanixTerraform Provider.