Class: Google::Cloud::VmwareEngine::V1::AutoscalingSettings
- Inherits:
-
Object
- Object
- Google::Cloud::VmwareEngine::V1::AutoscalingSettings
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb
Overview
Autoscaling settings define the rules used by VMware Engine to automatically scale-out and scale-in the clusters in a private cloud.
Defined Under Namespace
Classes: AutoscalingPoliciesEntry, AutoscalingPolicy, Thresholds
Instance Attribute Summary collapse
-
#autoscaling_policies ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::AutoscalingPolicy}
Required.
-
#cool_down_period ⇒ ::Google::Protobuf::Duration
Optional.
-
#max_cluster_node_count ⇒ ::Integer
Optional.
-
#min_cluster_node_count ⇒ ::Integer
Optional.
Instance Attribute Details
#autoscaling_policies ⇒ ::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::AutoscalingPolicy}
Returns 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.
915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 |
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 915 class AutoscalingSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Thresholds define the utilization of resources triggering # scale-out and scale-in operations. # @!attribute [rw] scale_out # @return [::Integer] # Required. The utilization triggering the scale-out operation in percent. # @!attribute [rw] scale_in # @return [::Integer] # Required. The utilization triggering the scale-in operation in percent. class Thresholds include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # @!attribute [rw] node_type_id # @return [::String] # Required. The canonical identifier of the node type to add or remove. # Corresponds to the `NodeType`. # @!attribute [rw] scale_out_size # @return [::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. # @!attribute [rw] cpu_thresholds # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds] # Optional. Utilization thresholds pertaining to CPU utilization. # @!attribute [rw] granted_memory_thresholds # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds] # Optional. Utilization thresholds pertaining to amount of granted memory. # @!attribute [rw] consumed_memory_thresholds # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds] # Optional. Utilization thresholds pertaining to amount of consumed memory. # @!attribute [rw] storage_thresholds # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds] # Optional. Utilization thresholds pertaining to amount of consumed # storage. class AutoscalingPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::AutoscalingPolicy] class AutoscalingPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#cool_down_period ⇒ ::Google::Protobuf::Duration
Returns 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).
915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 |
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 915 class AutoscalingSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Thresholds define the utilization of resources triggering # scale-out and scale-in operations. # @!attribute [rw] scale_out # @return [::Integer] # Required. The utilization triggering the scale-out operation in percent. # @!attribute [rw] scale_in # @return [::Integer] # Required. The utilization triggering the scale-in operation in percent. class Thresholds include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # @!attribute [rw] node_type_id # @return [::String] # Required. The canonical identifier of the node type to add or remove. # Corresponds to the `NodeType`. # @!attribute [rw] scale_out_size # @return [::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. # @!attribute [rw] cpu_thresholds # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds] # Optional. Utilization thresholds pertaining to CPU utilization. # @!attribute [rw] granted_memory_thresholds # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds] # Optional. Utilization thresholds pertaining to amount of granted memory. # @!attribute [rw] consumed_memory_thresholds # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds] # Optional. Utilization thresholds pertaining to amount of consumed memory. # @!attribute [rw] storage_thresholds # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds] # Optional. Utilization thresholds pertaining to amount of consumed # storage. class AutoscalingPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::AutoscalingPolicy] class AutoscalingPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#max_cluster_node_count ⇒ ::Integer
Returns Optional. Maximum number of nodes of any type in a cluster. If not specified the default limits apply.
915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 |
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 915 class AutoscalingSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Thresholds define the utilization of resources triggering # scale-out and scale-in operations. # @!attribute [rw] scale_out # @return [::Integer] # Required. The utilization triggering the scale-out operation in percent. # @!attribute [rw] scale_in # @return [::Integer] # Required. The utilization triggering the scale-in operation in percent. class Thresholds include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # @!attribute [rw] node_type_id # @return [::String] # Required. The canonical identifier of the node type to add or remove. # Corresponds to the `NodeType`. # @!attribute [rw] scale_out_size # @return [::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. # @!attribute [rw] cpu_thresholds # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds] # Optional. Utilization thresholds pertaining to CPU utilization. # @!attribute [rw] granted_memory_thresholds # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds] # Optional. Utilization thresholds pertaining to amount of granted memory. # @!attribute [rw] consumed_memory_thresholds # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds] # Optional. Utilization thresholds pertaining to amount of consumed memory. # @!attribute [rw] storage_thresholds # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds] # Optional. Utilization thresholds pertaining to amount of consumed # storage. class AutoscalingPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::AutoscalingPolicy] class AutoscalingPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#min_cluster_node_count ⇒ ::Integer
Returns Optional. Minimum number of nodes of any type in a cluster. If not specified the default limits apply.
915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 |
# File 'proto_docs/google/cloud/vmwareengine/v1/vmwareengine_resources.rb', line 915 class AutoscalingSettings include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Thresholds define the utilization of resources triggering # scale-out and scale-in operations. # @!attribute [rw] scale_out # @return [::Integer] # Required. The utilization triggering the scale-out operation in percent. # @!attribute [rw] scale_in # @return [::Integer] # Required. The utilization triggering the scale-in operation in percent. class Thresholds include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # 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. # @!attribute [rw] node_type_id # @return [::String] # Required. The canonical identifier of the node type to add or remove. # Corresponds to the `NodeType`. # @!attribute [rw] scale_out_size # @return [::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. # @!attribute [rw] cpu_thresholds # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds] # Optional. Utilization thresholds pertaining to CPU utilization. # @!attribute [rw] granted_memory_thresholds # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds] # Optional. Utilization thresholds pertaining to amount of granted memory. # @!attribute [rw] consumed_memory_thresholds # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds] # Optional. Utilization thresholds pertaining to amount of consumed memory. # @!attribute [rw] storage_thresholds # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::Thresholds] # Optional. Utilization thresholds pertaining to amount of consumed # storage. class AutoscalingPolicy include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::Google::Cloud::VmwareEngine::V1::AutoscalingSettings::AutoscalingPolicy] class AutoscalingPoliciesEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |