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.
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];
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];
var
string
$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];
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];
$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];
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];
var
array|Google\Protobuf\Internal\MapField
$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];
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];
var
string
$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];
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];
$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];
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];
$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];
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];
$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];
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];
$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];
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];
var
array|Google\Protobuf\Internal\MapField
$this