Resource: VpnConnection
A VPN connection .
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "natGatewayIp": string, "bgpRoutingMode": enum ( |
Fields | |
---|---|
name |
Required. The resource name of VPN connection |
create |
Output only. The time when the VPN connection was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
update |
Output only. The time when the VPN connection was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Labels associated with this resource. An object containing a list of |
nat |
NAT gateway IP, or WAN IP address. If a customer has multiple NAT IPs, the customer needs to configure NAT such that only one external IP maps to the GMEC Anthos cluster. This is empty if NAT is not used. |
bgpRoutingMode |
Dynamic routing mode of the VPC network, |
cluster |
The canonical Cluster name to connect to. It is in the form of projects/{project}/locations/{location}/clusters/{cluster}. |
vpc |
The network ID of VPC to connect to. |
vpc |
Optional. Project detail of the VPC network. Required if VPC is in a different project than the cluster project. |
enable |
Whether this VPN connection has HA enabled on cluster side. If enabled, when creating VPN connection we will attempt to use 2 ANG floating IPs. |
router |
Optional. The VPN connection Cloud Router name. |
details |
Output only. The created connection details. |
BgpRoutingMode
Routing mode.
Enums | |
---|---|
BGP_ROUTING_MODE_UNSPECIFIED |
Unknown. |
REGIONAL |
Regional mode. |
GLOBAL |
Global mode. |
VpcProject
Project detail of the VPC network.
JSON representation |
---|
{ "projectId": string } |
Fields | |
---|---|
project |
The project of the VPC to connect to. If not specified, it is the same as the cluster project. |
Details
The created connection details.
JSON representation |
---|
{ "state": enum ( |
Fields | |
---|---|
state |
The state of this connection. |
error |
The error message. This is only populated when state=ERROR. |
cloud |
The Cloud Router info. |
cloud |
Each connection has multiple Cloud VPN gateways. |
State
The current connection state.
Enums | |
---|---|
STATE_UNSPECIFIED |
Unknown. |
STATE_CONNECTED |
Connected. |
STATE_CONNECTING |
Still connecting. |
STATE_ERROR |
Error occurred. |
CloudRouter
The Cloud Router info.
JSON representation |
---|
{ "name": string } |
Fields | |
---|---|
name |
The associated Cloud Router name. |
CloudVpn
The Cloud VPN info.
JSON representation |
---|
{ "gateway": string } |
Fields | |
---|---|
gateway |
The created Cloud VPN gateway name. |
Methods |
|
---|---|
|
Creates a new VPN connection in a given project and location. |
|
Deletes a single VPN connection. |
|
Gets details of a single VPN connection. |
|
Lists VPN connections in a given project and location. |