GetNodeTemplateComputeBetaResult constructor
- required List<
AcceleratorConfigResponseComputeBeta> accelerators, - required String cpuOvercommitType,
- required String creationTimestamp,
- required String description,
- required List<
LocalDiskResponseComputeBeta> disks, - required String kind,
- required String name,
- required Map<
String, String> nodeAffinityLabels, - required String nodeType,
- required NodeTemplateNodeTypeFlexibilityResponseComputeBeta nodeTypeFlexibility,
- required String region,
- required String selfLink,
- required ServerBindingResponseComputeBeta serverBinding,
- required String status,
- required String statusMessage,
Creates a new GetNodeTemplateComputeBetaResult.
accelerators Required.
cpuOvercommitType CPU overcommit.
creationTimestamp Creation timestamp in RFC3339 text format.
description An optional description of this resource. Provide this property when you create the resource.
disks Required.
kind The type of the resource. Always compute#nodeTemplate for node templates.
name 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.
nodeAffinityLabels Labels to use for node affinity, which will be used in instance scheduling.
nodeType The node type to use for nodes group that are created from this template.
nodeTypeFlexibility Do not use. Instead, use the node_type property.
region The name of the region where the node template resides, such as us-central1.
selfLink Server-defined URL for the resource.
serverBinding 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.
status The status of the node template. One of the following values: CREATING, READY, and DELETING.
statusMessage An optional, human-readable explanation of the status.
Implementation
const GetNodeTemplateComputeBetaResult({
required this.accelerators,
required this.cpuOvercommitType,
required this.creationTimestamp,
required this.description,
required this.disks,
required this.kind,
required this.name,
required this.nodeAffinityLabels,
required this.nodeType,
required this.nodeTypeFlexibility,
required this.region,
required this.selfLink,
required this.serverBinding,
required this.status,
required this.statusMessage,
});