Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class Thresholds.
Thresholds define the utilization of resources triggering scale-out and scale-in operations.
Generated from protobuf message google.cloud.vmwareengine.v1.AutoscalingSettings.Thresholds
Namespace
Google \ Cloud \ VmwareEngine \ V1 \ AutoscalingSettingsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ scale_out |
int
Required. The utilization triggering the scale-out operation in percent. |
↳ scale_in |
int
Required. The utilization triggering the scale-in operation in percent. |
getScaleOut
Required. The utilization triggering the scale-out operation in percent.
| Returns | |
|---|---|
| Type | Description |
int |
|
setScaleOut
Required. The utilization triggering the scale-out operation in percent.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getScaleIn
Required. The utilization triggering the scale-in operation in percent.
| Returns | |
|---|---|
| Type | Description |
int |
|
setScaleIn
Required. The utilization triggering the scale-in operation in percent.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|