AzureNodePoolArgs constructor

const AzureNodePoolArgs({
  1. Input<Map<String, String>?>? annotations,
  2. required Input<AzureNodePoolAutoscaling> autoscaling,
  3. Input<String?>? azureAvailabilityZone,
  4. required Input<String> cluster,
  5. required Input<AzureNodePoolConfig> config,
  6. Input<String?>? deletionPolicy,
  7. required Input<String> location,
  8. Input<AzureNodePoolManagement?>? management,
  9. required Input<AzureNodePoolMaxPodsConstraint> maxPodsConstraint,
  10. Input<String?>? name,
  11. Input<String?>? project,
  12. required Input<String> subnetId,
  13. required Input<String> version,
})

Creates a new AzureNodePoolArgs. annotations Optional. Annotations on the node pool. This field has the same restrictions as Kubernetes annotations. The total size of all keys and values combined is limited to 256k. Keys can have 2 segments: prefix (optional) and name (required), separated by a slash (/). Prefix must be a DNS subdomain. Name must be 63 characters or less, begin and end with alphanumerics, with dashes (-), underscores (_), dots (.), and alphanumerics between. autoscaling Autoscaler configuration for this node pool. azureAvailabilityZone Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to 1. cluster The azureCluster for the resource config The node configuration of the node pool. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE". location The location for the resource management The Management configuration for this node pool. maxPodsConstraint The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool. name The name of this resource. project The project for the resource subnetId The ARM ID of the subnet where the node pool VMs run. Make sure it's a subnet under the virtual network in the cluster configuration. version The Kubernetes version (e.g. 1.19.10-gke.1000) running on this node pool.

Implementation

const AzureNodePoolArgs({
  this.annotations,
  required this.autoscaling,
  this.azureAvailabilityZone,
  required this.cluster,
  required this.config,
  this.deletionPolicy,
  required this.location,
  this.management,
  required this.maxPodsConstraint,
  this.name,
  this.project,
  required this.subnetId,
  required this.version,
});