pub struct EnableServerAuditingProperties {
pub state: String,
pub storage_endpoint: Option<String>,
pub storage_account_access_key: Option<String>,
pub is_azure_monitor_target_enabled: Option<bool>,
pub retention_days: Option<u32>,
}Expand description
Properties for enabling server auditing.
Fields§
§state: StringMust be "Enabled".
storage_endpoint: Option<String>The blob storage endpoint (e.g. https://myaccount.blob.core.windows.net).
Required when the server already has blob-storage auditing configured.
storage_account_access_key: Option<String>Primary access key for the storage account. Required when storage_endpoint is set.
is_azure_monitor_target_enabled: Option<bool>Enable Azure Monitor as the audit log destination.
retention_days: Option<u32>Days to retain audit logs in the storage account. 0 = unlimited.
Trait Implementations§
Source§impl Clone for EnableServerAuditingProperties
impl Clone for EnableServerAuditingProperties
Source§fn clone(&self) -> EnableServerAuditingProperties
fn clone(&self) -> EnableServerAuditingProperties
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for EnableServerAuditingProperties
impl<'de> Deserialize<'de> for EnableServerAuditingProperties
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
Auto Trait Implementations§
impl Freeze for EnableServerAuditingProperties
impl RefUnwindSafe for EnableServerAuditingProperties
impl Send for EnableServerAuditingProperties
impl Sync for EnableServerAuditingProperties
impl Unpin for EnableServerAuditingProperties
impl UnsafeUnpin for EnableServerAuditingProperties
impl UnwindSafe for EnableServerAuditingProperties
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