DataStream v1 API - Class VpcPeeringConfig (2.5.0)

public sealed class VpcPeeringConfig : IMessage<VpcPeeringConfig>, IEquatable<VpcPeeringConfig>, IDeepCloneable<VpcPeeringConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the DataStream v1 API class VpcPeeringConfig.

The VPC Peering configuration is used to create VPC peering between Datastream and the consumer's VPC.

Inheritance

object > VpcPeeringConfig

Namespace

Google.Cloud.Datastream.V1

Assembly

Google.Cloud.Datastream.V1.dll

Constructors

VpcPeeringConfig()

public VpcPeeringConfig()

VpcPeeringConfig(VpcPeeringConfig)

public VpcPeeringConfig(VpcPeeringConfig other)
Parameter
NameDescription
otherVpcPeeringConfig

Properties

Subnet

public string Subnet { get; set; }

Required. A free subnet for peering. (CIDR of /29)

Property Value
TypeDescription
string

Vpc

public string Vpc { get; set; }

Required. Fully qualified name of the VPC that Datastream will peer to. Format: projects/{project}/global/{networks}/{name}

Property Value
TypeDescription
string

VpcAsNetworksName

public NetworksName VpcAsNetworksName { get; set; }

NetworksName-typed view over the Vpc resource name property.

Property Value
TypeDescription
NetworksName