Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class AutoscalingSettings.
Autoscaling settings define the rules used by VMware Engine to automatically scale-out and scale-in the clusters in a private cloud.
Generated from protobuf message google.cloud.vmwareengine.v1.AutoscalingSettings
Namespace
Google \ Cloud \ VmwareEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ autoscaling_policies
array| Google\Protobuf\Internal\MapField
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.
↳ min_cluster_node_count
int
Optional. Minimum number of nodes of any type in a cluster. If not specified the default limits apply.
↳ max_cluster_node_count
int
Optional. Maximum number of nodes of any type in a cluster. If not specified the default limits apply.
↳ cool_down_period
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).
getAutoscalingPolicies
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.
setAutoscalingPolicies
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.
$this
getMinClusterNodeCount
Optional. Minimum number of nodes of any type in a cluster.
If not specified the default limits apply.
int
setMinClusterNodeCount
Optional. Minimum number of nodes of any type in a cluster.
If not specified the default limits apply.
var
int
$this
getMaxClusterNodeCount
Optional. Maximum number of nodes of any type in a cluster.
If not specified the default limits apply.
int
setMaxClusterNodeCount
Optional. Maximum number of nodes of any type in a cluster.
If not specified the default limits apply.
var
int
$this
getCoolDownPeriod
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).
hasCoolDownPeriod
clearCoolDownPeriod
setCoolDownPeriod
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).
$this