Google Anthos Multi Cloud V1 Client - Class AzureNodePool (0.2.3)

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

An Anthos node pool running on Azure.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

The name of this resource. Node pool names are formatted as projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>. For more details on Google Cloud resource names, see Resource Names

↳ version string

Required. The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.

↳ config Google\Cloud\GkeMultiCloud\V1\AzureNodeConfig

Required. The node configuration of the node pool.

↳ subnet_id string

Required. The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.

↳ autoscaling Google\Cloud\GkeMultiCloud\V1\AzureNodePoolAutoscaling

Required. Autoscaler configuration for this node pool.

↳ state int

Output only. The current state of the node pool.

↳ uid string

Output only. A globally unique identifier for the node pool.

↳ reconciling bool

Output only. If set, there are currently pending changes to the node pool.

↳ create_time Google\Protobuf\Timestamp

Output only. The time at which this node pool was created.

↳ update_time Google\Protobuf\Timestamp

Output only. The time at which this node pool was last updated.

↳ etag string

Allows clients to perform consistent read-modify-writes through optimistic concurrency control. Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

↳ annotations array|Google\Protobuf\Internal\MapField

Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

↳ max_pods_constraint Google\Cloud\GkeMultiCloud\V1\MaxPodsConstraint

Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.

↳ azure_availability_zone string

Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to 1.

↳ errors array<Google\Cloud\GkeMultiCloud\V1\AzureNodePoolError>

Output only. A set of errors found in the node pool.

getName

The name of this resource.

Node pool names are formatted as projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>. For more details on Google Cloud resource names, see Resource Names

Returns
TypeDescription
string

setName

The name of this resource.

Node pool names are formatted as projects/<project-number>/locations/<region>/azureClusters/<cluster-id>/azureNodePools/<node-pool-id>. For more details on Google Cloud resource names, see Resource Names

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVersion

Required. The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.

Returns
TypeDescription
string

setVersion

Required. The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getConfig

Required. The node configuration of the node pool.

Returns
TypeDescription
Google\Cloud\GkeMultiCloud\V1\AzureNodeConfig|null

hasConfig

clearConfig

setConfig

Required. The node configuration of the node pool.

Parameter
NameDescription
var Google\Cloud\GkeMultiCloud\V1\AzureNodeConfig
Returns
TypeDescription
$this

getSubnetId

Required. The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.

Returns
TypeDescription
string

setSubnetId

Required. The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAutoscaling

Required. Autoscaler configuration for this node pool.

Returns
TypeDescription
Google\Cloud\GkeMultiCloud\V1\AzureNodePoolAutoscaling|null

hasAutoscaling

clearAutoscaling

setAutoscaling

Required. Autoscaler configuration for this node pool.

Parameter
NameDescription
var Google\Cloud\GkeMultiCloud\V1\AzureNodePoolAutoscaling
Returns
TypeDescription
$this

getState

Output only. The current state of the node pool.

Returns
TypeDescription
int

setState

Output only. The current state of the node pool.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getUid

Output only. A globally unique identifier for the node pool.

Returns
TypeDescription
string

setUid

Output only. A globally unique identifier for the node pool.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getReconciling

Output only. If set, there are currently pending changes to the node pool.

Returns
TypeDescription
bool

setReconciling

Output only. If set, there are currently pending changes to the node pool.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getCreateTime

Output only. The time at which this node pool was created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time at which this node pool was created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. The time at which this node pool was last updated.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The time at which this node pool was last updated.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getEtag

Allows clients to perform consistent read-modify-writes through optimistic concurrency control.

Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

Returns
TypeDescription
string

setEtag

Allows clients to perform consistent read-modify-writes through optimistic concurrency control.

Can be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAnnotations

Optional. Annotations on the node pool.

This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setAnnotations

Optional. Annotations on the node pool.

This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getMaxPodsConstraint

Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.

Returns
TypeDescription
Google\Cloud\GkeMultiCloud\V1\MaxPodsConstraint|null

hasMaxPodsConstraint

clearMaxPodsConstraint

setMaxPodsConstraint

Required. The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.

Parameter
NameDescription
var Google\Cloud\GkeMultiCloud\V1\MaxPodsConstraint
Returns
TypeDescription
$this

getAzureAvailabilityZone

Optional. The Azure availability zone of the nodes in this nodepool.

When unspecified, it defaults to 1.

Returns
TypeDescription
string

setAzureAvailabilityZone

Optional. The Azure availability zone of the nodes in this nodepool.

When unspecified, it defaults to 1.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getErrors

Output only. A set of errors found in the node pool.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setErrors

Output only. A set of errors found in the node pool.

Parameter
NameDescription
var array<Google\Cloud\GkeMultiCloud\V1\AzureNodePoolError>
Returns
TypeDescription
$this