ClusterState constructor

const ClusterState({
  1. Input<ClusterBrokerCapacityConfig?>? brokerCapacityConfig,
  2. Input<ClusterCapacityConfig?>? capacityConfig,
  3. Input<String?>? clusterId,
  4. Input<String?>? createTime,
  5. Input<String?>? deletionPolicy,
  6. Input<Map<String, String>?>? effectiveLabels,
  7. Input<ClusterGcpConfig?>? gcpConfig,
  8. Input<Map<String, String>?>? labels,
  9. Input<String?>? location,
  10. Input<String?>? name,
  11. Input<String?>? project,
  12. Input<Map<String, String>?>? pulumiLabels,
  13. Input<ClusterRebalanceConfig?>? rebalanceConfig,
  14. Input<String?>? state,
  15. Input<ClusterTlsConfig?>? tlsConfig,
  16. 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,
});