Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.2.1
published on Wednesday, May 20, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Wednesday, May 20, 2026 by Daniel Muehlbachler-Pietrzykowski
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.2.1
published on Wednesday, May 20, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Wednesday, May 20, 2026 by Daniel Muehlbachler-Pietrzykowski
Deprecated: Use
proxmoxve.metrics.Serverinstead. This data source will be removed in v1.0.
Retrieves information about a specific PVE metric server.
Example Usage
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),
};
import pulumi
import pulumi_proxmoxve as proxmoxve
example = proxmoxve.metrics.get_server_legacy(name="example_influxdb")
pulumi.export("dataProxmoxVirtualEnvironmentMetricsServer", {
"server": example.server,
"port": example.port,
})
package main
import (
"github.com/muhlba91/pulumi-proxmoxve/sdk/v8/go/proxmoxve/metrics"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := metrics.LookupServerLegacy(ctx, &metrics.LookupServerLegacyArgs{
Name: "example_influxdb",
}, nil)
if err != nil {
return err
}
ctx.Export("dataProxmoxVirtualEnvironmentMetricsServer", pulumi.Map{
"server": example.Server,
"port": example.Port,
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ProxmoxVE = Pulumi.ProxmoxVE;
return await Deployment.RunAsync(() =>
{
var example = ProxmoxVE.Metrics.GetServerLegacy.Invoke(new()
{
Name = "example_influxdb",
});
return new Dictionary<string, object?>
{
["dataProxmoxVirtualEnvironmentMetricsServer"] =
{
{ "server", example.Apply(getServerLegacyResult => getServerLegacyResult.Server) },
{ "port", example.Apply(getServerLegacyResult => getServerLegacyResult.Port) },
},
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.proxmoxve.metrics.MetricsFunctions;
import com.pulumi.proxmoxve.metrics.inputs.GetServerLegacyArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = MetricsFunctions.getServerLegacy(GetServerLegacyArgs.builder()
.name("example_influxdb")
.build());
ctx.export("dataProxmoxVirtualEnvironmentMetricsServer", Map.ofEntries(
Map.entry("server", example.server()),
Map.entry("port", example.port())
));
}
}
variables:
example:
fn::invoke:
function: proxmoxve:metrics:getServerLegacy
arguments:
name: example_influxdb
outputs:
dataProxmoxVirtualEnvironmentMetricsServer:
server: ${example.server}
port: ${example.port}
Example coming soon!
Using getServerLegacy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getServerLegacy(args: GetServerLegacyArgs, opts?: InvokeOptions): Promise<GetServerLegacyResult>
function getServerLegacyOutput(args: GetServerLegacyOutputArgs, opts?: InvokeOptions): Output<GetServerLegacyResult>def get_server_legacy(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServerLegacyResult
def get_server_legacy_output(name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServerLegacyResult]func LookupServerLegacy(ctx *Context, args *LookupServerLegacyArgs, opts ...InvokeOption) (*LookupServerLegacyResult, error)
func LookupServerLegacyOutput(ctx *Context, args *LookupServerLegacyOutputArgs, opts ...InvokeOption) LookupServerLegacyResultOutput> Note: This function is named LookupServerLegacy in the Go SDK.
public static class GetServerLegacy
{
public static Task<GetServerLegacyResult> InvokeAsync(GetServerLegacyArgs args, InvokeOptions? opts = null)
public static Output<GetServerLegacyResult> Invoke(GetServerLegacyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServerLegacyResult> getServerLegacy(GetServerLegacyArgs args, InvokeOptions options)
public static Output<GetServerLegacyResult> getServerLegacy(GetServerLegacyArgs args, InvokeOptions options)
fn::invoke:
function: proxmoxve:metrics/getServerLegacy:getServerLegacy
arguments:
# arguments dictionarydata "proxmoxve_metrics_getserverlegacy" "name" {
# arguments
}The following arguments are supported:
- Name string
- Unique name that will be ID of this metric server in PVE.
- Name string
- Unique name that will be ID of this metric server in PVE.
- name string
- Unique name that will be ID of this metric server in PVE.
- name String
- Unique name that will be ID of this metric server in PVE.
- name string
- Unique name that will be ID of this metric server in PVE.
- name str
- Unique name that will be ID of this metric server in PVE.
- name String
- Unique name that will be ID of this metric server in PVE.
getServerLegacy Result
The following output properties are available:
- Disable bool
- Indicates if the metric server is disabled.
- Id string
- The unique identifier of this resource.
- Name string
- Unique name that will be ID of this metric server in PVE.
- Opentelemetry
Compression string - OpenTelemetry compression algorithm for requests.
- Opentelemetry
Headers string - OpenTelemetry custom HTTP headers as JSON, base64 encoded.
- Opentelemetry
Max intBody Size - OpenTelemetry maximum request body size in bytes.
- Opentelemetry
Path string - OpenTelemetry endpoint path (e.g.,
/v1/metrics). - Opentelemetry
Proto string - Protocol for OpenTelemetry. Choice is between
http|https. - Opentelemetry
Resource stringAttributes - OpenTelemetry additional resource attributes as JSON, base64 encoded.
- Opentelemetry
Timeout int - OpenTelemetry HTTP request timeout in seconds.
- Opentelemetry
Verify boolSsl - OpenTelemetry verify SSL certificates.
- Port int
- Server network port.
- Server string
- Server dns name or IP address.
- Type string
- Plugin type. Either
graphite,influxdb, oropentelemetry.
- Disable bool
- Indicates if the metric server is disabled.
- Id string
- The unique identifier of this resource.
- Name string
- Unique name that will be ID of this metric server in PVE.
- Opentelemetry
Compression string - OpenTelemetry compression algorithm for requests.
- Opentelemetry
Headers string - OpenTelemetry custom HTTP headers as JSON, base64 encoded.
- Opentelemetry
Max intBody Size - OpenTelemetry maximum request body size in bytes.
- Opentelemetry
Path string - OpenTelemetry endpoint path (e.g.,
/v1/metrics). - Opentelemetry
Proto string - Protocol for OpenTelemetry. Choice is between
http|https. - Opentelemetry
Resource stringAttributes - OpenTelemetry additional resource attributes as JSON, base64 encoded.
- Opentelemetry
Timeout int - OpenTelemetry HTTP request timeout in seconds.
- Opentelemetry
Verify boolSsl - OpenTelemetry verify SSL certificates.
- Port int
- Server network port.
- Server string
- Server dns name or IP address.
- Type string
- Plugin type. Either
graphite,influxdb, oropentelemetry.
- disable bool
- Indicates if the metric server is disabled.
- id string
- The unique identifier of this resource.
- name string
- Unique name that will be ID of this metric server in PVE.
- opentelemetry_
compression string - OpenTelemetry compression algorithm for requests.
- opentelemetry_
headers string - OpenTelemetry custom HTTP headers as JSON, base64 encoded.
- opentelemetry_
max_ numberbody_ size - OpenTelemetry maximum request body size in bytes.
- opentelemetry_
path string - OpenTelemetry endpoint path (e.g.,
/v1/metrics). - opentelemetry_
proto string - Protocol for OpenTelemetry. Choice is between
http|https. - opentelemetry_
resource_ stringattributes - OpenTelemetry additional resource attributes as JSON, base64 encoded.
- opentelemetry_
timeout number - OpenTelemetry HTTP request timeout in seconds.
- opentelemetry_
verify_ boolssl - OpenTelemetry verify SSL certificates.
- port number
- Server network port.
- server string
- Server dns name or IP address.
- type string
- Plugin type. Either
graphite,influxdb, oropentelemetry.
- disable Boolean
- Indicates if the metric server is disabled.
- id String
- The unique identifier of this resource.
- name String
- Unique name that will be ID of this metric server in PVE.
- opentelemetry
Compression String - OpenTelemetry compression algorithm for requests.
- opentelemetry
Headers String - OpenTelemetry custom HTTP headers as JSON, base64 encoded.
- opentelemetry
Max IntegerBody Size - OpenTelemetry maximum request body size in bytes.
- opentelemetry
Path String - OpenTelemetry endpoint path (e.g.,
/v1/metrics). - opentelemetry
Proto String - Protocol for OpenTelemetry. Choice is between
http|https. - opentelemetry
Resource StringAttributes - OpenTelemetry additional resource attributes as JSON, base64 encoded.
- opentelemetry
Timeout Integer - OpenTelemetry HTTP request timeout in seconds.
- opentelemetry
Verify BooleanSsl - OpenTelemetry verify SSL certificates.
- port Integer
- Server network port.
- server String
- Server dns name or IP address.
- type String
- Plugin type. Either
graphite,influxdb, oropentelemetry.
- disable boolean
- Indicates if the metric server is disabled.
- id string
- The unique identifier of this resource.
- name string
- Unique name that will be ID of this metric server in PVE.
- opentelemetry
Compression string - OpenTelemetry compression algorithm for requests.
- opentelemetry
Headers string - OpenTelemetry custom HTTP headers as JSON, base64 encoded.
- opentelemetry
Max numberBody Size - OpenTelemetry maximum request body size in bytes.
- opentelemetry
Path string - OpenTelemetry endpoint path (e.g.,
/v1/metrics). - opentelemetry
Proto string - Protocol for OpenTelemetry. Choice is between
http|https. - opentelemetry
Resource stringAttributes - OpenTelemetry additional resource attributes as JSON, base64 encoded.
- opentelemetry
Timeout number - OpenTelemetry HTTP request timeout in seconds.
- opentelemetry
Verify booleanSsl - OpenTelemetry verify SSL certificates.
- port number
- Server network port.
- server string
- Server dns name or IP address.
- type string
- Plugin type. Either
graphite,influxdb, oropentelemetry.
- disable bool
- Indicates if the metric server is disabled.
- id str
- The unique identifier of this resource.
- name str
- Unique name that will be ID of this metric server in PVE.
- opentelemetry_
compression str - OpenTelemetry compression algorithm for requests.
- opentelemetry_
headers str - OpenTelemetry custom HTTP headers as JSON, base64 encoded.
- opentelemetry_
max_ intbody_ size - OpenTelemetry maximum request body size in bytes.
- opentelemetry_
path str - OpenTelemetry endpoint path (e.g.,
/v1/metrics). - opentelemetry_
proto str - Protocol for OpenTelemetry. Choice is between
http|https. - opentelemetry_
resource_ strattributes - OpenTelemetry additional resource attributes as JSON, base64 encoded.
- opentelemetry_
timeout int - OpenTelemetry HTTP request timeout in seconds.
- opentelemetry_
verify_ boolssl - OpenTelemetry verify SSL certificates.
- port int
- Server network port.
- server str
- Server dns name or IP address.
- type str
- Plugin type. Either
graphite,influxdb, oropentelemetry.
- disable Boolean
- Indicates if the metric server is disabled.
- id String
- The unique identifier of this resource.
- name String
- Unique name that will be ID of this metric server in PVE.
- opentelemetry
Compression String - OpenTelemetry compression algorithm for requests.
- opentelemetry
Headers String - OpenTelemetry custom HTTP headers as JSON, base64 encoded.
- opentelemetry
Max NumberBody Size - OpenTelemetry maximum request body size in bytes.
- opentelemetry
Path String - OpenTelemetry endpoint path (e.g.,
/v1/metrics). - opentelemetry
Proto String - Protocol for OpenTelemetry. Choice is between
http|https. - opentelemetry
Resource StringAttributes - OpenTelemetry additional resource attributes as JSON, base64 encoded.
- opentelemetry
Timeout Number - OpenTelemetry HTTP request timeout in seconds.
- opentelemetry
Verify BooleanSsl - OpenTelemetry verify SSL certificates.
- port Number
- Server network port.
- server String
- Server dns name or IP address.
- type String
- Plugin type. Either
graphite,influxdb, oropentelemetry.
Package Details
- Repository
- proxmoxve muhlba91/pulumi-proxmoxve
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
proxmoxTerraform Provider.
Viewing docs for Proxmox Virtual Environment (Proxmox VE) v8.2.1
published on Wednesday, May 20, 2026 by Daniel Muehlbachler-Pietrzykowski
published on Wednesday, May 20, 2026 by Daniel Muehlbachler-Pietrzykowski
