Struct aws_sdk_applicationdiscovery::model::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 or connectors associated with the user’s AWS account. Information includes agent or connector IDs, IP addresses, media access control (MAC) addresses, agent or connector health, hostname where the agent or connector 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 connector ID.
host_name: Option<String>The name of the host where the agent or connector 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 connector resides.
connector_id: Option<String>The ID of the connector.
version: Option<String>The agent or connector version.
health: Option<AgentStatus>The health of the agent or connector.
last_health_ping_time: Option<String>Time since agent or connector health was reported.
collection_status: Option<String>Status of the collection process for an agent or connector.
agent_type: Option<String>Type of agent.
registered_time: Option<String>Agent's first registration timestamp in UTC.
Implementations
sourceimpl 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 connector resides. The host can be a server or virtual machine.
sourcepub fn agent_network_info_list(&self) -> Option<&[AgentNetworkInfo]>
pub fn agent_network_info_list(&self) -> Option<&[AgentNetworkInfo]>
Network details about the host where the agent or connector resides.
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 or connector.
sourcepub fn last_health_ping_time(&self) -> Option<&str>
pub fn last_health_ping_time(&self) -> Option<&str>
Time since agent or connector 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 or connector.
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
impl StructuralPartialEq for AgentInfo
Auto Trait Implementations
impl RefUnwindSafe for AgentInfo
impl Send for AgentInfo
impl Sync for AgentInfo
impl Unpin for AgentInfo
impl UnwindSafe for AgentInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more