import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Provides a Nutanix Image resource to Create a image. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const test = new nutanix.Image("test", { * name: "Ubuntu", * description: "Ubuntu", * sourceUri: "http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso", * }); * // Create image with data_source_reference * const createImageWithDataSourceReference = new nutanix.Image("create_image_with_data_source_reference", { * name: "Sql Server Image", * description: "Sql Server", * imageType: "DISK_IMAGE", * dataSourceReferences: [{ * kind: "vm_disk", * uuid: "", * }], * }); * ``` * */ export declare class Image extends pulumi.CustomResource { /** * Get an existing Image resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ImageState, opts?: pulumi.CustomResourceOptions): Image; /** * Returns true if the given object is an instance of Image. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Image; /** * The version of the API. */ readonly apiVersion: pulumi.Output; /** * - (Optional) The supported CPU architecture for a disk image. */ readonly architecture: pulumi.Output; /** * - (Optional) The reference to a availability_zone. */ readonly availabilityZoneReference: pulumi.Output<{ [key: string]: string; }>; /** * - (Optional) Categories for the image. */ readonly categories: pulumi.Output; /** * - (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. */ readonly checksum: pulumi.Output<{ [key: string]: string; }>; readonly clusterName: pulumi.Output; readonly clusterReferences: pulumi.Output; readonly clusterUuid: pulumi.Output; readonly currentClusterReferenceLists: pulumi.Output; /** * Reference to a data source. */ readonly dataSourceReferences: pulumi.Output; /** * - (Optional) A description for image. */ readonly description: pulumi.Output; /** * - (Optional) The type of image. */ readonly imageType: pulumi.Output; /** * - The image kind metadata. */ readonly metadata: pulumi.Output<{ [key: string]: string; }>; /** * - (Required) The name for the image. */ readonly name: pulumi.Output; /** * - (Optional) The reference to a user. */ readonly ownerReference: pulumi.Output<{ [key: string]: string; }>; /** * - (Optional) The reference to a project. */ readonly projectReference: pulumi.Output<{ [key: string]: string; } | undefined>; /** * - List of URIs where the raw image data can be accessed. */ readonly retrievalUriLists: pulumi.Output; /** * - The size of the image in bytes. */ readonly sizeBytes: pulumi.Output; /** * - (Optional) A local path to upload an image. */ readonly sourcePath: pulumi.Output; /** * - (Optional) The source URI points at the location of the source image which is used to create/update image. */ readonly sourceUri: pulumi.Output; /** * - The state of the image. */ readonly state: pulumi.Output; /** * - (Optional) The image version. */ readonly version: pulumi.Output<{ [key: string]: string; }>; /** * Create a Image resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: ImageArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Image resources. */ export interface ImageState { /** * The version of the API. */ apiVersion?: pulumi.Input; /** * - (Optional) The supported CPU architecture for a disk image. */ architecture?: pulumi.Input; /** * - (Optional) The reference to a availability_zone. */ availabilityZoneReference?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional) Categories for the image. */ categories?: pulumi.Input[] | undefined>; /** * - (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. */ checksum?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; clusterName?: pulumi.Input; clusterReferences?: pulumi.Input[] | undefined>; clusterUuid?: pulumi.Input; currentClusterReferenceLists?: pulumi.Input[] | undefined>; /** * Reference to a data source. */ dataSourceReferences?: pulumi.Input[] | undefined>; /** * - (Optional) A description for image. */ description?: pulumi.Input; /** * - (Optional) The type of image. */ imageType?: pulumi.Input; /** * - The image kind metadata. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Required) The name for the image. */ name?: pulumi.Input; /** * - (Optional) The reference to a user. */ ownerReference?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional) The reference to a project. */ projectReference?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - List of URIs where the raw image data can be accessed. */ retrievalUriLists?: pulumi.Input[] | undefined>; /** * - The size of the image in bytes. */ sizeBytes?: pulumi.Input; /** * - (Optional) A local path to upload an image. */ sourcePath?: pulumi.Input; /** * - (Optional) The source URI points at the location of the source image which is used to create/update image. */ sourceUri?: pulumi.Input; /** * - The state of the image. */ state?: pulumi.Input; /** * - (Optional) The image version. */ version?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } /** * The set of arguments for constructing a Image resource. */ export interface ImageArgs { /** * - (Optional) The supported CPU architecture for a disk image. */ architecture?: pulumi.Input; /** * - (Optional) The reference to a availability_zone. */ availabilityZoneReference?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional) Categories for the image. */ categories?: pulumi.Input[] | undefined>; /** * - (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. */ checksum?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; clusterReferences?: pulumi.Input[] | undefined>; /** * Reference to a data source. */ dataSourceReferences?: pulumi.Input[] | undefined>; /** * - (Optional) A description for image. */ description?: pulumi.Input; /** * - (Optional) The type of image. */ imageType?: pulumi.Input; /** * - (Required) The name for the image. */ name?: pulumi.Input; /** * - (Optional) The reference to a user. */ ownerReference?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional) The reference to a project. */ projectReference?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * - (Optional) A local path to upload an image. */ sourcePath?: pulumi.Input; /** * - (Optional) The source URI points at the location of the source image which is used to create/update image. */ sourceUri?: pulumi.Input; /** * - (Optional) The image version. */ version?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=image.d.ts.map