1. Packages
  2. Nutanix
  3. API Docs
  4. Image
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg

nutanix.Image

Explore with Pulumi AI

nutanix logo
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg

    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)
    public Image(String name, ImageArgs args)
    public Image(String name, ImageArgs args, CustomResourceOptions options)
    
    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=[nutanix.ImageCategoryArgs(
            name="string",
            value="string",
        )],
        checksum={
            "string": "string",
        },
        cluster_references=[nutanix.ImageClusterReferenceArgs(
            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

    The Image resource accepts the following input properties:

    Architecture string
    • (Optional) The supported CPU architecture for a disk image.
    AvailabilityZoneReference Dictionary<string, string>
    • (Optional) The reference to a availability_zone.
    Categories List<PiersKarsenbarg.Nutanix.Inputs.ImageCategory>
    • (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.ImageClusterReference>
    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.
    AvailabilityZoneReference map[string]string
    • (Optional) The reference to a availability_zone.
    Categories []ImageCategoryArgs
    • (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 []ImageClusterReferenceArgs
    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.
    availabilityZoneReference Map<String,String>
    • (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<ImageClusterReference>
    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.
    availabilityZoneReference {[key: string]: string}
    • (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 ImageClusterReference[]
    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_reference Mapping[str, str]
    • (Optional) The reference to a availability_zone.
    categories Sequence[ImageCategoryArgs]
    • (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[ImageClusterReferenceArgs]
    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.
    availabilityZoneReference Map<String>
    • (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
    CurrentClusterReferenceLists List<PiersKarsenbarg.Nutanix.Outputs.ImageCurrentClusterReferenceList>
    Id string
    The provider-assigned unique ID for this managed resource.
    Metadata Dictionary<string, string>
    • The image kind metadata.
    RetrievalUriLists List<string>
    • 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
    CurrentClusterReferenceLists []ImageCurrentClusterReferenceList
    Id string
    The provider-assigned unique ID for this managed resource.
    Metadata map[string]string
    • The image kind metadata.
    RetrievalUriLists []string
    • 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
    currentClusterReferenceLists List<ImageCurrentClusterReferenceList>
    id String
    The provider-assigned unique ID for this managed resource.
    metadata Map<String,String>
    • The image kind metadata.
    retrievalUriLists List<String>
    • 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
    currentClusterReferenceLists ImageCurrentClusterReferenceList[]
    id string
    The provider-assigned unique ID for this managed resource.
    metadata {[key: string]: string}
    • The image kind metadata.
    retrievalUriLists string[]
    • 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_reference_lists Sequence[ImageCurrentClusterReferenceList]
    id str
    The provider-assigned unique ID for this managed resource.
    metadata Mapping[str, str]
    • The image kind metadata.
    retrieval_uri_lists Sequence[str]
    • 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
    currentClusterReferenceLists List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    metadata Map<String>
    • The image kind metadata.
    retrievalUriLists List<String>
    • 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) -> Image
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    ApiVersion string
    The version of the API.
    Architecture string
    • (Optional) The supported CPU architecture for a disk image.
    AvailabilityZoneReference Dictionary<string, string>
    • (Optional) The reference to a availability_zone.
    Categories List<PiersKarsenbarg.Nutanix.Inputs.ImageCategory>
    • (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.ImageClusterReference>
    ClusterUuid string
    CurrentClusterReferenceLists List<PiersKarsenbarg.Nutanix.Inputs.ImageCurrentClusterReferenceList>
    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.
    RetrievalUriLists List<string>
    • 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.
    AvailabilityZoneReference map[string]string
    • (Optional) The reference to a availability_zone.
    Categories []ImageCategoryArgs
    • (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 []ImageClusterReferenceArgs
    ClusterUuid string
    CurrentClusterReferenceLists []ImageCurrentClusterReferenceListArgs
    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.
    RetrievalUriLists []string
    • 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.
    availabilityZoneReference Map<String,String>
    • (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<ImageClusterReference>
    clusterUuid String
    currentClusterReferenceLists List<ImageCurrentClusterReferenceList>
    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.
    retrievalUriLists List<String>
    • 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.
    availabilityZoneReference {[key: string]: string}
    • (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 ImageClusterReference[]
    clusterUuid string
    currentClusterReferenceLists ImageCurrentClusterReferenceList[]
    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.
    retrievalUriLists string[]
    • 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_reference Mapping[str, str]
    • (Optional) The reference to a availability_zone.
    categories Sequence[ImageCategoryArgs]
    • (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[ImageClusterReferenceArgs]
    cluster_uuid str
    current_cluster_reference_lists Sequence[ImageCurrentClusterReferenceListArgs]
    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_lists Sequence[str]
    • 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.
    availabilityZoneReference Map<String>
    • (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
    currentClusterReferenceLists List<Property Map>
    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.
    retrievalUriLists List<String>
    • 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

    Name string
    • (Required) The name for the image.
    Value string
    Name string
    • (Required) The name for the image.
    Value string
    name String
    • (Required) The name for the image.
    value String
    name string
    • (Required) The name for the image.
    value string
    name str
    • (Required) The name for the image.
    value str
    name String
    • (Required) The name for the image.
    value String

    ImageClusterReference, ImageClusterReferenceArgs

    Kind string
    • The kind name (Default value: project)(Required).
    Name string
    • (Required) The name for the image.
    Uuid string
    • the UUID(Required).
    Kind string
    • The kind name (Default value: project)(Required).
    Name string
    • (Required) The name for the image.
    Uuid string
    • the UUID(Required).
    kind String
    • The kind name (Default value: project)(Required).
    name String
    • (Required) The name for the image.
    uuid String
    • the UUID(Required).
    kind string
    • The kind name (Default value: project)(Required).
    name string
    • (Required) The name for the image.
    uuid string
    • the UUID(Required).
    kind str
    • The kind name (Default value: project)(Required).
    name str
    • (Required) The name for the image.
    uuid str
    • the UUID(Required).
    kind String
    • The kind name (Default value: project)(Required).
    name String
    • (Required) The name for the image.
    uuid String
    • the UUID(Required).

    ImageCurrentClusterReferenceList, ImageCurrentClusterReferenceListArgs

    Kind string
    • The kind name (Default value: project)(Required).
    Name string
    • (Required) The name for the image.
    Uuid string
    • the UUID(Required).
    Kind string
    • The kind name (Default value: project)(Required).
    Name string
    • (Required) The name for the image.
    Uuid string
    • the UUID(Required).
    kind String
    • The kind name (Default value: project)(Required).
    name String
    • (Required) The name for the image.
    uuid String
    • the UUID(Required).
    kind string
    • The kind name (Default value: project)(Required).
    name string
    • (Required) The name for the image.
    uuid string
    • the UUID(Required).
    kind str
    • The kind name (Default value: project)(Required).
    name str
    • (Required) The name for the image.
    uuid str
    • the UUID(Required).
    kind String
    • The kind name (Default value: project)(Required).
    name String
    • (Required) The name for the image.
    uuid String
    • the UUID(Required).

    Package Details

    Repository
    nutanix pierskarsenbarg/pulumi-nutanix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nutanix Terraform Provider.
    nutanix logo
    Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg