import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Create an image using the provided request body. Name, type and source are mandatory fields to create an image. * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const img_1 = new nutanix.ImagesV2("img-1", { * name: "test-image", * description: "img desc", * type: "ISO_IMAGE", * sources: [{ * urlSources: [{ * url: "http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso", * }], * }], * }); * const img_2 = new nutanix.ImagesV2("img-2", { * name: "test-image", * description: "img desc", * type: "DISK_IMAGE", * sources: [{ * urlSources: [{ * url: "http://archive.ubuntu.com/ubuntu/dists/bionic/main/installer-amd64/current/images/netboot/mini.iso", * }], * }], * clusterLocationExtIds: ["ab520e1d-4950-1db1-917f-a9e2ea35b8e3"], * }); * const object_liteStore_img = new nutanix.ImagesV2("object-liteStore-img", { * name: "image-object-lite-example", * description: "Image created from object store", * type: "DISK_IMAGE", * sources: [{ * objectLiteSources: [{ * key: "img-lite-key-example", * }], * }], * }); * ``` * */ export declare class ImagesV2 extends pulumi.CustomResource { /** * Get an existing ImagesV2 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?: ImagesV2State, opts?: pulumi.CustomResourceOptions): ImagesV2; /** * Returns true if the given object is an instance of ImagesV2. 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 ImagesV2; /** * List of category external identifiers for an image. */ readonly categoryExtIds: pulumi.Output; /** * The checksum of an image. */ readonly checksums: pulumi.Output; /** * List of cluster external identifiers where the image is located. */ readonly clusterLocationExtIds: pulumi.Output; /** * Create time of an image. */ readonly createTime: pulumi.Output; /** * The user defined description of an image. */ readonly description: pulumi.Output; readonly extId: pulumi.Output; /** * Last update time of an image. */ readonly lastUpdateTime: pulumi.Output; readonly links: pulumi.Output; /** * The user defined name of an image. */ readonly name: pulumi.Output; /** * External identifier of the owner of the image */ readonly ownerExtId: pulumi.Output; /** * Status of an image placement policy. */ readonly placementPolicyStatuses: pulumi.Output; /** * The size in bytes of an image file. */ readonly sizeBytes: pulumi.Output; /** * The source of an image. It can be a VM disk or a URL. */ readonly sources: pulumi.Output; readonly tenantId: pulumi.Output; /** * The type of an image. Valid values "DISK_IMAGE", "ISO_IMAGE" */ readonly type: pulumi.Output; /** * Create a ImagesV2 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: ImagesV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ImagesV2 resources. */ export interface ImagesV2State { /** * List of category external identifiers for an image. */ categoryExtIds?: pulumi.Input[] | undefined>; /** * The checksum of an image. */ checksums?: pulumi.Input[] | undefined>; /** * List of cluster external identifiers where the image is located. */ clusterLocationExtIds?: pulumi.Input[] | undefined>; /** * Create time of an image. */ createTime?: pulumi.Input; /** * The user defined description of an image. */ description?: pulumi.Input; extId?: pulumi.Input; /** * Last update time of an image. */ lastUpdateTime?: pulumi.Input; links?: pulumi.Input[] | undefined>; /** * The user defined name of an image. */ name?: pulumi.Input; /** * External identifier of the owner of the image */ ownerExtId?: pulumi.Input; /** * Status of an image placement policy. */ placementPolicyStatuses?: pulumi.Input[] | undefined>; /** * The size in bytes of an image file. */ sizeBytes?: pulumi.Input; /** * The source of an image. It can be a VM disk or a URL. */ sources?: pulumi.Input[] | undefined>; tenantId?: pulumi.Input; /** * The type of an image. Valid values "DISK_IMAGE", "ISO_IMAGE" */ type?: pulumi.Input; } /** * The set of arguments for constructing a ImagesV2 resource. */ export interface ImagesV2Args { /** * List of category external identifiers for an image. */ categoryExtIds?: pulumi.Input[] | undefined>; /** * The checksum of an image. */ checksums?: pulumi.Input[] | undefined>; /** * List of cluster external identifiers where the image is located. */ clusterLocationExtIds?: pulumi.Input[] | undefined>; /** * The user defined description of an image. */ description?: pulumi.Input; /** * The user defined name of an image. */ name?: pulumi.Input; /** * The source of an image. It can be a VM disk or a URL. */ sources?: pulumi.Input[] | undefined>; /** * The type of an image. Valid values "DISK_IMAGE", "ISO_IMAGE" */ type: pulumi.Input; } //# sourceMappingURL=imagesV2.d.ts.map