#[non_exhaustive]pub struct UpdateProbeInput {
pub monitor_name: Option<String>,
pub probe_id: Option<String>,
pub state: Option<ProbeState>,
pub destination: Option<String>,
pub destination_port: Option<i32>,
pub protocol: Option<Protocol>,
pub packet_size: Option<i32>,
}
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.monitor_name: Option<String>
The name of the monitor that the probe was updated for.
probe_id: Option<String>
Run GetMonitor
to get a list of probes and probe IDs.
state: Option<ProbeState>
The state of the probe update.
destination: Option<String>
The updated IP address for the probe destination. This must be either an IPv4 or IPv6 address.
destination_port: Option<i32>
The updated port for the probe destination. This is required only if the protocol
is TCP
and must be a number between 1
and 65536
.
protocol: Option<Protocol>
The updated network protocol for the destination. This can be either TCP
or ICMP
. If the protocol is TCP
, then port
is also required.
packet_size: Option<i32>
he updated packets size for network traffic between the source and destination. This must be a number between 56
and 8500
.
Implementations§
source§impl UpdateProbeInput
impl UpdateProbeInput
sourcepub fn monitor_name(&self) -> Option<&str>
pub fn monitor_name(&self) -> Option<&str>
The name of the monitor that the probe was updated for.
sourcepub fn state(&self) -> Option<&ProbeState>
pub fn state(&self) -> Option<&ProbeState>
The state of the probe update.
sourcepub fn destination(&self) -> Option<&str>
pub fn destination(&self) -> Option<&str>
The updated IP address for the probe destination. This must be either an IPv4 or IPv6 address.
sourcepub fn destination_port(&self) -> Option<i32>
pub fn destination_port(&self) -> Option<i32>
The updated port for the probe destination. This is required only if the protocol
is TCP
and must be a number between 1
and 65536
.
sourcepub fn protocol(&self) -> Option<&Protocol>
pub fn protocol(&self) -> Option<&Protocol>
The updated network protocol for the destination. This can be either TCP
or ICMP
. If the protocol is TCP
, then port
is also required.
sourcepub fn packet_size(&self) -> Option<i32>
pub fn packet_size(&self) -> Option<i32>
he updated packets size for network traffic between the source and destination. This must be a number between 56
and 8500
.
source§impl UpdateProbeInput
impl UpdateProbeInput
sourcepub fn builder() -> UpdateProbeInputBuilder
pub fn builder() -> UpdateProbeInputBuilder
Creates a new builder-style object to manufacture UpdateProbeInput
.
Trait Implementations§
source§impl Clone for UpdateProbeInput
impl Clone for UpdateProbeInput
source§fn clone(&self) -> UpdateProbeInput
fn clone(&self) -> UpdateProbeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateProbeInput
impl Debug for UpdateProbeInput
source§impl PartialEq for UpdateProbeInput
impl PartialEq for UpdateProbeInput
source§fn eq(&self, other: &UpdateProbeInput) -> bool
fn eq(&self, other: &UpdateProbeInput) -> bool
self
and other
values to be equal, and is used
by ==
.