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 | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ vm_size |
string
Optional. The Azure VM size name. Example: |
↳ 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 |
↳ 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 | |
---|---|
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 |
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 | |
---|---|
Name | Description |
var |
Google\Cloud\GkeMultiCloud\V1\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 have a value of ubuntu
, or windows
if the cluster enables
the Windows node pool preview feature.
When unspecified, it defaults to ubuntu
.
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getSshConfig
Required. SSH configuration for how to access the node pool machines.
Returns | |
---|---|
Type | Description |
Google\Cloud\GkeMultiCloud\V1\AzureSshConfig|null |
hasSshConfig
clearSshConfig
setSshConfig
Required. SSH configuration for how to access the node pool machines.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeMultiCloud\V1\AzureSshConfig
|
Returns | |
---|---|
Type | Description |
$this |
getProxyConfig
Optional. Proxy configuration for outbound HTTP(S) traffic.
Returns | |
---|---|
Type | Description |
Google\Cloud\GkeMultiCloud\V1\AzureProxyConfig|null |
hasProxyConfig
clearProxyConfig
setProxyConfig
Optional. Proxy configuration for outbound HTTP(S) traffic.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeMultiCloud\V1\AzureProxyConfig
|
Returns | |
---|---|
Type | Description |
$this |
getConfigEncryption
Optional. Configuration related to vm config encryption.
Returns | |
---|---|
Type | Description |
Google\Cloud\GkeMultiCloud\V1\AzureConfigEncryption|null |
hasConfigEncryption
clearConfigEncryption
setConfigEncryption
Optional. Configuration related to vm config encryption.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\GkeMultiCloud\V1\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<Google\Cloud\GkeMultiCloud\V1\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 |