# The NodeType object

A description of a Spark node type including both the dimensions of the node and the
 instance type on which it will be hosted.

## Attributes

- `node_type_id` (string)
  Unique identifier for this node type.
- `memory_mb` (int32)
  Memory (in MB) available for this node type.
- `num_cores` (float)
  Number of CPU cores available for this node type.
   Note that this can be fractional, e.g., 2.5 cores, if the number of cores on a
   machine instance is not divisible by the number of Spark nodes on that machine.
- `description` (string)
  A string description associated with this node type, e.g., "r3.xlarge".
- `instance_type_id` (string)
  An identifier for the type of hardware that this node runs on, e.g., "r3.2xlarge" in AWS.
- `is_deprecated` (boolean)
  Whether the node type is deprecated. Non-deprecated node types offer greater performance.
  Default: `false`
- `category` (string)
  A descriptive category for this node type. Examples include "Memory Optimized" and
   "Compute Optimized".
- `support_ebs_volumes` (boolean)
  Whether this node type support EBS volumes. EBS volumes is disabled for node types that
   we could place multiple corresponding containers on the same hosting instance.
  Default: `true`
- `support_cluster_tags` (boolean)
  Whether this node type support cluster tags.
  Default: `true`
- `num_gpus` (int32)
  Number of GPUs available for this node type.
- `node_instance_type` (object)
  The NodeInstanceType object corresponding to instance_type_id
  - `instance_type_id` (string)
    Unique identifier across instance types
  - `local_disks` (int32)
    Number of local disks that are present on this instance.
  - `local_disk_size_gb` (int32)
    Size of the individual local disks attached to this instance (i.e. per local disk).
  - `local_nvme_disk_size_gb` (int32)
    Size of the individual local nvme disks attached to this instance (i.e. per local disk).
  - `local_nvme_disks` (int32)
    Number of local nvme disks that are present on this instance.
- `is_hidden` (boolean)
  Whether this node is hidden from presentation in the UI.
- `support_port_forwarding` (boolean)
  Whether this node type supports port forwarding.
  Default: `true`
- `display_order` (int32)
  An optional hint at the display order of node types in the UI.
   Within a node type category, lowest numbers come first.
  Default: `0`
- `is_io_cache_enabled` (boolean)
  Whether this node comes with IO cache enabled by default.
  Default: `false`
- `node_info` (object)
  A collection of node type info reported by the cloud provider
  - `status` (array of string)
    Status as reported by the cloud provider
    Possible values: `NOT_ENABLED_ON_SUBSCRIPTION`, `NOT_AVAILABLE_IN_REGION`
- `photon_worker_capable` (boolean)
  Default: `false`
- `photon_driver_capable` (boolean)
  Default: `false`
- `is_encrypted_in_transit` (boolean)
  AWS specific, whether this instance supports encryption in transit, used for hipaa and pci
   workloads.
  Default: `false`
- `is_graviton` (boolean)
  Whether this is an Arm-based instance.
  Default: `false`

## Example

```json
{
  "node_type_id": "string",
  "memory_mb": 0,
  "num_cores": 0,
  "description": "string",
  "instance_type_id": "string",
  "is_deprecated": true,
  "category": "string",
  "support_ebs_volumes": true,
  "support_cluster_tags": true,
  "num_gpus": 0,
  "node_instance_type": {
    "instance_type_id": "string",
    "local_disks": 0,
    "local_disk_size_gb": 0,
    "local_nvme_disk_size_gb": 0,
    "local_nvme_disks": 0
  },
  "is_hidden": true,
  "support_port_forwarding": true,
  "display_order": 0,
  "is_io_cache_enabled": true,
  "node_info": {
    "status": [
      "string"
    ]
  },
  "photon_worker_capable": true,
  "photon_driver_capable": true,
  "is_encrypted_in_transit": true,
  "is_graviton": true
}
```


