Reference documentation and code samples for the Cloud Spanner Instance Admin V1 API class Google::Cloud::Spanner::Admin::Instance::V1::AutoscalingConfig::AutoscalingTargets.
The autoscaling targets for an instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#high_priority_cpu_utilization_percent
def high_priority_cpu_utilization_percent() -> ::Integer
Returns
- (::Integer) — Optional. The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive. If not specified or set to 0, the autoscaler skips scaling based on high priority CPU utilization.
#high_priority_cpu_utilization_percent=
def high_priority_cpu_utilization_percent=(value) -> ::Integer
Parameter
- value (::Integer) — Optional. The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive. If not specified or set to 0, the autoscaler skips scaling based on high priority CPU utilization.
Returns
- (::Integer) — Optional. The target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 90] inclusive. If not specified or set to 0, the autoscaler skips scaling based on high priority CPU utilization.
#storage_utilization_percent
def storage_utilization_percent() -> ::Integer
Returns
- (::Integer) — Required. The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 99] inclusive.
#storage_utilization_percent=
def storage_utilization_percent=(value) -> ::Integer
Parameter
- value (::Integer) — Required. The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 99] inclusive.
Returns
- (::Integer) — Required. The target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization). The valid range is [10, 99] inclusive.
#total_cpu_utilization_percent
def total_cpu_utilization_percent() -> ::Integer
Returns
-
(::Integer) — Optional. The target total CPU utilization percentage that the autoscaler
should be trying to achieve for the instance. This number is on a scale
from 0 (no utilization) to 100 (full utilization). The valid range is
[10, 90] inclusive. If not specified or set to 0, the autoscaler skips
scaling based on total CPU utilization. If both
high_priority_cpu_utilization_percentandtotal_cpu_utilization_percentare specified, the autoscaler provisions the larger of the two required compute capacities to satisfy both targets.
#total_cpu_utilization_percent=
def total_cpu_utilization_percent=(value) -> ::Integer
Parameter
-
value (::Integer) — Optional. The target total CPU utilization percentage that the autoscaler
should be trying to achieve for the instance. This number is on a scale
from 0 (no utilization) to 100 (full utilization). The valid range is
[10, 90] inclusive. If not specified or set to 0, the autoscaler skips
scaling based on total CPU utilization. If both
high_priority_cpu_utilization_percentandtotal_cpu_utilization_percentare specified, the autoscaler provisions the larger of the two required compute capacities to satisfy both targets.
Returns
-
(::Integer) — Optional. The target total CPU utilization percentage that the autoscaler
should be trying to achieve for the instance. This number is on a scale
from 0 (no utilization) to 100 (full utilization). The valid range is
[10, 90] inclusive. If not specified or set to 0, the autoscaler skips
scaling based on total CPU utilization. If both
high_priority_cpu_utilization_percentandtotal_cpu_utilization_percentare specified, the autoscaler provisions the larger of the two required compute capacities to satisfy both targets.