ConnectClusterState class
Input properties used for looking up and filtering ConnectCluster resources.
Constructors
-
ConnectClusterState({Input<
ConnectClusterCapacityConfig?> ? capacityConfig, Input<String?> ? connectClusterId, Input<String?> ? createTime, Input<String?> ? deletionPolicy, Input<Map< ? effectiveLabels, Input<String, String> ?>ConnectClusterGcpConfig?> ? gcpConfig, Input<String?> ? kafkaCluster, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? project, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? state, Input<String?> ? updateTime}) -
Creates a new ConnectClusterState.
capacityConfigA capacity configuration of a Kafka cluster.connectClusterIdThe ID to use for the Connect Cluster, which will become the final component of the connect cluster's name. This value is structured like:my-connect-cluster-id.createTimeThe time when the cluster was created.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.gcpConfigConfiguration properties for a Kafka Connect cluster deployed to Google Cloud Platform.kafkaClusterThe name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like:projects/PROJECT_ID/locations/LOCATION/clusters/CLUSTER_ID.labelsList of label KEY=VALUE pairs to add. Keys must start with a lowercase character and contain only hyphens (-), underscores ( ), lowercase characters, and numbers. Values must contain only hyphens (-), underscores ( ), lowercase characters, and numbers.locationID of the location of the Kafka Connect resource. See https://cloud.google.com/managed-kafka/docs/locations for a list of supported locations.nameThe name of the connect cluster. Structured like:projects/PROJECT_ID/locations/LOCATION/connectClusters/CONNECT_CLUSTER_ID.projectThe ID of the project in which the resource belongs.pulumiLabelsThe combination of labels configured directly on the resourcestateThe current state of the connect cluster. Possible values:STATE_UNSPECIFIED,CREATING,ACTIVE,DELETING.updateTimeThe time when the cluster was last updated.const -
ConnectClusterState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
capacityConfig
→ Input<
ConnectClusterCapacityConfig?> ? -
A capacity configuration of a Kafka cluster.
Structure is documented below.
final
-
connectClusterId
→ Input<
String?> ? -
The ID to use for the Connect Cluster, which will become the final component of the connect cluster's name. This value is structured like:
my-connect-cluster-id.final -
createTime
→ Input<
String?> ? -
The time when the cluster was 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
-
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
-
gcpConfig
→ Input<
ConnectClusterGcpConfig?> ? -
Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.
Structure is documented below.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kafkaCluster
→ Input<
String?> ? -
The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like:
projects/PROJECT_ID/locations/LOCATION/clusters/CLUSTER_ID.final -
labels
→ Input<
Map< ?String, String> ?> -
List of label KEY=VALUE pairs to add. Keys must start with a lowercase character and contain only hyphens (-), underscores ( ), lowercase characters, and numbers. Values must contain only hyphens (-), underscores ( ), lowercase characters, and numbers.
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?> ? -
ID of the location of the Kafka Connect resource. See https://cloud.google.com/managed-kafka/docs/locations for a list of supported locations.
final
-
name
→ Input<
String?> ? -
The name of the connect cluster. Structured like:
projects/PROJECT_ID/locations/LOCATION/connectClusters/CONNECT_CLUSTER_ID.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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ Input<
String?> ? -
The current state of the connect cluster. Possible values:
STATE_UNSPECIFIED,CREATING,ACTIVE,DELETING.final -
updateTime
→ Input<
String?> ? -
The time when the cluster was last 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