Package com.pulumi.gcp.bigtable.outputs
Class InstanceCluster
- java.lang.Object
-
- com.pulumi.gcp.bigtable.outputs.InstanceCluster
-
public final class InstanceCluster extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
InstanceCluster.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<InstanceClusterAutoscalingConfig>
autoscalingConfig()
static InstanceCluster.Builder
builder()
static InstanceCluster.Builder
builder(InstanceCluster defaults)
java.lang.String
clusterId()
java.util.Optional<java.lang.String>
kmsKeyName()
java.util.Optional<java.lang.Integer>
numNodes()
java.util.Optional<java.lang.String>
storageType()
java.util.Optional<java.lang.String>
zone()
-
-
-
Method Detail
-
autoscalingConfig
public java.util.Optional<InstanceClusterAutoscalingConfig> autoscalingConfig()
- Returns:
- [Autoscaling](https://cloud.google.com/bigtable/docs/autoscaling#parameters) config for the cluster, contains the following arguments:
-
clusterId
public java.lang.String clusterId()
- Returns:
- The ID of the Cloud Bigtable cluster. Must be 6-30 characters and must only contain hyphens, lowercase letters and numbers.
-
kmsKeyName
public java.util.Optional<java.lang.String> kmsKeyName()
- Returns:
- Describes the Cloud KMS encryption key that will be used to protect the destination Bigtable cluster. The requirements for this key are: 1) The Cloud Bigtable service account associated with the project that contains this cluster must be granted the `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key. 2) Only regional keys can be used and the region of the CMEK key must match the region of the cluster. > **Note**: Removing the field entirely from the config will cause the provider to default to the backend value. !> **Warning**: Modifying this field will cause the provider to delete/recreate the entire resource. !> **Warning:** Modifying the `storage_type`, `zone` or `kms_key_name` of an existing cluster (by `cluster_id`) will cause the provider to delete/recreate the entire `gcp.bigtable.Instance` resource. If these values are changing, use a new `cluster_id`.
-
numNodes
public java.util.Optional<java.lang.Integer> numNodes()
- Returns:
- The number of nodes in the cluster. If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50% storage utilization.
-
storageType
public java.util.Optional<java.lang.String> storageType()
- Returns:
- The storage type to use. One of `"SSD"` or `"HDD"`. Defaults to `"SSD"`.
-
zone
public java.util.Optional<java.lang.String> zone()
- Returns:
- The zone to create the Cloud Bigtable cluster in. If it not specified, the provider zone is used. Each cluster must have a different zone in the same region. Zones that support Bigtable instances are noted on the [Cloud Bigtable locations page](https://cloud.google.com/bigtable/docs/locations).
-
builder
public static InstanceCluster.Builder builder()
-
builder
public static InstanceCluster.Builder builder(InstanceCluster defaults)
-
-