#[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 ==
.