@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
59 lines • 1.74 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Retrieves API version details.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const example = proxmoxve.getVersion({});
* export const dataProxmoxVersion = {
* release: example.then(example => example.release),
* repositoryId: example.then(example => example.repositoryId),
* version: example.then(example => example.version),
* };
* ```
*/
export declare function getVersion(opts?: pulumi.InvokeOptions): Promise<GetVersionResult>;
/**
* A collection of values returned by getVersion.
*/
export interface GetVersionResult {
/**
* Placeholder identifier attribute.
*/
readonly id: string;
/**
* The current Proxmox VE point release in `x.y` format.
*/
readonly release: string;
/**
* The short git revision from which this version was build.
*/
readonly repositoryId: string;
/**
* The full pve-manager package version of this node.
*/
readonly version: string;
}
/**
* Retrieves API version details.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const example = proxmoxve.getVersion({});
* export const dataProxmoxVersion = {
* release: example.then(example => example.release),
* repositoryId: example.then(example => example.repositoryId),
* version: example.then(example => example.version),
* };
* ```
*/
export declare function getVersionOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVersionResult>;
//# sourceMappingURL=getVersion.d.ts.map