Reference documentation and code samples for the Google Cloud Container V1 Client class BlueGreenInfo.
Information relevant to blue-green upgrade.
Generated from protobuf message google.container.v1.NodePool.UpdateInfo.BlueGreenInfo
Namespace
Google \ Cloud \ Container \ V1 \ NodePool \ UpdateInfoMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ phase |
int
Current blue-green upgrade phase. |
↳ blue_instance_group_urls |
array
The resource URLs of the managed instance groups associated with blue pool. |
↳ green_instance_group_urls |
array
The resource URLs of the managed instance groups associated with green pool. |
↳ blue_pool_deletion_start_time |
string
Time to start deleting blue pool to complete blue-green upgrade, in RFC3339 text format. |
↳ green_pool_version |
string
Version of green pool. |
getPhase
Current blue-green upgrade phase.
Returns | |
---|---|
Type | Description |
int |
setPhase
Current blue-green upgrade phase.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getBlueInstanceGroupUrls
The resource URLs of the managed instance groups associated with blue pool.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setBlueInstanceGroupUrls
The resource URLs of the managed instance groups associated with blue pool.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getGreenInstanceGroupUrls
The resource URLs of the managed instance groups associated with green pool.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setGreenInstanceGroupUrls
The resource URLs of the managed instance groups associated with green pool.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getBluePoolDeletionStartTime
Time to start deleting blue pool to complete blue-green upgrade, in RFC3339 text format.
Returns | |
---|---|
Type | Description |
string |
setBluePoolDeletionStartTime
Time to start deleting blue pool to complete blue-green upgrade, in RFC3339 text format.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getGreenPoolVersion
Version of green pool.
Returns | |
---|---|
Type | Description |
string |
setGreenPoolVersion
Version of green pool.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |