Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.bigtableadmin/v2.getCluster
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets information about a cluster.
Using getCluster
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCluster(args: GetClusterArgs, opts?: InvokeOptions): Promise<GetClusterResult>
function getClusterOutput(args: GetClusterOutputArgs, opts?: InvokeOptions): Output<GetClusterResult>
def get_cluster(cluster_id: Optional[str] = None,
instance_id: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClusterResult
def get_cluster_output(cluster_id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClusterResult]
func LookupCluster(ctx *Context, args *LookupClusterArgs, opts ...InvokeOption) (*LookupClusterResult, error)
func LookupClusterOutput(ctx *Context, args *LookupClusterOutputArgs, opts ...InvokeOption) LookupClusterResultOutput
> Note: This function is named LookupCluster
in the Go SDK.
public static class GetCluster
{
public static Task<GetClusterResult> InvokeAsync(GetClusterArgs args, InvokeOptions? opts = null)
public static Output<GetClusterResult> Invoke(GetClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:bigtableadmin/v2:getCluster
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Id string - Instance
Id string - Project string
- Cluster
Id string - Instance
Id string - Project string
- cluster
Id String - instance
Id String - project String
- cluster
Id string - instance
Id string - project string
- cluster_
id str - instance_
id str - project str
- cluster
Id String - instance
Id String - project String
getCluster Result
The following output properties are available:
- Cluster
Config Pulumi.Google Native. Bigtable Admin. V2. Outputs. Cluster Config Response - Configuration for this cluster.
- Default
Storage stringType - Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
- Encryption
Config Pulumi.Google Native. Bigtable Admin. V2. Outputs. Encryption Config Response - Immutable. The encryption configuration for CMEK-protected clusters.
- Location string
- Immutable. The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the form
projects/{project}/locations/{zone}
. - Name string
- The unique name of the cluster. Values are of the form
projects/{project}/instances/{instance}/clusters/a-z*
. - Serve
Nodes int - 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.
- State string
- The current state of the cluster.
- Cluster
Config ClusterConfig Response - Configuration for this cluster.
- Default
Storage stringType - Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
- Encryption
Config EncryptionConfig Response - Immutable. The encryption configuration for CMEK-protected clusters.
- Location string
- Immutable. The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the form
projects/{project}/locations/{zone}
. - Name string
- The unique name of the cluster. Values are of the form
projects/{project}/instances/{instance}/clusters/a-z*
. - Serve
Nodes int - 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.
- State string
- The current state of the cluster.
- cluster
Config ClusterConfig Response - Configuration for this cluster.
- default
Storage StringType - Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
- encryption
Config EncryptionConfig Response - Immutable. The encryption configuration for CMEK-protected clusters.
- location String
- Immutable. The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the form
projects/{project}/locations/{zone}
. - name String
- The unique name of the cluster. Values are of the form
projects/{project}/instances/{instance}/clusters/a-z*
. - serve
Nodes Integer - 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.
- state String
- The current state of the cluster.
- cluster
Config ClusterConfig Response - Configuration for this cluster.
- default
Storage stringType - Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
- encryption
Config EncryptionConfig Response - Immutable. The encryption configuration for CMEK-protected clusters.
- location string
- Immutable. The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the form
projects/{project}/locations/{zone}
. - name string
- The unique name of the cluster. Values are of the form
projects/{project}/instances/{instance}/clusters/a-z*
. - serve
Nodes number - 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.
- state string
- The current state of the cluster.
- cluster_
config ClusterConfig Response - Configuration for this cluster.
- default_
storage_ strtype - Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
- encryption_
config EncryptionConfig Response - Immutable. The encryption configuration for CMEK-protected clusters.
- location str
- Immutable. The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the form
projects/{project}/locations/{zone}
. - name str
- The unique name of the cluster. Values are of the form
projects/{project}/instances/{instance}/clusters/a-z*
. - serve_
nodes int - 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.
- state str
- The current state of the cluster.
- cluster
Config Property Map - Configuration for this cluster.
- default
Storage StringType - Immutable. The type of storage used by this cluster to serve its parent instance's tables, unless explicitly overridden.
- encryption
Config Property Map - Immutable. The encryption configuration for CMEK-protected clusters.
- location String
- Immutable. The location where this cluster's nodes and storage reside. For best performance, clients should be located as close as possible to this cluster. Currently only zones are supported, so values should be of the form
projects/{project}/locations/{zone}
. - name String
- The unique name of the cluster. Values are of the form
projects/{project}/instances/{instance}/clusters/a-z*
. - serve
Nodes Number - 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.
- state String
- The current state of the cluster.
Supporting Types
AutoscalingLimitsResponse
- Max
Serve intNodes - Maximum number of nodes to scale up to.
- Min
Serve intNodes - Minimum number of nodes to scale down to.
- Max
Serve intNodes - Maximum number of nodes to scale up to.
- Min
Serve intNodes - Minimum number of nodes to scale down to.
- max
Serve IntegerNodes - Maximum number of nodes to scale up to.
- min
Serve IntegerNodes - Minimum number of nodes to scale down to.
- max
Serve numberNodes - Maximum number of nodes to scale up to.
- min
Serve numberNodes - Minimum number of nodes to scale down to.
- max_
serve_ intnodes - Maximum number of nodes to scale up to.
- min_
serve_ intnodes - Minimum number of nodes to scale down to.
- max
Serve NumberNodes - Maximum number of nodes to scale up to.
- min
Serve NumberNodes - Minimum number of nodes to scale down to.
AutoscalingTargetsResponse
- Cpu
Utilization intPercent - The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT error.
- Storage
Utilization intGib Per Node - The storage utilization that the Autoscaler should be trying to achieve. This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, it will be treated as if it were set to the default value: 2560 for SSD, 8192 for HDD.
- Cpu
Utilization intPercent - The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT error.
- Storage
Utilization intGib Per Node - The storage utilization that the Autoscaler should be trying to achieve. This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, it will be treated as if it were set to the default value: 2560 for SSD, 8192 for HDD.
- cpu
Utilization IntegerPercent - The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT error.
- storage
Utilization IntegerGib Per Node - The storage utilization that the Autoscaler should be trying to achieve. This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, it will be treated as if it were set to the default value: 2560 for SSD, 8192 for HDD.
- cpu
Utilization numberPercent - The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT error.
- storage
Utilization numberGib Per Node - The storage utilization that the Autoscaler should be trying to achieve. This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, it will be treated as if it were set to the default value: 2560 for SSD, 8192 for HDD.
- cpu_
utilization_ intpercent - The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT error.
- storage_
utilization_ intgib_ per_ node - The storage utilization that the Autoscaler should be trying to achieve. This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, it will be treated as if it were set to the default value: 2560 for SSD, 8192 for HDD.
- cpu
Utilization NumberPercent - The cpu utilization that the Autoscaler should be trying to achieve. This number is on a scale from 0 (no utilization) to 100 (total utilization), and is limited between 10 and 80, otherwise it will return INVALID_ARGUMENT error.
- storage
Utilization NumberGib Per Node - The storage utilization that the Autoscaler should be trying to achieve. This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster, otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, it will be treated as if it were set to the default value: 2560 for SSD, 8192 for HDD.
ClusterAutoscalingConfigResponse
- Autoscaling
Limits Pulumi.Google Native. Bigtable Admin. V2. Inputs. Autoscaling Limits Response - Autoscaling limits for this cluster.
- Autoscaling
Targets Pulumi.Google Native. Bigtable Admin. V2. Inputs. Autoscaling Targets Response - Autoscaling targets for this cluster.
- Autoscaling
Limits AutoscalingLimits Response - Autoscaling limits for this cluster.
- Autoscaling
Targets AutoscalingTargets Response - Autoscaling targets for this cluster.
- autoscaling
Limits AutoscalingLimits Response - Autoscaling limits for this cluster.
- autoscaling
Targets AutoscalingTargets Response - Autoscaling targets for this cluster.
- autoscaling
Limits AutoscalingLimits Response - Autoscaling limits for this cluster.
- autoscaling
Targets AutoscalingTargets Response - Autoscaling targets for this cluster.
- autoscaling_
limits AutoscalingLimits Response - Autoscaling limits for this cluster.
- autoscaling_
targets AutoscalingTargets Response - Autoscaling targets for this cluster.
- autoscaling
Limits Property Map - Autoscaling limits for this cluster.
- autoscaling
Targets Property Map - Autoscaling targets for this cluster.
ClusterConfigResponse
- Cluster
Autoscaling Pulumi.Config Google Native. Bigtable Admin. V2. Inputs. Cluster Autoscaling Config Response - Autoscaling configuration for this cluster.
- Cluster
Autoscaling ClusterConfig Autoscaling Config Response - Autoscaling configuration for this cluster.
- cluster
Autoscaling ClusterConfig Autoscaling Config Response - Autoscaling configuration for this cluster.
- cluster
Autoscaling ClusterConfig Autoscaling Config Response - Autoscaling configuration for this cluster.
- cluster_
autoscaling_ Clusterconfig Autoscaling Config Response - Autoscaling configuration for this cluster.
- cluster
Autoscaling Property MapConfig - Autoscaling configuration for this cluster.
EncryptionConfigResponse
- Kms
Key stringName - 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. Values are of the formprojects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}
- Kms
Key stringName - 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. Values are of the formprojects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}
- kms
Key StringName - 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. Values are of the formprojects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}
- kms
Key stringName - 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. Values are of the formprojects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}
- kms_
key_ strname - 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. Values are of the formprojects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}
- kms
Key StringName - 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. Values are of the formprojects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi