ClusterState constructor
- Input<
ClusterBrokerCapacityConfig?> ? brokerCapacityConfig, - Input<
ClusterCapacityConfig?> ? capacityConfig, - Input<
String?> ? clusterId, - Input<
String?> ? createTime, - Input<
String?> ? deletionPolicy, - Input<
Map< ? effectiveLabels,String, String> ?> - Input<
ClusterGcpConfig?> ? gcpConfig, - Input<
Map< ? labels,String, String> ?> - Input<
String?> ? location, - Input<
String?> ? name, - Input<
String?> ? project, - Input<
Map< ? pulumiLabels,String, String> ?> - Input<
ClusterRebalanceConfig?> ? rebalanceConfig, - Input<
String?> ? state, - Input<
ClusterTlsConfig?> ? tlsConfig, - Input<
String?> ? updateTime,
Creates a new ClusterState.
brokerCapacityConfig Capacity configuration at a per-broker level within the Kafka cluster. The config will be appled to each broker in the cluster.
capacityConfig A capacity configuration of a Kafka cluster.
clusterId The ID to use for the cluster, which will become the final component of the cluster's name. The ID must be 1-63 characters long, and match the regular expression a-z? to comply with RFC 1035. This value is structured like: my-cluster-id.
createTime The time when the cluster was created.
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
effectiveLabels All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
gcpConfig Configuration properties for a Kafka cluster deployed to Google Cloud Platform.
labels 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.
location ID of the location of the Kafka resource. See https://cloud.google.com/managed-kafka/docs/locations for a list of supported locations.
name The name of the cluster. Structured like: projects/PROJECT_ID/locations/LOCATION/clusters/CLUSTER_ID.
project The ID of the project in which the resource belongs.
pulumiLabels The combination of labels configured directly on the resource
rebalanceConfig Defines rebalancing behavior of a Kafka cluster.
state The current state of the cluster. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING.
tlsConfig TLS configuration for the Kafka cluster. This is used to configure mTLS authentication. To clear our a TLS configuration that has been previously set, please explicitly add an empty tlsConfig block.
updateTime The time when the cluster was last updated.
Implementation
const ClusterState({
this.brokerCapacityConfig,
this.capacityConfig,
this.clusterId,
this.createTime,
this.deletionPolicy,
this.effectiveLabels,
this.gcpConfig,
this.labels,
this.location,
this.name,
this.project,
this.pulumiLabels,
this.rebalanceConfig,
this.state,
this.tlsConfig,
this.updateTime,
});