# REST Resource: projects.locations.nodeTypes

- [Resource: NodeType](https://docs.cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.nodeTypes#NodeType)
  - [JSON representation](https://docs.cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.nodeTypes#NodeType.SCHEMA_REPRESENTATION)
- [Kind](https://docs.cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.nodeTypes#Kind)
- [Capability](https://docs.cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.nodeTypes#Capability)
- [Methods](https://docs.cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.nodeTypes#METHODS_SUMMARY)

## Resource: NodeType

Describes node type.

| JSON representation |
|---|
| ``` { "name": string, "nodeTypeId": string, "displayName": string, "virtualCpuCount": integer, "totalCoreCount": integer, "memoryGb": integer, "diskSizeGb": integer, "availableCustomCoreCounts": [ integer ], "kind": enum (`https://docs.cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.nodeTypes#Kind`), "families": [ string ], "capabilities": [ enum (`https://docs.cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.nodeTypes#Capability`) ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. The resource name of this node type. Resource names are schemeless URIs that follow the conventions in <https://cloud.google.com/apis/design/resource_names>. For example: `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72` |
| `nodeTypeId` | `string` Output only. The canonical identifier of the node type (corresponds to the `NodeType`). For example: standard-72. |
| `displayName` | `string` Output only. The friendly name for this node type. For example: ve1-standard-72 |
| `virtualCpuCount` | `integer` Output only. The total number of virtual CPUs in a single node. |
| `totalCoreCount` | `integer` Output only. The total number of CPU cores in a single node. |
| `memoryGb` | `integer` Output only. The amount of physical memory available, defined in GB. |
| `diskSizeGb` | `integer` Output only. The amount of storage available, defined in GB. |
| `availableCustomCoreCounts[]` | `integer` Output only. List of possible values of custom core count. |
| `kind` | ``enum (`https://docs.cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.nodeTypes#Kind`)`` Output only. The type of the resource. |
| `families[]` | `string` Output only. Families of the node type. For node types to be in the same cluster they must share at least one element in the `families`. |
| `capabilities[]` | ``enum (`https://docs.cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.nodeTypes#Capability`)`` Output only. Capabilities of this node type. |

## Kind

Enum Kind defines possible types of a NodeType.

| Enums ||
|---|---|
| `KIND_UNSPECIFIED` | The default value. This value should never be used. |
| `STANDARD` | Standard HCI node. |
| `STORAGE_ONLY` | Storage only Node. |

## Capability

Capability of a node type.

| Enums ||
|---|---|
| `CAPABILITY_UNSPECIFIED` | The default value. This value is used if the capability is omitted or unknown. |
| `STRETCHED_CLUSTERS` | This node type supports stretch clusters. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.nodeTypes/get` | Gets details of a single `NodeType`. |
| ### `https://docs.cloud.google.com/vmware-engine/docs/reference/rest/v1/projects.locations.nodeTypes/list` | Lists node types |