public sealed class CapacityConfig : IMessage<CapacityConfig>, IEquatable<CapacityConfig>, IDeepCloneable<CapacityConfig>, IBufferMessage, IMessageReference documentation and code samples for the Managed Service for Apache Kafka API v1 API class CapacityConfig.
A capacity configuration of a Kafka cluster.
Implements
IMessageCapacityConfig, IEquatableCapacityConfig, IDeepCloneableCapacityConfig, IBufferMessage, IMessageNamespace
Google.Cloud.ManagedKafka.V1Assembly
Google.Cloud.ManagedKafka.V1.dll
Constructors
CapacityConfig()
public CapacityConfig()CapacityConfig(CapacityConfig)
public CapacityConfig(CapacityConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
CapacityConfig |
Properties
MemoryBytes
public long MemoryBytes { get; set; }Required. The memory to provision for the cluster in bytes. The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB).
| Property Value | |
|---|---|
| Type | Description |
long |
|
VcpuCount
public long VcpuCount { get; set; }Required. The number of vCPUs to provision for the cluster. Minimum: 3.
| Property Value | |
|---|---|
| Type | Description |
long |
|