Reference documentation and code samples for the Google Cloud VMware Engine V1 API class Google::Cloud::VmwareEngine::V1::AutoscalingSettings::AutoscalingPolicy.
Autoscaling policy describes the behavior of the autoscaling with respect to the resource utilization. The scale-out operation is initiated if the utilization exceeds ANY of the respective thresholds. The scale-in operation is initiated if the utilization is below ALL of the respective thresholds.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#consumed_memory_thresholds
def consumed_memory_thresholds() -> ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds
- (::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds) — Optional. Utilization thresholds pertaining to amount of consumed memory.
#consumed_memory_thresholds=
def consumed_memory_thresholds=(value) -> ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds
- value (::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds) — Optional. Utilization thresholds pertaining to amount of consumed memory.
- (::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds) — Optional. Utilization thresholds pertaining to amount of consumed memory.
#cpu_thresholds
def cpu_thresholds() -> ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds
- (::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds) — Optional. Utilization thresholds pertaining to CPU utilization.
#cpu_thresholds=
def cpu_thresholds=(value) -> ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds
- value (::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds) — Optional. Utilization thresholds pertaining to CPU utilization.
- (::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds) — Optional. Utilization thresholds pertaining to CPU utilization.
#granted_memory_thresholds
def granted_memory_thresholds() -> ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds
- (::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds) — Optional. Utilization thresholds pertaining to amount of granted memory.
#granted_memory_thresholds=
def granted_memory_thresholds=(value) -> ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds
- value (::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds) — Optional. Utilization thresholds pertaining to amount of granted memory.
- (::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds) — Optional. Utilization thresholds pertaining to amount of granted memory.
#node_type_id
def node_type_id() -> ::String
-
(::String) — Required. The canonical identifier of the node type to add or remove.
Corresponds to the
NodeType
.
#node_type_id=
def node_type_id=(value) -> ::String
-
value (::String) — Required. The canonical identifier of the node type to add or remove.
Corresponds to the
NodeType
.
-
(::String) — Required. The canonical identifier of the node type to add or remove.
Corresponds to the
NodeType
.
#scale_out_size
def scale_out_size() -> ::Integer
- (::Integer) — Required. Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters. During a scale-in operation only one node (or 2 for stretched clusters) are removed in a single iteration.
#scale_out_size=
def scale_out_size=(value) -> ::Integer
- value (::Integer) — Required. Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters. During a scale-in operation only one node (or 2 for stretched clusters) are removed in a single iteration.
- (::Integer) — Required. Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters. During a scale-in operation only one node (or 2 for stretched clusters) are removed in a single iteration.
#storage_thresholds
def storage_thresholds() -> ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds
- (::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds) — Optional. Utilization thresholds pertaining to amount of consumed storage.
#storage_thresholds=
def storage_thresholds=(value) -> ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds
- value (::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds) — Optional. Utilization thresholds pertaining to amount of consumed storage.
- (::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds) — Optional. Utilization thresholds pertaining to amount of consumed storage.