NodeTemplateState class

Input properties used for looking up and filtering NodeTemplate resources.

Constructors

NodeTemplateState({Input<List<NodeTemplateAccelerator>?>? accelerators, Input<String?>? cpuOvercommitType, Input<String?>? creationTimestamp, Input<String?>? deletionPolicy, Input<String?>? description, Input<List<NodeTemplateDisk>?>? disks, Input<String?>? name, Input<Map<String, String>?>? nodeAffinityLabels, Input<String?>? nodeType, Input<NodeTemplateNodeTypeFlexibility?>? nodeTypeFlexibility, Input<String?>? project, Input<String?>? region, Input<String?>? selfLink, Input<NodeTemplateServerBinding?>? serverBinding})
Creates a new NodeTemplateState. accelerators List of the type and count of accelerator cards attached to the cpuOvercommitType CPU overcommit. creationTimestamp Creation timestamp in RFC3339 text format. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional textual description of the resource. disks List of the type, size and count of disks attached to the name Name of the resource. nodeAffinityLabels Labels to use for node affinity, which will be used in nodeType Node type to use for nodes group that are created from this template. nodeTypeFlexibility Flexible properties for the desired node type. Node groups that project The ID of the project in which the resource belongs. region Region where nodes using the node template will be created. selfLink The URI of the created resource. serverBinding The server binding policy for nodes using this template. Determines
const
NodeTemplateState.fromMap(Map<String, dynamic> map)
factory

Properties

accelerators → Input<List<NodeTemplateAccelerator>?>?
List of the type and count of accelerator cards attached to the node template Structure is documented below.
final
cpuOvercommitType → Input<String?>?
CPU overcommit. Default value is NONE. Possible values are: ENABLED, NONE.
final
creationTimestamp → Input<String?>?
Creation timestamp in RFC3339 text format.
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
An optional textual description of the resource.
final
disks → Input<List<NodeTemplateDisk>?>?
List of the type, size and count of disks attached to the node template Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String?>?
Name of the resource.
final
nodeAffinityLabels → Input<Map<String, String>?>?
Labels to use for node affinity, which will be used in instance scheduling.
final
nodeType → Input<String?>?
Node type to use for nodes group that are created from this template. Only one of nodeTypeFlexibility and nodeType can be specified.
final
nodeTypeFlexibility → Input<NodeTemplateNodeTypeFlexibility?>?
Flexible properties for the desired node type. Node groups that use this node template will create nodes of a type that matches these properties. Only one of nodeTypeFlexibility and nodeType can be specified. Structure is documented below.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
region → Input<String?>?
Region where nodes using the node template will be created. If it is not provided, the provider region is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
The URI of the created resource.
final
serverBinding → Input<NodeTemplateServerBinding?>?
The server binding policy for nodes using this template. Determines where the nodes should restart following a maintenance event. Structure is documented below.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited