pub struct ClusterMetricsCreateServerRequest {Show 23 fields
pub api_path_prefix: Option<String>,
pub bucket: Option<String>,
pub disable: Option<PveBoolean>,
pub influxdbproto: Option<PveInfluxdbprotoEnum>,
pub max_body_size: Option<i64>,
pub mtu: Option<i32>,
pub organization: Option<String>,
pub otel_compression: Option<PveOtelCompressionEnum>,
pub otel_headers: Option<String>,
pub otel_max_body_size: Option<i64>,
pub otel_path: Option<String>,
pub otel_protocol: Option<PveOtelProtocolEnum>,
pub otel_resource_attributes: Option<String>,
pub otel_timeout: Option<i32>,
pub otel_verify_ssl: Option<PveBoolean>,
pub path: Option<String>,
pub port: i32,
pub proto: Option<PveProtoEnum>,
pub server: String,
pub timeout: Option<i64>,
pub token: Option<String>,
pub type: PveClusterMetricsTypeEnum2,
pub verify_certificate: Option<PveBoolean>,
}Fields§
§api_path_prefix: Option<String>An API path prefix inserted between ‘
bucket: Option<String>The InfluxDB bucket/db. Only necessary when using the http v2 api.
disable: Option<PveBoolean>Flag to disable the plugin.
influxdbproto: Option<PveInfluxdbprotoEnum>§max_body_size: Option<i64>InfluxDB max-body-size in bytes. Requests are batched up to this size.
mtu: Option<i32>MTU for metrics transmission over UDP
organization: Option<String>The InfluxDB organization. Only necessary when using the http v2 api. Has no meaning when using v2 compatibility api.
otel_compression: Option<PveOtelCompressionEnum>Compression algorithm for requests
otel_headers: Option<String>Custom HTTP headers (JSON format, base64 encoded)
otel_max_body_size: Option<i64>Maximum request body size in bytes
otel_path: Option<String>OTLP endpoint path
otel_protocol: Option<PveOtelProtocolEnum>HTTP protocol
otel_resource_attributes: Option<String>Additional resource attributes as JSON, base64 encoded
otel_timeout: Option<i32>HTTP request timeout in seconds
otel_verify_ssl: Option<PveBoolean>Verify SSL certificates
path: Option<String>root graphite path (ex: proxmox.mycluster.mykey)
port: i32server network port
proto: Option<PveProtoEnum>Protocol to send graphite data. TCP or UDP (default)
server: Stringserver dns name or IP address
timeout: Option<i64>graphite TCP socket timeout (default=1)
token: Option<String>The InfluxDB access token. Only necessary when using the http v2 api. If the v2 compatibility api is used, use ‘user:password’ instead.
type: PveClusterMetricsTypeEnum2Plugin type.
verify_certificate: Option<PveBoolean>Set to 0 to disable certificate verification for https endpoints.
Implementations§
Source§impl ClusterMetricsCreateServerRequest
impl ClusterMetricsCreateServerRequest
pub fn new( port: i32, server: String, type: PveClusterMetricsTypeEnum2, ) -> ClusterMetricsCreateServerRequest
Trait Implementations§
Source§impl Clone for ClusterMetricsCreateServerRequest
impl Clone for ClusterMetricsCreateServerRequest
Source§fn clone(&self) -> ClusterMetricsCreateServerRequest
fn clone(&self) -> ClusterMetricsCreateServerRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ClusterMetricsCreateServerRequest
impl Default for ClusterMetricsCreateServerRequest
Source§fn default() -> ClusterMetricsCreateServerRequest
fn default() -> ClusterMetricsCreateServerRequest
Source§impl<'de> Deserialize<'de> for ClusterMetricsCreateServerRequest
impl<'de> Deserialize<'de> for ClusterMetricsCreateServerRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ClusterMetricsCreateServerRequest
impl PartialEq for ClusterMetricsCreateServerRequest
Source§fn eq(&self, other: &ClusterMetricsCreateServerRequest) -> bool
fn eq(&self, other: &ClusterMetricsCreateServerRequest) -> bool
self and other values to be equal, and is used by ==.