import * as pulumi from "@pulumi/pulumi"; /** * The `vsphere.License` data source can be used to get the general attributes of * a license keys from a vCenter Server instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vsphere from "@pulumi/vsphere"; * * const license = vsphere.getLicense({ * licenseKey: "00000-00000-00000-00000-00000", * }); * ``` */ export declare function getLicense(args: GetLicenseArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLicense. */ export interface GetLicenseArgs { /** * The license key value. */ licenseKey: string; } /** * A collection of values returned by getLicense. */ export interface GetLicenseResult { /** * The product edition of the license key. */ readonly editionKey: string; /** * The license key ID. */ readonly id: string; /** * A map of labels applied to the license key. */ readonly labels: { [key: string]: string; }; readonly licenseKey: string; /** * The display name for the license. */ readonly name: string; /** * The total number of units contained in the license key. */ readonly total: number; /** * The number of units assigned to this license key. */ readonly used: number; } /** * The `vsphere.License` data source can be used to get the general attributes of * a license keys from a vCenter Server instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as vsphere from "@pulumi/vsphere"; * * const license = vsphere.getLicense({ * licenseKey: "00000-00000-00000-00000-00000", * }); * ``` */ export declare function getLicenseOutput(args: GetLicenseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLicense. */ export interface GetLicenseOutputArgs { /** * The license key value. */ licenseKey: pulumi.Input; }