pub struct GatewayUpdateLogForwardingSplunk {Show 14 fields
pub enable: Option<String>,
pub enable_batch: Option<String>,
pub enable_tls: Option<bool>,
pub index: Option<String>,
pub json: Option<bool>,
pub output_format: Option<String>,
pub pull_interval: Option<String>,
pub source: Option<String>,
pub source_type: Option<String>,
pub splunk_token: Option<String>,
pub splunk_url: Option<String>,
pub tls_certificate: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
GatewayUpdateLogForwardingSplunk : gatewayUpdateLogForwardingSplunk is a command that updates log forwarding config (splunk target)
Fields§
§enable: Option<String>Enable Log Forwarding [true/false]
enable_batch: Option<String>Enable batch forwarding [true/false]
enable_tls: Option<bool>Enable tls
index: Option<String>Splunk index
json: Option<bool>Set output format to JSON
output_format: Option<String>Logs format [text/json]
pull_interval: Option<String>Pull interval in seconds
source: Option<String>Splunk source
source_type: Option<String>Splunk source type
splunk_token: Option<String>Splunk token
splunk_url: Option<String>Splunk server URL
tls_certificate: Option<String>Splunk 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 GatewayUpdateLogForwardingSplunk
impl GatewayUpdateLogForwardingSplunk
Sourcepub fn new() -> GatewayUpdateLogForwardingSplunk
pub fn new() -> GatewayUpdateLogForwardingSplunk
gatewayUpdateLogForwardingSplunk is a command that updates log forwarding config (splunk target)
Trait Implementations§
Source§impl Clone for GatewayUpdateLogForwardingSplunk
impl Clone for GatewayUpdateLogForwardingSplunk
Source§fn clone(&self) -> GatewayUpdateLogForwardingSplunk
fn clone(&self) -> GatewayUpdateLogForwardingSplunk
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 GatewayUpdateLogForwardingSplunk
impl Default for GatewayUpdateLogForwardingSplunk
Source§fn default() -> GatewayUpdateLogForwardingSplunk
fn default() -> GatewayUpdateLogForwardingSplunk
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewayUpdateLogForwardingSplunk
impl<'de> Deserialize<'de> for GatewayUpdateLogForwardingSplunk
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 GatewayUpdateLogForwardingSplunk
impl PartialEq for GatewayUpdateLogForwardingSplunk
Source§fn eq(&self, other: &GatewayUpdateLogForwardingSplunk) -> bool
fn eq(&self, other: &GatewayUpdateLogForwardingSplunk) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GatewayUpdateLogForwardingSplunk
Auto Trait Implementations§
impl Freeze for GatewayUpdateLogForwardingSplunk
impl RefUnwindSafe for GatewayUpdateLogForwardingSplunk
impl Send for GatewayUpdateLogForwardingSplunk
impl Sync for GatewayUpdateLogForwardingSplunk
impl Unpin for GatewayUpdateLogForwardingSplunk
impl UnsafeUnpin for GatewayUpdateLogForwardingSplunk
impl UnwindSafe for GatewayUpdateLogForwardingSplunk
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