import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Retrieves the OVA details for the provided external identifier. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // Fetch a single OVA by its external ID * const example = nutanix.getOvaV2({ * extId: "7034016e-f3d4-472a-8c7b-cd13658b7315", * }); * ``` * */ export declare function getOvaV2(args: GetOvaV2Args, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOvaV2. */ export interface GetOvaV2Args { /** * - List of cluster identifiers where the OVA is located. This field is required when creating an OVA from URL or Objects lite upload. */ clusterLocationExtIds?: string[]; /** * -(Required) The external identifier for an OVA. */ extId: string; } /** * A collection of values returned by getOvaV2. */ export interface GetOvaV2Result { /** * - The checksum of an OVA. */ readonly checksums: outputs.GetOvaV2Checksum[]; /** * - List of cluster identifiers where the OVA is located. This field is required when creating an OVA from URL or Objects lite upload. */ readonly clusterLocationExtIds: string[]; /** * VM creation time */ readonly createTime: string; /** * - Information of the user. */ readonly createdBies: outputs.GetOvaV2CreatedBy[]; /** * - Disk format of an OVA. * |ENUM |Description | * |---|---| * | VMDK | The VMDK disk format of an OVA. | * | QCOW2 | The QCOW2 disk format of an OVA. | */ readonly diskFormat: string; /** * A globally unique identifier of an instance that is suitable for external consumption. */ readonly extId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * - Time when the OVA was last updated time. */ readonly lastUpdateTime: string; /** * - A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource. */ readonly links: outputs.GetOvaV2Link[]; /** * Name of the GPU resource. */ readonly name: string; /** * - The parent VM used for creating the OVA. */ readonly parentVm: string; /** * - Size of OVA in bytes. */ readonly sizeBytes: number; /** * Reference to an entity that the VM should be cloned or created from */ readonly sources: outputs.GetOvaV2Source[]; /** * - A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server). */ readonly tenantId: string; /** * - VM configuration. */ readonly vmConfigs: outputs.GetOvaV2VmConfig[]; } /** * Retrieves the OVA details for the provided external identifier. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // Fetch a single OVA by its external ID * const example = nutanix.getOvaV2({ * extId: "7034016e-f3d4-472a-8c7b-cd13658b7315", * }); * ``` * */ export declare function getOvaV2Output(args: GetOvaV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOvaV2. */ export interface GetOvaV2OutputArgs { /** * - List of cluster identifiers where the OVA is located. This field is required when creating an OVA from URL or Objects lite upload. */ clusterLocationExtIds?: pulumi.Input[] | undefined>; /** * -(Required) The external identifier for an OVA. */ extId: pulumi.Input; } //# sourceMappingURL=getOvaV2.d.ts.map