Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class SpotConfig.
SpotConfig has configuration info for Spot node.
Generated from protobuf message google.cloud.gkemulticloud.v1.SpotConfig
Namespace
Google \ Cloud \ GkeMultiCloud \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ instance_types |
array
Required. A list of instance types for creating spot node pool. |
getInstanceTypes
Required. A list of instance types for creating spot node pool.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setInstanceTypes
Required. A list of instance types for creating spot node pool.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|