Enum google_api_proto::google::cloud::compute::v1::vpn_tunnel::Status
source · #[repr(i32)]pub enum Status {
Show 14 variants
UndefinedStatus = 0,
AllocatingResources = 320_922_816,
AuthorizationError = 23_580_290,
Deprovisioning = 428_935_662,
Established = 88_852_344,
Failed = 455_706_685,
FirstHandshake = 191_393_000,
NegotiationFailure = 360_325_868,
NetworkError = 193_912_951,
NoIncomingPackets = 119_983_216,
Provisioning = 290_896_621,
Rejected = 174_130_302,
Stopped = 444_276_141,
WaitingForFullConfig = 41_640_522,
}
Expand description
[Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel.
Variants§
UndefinedStatus = 0
A value indicating that the enum field is not set.
AllocatingResources = 320_922_816
Cloud VPN is in the process of allocating all required resources (specifically, a borg task).
AuthorizationError = 23_580_290
Auth error (e.g. bad shared secret).
Deprovisioning = 428_935_662
Resources is being deallocated for the VPN tunnel.
Established = 88_852_344
Secure session is successfully established with peer VPN.
Failed = 455_706_685
Tunnel creation has failed and the tunnel is not ready to be used.
FirstHandshake = 191_393_000
Successful first handshake with peer VPN.
NegotiationFailure = 360_325_868
Handshake failed.
NetworkError = 193_912_951
Deprecated, replaced by NO_INCOMING_PACKETS
NoIncomingPackets = 119_983_216
No incoming packets from peer
Provisioning = 290_896_621
Resource is being allocated for the VPN tunnel.
Rejected = 174_130_302
Tunnel configuration was rejected, can be result of being denylisted.
Stopped = 444_276_141
Tunnel is stopped due to its Forwarding Rules being deleted.
WaitingForFullConfig = 41_640_522
Waiting to receive all VPN-related configs from user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule and Route resources are needed to setup VPN tunnel.
Implementations§
source§impl Status
impl Status
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 Ord for Status
impl Ord for Status
source§impl PartialEq for Status
impl PartialEq for Status
source§impl PartialOrd for Status
impl PartialOrd for Status
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 Status
impl TryFrom<i32> for Status
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
impl Copy for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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