public sealed class DedicatedInfrastructure.Types.AutoscalingSpec : IMessage<DedicatedInfrastructure.Types.AutoscalingSpec>, IEquatable<DedicatedInfrastructure.Types.AutoscalingSpec>, IDeepCloneable<DedicatedInfrastructure.Types.AutoscalingSpec>, IBufferMessage, IMessageReference documentation and code samples for the Vector Search v1 API class DedicatedInfrastructure.Types.AutoscalingSpec.
Specification for autoscaling.
Implements
IMessageDedicatedInfrastructureTypesAutoscalingSpec, IEquatableDedicatedInfrastructureTypesAutoscalingSpec, IDeepCloneableDedicatedInfrastructureTypesAutoscalingSpec, IBufferMessage, IMessageNamespace
Google.Cloud.VectorSearch.V1Assembly
Google.Cloud.VectorSearch.V1.dll
Constructors
AutoscalingSpec()
public AutoscalingSpec()AutoscalingSpec(AutoscalingSpec)
public AutoscalingSpec(DedicatedInfrastructure.Types.AutoscalingSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
DedicatedInfrastructureTypesAutoscalingSpec |
Properties
MaxReplicaCount
public int MaxReplicaCount { get; set; }Optional. The maximum number of replicas. If not set or set to 0,
defaults to the greater of min_replica_count and 5. Must be >=
min_replica_count and <= 1000.
| Property Value | |
|---|---|
| Type | Description |
int |
|
MinReplicaCount
public int MinReplicaCount { get; set; }Optional. The minimum number of replicas. If not set or set to 0,
defaults to 2. Must be >= 2 and <= 1000.
| Property Value | |
|---|---|
| Type | Description |
int |
|