#[non_exhaustive]pub enum HealthCheckFirewallState {
Unspecified,
Configured,
Misconfigured,
UnknownValue(UnknownValue),
}Expand description
State of a health check firewall configuration:
§Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Unspecified
State is unspecified. Default state if not populated.
Configured
There are configured firewall rules to allow health check probes to the backend.
Misconfigured
There are firewall rules configured to allow partial health check ranges or block all health check ranges. If a health check probe is sent from denied IP ranges, the health check to the backend will fail. Then, the backend will be marked unhealthy and will not receive traffic sent to the load balancer.
UnknownValue(UnknownValue)
If set, the enum was initialized with an unknown value.
Applications can examine the value using HealthCheckFirewallState::value or HealthCheckFirewallState::name.
Implementations§
Trait Implementations§
Source§impl Clone for HealthCheckFirewallState
impl Clone for HealthCheckFirewallState
Source§fn clone(&self) -> HealthCheckFirewallState
fn clone(&self) -> HealthCheckFirewallState
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for HealthCheckFirewallState
impl Debug for HealthCheckFirewallState
Source§impl Default for HealthCheckFirewallState
impl Default for HealthCheckFirewallState
Source§impl<'de> Deserialize<'de> for HealthCheckFirewallState
impl<'de> Deserialize<'de> for HealthCheckFirewallState
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Source§impl Display for HealthCheckFirewallState
impl Display for HealthCheckFirewallState
Source§impl From<&str> for HealthCheckFirewallState
impl From<&str> for HealthCheckFirewallState
Source§impl From<i32> for HealthCheckFirewallState
impl From<i32> for HealthCheckFirewallState
Source§impl PartialEq for HealthCheckFirewallState
impl PartialEq for HealthCheckFirewallState
Source§fn eq(&self, other: &HealthCheckFirewallState) -> bool
fn eq(&self, other: &HealthCheckFirewallState) -> bool
self and other values to be equal, and is used by ==.