Google Anthos Multi Cloud V1 Client - Class AzureNodeConfig (0.1.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

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.

Generated from protobuf field string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL];

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.

Generated from protobuf field string vm_size = 1 [(.google.api.field_behavior) = OPTIONAL];

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.

Generated from protobuf field .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

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.

Generated from protobuf field .google.cloud.gkemulticloud.v1.AzureDiskTemplate root_volume = 2 [(.google.api.field_behavior) = OPTIONAL];

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.

Generated from protobuf field map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];

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.

Generated from protobuf field map<string, string> tags = 3 [(.google.api.field_behavior) = OPTIONAL];

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.

Generated from protobuf field string image_type = 8 [(.google.api.field_behavior) = OPTIONAL];

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.

Generated from protobuf field string image_type = 8 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSshConfig

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

Generated from protobuf field .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED];

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

hasSshConfig

clearSshConfig

setSshConfig

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

Generated from protobuf field .google.cloud.gkemulticloud.v1.AzureSshConfig ssh_config = 7 [(.google.api.field_behavior) = REQUIRED];

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

getProxyConfig

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

Generated from protobuf field .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL];

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

hasProxyConfig

clearProxyConfig

setProxyConfig

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

Generated from protobuf field .google.cloud.gkemulticloud.v1.AzureProxyConfig proxy_config = 9 [(.google.api.field_behavior) = OPTIONAL];

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

getConfigEncryption

Optional. Configuration related to vm config encryption.

Generated from protobuf field .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL];

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

hasConfigEncryption

clearConfigEncryption

setConfigEncryption

Optional. Configuration related to vm config encryption.

Generated from protobuf field .google.cloud.gkemulticloud.v1.AzureConfigEncryption config_encryption = 12 [(.google.api.field_behavior) = OPTIONAL];

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

getTaints

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

Generated from protobuf field repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTaints

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

Generated from protobuf field repeated .google.cloud.gkemulticloud.v1.NodeTaint taints = 10 [(.google.api.field_behavior) = OPTIONAL];

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" }.

Generated from protobuf field map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];

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" }.

Generated from protobuf field map<string, string> labels = 11 [(.google.api.field_behavior) = OPTIONAL];

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