@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
72 lines • 1.8 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Retrieves the current time for a specific node.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const firstNodeTime = proxmoxve.getTimeLegacy({
* nodeName: "first-node",
* });
* ```
*/
export declare function getTimeLegacy(args: GetTimeLegacyArgs, opts?: pulumi.InvokeOptions): Promise<GetTimeLegacyResult>;
/**
* A collection of arguments for invoking getTimeLegacy.
*/
export interface GetTimeLegacyArgs {
/**
* A node name.
*/
nodeName: string;
}
/**
* A collection of values returned by getTimeLegacy.
*/
export interface GetTimeLegacyResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The node's local time.
*/
readonly localTime: string;
readonly nodeName: string;
/**
* The node's time zone.
*/
readonly timeZone: string;
/**
* The node's local time formatted as UTC.
*/
readonly utcTime: string;
}
/**
* Retrieves the current time for a specific node.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const firstNodeTime = proxmoxve.getTimeLegacy({
* nodeName: "first-node",
* });
* ```
*/
export declare function getTimeLegacyOutput(args: GetTimeLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTimeLegacyResult>;
/**
* A collection of arguments for invoking getTimeLegacy.
*/
export interface GetTimeLegacyOutputArgs {
/**
* A node name.
*/
nodeName: pulumi.Input<string>;
}
//# sourceMappingURL=getTimeLegacy.d.ts.map