NodeGroupState class
Input properties used for looking up and filtering NodeGroup resources.
Constructors
-
NodeGroupState({Input<
NodeGroupAutoscalingPolicy?> ? autoscalingPolicy, Input<String?> ? creationTimestamp, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<int?> ? initialSize, Input<String?> ? maintenanceInterval, Input<String?> ? maintenancePolicy, Input<NodeGroupMaintenanceWindow?> ? maintenanceWindow, Input<String?> ? name, Input<String?> ? nodeTemplate, Input<String?> ? project, Input<String?> ? selfLink, Input<int?> ? size, Input<String?> ? zone}) -
Creates a new NodeGroupState.
autoscalingPolicyIf you use sole-tenant nodes for your workloads, you can use the nodecreationTimestampCreation timestamp in RFC3339 text format.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionAn optional textual description of the resource.initialSizeThe initial number of nodes in the node group. One ofinitialSizeorautoscalingPolicymust be configured on resource creation.maintenanceInterval(Optional, Beta)maintenancePolicySpecifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT.maintenanceWindowcontains properties for the timeframe of maintenancenameName of the resource.nodeTemplateThe URL of the node template to which this node group belongs.projectThe ID of the project in which the resource belongs.selfLinkThe URI of the created resource.shareSettingsShare settings for the node group.sizeThe total number of nodes in the node group.zoneZone where this node group is locatedconst -
NodeGroupState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
autoscalingPolicy
→ Input<
NodeGroupAutoscalingPolicy?> ? -
If you use sole-tenant nodes for your workloads, you can use the node
group autoscaler to automatically manage the sizes of your node groups.
One of
initialSizeorautoscalingPolicymust be configured on resource creation. Structure is documented below.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
- hashCode → int
-
The hash code for this object.
no setterinherited
-
initialSize
→ Input<
int?> ? -
The initial number of nodes in the node group. One of
initialSizeorautoscalingPolicymust be configured on resource creation.final -
maintenanceInterval
→ Input<
String?> ? -
(Optional, Beta)
Specifies the frequency of planned maintenance events. Set to one of the following:
final
-
maintenancePolicy
→ Input<
String?> ? -
Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT.
final
-
maintenanceWindow
→ Input<
NodeGroupMaintenanceWindow?> ? -
contains properties for the timeframe of maintenance
Structure is documented below.
final
-
name
→ Input<
String?> ? -
Name of the resource.
final
-
nodeTemplate
→ Input<
String?> ? -
The URL of the node template to which this node group belongs.
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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
selfLink
→ Input<
String?> ? -
The URI of the created resource.
final
-
Share settings for the node group.
Structure is documented below.
final
-
size
→ Input<
int?> ? -
The total number of nodes in the node group.
final
-
zone
→ Input<
String?> ? -
Zone where this node group is located
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