@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
72 lines (71 loc) • 1.69 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.Network.getTime({
* nodeName: "first-node",
* });
* ```
*/
export declare function getTime(args: GetTimeArgs, opts?: pulumi.InvokeOptions): Promise<GetTimeResult>;
/**
* A collection of arguments for invoking getTime.
*/
export interface GetTimeArgs {
/**
* A node name.
*/
nodeName: string;
}
/**
* A collection of values returned by getTime.
*/
export interface GetTimeResult {
/**
* 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.Network.getTime({
* nodeName: "first-node",
* });
* ```
*/
export declare function getTimeOutput(args: GetTimeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTimeResult>;
/**
* A collection of arguments for invoking getTime.
*/
export interface GetTimeOutputArgs {
/**
* A node name.
*/
nodeName: pulumi.Input<string>;
}