ClusterArgs class
The set of arguments for Cluster. The set of arguments for Cluster.
Constructors
-
ClusterArgs({required Input<
String> clusterId, Input<List< ? computeResources, Input<ClusterComputeResource> ?>String?> ? deletionPolicy, Input<String?> ? description, Input<Map< ? labels, required Input<String, String> ?>String> location, required Input<List< networkResources, Input<ClusterNetworkResource> >ClusterOrchestrator?> ? orchestrator, Input<String?> ? project, Input<List< ? storageResources})ClusterStorageResource> ?> -
Creates a new ClusterArgs.
clusterIdID of the cluster to create. Must start with a lowercase letter,computeResourcesCompute resources available to the cluster. Keys specify the ID of thedeletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionUser-provided description of the cluster. labels Labels appliedlocationResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.networkResourcesNetwork resources available to the cluster. Must contain at most one value.orchestratorThe component responsible for scheduling and running workloads on theprojectThe ID of the project in which the resource belongs.storageResourcesStorage resources available to the cluster. Keys specify the ID of theconst -
ClusterArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
clusterId
→ Input<
String> -
ID of the cluster to create. Must start with a lowercase letter,
use only lowercase letters and numbers, and be at most 10 characters long.
final
-
computeResources
→ Input<
List< ?ClusterComputeResource> ?> -
Compute resources available to the cluster. Keys specify the ID of the
compute resource by which it can be referenced elsewhere, and must conform
to RFC-1034 (lower-case,
alphanumeric, and at most 63 characters).
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
-
description
→ Input<
String?> ? -
User-provided description of the cluster.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> ?> -
Labels applied
to the cluster. Labels can be used to organize clusters and to filter them
in queries.
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field
effectiveLabelsfor all of the labels present on the resource.final -
location
→ Input<
String> -
Resource ID segment making up resource
name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.final -
networkResources
→ Input<
List< ClusterNetworkResource> > -
Network resources available to the cluster. Must contain at most one value.
Keys specify the ID of the network resource by which it can be referenced
elsewhere, and must conform to
RFC-1034 (lower-case,
alphanumeric, and at most 63 characters).
Structure is documented below.
final
-
orchestrator
→ Input<
ClusterOrchestrator?> ? -
The component responsible for scheduling and running workloads on the
cluster as well as providing the user interface for interacting with the
cluster at runtime.
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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
storageResources
→ Input<
List< ?ClusterStorageResource> ?> -
Storage resources available to the cluster. Keys specify the ID of the
storage resource by which it can be referenced elsewhere, and must conform
to RFC-1034 (lower-case,
alphanumeric, and at most 63 characters).
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