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

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

Parameters that describe the configuration of all node machines on a given node pool.

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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ vm_size string

Optional. The Azure VM size name. Example: Standard_DS2_v2. See Supported VM sizes for options. When unspecified, it defaults to Standard_DS2_v2.

↳ root_volume AzureDiskTemplate

Optional. Configuration related to the root volume provisioned for each node pool machine. When unspecified, it defaults to a 32-GiB Azure Disk.

↳ tags array|Google\Protobuf\Internal\MapField

Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets. Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

↳ image_type string

Optional. The OS image type to use on node pool instances. Can be unspecified, or have a value of ubuntu. When unspecified, it defaults to ubuntu.

↳ ssh_config AzureSshConfig

Required. SSH configuration for how to access the node pool machines.

↳ proxy_config AzureProxyConfig

Optional. Proxy configuration for outbound HTTP(S) traffic.

↳ config_encryption AzureConfigEncryption

Optional. Configuration related to vm config encryption.

↳ taints array<NodeTaint>

Optional. The initial taints assigned to nodes of this node pool.

↳ labels array|Google\Protobuf\Internal\MapField

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

getVmSize

Optional. The Azure VM size name. Example: Standard_DS2_v2.

See Supported VM sizes for options. When unspecified, it defaults to Standard_DS2_v2.

Returns
Type Description
string

setVmSize

Optional. The Azure VM size name. Example: Standard_DS2_v2.

See Supported VM sizes for options. When unspecified, it defaults to Standard_DS2_v2.

Parameter
Name Description
var string
Returns
Type Description
$this

getRootVolume

Optional. Configuration related to the root volume provisioned for each node pool machine.

When unspecified, it defaults to a 32-GiB Azure Disk.

Returns
Type Description
AzureDiskTemplate|null

hasRootVolume

clearRootVolume

setRootVolume

Optional. Configuration related to the root volume provisioned for each node pool machine.

When unspecified, it defaults to a 32-GiB Azure Disk.

Parameter
Name Description
var AzureDiskTemplate
Returns
Type Description
$this

getTags

Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets.

Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

Returns
Type Description
Google\Protobuf\Internal\MapField

setTags

Optional. A set of tags to apply to all underlying Azure resources for this node pool. This currently only includes Virtual Machine Scale Sets.

Specify at most 50 pairs containing alphanumerics, spaces, and symbols (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to 255 Unicode characters.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getImageType

Optional. The OS image type to use on node pool instances.

Can be unspecified, or have a value of ubuntu. When unspecified, it defaults to ubuntu.

Returns
Type Description
string

setImageType

Optional. The OS image type to use on node pool instances.

Can be unspecified, or have a value of ubuntu. When unspecified, it defaults to ubuntu.

Parameter
Name Description
var string
Returns
Type Description
$this

getSshConfig

Required. SSH configuration for how to access the node pool machines.

Returns
Type Description
AzureSshConfig|null

hasSshConfig

clearSshConfig

setSshConfig

Required. SSH configuration for how to access the node pool machines.

Parameter
Name Description
var AzureSshConfig
Returns
Type Description
$this

getProxyConfig

Optional. Proxy configuration for outbound HTTP(S) traffic.

Returns
Type Description
AzureProxyConfig|null

hasProxyConfig

clearProxyConfig

setProxyConfig

Optional. Proxy configuration for outbound HTTP(S) traffic.

Parameter
Name Description
var AzureProxyConfig
Returns
Type Description
$this

getConfigEncryption

Optional. Configuration related to vm config encryption.

Returns
Type Description
AzureConfigEncryption|null

hasConfigEncryption

clearConfigEncryption

setConfigEncryption

Optional. Configuration related to vm config encryption.

Parameter
Name Description
var AzureConfigEncryption
Returns
Type Description
$this

getTaints

Optional. The initial taints assigned to nodes of this node pool.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTaints

Optional. The initial taints assigned to nodes of this node pool.

Parameter
Name Description
var array<NodeTaint>
Returns
Type Description
$this

getLabels

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

Returns
Type Description
Google\Protobuf\Internal\MapField

setLabels

Optional. The initial labels assigned to nodes of this node pool. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this