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.
Parameters | |
---|---|
Name | Description |
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.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
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.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getMinClusterNodeCount
Optional. Minimum number of nodes of any type in a cluster.
If not specified the default limits apply.
Returns | |
---|---|
Type | Description |
int |
setMinClusterNodeCount
Optional. Minimum number of nodes of any type in a cluster.
If not specified the default limits apply.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getMaxClusterNodeCount
Optional. Maximum number of nodes of any type in a cluster.
If not specified the default limits apply.
Returns | |
---|---|
Type | Description |
int |
setMaxClusterNodeCount
Optional. Maximum number of nodes of any type in a cluster.
If not specified the default limits apply.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$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).
Returns | |
---|---|
Type | Description |
Google\Protobuf\Duration|null |
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).
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |