nutanix.Image
Explore with Pulumi AI
Provides a Nutanix Image resource to Create a image.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
const test = new nutanix.Image("test", {
    description: "Ubuntu",
    sourceUri: "http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso",
});
import pulumi
import pulumi_nutanix as nutanix
test = nutanix.Image("test",
    description="Ubuntu",
    source_uri="http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso")
package main
import (
	"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := nutanix.NewImage(ctx, "test", &nutanix.ImageArgs{
			Description: pulumi.String("Ubuntu"),
			SourceUri:   pulumi.String("http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
return await Deployment.RunAsync(() => 
{
    var test = new Nutanix.Image("test", new()
    {
        Description = "Ubuntu",
        SourceUri = "http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.Image;
import com.pulumi.nutanix.ImageArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var test = new Image("test", ImageArgs.builder()
            .description("Ubuntu")
            .sourceUri("http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso")
            .build());
    }
}
resources:
  test:
    type: nutanix:Image
    properties:
      description: Ubuntu
      sourceUri: http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso
Create Image Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Image(name: string, args?: ImageArgs, opts?: CustomResourceOptions);@overload
def Image(resource_name: str,
          args: Optional[ImageArgs] = None,
          opts: Optional[ResourceOptions] = None)
@overload
def Image(resource_name: str,
          opts: Optional[ResourceOptions] = None,
          architecture: Optional[str] = None,
          availability_zone_reference: Optional[Mapping[str, str]] = None,
          categories: Optional[Sequence[ImageCategoryArgs]] = None,
          checksum: Optional[Mapping[str, str]] = None,
          cluster_references: Optional[Sequence[ImageClusterReferenceArgs]] = None,
          description: Optional[str] = None,
          image_type: Optional[str] = None,
          name: Optional[str] = None,
          owner_reference: Optional[Mapping[str, str]] = None,
          project_reference: Optional[Mapping[str, str]] = None,
          source_path: Optional[str] = None,
          source_uri: Optional[str] = None,
          version: Optional[Mapping[str, str]] = None)func NewImage(ctx *Context, name string, args *ImageArgs, opts ...ResourceOption) (*Image, error)public Image(string name, ImageArgs? args = null, CustomResourceOptions? opts = null)type: nutanix:Image
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ImageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ImageArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ImageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ImageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ImageArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var imageResource = new Nutanix.Image("imageResource", new()
{
    Architecture = "string",
    AvailabilityZoneReference = 
    {
        { "string", "string" },
    },
    Categories = new[]
    {
        new Nutanix.Inputs.ImageCategoryArgs
        {
            Name = "string",
            Value = "string",
        },
    },
    Checksum = 
    {
        { "string", "string" },
    },
    ClusterReferences = new[]
    {
        new Nutanix.Inputs.ImageClusterReferenceArgs
        {
            Kind = "string",
            Name = "string",
            Uuid = "string",
        },
    },
    Description = "string",
    ImageType = "string",
    Name = "string",
    OwnerReference = 
    {
        { "string", "string" },
    },
    ProjectReference = 
    {
        { "string", "string" },
    },
    SourcePath = "string",
    SourceUri = "string",
    Version = 
    {
        { "string", "string" },
    },
});
example, err := nutanix.NewImage(ctx, "imageResource", &nutanix.ImageArgs{
	Architecture: pulumi.String("string"),
	AvailabilityZoneReference: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Categories: nutanix.ImageCategoryArray{
		&nutanix.ImageCategoryArgs{
			Name:  pulumi.String("string"),
			Value: pulumi.String("string"),
		},
	},
	Checksum: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	ClusterReferences: nutanix.ImageClusterReferenceArray{
		&nutanix.ImageClusterReferenceArgs{
			Kind: pulumi.String("string"),
			Name: pulumi.String("string"),
			Uuid: pulumi.String("string"),
		},
	},
	Description: pulumi.String("string"),
	ImageType:   pulumi.String("string"),
	Name:        pulumi.String("string"),
	OwnerReference: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	ProjectReference: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	SourcePath: pulumi.String("string"),
	SourceUri:  pulumi.String("string"),
	Version: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var imageResource = new Image("imageResource", ImageArgs.builder()
    .architecture("string")
    .availabilityZoneReference(Map.of("string", "string"))
    .categories(ImageCategoryArgs.builder()
        .name("string")
        .value("string")
        .build())
    .checksum(Map.of("string", "string"))
    .clusterReferences(ImageClusterReferenceArgs.builder()
        .kind("string")
        .name("string")
        .uuid("string")
        .build())
    .description("string")
    .imageType("string")
    .name("string")
    .ownerReference(Map.of("string", "string"))
    .projectReference(Map.of("string", "string"))
    .sourcePath("string")
    .sourceUri("string")
    .version(Map.of("string", "string"))
    .build());
image_resource = nutanix.Image("imageResource",
    architecture="string",
    availability_zone_reference={
        "string": "string",
    },
    categories=[{
        "name": "string",
        "value": "string",
    }],
    checksum={
        "string": "string",
    },
    cluster_references=[{
        "kind": "string",
        "name": "string",
        "uuid": "string",
    }],
    description="string",
    image_type="string",
    name="string",
    owner_reference={
        "string": "string",
    },
    project_reference={
        "string": "string",
    },
    source_path="string",
    source_uri="string",
    version={
        "string": "string",
    })
const imageResource = new nutanix.Image("imageResource", {
    architecture: "string",
    availabilityZoneReference: {
        string: "string",
    },
    categories: [{
        name: "string",
        value: "string",
    }],
    checksum: {
        string: "string",
    },
    clusterReferences: [{
        kind: "string",
        name: "string",
        uuid: "string",
    }],
    description: "string",
    imageType: "string",
    name: "string",
    ownerReference: {
        string: "string",
    },
    projectReference: {
        string: "string",
    },
    sourcePath: "string",
    sourceUri: "string",
    version: {
        string: "string",
    },
});
type: nutanix:Image
properties:
    architecture: string
    availabilityZoneReference:
        string: string
    categories:
        - name: string
          value: string
    checksum:
        string: string
    clusterReferences:
        - kind: string
          name: string
          uuid: string
    description: string
    imageType: string
    name: string
    ownerReference:
        string: string
    projectReference:
        string: string
    sourcePath: string
    sourceUri: string
    version:
        string: string
Image Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Image resource accepts the following input properties:
- Architecture string
- (Optional) The supported CPU architecture for a disk image.
 
- AvailabilityZone Dictionary<string, string>Reference 
- (Optional) The reference to a availability_zone.
 
- Categories
List<PiersKarsenbarg. Nutanix. Inputs. Image Category> 
- (Optional) Categories for the image.
 
- Checksum Dictionary<string, string>
- (Optional) 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.
 
- ClusterReferences List<PiersKarsenbarg. Nutanix. Inputs. Image Cluster Reference> 
- Description string
- (Optional) A description for image.
 
- ImageType string
- (Optional) The type of image.
 
- Name string
- (Required) The name for the image.
 
- OwnerReference Dictionary<string, string>
- (Optional) The reference to a user.
 
- ProjectReference Dictionary<string, string>
- (Optional) The reference to a project.
 
- SourcePath string
- (Optional) A local path to upload an image.
 
- SourceUri string
- (Optional) The source URI points at the location of the source image which is used to create/update image.
 
- Version Dictionary<string, string>
- (Optional) The image version.
 
- Architecture string
- (Optional) The supported CPU architecture for a disk image.
 
- AvailabilityZone map[string]stringReference 
- (Optional) The reference to a availability_zone.
 
- Categories
[]ImageCategory Args 
- (Optional) Categories for the image.
 
- Checksum map[string]string
- (Optional) 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.
 
- ClusterReferences []ImageCluster Reference Args 
- Description string
- (Optional) A description for image.
 
- ImageType string
- (Optional) The type of image.
 
- Name string
- (Required) The name for the image.
 
- OwnerReference map[string]string
- (Optional) The reference to a user.
 
- ProjectReference map[string]string
- (Optional) The reference to a project.
 
- SourcePath string
- (Optional) A local path to upload an image.
 
- SourceUri string
- (Optional) The source URI points at the location of the source image which is used to create/update image.
 
- Version map[string]string
- (Optional) The image version.
 
- architecture String
- (Optional) The supported CPU architecture for a disk image.
 
- availabilityZone Map<String,String>Reference 
- (Optional) The reference to a availability_zone.
 
- categories
List<ImageCategory> 
- (Optional) Categories for the image.
 
- checksum Map<String,String>
- (Optional) 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.
 
- clusterReferences List<ImageCluster Reference> 
- description String
- (Optional) A description for image.
 
- imageType String
- (Optional) The type of image.
 
- name String
- (Required) The name for the image.
 
- ownerReference Map<String,String>
- (Optional) The reference to a user.
 
- projectReference Map<String,String>
- (Optional) The reference to a project.
 
- sourcePath String
- (Optional) A local path to upload an image.
 
- sourceUri String
- (Optional) The source URI points at the location of the source image which is used to create/update image.
 
- version Map<String,String>
- (Optional) The image version.
 
- architecture string
- (Optional) The supported CPU architecture for a disk image.
 
- availabilityZone {[key: string]: string}Reference 
- (Optional) The reference to a availability_zone.
 
- categories
ImageCategory[] 
- (Optional) Categories for the image.
 
- checksum {[key: string]: string}
- (Optional) 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.
 
- clusterReferences ImageCluster Reference[] 
- description string
- (Optional) A description for image.
 
- imageType string
- (Optional) The type of image.
 
- name string
- (Required) The name for the image.
 
- ownerReference {[key: string]: string}
- (Optional) The reference to a user.
 
- projectReference {[key: string]: string}
- (Optional) The reference to a project.
 
- sourcePath string
- (Optional) A local path to upload an image.
 
- sourceUri string
- (Optional) The source URI points at the location of the source image which is used to create/update image.
 
- version {[key: string]: string}
- (Optional) The image version.
 
- architecture str
- (Optional) The supported CPU architecture for a disk image.
 
- availability_zone_ Mapping[str, str]reference 
- (Optional) The reference to a availability_zone.
 
- categories
Sequence[ImageCategory Args] 
- (Optional) Categories for the image.
 
- checksum Mapping[str, str]
- (Optional) 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_references Sequence[ImageCluster Reference Args] 
- description str
- (Optional) A description for image.
 
- image_type str
- (Optional) The type of image.
 
- name str
- (Required) The name for the image.
 
- owner_reference Mapping[str, str]
- (Optional) The reference to a user.
 
- project_reference Mapping[str, str]
- (Optional) The reference to a project.
 
- source_path str
- (Optional) A local path to upload an image.
 
- source_uri str
- (Optional) The source URI points at the location of the source image which is used to create/update image.
 
- version Mapping[str, str]
- (Optional) The image version.
 
- architecture String
- (Optional) The supported CPU architecture for a disk image.
 
- availabilityZone Map<String>Reference 
- (Optional) The reference to a availability_zone.
 
- categories List<Property Map>
- (Optional) Categories for the image.
 
- checksum Map<String>
- (Optional) 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.
 
- clusterReferences List<Property Map>
- description String
- (Optional) A description for image.
 
- imageType String
- (Optional) The type of image.
 
- name String
- (Required) The name for the image.
 
- ownerReference Map<String>
- (Optional) The reference to a user.
 
- projectReference Map<String>
- (Optional) The reference to a project.
 
- sourcePath String
- (Optional) A local path to upload an image.
 
- sourceUri String
- (Optional) The source URI points at the location of the source image which is used to create/update image.
 
- version Map<String>
- (Optional) The image version.
 
Outputs
All input properties are implicitly available as output properties. Additionally, the Image resource produces the following output properties:
- ApiVersion string
- The version of the API.
- ClusterName string
- ClusterUuid string
- CurrentCluster List<PiersReference Lists Karsenbarg. Nutanix. Outputs. Image Current Cluster Reference List> 
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadata Dictionary<string, string>
- The image kind metadata.
 
- RetrievalUri List<string>Lists 
- List of URIs where the raw image data can be accessed.
 
- SizeBytes int
- The size of the image in bytes.
 
- State string
- The state of the image.
 
- ApiVersion string
- The version of the API.
- ClusterName string
- ClusterUuid string
- CurrentCluster []ImageReference Lists Current Cluster Reference List 
- Id string
- The provider-assigned unique ID for this managed resource.
- Metadata map[string]string
- The image kind metadata.
 
- RetrievalUri []stringLists 
- List of URIs where the raw image data can be accessed.
 
- SizeBytes int
- The size of the image in bytes.
 
- State string
- The state of the image.
 
- apiVersion String
- The version of the API.
- clusterName String
- clusterUuid String
- currentCluster List<ImageReference Lists Current Cluster Reference List> 
- id String
- The provider-assigned unique ID for this managed resource.
- metadata Map<String,String>
- The image kind metadata.
 
- retrievalUri List<String>Lists 
- List of URIs where the raw image data can be accessed.
 
- sizeBytes Integer
- The size of the image in bytes.
 
- state String
- The state of the image.
 
- apiVersion string
- The version of the API.
- clusterName string
- clusterUuid string
- currentCluster ImageReference Lists Current Cluster Reference List[] 
- id string
- The provider-assigned unique ID for this managed resource.
- metadata {[key: string]: string}
- The image kind metadata.
 
- retrievalUri string[]Lists 
- List of URIs where the raw image data can be accessed.
 
- sizeBytes number
- The size of the image in bytes.
 
- state string
- The state of the image.
 
- api_version str
- The version of the API.
- cluster_name str
- cluster_uuid str
- current_cluster_ Sequence[Imagereference_ lists Current Cluster Reference List] 
- id str
- The provider-assigned unique ID for this managed resource.
- metadata Mapping[str, str]
- The image kind metadata.
 
- 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.
 
- state str
- The state of the image.
 
- apiVersion String
- The version of the API.
- clusterName String
- clusterUuid String
- currentCluster List<Property Map>Reference Lists 
- id String
- The provider-assigned unique ID for this managed resource.
- metadata Map<String>
- The image kind metadata.
 
- retrievalUri List<String>Lists 
- List of URIs where the raw image data can be accessed.
 
- sizeBytes Number
- The size of the image in bytes.
 
- state String
- The state of the image.
 
Look up Existing Image Resource
Get an existing Image resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ImageState, opts?: CustomResourceOptions): Image@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        api_version: Optional[str] = None,
        architecture: Optional[str] = None,
        availability_zone_reference: Optional[Mapping[str, str]] = None,
        categories: Optional[Sequence[ImageCategoryArgs]] = None,
        checksum: Optional[Mapping[str, str]] = None,
        cluster_name: Optional[str] = None,
        cluster_references: Optional[Sequence[ImageClusterReferenceArgs]] = None,
        cluster_uuid: Optional[str] = None,
        current_cluster_reference_lists: Optional[Sequence[ImageCurrentClusterReferenceListArgs]] = None,
        description: Optional[str] = None,
        image_type: Optional[str] = None,
        metadata: Optional[Mapping[str, str]] = None,
        name: Optional[str] = None,
        owner_reference: Optional[Mapping[str, str]] = None,
        project_reference: Optional[Mapping[str, str]] = None,
        retrieval_uri_lists: Optional[Sequence[str]] = None,
        size_bytes: Optional[int] = None,
        source_path: Optional[str] = None,
        source_uri: Optional[str] = None,
        state: Optional[str] = None,
        version: Optional[Mapping[str, str]] = None) -> Imagefunc GetImage(ctx *Context, name string, id IDInput, state *ImageState, opts ...ResourceOption) (*Image, error)public static Image Get(string name, Input<string> id, ImageState? state, CustomResourceOptions? opts = null)public static Image get(String name, Output<String> id, ImageState state, CustomResourceOptions options)resources:  _:    type: nutanix:Image    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- ApiVersion string
- The version of the API.
- Architecture string
- (Optional) The supported CPU architecture for a disk image.
 
- AvailabilityZone Dictionary<string, string>Reference 
- (Optional) The reference to a availability_zone.
 
- Categories
List<PiersKarsenbarg. Nutanix. Inputs. Image Category> 
- (Optional) Categories for the image.
 
- Checksum Dictionary<string, string>
- (Optional) 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.
 
- ClusterName string
- ClusterReferences List<PiersKarsenbarg. Nutanix. Inputs. Image Cluster Reference> 
- ClusterUuid string
- CurrentCluster List<PiersReference Lists Karsenbarg. Nutanix. Inputs. Image Current Cluster Reference List> 
- Description string
- (Optional) A description for image.
 
- ImageType string
- (Optional) The type of image.
 
- Metadata Dictionary<string, string>
- The image kind metadata.
 
- Name string
- (Required) The name for the image.
 
- OwnerReference Dictionary<string, string>
- (Optional) The reference to a user.
 
- ProjectReference Dictionary<string, string>
- (Optional) The reference to a project.
 
- RetrievalUri List<string>Lists 
- List of URIs where the raw image data can be accessed.
 
- SizeBytes int
- The size of the image in bytes.
 
- SourcePath string
- (Optional) A local path to upload an image.
 
- SourceUri string
- (Optional) 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>
- (Optional) The image version.
 
- ApiVersion string
- The version of the API.
- Architecture string
- (Optional) The supported CPU architecture for a disk image.
 
- AvailabilityZone map[string]stringReference 
- (Optional) The reference to a availability_zone.
 
- Categories
[]ImageCategory Args 
- (Optional) Categories for the image.
 
- Checksum map[string]string
- (Optional) 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.
 
- ClusterName string
- ClusterReferences []ImageCluster Reference Args 
- ClusterUuid string
- CurrentCluster []ImageReference Lists Current Cluster Reference List Args 
- Description string
- (Optional) A description for image.
 
- ImageType string
- (Optional) The type of image.
 
- Metadata map[string]string
- The image kind metadata.
 
- Name string
- (Required) The name for the image.
 
- OwnerReference map[string]string
- (Optional) The reference to a user.
 
- ProjectReference map[string]string
- (Optional) The reference to a project.
 
- RetrievalUri []stringLists 
- List of URIs where the raw image data can be accessed.
 
- SizeBytes int
- The size of the image in bytes.
 
- SourcePath string
- (Optional) A local path to upload an image.
 
- SourceUri string
- (Optional) 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
- (Optional) The image version.
 
- apiVersion String
- The version of the API.
- architecture String
- (Optional) The supported CPU architecture for a disk image.
 
- availabilityZone Map<String,String>Reference 
- (Optional) The reference to a availability_zone.
 
- categories
List<ImageCategory> 
- (Optional) Categories for the image.
 
- checksum Map<String,String>
- (Optional) 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.
 
- clusterName String
- clusterReferences List<ImageCluster Reference> 
- clusterUuid String
- currentCluster List<ImageReference Lists Current Cluster Reference List> 
- description String
- (Optional) A description for image.
 
- imageType String
- (Optional) The type of image.
 
- metadata Map<String,String>
- The image kind metadata.
 
- name String
- (Required) The name for the image.
 
- ownerReference Map<String,String>
- (Optional) The reference to a user.
 
- projectReference Map<String,String>
- (Optional) The reference to a project.
 
- retrievalUri List<String>Lists 
- List of URIs where the raw image data can be accessed.
 
- sizeBytes Integer
- The size of the image in bytes.
 
- sourcePath String
- (Optional) A local path to upload an image.
 
- sourceUri String
- (Optional) 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>
- (Optional) The image version.
 
- apiVersion string
- The version of the API.
- architecture string
- (Optional) The supported CPU architecture for a disk image.
 
- availabilityZone {[key: string]: string}Reference 
- (Optional) The reference to a availability_zone.
 
- categories
ImageCategory[] 
- (Optional) Categories for the image.
 
- checksum {[key: string]: string}
- (Optional) 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.
 
- clusterName string
- clusterReferences ImageCluster Reference[] 
- clusterUuid string
- currentCluster ImageReference Lists Current Cluster Reference List[] 
- description string
- (Optional) A description for image.
 
- imageType string
- (Optional) The type of image.
 
- metadata {[key: string]: string}
- The image kind metadata.
 
- name string
- (Required) The name for the image.
 
- ownerReference {[key: string]: string}
- (Optional) The reference to a user.
 
- projectReference {[key: string]: string}
- (Optional) The reference to a project.
 
- retrievalUri string[]Lists 
- List of URIs where the raw image data can be accessed.
 
- sizeBytes number
- The size of the image in bytes.
 
- sourcePath string
- (Optional) A local path to upload an image.
 
- sourceUri string
- (Optional) 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}
- (Optional) The image version.
 
- api_version str
- The version of the API.
- architecture str
- (Optional) The supported CPU architecture for a disk image.
 
- availability_zone_ Mapping[str, str]reference 
- (Optional) The reference to a availability_zone.
 
- categories
Sequence[ImageCategory Args] 
- (Optional) Categories for the image.
 
- checksum Mapping[str, str]
- (Optional) 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[ImageCluster Reference Args] 
- cluster_uuid str
- current_cluster_ Sequence[Imagereference_ lists Current Cluster Reference List Args] 
- description str
- (Optional) A description for image.
 
- image_type str
- (Optional) The type of image.
 
- metadata Mapping[str, str]
- The image kind metadata.
 
- name str
- (Required) The name for the image.
 
- owner_reference Mapping[str, str]
- (Optional) The reference to a user.
 
- project_reference Mapping[str, str]
- (Optional) 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_path str
- (Optional) A local path to upload an image.
 
- source_uri str
- (Optional) 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]
- (Optional) The image version.
 
- apiVersion String
- The version of the API.
- architecture String
- (Optional) The supported CPU architecture for a disk image.
 
- availabilityZone Map<String>Reference 
- (Optional) The reference to a availability_zone.
 
- categories List<Property Map>
- (Optional) Categories for the image.
 
- checksum Map<String>
- (Optional) 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.
 
- clusterName String
- clusterReferences List<Property Map>
- clusterUuid String
- currentCluster List<Property Map>Reference Lists 
- description String
- (Optional) A description for image.
 
- imageType String
- (Optional) The type of image.
 
- metadata Map<String>
- The image kind metadata.
 
- name String
- (Required) The name for the image.
 
- ownerReference Map<String>
- (Optional) The reference to a user.
 
- projectReference Map<String>
- (Optional) The reference to a project.
 
- retrievalUri List<String>Lists 
- List of URIs where the raw image data can be accessed.
 
- sizeBytes Number
- The size of the image in bytes.
 
- sourcePath String
- (Optional) A local path to upload an image.
 
- sourceUri String
- (Optional) 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>
- (Optional) The image version.
 
Supporting Types
ImageCategory, ImageCategoryArgs    
ImageClusterReference, ImageClusterReferenceArgs      
ImageCurrentClusterReferenceList, ImageCurrentClusterReferenceListArgs          
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the nutanixTerraform Provider.
