NodePoolArgs constructor

const NodePoolArgs({
  1. required Input<String> cluster,
  2. Input<String?>? deletionPolicy,
  3. Input<Map<String, String>?>? labels,
  4. Input<NodePoolLocalDiskEncryption?>? localDiskEncryption,
  5. required Input<String> location,
  6. Input<String?>? machineFilter,
  7. Input<String?>? name,
  8. Input<NodePoolNodeConfig?>? nodeConfig,
  9. required Input<int> nodeCount,
  10. required Input<String> nodeLocation,
  11. Input<String?>? project,
})

Creates a new NodePoolArgs. cluster The name of the target Distributed Cloud Edge Cluster. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. labels Labels associated with this resource. localDiskEncryption Local disk encryption options. This field is only used when enabling CMEK support. location The location of the resource. machineFilter Only machines matching this filter will be allowed to join the node pool. name The resource name of the node pool. nodeConfig Configuration for each node in the NodePool nodeCount The number of nodes in the pool. nodeLocation Name of the Google Distributed Cloud Edge zone where this node pool will be created. For example: us-central1-edge-customer-a. project The ID of the project in which the resource belongs.

Implementation

const NodePoolArgs({
  required this.cluster,
  this.deletionPolicy,
  this.labels,
  this.localDiskEncryption,
  required this.location,
  this.machineFilter,
  this.name,
  this.nodeConfig,
  required this.nodeCount,
  required this.nodeLocation,
  this.project,
});