@muhlba91/pulumi-proxmoxve
Version:
A Pulumi package for creating and managing Proxmox Virtual Environment cloud resources.
123 lines • 3.66 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* > **Deprecated:** Use `proxmoxve.metrics.Server` instead. This data source will be removed in v1.0.
*
* 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.getServerLegacy({
* name: "example_influxdb",
* });
* export const dataProxmoxVirtualEnvironmentMetricsServer = {
* server: example.then(example => example.server),
* port: example.then(example => example.port),
* };
* ```
*/
export declare function getServerLegacy(args: GetServerLegacyArgs, opts?: pulumi.InvokeOptions): Promise<GetServerLegacyResult>;
/**
* A collection of arguments for invoking getServerLegacy.
*/
export interface GetServerLegacyArgs {
/**
* Unique name that will be ID of this metric server in PVE.
*/
name: string;
}
/**
* A collection of values returned by getServerLegacy.
*/
export interface GetServerLegacyResult {
/**
* 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;
}
/**
* > **Deprecated:** Use `proxmoxve.metrics.Server` instead. This data source will be removed in v1.0.
*
* 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.getServerLegacy({
* name: "example_influxdb",
* });
* export const dataProxmoxVirtualEnvironmentMetricsServer = {
* server: example.then(example => example.server),
* port: example.then(example => example.port),
* };
* ```
*/
export declare function getServerLegacyOutput(args: GetServerLegacyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServerLegacyResult>;
/**
* A collection of arguments for invoking getServerLegacy.
*/
export interface GetServerLegacyOutputArgs {
/**
* Unique name that will be ID of this metric server in PVE.
*/
name: pulumi.Input<string>;
}
//# sourceMappingURL=getServerLegacy.d.ts.map