Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::ResourcePool::AutoscalingSpec.
The min/max number of replicas allowed if enabling autoscaling
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#max_replica_count
def max_replica_count() -> ::Integer
Returns
- (::Integer) — Optional. max replicas in the node pool, must be ≥ replica_count and > min_replica_count or will throw error
#max_replica_count=
def max_replica_count=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. max replicas in the node pool, must be ≥ replica_count and > min_replica_count or will throw error
Returns
- (::Integer) — Optional. max replicas in the node pool, must be ≥ replica_count and > min_replica_count or will throw error
#min_replica_count
def min_replica_count() -> ::Integer
Returns
- (::Integer) — Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error
#min_replica_count=
def min_replica_count=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error
Returns
- (::Integer) — Optional. min replicas in the node pool, must be ≤ replica_count and < max_replica_count or will throw error