ClusterState class
Input properties used for looking up and filtering Cluster resources.
Constructors
-
ClusterState({Input<
String?> ? clusterId, Input<List< ? computeResources, Input<ClusterComputeResource> ?>String?> ? createTime, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<Map< ? effectiveLabels, Input<String, String> ?>Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<List< ? networkResources, Input<ClusterNetworkResource> ?>ClusterOrchestrator?> ? orchestrator, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>bool?> ? reconciling, Input<List< ? storageResources, Input<ClusterStorageResource> ?>String?> ? updateTime}) -
Creates a new ClusterState.
clusterIdID of the cluster to create. Must start with a lowercase letter,computeResourcesCompute resources available to the cluster. Keys specify the ID of thecreateTimeTime that the cluster was originally created.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionUser-provided description of the cluster.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. labels Labels appliedlocationResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.nameIdentifier. Relative resource name of the cluster, in thenetworkResourcesNetwork 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.pulumiLabelsThe combination of labels configured directly on the resourcereconcilingIndicates whether changes to the cluster are currently in flight. If thisstorageResourcesStorage resources available to the cluster. Keys specify the ID of theupdateTimeTime that the cluster was most recently updated.const -
ClusterState.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
-
createTime
→ Input<
String?> ? -
Time that the cluster was originally created.
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
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
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 -
name
→ Input<
String?> ? -
Identifier. Relative resource name of the cluster, in the
format
projects/{project}/locations/{location}/clusters/{cluster}.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
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
final
-
reconciling
→ Input<
bool?> ? -
Indicates whether changes to the cluster are currently in flight. If this
is
true, then the current state might not match the cluster's intended state.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
-
updateTime
→ Input<
String?> ? -
Time that the cluster was most recently updated.
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