NodeTemplateState class
Input properties used for looking up and filtering NodeTemplate resources.
Constructors
-
NodeTemplateState({Input<
List< ? accelerators, Input<NodeTemplateAccelerator> ?>String?> ? cpuOvercommitType, Input<String?> ? creationTimestamp, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<List< ? disks, Input<NodeTemplateDisk> ?>String?> ? name, Input<Map< ? nodeAffinityLabels, Input<String, String> ?>String?> ? nodeType, Input<NodeTemplateNodeTypeFlexibility?> ? nodeTypeFlexibility, Input<String?> ? project, Input<String?> ? region, Input<String?> ? selfLink, Input<NodeTemplateServerBinding?> ? serverBinding}) -
Creates a new NodeTemplateState.
acceleratorsList of the type and count of accelerator cards attached to thecpuOvercommitTypeCPU overcommit.creationTimestampCreation timestamp in RFC3339 text format.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionAn optional textual description of the resource.disksList of the type, size and count of disks attached to thenameName of the resource.nodeAffinityLabelsLabels to use for node affinity, which will be used innodeTypeNode type to use for nodes group that are created from this template.nodeTypeFlexibilityFlexible properties for the desired node type. Node groups thatprojectThe ID of the project in which the resource belongs.regionRegion where nodes using the node template will be created.selfLinkThe URI of the created resource.serverBindingThe server binding policy for nodes using this template. Determinesconst -
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
-
selfLink
→ Input<
String?> ? -
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