public sealed class VpnGatewayStatusVpnConnection : IMessage<VpnGatewayStatusVpnConnection>, IEquatable<VpnGatewayStatusVpnConnection>, IDeepCloneable<VpnGatewayStatusVpnConnection>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class VpnGatewayStatusVpnConnection.
A VPN connection contains all VPN tunnels connected from this VpnGateway to the same peer gateway. The peer gateway could either be an external VPN gateway or a Google Cloud VPN gateway.
Implements
IMessageVpnGatewayStatusVpnConnection, IEquatableVpnGatewayStatusVpnConnection, IDeepCloneableVpnGatewayStatusVpnConnection, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
VpnGatewayStatusVpnConnection()
public VpnGatewayStatusVpnConnection()
VpnGatewayStatusVpnConnection(VpnGatewayStatusVpnConnection)
public VpnGatewayStatusVpnConnection(VpnGatewayStatusVpnConnection other)
Parameter | |
---|---|
Name | Description |
other |
VpnGatewayStatusVpnConnection |
Properties
HasPeerExternalGateway
public bool HasPeerExternalGateway { get; }
Gets whether the "peer_external_gateway" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasPeerGcpGateway
public bool HasPeerGcpGateway { get; }
Gets whether the "peer_gcp_gateway" field is set
Property Value | |
---|---|
Type | Description |
bool |
PeerExternalGateway
public string PeerExternalGateway { get; set; }
URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.
Property Value | |
---|---|
Type | Description |
string |
PeerGcpGateway
public string PeerGcpGateway { get; set; }
URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway.
Property Value | |
---|---|
Type | Description |
string |
State
public VpnGatewayStatusHighAvailabilityRequirementState State { get; set; }
HighAvailabilityRequirementState for the VPN connection.
Property Value | |
---|---|
Type | Description |
VpnGatewayStatusHighAvailabilityRequirementState |
Tunnels
public RepeatedField<VpnGatewayStatusTunnel> Tunnels { get; }
List of VPN tunnels that are in this VPN connection.
Property Value | |
---|---|
Type | Description |
RepeatedFieldVpnGatewayStatusTunnel |