import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; /** * Retrieve the Template details for the given Template identifier. * * ## Example * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const template = nutanix.getTemplateV2({ * extId: "7ad31035-9e8b-4fb1-b8fd-fa39326887d8", * }); * ``` * */ export declare function getTemplateV2(args: GetTemplateV2Args, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTemplateV2. */ export interface GetTemplateV2Args { /** * The identifier of a Template. */ extId: string; } /** * A collection of values returned by getTemplateV2. */ export interface GetTemplateV2Result { readonly categoryExtIds: string[]; /** * VM creation time */ readonly createTime: string; /** * User or Service who created the User. */ readonly createdBies: outputs.GetTemplateV2CreatedBy[]; /** * A globally unique identifier of an instance that is suitable for external consumption. */ readonly extId: string; /** * Status of a Guest Update. */ readonly guestUpdateStatuses: outputs.GetTemplateV2GuestUpdateStatus[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: 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.GetTemplateV2Link[]; /** * The user defined description of a Template. */ readonly templateDescription: string; /** * The user defined name of a Template. */ readonly templateName: string; /** * A model that represents an object instance that is accessible through an API endpoint. Instances of this type get an extId field that contains the globally unique identifier for that instance */ readonly templateVersionSpecs: outputs.GetTemplateV2TemplateVersionSpec[]; /** * 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 last updated time. */ readonly updateTime: string; /** * Last updated by this User ID. */ readonly updatedBies: outputs.GetTemplateV2UpdatedBy[]; } /** * Retrieve the Template details for the given Template identifier. * * ## Example * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const template = nutanix.getTemplateV2({ * extId: "7ad31035-9e8b-4fb1-b8fd-fa39326887d8", * }); * ``` * */ export declare function getTemplateV2Output(args: GetTemplateV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTemplateV2. */ export interface GetTemplateV2OutputArgs { /** * The identifier of a Template. */ extId: pulumi.Input; } //# sourceMappingURL=getTemplateV2.d.ts.map