pub struct GatewayUpdateLogForwardingSumologic {
pub enable: Option<String>,
pub endpoint: Option<String>,
pub host: Option<String>,
pub json: Option<bool>,
pub output_format: Option<String>,
pub pull_interval: Option<String>,
pub sumologic_tags: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
GatewayUpdateLogForwardingSumologic : gatewayUpdateLogForwardingSumologic is a command that updates log forwarding config (sumologic target)
Fields§
§enable: Option<String>Enable Log Forwarding [true/false]
endpoint: Option<String>Sumologic endpoint URL
host: Option<String>Sumologic host
json: Option<bool>Set output format to JSON
output_format: Option<String>Logs format [text/json]
pull_interval: Option<String>Pull interval in seconds
A comma-separated list of Sumologic tags
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 GatewayUpdateLogForwardingSumologic
impl GatewayUpdateLogForwardingSumologic
Sourcepub fn new() -> GatewayUpdateLogForwardingSumologic
pub fn new() -> GatewayUpdateLogForwardingSumologic
gatewayUpdateLogForwardingSumologic is a command that updates log forwarding config (sumologic target)
Trait Implementations§
Source§impl Clone for GatewayUpdateLogForwardingSumologic
impl Clone for GatewayUpdateLogForwardingSumologic
Source§fn clone(&self) -> GatewayUpdateLogForwardingSumologic
fn clone(&self) -> GatewayUpdateLogForwardingSumologic
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 GatewayUpdateLogForwardingSumologic
impl Default for GatewayUpdateLogForwardingSumologic
Source§fn default() -> GatewayUpdateLogForwardingSumologic
fn default() -> GatewayUpdateLogForwardingSumologic
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewayUpdateLogForwardingSumologic
impl<'de> Deserialize<'de> for GatewayUpdateLogForwardingSumologic
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 GatewayUpdateLogForwardingSumologic
impl PartialEq for GatewayUpdateLogForwardingSumologic
Source§fn eq(&self, other: &GatewayUpdateLogForwardingSumologic) -> bool
fn eq(&self, other: &GatewayUpdateLogForwardingSumologic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GatewayUpdateLogForwardingSumologic
Auto Trait Implementations§
impl Freeze for GatewayUpdateLogForwardingSumologic
impl RefUnwindSafe for GatewayUpdateLogForwardingSumologic
impl Send for GatewayUpdateLogForwardingSumologic
impl Sync for GatewayUpdateLogForwardingSumologic
impl Unpin for GatewayUpdateLogForwardingSumologic
impl UnsafeUnpin for GatewayUpdateLogForwardingSumologic
impl UnwindSafe for GatewayUpdateLogForwardingSumologic
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