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.
Implements
IMessage<VpcPeeringConfig>, IEquatable<VpcPeeringConfig>, IDeepCloneable<VpcPeeringConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.Datastream.V1Assembly
Google.Cloud.Datastream.V1.dll
Constructors
VpcPeeringConfig()
public VpcPeeringConfig()
VpcPeeringConfig(VpcPeeringConfig)
public VpcPeeringConfig(VpcPeeringConfig other)
Parameter | |
---|---|
Name | Description |
other | VpcPeeringConfig |
Properties
Subnet
public string Subnet { get; set; }
Required. A free subnet for peering. (CIDR of /29)
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
VpcAsNetworksName
public NetworksName VpcAsNetworksName { get; set; }
NetworksName-typed view over the Vpc resource name property.
Property Value | |
---|---|
Type | Description |
NetworksName |