pub struct PutParams {Show 17 fields
pub api_path_prefix: Option<String>,
pub bucket: Option<String>,
pub delete: Option<String>,
pub digest: Option<String>,
pub disable: Option<bool>,
pub influxdbproto: Option<Influxdbproto>,
pub max_body_size: Option<u64>,
pub mtu: Option<u64>,
pub organization: Option<String>,
pub path: Option<String>,
pub port: u64,
pub proto: Option<Proto>,
pub server: String,
pub timeout: Option<u64>,
pub token: Option<String>,
pub verify_certificate: Option<bool>,
pub additional_properties: HashMap<String, Value>,
}
Fields§
§api_path_prefix: Option<String>
An API path prefix inserted between ‘<host>:<port>/’ and ‘/api2/’. Can be useful if the InfluxDB service runs behind a reverse proxy.
bucket: Option<String>
The InfluxDB bucket/db. Only necessary when using the http v2 api.
delete: Option<String>
A list of settings you want to delete.
digest: Option<String>
Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
disable: Option<bool>
Flag to disable the plugin.
influxdbproto: Option<Influxdbproto>
§max_body_size: Option<u64>
InfluxDB max-body-size in bytes. Requests are batched up to this size.
mtu: Option<u64>
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.
path: Option<String>
root graphite path (ex: proxmox.mycluster.mykey)
port: u64
server network port
proto: Option<Proto>
Protocol to send graphite data. TCP or UDP (default)
server: String
server dns name or IP address
timeout: Option<u64>
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.
verify_certificate: Option<bool>
Set to 0 to disable certificate verification for https endpoints.
additional_properties: HashMap<String, Value>