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

Reference documentation and code samples for the Google Cloud VMware Engine V1 API class Google::Cloud::VmwareEngine::V1::AutoscalingSettings.

Autoscaling settings define the rules used by VMware Engine to automatically scale-out and scale-in the clusters in a private cloud.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#autoscaling_policies

def autoscaling_policies() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::AutoscalingPolicy}
Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::AutoscalingPolicy}) — Required. The map with autoscaling policies applied to the cluster. The key is the identifier of the policy. It must meet the following requirements:

    • Only contains 1-63 alphanumeric characters and hyphens
    • Begins with an alphabetical character
    • Ends with a non-hyphen character
    • Not formatted as a UUID
    • Complies with RFC 1034 (section 3.5)

    Currently there map must contain only one element that describes the autoscaling policy for compute nodes.

#autoscaling_policies=

def autoscaling_policies=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::AutoscalingPolicy}
Parameter
  • value (::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::AutoscalingPolicy}) — Required. The map with autoscaling policies applied to the cluster. The key is the identifier of the policy. It must meet the following requirements:

    • Only contains 1-63 alphanumeric characters and hyphens
    • Begins with an alphabetical character
    • Ends with a non-hyphen character
    • Not formatted as a UUID
    • Complies with RFC 1034 (section 3.5)

    Currently there map must contain only one element that describes the autoscaling policy for compute nodes.

Returns
  • (::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::AutoscalingPolicy}) — Required. The map with autoscaling policies applied to the cluster. The key is the identifier of the policy. It must meet the following requirements:

    • Only contains 1-63 alphanumeric characters and hyphens
    • Begins with an alphabetical character
    • Ends with a non-hyphen character
    • Not formatted as a UUID
    • Complies with RFC 1034 (section 3.5)

    Currently there map must contain only one element that describes the autoscaling policy for compute nodes.

#cool_down_period

def cool_down_period() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — Optional. The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Defaults to 30 minutes if not specified. Cool down period must be in whole minutes (for example, 30, 31, 50, 180 minutes).

#cool_down_period=

def cool_down_period=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — Optional. The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Defaults to 30 minutes if not specified. Cool down period must be in whole minutes (for example, 30, 31, 50, 180 minutes).
Returns
  • (::Google::Protobuf::Duration) — Optional. The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Defaults to 30 minutes if not specified. Cool down period must be in whole minutes (for example, 30, 31, 50, 180 minutes).

#max_cluster_node_count

def max_cluster_node_count() -> ::Integer
Returns
  • (::Integer) — Optional. Maximum number of nodes of any type in a cluster. If not specified the default limits apply.

#max_cluster_node_count=

def max_cluster_node_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Maximum number of nodes of any type in a cluster. If not specified the default limits apply.
Returns
  • (::Integer) — Optional. Maximum number of nodes of any type in a cluster. If not specified the default limits apply.

#min_cluster_node_count

def min_cluster_node_count() -> ::Integer
Returns
  • (::Integer) — Optional. Minimum number of nodes of any type in a cluster. If not specified the default limits apply.

#min_cluster_node_count=

def min_cluster_node_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Minimum number of nodes of any type in a cluster. If not specified the default limits apply.
Returns
  • (::Integer) — Optional. Minimum number of nodes of any type in a cluster. If not specified the default limits apply.