Struct aws_sdk_applicationdiscovery::types::AgentInfo
source · #[non_exhaustive]pub struct AgentInfo {
pub agent_id: Option<String>,
pub host_name: Option<String>,
pub agent_network_info_list: Option<Vec<AgentNetworkInfo>>,
pub connector_id: Option<String>,
pub version: Option<String>,
pub health: Option<AgentStatus>,
pub last_health_ping_time: Option<String>,
pub collection_status: Option<String>,
pub agent_type: Option<String>,
pub registered_time: Option<String>,
}
Expand description
Information about agents associated with the user’s Amazon Web Services account. Information includes agent IDs, IP addresses, media access control (MAC) addresses, agent or collector status, hostname where the agent resides, and agent version for each agent.
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.agent_id: Option<String>
The agent or collector ID.
host_name: Option<String>
The name of the host where the agent or collector resides. The host can be a server or virtual machine.
agent_network_info_list: Option<Vec<AgentNetworkInfo>>
Network details about the host where the agent or collector resides.
connector_id: Option<String>
The ID of the connector.
version: Option<String>
The agent or collector version.
health: Option<AgentStatus>
The health of the agent.
last_health_ping_time: Option<String>
Time since agent health was reported.
collection_status: Option<String>
Status of the collection process for an agent.
agent_type: Option<String>
Type of agent.
registered_time: Option<String>
Agent's first registration timestamp in UTC.
Implementations§
source§impl AgentInfo
impl AgentInfo
sourcepub fn host_name(&self) -> Option<&str>
pub fn host_name(&self) -> Option<&str>
The name of the host where the agent or collector resides. The host can be a server or virtual machine.
sourcepub fn agent_network_info_list(&self) -> &[AgentNetworkInfo]
pub fn agent_network_info_list(&self) -> &[AgentNetworkInfo]
Network details about the host where the agent or collector resides.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .agent_network_info_list.is_none()
.
sourcepub fn connector_id(&self) -> Option<&str>
pub fn connector_id(&self) -> Option<&str>
The ID of the connector.
sourcepub fn health(&self) -> Option<&AgentStatus>
pub fn health(&self) -> Option<&AgentStatus>
The health of the agent.
sourcepub fn last_health_ping_time(&self) -> Option<&str>
pub fn last_health_ping_time(&self) -> Option<&str>
Time since agent health was reported.
sourcepub fn collection_status(&self) -> Option<&str>
pub fn collection_status(&self) -> Option<&str>
Status of the collection process for an agent.
sourcepub fn agent_type(&self) -> Option<&str>
pub fn agent_type(&self) -> Option<&str>
Type of agent.
sourcepub fn registered_time(&self) -> Option<&str>
pub fn registered_time(&self) -> Option<&str>
Agent's first registration timestamp in UTC.
Trait Implementations§
source§impl PartialEq for AgentInfo
impl PartialEq for AgentInfo
impl StructuralPartialEq for AgentInfo
Auto Trait Implementations§
impl Freeze for AgentInfo
impl RefUnwindSafe for AgentInfo
impl Send for AgentInfo
impl Sync for AgentInfo
impl Unpin for AgentInfo
impl UnwindSafe for AgentInfo
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