Google Cloud VMware Engine V1 API - Class Google::Cloud::VmwareEngine::V1::AutoscalingSettings::AutoscalingPolicy (v0.9.0)

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
Returns

#consumed_memory_thresholds=

def consumed_memory_thresholds=(value) -> ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds
Parameter
Returns

#cpu_thresholds

def cpu_thresholds() -> ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds
Returns

#cpu_thresholds=

def cpu_thresholds=(value) -> ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds
Parameter
Returns

#granted_memory_thresholds

def granted_memory_thresholds() -> ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds
Returns

#granted_memory_thresholds=

def granted_memory_thresholds=(value) -> ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds
Parameter
Returns

#node_type_id

def node_type_id() -> ::String
Returns
  • (::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
Parameter
  • value (::String) — Required. The canonical identifier of the node type to add or remove. Corresponds to the NodeType.
Returns
  • (::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
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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
Returns

#storage_thresholds=

def storage_thresholds=(value) -> ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds
Parameter
Returns