public sealed class NetworkConfig : IMessage<NetworkConfig>, IEquatable<NetworkConfig>, IDeepCloneable<NetworkConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Managed Service for Apache Kafka API v1 API class NetworkConfig.
The configuration of a Virtual Private Cloud (VPC) network that can access the Kafka cluster.
Implements
IMessageNetworkConfig, IEquatableNetworkConfig, IDeepCloneableNetworkConfig, IBufferMessage, IMessageNamespace
Google.Cloud.ManagedKafka.V1Assembly
Google.Cloud.ManagedKafka.V1.dll
Constructors
NetworkConfig()
public NetworkConfig()
NetworkConfig(NetworkConfig)
public NetworkConfig(NetworkConfig other)
Parameter | |
---|---|
Name | Description |
other |
NetworkConfig |
Properties
Subnet
public string Subnet { get; set; }
Required. Name of the VPC subnet in which to create Private Service Connect (PSC) endpoints for the Kafka brokers and bootstrap address. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id}
The subnet must be located in the same region as the Kafka cluster. The project may differ. Multiple subnets from the same parent network must not be specified.
The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918.
Property Value | |
---|---|
Type | Description |
string |