AzureNodePoolArgs class
The set of arguments for AzureNodePool. The set of arguments for AzureNodePool.
Constructors
-
AzureNodePoolArgs({Input<
Map< ? annotations, required Input<String, String> ?>AzureNodePoolAutoscaling> autoscaling, Input<String?> ? azureAvailabilityZone, required Input<String> cluster, required Input<AzureNodePoolConfig> config, Input<String?> ? deletionPolicy, required Input<String> location, Input<AzureNodePoolManagement?> ? management, required Input<AzureNodePoolMaxPodsConstraint> maxPodsConstraint, Input<String?> ? name, Input<String?> ? project, required Input<String> subnetId, required Input<String> version}) -
Creates a new AzureNodePoolArgs.
annotationsOptional. 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.autoscalingAutoscaler configuration for this node pool.azureAvailabilityZoneOptional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to1.clusterThe azureCluster for the resourceconfigThe node configuration of the node pool.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to "DELETE".locationThe location for the resourcemanagementThe Management configuration for this node pool.maxPodsConstraintThe constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.nameThe name of this resource.projectThe project for the resourcesubnetIdThe 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.versionThe Kubernetes version (e.g.1.19.10-gke.1000) running on this node pool.const -
AzureNodePoolArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
annotations
→ Input<
Map< ?String, String> ?> -
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.
final
-
autoscaling
→ Input<
AzureNodePoolAutoscaling> -
Autoscaler configuration for this node pool.
final
-
azureAvailabilityZone
→ Input<
String?> ? -
Optional. The Azure availability zone of the nodes in this nodepool. When unspecified, it defaults to
1.final -
cluster
→ Input<
String> -
The azureCluster for the resource
final
-
config
→ Input<
AzureNodePoolConfig> -
The node configuration of the node pool.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String> -
The location for the resource
final
-
management
→ Input<
AzureNodePoolManagement?> ? -
The Management configuration for this node pool.
final
-
maxPodsConstraint
→ Input<
AzureNodePoolMaxPodsConstraint> -
The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
final
-
name
→ Input<
String?> ? -
The name of this resource.
final
-
project
→ Input<
String?> ? -
The project for the resource
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
subnetId
→ Input<
String> -
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.
final
-
version
→ Input<
String> -
The Kubernetes version (e.g.
1.19.10-gke.1000) running on this node pool.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited