| Package | Description |
|---|---|
| com.google.cloud.bigtable.admin.v2 |
Clients for the Cloud Bigtable admin API.
|
| com.google.cloud.bigtable.admin.v2.models |
| Modifier and Type | Method and Description |
|---|---|
Cluster |
BigtableInstanceAdminClient.updateClusterAutoscalingConfig(ClusterAutoscalingConfig clusterAutoscalingConfig)
Modifies the cluster's autoscaling config.
|
com.google.api.core.ApiFuture<Cluster> |
BigtableInstanceAdminClient.updateClusterAutoscalingConfigAsync(ClusterAutoscalingConfig clusterAutoscalingConfig)
Asynchronously modifies the cluster's autoscaling config.
|
| Modifier and Type | Method and Description |
|---|---|
static ClusterAutoscalingConfig |
ClusterAutoscalingConfig.of(String instanceId,
String clusterId) |
ClusterAutoscalingConfig |
ClusterAutoscalingConfig.setCpuUtilizationTargetPercent(int cpuUtilizationTargetPercent)
Set the CPU utilization that the Autoscaler should be trying to achieve.
|
ClusterAutoscalingConfig |
ClusterAutoscalingConfig.setMaxNodes(int maxNodes)
Set the maximum number of nodes to scale up to.
|
ClusterAutoscalingConfig |
ClusterAutoscalingConfig.setMinNodes(int minNodes)
Set the minimum number of nodes to scale down to.
|
ClusterAutoscalingConfig |
ClusterAutoscalingConfig.setStorageUtilizationGibPerNode(int storageUtilizationGibPerNode) |
| Modifier and Type | Method and Description |
|---|---|
CreateInstanceRequest |
CreateInstanceRequest.addCluster(String clusterId,
String zone,
ClusterAutoscalingConfig clusterAutoscalingConfig,
StorageType storageType)
Adds a cluster to the instance request with autoscaling enabled.
|
CreateClusterRequest |
CreateClusterRequest.setScalingMode(ClusterAutoscalingConfig autoscalingConfig)
Sets the scaling mode to autoscaling by accepting an AutoscalingConfig where min nodes, max
nodes, CPU utilization percent target, and storage utilization gib per node are set.
|
Copyright © 2022 Google LLC. All rights reserved.