#[repr(i32)]pub enum CheckerType {
Unspecified = 0,
StaticIpCheckers = 1,
VpcCheckers = 3,
}
Expand description
What kind of checkers are available to be used by the check.
Variants§
Unspecified = 0
The default checker type. Currently converted to STATIC_IP_CHECKERS
on creation, the default conversion behavior may change in the future.
StaticIpCheckers = 1
STATIC_IP_CHECKERS
are used for uptime checks that perform egress
across the public internet. STATIC_IP_CHECKERS
use the static IP
addresses returned by ListUptimeCheckIps
.
VpcCheckers = 3
VPC_CHECKERS
are used for uptime checks that perform egress using
Service Directory and private network access. When using VPC_CHECKERS
,
the monitored resource type must be servicedirectory_service
.
Implementations§
source§impl CheckerType
impl CheckerType
source§impl CheckerType
impl CheckerType
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Clone for CheckerType
impl Clone for CheckerType
source§fn clone(&self) -> CheckerType
fn clone(&self) -> CheckerType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CheckerType
impl Debug for CheckerType
source§impl Default for CheckerType
impl Default for CheckerType
source§fn default() -> CheckerType
fn default() -> CheckerType
source§impl From<CheckerType> for i32
impl From<CheckerType> for i32
source§fn from(value: CheckerType) -> i32
fn from(value: CheckerType) -> i32
source§impl Hash for CheckerType
impl Hash for CheckerType
source§impl Ord for CheckerType
impl Ord for CheckerType
source§fn cmp(&self, other: &CheckerType) -> Ordering
fn cmp(&self, other: &CheckerType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for CheckerType
impl PartialEq for CheckerType
source§fn eq(&self, other: &CheckerType) -> bool
fn eq(&self, other: &CheckerType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CheckerType
impl PartialOrd for CheckerType
source§fn partial_cmp(&self, other: &CheckerType) -> Option<Ordering>
fn partial_cmp(&self, other: &CheckerType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for CheckerType
impl TryFrom<i32> for CheckerType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<CheckerType, DecodeError>
fn try_from(value: i32) -> Result<CheckerType, DecodeError>
impl Copy for CheckerType
impl Eq for CheckerType
impl StructuralPartialEq for CheckerType
Auto Trait Implementations§
impl Freeze for CheckerType
impl RefUnwindSafe for CheckerType
impl Send for CheckerType
impl Sync for CheckerType
impl Unpin for CheckerType
impl UnwindSafe for CheckerType
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request