ClusterArgs class
The set of arguments for Cluster. The set of arguments for Cluster.
Constructors
-
ClusterArgs({Input<
ClusterAutoscalingSettings?> ? autoscalingSettings, Input<List< ? datastoreMountConfigs, Input<ClusterDatastoreMountConfig> ?>String?> ? deletionPolicy, Input<String?> ? name, Input<List< ? nodeTypeConfigs, required Input<ClusterNodeTypeConfig> ?>String> parent}) -
Creates a new ClusterArgs.
autoscalingSettingsConfiguration of the autoscaling applied to this clusterdatastoreMountConfigsOptional. Configuration to mount a datastore.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.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.const -
ClusterArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
autoscalingSettings
→ Input<
ClusterAutoscalingSettings?> ? -
Configuration of the autoscaling applied to this cluster
Structure is documented below.
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
-
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
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