import * as pulumi from "@pulumi/pulumi"; /** * Uploads hypervisor or AOS image to foundation. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const nos_image = new nutanix.FoundationImage("nos-image", { * source: "../../../files/nutanix_installer_x86_64.tar", * filename: "nos_image.tar", * installerType: "nos", * }); * const hypervisor_image = new nutanix.FoundationImage("hypervisor-image", { * source: "../../../files/VMware-Installer.x86_64.iso", * filename: "esx_image.iso", * installerType: "esx", * }); * ``` * * * ## lifecycle * * * `Update` : - Resource will trigger new resource create call for any kind of update in resource config and delete existing image from foundation vm. * * See detailed information in [Nutanix Foundation Image](https://www.nutanix.dev/api_references/foundation/#/b3A6MjIyMjM0MDQ-upload-hypervisor-or-aos-image-to-foundation). */ export declare class FoundationImage extends pulumi.CustomResource { /** * Get an existing FoundationImage 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?: FoundationImageState, opts?: pulumi.CustomResourceOptions): FoundationImage; /** * Returns true if the given object is an instance of FoundationImage. 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 FoundationImage; /** * - (Required) Name of installer file to be kept in foundation vm. */ readonly filename: pulumi.Output; /** * - If hypervisor ISO is in whitelist. */ readonly inWhitelist: pulumi.Output; /** * - (Required) One of "kvm", "esx", "hyperv", "xen", or "nos". */ readonly installerType: pulumi.Output; /** * - md5sum of the ISO. */ readonly md5sum: pulumi.Output; /** * - file location in foundation vm */ readonly name: pulumi.Output; /** * - (Required) Complete path to the file in machine where the .tf files runs. */ readonly source: pulumi.Output; /** * Create a FoundationImage 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: FoundationImageArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering FoundationImage resources. */ export interface FoundationImageState { /** * - (Required) Name of installer file to be kept in foundation vm. */ filename?: pulumi.Input; /** * - If hypervisor ISO is in whitelist. */ inWhitelist?: pulumi.Input; /** * - (Required) One of "kvm", "esx", "hyperv", "xen", or "nos". */ installerType?: pulumi.Input; /** * - md5sum of the ISO. */ md5sum?: pulumi.Input; /** * - file location in foundation vm */ name?: pulumi.Input; /** * - (Required) Complete path to the file in machine where the .tf files runs. */ source?: pulumi.Input; } /** * The set of arguments for constructing a FoundationImage resource. */ export interface FoundationImageArgs { /** * - (Required) Name of installer file to be kept in foundation vm. */ filename: pulumi.Input; /** * - (Required) One of "kvm", "esx", "hyperv", "xen", or "nos". */ installerType: pulumi.Input; /** * - (Required) Complete path to the file in machine where the .tf files runs. */ source: pulumi.Input; } //# sourceMappingURL=foundationImage.d.ts.map