@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
119 lines • 3.32 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Retrieves information about a specific PVE metric server.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const example = proxmoxve.metrics.getServer({
* name: "example_influxdb",
* });
* export const dataProxmoxMetricsServer = {
* server: example.then(example => example.server),
* port: example.then(example => example.port),
* };
* ```
*/
export declare function getServer(args: GetServerArgs, opts?: pulumi.InvokeOptions): Promise<GetServerResult>;
/**
* A collection of arguments for invoking getServer.
*/
export interface GetServerArgs {
/**
* Unique name that will be ID of this metric server in PVE.
*/
name: string;
}
/**
* A collection of values returned by getServer.
*/
export interface GetServerResult {
/**
* Indicates if the metric server is disabled.
*/
readonly disable: boolean;
/**
* The unique identifier of this resource.
*/
readonly id: string;
/**
* Unique name that will be ID of this metric server in PVE.
*/
readonly name: string;
/**
* OpenTelemetry compression algorithm for requests.
*/
readonly opentelemetryCompression: string;
/**
* OpenTelemetry custom HTTP headers as JSON, base64 encoded.
*/
readonly opentelemetryHeaders: string;
/**
* OpenTelemetry maximum request body size in bytes.
*/
readonly opentelemetryMaxBodySize: number;
/**
* OpenTelemetry endpoint path (e.g., `/v1/metrics`).
*/
readonly opentelemetryPath: string;
/**
* Protocol for OpenTelemetry. Choice is between `http` | `https`.
*/
readonly opentelemetryProto: string;
/**
* OpenTelemetry additional resource attributes as JSON, base64 encoded.
*/
readonly opentelemetryResourceAttributes: string;
/**
* OpenTelemetry HTTP request timeout in seconds.
*/
readonly opentelemetryTimeout: number;
/**
* OpenTelemetry verify SSL certificates.
*/
readonly opentelemetryVerifySsl: boolean;
/**
* Server network port.
*/
readonly port: number;
/**
* Server dns name or IP address.
*/
readonly server: string;
/**
* Plugin type. Either `graphite`, `influxdb`, or `opentelemetry`.
*/
readonly type: string;
}
/**
* Retrieves information about a specific PVE metric server.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as proxmoxve from "@muhlba91/pulumi-proxmoxve";
*
* const example = proxmoxve.metrics.getServer({
* name: "example_influxdb",
* });
* export const dataProxmoxMetricsServer = {
* server: example.then(example => example.server),
* port: example.then(example => example.port),
* };
* ```
*/
export declare function getServerOutput(args: GetServerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServerResult>;
/**
* A collection of arguments for invoking getServer.
*/
export interface GetServerOutputArgs {
/**
* Unique name that will be ID of this metric server in PVE.
*/
name: pulumi.Input<string>;
}
//# sourceMappingURL=getServer.d.ts.map