pub struct GatewayUpdateLogForwardingAzureAnalytics {
pub enable: Option<String>,
pub enable_batch: Option<String>,
pub json: Option<bool>,
pub output_format: Option<String>,
pub pull_interval: Option<String>,
pub token: Option<String>,
pub uid_token: Option<String>,
pub workspace_id: Option<String>,
pub workspace_key: Option<String>,
}Expand description
GatewayUpdateLogForwardingAzureAnalytics : gatewayUpdateLogForwardingAzureAnalytics is a command that updates log forwarding config (azure-analytics target)
Fields§
§enable: Option<String>Enable Log Forwarding [true/false]
enable_batch: Option<String>Enable batch forwarding [true/false]
json: Option<bool>Set output format to JSON
output_format: Option<String>Logs format [text/json]
pull_interval: Option<String>Pull interval in seconds
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
workspace_id: Option<String>Azure workspace id
workspace_key: Option<String>Azure workspace key
Implementations§
Source§impl GatewayUpdateLogForwardingAzureAnalytics
impl GatewayUpdateLogForwardingAzureAnalytics
Sourcepub fn new() -> GatewayUpdateLogForwardingAzureAnalytics
pub fn new() -> GatewayUpdateLogForwardingAzureAnalytics
gatewayUpdateLogForwardingAzureAnalytics is a command that updates log forwarding config (azure-analytics target)
Trait Implementations§
Source§impl Clone for GatewayUpdateLogForwardingAzureAnalytics
impl Clone for GatewayUpdateLogForwardingAzureAnalytics
Source§fn clone(&self) -> GatewayUpdateLogForwardingAzureAnalytics
fn clone(&self) -> GatewayUpdateLogForwardingAzureAnalytics
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 GatewayUpdateLogForwardingAzureAnalytics
impl Default for GatewayUpdateLogForwardingAzureAnalytics
Source§fn default() -> GatewayUpdateLogForwardingAzureAnalytics
fn default() -> GatewayUpdateLogForwardingAzureAnalytics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GatewayUpdateLogForwardingAzureAnalytics
impl<'de> Deserialize<'de> for GatewayUpdateLogForwardingAzureAnalytics
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 GatewayUpdateLogForwardingAzureAnalytics
impl PartialEq for GatewayUpdateLogForwardingAzureAnalytics
Source§fn eq(&self, other: &GatewayUpdateLogForwardingAzureAnalytics) -> bool
fn eq(&self, other: &GatewayUpdateLogForwardingAzureAnalytics) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GatewayUpdateLogForwardingAzureAnalytics
Auto Trait Implementations§
impl Freeze for GatewayUpdateLogForwardingAzureAnalytics
impl RefUnwindSafe for GatewayUpdateLogForwardingAzureAnalytics
impl Send for GatewayUpdateLogForwardingAzureAnalytics
impl Sync for GatewayUpdateLogForwardingAzureAnalytics
impl Unpin for GatewayUpdateLogForwardingAzureAnalytics
impl UnsafeUnpin for GatewayUpdateLogForwardingAzureAnalytics
impl UnwindSafe for GatewayUpdateLogForwardingAzureAnalytics
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