node_types
Creates, updates, deletes, gets or lists a node_types
resource.
Overview
Name | node_types |
Type | Resource |
Id | google.compute.node_types |
Fields
Name | Datatype | Description |
---|---|---|
id | string | [Output Only] The unique identifier for the resource. This identifier is defined by the server. |
name | string | [Output Only] Name of the resource. |
description | string | [Output Only] An optional textual description of the resource. |
cpuPlatform | string | [Output Only] The CPU platform used by this node type. |
creationTimestamp | string | [Output Only] Creation timestamp in RFC3339 text format. |
deprecated | object | Deprecation status for a public resource. |
guestCpus | integer | [Output Only] The number of virtual CPUs that are available to the node type. |
kind | string | [Output Only] The type of the resource. Always compute#nodeType for node types. |
localSsdGb | integer | [Output Only] Local SSD available to the node type, defined in GB. |
memoryMb | integer | [Output Only] The amount of physical memory available to the node type, defined in MB. |
selfLink | string | [Output Only] Server-defined URL for the resource. |
zone | string | [Output Only] The name of the zone where the node type resides, such as us-central1-a. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
aggregated_list | SELECT | project | Retrieves an aggregated list of node types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true . |
get | SELECT | nodeType, project, zone | Returns the specified node type. |
list | SELECT | project, zone | Retrieves a list of node types available to the specified project. |
SELECT
examples
Retrieves an aggregated list of node types. To prevent failure, Google recommends that you set the returnPartialSuccess
parameter to true
.
SELECT
id,
name,
description,
cpuPlatform,
creationTimestamp,
deprecated,
guestCpus,
kind,
localSsdGb,
memoryMb,
selfLink,
zone
FROM google.compute.node_types
WHERE project = '{{ project }}';