GetNodeTemplateResult

data class GetNodeTemplateResult(val accelerators: List<AcceleratorConfigResponse>, val cpuOvercommitType: String, val creationTimestamp: String, val description: String, val disks: List<LocalDiskResponse>, val kind: String, val name: String, val nodeAffinityLabels: Map<String, String>, val nodeType: String, val nodeTypeFlexibility: NodeTemplateNodeTypeFlexibilityResponse, val region: String, val selfLink: String, val serverBinding: ServerBindingResponse, val status: String, val statusMessage: String)

Constructors

Link copied to clipboard
fun GetNodeTemplateResult(accelerators: List<AcceleratorConfigResponse>, cpuOvercommitType: String, creationTimestamp: String, description: String, disks: List<LocalDiskResponse>, kind: String, name: String, nodeAffinityLabels: Map<String, String>, nodeType: String, nodeTypeFlexibility: NodeTemplateNodeTypeFlexibilityResponse, region: String, selfLink: String, serverBinding: ServerBindingResponse, status: String, statusMessage: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

CPU overcommit.

Link copied to clipboard

Creation timestamp in RFC3339 text format.

Link copied to clipboard

An optional description of this resource. Provide this property when you create the resource.

Link copied to clipboard
Link copied to clipboard

The type of the resource. Always compute#nodeTemplate for node templates.

Link copied to clipboard

The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Link copied to clipboard

Labels to use for node affinity, which will be used in instance scheduling.

Link copied to clipboard

The node type to use for nodes group that are created from this template.

Link copied to clipboard

Do not use. Instead, use the node_type property.

Link copied to clipboard

The name of the region where the node template resides, such as us-central1.

Link copied to clipboard

Server-defined URL for the resource.

Link copied to clipboard

Sets the binding properties for the physical server. Valid values include: - Default RESTART_NODE_ON_ANY_SERVER: Restarts VMs on any available physical server - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same physical server whenever possible See Sole-tenant node options for more information.

Link copied to clipboard

The status of the node template. One of the following values: CREATING, READY, and DELETING.

Link copied to clipboard

An optional, human-readable explanation of the status.