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.
- Availability
Zone Dictionary<string, string>Reference - (Optional) The reference to a availability_zone.
- Categories
List<Piers
Karsenbarg. 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.
- Cluster
References List<PiersKarsenbarg. Nutanix. Inputs. Image Cluster Reference> - Description string
- (Optional) A description for image.
- Image
Type string - (Optional) The type of image.
- Name string
- (Required) The name for the image.
- Owner
Reference Dictionary<string, string> - (Optional) The reference to a user.
- Project
Reference Dictionary<string, string> - (Optional) The reference to a project.
- Source
Path string - (Optional) A local path to upload an image.
- Source
Uri 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.
- Availability
Zone map[string]stringReference - (Optional) The reference to a availability_zone.
- Categories
[]Image
Category 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.
- Cluster
References []ImageCluster Reference Args - Description string
- (Optional) A description for image.
- Image
Type string - (Optional) The type of image.
- Name string
- (Required) The name for the image.
- Owner
Reference map[string]string - (Optional) The reference to a user.
- Project
Reference map[string]string - (Optional) The reference to a project.
- Source
Path string - (Optional) A local path to upload an image.
- Source
Uri 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.
- availability
Zone Map<String,String>Reference - (Optional) The reference to a availability_zone.
- categories
List<Image
Category> - (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.
- cluster
References List<ImageCluster Reference> - description String
- (Optional) A description for image.
- image
Type String - (Optional) The type of image.
- name String
- (Required) The name for the image.
- owner
Reference Map<String,String> - (Optional) The reference to a user.
- project
Reference Map<String,String> - (Optional) The reference to a project.
- source
Path String - (Optional) A local path to upload an image.
- source
Uri 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.
- availability
Zone {[key: string]: string}Reference - (Optional) The reference to a availability_zone.
- categories
Image
Category[] - (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.
- cluster
References ImageCluster Reference[] - description string
- (Optional) A description for image.
- image
Type string - (Optional) The type of image.
- name string
- (Required) The name for the image.
- owner
Reference {[key: string]: string} - (Optional) The reference to a user.
- project
Reference {[key: string]: string} - (Optional) The reference to a project.
- source
Path string - (Optional) A local path to upload an image.
- source
Uri 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[Image
Category 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.
- availability
Zone 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.
- cluster
References List<Property Map> - description String
- (Optional) A description for image.
- image
Type String - (Optional) The type of image.
- name String
- (Required) The name for the image.
- owner
Reference Map<String> - (Optional) The reference to a user.
- project
Reference Map<String> - (Optional) The reference to a project.
- source
Path String - (Optional) A local path to upload an image.
- source
Uri 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:
- Api
Version string - The version of the API.
- Cluster
Name string - Cluster
Uuid string - Current
Cluster 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.
- 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.
- State string
- The state of the image.
- Api
Version string - The version of the API.
- Cluster
Name string - Cluster
Uuid string - Current
Cluster []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.
- Retrieval
Uri []stringLists - List of URIs where the raw image data can be accessed.
- Size
Bytes int - The size of the image in bytes.
- State string
- The state of the image.
- api
Version String - The version of the API.
- cluster
Name String - cluster
Uuid String - current
Cluster 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.
- 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.
- state String
- The state of the image.
- api
Version string - The version of the API.
- cluster
Name string - cluster
Uuid string - current
Cluster 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.
- 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.
- 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.
- api
Version String - The version of the API.
- cluster
Name String - cluster
Uuid String - current
Cluster List<Property Map>Reference Lists - id String
- The provider-assigned unique ID for this managed resource.
- metadata Map<String>
- The image kind metadata.
- 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.
- 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.
- Api
Version string - The version of the API.
- Architecture string
- (Optional) The supported CPU architecture for a disk image.
- Availability
Zone Dictionary<string, string>Reference - (Optional) The reference to a availability_zone.
- Categories
List<Piers
Karsenbarg. 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.
- Cluster
Name string - Cluster
References List<PiersKarsenbarg. Nutanix. Inputs. Image Cluster Reference> - Cluster
Uuid string - Current
Cluster List<PiersReference Lists Karsenbarg. Nutanix. Inputs. Image Current Cluster Reference List> - Description string
- (Optional) A description for image.
- Image
Type string - (Optional) The type of image.
- Metadata Dictionary<string, string>
- The image kind metadata.
- Name string
- (Required) The name for the image.
- Owner
Reference Dictionary<string, string> - (Optional) The reference to a user.
- Project
Reference Dictionary<string, string> - (Optional) 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
Path string - (Optional) A local path to upload an image.
- Source
Uri 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.
- Api
Version string - The version of the API.
- Architecture string
- (Optional) The supported CPU architecture for a disk image.
- Availability
Zone map[string]stringReference - (Optional) The reference to a availability_zone.
- Categories
[]Image
Category 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.
- Cluster
Name string - Cluster
References []ImageCluster Reference Args - Cluster
Uuid string - Current
Cluster []ImageReference Lists Current Cluster Reference List Args - Description string
- (Optional) A description for image.
- Image
Type string - (Optional) The type of image.
- Metadata map[string]string
- The image kind metadata.
- Name string
- (Required) The name for the image.
- Owner
Reference map[string]string - (Optional) The reference to a user.
- Project
Reference map[string]string - (Optional) 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
Path string - (Optional) A local path to upload an image.
- Source
Uri 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.
- api
Version String - The version of the API.
- architecture String
- (Optional) The supported CPU architecture for a disk image.
- availability
Zone Map<String,String>Reference - (Optional) The reference to a availability_zone.
- categories
List<Image
Category> - (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.
- cluster
Name String - cluster
References List<ImageCluster Reference> - cluster
Uuid String - current
Cluster List<ImageReference Lists Current Cluster Reference List> - description String
- (Optional) A description for image.
- image
Type String - (Optional) The type of image.
- metadata Map<String,String>
- The image kind metadata.
- name String
- (Required) The name for the image.
- owner
Reference Map<String,String> - (Optional) The reference to a user.
- project
Reference Map<String,String> - (Optional) 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
Path String - (Optional) A local path to upload an image.
- source
Uri 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.
- api
Version string - The version of the API.
- architecture string
- (Optional) The supported CPU architecture for a disk image.
- availability
Zone {[key: string]: string}Reference - (Optional) The reference to a availability_zone.
- categories
Image
Category[] - (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.
- cluster
Name string - cluster
References ImageCluster Reference[] - cluster
Uuid string - current
Cluster ImageReference Lists Current Cluster Reference List[] - description string
- (Optional) A description for image.
- image
Type string - (Optional) The type of image.
- metadata {[key: string]: string}
- The image kind metadata.
- name string
- (Required) The name for the image.
- owner
Reference {[key: string]: string} - (Optional) The reference to a user.
- project
Reference {[key: string]: string} - (Optional) 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
Path string - (Optional) A local path to upload an image.
- source
Uri 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[Image
Category 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.
- api
Version String - The version of the API.
- architecture String
- (Optional) The supported CPU architecture for a disk image.
- availability
Zone 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.
- cluster
Name String - cluster
References List<Property Map> - cluster
Uuid String - current
Cluster List<Property Map>Reference Lists - description String
- (Optional) A description for image.
- image
Type String - (Optional) The type of image.
- metadata Map<String>
- The image kind metadata.
- name String
- (Required) The name for the image.
- owner
Reference Map<String> - (Optional) The reference to a user.
- project
Reference Map<String> - (Optional) 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
Path String - (Optional) A local path to upload an image.
- source
Uri 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
nutanix
Terraform Provider.