NodePoolArgs class
The set of arguments for NodePool. The set of arguments for NodePool.
Constructors
-
NodePoolArgs({required Input<
String> cluster, Input<String?> ? deletionPolicy, Input<Map< ? labels, Input<String, String> ?>NodePoolLocalDiskEncryption?> ? localDiskEncryption, required Input<String> location, Input<String?> ? machineFilter, Input<String?> ? name, Input<NodePoolNodeConfig?> ? nodeConfig, required Input<int> nodeCount, required Input<String> nodeLocation, Input<String?> ? project}) -
Creates a new NodePoolArgs.
clusterThe name of the target Distributed Cloud Edge Cluster.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.labelsLabels associated with this resource.localDiskEncryptionLocal disk encryption options. This field is only used when enabling CMEK support.locationThe location of the resource.machineFilterOnly machines matching this filter will be allowed to join the node pool.nameThe resource name of the node pool.nodeConfigConfiguration for each node in the NodePoolnodeCountThe number of nodes in the pool.nodeLocationName of the Google Distributed Cloud Edge zone where this node pool will be created. For example:us-central1-edge-customer-a.projectThe ID of the project in which the resource belongs.const -
NodePoolArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
cluster
→ Input<
String> -
The name of the target Distributed Cloud Edge Cluster.
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
-
labels
→ Input<
Map< ?String, String> ?> -
Labels associated with this resource.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource.final -
localDiskEncryption
→ Input<
NodePoolLocalDiskEncryption?> ? -
Local disk encryption options. This field is only used when enabling CMEK support.
Structure is documented below.
final
-
location
→ Input<
String> -
The location of the resource.
final
-
machineFilter
→ Input<
String?> ? -
Only machines matching this filter will be allowed to join the node pool.
The filtering language accepts strings like "name=<name>", and is
documented in more detail in AIP-160.
final
-
name
→ Input<
String?> ? -
The resource name of the node pool.
final
-
nodeConfig
→ Input<
NodePoolNodeConfig?> ? -
Configuration for each node in the NodePool
Structure is documented below.
final
-
nodeCount
→ Input<
int> -
The number of nodes in the pool.
final
-
nodeLocation
→ Input<
String> -
Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example:
us-central1-edge-customer-a.final -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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