Enum google_api_proto::google::cloud::networkmanagement::v1::load_balancer_backend_info::HealthCheckFirewallsConfigState
source · #[repr(i32)]pub enum HealthCheckFirewallsConfigState {
Unspecified = 0,
FirewallsConfigured = 1,
FirewallsPartiallyConfigured = 2,
FirewallsNotConfigured = 3,
FirewallsUnsupported = 4,
}
Expand description
Health check firewalls configuration state enum.
Variants§
Unspecified = 0
Configuration state unspecified. It usually means that the backend has no health check attached, or there was an unexpected configuration error preventing Connectivity tests from verifying health check configuration.
FirewallsConfigured = 1
Firewall rules (policies) allowing health check traffic from all required IP ranges to the backend are configured.
FirewallsPartiallyConfigured = 2
Firewall rules (policies) allow health check traffic only from a part of required IP ranges.
FirewallsNotConfigured = 3
Firewall rules (policies) deny health check traffic from all required IP ranges to the backend.
FirewallsUnsupported = 4
The network contains firewall rules of unsupported types, so Connectivity tests were not able to verify health check configuration status. Please refer to the documentation for the list of unsupported configurations: https://cloud.google.com/network-intelligence-center/docs/connectivity-tests/concepts/overview#unsupported-configs
Implementations§
source§impl HealthCheckFirewallsConfigState
impl HealthCheckFirewallsConfigState
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of HealthCheckFirewallsConfigState
.
sourcepub fn from_i32(value: i32) -> Option<HealthCheckFirewallsConfigState>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<HealthCheckFirewallsConfigState>
Converts an i32
to a HealthCheckFirewallsConfigState
, or None
if value
is not a valid variant.
source§impl HealthCheckFirewallsConfigState
impl HealthCheckFirewallsConfigState
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 HealthCheckFirewallsConfigState
impl Clone for HealthCheckFirewallsConfigState
source§fn clone(&self) -> HealthCheckFirewallsConfigState
fn clone(&self) -> HealthCheckFirewallsConfigState
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for HealthCheckFirewallsConfigState
impl Default for HealthCheckFirewallsConfigState
source§fn default() -> HealthCheckFirewallsConfigState
fn default() -> HealthCheckFirewallsConfigState
source§impl From<HealthCheckFirewallsConfigState> for i32
impl From<HealthCheckFirewallsConfigState> for i32
source§fn from(value: HealthCheckFirewallsConfigState) -> i32
fn from(value: HealthCheckFirewallsConfigState) -> i32
source§impl Ord for HealthCheckFirewallsConfigState
impl Ord for HealthCheckFirewallsConfigState
source§fn cmp(&self, other: &HealthCheckFirewallsConfigState) -> Ordering
fn cmp(&self, other: &HealthCheckFirewallsConfigState) -> 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 HealthCheckFirewallsConfigState
impl PartialEq for HealthCheckFirewallsConfigState
source§fn eq(&self, other: &HealthCheckFirewallsConfigState) -> bool
fn eq(&self, other: &HealthCheckFirewallsConfigState) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for HealthCheckFirewallsConfigState
impl PartialOrd for HealthCheckFirewallsConfigState
source§fn partial_cmp(
&self,
other: &HealthCheckFirewallsConfigState,
) -> Option<Ordering>
fn partial_cmp( &self, other: &HealthCheckFirewallsConfigState, ) -> 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 HealthCheckFirewallsConfigState
impl TryFrom<i32> for HealthCheckFirewallsConfigState
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(
value: i32,
) -> Result<HealthCheckFirewallsConfigState, UnknownEnumValue>
fn try_from( value: i32, ) -> Result<HealthCheckFirewallsConfigState, UnknownEnumValue>
impl Copy for HealthCheckFirewallsConfigState
impl Eq for HealthCheckFirewallsConfigState
impl StructuralPartialEq for HealthCheckFirewallsConfigState
Auto Trait Implementations§
impl Freeze for HealthCheckFirewallsConfigState
impl RefUnwindSafe for HealthCheckFirewallsConfigState
impl Send for HealthCheckFirewallsConfigState
impl Sync for HealthCheckFirewallsConfigState
impl Unpin for HealthCheckFirewallsConfigState
impl UnwindSafe for HealthCheckFirewallsConfigState
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