ClusterState class
Input properties used for looking up and filtering Cluster resources.
Constructors
-
ClusterState({Input<
ClusterAutoscalingSettings?> ? autoscalingSettings, Input<String?> ? createTime, Input<List< ? datastoreMountConfigs, Input<ClusterDatastoreMountConfig> ?>String?> ? deletionPolicy, Input<bool?> ? management, Input<String?> ? name, Input<List< ? nodeTypeConfigs, Input<ClusterNodeTypeConfig> ?>String?> ? parent, Input<String?> ? state, Input<String?> ? uid, Input<String?> ? updateTime}) -
Creates a new ClusterState.
autoscalingSettingsConfiguration of the autoscaling applied to this clustercreateTimeCreation time of this resource.datastoreMountConfigsOptional. Configuration to mount a datastore.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.managementTrue if the cluster is a management cluster; false otherwise.nameThe ID of the Cluster.nodeTypeConfigsThe map of cluster node types in this cluster,parentThe resource name of the private cloud to create a new cluster in.stateState of the Cluster.uidSystem-generated unique identifier for the resource.updateTimeLast updated time of this resource.const -
ClusterState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
autoscalingSettings
→ Input<
ClusterAutoscalingSettings?> ? -
Configuration of the autoscaling applied to this cluster
Structure is documented below.
final
-
createTime
→ Input<
String?> ? -
Creation time of this resource.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and
up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
final
-
datastoreMountConfigs
→ Input<
List< ?ClusterDatastoreMountConfig> ?> -
Optional. Configuration to mount a datastore.
Mount can be done along with cluster create or during cluster update
Since service subnet is not configured with ip range on mgmt cluster creation, mount on management cluster is done as update only
for unmount remove 'datastore_mount_config' config from the update of cluster resource
Structure is documented below.
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
- hashCode → int
-
The hash code for this object.
no setterinherited
-
management
→ Input<
bool?> ? -
True if the cluster is a management cluster; false otherwise.
There can only be one management cluster in a private cloud and it has to be the first one.
final
-
name
→ Input<
String?> ? -
The ID of the Cluster.
final
-
nodeTypeConfigs
→ Input<
List< ?ClusterNodeTypeConfig> ?> -
The map of cluster node types in this cluster,
where the key is canonical identifier of the node type (corresponds to the NodeType).
Structure is documented below.
final
-
parent
→ Input<
String?> ? -
The resource name of the private cloud to create a new cluster in.
Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names.
For example: projects/my-project/locations/us-west1-a/privateClouds/my-cloud
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ Input<
String?> ? -
State of the Cluster.
final
-
uid
→ Input<
String?> ? -
System-generated unique identifier for the resource.
final
-
updateTime
→ Input<
String?> ? -
Last updated time of this resource.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
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