Reference documentation and code samples for the Compute V1 Client class Status.
[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.
Protobuf type google.cloud.compute.v1.VpnTunnel.Status
Namespace
Google \ Cloud \ Compute \ V1 \ VpnTunnelMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
UNDEFINED_STATUS
Value: 0
A value indicating that the enum field is not set.
Generated from protobuf enum UNDEFINED_STATUS = 0;
ALLOCATING_RESOURCES
Value: 320922816
Cloud VPN is in the process of allocating all required resources (specifically, a borg task).
Generated from protobuf enum ALLOCATING_RESOURCES = 320922816;
AUTHORIZATION_ERROR
Value: 23580290
Auth error (e.g. bad shared secret).
Generated from protobuf enum AUTHORIZATION_ERROR = 23580290;
DEPROVISIONING
Value: 428935662
Resources is being deallocated for the VPN tunnel.
Generated from protobuf enum DEPROVISIONING = 428935662;
ESTABLISHED
Value: 88852344
Secure session is successfully established with peer VPN.
Generated from protobuf enum ESTABLISHED = 88852344;
FAILED
Value: 455706685
Tunnel creation has failed and the tunnel is not ready to be used.
Generated from protobuf enum FAILED = 455706685;
FIRST_HANDSHAKE
Value: 191393000
Successful first handshake with peer VPN.
Generated from protobuf enum FIRST_HANDSHAKE = 191393000;
NEGOTIATION_FAILURE
Value: 360325868
Handshake failed.
Generated from protobuf enum NEGOTIATION_FAILURE = 360325868;
NETWORK_ERROR
Value: 193912951
Deprecated, replaced by NO_INCOMING_PACKETS
Generated from protobuf enum NETWORK_ERROR = 193912951;
NO_INCOMING_PACKETS
Value: 119983216
No incoming packets from peer
Generated from protobuf enum NO_INCOMING_PACKETS = 119983216;
PROVISIONING
Value: 290896621
Resource is being allocated for the VPN tunnel.
Generated from protobuf enum PROVISIONING = 290896621;
REJECTED
Value: 174130302
Tunnel configuration was rejected, can be result of being denylisted.
Generated from protobuf enum REJECTED = 174130302;
STOPPED
Value: 444276141
Tunnel is stopped due to its Forwarding Rules being deleted.
Generated from protobuf enum STOPPED = 444276141;
WAITING_FOR_FULL_CONFIG
Value: 41640522
Waiting to receive all VPN-related configs from user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule and Route resources are needed to setup VPN tunnel.
Generated from protobuf enum WAITING_FOR_FULL_CONFIG = 41640522;