pub struct GatewayUpdateLogForwardingSyslog {
pub enable: Option<String>,
pub enable_tls: Option<bool>,
pub formatter: Option<String>,
pub host: Option<String>,
pub json: Option<bool>,
pub network: Option<String>,
pub output_format: Option<String>,
pub pull_interval: Option<String>,
pub target_tag: Option<String>,
pub tls_certificate: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
GatewayUpdateLogForwardingSyslog : gatewayUpdateLogForwardingSyslog is a command that updates log forwarding config (syslog target)
Fields§
§enable: Option<String>Enable Log Forwarding [true/false]
enable_tls: Option<bool>Enable tls relevant only for network type TCP
formatter: Option<String>Syslog formatter [text/cef]
host: Option<String>Syslog host
json: Option<bool>Set output format to JSON
network: Option<String>Syslog network [tcp/udp]
output_format: Option<String>Logs format [text/json]
pull_interval: Option<String>Pull interval in seconds
target_tag: Option<String>Syslog target tag
tls_certificate: Option<String>Syslog tls certificate
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl GatewayUpdateLogForwardingSyslog
impl GatewayUpdateLogForwardingSyslog
Sourcepub fn new() -> GatewayUpdateLogForwardingSyslog
pub fn new() -> GatewayUpdateLogForwardingSyslog
gatewayUpdateLogForwardingSyslog is a command that updates log forwarding config (syslog target)
Trait Implementations§
Source§impl Clone for GatewayUpdateLogForwardingSyslog
impl Clone for GatewayUpdateLogForwardingSyslog
Source§fn clone(&self) -> GatewayUpdateLogForwardingSyslog
fn clone(&self) -> GatewayUpdateLogForwardingSyslog
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GatewayUpdateLogForwardingSyslog
impl Default for GatewayUpdateLogForwardingSyslog
Source§fn default() -> GatewayUpdateLogForwardingSyslog
fn default() -> GatewayUpdateLogForwardingSyslog
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewayUpdateLogForwardingSyslog
impl<'de> Deserialize<'de> for GatewayUpdateLogForwardingSyslog
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GatewayUpdateLogForwardingSyslog
impl PartialEq for GatewayUpdateLogForwardingSyslog
Source§fn eq(&self, other: &GatewayUpdateLogForwardingSyslog) -> bool
fn eq(&self, other: &GatewayUpdateLogForwardingSyslog) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GatewayUpdateLogForwardingSyslog
Auto Trait Implementations§
impl Freeze for GatewayUpdateLogForwardingSyslog
impl RefUnwindSafe for GatewayUpdateLogForwardingSyslog
impl Send for GatewayUpdateLogForwardingSyslog
impl Sync for GatewayUpdateLogForwardingSyslog
impl Unpin for GatewayUpdateLogForwardingSyslog
impl UnsafeUnpin for GatewayUpdateLogForwardingSyslog
impl UnwindSafe for GatewayUpdateLogForwardingSyslog
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more