Google Anthos Multi Cloud V1 Client - Class AzureK8sVersionInfo (1.1.1)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AzureK8sVersionInfo.

Kubernetes version information of GKE cluster on Azure.

Generated from protobuf message google.cloud.gkemulticloud.v1.AzureK8sVersionInfo

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ version string

Kubernetes version name (for example, 1.19.10-gke.1000)

↳ enabled bool

Optional. True if the version is available for cluster creation. If a version is enabled for creation, it can be used to create new clusters. Otherwise, cluster creation will fail. However, cluster upgrade operations may succeed, even if the version is not enabled.

↳ end_of_life bool

Optional. True if this cluster version belongs to a minor version that has reached its end of life and is no longer in scope to receive security and bug fixes.

↳ end_of_life_date Google\Type\Date

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

↳ release_date Google\Type\Date

Optional. The date (in Pacific Time) when the cluster version was released.

getVersion

Kubernetes version name (for example, 1.19.10-gke.1000)

Returns
Type Description
string

setVersion

Kubernetes version name (for example, 1.19.10-gke.1000)

Parameter
Name Description
var string
Returns
Type Description
$this

getEnabled

Optional. True if the version is available for cluster creation. If a version is enabled for creation, it can be used to create new clusters.

Otherwise, cluster creation will fail. However, cluster upgrade operations may succeed, even if the version is not enabled.

Returns
Type Description
bool

setEnabled

Optional. True if the version is available for cluster creation. If a version is enabled for creation, it can be used to create new clusters.

Otherwise, cluster creation will fail. However, cluster upgrade operations may succeed, even if the version is not enabled.

Parameter
Name Description
var bool
Returns
Type Description
$this

getEndOfLife

Optional. True if this cluster version belongs to a minor version that has reached its end of life and is no longer in scope to receive security and bug fixes.

Returns
Type Description
bool

setEndOfLife

Optional. True if this cluster version belongs to a minor version that has reached its end of life and is no longer in scope to receive security and bug fixes.

Parameter
Name Description
var bool
Returns
Type Description
$this

getEndOfLifeDate

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

Returns
Type Description
Google\Type\Date|null

hasEndOfLifeDate

clearEndOfLifeDate

setEndOfLifeDate

Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the end_of_life field is true), this is the actual date (in Pacific time) when the version reached its end of life.

Parameter
Name Description
var Google\Type\Date
Returns
Type Description
$this

getReleaseDate

Optional. The date (in Pacific Time) when the cluster version was released.

Returns
Type Description
Google\Type\Date|null

hasReleaseDate

clearReleaseDate

setReleaseDate

Optional. The date (in Pacific Time) when the cluster version was released.

Parameter
Name Description
var Google\Type\Date
Returns
Type Description
$this