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

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
NameDescription
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 Google\Cloud\GkeMultiCloud\V1\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 have a value of ubuntu, or windows if the cluster enables the Windows node pool preview feature. When unspecified, it defaults to ubuntu.

↳ ssh_config Google\Cloud\GkeMultiCloud\V1\AzureSshConfig

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

↳ proxy_config Google\Cloud\GkeMultiCloud\V1\AzureProxyConfig

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

↳ config_encryption Google\Cloud\GkeMultiCloud\V1\AzureConfigEncryption

Optional. Configuration related to vm config encryption.

↳ taints array<Google\Cloud\GkeMultiCloud\V1\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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
Google\Cloud\GkeMultiCloud\V1\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
NameDescription
var Google\Cloud\GkeMultiCloud\V1\AzureDiskTemplate
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getImageType

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

Can have a value of ubuntu, or windows if the cluster enables the Windows node pool preview feature. When unspecified, it defaults to ubuntu.

Returns
TypeDescription
string

setImageType

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

Can have a value of ubuntu, or windows if the cluster enables the Windows node pool preview feature. When unspecified, it defaults to ubuntu.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSshConfig

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

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

hasSshConfig

clearSshConfig

setSshConfig

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

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

getProxyConfig

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

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

hasProxyConfig

clearProxyConfig

setProxyConfig

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

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

getConfigEncryption

Optional. Configuration related to vm config encryption.

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

hasConfigEncryption

clearConfigEncryption

setConfigEncryption

Optional. Configuration related to vm config encryption.

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

getTaints

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTaints

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

Parameter
NameDescription
var array<Google\Cloud\GkeMultiCloud\V1\NodeTaint>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this