ClusterState class

Input properties used for looking up and filtering Cluster resources.

Constructors

ClusterState({Input<String?>? clusterId, Input<List<ClusterComputeResource>?>? computeResources, Input<String?>? createTime, Input<String?>? deletionPolicy, Input<String?>? description, Input<Map<String, String>?>? effectiveLabels, Input<Map<String, String>?>? labels, Input<String?>? location, Input<String?>? name, Input<List<ClusterNetworkResource>?>? networkResources, Input<ClusterOrchestrator?>? orchestrator, Input<String?>? project, Input<Map<String, String>?>? pulumiLabels, Input<bool?>? reconciling, Input<List<ClusterStorageResource>?>? storageResources, Input<String?>? updateTime})
Creates a new ClusterState. clusterId ID of the cluster to create. Must start with a lowercase letter, computeResources Compute resources available to the cluster. Keys specify the ID of the createTime Time that the cluster was originally created. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description User-provided description of the cluster. effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. labels Labels applied location Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. name Identifier. Relative resource name of the cluster, in the networkResources Network resources available to the cluster. Must contain at most one value. orchestrator The component responsible for scheduling and running workloads on the project The ID of the project in which the resource belongs. pulumiLabels The combination of labels configured directly on the resource reconciling Indicates whether changes to the cluster are currently in flight. If this storageResources Storage resources available to the cluster. Keys specify the ID of the updateTime Time 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 effectiveLabels for 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