REST Resource: projects.locations.privateConnections

Resource: PrivateConnection

Private connection resource that provides connectivity for VMware Engine private clouds.

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "description": string,
  "state": enum (State),
  "vmwareEngineNetwork": string,
  "vmwareEngineNetworkCanonical": string,
  "type": enum (Type),
  "peeringId": string,
  "routingMode": enum (RoutingMode),
  "uid": string,
  "serviceNetwork": string,
  "peeringState": enum (PeeringState)
}
Fields
name

string

Output only. The resource name of the private connection. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/privateConnections/my-connection

createTime

string (Timestamp format)

Output only. Creation time of this resource.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. Last update time of this resource.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

description

string

Optional. User-provided description for this private connection.

state

enum (State)

Output only. State of the private connection.

vmwareEngineNetwork

string

Required. The relative resource name of Legacy VMware Engine network. Specify the name in the following form: projects/{project}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId} where {project}, {location} will be same as specified in private connection resource name and {vmwareEngineNetworkId} will be in the form of {location}-default e.g. projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default.

vmwareEngineNetworkCanonical

string

Output only. The canonical name of the VMware Engine network in the form: projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmwareEngineNetworkId}

type

enum (Type)

Required. Private connection type.

peeringId

string

Output only. VPC network peering id between given network VPC and VMwareEngineNetwork.

routingMode

enum (RoutingMode)

Optional. Routing Mode. Default value is set to GLOBAL. For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or REGIONAL, for other types only GLOBAL is supported.

uid

string

Output only. System-generated unique identifier for the resource.

serviceNetwork

string

Required. Service network to create private connection. Specify the name in the following form: projects/{project}/global/networks/{network_id} For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking VPC, e.g. projects/project-tp/global/networks/servicenetworking. For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g. projects/project-tp/global/networks/netapp-tenant-vpc. For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g. projects/project-tp/global/networks/dell-tenant-vpc. For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other producer VPC to which the VMware Engine Network needs to be connected, e.g. projects/project/global/networks/vpc.

peeringState

enum (PeeringState)

Output only. Peering state between service network and VMware Engine network.

State

Enum State defines possible states of private connection.

Enums
STATE_UNSPECIFIED The default value. This value is used if the state is omitted.
CREATING The private connection is being created.
ACTIVE The private connection is ready.
UPDATING The private connection is being updated.
DELETING The private connection is being deleted.
UNPROVISIONED The private connection is not provisioned, since no private cloud is present for which this private connection is needed.
FAILED The private connection is in failed state.

Type

Enum Type defines possible types of private connection.

Enums
TYPE_UNSPECIFIED The default value. This value should never be used.
PRIVATE_SERVICE_ACCESS Connection used for establishing private services access.
NETAPP_CLOUD_VOLUMES Connection used for connecting to NetApp Cloud Volumes.
DELL_POWERSCALE Connection used for connecting to Dell PowerScale.
THIRD_PARTY_SERVICE Connection used for connecting to third-party services.

RoutingMode

Possible types for RoutingMode

Enums
ROUTING_MODE_UNSPECIFIED The default value. This value should never be used.
GLOBAL Global Routing Mode
REGIONAL Regional Routing Mode

PeeringState

Enum PeeringState defines the possible states of peering between service network and the vpc network peered to service network

Enums
PEERING_STATE_UNSPECIFIED The default value. This value is used if the peering state is omitted or unknown.
PEERING_ACTIVE The peering is in active state.
PEERING_INACTIVE The peering is in inactive state.

Methods

create

Creates a new private connection that can be used for accessing private Clouds.

delete

Deletes a PrivateConnection resource.

get

Retrieves a PrivateConnection resource by its resource name.

list

Lists PrivateConnection resources in a given project and location.

patch

Modifies a PrivateConnection resource.