Resource: PrivateConnection
The PrivateConnection resource is used to establish private connectivity between Datastream and a customer's network.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "displayName": string, "state": enum ( |
Fields | |
---|---|
name |
Output only. The resource's name. |
createTime |
Output only. The create time of the resource. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The update time of the resource. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
labels |
Labels. An object containing a list of |
displayName |
Required. Display name. |
state |
Output only. The state of the Private Connection. |
error |
Output only. In case of error, the details of the error in a user-friendly format. |
vpcPeeringConfig |
VPC Peering Config. |
State
Private Connection state.
Enums | |
---|---|
STATE_UNSPECIFIED |
Unspecified state. |
CREATING |
The private connection is in creation state - creating resources. |
CREATED |
The private connection has been created with all of its resources. |
FAILED |
The private connection creation has failed. |
DELETING |
The private connection is being deleted. |
FAILED_TO_DELETE |
Delete request has failed, resource is in invalid state. |
VpcPeeringConfig
The VPC Peering configuration is used to create VPC peering between Datastream and the consumer's VPC.
JSON representation |
---|
{ "vpc": string, "subnet": string } |
Fields | |
---|---|
vpc |
Required. Fully qualified name of the VPC that Datastream will peer to. Format: |
subnet |
Required. A free subnet for peering. (CIDR of /29) |
Methods |
|
---|---|
|
Use this method to create a private connectivity configuration. |
|
Use this method to delete a private connectivity configuration. |
|
Use this method to get details about a private connectivity configuration. |
|
Use this method to list private connectivity configurations in a project and location. |