#[non_exhaustive]pub struct ConfigurationEvent {
pub resource_group_name: Option<String>,
pub account_id: Option<String>,
pub monitored_resource_arn: Option<String>,
pub event_status: Option<ConfigurationEventStatus>,
pub event_resource_type: Option<ConfigurationEventResourceType>,
pub event_time: Option<DateTime>,
pub event_detail: Option<String>,
pub event_resource_name: Option<String>,
}
Expand description
The event information.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.resource_group_name: Option<String>
The name of the resource group of the application to which the configuration event belongs.
account_id: Option<String>
The AWS account ID for the owner of the application to which the configuration event belongs.
monitored_resource_arn: Option<String>
The resource monitored by Application Insights.
event_status: Option<ConfigurationEventStatus>
The status of the configuration update event. Possible values include INFO, WARN, and ERROR.
event_resource_type: Option<ConfigurationEventResourceType>
The resource type that Application Insights attempted to configure, for example, CLOUDWATCH_ALARM.
event_time: Option<DateTime>
The timestamp of the event.
event_detail: Option<String>
The details of the event in plain text.
event_resource_name: Option<String>
The name of the resource Application Insights attempted to configure.
Implementations§
source§impl ConfigurationEvent
impl ConfigurationEvent
sourcepub fn resource_group_name(&self) -> Option<&str>
pub fn resource_group_name(&self) -> Option<&str>
The name of the resource group of the application to which the configuration event belongs.
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The AWS account ID for the owner of the application to which the configuration event belongs.
sourcepub fn monitored_resource_arn(&self) -> Option<&str>
pub fn monitored_resource_arn(&self) -> Option<&str>
The resource monitored by Application Insights.
sourcepub fn event_status(&self) -> Option<&ConfigurationEventStatus>
pub fn event_status(&self) -> Option<&ConfigurationEventStatus>
The status of the configuration update event. Possible values include INFO, WARN, and ERROR.
sourcepub fn event_resource_type(&self) -> Option<&ConfigurationEventResourceType>
pub fn event_resource_type(&self) -> Option<&ConfigurationEventResourceType>
The resource type that Application Insights attempted to configure, for example, CLOUDWATCH_ALARM.
sourcepub fn event_time(&self) -> Option<&DateTime>
pub fn event_time(&self) -> Option<&DateTime>
The timestamp of the event.
sourcepub fn event_detail(&self) -> Option<&str>
pub fn event_detail(&self) -> Option<&str>
The details of the event in plain text.
sourcepub fn event_resource_name(&self) -> Option<&str>
pub fn event_resource_name(&self) -> Option<&str>
The name of the resource Application Insights attempted to configure.
source§impl ConfigurationEvent
impl ConfigurationEvent
sourcepub fn builder() -> ConfigurationEventBuilder
pub fn builder() -> ConfigurationEventBuilder
Creates a new builder-style object to manufacture ConfigurationEvent
.
Trait Implementations§
source§impl Clone for ConfigurationEvent
impl Clone for ConfigurationEvent
source§fn clone(&self) -> ConfigurationEvent
fn clone(&self) -> ConfigurationEvent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConfigurationEvent
impl Debug for ConfigurationEvent
source§impl PartialEq for ConfigurationEvent
impl PartialEq for ConfigurationEvent
source§fn eq(&self, other: &ConfigurationEvent) -> bool
fn eq(&self, other: &ConfigurationEvent) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConfigurationEvent
Auto Trait Implementations§
impl Freeze for ConfigurationEvent
impl RefUnwindSafe for ConfigurationEvent
impl Send for ConfigurationEvent
impl Sync for ConfigurationEvent
impl Unpin for ConfigurationEvent
impl UnwindSafe for ConfigurationEvent
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more